[DEPRECATION WARNING]: ANSIBLE_COLLECTIONS_PATHS option, does not fit var naming standard, use the singular form ANSIBLE_COLLECTIONS_PATH instead. This feature will be removed from ansible-core in version 2.19. Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg. ansible-playbook [core 2.17.3] config file = None configured module search path = ['/root/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /usr/local/lib/python3.12/site-packages/ansible ansible collection location = /tmp/collections-GO7 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-GO7/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-GO7/ansible_collections/fedora/linux_system_roles/tests/network/tests_helpers_and_asserts.yml:3 Wednesday 14 August 2024 18:53:00 -0400 (0:00:00.027) 0:00:00.027 ****** [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-GO7/ansible_collections/fedora/linux_system_roles/tests/network/tests_helpers_and_asserts.yml:6 Wednesday 14 August 2024 18:53:01 -0400 (0:00:01.111) 0:00:01.138 ****** included: /tmp/collections-GO7/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-GO7/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:3 Wednesday 14 August 2024 18:53:01 -0400 (0:00:00.021) 0:00:01.160 ****** ok: [managed_node1] TASK [Check if system is ostree] *********************************************** task path: /tmp/collections-GO7/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:17 Wednesday 14 August 2024 18:53:01 -0400 (0:00:00.489) 0:00:01.649 ****** ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /tmp/collections-GO7/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:22 Wednesday 14 August 2024 18:53:02 -0400 (0:00:00.435) 0:00:02.085 ****** ok: [managed_node1] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /tmp/collections-GO7/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:26 Wednesday 14 August 2024 18:53:02 -0400 (0:00:00.023) 0:00:02.108 ****** 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-GO7/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:51 Wednesday 14 August 2024 18:53:02 -0400 (0:00:00.015) 0:00:02.123 ****** included: /tmp/collections-GO7/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml for managed_node1 TASK [Create EPEL 9] *********************************************************** task path: /tmp/collections-GO7/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:8 Wednesday 14 August 2024 18:53:02 -0400 (0:00:00.044) 0:00:02.167 ****** 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-GO7/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:24 Wednesday 14 August 2024 18:53:02 -0400 (0:00:00.015) 0:00:02.183 ****** 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-GO7/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:30 Wednesday 14 August 2024 18:53:02 -0400 (0:00:00.014) 0:00:02.197 ****** 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-GO7/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:35 Wednesday 14 August 2024 18:53:02 -0400 (0:00:00.014) 0:00:02.212 ****** 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-GO7/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:40 Wednesday 14 August 2024 18:53:02 -0400 (0:00:00.014) 0:00:02.227 ****** 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-GO7/ansible_collections/fedora/linux_system_roles/tests/network/tests_helpers_and_asserts.yml:9 Wednesday 14 August 2024 18:53:02 -0400 (0:00:00.014) 0:00:02.241 ****** included: /tmp/collections-GO7/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-GO7/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:3 Wednesday 14 August 2024 18:53:02 -0400 (0:00:00.021) 0:00:02.263 ****** included: /tmp/collections-GO7/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-GO7/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Wednesday 14 August 2024 18:53:02 -0400 (0:00:00.018) 0:00:02.282 ****** included: /tmp/collections-GO7/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-GO7/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Wednesday 14 August 2024 18:53:02 -0400 (0:00:00.017) 0:00:02.299 ****** ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003249", "end": "2024-08-14 18:53:02.867393", "rc": 0, "start": "2024-08-14 18:53:02.864144" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-GO7/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Wednesday 14 August 2024 18:53:02 -0400 (0:00:00.468) 0:00:02.768 ****** ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-GO7/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Wednesday 14 August 2024 18:53:02 -0400 (0:00:00.027) 0:00:02.796 ****** ok: [managed_node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /tmp/collections-GO7/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:5 Wednesday 14 August 2024 18:53:02 -0400 (0:00:00.027) 0:00:02.823 ****** included: /tmp/collections-GO7/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-GO7/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:3 Wednesday 14 August 2024 18:53:03 -0400 (0:00:00.047) 0:00:02.871 ****** 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-GO7/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:8 Wednesday 14 August 2024 18:53:03 -0400 (0:00:00.020) 0:00:02.892 ****** 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-GO7/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:13 Wednesday 14 August 2024 18:53:03 -0400 (0:00:00.019) 0:00:02.912 ****** included: /tmp/collections-GO7/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-GO7/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Wednesday 14 August 2024 18:53:03 -0400 (0:00:00.034) 0:00:02.947 ****** included: /tmp/collections-GO7/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-GO7/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Wednesday 14 August 2024 18:53:03 -0400 (0:00:00.029) 0:00:02.977 ****** ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003233", "end": "2024-08-14 18:53:03.468634", "rc": 0, "start": "2024-08-14 18:53:03.465401" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-GO7/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Wednesday 14 August 2024 18:53:03 -0400 (0:00:00.397) 0:00:03.375 ****** ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-GO7/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Wednesday 14 August 2024 18:53:03 -0400 (0:00:00.054) 0:00:03.429 ****** ok: [managed_node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /tmp/collections-GO7/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:16 Wednesday 14 August 2024 18:53:03 -0400 (0:00:00.047) 0:00:03.477 ****** ok: [managed_node1] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth1298] ****************************************** task path: /tmp/collections-GO7/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:27 Wednesday 14 August 2024 18:53:05 -0400 (0:00:01.798) 0:00:05.275 ****** 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-GO7/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:35 Wednesday 14 August 2024 18:53:05 -0400 (0:00:00.029) 0:00:05.305 ****** 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-GO7/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:43 Wednesday 14 August 2024 18:53:05 -0400 (0:00:00.018) 0:00:05.324 ****** 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-GO7/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:49 Wednesday 14 August 2024 18:53:05 -0400 (0:00:00.015) 0:00:05.339 ****** 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-GO7/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:54 Wednesday 14 August 2024 18:53:05 -0400 (0:00:00.014) 0:00:05.354 ****** 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-GO7/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:60 Wednesday 14 August 2024 18:53:05 -0400 (0:00:00.015) 0:00:05.369 ****** 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-GO7/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:65 Wednesday 14 August 2024 18:53:05 -0400 (0:00:00.015) 0:00:05.384 ****** 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-GO7/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:9 Wednesday 14 August 2024 18:53:05 -0400 (0:00:00.014) 0:00:05.399 ****** included: /tmp/collections-GO7/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-GO7/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Wednesday 14 August 2024 18:53:05 -0400 (0:00:00.022) 0:00:05.421 ****** included: /tmp/collections-GO7/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-GO7/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Wednesday 14 August 2024 18:53:05 -0400 (0:00:00.017) 0:00:05.439 ****** ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003348", "end": "2024-08-14 18:53:05.886020", "rc": 0, "start": "2024-08-14 18:53:05.882672" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-GO7/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Wednesday 14 August 2024 18:53:05 -0400 (0:00:00.336) 0:00:05.775 ****** ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-GO7/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Wednesday 14 August 2024 18:53:05 -0400 (0:00:00.018) 0:00:05.794 ****** ok: [managed_node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Include the task 'assert_device_absent.yml'] ***************************** task path: /tmp/collections-GO7/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:11 Wednesday 14 August 2024 18:53:05 -0400 (0:00:00.024) 0:00:05.819 ****** included: /tmp/collections-GO7/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-GO7/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_absent.yml:3 Wednesday 14 August 2024 18:53:06 -0400 (0:00:00.027) 0:00:05.846 ****** included: /tmp/collections-GO7/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-GO7/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_interface_stat.yml:3 Wednesday 14 August 2024 18:53:06 -0400 (0:00:00.025) 0:00:05.872 ****** ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'veth1298'] ************************ task path: /tmp/collections-GO7/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_absent.yml:5 Wednesday 14 August 2024 18:53:06 -0400 (0:00:00.337) 0:00:06.209 ****** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /tmp/collections-GO7/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:14 Wednesday 14 August 2024 18:53:06 -0400 (0:00:00.024) 0:00:06.234 ****** included: /tmp/collections-GO7/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-GO7/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:3 Wednesday 14 August 2024 18:53:06 -0400 (0:00:00.038) 0:00:06.273 ****** 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-GO7/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:8 Wednesday 14 August 2024 18:53:06 -0400 (0:00:00.014) 0:00:06.287 ****** 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-GO7/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:13 Wednesday 14 August 2024 18:53:06 -0400 (0:00:00.016) 0:00:06.304 ****** included: /tmp/collections-GO7/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-GO7/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Wednesday 14 August 2024 18:53:06 -0400 (0:00:00.019) 0:00:06.324 ****** included: /tmp/collections-GO7/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-GO7/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Wednesday 14 August 2024 18:53:06 -0400 (0:00:00.016) 0:00:06.340 ****** ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003322", "end": "2024-08-14 18:53:06.758626", "rc": 0, "start": "2024-08-14 18:53:06.755304" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-GO7/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Wednesday 14 August 2024 18:53:06 -0400 (0:00:00.328) 0:00:06.669 ****** ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-GO7/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Wednesday 14 August 2024 18:53:06 -0400 (0:00:00.054) 0:00:06.724 ****** ok: [managed_node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /tmp/collections-GO7/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:16 Wednesday 14 August 2024 18:53:06 -0400 (0:00:00.050) 0:00:06.775 ****** ok: [managed_node1] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth1298] ****************************************** task path: /tmp/collections-GO7/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:27 Wednesday 14 August 2024 18:53:08 -0400 (0:00:01.562) 0:00:08.338 ****** 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.008748", "end": "2024-08-14 18:53:08.769380", "item": "ip link add veth1298 type veth peer name peerveth1298", "rc": 0, "start": "2024-08-14 18:53:08.760632" } 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.003543", "end": "2024-08-14 18:53:09.114086", "item": "ip link set peerveth1298 up", "rc": 0, "start": "2024-08-14 18:53:09.110543" } 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.004223", "end": "2024-08-14 18:53:09.468636", "item": "ip link set veth1298 up", "rc": 0, "start": "2024-08-14 18:53:09.464413" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /tmp/collections-GO7/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:35 Wednesday 14 August 2024 18:53:09 -0400 (0:00:01.021) 0:00:09.359 ****** ok: [managed_node1] => { "changed": false, "cmd": [ "nmcli", "d", "set", "veth1298", "managed", "true" ], "delta": "0:00:00.018484", "end": "2024-08-14 18:53:09.798422", "rc": 0, "start": "2024-08-14 18:53:09.779938" } TASK [Delete veth interface veth1298] ****************************************** task path: /tmp/collections-GO7/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:43 Wednesday 14 August 2024 18:53:09 -0400 (0:00:00.343) 0:00:09.703 ****** 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-GO7/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:49 Wednesday 14 August 2024 18:53:09 -0400 (0:00:00.026) 0:00:09.730 ****** 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-GO7/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:54 Wednesday 14 August 2024 18:53:09 -0400 (0:00:00.024) 0:00:09.754 ****** 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-GO7/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:60 Wednesday 14 August 2024 18:53:09 -0400 (0:00:00.029) 0:00:09.783 ****** 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-GO7/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:65 Wednesday 14 August 2024 18:53:09 -0400 (0:00:00.024) 0:00:09.808 ****** 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-GO7/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:18 Wednesday 14 August 2024 18:53:09 -0400 (0:00:00.024) 0:00:09.832 ****** included: /tmp/collections-GO7/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-GO7/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Wednesday 14 August 2024 18:53:10 -0400 (0:00:00.063) 0:00:09.896 ****** included: /tmp/collections-GO7/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-GO7/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Wednesday 14 August 2024 18:53:10 -0400 (0:00:00.035) 0:00:09.931 ****** ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003183", "end": "2024-08-14 18:53:10.432917", "rc": 0, "start": "2024-08-14 18:53:10.429734" } STDOUT: bonding_masters eth0 lo peerveth1298 veth1298 TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-GO7/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Wednesday 14 August 2024 18:53:10 -0400 (0:00:00.397) 0:00:10.329 ****** ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "peerveth1298", "veth1298" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-GO7/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Wednesday 14 August 2024 18:53:10 -0400 (0:00:00.028) 0:00:10.358 ****** ok: [managed_node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'peerveth1298', 'veth1298'] TASK [Include the task 'assert_device_present.yml'] **************************** task path: /tmp/collections-GO7/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:20 Wednesday 14 August 2024 18:53:10 -0400 (0:00:00.029) 0:00:10.387 ****** included: /tmp/collections-GO7/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-GO7/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_present.yml:3 Wednesday 14 August 2024 18:53:10 -0400 (0:00:00.058) 0:00:10.446 ****** included: /tmp/collections-GO7/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-GO7/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_interface_stat.yml:3 Wednesday 14 August 2024 18:53:10 -0400 (0:00:00.039) 0:00:10.485 ****** ok: [managed_node1] => { "changed": false, "stat": { "atime": 1723675988.764614, "block_size": 4096, "blocks": 0, "ctime": 1723675988.764614, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 29726, "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": 1723675988.764614, "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-GO7/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_present.yml:5 Wednesday 14 August 2024 18:53:11 -0400 (0:00:00.403) 0:00:10.888 ****** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /tmp/collections-GO7/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:23 Wednesday 14 August 2024 18:53:11 -0400 (0:00:00.031) 0:00:10.920 ****** included: /tmp/collections-GO7/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-GO7/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:3 Wednesday 14 August 2024 18:53:11 -0400 (0:00:00.085) 0:00:11.005 ****** 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-GO7/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:8 Wednesday 14 August 2024 18:53:11 -0400 (0:00:00.022) 0:00:11.028 ****** 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-GO7/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:13 Wednesday 14 August 2024 18:53:11 -0400 (0:00:00.019) 0:00:11.048 ****** included: /tmp/collections-GO7/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-GO7/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Wednesday 14 August 2024 18:53:11 -0400 (0:00:00.036) 0:00:11.085 ****** included: /tmp/collections-GO7/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-GO7/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Wednesday 14 August 2024 18:53:11 -0400 (0:00:00.055) 0:00:11.141 ****** ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003236", "end": "2024-08-14 18:53:11.665812", "rc": 0, "start": "2024-08-14 18:53:11.662576" } STDOUT: bonding_masters eth0 lo peerveth1298 veth1298 TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-GO7/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Wednesday 14 August 2024 18:53:11 -0400 (0:00:00.424) 0:00:11.566 ****** ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "peerveth1298", "veth1298" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-GO7/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Wednesday 14 August 2024 18:53:11 -0400 (0:00:00.026) 0:00:11.592 ****** ok: [managed_node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'peerveth1298', 'veth1298'] TASK [Install iproute] ********************************************************* task path: /tmp/collections-GO7/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:16 Wednesday 14 August 2024 18:53:11 -0400 (0:00:00.028) 0:00:11.620 ****** ok: [managed_node1] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth1298] ****************************************** task path: /tmp/collections-GO7/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:27 Wednesday 14 August 2024 18:53:13 -0400 (0:00:01.576) 0:00:13.196 ****** 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-GO7/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:35 Wednesday 14 August 2024 18:53:13 -0400 (0:00:00.033) 0:00:13.230 ****** 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-GO7/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:43 Wednesday 14 August 2024 18:53:13 -0400 (0:00:00.024) 0:00:13.254 ****** ok: [managed_node1] => { "changed": false, "cmd": [ "ip", "link", "del", "veth1298", "type", "veth" ], "delta": "0:00:00.013525", "end": "2024-08-14 18:53:13.713801", "rc": 0, "start": "2024-08-14 18:53:13.700276" } TASK [Create dummy interface veth1298] ***************************************** task path: /tmp/collections-GO7/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:49 Wednesday 14 August 2024 18:53:13 -0400 (0:00:00.357) 0:00:13.612 ****** 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-GO7/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:54 Wednesday 14 August 2024 18:53:13 -0400 (0:00:00.033) 0:00:13.646 ****** 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-GO7/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:60 Wednesday 14 August 2024 18:53:13 -0400 (0:00:00.038) 0:00:13.684 ****** 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-GO7/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:65 Wednesday 14 August 2024 18:53:13 -0400 (0:00:00.037) 0:00:13.722 ****** 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-GO7/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:27 Wednesday 14 August 2024 18:53:13 -0400 (0:00:00.029) 0:00:13.751 ****** included: /tmp/collections-GO7/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-GO7/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Wednesday 14 August 2024 18:53:13 -0400 (0:00:00.072) 0:00:13.824 ****** included: /tmp/collections-GO7/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-GO7/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Wednesday 14 August 2024 18:53:14 -0400 (0:00:00.028) 0:00:13.852 ****** ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003229", "end": "2024-08-14 18:53:14.311239", "rc": 0, "start": "2024-08-14 18:53:14.308010" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-GO7/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Wednesday 14 August 2024 18:53:14 -0400 (0:00:00.351) 0:00:14.204 ****** ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-GO7/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Wednesday 14 August 2024 18:53:14 -0400 (0:00:00.018) 0:00:14.223 ****** ok: [managed_node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Include the task 'assert_device_absent.yml'] ***************************** task path: /tmp/collections-GO7/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:29 Wednesday 14 August 2024 18:53:14 -0400 (0:00:00.020) 0:00:14.244 ****** included: /tmp/collections-GO7/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-GO7/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_absent.yml:3 Wednesday 14 August 2024 18:53:14 -0400 (0:00:00.034) 0:00:14.278 ****** included: /tmp/collections-GO7/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-GO7/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_interface_stat.yml:3 Wednesday 14 August 2024 18:53:14 -0400 (0:00:00.018) 0:00:14.297 ****** ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'veth1298'] ************************ task path: /tmp/collections-GO7/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_absent.yml:5 Wednesday 14 August 2024 18:53:14 -0400 (0:00:00.321) 0:00:14.618 ****** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Test veth interface management] ****************************************** task path: /tmp/collections-GO7/ansible_collections/fedora/linux_system_roles/tests/network/tests_helpers_and_asserts.yml:15 Wednesday 14 August 2024 18:53:14 -0400 (0:00:00.028) 0:00:14.646 ****** included: /tmp/collections-GO7/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-GO7/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:3 Wednesday 14 August 2024 18:53:14 -0400 (0:00:00.040) 0:00:14.686 ****** included: /tmp/collections-GO7/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-GO7/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Wednesday 14 August 2024 18:53:14 -0400 (0:00:00.030) 0:00:14.717 ****** included: /tmp/collections-GO7/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-GO7/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Wednesday 14 August 2024 18:53:14 -0400 (0:00:00.032) 0:00:14.749 ****** ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003255", "end": "2024-08-14 18:53:15.207658", "rc": 0, "start": "2024-08-14 18:53:15.204403" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-GO7/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Wednesday 14 August 2024 18:53:15 -0400 (0:00:00.357) 0:00:15.107 ****** ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-GO7/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Wednesday 14 August 2024 18:53:15 -0400 (0:00:00.025) 0:00:15.133 ****** ok: [managed_node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /tmp/collections-GO7/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:5 Wednesday 14 August 2024 18:53:15 -0400 (0:00:00.031) 0:00:15.165 ****** included: /tmp/collections-GO7/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-GO7/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:3 Wednesday 14 August 2024 18:53:15 -0400 (0:00:00.042) 0:00:15.207 ****** 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-GO7/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:8 Wednesday 14 August 2024 18:53:15 -0400 (0:00:00.020) 0:00:15.228 ****** 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-GO7/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:13 Wednesday 14 August 2024 18:53:15 -0400 (0:00:00.025) 0:00:15.253 ****** included: /tmp/collections-GO7/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-GO7/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Wednesday 14 August 2024 18:53:15 -0400 (0:00:00.036) 0:00:15.289 ****** included: /tmp/collections-GO7/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-GO7/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Wednesday 14 August 2024 18:53:15 -0400 (0:00:00.032) 0:00:15.322 ****** ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003414", "end": "2024-08-14 18:53:15.780630", "rc": 0, "start": "2024-08-14 18:53:15.777216" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-GO7/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Wednesday 14 August 2024 18:53:15 -0400 (0:00:00.363) 0:00:15.685 ****** ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-GO7/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Wednesday 14 August 2024 18:53:15 -0400 (0:00:00.036) 0:00:15.722 ****** ok: [managed_node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /tmp/collections-GO7/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:16 Wednesday 14 August 2024 18:53:15 -0400 (0:00:00.029) 0:00:15.752 ****** ok: [managed_node1] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface dummy1298] ***************************************** task path: /tmp/collections-GO7/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:27 Wednesday 14 August 2024 18:53:17 -0400 (0:00:01.503) 0:00:17.255 ****** 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-GO7/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:35 Wednesday 14 August 2024 18:53:17 -0400 (0:00:00.044) 0:00:17.300 ****** 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-GO7/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:43 Wednesday 14 August 2024 18:53:17 -0400 (0:00:00.032) 0:00:17.332 ****** 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-GO7/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:49 Wednesday 14 August 2024 18:53:17 -0400 (0:00:00.024) 0:00:17.357 ****** 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-GO7/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:54 Wednesday 14 August 2024 18:53:17 -0400 (0:00:00.030) 0:00:17.387 ****** 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-GO7/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:60 Wednesday 14 August 2024 18:53:17 -0400 (0:00:00.025) 0:00:17.412 ****** 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-GO7/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:65 Wednesday 14 August 2024 18:53:17 -0400 (0:00:00.032) 0:00:17.445 ****** 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-GO7/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:9 Wednesday 14 August 2024 18:53:17 -0400 (0:00:00.022) 0:00:17.467 ****** included: /tmp/collections-GO7/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-GO7/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Wednesday 14 August 2024 18:53:17 -0400 (0:00:00.038) 0:00:17.506 ****** included: /tmp/collections-GO7/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-GO7/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Wednesday 14 August 2024 18:53:17 -0400 (0:00:00.028) 0:00:17.534 ****** ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003299", "end": "2024-08-14 18:53:18.004611", "rc": 0, "start": "2024-08-14 18:53:18.001312" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-GO7/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Wednesday 14 August 2024 18:53:18 -0400 (0:00:00.364) 0:00:17.899 ****** ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-GO7/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Wednesday 14 August 2024 18:53:18 -0400 (0:00:00.019) 0:00:17.919 ****** ok: [managed_node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Include the task 'assert_device_absent.yml'] ***************************** task path: /tmp/collections-GO7/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:11 Wednesday 14 August 2024 18:53:18 -0400 (0:00:00.021) 0:00:17.940 ****** included: /tmp/collections-GO7/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-GO7/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_absent.yml:3 Wednesday 14 August 2024 18:53:18 -0400 (0:00:00.024) 0:00:17.965 ****** included: /tmp/collections-GO7/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-GO7/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_interface_stat.yml:3 Wednesday 14 August 2024 18:53:18 -0400 (0:00:00.018) 0:00:17.983 ****** ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'dummy1298'] *********************** task path: /tmp/collections-GO7/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_absent.yml:5 Wednesday 14 August 2024 18:53:18 -0400 (0:00:00.336) 0:00:18.320 ****** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /tmp/collections-GO7/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:14 Wednesday 14 August 2024 18:53:18 -0400 (0:00:00.034) 0:00:18.354 ****** included: /tmp/collections-GO7/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-GO7/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:3 Wednesday 14 August 2024 18:53:18 -0400 (0:00:00.067) 0:00:18.421 ****** 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-GO7/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:8 Wednesday 14 August 2024 18:53:18 -0400 (0:00:00.040) 0:00:18.462 ****** 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-GO7/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:13 Wednesday 14 August 2024 18:53:18 -0400 (0:00:00.034) 0:00:18.496 ****** included: /tmp/collections-GO7/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-GO7/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Wednesday 14 August 2024 18:53:18 -0400 (0:00:00.048) 0:00:18.545 ****** included: /tmp/collections-GO7/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-GO7/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Wednesday 14 August 2024 18:53:18 -0400 (0:00:00.031) 0:00:18.576 ****** ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003203", "end": "2024-08-14 18:53:19.026901", "rc": 0, "start": "2024-08-14 18:53:19.023698" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-GO7/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Wednesday 14 August 2024 18:53:19 -0400 (0:00:00.344) 0:00:18.921 ****** ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-GO7/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Wednesday 14 August 2024 18:53:19 -0400 (0:00:00.022) 0:00:18.944 ****** ok: [managed_node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /tmp/collections-GO7/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:16 Wednesday 14 August 2024 18:53:19 -0400 (0:00:00.021) 0:00:18.966 ****** ok: [managed_node1] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface dummy1298] ***************************************** task path: /tmp/collections-GO7/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:27 Wednesday 14 August 2024 18:53:20 -0400 (0:00:01.345) 0:00:20.311 ****** 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-GO7/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:35 Wednesday 14 August 2024 18:53:20 -0400 (0:00:00.076) 0:00:20.388 ****** 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-GO7/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:43 Wednesday 14 August 2024 18:53:20 -0400 (0:00:00.041) 0:00:20.429 ****** 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-GO7/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:49 Wednesday 14 August 2024 18:53:20 -0400 (0:00:00.050) 0:00:20.480 ****** ok: [managed_node1] => { "changed": false, "cmd": [ "ip", "link", "add", "dummy1298", "type", "dummy" ], "delta": "0:00:00.006513", "end": "2024-08-14 18:53:20.957174", "rc": 0, "start": "2024-08-14 18:53:20.950661" } TASK [Delete dummy interface dummy1298] **************************************** task path: /tmp/collections-GO7/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:54 Wednesday 14 August 2024 18:53:21 -0400 (0:00:00.375) 0:00:20.856 ****** 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-GO7/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:60 Wednesday 14 August 2024 18:53:21 -0400 (0:00:00.020) 0:00:20.876 ****** 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-GO7/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:65 Wednesday 14 August 2024 18:53:21 -0400 (0:00:00.020) 0:00:20.897 ****** 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-GO7/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:18 Wednesday 14 August 2024 18:53:21 -0400 (0:00:00.024) 0:00:20.921 ****** included: /tmp/collections-GO7/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-GO7/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Wednesday 14 August 2024 18:53:21 -0400 (0:00:00.048) 0:00:20.970 ****** included: /tmp/collections-GO7/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-GO7/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Wednesday 14 August 2024 18:53:21 -0400 (0:00:00.030) 0:00:21.001 ****** ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003210", "end": "2024-08-14 18:53:21.450213", "rc": 0, "start": "2024-08-14 18:53:21.447003" } STDOUT: bonding_masters dummy1298 eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-GO7/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Wednesday 14 August 2024 18:53:21 -0400 (0:00:00.339) 0:00:21.340 ****** ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "dummy1298", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-GO7/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Wednesday 14 August 2024 18:53:21 -0400 (0:00:00.018) 0:00:21.359 ****** ok: [managed_node1] => {} MSG: current_interfaces: ['bonding_masters', 'dummy1298', 'eth0', 'lo'] TASK [Include the task 'assert_device_present.yml'] **************************** task path: /tmp/collections-GO7/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:20 Wednesday 14 August 2024 18:53:21 -0400 (0:00:00.018) 0:00:21.377 ****** included: /tmp/collections-GO7/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-GO7/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_present.yml:3 Wednesday 14 August 2024 18:53:21 -0400 (0:00:00.028) 0:00:21.406 ****** included: /tmp/collections-GO7/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-GO7/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_interface_stat.yml:3 Wednesday 14 August 2024 18:53:21 -0400 (0:00:00.018) 0:00:21.424 ****** ok: [managed_node1] => { "changed": false, "stat": { "atime": 1723676000.9537346, "block_size": 4096, "blocks": 0, "ctime": 1723676000.9537346, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 30019, "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": 1723676000.9537346, "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-GO7/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_present.yml:5 Wednesday 14 August 2024 18:53:21 -0400 (0:00:00.316) 0:00:21.741 ****** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /tmp/collections-GO7/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:23 Wednesday 14 August 2024 18:53:21 -0400 (0:00:00.018) 0:00:21.760 ****** included: /tmp/collections-GO7/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-GO7/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:3 Wednesday 14 August 2024 18:53:21 -0400 (0:00:00.035) 0:00:21.795 ****** 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-GO7/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:8 Wednesday 14 August 2024 18:53:21 -0400 (0:00:00.015) 0:00:21.811 ****** 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-GO7/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:13 Wednesday 14 August 2024 18:53:21 -0400 (0:00:00.014) 0:00:21.825 ****** included: /tmp/collections-GO7/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-GO7/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Wednesday 14 August 2024 18:53:22 -0400 (0:00:00.020) 0:00:21.845 ****** included: /tmp/collections-GO7/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-GO7/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Wednesday 14 August 2024 18:53:22 -0400 (0:00:00.020) 0:00:21.865 ****** ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003298", "end": "2024-08-14 18:53:22.288008", "rc": 0, "start": "2024-08-14 18:53:22.284710" } STDOUT: bonding_masters dummy1298 eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-GO7/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Wednesday 14 August 2024 18:53:22 -0400 (0:00:00.312) 0:00:22.178 ****** ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "dummy1298", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-GO7/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Wednesday 14 August 2024 18:53:22 -0400 (0:00:00.091) 0:00:22.269 ****** ok: [managed_node1] => {} MSG: current_interfaces: ['bonding_masters', 'dummy1298', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /tmp/collections-GO7/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:16 Wednesday 14 August 2024 18:53:22 -0400 (0:00:00.028) 0:00:22.297 ****** ok: [managed_node1] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface dummy1298] ***************************************** task path: /tmp/collections-GO7/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:27 Wednesday 14 August 2024 18:53:23 -0400 (0:00:01.418) 0:00:23.716 ****** 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-GO7/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:35 Wednesday 14 August 2024 18:53:23 -0400 (0:00:00.050) 0:00:23.767 ****** 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-GO7/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:43 Wednesday 14 August 2024 18:53:23 -0400 (0:00:00.027) 0:00:23.794 ****** 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-GO7/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:49 Wednesday 14 August 2024 18:53:23 -0400 (0:00:00.026) 0:00:23.820 ****** 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-GO7/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:54 Wednesday 14 August 2024 18:53:24 -0400 (0:00:00.037) 0:00:23.857 ****** ok: [managed_node1] => { "changed": false, "cmd": [ "ip", "link", "del", "dummy1298", "type", "dummy" ], "delta": "0:00:00.018488", "end": "2024-08-14 18:53:24.352578", "rc": 0, "start": "2024-08-14 18:53:24.334090" } TASK [Create tap interface dummy1298] ****************************************** task path: /tmp/collections-GO7/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:60 Wednesday 14 August 2024 18:53:24 -0400 (0:00:00.395) 0:00:24.253 ****** 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-GO7/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:65 Wednesday 14 August 2024 18:53:24 -0400 (0:00:00.035) 0:00:24.289 ****** 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-GO7/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:27 Wednesday 14 August 2024 18:53:24 -0400 (0:00:00.057) 0:00:24.346 ****** included: /tmp/collections-GO7/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-GO7/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Wednesday 14 August 2024 18:53:24 -0400 (0:00:00.089) 0:00:24.436 ****** included: /tmp/collections-GO7/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-GO7/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Wednesday 14 August 2024 18:53:24 -0400 (0:00:00.036) 0:00:24.472 ****** ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003167", "end": "2024-08-14 18:53:24.947825", "rc": 0, "start": "2024-08-14 18:53:24.944658" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-GO7/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Wednesday 14 August 2024 18:53:24 -0400 (0:00:00.365) 0:00:24.837 ****** ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-GO7/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Wednesday 14 August 2024 18:53:25 -0400 (0:00:00.019) 0:00:24.857 ****** ok: [managed_node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Include the task 'assert_device_absent.yml'] ***************************** task path: /tmp/collections-GO7/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:29 Wednesday 14 August 2024 18:53:25 -0400 (0:00:00.017) 0:00:24.874 ****** included: /tmp/collections-GO7/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-GO7/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_absent.yml:3 Wednesday 14 August 2024 18:53:25 -0400 (0:00:00.035) 0:00:24.910 ****** included: /tmp/collections-GO7/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-GO7/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_interface_stat.yml:3 Wednesday 14 August 2024 18:53:25 -0400 (0:00:00.019) 0:00:24.930 ****** ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'dummy1298'] *********************** task path: /tmp/collections-GO7/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_absent.yml:5 Wednesday 14 August 2024 18:53:25 -0400 (0:00:00.352) 0:00:25.282 ****** 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 Wednesday 14 August 2024 18:53:25 -0400 (0:00:00.044) 0:00:25.327 ****** =============================================================================== Install iproute --------------------------------------------------------- 1.80s /tmp/collections-GO7/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 1.58s /tmp/collections-GO7/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 1.56s /tmp/collections-GO7/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 1.50s /tmp/collections-GO7/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 1.42s /tmp/collections-GO7/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 1.35s /tmp/collections-GO7/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:16 Gathering Facts --------------------------------------------------------- 1.11s /tmp/collections-GO7/ansible_collections/fedora/linux_system_roles/tests/network/tests_helpers_and_asserts.yml:3 Create veth interface veth1298 ------------------------------------------ 1.02s /tmp/collections-GO7/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:27 Gather the minimum subset of ansible_facts required by the network role test --- 0.49s /tmp/collections-GO7/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:3 Gather current interface info ------------------------------------------- 0.47s /tmp/collections-GO7/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Check if system is ostree ----------------------------------------------- 0.44s /tmp/collections-GO7/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:17 Gather current interface info ------------------------------------------- 0.42s /tmp/collections-GO7/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Get stat for interface veth1298 ----------------------------------------- 0.40s /tmp/collections-GO7/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_interface_stat.yml:3 Gather current interface info ------------------------------------------- 0.40s /tmp/collections-GO7/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Gather current interface info ------------------------------------------- 0.40s /tmp/collections-GO7/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Delete dummy interface dummy1298 ---------------------------------------- 0.40s /tmp/collections-GO7/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:54 Create dummy interface dummy1298 ---------------------------------------- 0.38s /tmp/collections-GO7/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:49 Gather current interface info ------------------------------------------- 0.37s /tmp/collections-GO7/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Gather current interface info ------------------------------------------- 0.36s /tmp/collections-GO7/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Gather current interface info ------------------------------------------- 0.36s /tmp/collections-GO7/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3