[DEPRECATION WARNING]: ANSIBLE_COLLECTIONS_PATHS option, does not fit var naming standard, use the singular form ANSIBLE_COLLECTIONS_PATH instead. This feature will be removed from ansible-core in version 2.19. Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg. ansible-playbook [core 2.17.2] config file = None configured module search path = ['/root/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /usr/local/lib/python3.12/site-packages/ansible ansible collection location = /tmp/tmp.yv13gcCRVC 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/tmp.yv13gcCRVC/ansible_collections/fedora/linux_system_roles/tests/network/tests_helpers_and_asserts.yml PLAY [Check that creating and removing test devices and assertions work] ******* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmp.yv13gcCRVC/ansible_collections/fedora/linux_system_roles/tests/network/tests_helpers_and_asserts.yml:3 Sunday 04 August 2024 13:15:02 -0400 (0:00:00.030) 0:00:00.030 ********* [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/tmp.yv13gcCRVC/ansible_collections/fedora/linux_system_roles/tests/network/tests_helpers_and_asserts.yml:6 Sunday 04 August 2024 13:15:03 -0400 (0:00:01.061) 0:00:01.091 ********* included: /tmp/tmp.yv13gcCRVC/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml for managed_node1 TASK [Gather the minimum subset of ansible_facts required by the network role test] *** task path: /tmp/tmp.yv13gcCRVC/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:3 Sunday 04 August 2024 13:15:03 -0400 (0:00:00.021) 0:00:01.113 ********* ok: [managed_node1] TASK [Check if system is ostree] *********************************************** task path: /tmp/tmp.yv13gcCRVC/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:17 Sunday 04 August 2024 13:15:04 -0400 (0:00:00.482) 0:00:01.595 ********* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /tmp/tmp.yv13gcCRVC/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:22 Sunday 04 August 2024 13:15:04 -0400 (0:00:00.416) 0:00:02.011 ********* ok: [managed_node1] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /tmp/tmp.yv13gcCRVC/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:26 Sunday 04 August 2024 13:15:04 -0400 (0:00:00.022) 0:00:02.034 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_distribution_major_version == '6'", "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /tmp/tmp.yv13gcCRVC/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:51 Sunday 04 August 2024 13:15:04 -0400 (0:00:00.014) 0:00:02.048 ********* included: /tmp/tmp.yv13gcCRVC/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml for managed_node1 TASK [Create EPEL 9] *********************************************************** task path: /tmp/tmp.yv13gcCRVC/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:8 Sunday 04 August 2024 13:15:04 -0400 (0:00:00.044) 0:00:02.093 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_distribution_major_version in ['7', '8']", "skip_reason": "Conditional result was False" } TASK [Install yum-utils package] *********************************************** task path: /tmp/tmp.yv13gcCRVC/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:24 Sunday 04 August 2024 13:15:04 -0400 (0:00:00.014) 0:00:02.107 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_distribution_major_version in ['7', '8']", "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /tmp/tmp.yv13gcCRVC/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:30 Sunday 04 August 2024 13:15:04 -0400 (0:00:00.013) 0:00:02.121 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_distribution_major_version in ['7', '8']", "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /tmp/tmp.yv13gcCRVC/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:35 Sunday 04 August 2024 13:15:04 -0400 (0:00:00.012) 0:00:02.134 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_distribution_major_version in ['7', '8']", "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /tmp/tmp.yv13gcCRVC/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:40 Sunday 04 August 2024 13:15:04 -0400 (0:00:00.014) 0:00:02.148 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_distribution_major_version == '6'", "skip_reason": "Conditional result was False" } TASK [Test veth interface management] ****************************************** task path: /tmp/tmp.yv13gcCRVC/ansible_collections/fedora/linux_system_roles/tests/network/tests_helpers_and_asserts.yml:9 Sunday 04 August 2024 13:15:04 -0400 (0:00:00.012) 0:00:02.161 ********* included: /tmp/tmp.yv13gcCRVC/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml for managed_node1 TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/tmp.yv13gcCRVC/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:3 Sunday 04 August 2024 13:15:04 -0400 (0:00:00.022) 0:00:02.183 ********* included: /tmp/tmp.yv13gcCRVC/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml for managed_node1 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/tmp.yv13gcCRVC/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Sunday 04 August 2024 13:15:05 -0400 (0:00:00.017) 0:00:02.201 ********* included: /tmp/tmp.yv13gcCRVC/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml for managed_node1 TASK [Gather current interface info] ******************************************* task path: /tmp/tmp.yv13gcCRVC/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Sunday 04 August 2024 13:15:05 -0400 (0:00:00.016) 0:00:02.217 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003171", "end": "2024-08-04 13:15:05.391139", "rc": 0, "start": "2024-08-04 13:15:05.387968" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/tmp.yv13gcCRVC/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Sunday 04 August 2024 13:15:05 -0400 (0:00:00.416) 0:00:02.634 ********* ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/tmp.yv13gcCRVC/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Sunday 04 August 2024 13:15:05 -0400 (0:00:00.016) 0:00:02.650 ********* ok: [managed_node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /tmp/tmp.yv13gcCRVC/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:5 Sunday 04 August 2024 13:15:05 -0400 (0:00:00.015) 0:00:02.666 ********* included: /tmp/tmp.yv13gcCRVC/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml for managed_node1 TASK [Ensure state in ["present", "absent"]] *********************************** task path: /tmp/tmp.yv13gcCRVC/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:3 Sunday 04 August 2024 13:15:05 -0400 (0:00:00.027) 0:00:02.693 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "state not in [\"present\", \"absent\"]", "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /tmp/tmp.yv13gcCRVC/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:8 Sunday 04 August 2024 13:15:05 -0400 (0:00:00.012) 0:00:02.706 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "type not in [\"dummy\", \"tap\", \"veth\"]", "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/tmp.yv13gcCRVC/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:13 Sunday 04 August 2024 13:15:05 -0400 (0:00:00.012) 0:00:02.718 ********* included: /tmp/tmp.yv13gcCRVC/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml for managed_node1 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/tmp.yv13gcCRVC/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Sunday 04 August 2024 13:15:05 -0400 (0:00:00.018) 0:00:02.737 ********* included: /tmp/tmp.yv13gcCRVC/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml for managed_node1 TASK [Gather current interface info] ******************************************* task path: /tmp/tmp.yv13gcCRVC/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Sunday 04 August 2024 13:15:05 -0400 (0:00:00.016) 0:00:02.754 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003246", "end": "2024-08-04 13:15:05.835121", "rc": 0, "start": "2024-08-04 13:15:05.831875" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/tmp.yv13gcCRVC/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Sunday 04 August 2024 13:15:05 -0400 (0:00:00.324) 0:00:03.079 ********* ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/tmp.yv13gcCRVC/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Sunday 04 August 2024 13:15:05 -0400 (0:00:00.016) 0:00:03.095 ********* ok: [managed_node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /tmp/tmp.yv13gcCRVC/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:16 Sunday 04 August 2024 13:15:05 -0400 (0:00:00.016) 0:00:03.112 ********* ok: [managed_node1] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth1298] ****************************************** task path: /tmp/tmp.yv13gcCRVC/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:27 Sunday 04 August 2024 13:15:06 -0400 (0:00:00.947) 0:00:04.060 ********* skipping: [managed_node1] => (item=ip link add veth1298 type veth peer name peerveth1298) => { "ansible_loop_var": "item", "changed": false, "false_condition": "type == 'veth' and state == 'present' and interface not in current_interfaces", "item": "ip link add veth1298 type veth peer name peerveth1298", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=ip link set peerveth1298 up) => { "ansible_loop_var": "item", "changed": false, "false_condition": "type == 'veth' and state == 'present' and interface not in current_interfaces", "item": "ip link set peerveth1298 up", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=ip link set veth1298 up) => { "ansible_loop_var": "item", "changed": false, "false_condition": "type == 'veth' and state == 'present' and interface not in current_interfaces", "item": "ip link set veth1298 up", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => { "changed": false } MSG: All items skipped TASK [Set up veth as managed by NetworkManager] ******************************** task path: /tmp/tmp.yv13gcCRVC/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:35 Sunday 04 August 2024 13:15:06 -0400 (0:00:00.024) 0:00:04.084 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "type == 'veth' and state == 'present'", "skip_reason": "Conditional result was False" } TASK [Delete veth interface veth1298] ****************************************** task path: /tmp/tmp.yv13gcCRVC/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:43 Sunday 04 August 2024 13:15:06 -0400 (0:00:00.014) 0:00:04.098 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "type == 'veth' and state == 'absent' and interface in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Create dummy interface veth1298] ***************************************** task path: /tmp/tmp.yv13gcCRVC/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:49 Sunday 04 August 2024 13:15:06 -0400 (0:00:00.013) 0:00:04.112 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "type == 'dummy' and state == 'present' and interface not in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth1298] ***************************************** task path: /tmp/tmp.yv13gcCRVC/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:54 Sunday 04 August 2024 13:15:06 -0400 (0:00:00.014) 0:00:04.126 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "type == 'dummy' and state == 'absent' and interface in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Create tap interface veth1298] ******************************************* task path: /tmp/tmp.yv13gcCRVC/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:60 Sunday 04 August 2024 13:15:06 -0400 (0:00:00.013) 0:00:04.139 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "type == 'tap' and state == 'present' and interface not in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth1298] ******************************************* task path: /tmp/tmp.yv13gcCRVC/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:65 Sunday 04 August 2024 13:15:06 -0400 (0:00:00.013) 0:00:04.153 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "type == 'tap' and state == 'absent' and interface in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/tmp.yv13gcCRVC/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:9 Sunday 04 August 2024 13:15:06 -0400 (0:00:00.012) 0:00:04.166 ********* included: /tmp/tmp.yv13gcCRVC/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml for managed_node1 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/tmp.yv13gcCRVC/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Sunday 04 August 2024 13:15:06 -0400 (0:00:00.023) 0:00:04.189 ********* included: /tmp/tmp.yv13gcCRVC/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml for managed_node1 TASK [Gather current interface info] ******************************************* task path: /tmp/tmp.yv13gcCRVC/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Sunday 04 August 2024 13:15:07 -0400 (0:00:00.015) 0:00:04.205 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003247", "end": "2024-08-04 13:15:07.285298", "rc": 0, "start": "2024-08-04 13:15:07.282051" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/tmp.yv13gcCRVC/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Sunday 04 August 2024 13:15:07 -0400 (0:00:00.322) 0:00:04.528 ********* ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/tmp.yv13gcCRVC/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Sunday 04 August 2024 13:15:07 -0400 (0:00:00.016) 0:00:04.544 ********* ok: [managed_node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Include the task 'assert_device_absent.yml'] ***************************** task path: /tmp/tmp.yv13gcCRVC/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:11 Sunday 04 August 2024 13:15:07 -0400 (0:00:00.016) 0:00:04.560 ********* included: /tmp/tmp.yv13gcCRVC/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_absent.yml for managed_node1 TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/tmp.yv13gcCRVC/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_absent.yml:3 Sunday 04 August 2024 13:15:07 -0400 (0:00:00.023) 0:00:04.584 ********* included: /tmp/tmp.yv13gcCRVC/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_interface_stat.yml for managed_node1 TASK [Get stat for interface veth1298] ***************************************** task path: /tmp/tmp.yv13gcCRVC/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_interface_stat.yml:3 Sunday 04 August 2024 13:15:07 -0400 (0:00:00.018) 0:00:04.603 ********* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'veth1298'] ************************ task path: /tmp/tmp.yv13gcCRVC/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_absent.yml:5 Sunday 04 August 2024 13:15:07 -0400 (0:00:00.321) 0:00:04.924 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /tmp/tmp.yv13gcCRVC/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:14 Sunday 04 August 2024 13:15:07 -0400 (0:00:00.017) 0:00:04.942 ********* included: /tmp/tmp.yv13gcCRVC/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml for managed_node1 TASK [Ensure state in ["present", "absent"]] *********************************** task path: /tmp/tmp.yv13gcCRVC/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:3 Sunday 04 August 2024 13:15:07 -0400 (0:00:00.031) 0:00:04.973 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "state not in [\"present\", \"absent\"]", "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /tmp/tmp.yv13gcCRVC/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:8 Sunday 04 August 2024 13:15:07 -0400 (0:00:00.012) 0:00:04.985 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "type not in [\"dummy\", \"tap\", \"veth\"]", "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/tmp.yv13gcCRVC/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:13 Sunday 04 August 2024 13:15:07 -0400 (0:00:00.013) 0:00:04.999 ********* included: /tmp/tmp.yv13gcCRVC/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml for managed_node1 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/tmp.yv13gcCRVC/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Sunday 04 August 2024 13:15:07 -0400 (0:00:00.018) 0:00:05.018 ********* included: /tmp/tmp.yv13gcCRVC/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml for managed_node1 TASK [Gather current interface info] ******************************************* task path: /tmp/tmp.yv13gcCRVC/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Sunday 04 August 2024 13:15:07 -0400 (0:00:00.016) 0:00:05.034 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003128", "end": "2024-08-04 13:15:08.113036", "rc": 0, "start": "2024-08-04 13:15:08.109908" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/tmp.yv13gcCRVC/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Sunday 04 August 2024 13:15:08 -0400 (0:00:00.320) 0:00:05.355 ********* ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/tmp.yv13gcCRVC/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Sunday 04 August 2024 13:15:08 -0400 (0:00:00.017) 0:00:05.372 ********* ok: [managed_node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /tmp/tmp.yv13gcCRVC/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:16 Sunday 04 August 2024 13:15:08 -0400 (0:00:00.015) 0:00:05.388 ********* ok: [managed_node1] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth1298] ****************************************** task path: /tmp/tmp.yv13gcCRVC/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:27 Sunday 04 August 2024 13:15:09 -0400 (0:00:00.830) 0:00:06.218 ********* 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.017775", "end": "2024-08-04 13:15:09.319589", "item": "ip link add veth1298 type veth peer name peerveth1298", "rc": 0, "start": "2024-08-04 13:15:09.301814" } 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.003338", "end": "2024-08-04 13:15:09.656574", "item": "ip link set peerveth1298 up", "rc": 0, "start": "2024-08-04 13:15:09.653236" } 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.005317", "end": "2024-08-04 13:15:09.972110", "item": "ip link set veth1298 up", "rc": 0, "start": "2024-08-04 13:15:09.966793" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /tmp/tmp.yv13gcCRVC/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:35 Sunday 04 August 2024 13:15:10 -0400 (0:00:00.998) 0:00:07.217 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "nmcli", "d", "set", "veth1298", "managed", "true" ], "delta": "0:00:00.019729", "end": "2024-08-04 13:15:10.321173", "rc": 0, "start": "2024-08-04 13:15:10.301444" } TASK [Delete veth interface veth1298] ****************************************** task path: /tmp/tmp.yv13gcCRVC/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:43 Sunday 04 August 2024 13:15:10 -0400 (0:00:00.349) 0:00:07.567 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "type == 'veth' and state == 'absent' and interface in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Create dummy interface veth1298] ***************************************** task path: /tmp/tmp.yv13gcCRVC/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:49 Sunday 04 August 2024 13:15:10 -0400 (0:00:00.014) 0:00:07.581 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "type == 'dummy' and state == 'present' and interface not in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth1298] ***************************************** task path: /tmp/tmp.yv13gcCRVC/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:54 Sunday 04 August 2024 13:15:10 -0400 (0:00:00.018) 0:00:07.599 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "type == 'dummy' and state == 'absent' and interface in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Create tap interface veth1298] ******************************************* task path: /tmp/tmp.yv13gcCRVC/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:60 Sunday 04 August 2024 13:15:10 -0400 (0:00:00.014) 0:00:07.614 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "type == 'tap' and state == 'present' and interface not in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth1298] ******************************************* task path: /tmp/tmp.yv13gcCRVC/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:65 Sunday 04 August 2024 13:15:10 -0400 (0:00:00.014) 0:00:07.628 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "type == 'tap' and state == 'absent' and interface in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/tmp.yv13gcCRVC/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:18 Sunday 04 August 2024 13:15:10 -0400 (0:00:00.013) 0:00:07.642 ********* included: /tmp/tmp.yv13gcCRVC/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml for managed_node1 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/tmp.yv13gcCRVC/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Sunday 04 August 2024 13:15:10 -0400 (0:00:00.029) 0:00:07.671 ********* included: /tmp/tmp.yv13gcCRVC/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml for managed_node1 TASK [Gather current interface info] ******************************************* task path: /tmp/tmp.yv13gcCRVC/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Sunday 04 August 2024 13:15:10 -0400 (0:00:00.016) 0:00:07.688 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003325", "end": "2024-08-04 13:15:10.776022", "rc": 0, "start": "2024-08-04 13:15:10.772697" } STDOUT: bonding_masters eth0 lo peerveth1298 veth1298 TASK [Set current_interfaces] ************************************************** task path: /tmp/tmp.yv13gcCRVC/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Sunday 04 August 2024 13:15:10 -0400 (0:00:00.331) 0:00:08.019 ********* ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "peerveth1298", "veth1298" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/tmp.yv13gcCRVC/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Sunday 04 August 2024 13:15:10 -0400 (0:00:00.017) 0:00:08.037 ********* ok: [managed_node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'peerveth1298', 'veth1298'] TASK [Include the task 'assert_device_present.yml'] **************************** task path: /tmp/tmp.yv13gcCRVC/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:20 Sunday 04 August 2024 13:15:10 -0400 (0:00:00.016) 0:00:08.053 ********* included: /tmp/tmp.yv13gcCRVC/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_present.yml for managed_node1 TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/tmp.yv13gcCRVC/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_present.yml:3 Sunday 04 August 2024 13:15:10 -0400 (0:00:00.030) 0:00:08.083 ********* included: /tmp/tmp.yv13gcCRVC/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_interface_stat.yml for managed_node1 TASK [Get stat for interface veth1298] ***************************************** task path: /tmp/tmp.yv13gcCRVC/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_interface_stat.yml:3 Sunday 04 August 2024 13:15:10 -0400 (0:00:00.016) 0:00:08.100 ********* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1722791709.3055477, "block_size": 4096, "blocks": 0, "ctime": 1722791709.3055477, "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": 1722791709.3055477, "nlink": 1, "path": "/sys/class/net/veth1298", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 0, "uid": 0, "wgrp": true, "woth": true, "writeable": true, "wusr": true, "xgrp": true, "xoth": true, "xusr": true } } TASK [Assert that the interface is present - 'veth1298'] *********************** task path: /tmp/tmp.yv13gcCRVC/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_present.yml:5 Sunday 04 August 2024 13:15:11 -0400 (0:00:00.321) 0:00:08.422 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /tmp/tmp.yv13gcCRVC/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:23 Sunday 04 August 2024 13:15:11 -0400 (0:00:00.017) 0:00:08.439 ********* included: /tmp/tmp.yv13gcCRVC/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml for managed_node1 TASK [Ensure state in ["present", "absent"]] *********************************** task path: /tmp/tmp.yv13gcCRVC/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:3 Sunday 04 August 2024 13:15:11 -0400 (0:00:00.038) 0:00:08.478 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "state not in [\"present\", \"absent\"]", "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /tmp/tmp.yv13gcCRVC/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:8 Sunday 04 August 2024 13:15:11 -0400 (0:00:00.013) 0:00:08.491 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "type not in [\"dummy\", \"tap\", \"veth\"]", "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/tmp.yv13gcCRVC/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:13 Sunday 04 August 2024 13:15:11 -0400 (0:00:00.012) 0:00:08.504 ********* included: /tmp/tmp.yv13gcCRVC/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml for managed_node1 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/tmp.yv13gcCRVC/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Sunday 04 August 2024 13:15:11 -0400 (0:00:00.019) 0:00:08.523 ********* included: /tmp/tmp.yv13gcCRVC/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml for managed_node1 TASK [Gather current interface info] ******************************************* task path: /tmp/tmp.yv13gcCRVC/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Sunday 04 August 2024 13:15:11 -0400 (0:00:00.016) 0:00:08.540 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003137", "end": "2024-08-04 13:15:11.625346", "rc": 0, "start": "2024-08-04 13:15:11.622209" } STDOUT: bonding_masters eth0 lo peerveth1298 veth1298 TASK [Set current_interfaces] ************************************************** task path: /tmp/tmp.yv13gcCRVC/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Sunday 04 August 2024 13:15:11 -0400 (0:00:00.327) 0:00:08.868 ********* ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "peerveth1298", "veth1298" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/tmp.yv13gcCRVC/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Sunday 04 August 2024 13:15:11 -0400 (0:00:00.017) 0:00:08.885 ********* ok: [managed_node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'peerveth1298', 'veth1298'] TASK [Install iproute] ********************************************************* task path: /tmp/tmp.yv13gcCRVC/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:16 Sunday 04 August 2024 13:15:11 -0400 (0:00:00.016) 0:00:08.902 ********* ok: [managed_node1] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth1298] ****************************************** task path: /tmp/tmp.yv13gcCRVC/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:27 Sunday 04 August 2024 13:15:12 -0400 (0:00:00.840) 0:00:09.742 ********* skipping: [managed_node1] => (item=ip link add veth1298 type veth peer name peerveth1298) => { "ansible_loop_var": "item", "changed": false, "false_condition": "type == 'veth' and state == 'present' and interface not in current_interfaces", "item": "ip link add veth1298 type veth peer name peerveth1298", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=ip link set peerveth1298 up) => { "ansible_loop_var": "item", "changed": false, "false_condition": "type == 'veth' and state == 'present' and interface not in current_interfaces", "item": "ip link set peerveth1298 up", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=ip link set veth1298 up) => { "ansible_loop_var": "item", "changed": false, "false_condition": "type == 'veth' and state == 'present' and interface not in current_interfaces", "item": "ip link set veth1298 up", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => { "changed": false } MSG: All items skipped TASK [Set up veth as managed by NetworkManager] ******************************** task path: /tmp/tmp.yv13gcCRVC/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:35 Sunday 04 August 2024 13:15:12 -0400 (0:00:00.025) 0:00:09.767 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "type == 'veth' and state == 'present'", "skip_reason": "Conditional result was False" } TASK [Delete veth interface veth1298] ****************************************** task path: /tmp/tmp.yv13gcCRVC/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:43 Sunday 04 August 2024 13:15:12 -0400 (0:00:00.014) 0:00:09.781 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "ip", "link", "del", "veth1298", "type", "veth" ], "delta": "0:00:00.015789", "end": "2024-08-04 13:15:12.873806", "rc": 0, "start": "2024-08-04 13:15:12.858017" } TASK [Create dummy interface veth1298] ***************************************** task path: /tmp/tmp.yv13gcCRVC/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:49 Sunday 04 August 2024 13:15:12 -0400 (0:00:00.342) 0:00:10.124 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "type == 'dummy' and state == 'present' and interface not in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth1298] ***************************************** task path: /tmp/tmp.yv13gcCRVC/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:54 Sunday 04 August 2024 13:15:12 -0400 (0:00:00.014) 0:00:10.138 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "type == 'dummy' and state == 'absent' and interface in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Create tap interface veth1298] ******************************************* task path: /tmp/tmp.yv13gcCRVC/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:60 Sunday 04 August 2024 13:15:12 -0400 (0:00:00.014) 0:00:10.153 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "type == 'tap' and state == 'present' and interface not in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth1298] ******************************************* task path: /tmp/tmp.yv13gcCRVC/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:65 Sunday 04 August 2024 13:15:12 -0400 (0:00:00.014) 0:00:10.167 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "type == 'tap' and state == 'absent' and interface in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/tmp.yv13gcCRVC/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:27 Sunday 04 August 2024 13:15:12 -0400 (0:00:00.013) 0:00:10.180 ********* included: /tmp/tmp.yv13gcCRVC/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml for managed_node1 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/tmp.yv13gcCRVC/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Sunday 04 August 2024 13:15:13 -0400 (0:00:00.036) 0:00:10.217 ********* included: /tmp/tmp.yv13gcCRVC/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml for managed_node1 TASK [Gather current interface info] ******************************************* task path: /tmp/tmp.yv13gcCRVC/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Sunday 04 August 2024 13:15:13 -0400 (0:00:00.016) 0:00:10.233 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003149", "end": "2024-08-04 13:15:13.310848", "rc": 0, "start": "2024-08-04 13:15:13.307699" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/tmp.yv13gcCRVC/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Sunday 04 August 2024 13:15:13 -0400 (0:00:00.319) 0:00:10.553 ********* ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/tmp.yv13gcCRVC/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Sunday 04 August 2024 13:15:13 -0400 (0:00:00.017) 0:00:10.570 ********* ok: [managed_node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Include the task 'assert_device_absent.yml'] ***************************** task path: /tmp/tmp.yv13gcCRVC/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:29 Sunday 04 August 2024 13:15:13 -0400 (0:00:00.016) 0:00:10.586 ********* included: /tmp/tmp.yv13gcCRVC/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_absent.yml for managed_node1 TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/tmp.yv13gcCRVC/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_absent.yml:3 Sunday 04 August 2024 13:15:13 -0400 (0:00:00.035) 0:00:10.622 ********* included: /tmp/tmp.yv13gcCRVC/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_interface_stat.yml for managed_node1 TASK [Get stat for interface veth1298] ***************************************** task path: /tmp/tmp.yv13gcCRVC/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_interface_stat.yml:3 Sunday 04 August 2024 13:15:13 -0400 (0:00:00.016) 0:00:10.639 ********* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'veth1298'] ************************ task path: /tmp/tmp.yv13gcCRVC/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_absent.yml:5 Sunday 04 August 2024 13:15:13 -0400 (0:00:00.318) 0:00:10.958 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Test veth interface management] ****************************************** task path: /tmp/tmp.yv13gcCRVC/ansible_collections/fedora/linux_system_roles/tests/network/tests_helpers_and_asserts.yml:15 Sunday 04 August 2024 13:15:13 -0400 (0:00:00.017) 0:00:10.976 ********* included: /tmp/tmp.yv13gcCRVC/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml for managed_node1 TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/tmp.yv13gcCRVC/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:3 Sunday 04 August 2024 13:15:13 -0400 (0:00:00.023) 0:00:10.999 ********* included: /tmp/tmp.yv13gcCRVC/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml for managed_node1 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/tmp.yv13gcCRVC/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Sunday 04 August 2024 13:15:13 -0400 (0:00:00.019) 0:00:11.018 ********* included: /tmp/tmp.yv13gcCRVC/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml for managed_node1 TASK [Gather current interface info] ******************************************* task path: /tmp/tmp.yv13gcCRVC/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Sunday 04 August 2024 13:15:13 -0400 (0:00:00.016) 0:00:11.035 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003209", "end": "2024-08-04 13:15:14.113795", "rc": 0, "start": "2024-08-04 13:15:14.110586" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/tmp.yv13gcCRVC/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Sunday 04 August 2024 13:15:14 -0400 (0:00:00.321) 0:00:11.356 ********* ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/tmp.yv13gcCRVC/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Sunday 04 August 2024 13:15:14 -0400 (0:00:00.017) 0:00:11.374 ********* ok: [managed_node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /tmp/tmp.yv13gcCRVC/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:5 Sunday 04 August 2024 13:15:14 -0400 (0:00:00.016) 0:00:11.390 ********* included: /tmp/tmp.yv13gcCRVC/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml for managed_node1 TASK [Ensure state in ["present", "absent"]] *********************************** task path: /tmp/tmp.yv13gcCRVC/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:3 Sunday 04 August 2024 13:15:14 -0400 (0:00:00.025) 0:00:11.416 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "state not in [\"present\", \"absent\"]", "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /tmp/tmp.yv13gcCRVC/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:8 Sunday 04 August 2024 13:15:14 -0400 (0:00:00.012) 0:00:11.429 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "type not in [\"dummy\", \"tap\", \"veth\"]", "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/tmp.yv13gcCRVC/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:13 Sunday 04 August 2024 13:15:14 -0400 (0:00:00.012) 0:00:11.442 ********* included: /tmp/tmp.yv13gcCRVC/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml for managed_node1 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/tmp.yv13gcCRVC/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Sunday 04 August 2024 13:15:14 -0400 (0:00:00.019) 0:00:11.461 ********* included: /tmp/tmp.yv13gcCRVC/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml for managed_node1 TASK [Gather current interface info] ******************************************* task path: /tmp/tmp.yv13gcCRVC/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Sunday 04 August 2024 13:15:14 -0400 (0:00:00.017) 0:00:11.479 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003258", "end": "2024-08-04 13:15:14.559664", "rc": 0, "start": "2024-08-04 13:15:14.556406" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/tmp.yv13gcCRVC/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Sunday 04 August 2024 13:15:14 -0400 (0:00:00.323) 0:00:11.802 ********* ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/tmp.yv13gcCRVC/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Sunday 04 August 2024 13:15:14 -0400 (0:00:00.017) 0:00:11.819 ********* ok: [managed_node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /tmp/tmp.yv13gcCRVC/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:16 Sunday 04 August 2024 13:15:14 -0400 (0:00:00.016) 0:00:11.836 ********* ok: [managed_node1] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface dummy1298] ***************************************** task path: /tmp/tmp.yv13gcCRVC/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:27 Sunday 04 August 2024 13:15:15 -0400 (0:00:00.823) 0:00:12.659 ********* skipping: [managed_node1] => (item=ip link add dummy1298 type veth peer name peerdummy1298) => { "ansible_loop_var": "item", "changed": false, "false_condition": "type == 'veth' and state == 'present' and interface not in current_interfaces", "item": "ip link add dummy1298 type veth peer name peerdummy1298", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=ip link set peerdummy1298 up) => { "ansible_loop_var": "item", "changed": false, "false_condition": "type == 'veth' and state == 'present' and interface not in current_interfaces", "item": "ip link set peerdummy1298 up", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=ip link set dummy1298 up) => { "ansible_loop_var": "item", "changed": false, "false_condition": "type == 'veth' and state == 'present' and interface not in current_interfaces", "item": "ip link set dummy1298 up", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => { "changed": false } MSG: All items skipped TASK [Set up veth as managed by NetworkManager] ******************************** task path: /tmp/tmp.yv13gcCRVC/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:35 Sunday 04 August 2024 13:15:15 -0400 (0:00:00.025) 0:00:12.685 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "type == 'veth' and state == 'present'", "skip_reason": "Conditional result was False" } TASK [Delete veth interface dummy1298] ***************************************** task path: /tmp/tmp.yv13gcCRVC/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:43 Sunday 04 August 2024 13:15:15 -0400 (0:00:00.016) 0:00:12.701 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "type == 'veth' and state == 'absent' and interface in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Create dummy interface dummy1298] **************************************** task path: /tmp/tmp.yv13gcCRVC/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:49 Sunday 04 August 2024 13:15:15 -0400 (0:00:00.014) 0:00:12.715 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "type == 'dummy' and state == 'present' and interface not in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Delete dummy interface dummy1298] **************************************** task path: /tmp/tmp.yv13gcCRVC/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:54 Sunday 04 August 2024 13:15:15 -0400 (0:00:00.014) 0:00:12.730 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "type == 'dummy' and state == 'absent' and interface in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Create tap interface dummy1298] ****************************************** task path: /tmp/tmp.yv13gcCRVC/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:60 Sunday 04 August 2024 13:15:15 -0400 (0:00:00.014) 0:00:12.745 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "type == 'tap' and state == 'present' and interface not in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Delete tap interface dummy1298] ****************************************** task path: /tmp/tmp.yv13gcCRVC/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:65 Sunday 04 August 2024 13:15:15 -0400 (0:00:00.014) 0:00:12.760 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "type == 'tap' and state == 'absent' and interface in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/tmp.yv13gcCRVC/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:9 Sunday 04 August 2024 13:15:15 -0400 (0:00:00.013) 0:00:12.773 ********* included: /tmp/tmp.yv13gcCRVC/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml for managed_node1 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/tmp.yv13gcCRVC/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Sunday 04 August 2024 13:15:15 -0400 (0:00:00.023) 0:00:12.796 ********* included: /tmp/tmp.yv13gcCRVC/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml for managed_node1 TASK [Gather current interface info] ******************************************* task path: /tmp/tmp.yv13gcCRVC/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Sunday 04 August 2024 13:15:15 -0400 (0:00:00.016) 0:00:12.813 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003129", "end": "2024-08-04 13:15:15.892683", "rc": 0, "start": "2024-08-04 13:15:15.889554" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/tmp.yv13gcCRVC/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Sunday 04 August 2024 13:15:15 -0400 (0:00:00.321) 0:00:13.135 ********* ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/tmp.yv13gcCRVC/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Sunday 04 August 2024 13:15:15 -0400 (0:00:00.018) 0:00:13.153 ********* ok: [managed_node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Include the task 'assert_device_absent.yml'] ***************************** task path: /tmp/tmp.yv13gcCRVC/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:11 Sunday 04 August 2024 13:15:15 -0400 (0:00:00.016) 0:00:13.169 ********* included: /tmp/tmp.yv13gcCRVC/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_absent.yml for managed_node1 TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/tmp.yv13gcCRVC/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_absent.yml:3 Sunday 04 August 2024 13:15:15 -0400 (0:00:00.023) 0:00:13.193 ********* included: /tmp/tmp.yv13gcCRVC/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_interface_stat.yml for managed_node1 TASK [Get stat for interface dummy1298] **************************************** task path: /tmp/tmp.yv13gcCRVC/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_interface_stat.yml:3 Sunday 04 August 2024 13:15:16 -0400 (0:00:00.017) 0:00:13.210 ********* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'dummy1298'] *********************** task path: /tmp/tmp.yv13gcCRVC/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_absent.yml:5 Sunday 04 August 2024 13:15:16 -0400 (0:00:00.318) 0:00:13.529 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /tmp/tmp.yv13gcCRVC/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:14 Sunday 04 August 2024 13:15:16 -0400 (0:00:00.017) 0:00:13.546 ********* included: /tmp/tmp.yv13gcCRVC/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml for managed_node1 TASK [Ensure state in ["present", "absent"]] *********************************** task path: /tmp/tmp.yv13gcCRVC/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:3 Sunday 04 August 2024 13:15:16 -0400 (0:00:00.033) 0:00:13.580 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "state not in [\"present\", \"absent\"]", "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /tmp/tmp.yv13gcCRVC/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:8 Sunday 04 August 2024 13:15:16 -0400 (0:00:00.013) 0:00:13.593 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "type not in [\"dummy\", \"tap\", \"veth\"]", "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/tmp.yv13gcCRVC/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:13 Sunday 04 August 2024 13:15:16 -0400 (0:00:00.012) 0:00:13.606 ********* included: /tmp/tmp.yv13gcCRVC/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml for managed_node1 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/tmp.yv13gcCRVC/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Sunday 04 August 2024 13:15:16 -0400 (0:00:00.019) 0:00:13.626 ********* included: /tmp/tmp.yv13gcCRVC/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml for managed_node1 TASK [Gather current interface info] ******************************************* task path: /tmp/tmp.yv13gcCRVC/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Sunday 04 August 2024 13:15:16 -0400 (0:00:00.017) 0:00:13.643 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003151", "end": "2024-08-04 13:15:16.721881", "rc": 0, "start": "2024-08-04 13:15:16.718730" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/tmp.yv13gcCRVC/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Sunday 04 August 2024 13:15:16 -0400 (0:00:00.320) 0:00:13.964 ********* ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/tmp.yv13gcCRVC/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Sunday 04 August 2024 13:15:16 -0400 (0:00:00.018) 0:00:13.982 ********* ok: [managed_node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /tmp/tmp.yv13gcCRVC/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:16 Sunday 04 August 2024 13:15:16 -0400 (0:00:00.016) 0:00:13.999 ********* ok: [managed_node1] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface dummy1298] ***************************************** task path: /tmp/tmp.yv13gcCRVC/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:27 Sunday 04 August 2024 13:15:17 -0400 (0:00:00.829) 0:00:14.828 ********* skipping: [managed_node1] => (item=ip link add dummy1298 type veth peer name peerdummy1298) => { "ansible_loop_var": "item", "changed": false, "false_condition": "type == 'veth' and state == 'present' and interface not in current_interfaces", "item": "ip link add dummy1298 type veth peer name peerdummy1298", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=ip link set peerdummy1298 up) => { "ansible_loop_var": "item", "changed": false, "false_condition": "type == 'veth' and state == 'present' and interface not in current_interfaces", "item": "ip link set peerdummy1298 up", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=ip link set dummy1298 up) => { "ansible_loop_var": "item", "changed": false, "false_condition": "type == 'veth' and state == 'present' and interface not in current_interfaces", "item": "ip link set dummy1298 up", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => { "changed": false } MSG: All items skipped TASK [Set up veth as managed by NetworkManager] ******************************** task path: /tmp/tmp.yv13gcCRVC/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:35 Sunday 04 August 2024 13:15:17 -0400 (0:00:00.025) 0:00:14.854 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "type == 'veth' and state == 'present'", "skip_reason": "Conditional result was False" } TASK [Delete veth interface dummy1298] ***************************************** task path: /tmp/tmp.yv13gcCRVC/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:43 Sunday 04 August 2024 13:15:17 -0400 (0:00:00.014) 0:00:14.868 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "type == 'veth' and state == 'absent' and interface in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Create dummy interface dummy1298] **************************************** task path: /tmp/tmp.yv13gcCRVC/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:49 Sunday 04 August 2024 13:15:17 -0400 (0:00:00.014) 0:00:14.883 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "ip", "link", "add", "dummy1298", "type", "dummy" ], "delta": "0:00:00.006518", "end": "2024-08-04 13:15:17.977176", "rc": 0, "start": "2024-08-04 13:15:17.970658" } TASK [Delete dummy interface dummy1298] **************************************** task path: /tmp/tmp.yv13gcCRVC/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:54 Sunday 04 August 2024 13:15:18 -0400 (0:00:00.345) 0:00:15.228 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "type == 'dummy' and state == 'absent' and interface in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Create tap interface dummy1298] ****************************************** task path: /tmp/tmp.yv13gcCRVC/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:60 Sunday 04 August 2024 13:15:18 -0400 (0:00:00.015) 0:00:15.244 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "type == 'tap' and state == 'present' and interface not in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Delete tap interface dummy1298] ****************************************** task path: /tmp/tmp.yv13gcCRVC/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:65 Sunday 04 August 2024 13:15:18 -0400 (0:00:00.014) 0:00:15.258 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "type == 'tap' and state == 'absent' and interface in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/tmp.yv13gcCRVC/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:18 Sunday 04 August 2024 13:15:18 -0400 (0:00:00.013) 0:00:15.272 ********* included: /tmp/tmp.yv13gcCRVC/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml for managed_node1 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/tmp.yv13gcCRVC/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Sunday 04 August 2024 13:15:18 -0400 (0:00:00.030) 0:00:15.302 ********* included: /tmp/tmp.yv13gcCRVC/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml for managed_node1 TASK [Gather current interface info] ******************************************* task path: /tmp/tmp.yv13gcCRVC/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Sunday 04 August 2024 13:15:18 -0400 (0:00:00.017) 0:00:15.319 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003320", "end": "2024-08-04 13:15:18.401812", "rc": 0, "start": "2024-08-04 13:15:18.398492" } STDOUT: bonding_masters dummy1298 eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/tmp.yv13gcCRVC/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Sunday 04 August 2024 13:15:18 -0400 (0:00:00.325) 0:00:15.645 ********* ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "dummy1298", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/tmp.yv13gcCRVC/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Sunday 04 August 2024 13:15:18 -0400 (0:00:00.018) 0:00:15.663 ********* ok: [managed_node1] => {} MSG: current_interfaces: ['bonding_masters', 'dummy1298', 'eth0', 'lo'] TASK [Include the task 'assert_device_present.yml'] **************************** task path: /tmp/tmp.yv13gcCRVC/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:20 Sunday 04 August 2024 13:15:18 -0400 (0:00:00.016) 0:00:15.680 ********* included: /tmp/tmp.yv13gcCRVC/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_present.yml for managed_node1 TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/tmp.yv13gcCRVC/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_present.yml:3 Sunday 04 August 2024 13:15:18 -0400 (0:00:00.032) 0:00:15.712 ********* included: /tmp/tmp.yv13gcCRVC/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_interface_stat.yml for managed_node1 TASK [Get stat for interface dummy1298] **************************************** task path: /tmp/tmp.yv13gcCRVC/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_interface_stat.yml:3 Sunday 04 August 2024 13:15:18 -0400 (0:00:00.018) 0:00:15.730 ********* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1722791717.9737194, "block_size": 4096, "blocks": 0, "ctime": 1722791717.9737194, "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": 1722791717.9737194, "nlink": 1, "path": "/sys/class/net/dummy1298", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 0, "uid": 0, "wgrp": true, "woth": true, "writeable": true, "wusr": true, "xgrp": true, "xoth": true, "xusr": true } } TASK [Assert that the interface is present - 'dummy1298'] ********************** task path: /tmp/tmp.yv13gcCRVC/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_present.yml:5 Sunday 04 August 2024 13:15:18 -0400 (0:00:00.325) 0:00:16.055 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /tmp/tmp.yv13gcCRVC/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:23 Sunday 04 August 2024 13:15:18 -0400 (0:00:00.018) 0:00:16.074 ********* included: /tmp/tmp.yv13gcCRVC/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml for managed_node1 TASK [Ensure state in ["present", "absent"]] *********************************** task path: /tmp/tmp.yv13gcCRVC/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:3 Sunday 04 August 2024 13:15:18 -0400 (0:00:00.037) 0:00:16.112 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "state not in [\"present\", \"absent\"]", "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /tmp/tmp.yv13gcCRVC/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:8 Sunday 04 August 2024 13:15:18 -0400 (0:00:00.013) 0:00:16.125 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "type not in [\"dummy\", \"tap\", \"veth\"]", "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/tmp.yv13gcCRVC/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:13 Sunday 04 August 2024 13:15:18 -0400 (0:00:00.012) 0:00:16.138 ********* included: /tmp/tmp.yv13gcCRVC/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml for managed_node1 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/tmp.yv13gcCRVC/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Sunday 04 August 2024 13:15:18 -0400 (0:00:00.021) 0:00:16.159 ********* included: /tmp/tmp.yv13gcCRVC/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml for managed_node1 TASK [Gather current interface info] ******************************************* task path: /tmp/tmp.yv13gcCRVC/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Sunday 04 August 2024 13:15:18 -0400 (0:00:00.035) 0:00:16.195 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003254", "end": "2024-08-04 13:15:19.279564", "rc": 0, "start": "2024-08-04 13:15:19.276310" } STDOUT: bonding_masters dummy1298 eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/tmp.yv13gcCRVC/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Sunday 04 August 2024 13:15:19 -0400 (0:00:00.327) 0:00:16.522 ********* ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "dummy1298", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/tmp.yv13gcCRVC/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Sunday 04 August 2024 13:15:19 -0400 (0:00:00.017) 0:00:16.540 ********* ok: [managed_node1] => {} MSG: current_interfaces: ['bonding_masters', 'dummy1298', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /tmp/tmp.yv13gcCRVC/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:16 Sunday 04 August 2024 13:15:19 -0400 (0:00:00.017) 0:00:16.557 ********* ok: [managed_node1] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface dummy1298] ***************************************** task path: /tmp/tmp.yv13gcCRVC/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:27 Sunday 04 August 2024 13:15:20 -0400 (0:00:00.834) 0:00:17.391 ********* skipping: [managed_node1] => (item=ip link add dummy1298 type veth peer name peerdummy1298) => { "ansible_loop_var": "item", "changed": false, "false_condition": "type == 'veth' and state == 'present' and interface not in current_interfaces", "item": "ip link add dummy1298 type veth peer name peerdummy1298", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=ip link set peerdummy1298 up) => { "ansible_loop_var": "item", "changed": false, "false_condition": "type == 'veth' and state == 'present' and interface not in current_interfaces", "item": "ip link set peerdummy1298 up", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=ip link set dummy1298 up) => { "ansible_loop_var": "item", "changed": false, "false_condition": "type == 'veth' and state == 'present' and interface not in current_interfaces", "item": "ip link set dummy1298 up", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => { "changed": false } MSG: All items skipped TASK [Set up veth as managed by NetworkManager] ******************************** task path: /tmp/tmp.yv13gcCRVC/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:35 Sunday 04 August 2024 13:15:20 -0400 (0:00:00.026) 0:00:17.418 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "type == 'veth' and state == 'present'", "skip_reason": "Conditional result was False" } TASK [Delete veth interface dummy1298] ***************************************** task path: /tmp/tmp.yv13gcCRVC/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:43 Sunday 04 August 2024 13:15:20 -0400 (0:00:00.014) 0:00:17.433 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "type == 'veth' and state == 'absent' and interface in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Create dummy interface dummy1298] **************************************** task path: /tmp/tmp.yv13gcCRVC/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:49 Sunday 04 August 2024 13:15:20 -0400 (0:00:00.014) 0:00:17.447 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "type == 'dummy' and state == 'present' and interface not in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Delete dummy interface dummy1298] **************************************** task path: /tmp/tmp.yv13gcCRVC/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:54 Sunday 04 August 2024 13:15:20 -0400 (0:00:00.014) 0:00:17.462 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "ip", "link", "del", "dummy1298", "type", "dummy" ], "delta": "0:00:00.013637", "end": "2024-08-04 13:15:20.557697", "rc": 0, "start": "2024-08-04 13:15:20.544060" } TASK [Create tap interface dummy1298] ****************************************** task path: /tmp/tmp.yv13gcCRVC/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:60 Sunday 04 August 2024 13:15:20 -0400 (0:00:00.339) 0:00:17.801 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "type == 'tap' and state == 'present' and interface not in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Delete tap interface dummy1298] ****************************************** task path: /tmp/tmp.yv13gcCRVC/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:65 Sunday 04 August 2024 13:15:20 -0400 (0:00:00.015) 0:00:17.817 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "type == 'tap' and state == 'absent' and interface in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/tmp.yv13gcCRVC/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:27 Sunday 04 August 2024 13:15:20 -0400 (0:00:00.013) 0:00:17.830 ********* included: /tmp/tmp.yv13gcCRVC/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml for managed_node1 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/tmp.yv13gcCRVC/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Sunday 04 August 2024 13:15:20 -0400 (0:00:00.035) 0:00:17.866 ********* included: /tmp/tmp.yv13gcCRVC/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml for managed_node1 TASK [Gather current interface info] ******************************************* task path: /tmp/tmp.yv13gcCRVC/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Sunday 04 August 2024 13:15:20 -0400 (0:00:00.017) 0:00:17.884 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003305", "end": "2024-08-04 13:15:20.967309", "rc": 0, "start": "2024-08-04 13:15:20.964004" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/tmp.yv13gcCRVC/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Sunday 04 August 2024 13:15:21 -0400 (0:00:00.326) 0:00:18.210 ********* ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/tmp.yv13gcCRVC/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Sunday 04 August 2024 13:15:21 -0400 (0:00:00.018) 0:00:18.229 ********* ok: [managed_node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Include the task 'assert_device_absent.yml'] ***************************** task path: /tmp/tmp.yv13gcCRVC/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:29 Sunday 04 August 2024 13:15:21 -0400 (0:00:00.016) 0:00:18.245 ********* included: /tmp/tmp.yv13gcCRVC/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_absent.yml for managed_node1 TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/tmp.yv13gcCRVC/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_absent.yml:3 Sunday 04 August 2024 13:15:21 -0400 (0:00:00.037) 0:00:18.283 ********* included: /tmp/tmp.yv13gcCRVC/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_interface_stat.yml for managed_node1 TASK [Get stat for interface dummy1298] **************************************** task path: /tmp/tmp.yv13gcCRVC/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_interface_stat.yml:3 Sunday 04 August 2024 13:15:21 -0400 (0:00:00.017) 0:00:18.301 ********* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'dummy1298'] *********************** task path: /tmp/tmp.yv13gcCRVC/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_absent.yml:5 Sunday 04 August 2024 13:15:21 -0400 (0:00:00.323) 0:00:18.625 ********* 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 Sunday 04 August 2024 13:15:21 -0400 (0:00:00.027) 0:00:18.652 ********* =============================================================================== Gathering Facts --------------------------------------------------------- 1.06s /tmp/tmp.yv13gcCRVC/ansible_collections/fedora/linux_system_roles/tests/network/tests_helpers_and_asserts.yml:3 Create veth interface veth1298 ------------------------------------------ 1.00s /tmp/tmp.yv13gcCRVC/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:27 Install iproute --------------------------------------------------------- 0.95s /tmp/tmp.yv13gcCRVC/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 0.84s /tmp/tmp.yv13gcCRVC/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 0.83s /tmp/tmp.yv13gcCRVC/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 0.83s /tmp/tmp.yv13gcCRVC/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 0.83s /tmp/tmp.yv13gcCRVC/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 0.82s /tmp/tmp.yv13gcCRVC/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.48s /tmp/tmp.yv13gcCRVC/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:3 Gather current interface info ------------------------------------------- 0.42s /tmp/tmp.yv13gcCRVC/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Check if system is ostree ----------------------------------------------- 0.42s /tmp/tmp.yv13gcCRVC/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:17 Set up veth as managed by NetworkManager -------------------------------- 0.35s /tmp/tmp.yv13gcCRVC/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:35 Create dummy interface dummy1298 ---------------------------------------- 0.35s /tmp/tmp.yv13gcCRVC/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:49 Delete veth interface veth1298 ------------------------------------------ 0.34s /tmp/tmp.yv13gcCRVC/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:43 Delete dummy interface dummy1298 ---------------------------------------- 0.34s /tmp/tmp.yv13gcCRVC/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:54 Gather current interface info ------------------------------------------- 0.33s /tmp/tmp.yv13gcCRVC/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Gather current interface info ------------------------------------------- 0.33s /tmp/tmp.yv13gcCRVC/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Gather current interface info ------------------------------------------- 0.33s /tmp/tmp.yv13gcCRVC/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Gather current interface info ------------------------------------------- 0.33s /tmp/tmp.yv13gcCRVC/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Gather current interface info ------------------------------------------- 0.33s /tmp/tmp.yv13gcCRVC/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3