[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-5En 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-5En/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-5En/ansible_collections/fedora/linux_system_roles/tests/network/tests_helpers_and_asserts.yml:3 Thursday 15 August 2024 09:04:56 -0400 (0:00:00.024) 0:00:00.024 ******* [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-5En/ansible_collections/fedora/linux_system_roles/tests/network/tests_helpers_and_asserts.yml:6 Thursday 15 August 2024 09:04:57 -0400 (0:00:01.124) 0:00:01.148 ******* included: /tmp/collections-5En/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-5En/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:3 Thursday 15 August 2024 09:04:57 -0400 (0:00:00.036) 0:00:01.185 ******* ok: [managed_node1] TASK [Check if system is ostree] *********************************************** task path: /tmp/collections-5En/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:17 Thursday 15 August 2024 09:04:57 -0400 (0:00:00.505) 0:00:01.690 ******* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /tmp/collections-5En/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:22 Thursday 15 August 2024 09:04:58 -0400 (0:00:00.529) 0:00:02.220 ******* ok: [managed_node1] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /tmp/collections-5En/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:26 Thursday 15 August 2024 09:04:58 -0400 (0:00:00.031) 0:00:02.252 ******* 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-5En/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:51 Thursday 15 August 2024 09:04:58 -0400 (0:00:00.023) 0:00:02.275 ******* included: /tmp/collections-5En/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml for managed_node1 TASK [Create EPEL 9] *********************************************************** task path: /tmp/collections-5En/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:8 Thursday 15 August 2024 09:04:58 -0400 (0:00:00.066) 0:00:02.341 ******* 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-5En/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:24 Thursday 15 August 2024 09:04:58 -0400 (0:00:00.021) 0:00:02.363 ******* 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-5En/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:30 Thursday 15 August 2024 09:04:58 -0400 (0:00:00.020) 0:00:02.383 ******* 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-5En/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:35 Thursday 15 August 2024 09:04:58 -0400 (0:00:00.021) 0:00:02.405 ******* 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-5En/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:40 Thursday 15 August 2024 09:04:58 -0400 (0:00:00.020) 0:00:02.426 ******* 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-5En/ansible_collections/fedora/linux_system_roles/tests/network/tests_helpers_and_asserts.yml:9 Thursday 15 August 2024 09:04:58 -0400 (0:00:00.021) 0:00:02.447 ******* included: /tmp/collections-5En/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-5En/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:3 Thursday 15 August 2024 09:04:58 -0400 (0:00:00.039) 0:00:02.487 ******* included: /tmp/collections-5En/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-5En/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Thursday 15 August 2024 09:04:58 -0400 (0:00:00.044) 0:00:02.531 ******* included: /tmp/collections-5En/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-5En/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Thursday 15 August 2024 09:04:58 -0400 (0:00:00.044) 0:00:02.575 ******* ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003224", "end": "2024-08-15 09:04:59.256469", "rc": 0, "start": "2024-08-15 09:04:59.253245" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-5En/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Thursday 15 August 2024 09:04:59 -0400 (0:00:00.659) 0:00:03.235 ******* ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-5En/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Thursday 15 August 2024 09:04:59 -0400 (0:00:00.018) 0:00:03.254 ******* ok: [managed_node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /tmp/collections-5En/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:5 Thursday 15 August 2024 09:04:59 -0400 (0:00:00.017) 0:00:03.271 ******* included: /tmp/collections-5En/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-5En/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:3 Thursday 15 August 2024 09:04:59 -0400 (0:00:00.040) 0:00:03.312 ******* 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-5En/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:8 Thursday 15 August 2024 09:04:59 -0400 (0:00:00.026) 0:00:03.338 ******* 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-5En/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:13 Thursday 15 August 2024 09:04:59 -0400 (0:00:00.024) 0:00:03.362 ******* included: /tmp/collections-5En/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-5En/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Thursday 15 August 2024 09:04:59 -0400 (0:00:00.028) 0:00:03.391 ******* included: /tmp/collections-5En/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-5En/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Thursday 15 August 2024 09:04:59 -0400 (0:00:00.024) 0:00:03.416 ******* ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003233", "end": "2024-08-15 09:04:59.786046", "rc": 0, "start": "2024-08-15 09:04:59.782813" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-5En/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Thursday 15 August 2024 09:04:59 -0400 (0:00:00.344) 0:00:03.761 ******* ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-5En/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Thursday 15 August 2024 09:04:59 -0400 (0:00:00.021) 0:00:03.782 ******* ok: [managed_node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /tmp/collections-5En/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:16 Thursday 15 August 2024 09:04:59 -0400 (0:00:00.018) 0:00:03.800 ******* ok: [managed_node1] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth1298] ****************************************** task path: /tmp/collections-5En/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:27 Thursday 15 August 2024 09:05:01 -0400 (0:00:01.571) 0:00:05.372 ******* 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-5En/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:35 Thursday 15 August 2024 09:05:01 -0400 (0:00:00.027) 0:00:05.399 ******* 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-5En/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:43 Thursday 15 August 2024 09:05:01 -0400 (0:00:00.014) 0:00:05.414 ******* 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-5En/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:49 Thursday 15 August 2024 09:05:01 -0400 (0:00:00.015) 0:00:05.430 ******* 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-5En/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:54 Thursday 15 August 2024 09:05:01 -0400 (0:00:00.021) 0:00:05.451 ******* 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-5En/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:60 Thursday 15 August 2024 09:05:01 -0400 (0:00:00.021) 0:00:05.473 ******* 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-5En/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:65 Thursday 15 August 2024 09:05:01 -0400 (0:00:00.021) 0:00:05.495 ******* 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-5En/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:9 Thursday 15 August 2024 09:05:01 -0400 (0:00:00.020) 0:00:05.515 ******* included: /tmp/collections-5En/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-5En/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Thursday 15 August 2024 09:05:01 -0400 (0:00:00.035) 0:00:05.551 ******* included: /tmp/collections-5En/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-5En/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Thursday 15 August 2024 09:05:01 -0400 (0:00:00.023) 0:00:05.575 ******* ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003353", "end": "2024-08-15 09:05:01.922749", "rc": 0, "start": "2024-08-15 09:05:01.919396" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-5En/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Thursday 15 August 2024 09:05:01 -0400 (0:00:00.323) 0:00:05.898 ******* ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-5En/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Thursday 15 August 2024 09:05:01 -0400 (0:00:00.020) 0:00:05.919 ******* ok: [managed_node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Include the task 'assert_device_absent.yml'] ***************************** task path: /tmp/collections-5En/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:11 Thursday 15 August 2024 09:05:02 -0400 (0:00:00.019) 0:00:05.939 ******* included: /tmp/collections-5En/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-5En/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_absent.yml:3 Thursday 15 August 2024 09:05:02 -0400 (0:00:00.030) 0:00:05.970 ******* included: /tmp/collections-5En/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-5En/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_interface_stat.yml:3 Thursday 15 August 2024 09:05:02 -0400 (0:00:00.019) 0:00:05.989 ******* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'veth1298'] ************************ task path: /tmp/collections-5En/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_absent.yml:5 Thursday 15 August 2024 09:05:02 -0400 (0:00:00.325) 0:00:06.314 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /tmp/collections-5En/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:14 Thursday 15 August 2024 09:05:02 -0400 (0:00:00.028) 0:00:06.342 ******* included: /tmp/collections-5En/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-5En/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:3 Thursday 15 August 2024 09:05:02 -0400 (0:00:00.048) 0:00:06.391 ******* 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-5En/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:8 Thursday 15 August 2024 09:05:02 -0400 (0:00:00.021) 0:00:06.412 ******* 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-5En/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:13 Thursday 15 August 2024 09:05:02 -0400 (0:00:00.021) 0:00:06.434 ******* included: /tmp/collections-5En/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-5En/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Thursday 15 August 2024 09:05:02 -0400 (0:00:00.033) 0:00:06.468 ******* included: /tmp/collections-5En/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-5En/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Thursday 15 August 2024 09:05:02 -0400 (0:00:00.027) 0:00:06.495 ******* ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003431", "end": "2024-08-15 09:05:02.906676", "rc": 0, "start": "2024-08-15 09:05:02.903245" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-5En/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Thursday 15 August 2024 09:05:02 -0400 (0:00:00.395) 0:00:06.891 ******* ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-5En/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Thursday 15 August 2024 09:05:02 -0400 (0:00:00.020) 0:00:06.912 ******* ok: [managed_node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /tmp/collections-5En/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:16 Thursday 15 August 2024 09:05:03 -0400 (0:00:00.019) 0:00:06.931 ******* ok: [managed_node1] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth1298] ****************************************** task path: /tmp/collections-5En/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:27 Thursday 15 August 2024 09:05:04 -0400 (0:00:01.551) 0:00:08.483 ******* 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.009933", "end": "2024-08-15 09:05:04.837084", "item": "ip link add veth1298 type veth peer name peerveth1298", "rc": 0, "start": "2024-08-15 09:05:04.827151" } 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.003655", "end": "2024-08-15 09:05:05.195888", "item": "ip link set peerveth1298 up", "rc": 0, "start": "2024-08-15 09:05:05.192233" } 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.006005", "end": "2024-08-15 09:05:05.556012", "item": "ip link set veth1298 up", "rc": 0, "start": "2024-08-15 09:05:05.550007" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /tmp/collections-5En/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:35 Thursday 15 August 2024 09:05:05 -0400 (0:00:01.058) 0:00:09.542 ******* ok: [managed_node1] => { "changed": false, "cmd": [ "nmcli", "d", "set", "veth1298", "managed", "true" ], "delta": "0:00:00.020068", "end": "2024-08-15 09:05:05.976146", "rc": 0, "start": "2024-08-15 09:05:05.956078" } TASK [Delete veth interface veth1298] ****************************************** task path: /tmp/collections-5En/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:43 Thursday 15 August 2024 09:05:06 -0400 (0:00:00.431) 0:00:09.974 ******* 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-5En/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:49 Thursday 15 August 2024 09:05:06 -0400 (0:00:00.036) 0:00:10.010 ******* 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-5En/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:54 Thursday 15 August 2024 09:05:06 -0400 (0:00:00.042) 0:00:10.053 ******* 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-5En/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:60 Thursday 15 August 2024 09:05:06 -0400 (0:00:00.031) 0:00:10.085 ******* 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-5En/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:65 Thursday 15 August 2024 09:05:06 -0400 (0:00:00.026) 0:00:10.111 ******* 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-5En/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:18 Thursday 15 August 2024 09:05:06 -0400 (0:00:00.022) 0:00:10.134 ******* included: /tmp/collections-5En/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-5En/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Thursday 15 August 2024 09:05:06 -0400 (0:00:00.060) 0:00:10.194 ******* included: /tmp/collections-5En/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-5En/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Thursday 15 August 2024 09:05:06 -0400 (0:00:00.035) 0:00:10.230 ******* ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003207", "end": "2024-08-15 09:05:06.598811", "rc": 0, "start": "2024-08-15 09:05:06.595604" } STDOUT: bonding_masters eth0 lo peerveth1298 veth1298 TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-5En/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Thursday 15 August 2024 09:05:06 -0400 (0:00:00.348) 0:00:10.578 ******* ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "peerveth1298", "veth1298" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-5En/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Thursday 15 August 2024 09:05:06 -0400 (0:00:00.021) 0:00:10.599 ******* ok: [managed_node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'peerveth1298', 'veth1298'] TASK [Include the task 'assert_device_present.yml'] **************************** task path: /tmp/collections-5En/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:20 Thursday 15 August 2024 09:05:06 -0400 (0:00:00.018) 0:00:10.617 ******* included: /tmp/collections-5En/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-5En/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_present.yml:3 Thursday 15 August 2024 09:05:06 -0400 (0:00:00.033) 0:00:10.651 ******* included: /tmp/collections-5En/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-5En/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_interface_stat.yml:3 Thursday 15 August 2024 09:05:06 -0400 (0:00:00.020) 0:00:10.672 ******* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1723727104.8310394, "block_size": 4096, "blocks": 0, "ctime": 1723727104.8310394, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 28279, "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": 1723727104.8310394, "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-5En/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_present.yml:5 Thursday 15 August 2024 09:05:07 -0400 (0:00:00.351) 0:00:11.024 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /tmp/collections-5En/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:23 Thursday 15 August 2024 09:05:07 -0400 (0:00:00.044) 0:00:11.068 ******* included: /tmp/collections-5En/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-5En/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:3 Thursday 15 August 2024 09:05:07 -0400 (0:00:00.082) 0:00:11.151 ******* 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-5En/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:8 Thursday 15 August 2024 09:05:07 -0400 (0:00:00.036) 0:00:11.187 ******* 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-5En/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:13 Thursday 15 August 2024 09:05:07 -0400 (0:00:00.034) 0:00:11.221 ******* included: /tmp/collections-5En/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-5En/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Thursday 15 August 2024 09:05:07 -0400 (0:00:00.066) 0:00:11.287 ******* included: /tmp/collections-5En/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-5En/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Thursday 15 August 2024 09:05:07 -0400 (0:00:00.044) 0:00:11.331 ******* ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003232", "end": "2024-08-15 09:05:07.699074", "rc": 0, "start": "2024-08-15 09:05:07.695842" } STDOUT: bonding_masters eth0 lo peerveth1298 veth1298 TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-5En/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Thursday 15 August 2024 09:05:07 -0400 (0:00:00.342) 0:00:11.674 ******* ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "peerveth1298", "veth1298" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-5En/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Thursday 15 August 2024 09:05:07 -0400 (0:00:00.016) 0:00:11.690 ******* ok: [managed_node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'peerveth1298', 'veth1298'] TASK [Install iproute] ********************************************************* task path: /tmp/collections-5En/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:16 Thursday 15 August 2024 09:05:07 -0400 (0:00:00.014) 0:00:11.705 ******* ok: [managed_node1] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth1298] ****************************************** task path: /tmp/collections-5En/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:27 Thursday 15 August 2024 09:05:09 -0400 (0:00:01.874) 0:00:13.579 ******* 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-5En/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:35 Thursday 15 August 2024 09:05:09 -0400 (0:00:00.031) 0:00:13.611 ******* 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-5En/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:43 Thursday 15 August 2024 09:05:09 -0400 (0:00:00.031) 0:00:13.643 ******* ok: [managed_node1] => { "changed": false, "cmd": [ "ip", "link", "del", "veth1298", "type", "veth" ], "delta": "0:00:00.014879", "end": "2024-08-15 09:05:10.014925", "rc": 0, "start": "2024-08-15 09:05:10.000046" } TASK [Create dummy interface veth1298] ***************************************** task path: /tmp/collections-5En/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:49 Thursday 15 August 2024 09:05:10 -0400 (0:00:00.376) 0:00:14.020 ******* 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-5En/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:54 Thursday 15 August 2024 09:05:10 -0400 (0:00:00.036) 0:00:14.056 ******* 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-5En/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:60 Thursday 15 August 2024 09:05:10 -0400 (0:00:00.039) 0:00:14.095 ******* 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-5En/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:65 Thursday 15 August 2024 09:05:10 -0400 (0:00:00.039) 0:00:14.134 ******* 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-5En/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:27 Thursday 15 August 2024 09:05:10 -0400 (0:00:00.034) 0:00:14.169 ******* included: /tmp/collections-5En/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-5En/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Thursday 15 August 2024 09:05:10 -0400 (0:00:00.081) 0:00:14.251 ******* included: /tmp/collections-5En/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-5En/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Thursday 15 August 2024 09:05:10 -0400 (0:00:00.027) 0:00:14.278 ******* ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003221", "end": "2024-08-15 09:05:10.729217", "rc": 0, "start": "2024-08-15 09:05:10.725996" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-5En/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Thursday 15 August 2024 09:05:10 -0400 (0:00:00.458) 0:00:14.737 ******* ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-5En/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Thursday 15 August 2024 09:05:10 -0400 (0:00:00.043) 0:00:14.780 ******* ok: [managed_node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Include the task 'assert_device_absent.yml'] ***************************** task path: /tmp/collections-5En/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:29 Thursday 15 August 2024 09:05:10 -0400 (0:00:00.029) 0:00:14.810 ******* included: /tmp/collections-5En/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-5En/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_absent.yml:3 Thursday 15 August 2024 09:05:10 -0400 (0:00:00.077) 0:00:14.888 ******* included: /tmp/collections-5En/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-5En/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_interface_stat.yml:3 Thursday 15 August 2024 09:05:10 -0400 (0:00:00.038) 0:00:14.926 ******* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'veth1298'] ************************ task path: /tmp/collections-5En/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_absent.yml:5 Thursday 15 August 2024 09:05:11 -0400 (0:00:00.329) 0:00:15.256 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Test veth interface management] ****************************************** task path: /tmp/collections-5En/ansible_collections/fedora/linux_system_roles/tests/network/tests_helpers_and_asserts.yml:15 Thursday 15 August 2024 09:05:11 -0400 (0:00:00.016) 0:00:15.272 ******* included: /tmp/collections-5En/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-5En/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:3 Thursday 15 August 2024 09:05:11 -0400 (0:00:00.021) 0:00:15.294 ******* included: /tmp/collections-5En/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-5En/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Thursday 15 August 2024 09:05:11 -0400 (0:00:00.016) 0:00:15.310 ******* included: /tmp/collections-5En/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-5En/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Thursday 15 August 2024 09:05:11 -0400 (0:00:00.016) 0:00:15.326 ******* ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003392", "end": "2024-08-15 09:05:11.674334", "rc": 0, "start": "2024-08-15 09:05:11.670942" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-5En/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Thursday 15 August 2024 09:05:11 -0400 (0:00:00.330) 0:00:15.657 ******* ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-5En/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Thursday 15 August 2024 09:05:11 -0400 (0:00:00.024) 0:00:15.683 ******* ok: [managed_node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /tmp/collections-5En/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:5 Thursday 15 August 2024 09:05:11 -0400 (0:00:00.025) 0:00:15.709 ******* included: /tmp/collections-5En/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-5En/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:3 Thursday 15 August 2024 09:05:11 -0400 (0:00:00.026) 0:00:15.735 ******* 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-5En/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:8 Thursday 15 August 2024 09:05:11 -0400 (0:00:00.014) 0:00:15.750 ******* 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-5En/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:13 Thursday 15 August 2024 09:05:11 -0400 (0:00:00.014) 0:00:15.764 ******* included: /tmp/collections-5En/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-5En/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Thursday 15 August 2024 09:05:11 -0400 (0:00:00.022) 0:00:15.787 ******* included: /tmp/collections-5En/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-5En/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Thursday 15 August 2024 09:05:11 -0400 (0:00:00.019) 0:00:15.806 ******* ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003259", "end": "2024-08-15 09:05:12.142921", "rc": 0, "start": "2024-08-15 09:05:12.139662" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-5En/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Thursday 15 August 2024 09:05:12 -0400 (0:00:00.312) 0:00:16.119 ******* ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-5En/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Thursday 15 August 2024 09:05:12 -0400 (0:00:00.016) 0:00:16.136 ******* ok: [managed_node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /tmp/collections-5En/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:16 Thursday 15 August 2024 09:05:12 -0400 (0:00:00.024) 0:00:16.161 ******* ok: [managed_node1] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface dummy1298] ***************************************** task path: /tmp/collections-5En/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:27 Thursday 15 August 2024 09:05:13 -0400 (0:00:01.462) 0:00:17.623 ******* 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-5En/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:35 Thursday 15 August 2024 09:05:13 -0400 (0:00:00.075) 0:00:17.698 ******* 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-5En/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:43 Thursday 15 August 2024 09:05:13 -0400 (0:00:00.026) 0:00:17.725 ******* 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-5En/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:49 Thursday 15 August 2024 09:05:13 -0400 (0:00:00.021) 0:00:17.747 ******* 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-5En/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:54 Thursday 15 August 2024 09:05:13 -0400 (0:00:00.024) 0:00:17.772 ******* 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-5En/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:60 Thursday 15 August 2024 09:05:13 -0400 (0:00:00.021) 0:00:17.793 ******* 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-5En/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:65 Thursday 15 August 2024 09:05:13 -0400 (0:00:00.023) 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/collections-5En/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:9 Thursday 15 August 2024 09:05:13 -0400 (0:00:00.026) 0:00:17.843 ******* included: /tmp/collections-5En/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-5En/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Thursday 15 August 2024 09:05:13 -0400 (0:00:00.047) 0:00:17.891 ******* included: /tmp/collections-5En/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-5En/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Thursday 15 August 2024 09:05:13 -0400 (0:00:00.027) 0:00:17.919 ******* ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003183", "end": "2024-08-15 09:05:14.283906", "rc": 0, "start": "2024-08-15 09:05:14.280723" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-5En/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Thursday 15 August 2024 09:05:14 -0400 (0:00:00.344) 0:00:18.264 ******* ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-5En/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Thursday 15 August 2024 09:05:14 -0400 (0:00:00.019) 0:00:18.283 ******* ok: [managed_node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Include the task 'assert_device_absent.yml'] ***************************** task path: /tmp/collections-5En/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:11 Thursday 15 August 2024 09:05:14 -0400 (0:00:00.019) 0:00:18.303 ******* included: /tmp/collections-5En/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-5En/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_absent.yml:3 Thursday 15 August 2024 09:05:14 -0400 (0:00:00.024) 0:00:18.327 ******* included: /tmp/collections-5En/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-5En/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_interface_stat.yml:3 Thursday 15 August 2024 09:05:14 -0400 (0:00:00.024) 0:00:18.352 ******* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'dummy1298'] *********************** task path: /tmp/collections-5En/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_absent.yml:5 Thursday 15 August 2024 09:05:14 -0400 (0:00:00.304) 0:00:18.657 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /tmp/collections-5En/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:14 Thursday 15 August 2024 09:05:14 -0400 (0:00:00.020) 0:00:18.677 ******* included: /tmp/collections-5En/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-5En/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:3 Thursday 15 August 2024 09:05:14 -0400 (0:00:00.041) 0:00:18.718 ******* 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-5En/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:8 Thursday 15 August 2024 09:05:14 -0400 (0:00:00.022) 0:00:18.740 ******* 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-5En/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:13 Thursday 15 August 2024 09:05:14 -0400 (0:00:00.018) 0:00:18.759 ******* included: /tmp/collections-5En/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-5En/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Thursday 15 August 2024 09:05:14 -0400 (0:00:00.030) 0:00:18.790 ******* included: /tmp/collections-5En/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-5En/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Thursday 15 August 2024 09:05:14 -0400 (0:00:00.025) 0:00:18.815 ******* ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003307", "end": "2024-08-15 09:05:15.182976", "rc": 0, "start": "2024-08-15 09:05:15.179669" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-5En/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Thursday 15 August 2024 09:05:15 -0400 (0:00:00.350) 0:00:19.165 ******* ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-5En/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Thursday 15 August 2024 09:05:15 -0400 (0:00:00.039) 0:00:19.204 ******* ok: [managed_node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /tmp/collections-5En/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:16 Thursday 15 August 2024 09:05:15 -0400 (0:00:00.022) 0:00:19.226 ******* ok: [managed_node1] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface dummy1298] ***************************************** task path: /tmp/collections-5En/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:27 Thursday 15 August 2024 09:05:16 -0400 (0:00:01.342) 0:00:20.569 ******* 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-5En/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:35 Thursday 15 August 2024 09:05:16 -0400 (0:00:00.036) 0:00:20.605 ******* 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-5En/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:43 Thursday 15 August 2024 09:05:16 -0400 (0:00:00.024) 0:00:20.630 ******* 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-5En/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:49 Thursday 15 August 2024 09:05:16 -0400 (0:00:00.023) 0:00:20.653 ******* ok: [managed_node1] => { "changed": false, "cmd": [ "ip", "link", "add", "dummy1298", "type", "dummy" ], "delta": "0:00:00.012419", "end": "2024-08-15 09:05:17.034034", "rc": 0, "start": "2024-08-15 09:05:17.021615" } TASK [Delete dummy interface dummy1298] **************************************** task path: /tmp/collections-5En/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:54 Thursday 15 August 2024 09:05:17 -0400 (0:00:00.374) 0:00:21.028 ******* 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-5En/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:60 Thursday 15 August 2024 09:05:17 -0400 (0:00:00.030) 0:00:21.058 ******* 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-5En/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:65 Thursday 15 August 2024 09:05:17 -0400 (0:00:00.027) 0:00:21.086 ******* 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-5En/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:18 Thursday 15 August 2024 09:05:17 -0400 (0:00:00.021) 0:00:21.107 ******* included: /tmp/collections-5En/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-5En/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Thursday 15 August 2024 09:05:17 -0400 (0:00:00.049) 0:00:21.156 ******* included: /tmp/collections-5En/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-5En/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Thursday 15 August 2024 09:05:17 -0400 (0:00:00.025) 0:00:21.182 ******* ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003251", "end": "2024-08-15 09:05:17.520768", "rc": 0, "start": "2024-08-15 09:05:17.517517" } STDOUT: bonding_masters dummy1298 eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-5En/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Thursday 15 August 2024 09:05:17 -0400 (0:00:00.321) 0:00:21.504 ******* ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "dummy1298", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-5En/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Thursday 15 August 2024 09:05:17 -0400 (0:00:00.025) 0:00:21.529 ******* ok: [managed_node1] => {} MSG: current_interfaces: ['bonding_masters', 'dummy1298', 'eth0', 'lo'] TASK [Include the task 'assert_device_present.yml'] **************************** task path: /tmp/collections-5En/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:20 Thursday 15 August 2024 09:05:17 -0400 (0:00:00.025) 0:00:21.555 ******* included: /tmp/collections-5En/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-5En/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_present.yml:3 Thursday 15 August 2024 09:05:17 -0400 (0:00:00.049) 0:00:21.605 ******* included: /tmp/collections-5En/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-5En/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_interface_stat.yml:3 Thursday 15 August 2024 09:05:17 -0400 (0:00:00.029) 0:00:21.634 ******* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1723727117.0314217, "block_size": 4096, "blocks": 0, "ctime": 1723727117.0314217, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 28609, "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": 1723727117.0314217, "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-5En/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_present.yml:5 Thursday 15 August 2024 09:05:18 -0400 (0:00:00.350) 0:00:21.984 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /tmp/collections-5En/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:23 Thursday 15 August 2024 09:05:18 -0400 (0:00:00.028) 0:00:22.012 ******* included: /tmp/collections-5En/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-5En/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:3 Thursday 15 August 2024 09:05:18 -0400 (0:00:00.062) 0:00:22.075 ******* 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-5En/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:8 Thursday 15 August 2024 09:05:18 -0400 (0:00:00.022) 0:00:22.098 ******* 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-5En/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:13 Thursday 15 August 2024 09:05:18 -0400 (0:00:00.021) 0:00:22.119 ******* included: /tmp/collections-5En/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-5En/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Thursday 15 August 2024 09:05:18 -0400 (0:00:00.033) 0:00:22.153 ******* included: /tmp/collections-5En/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-5En/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Thursday 15 August 2024 09:05:18 -0400 (0:00:00.030) 0:00:22.184 ******* ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003301", "end": "2024-08-15 09:05:18.535202", "rc": 0, "start": "2024-08-15 09:05:18.531901" } STDOUT: bonding_masters dummy1298 eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-5En/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Thursday 15 August 2024 09:05:18 -0400 (0:00:00.335) 0:00:22.519 ******* ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "dummy1298", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-5En/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Thursday 15 August 2024 09:05:18 -0400 (0:00:00.081) 0:00:22.601 ******* ok: [managed_node1] => {} MSG: current_interfaces: ['bonding_masters', 'dummy1298', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /tmp/collections-5En/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:16 Thursday 15 August 2024 09:05:18 -0400 (0:00:00.022) 0:00:22.624 ******* ok: [managed_node1] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface dummy1298] ***************************************** task path: /tmp/collections-5En/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:27 Thursday 15 August 2024 09:05:20 -0400 (0:00:01.309) 0:00:23.933 ******* 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-5En/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:35 Thursday 15 August 2024 09:05:20 -0400 (0:00:00.077) 0:00:24.011 ******* 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-5En/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:43 Thursday 15 August 2024 09:05:20 -0400 (0:00:00.037) 0:00:24.049 ******* 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-5En/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:49 Thursday 15 August 2024 09:05:20 -0400 (0:00:00.041) 0:00:24.090 ******* 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-5En/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:54 Thursday 15 August 2024 09:05:20 -0400 (0:00:00.047) 0:00:24.138 ******* ok: [managed_node1] => { "changed": false, "cmd": [ "ip", "link", "del", "dummy1298", "type", "dummy" ], "delta": "0:00:00.015517", "end": "2024-08-15 09:05:20.598956", "rc": 0, "start": "2024-08-15 09:05:20.583439" } TASK [Create tap interface dummy1298] ****************************************** task path: /tmp/collections-5En/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:60 Thursday 15 August 2024 09:05:20 -0400 (0:00:00.440) 0:00:24.579 ******* 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-5En/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:65 Thursday 15 August 2024 09:05:20 -0400 (0:00:00.015) 0:00:24.594 ******* 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-5En/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:27 Thursday 15 August 2024 09:05:20 -0400 (0:00:00.015) 0:00:24.610 ******* included: /tmp/collections-5En/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-5En/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Thursday 15 August 2024 09:05:20 -0400 (0:00:00.031) 0:00:24.641 ******* included: /tmp/collections-5En/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-5En/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Thursday 15 August 2024 09:05:20 -0400 (0:00:00.015) 0:00:24.657 ******* ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003325", "end": "2024-08-15 09:05:20.989842", "rc": 0, "start": "2024-08-15 09:05:20.986517" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-5En/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Thursday 15 August 2024 09:05:21 -0400 (0:00:00.314) 0:00:24.972 ******* ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-5En/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Thursday 15 August 2024 09:05:21 -0400 (0:00:00.037) 0:00:25.010 ******* ok: [managed_node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Include the task 'assert_device_absent.yml'] ***************************** task path: /tmp/collections-5En/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:29 Thursday 15 August 2024 09:05:21 -0400 (0:00:00.036) 0:00:25.047 ******* included: /tmp/collections-5En/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-5En/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_absent.yml:3 Thursday 15 August 2024 09:05:21 -0400 (0:00:00.065) 0:00:25.112 ******* included: /tmp/collections-5En/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-5En/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_interface_stat.yml:3 Thursday 15 August 2024 09:05:21 -0400 (0:00:00.034) 0:00:25.146 ******* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'dummy1298'] *********************** task path: /tmp/collections-5En/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_absent.yml:5 Thursday 15 August 2024 09:05:21 -0400 (0:00:00.377) 0:00:25.524 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed PLAY RECAP ********************************************************************* managed_node1 : ok=119 changed=0 unreachable=0 failed=0 skipped=55 rescued=0 ignored=0 Thursday 15 August 2024 09:05:21 -0400 (0:00:00.029) 0:00:25.553 ******* =============================================================================== Install iproute --------------------------------------------------------- 1.87s /tmp/collections-5En/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 1.57s /tmp/collections-5En/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 1.55s /tmp/collections-5En/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 1.46s /tmp/collections-5En/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 1.34s /tmp/collections-5En/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 1.31s /tmp/collections-5En/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:16 Gathering Facts --------------------------------------------------------- 1.12s /tmp/collections-5En/ansible_collections/fedora/linux_system_roles/tests/network/tests_helpers_and_asserts.yml:3 Create veth interface veth1298 ------------------------------------------ 1.06s /tmp/collections-5En/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:27 Gather current interface info ------------------------------------------- 0.66s /tmp/collections-5En/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Check if system is ostree ----------------------------------------------- 0.53s /tmp/collections-5En/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:17 Gather the minimum subset of ansible_facts required by the network role test --- 0.51s /tmp/collections-5En/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:3 Gather current interface info ------------------------------------------- 0.46s /tmp/collections-5En/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Delete dummy interface dummy1298 ---------------------------------------- 0.44s /tmp/collections-5En/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:54 Set up veth as managed by NetworkManager -------------------------------- 0.43s /tmp/collections-5En/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:35 Gather current interface info ------------------------------------------- 0.40s /tmp/collections-5En/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Get stat for interface dummy1298 ---------------------------------------- 0.38s /tmp/collections-5En/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_interface_stat.yml:3 Delete veth interface veth1298 ------------------------------------------ 0.38s /tmp/collections-5En/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:43 Create dummy interface dummy1298 ---------------------------------------- 0.37s /tmp/collections-5En/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:49 Get stat for interface veth1298 ----------------------------------------- 0.35s /tmp/collections-5En/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_interface_stat.yml:3 Get stat for interface dummy1298 ---------------------------------------- 0.35s /tmp/collections-5En/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_interface_stat.yml:3