[DEPRECATION WARNING]: ANSIBLE_COLLECTIONS_PATHS option, does not fit var naming standard, use the singular form ANSIBLE_COLLECTIONS_PATH instead. This feature will be removed from ansible-core in version 2.19. Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg. ansible-playbook [core 2.17.2] config file = None configured module search path = ['/root/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /usr/local/lib/python3.12/site-packages/ansible ansible collection location = /tmp/tmp.XAMXzlEOgr executable location = /usr/local/bin/ansible-playbook python version = 3.12.4 (main, Jun 7 2024, 00:00:00) [GCC 13.3.1 20240522 (Red Hat 13.3.1-1)] (/usr/bin/python3.12) jinja version = 3.1.4 libyaml = True No config file found; using defaults running playbook inside collection fedora.linux_system_roles redirecting (type: callback) ansible.builtin.debug to ansible.posix.debug redirecting (type: callback) ansible.builtin.debug to ansible.posix.debug redirecting (type: callback) ansible.builtin.profile_tasks to ansible.posix.profile_tasks Skipping callback 'default', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. PLAYBOOK: tests_helpers_and_asserts.yml **************************************** 1 plays in /tmp/tmp.XAMXzlEOgr/ansible_collections/fedora/linux_system_roles/tests/network/tests_helpers_and_asserts.yml PLAY [Check that creating and removing test devices and assertions work] ******* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmp.XAMXzlEOgr/ansible_collections/fedora/linux_system_roles/tests/network/tests_helpers_and_asserts.yml:3 Tuesday 30 July 2024 13:43:31 -0400 (0:00:00.035) 0:00:00.035 ********** [WARNING]: Platform linux on host managed_node1 is using the discovered Python interpreter at /usr/bin/python3.12, but future installation of another Python interpreter could change the meaning of that path. See https://docs.ansible.com/ansible- core/2.17/reference_appendices/interpreter_discovery.html for more information. ok: [managed_node1] TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /tmp/tmp.XAMXzlEOgr/ansible_collections/fedora/linux_system_roles/tests/network/tests_helpers_and_asserts.yml:6 Tuesday 30 July 2024 13:43:32 -0400 (0:00:01.330) 0:00:01.366 ********** included: /tmp/tmp.XAMXzlEOgr/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml for managed_node1 TASK [Gather the minimum subset of ansible_facts required by the network role test] *** task path: /tmp/tmp.XAMXzlEOgr/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:3 Tuesday 30 July 2024 13:43:32 -0400 (0:00:00.028) 0:00:01.394 ********** ok: [managed_node1] TASK [Check if system is ostree] *********************************************** task path: /tmp/tmp.XAMXzlEOgr/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:17 Tuesday 30 July 2024 13:43:33 -0400 (0:00:00.556) 0:00:01.951 ********** ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /tmp/tmp.XAMXzlEOgr/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:22 Tuesday 30 July 2024 13:43:33 -0400 (0:00:00.497) 0:00:02.449 ********** ok: [managed_node1] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /tmp/tmp.XAMXzlEOgr/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:26 Tuesday 30 July 2024 13:43:33 -0400 (0:00:00.027) 0:00:02.477 ********** skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_distribution == 'CentOS'", "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /tmp/tmp.XAMXzlEOgr/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:51 Tuesday 30 July 2024 13:43:33 -0400 (0:00:00.016) 0:00:02.494 ********** included: /tmp/tmp.XAMXzlEOgr/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml for managed_node1 TASK [Create EPEL 39] ********************************************************** task path: /tmp/tmp.XAMXzlEOgr/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:8 Tuesday 30 July 2024 13:43:33 -0400 (0:00:00.035) 0:00:02.529 ********** skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_distribution in ['RedHat', 'CentOS']", "skip_reason": "Conditional result was False" } TASK [Install yum-utils package] *********************************************** task path: /tmp/tmp.XAMXzlEOgr/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:24 Tuesday 30 July 2024 13:43:33 -0400 (0:00:00.015) 0:00:02.545 ********** skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_distribution in ['RedHat', 'CentOS']", "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /tmp/tmp.XAMXzlEOgr/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:30 Tuesday 30 July 2024 13:43:33 -0400 (0:00:00.014) 0:00:02.559 ********** skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_distribution in ['RedHat', 'CentOS']", "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /tmp/tmp.XAMXzlEOgr/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:35 Tuesday 30 July 2024 13:43:33 -0400 (0:00:00.016) 0:00:02.575 ********** skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_distribution in ['RedHat', 'CentOS']", "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /tmp/tmp.XAMXzlEOgr/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:40 Tuesday 30 July 2024 13:43:33 -0400 (0:00:00.015) 0:00:02.591 ********** skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_distribution in ['RedHat', 'CentOS']", "skip_reason": "Conditional result was False" } TASK [Test veth interface management] ****************************************** task path: /tmp/tmp.XAMXzlEOgr/ansible_collections/fedora/linux_system_roles/tests/network/tests_helpers_and_asserts.yml:9 Tuesday 30 July 2024 13:43:33 -0400 (0:00:00.016) 0:00:02.607 ********** included: /tmp/tmp.XAMXzlEOgr/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml for managed_node1 TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/tmp.XAMXzlEOgr/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:3 Tuesday 30 July 2024 13:43:33 -0400 (0:00:00.026) 0:00:02.633 ********** included: /tmp/tmp.XAMXzlEOgr/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml for managed_node1 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/tmp.XAMXzlEOgr/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Tuesday 30 July 2024 13:43:33 -0400 (0:00:00.022) 0:00:02.655 ********** included: /tmp/tmp.XAMXzlEOgr/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml for managed_node1 TASK [Gather current interface info] ******************************************* task path: /tmp/tmp.XAMXzlEOgr/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Tuesday 30 July 2024 13:43:33 -0400 (0:00:00.020) 0:00:02.676 ********** ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003435", "end": "2024-07-30 13:43:34.270624", "rc": 0, "start": "2024-07-30 13:43:34.267189" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/tmp.XAMXzlEOgr/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Tuesday 30 July 2024 13:43:34 -0400 (0:00:00.500) 0:00:03.176 ********** ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/tmp.XAMXzlEOgr/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Tuesday 30 July 2024 13:43:34 -0400 (0:00:00.020) 0:00:03.197 ********** ok: [managed_node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /tmp/tmp.XAMXzlEOgr/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:5 Tuesday 30 July 2024 13:43:34 -0400 (0:00:00.019) 0:00:03.216 ********** included: /tmp/tmp.XAMXzlEOgr/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml for managed_node1 TASK [Ensure state in ["present", "absent"]] *********************************** task path: /tmp/tmp.XAMXzlEOgr/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:3 Tuesday 30 July 2024 13:43:34 -0400 (0:00:00.033) 0:00:03.250 ********** skipping: [managed_node1] => { "changed": false, "false_condition": "state not in [\"present\", \"absent\"]", "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /tmp/tmp.XAMXzlEOgr/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:8 Tuesday 30 July 2024 13:43:34 -0400 (0:00:00.020) 0:00:03.271 ********** skipping: [managed_node1] => { "changed": false, "false_condition": "type not in [\"dummy\", \"tap\", \"veth\"]", "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/tmp.XAMXzlEOgr/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:13 Tuesday 30 July 2024 13:43:34 -0400 (0:00:00.015) 0:00:03.286 ********** included: /tmp/tmp.XAMXzlEOgr/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml for managed_node1 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/tmp.XAMXzlEOgr/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Tuesday 30 July 2024 13:43:34 -0400 (0:00:00.024) 0:00:03.310 ********** included: /tmp/tmp.XAMXzlEOgr/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml for managed_node1 TASK [Gather current interface info] ******************************************* task path: /tmp/tmp.XAMXzlEOgr/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Tuesday 30 July 2024 13:43:34 -0400 (0:00:00.021) 0:00:03.332 ********** ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003399", "end": "2024-07-30 13:43:34.805106", "rc": 0, "start": "2024-07-30 13:43:34.801707" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/tmp.XAMXzlEOgr/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Tuesday 30 July 2024 13:43:34 -0400 (0:00:00.378) 0:00:03.710 ********** ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/tmp.XAMXzlEOgr/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Tuesday 30 July 2024 13:43:34 -0400 (0:00:00.020) 0:00:03.731 ********** ok: [managed_node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /tmp/tmp.XAMXzlEOgr/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:16 Tuesday 30 July 2024 13:43:34 -0400 (0:00:00.019) 0:00:03.750 ********** ok: [managed_node1] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth1298] ****************************************** task path: /tmp/tmp.XAMXzlEOgr/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:27 Tuesday 30 July 2024 13:43:36 -0400 (0:00:01.963) 0:00:05.714 ********** skipping: [managed_node1] => (item=ip link add veth1298 type veth peer name peerveth1298) => { "ansible_loop_var": "item", "changed": false, "false_condition": "type == 'veth' and state == 'present' and interface not in current_interfaces", "item": "ip link add veth1298 type veth peer name peerveth1298", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=ip link set peerveth1298 up) => { "ansible_loop_var": "item", "changed": false, "false_condition": "type == 'veth' and state == 'present' and interface not in current_interfaces", "item": "ip link set peerveth1298 up", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=ip link set veth1298 up) => { "ansible_loop_var": "item", "changed": false, "false_condition": "type == 'veth' and state == 'present' and interface not in current_interfaces", "item": "ip link set veth1298 up", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => { "changed": false } MSG: All items skipped TASK [Set up veth as managed by NetworkManager] ******************************** task path: /tmp/tmp.XAMXzlEOgr/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:35 Tuesday 30 July 2024 13:43:36 -0400 (0:00:00.030) 0:00:05.744 ********** skipping: [managed_node1] => { "changed": false, "false_condition": "type == 'veth' and state == 'present'", "skip_reason": "Conditional result was False" } TASK [Delete veth interface veth1298] ****************************************** task path: /tmp/tmp.XAMXzlEOgr/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:43 Tuesday 30 July 2024 13:43:36 -0400 (0:00:00.016) 0:00:05.761 ********** skipping: [managed_node1] => { "changed": false, "false_condition": "type == 'veth' and state == 'absent' and interface in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Create dummy interface veth1298] ***************************************** task path: /tmp/tmp.XAMXzlEOgr/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:49 Tuesday 30 July 2024 13:43:36 -0400 (0:00:00.017) 0:00:05.778 ********** skipping: [managed_node1] => { "changed": false, "false_condition": "type == 'dummy' and state == 'present' and interface not in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth1298] ***************************************** task path: /tmp/tmp.XAMXzlEOgr/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:54 Tuesday 30 July 2024 13:43:36 -0400 (0:00:00.016) 0:00:05.795 ********** skipping: [managed_node1] => { "changed": false, "false_condition": "type == 'dummy' and state == 'absent' and interface in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Create tap interface veth1298] ******************************************* task path: /tmp/tmp.XAMXzlEOgr/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:60 Tuesday 30 July 2024 13:43:36 -0400 (0:00:00.016) 0:00:05.812 ********** skipping: [managed_node1] => { "changed": false, "false_condition": "type == 'tap' and state == 'present' and interface not in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth1298] ******************************************* task path: /tmp/tmp.XAMXzlEOgr/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:65 Tuesday 30 July 2024 13:43:36 -0400 (0:00:00.016) 0:00:05.829 ********** skipping: [managed_node1] => { "changed": false, "false_condition": "type == 'tap' and state == 'absent' and interface in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/tmp.XAMXzlEOgr/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:9 Tuesday 30 July 2024 13:43:36 -0400 (0:00:00.015) 0:00:05.845 ********** included: /tmp/tmp.XAMXzlEOgr/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml for managed_node1 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/tmp.XAMXzlEOgr/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Tuesday 30 July 2024 13:43:37 -0400 (0:00:00.030) 0:00:05.875 ********** included: /tmp/tmp.XAMXzlEOgr/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml for managed_node1 TASK [Gather current interface info] ******************************************* task path: /tmp/tmp.XAMXzlEOgr/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Tuesday 30 July 2024 13:43:37 -0400 (0:00:00.021) 0:00:05.897 ********** ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003509", "end": "2024-07-30 13:43:37.370553", "rc": 0, "start": "2024-07-30 13:43:37.367044" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/tmp.XAMXzlEOgr/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Tuesday 30 July 2024 13:43:37 -0400 (0:00:00.383) 0:00:06.280 ********** ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/tmp.XAMXzlEOgr/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Tuesday 30 July 2024 13:43:37 -0400 (0:00:00.020) 0:00:06.300 ********** ok: [managed_node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Include the task 'assert_device_absent.yml'] ***************************** task path: /tmp/tmp.XAMXzlEOgr/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:11 Tuesday 30 July 2024 13:43:37 -0400 (0:00:00.018) 0:00:06.319 ********** included: /tmp/tmp.XAMXzlEOgr/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_absent.yml for managed_node1 TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/tmp.XAMXzlEOgr/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_absent.yml:3 Tuesday 30 July 2024 13:43:37 -0400 (0:00:00.030) 0:00:06.350 ********** included: /tmp/tmp.XAMXzlEOgr/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_interface_stat.yml for managed_node1 TASK [Get stat for interface veth1298] ***************************************** task path: /tmp/tmp.XAMXzlEOgr/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_interface_stat.yml:3 Tuesday 30 July 2024 13:43:37 -0400 (0:00:00.021) 0:00:06.371 ********** ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'veth1298'] ************************ task path: /tmp/tmp.XAMXzlEOgr/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_absent.yml:5 Tuesday 30 July 2024 13:43:37 -0400 (0:00:00.387) 0:00:06.758 ********** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /tmp/tmp.XAMXzlEOgr/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:14 Tuesday 30 July 2024 13:43:37 -0400 (0:00:00.020) 0:00:06.779 ********** included: /tmp/tmp.XAMXzlEOgr/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml for managed_node1 TASK [Ensure state in ["present", "absent"]] *********************************** task path: /tmp/tmp.XAMXzlEOgr/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:3 Tuesday 30 July 2024 13:43:37 -0400 (0:00:00.039) 0:00:06.818 ********** skipping: [managed_node1] => { "changed": false, "false_condition": "state not in [\"present\", \"absent\"]", "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /tmp/tmp.XAMXzlEOgr/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:8 Tuesday 30 July 2024 13:43:37 -0400 (0:00:00.016) 0:00:06.835 ********** skipping: [managed_node1] => { "changed": false, "false_condition": "type not in [\"dummy\", \"tap\", \"veth\"]", "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/tmp.XAMXzlEOgr/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:13 Tuesday 30 July 2024 13:43:37 -0400 (0:00:00.015) 0:00:06.850 ********** included: /tmp/tmp.XAMXzlEOgr/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml for managed_node1 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/tmp.XAMXzlEOgr/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Tuesday 30 July 2024 13:43:38 -0400 (0:00:00.026) 0:00:06.876 ********** included: /tmp/tmp.XAMXzlEOgr/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml for managed_node1 TASK [Gather current interface info] ******************************************* task path: /tmp/tmp.XAMXzlEOgr/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Tuesday 30 July 2024 13:43:38 -0400 (0:00:00.021) 0:00:06.898 ********** ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003553", "end": "2024-07-30 13:43:38.371889", "rc": 0, "start": "2024-07-30 13:43:38.368336" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/tmp.XAMXzlEOgr/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Tuesday 30 July 2024 13:43:38 -0400 (0:00:00.383) 0:00:07.282 ********** ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/tmp.XAMXzlEOgr/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Tuesday 30 July 2024 13:43:38 -0400 (0:00:00.022) 0:00:07.304 ********** ok: [managed_node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /tmp/tmp.XAMXzlEOgr/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:16 Tuesday 30 July 2024 13:43:38 -0400 (0:00:00.021) 0:00:07.325 ********** ok: [managed_node1] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth1298] ****************************************** task path: /tmp/tmp.XAMXzlEOgr/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:27 Tuesday 30 July 2024 13:43:40 -0400 (0:00:01.800) 0:00:09.126 ********** 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.008249", "end": "2024-07-30 13:43:40.607057", "item": "ip link add veth1298 type veth peer name peerveth1298", "rc": 0, "start": "2024-07-30 13:43:40.598808" } 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.003778", "end": "2024-07-30 13:43:41.006753", "item": "ip link set peerveth1298 up", "rc": 0, "start": "2024-07-30 13:43:41.002975" } 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.003668", "end": "2024-07-30 13:43:41.372178", "item": "ip link set veth1298 up", "rc": 0, "start": "2024-07-30 13:43:41.368510" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /tmp/tmp.XAMXzlEOgr/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:35 Tuesday 30 July 2024 13:43:41 -0400 (0:00:01.156) 0:00:10.282 ********** ok: [managed_node1] => { "changed": false, "cmd": [ "nmcli", "d", "set", "veth1298", "managed", "true" ], "delta": "0:00:00.020230", "end": "2024-07-30 13:43:41.780676", "rc": 0, "start": "2024-07-30 13:43:41.760446" } TASK [Delete veth interface veth1298] ****************************************** task path: /tmp/tmp.XAMXzlEOgr/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:43 Tuesday 30 July 2024 13:43:41 -0400 (0:00:00.407) 0:00:10.690 ********** skipping: [managed_node1] => { "changed": false, "false_condition": "type == 'veth' and state == 'absent' and interface in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Create dummy interface veth1298] ***************************************** task path: /tmp/tmp.XAMXzlEOgr/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:49 Tuesday 30 July 2024 13:43:41 -0400 (0:00:00.018) 0:00:10.709 ********** skipping: [managed_node1] => { "changed": false, "false_condition": "type == 'dummy' and state == 'present' and interface not in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth1298] ***************************************** task path: /tmp/tmp.XAMXzlEOgr/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:54 Tuesday 30 July 2024 13:43:41 -0400 (0:00:00.016) 0:00:10.725 ********** skipping: [managed_node1] => { "changed": false, "false_condition": "type == 'dummy' and state == 'absent' and interface in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Create tap interface veth1298] ******************************************* task path: /tmp/tmp.XAMXzlEOgr/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:60 Tuesday 30 July 2024 13:43:41 -0400 (0:00:00.017) 0:00:10.742 ********** skipping: [managed_node1] => { "changed": false, "false_condition": "type == 'tap' and state == 'present' and interface not in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth1298] ******************************************* task path: /tmp/tmp.XAMXzlEOgr/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:65 Tuesday 30 July 2024 13:43:41 -0400 (0:00:00.016) 0:00:10.759 ********** skipping: [managed_node1] => { "changed": false, "false_condition": "type == 'tap' and state == 'absent' and interface in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/tmp.XAMXzlEOgr/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:18 Tuesday 30 July 2024 13:43:41 -0400 (0:00:00.015) 0:00:10.775 ********** included: /tmp/tmp.XAMXzlEOgr/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml for managed_node1 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/tmp.XAMXzlEOgr/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Tuesday 30 July 2024 13:43:41 -0400 (0:00:00.036) 0:00:10.811 ********** included: /tmp/tmp.XAMXzlEOgr/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml for managed_node1 TASK [Gather current interface info] ******************************************* task path: /tmp/tmp.XAMXzlEOgr/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Tuesday 30 July 2024 13:43:41 -0400 (0:00:00.020) 0:00:10.832 ********** ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003345", "end": "2024-07-30 13:43:42.318655", "rc": 0, "start": "2024-07-30 13:43:42.315310" } STDOUT: bonding_masters eth0 lo peerveth1298 veth1298 TASK [Set current_interfaces] ************************************************** task path: /tmp/tmp.XAMXzlEOgr/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Tuesday 30 July 2024 13:43:42 -0400 (0:00:00.395) 0:00:11.228 ********** ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "peerveth1298", "veth1298" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/tmp.XAMXzlEOgr/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Tuesday 30 July 2024 13:43:42 -0400 (0:00:00.020) 0:00:11.249 ********** ok: [managed_node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'peerveth1298', 'veth1298'] TASK [Include the task 'assert_device_present.yml'] **************************** task path: /tmp/tmp.XAMXzlEOgr/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:20 Tuesday 30 July 2024 13:43:42 -0400 (0:00:00.019) 0:00:11.268 ********** included: /tmp/tmp.XAMXzlEOgr/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_present.yml for managed_node1 TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/tmp.XAMXzlEOgr/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_present.yml:3 Tuesday 30 July 2024 13:43:42 -0400 (0:00:00.038) 0:00:11.307 ********** included: /tmp/tmp.XAMXzlEOgr/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_interface_stat.yml for managed_node1 TASK [Get stat for interface veth1298] ***************************************** task path: /tmp/tmp.XAMXzlEOgr/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_interface_stat.yml:3 Tuesday 30 July 2024 13:43:42 -0400 (0:00:00.021) 0:00:11.328 ********** ok: [managed_node1] => { "changed": false, "stat": { "atime": 1722361420.602523, "block_size": 4096, "blocks": 0, "ctime": 1722361420.602523, "dev": 23, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 41215, "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": 1722361420.602523, "nlink": 1, "path": "/sys/class/net/veth1298", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 0, "uid": 0, "wgrp": true, "woth": true, "writeable": true, "wusr": true, "xgrp": true, "xoth": true, "xusr": true } } TASK [Assert that the interface is present - 'veth1298'] *********************** task path: /tmp/tmp.XAMXzlEOgr/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_present.yml:5 Tuesday 30 July 2024 13:43:42 -0400 (0:00:00.381) 0:00:11.710 ********** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /tmp/tmp.XAMXzlEOgr/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:23 Tuesday 30 July 2024 13:43:42 -0400 (0:00:00.021) 0:00:11.731 ********** included: /tmp/tmp.XAMXzlEOgr/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml for managed_node1 TASK [Ensure state in ["present", "absent"]] *********************************** task path: /tmp/tmp.XAMXzlEOgr/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:3 Tuesday 30 July 2024 13:43:42 -0400 (0:00:00.047) 0:00:11.778 ********** skipping: [managed_node1] => { "changed": false, "false_condition": "state not in [\"present\", \"absent\"]", "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /tmp/tmp.XAMXzlEOgr/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:8 Tuesday 30 July 2024 13:43:42 -0400 (0:00:00.015) 0:00:11.794 ********** skipping: [managed_node1] => { "changed": false, "false_condition": "type not in [\"dummy\", \"tap\", \"veth\"]", "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/tmp.XAMXzlEOgr/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:13 Tuesday 30 July 2024 13:43:42 -0400 (0:00:00.015) 0:00:11.810 ********** included: /tmp/tmp.XAMXzlEOgr/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml for managed_node1 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/tmp.XAMXzlEOgr/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Tuesday 30 July 2024 13:43:42 -0400 (0:00:00.024) 0:00:11.834 ********** included: /tmp/tmp.XAMXzlEOgr/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml for managed_node1 TASK [Gather current interface info] ******************************************* task path: /tmp/tmp.XAMXzlEOgr/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Tuesday 30 July 2024 13:43:43 -0400 (0:00:00.023) 0:00:11.857 ********** ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003314", "end": "2024-07-30 13:43:43.329876", "rc": 0, "start": "2024-07-30 13:43:43.326562" } STDOUT: bonding_masters eth0 lo peerveth1298 veth1298 TASK [Set current_interfaces] ************************************************** task path: /tmp/tmp.XAMXzlEOgr/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Tuesday 30 July 2024 13:43:43 -0400 (0:00:00.381) 0:00:12.239 ********** ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "peerveth1298", "veth1298" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/tmp.XAMXzlEOgr/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Tuesday 30 July 2024 13:43:43 -0400 (0:00:00.021) 0:00:12.260 ********** ok: [managed_node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'peerveth1298', 'veth1298'] TASK [Install iproute] ********************************************************* task path: /tmp/tmp.XAMXzlEOgr/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:16 Tuesday 30 July 2024 13:43:43 -0400 (0:00:00.019) 0:00:12.280 ********** ok: [managed_node1] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth1298] ****************************************** task path: /tmp/tmp.XAMXzlEOgr/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:27 Tuesday 30 July 2024 13:43:45 -0400 (0:00:01.807) 0:00:14.088 ********** skipping: [managed_node1] => (item=ip link add veth1298 type veth peer name peerveth1298) => { "ansible_loop_var": "item", "changed": false, "false_condition": "type == 'veth' and state == 'present' and interface not in current_interfaces", "item": "ip link add veth1298 type veth peer name peerveth1298", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=ip link set peerveth1298 up) => { "ansible_loop_var": "item", "changed": false, "false_condition": "type == 'veth' and state == 'present' and interface not in current_interfaces", "item": "ip link set peerveth1298 up", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=ip link set veth1298 up) => { "ansible_loop_var": "item", "changed": false, "false_condition": "type == 'veth' and state == 'present' and interface not in current_interfaces", "item": "ip link set veth1298 up", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => { "changed": false } MSG: All items skipped TASK [Set up veth as managed by NetworkManager] ******************************** task path: /tmp/tmp.XAMXzlEOgr/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:35 Tuesday 30 July 2024 13:43:45 -0400 (0:00:00.030) 0:00:14.118 ********** skipping: [managed_node1] => { "changed": false, "false_condition": "type == 'veth' and state == 'present'", "skip_reason": "Conditional result was False" } TASK [Delete veth interface veth1298] ****************************************** task path: /tmp/tmp.XAMXzlEOgr/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:43 Tuesday 30 July 2024 13:43:45 -0400 (0:00:00.018) 0:00:14.137 ********** ok: [managed_node1] => { "changed": false, "cmd": [ "ip", "link", "del", "veth1298", "type", "veth" ], "delta": "0:00:00.017652", "end": "2024-07-30 13:43:45.627944", "rc": 0, "start": "2024-07-30 13:43:45.610292" } TASK [Create dummy interface veth1298] ***************************************** task path: /tmp/tmp.XAMXzlEOgr/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:49 Tuesday 30 July 2024 13:43:45 -0400 (0:00:00.401) 0:00:14.539 ********** skipping: [managed_node1] => { "changed": false, "false_condition": "type == 'dummy' and state == 'present' and interface not in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth1298] ***************************************** task path: /tmp/tmp.XAMXzlEOgr/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:54 Tuesday 30 July 2024 13:43:45 -0400 (0:00:00.017) 0:00:14.557 ********** skipping: [managed_node1] => { "changed": false, "false_condition": "type == 'dummy' and state == 'absent' and interface in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Create tap interface veth1298] ******************************************* task path: /tmp/tmp.XAMXzlEOgr/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:60 Tuesday 30 July 2024 13:43:45 -0400 (0:00:00.017) 0:00:14.574 ********** skipping: [managed_node1] => { "changed": false, "false_condition": "type == 'tap' and state == 'present' and interface not in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth1298] ******************************************* task path: /tmp/tmp.XAMXzlEOgr/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:65 Tuesday 30 July 2024 13:43:45 -0400 (0:00:00.017) 0:00:14.592 ********** skipping: [managed_node1] => { "changed": false, "false_condition": "type == 'tap' and state == 'absent' and interface in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/tmp.XAMXzlEOgr/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:27 Tuesday 30 July 2024 13:43:45 -0400 (0:00:00.016) 0:00:14.609 ********** included: /tmp/tmp.XAMXzlEOgr/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml for managed_node1 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/tmp.XAMXzlEOgr/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Tuesday 30 July 2024 13:43:45 -0400 (0:00:00.044) 0:00:14.653 ********** included: /tmp/tmp.XAMXzlEOgr/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml for managed_node1 TASK [Gather current interface info] ******************************************* task path: /tmp/tmp.XAMXzlEOgr/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Tuesday 30 July 2024 13:43:45 -0400 (0:00:00.021) 0:00:14.675 ********** ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003528", "end": "2024-07-30 13:43:46.148716", "rc": 0, "start": "2024-07-30 13:43:46.145188" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/tmp.XAMXzlEOgr/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Tuesday 30 July 2024 13:43:46 -0400 (0:00:00.380) 0:00:15.056 ********** ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/tmp.XAMXzlEOgr/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Tuesday 30 July 2024 13:43:46 -0400 (0:00:00.022) 0:00:15.078 ********** ok: [managed_node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Include the task 'assert_device_absent.yml'] ***************************** task path: /tmp/tmp.XAMXzlEOgr/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:29 Tuesday 30 July 2024 13:43:46 -0400 (0:00:00.020) 0:00:15.099 ********** included: /tmp/tmp.XAMXzlEOgr/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_absent.yml for managed_node1 TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/tmp.XAMXzlEOgr/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_absent.yml:3 Tuesday 30 July 2024 13:43:46 -0400 (0:00:00.047) 0:00:15.146 ********** included: /tmp/tmp.XAMXzlEOgr/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_interface_stat.yml for managed_node1 TASK [Get stat for interface veth1298] ***************************************** task path: /tmp/tmp.XAMXzlEOgr/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_interface_stat.yml:3 Tuesday 30 July 2024 13:43:46 -0400 (0:00:00.023) 0:00:15.170 ********** ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'veth1298'] ************************ task path: /tmp/tmp.XAMXzlEOgr/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_absent.yml:5 Tuesday 30 July 2024 13:43:46 -0400 (0:00:00.389) 0:00:15.559 ********** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Test veth interface management] ****************************************** task path: /tmp/tmp.XAMXzlEOgr/ansible_collections/fedora/linux_system_roles/tests/network/tests_helpers_and_asserts.yml:15 Tuesday 30 July 2024 13:43:46 -0400 (0:00:00.022) 0:00:15.581 ********** included: /tmp/tmp.XAMXzlEOgr/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml for managed_node1 TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/tmp.XAMXzlEOgr/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:3 Tuesday 30 July 2024 13:43:46 -0400 (0:00:00.030) 0:00:15.611 ********** included: /tmp/tmp.XAMXzlEOgr/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml for managed_node1 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/tmp.XAMXzlEOgr/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Tuesday 30 July 2024 13:43:46 -0400 (0:00:00.022) 0:00:15.634 ********** included: /tmp/tmp.XAMXzlEOgr/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml for managed_node1 TASK [Gather current interface info] ******************************************* task path: /tmp/tmp.XAMXzlEOgr/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Tuesday 30 July 2024 13:43:46 -0400 (0:00:00.021) 0:00:15.655 ********** ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003464", "end": "2024-07-30 13:43:47.134999", "rc": 0, "start": "2024-07-30 13:43:47.131535" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/tmp.XAMXzlEOgr/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Tuesday 30 July 2024 13:43:47 -0400 (0:00:00.390) 0:00:16.045 ********** ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/tmp.XAMXzlEOgr/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Tuesday 30 July 2024 13:43:47 -0400 (0:00:00.023) 0:00:16.068 ********** ok: [managed_node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /tmp/tmp.XAMXzlEOgr/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:5 Tuesday 30 July 2024 13:43:47 -0400 (0:00:00.019) 0:00:16.088 ********** included: /tmp/tmp.XAMXzlEOgr/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml for managed_node1 TASK [Ensure state in ["present", "absent"]] *********************************** task path: /tmp/tmp.XAMXzlEOgr/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:3 Tuesday 30 July 2024 13:43:47 -0400 (0:00:00.032) 0:00:16.120 ********** skipping: [managed_node1] => { "changed": false, "false_condition": "state not in [\"present\", \"absent\"]", "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /tmp/tmp.XAMXzlEOgr/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:8 Tuesday 30 July 2024 13:43:47 -0400 (0:00:00.016) 0:00:16.137 ********** skipping: [managed_node1] => { "changed": false, "false_condition": "type not in [\"dummy\", \"tap\", \"veth\"]", "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/tmp.XAMXzlEOgr/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:13 Tuesday 30 July 2024 13:43:47 -0400 (0:00:00.016) 0:00:16.154 ********** included: /tmp/tmp.XAMXzlEOgr/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml for managed_node1 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/tmp.XAMXzlEOgr/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Tuesday 30 July 2024 13:43:47 -0400 (0:00:00.025) 0:00:16.180 ********** included: /tmp/tmp.XAMXzlEOgr/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml for managed_node1 TASK [Gather current interface info] ******************************************* task path: /tmp/tmp.XAMXzlEOgr/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Tuesday 30 July 2024 13:43:47 -0400 (0:00:00.022) 0:00:16.202 ********** ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003456", "end": "2024-07-30 13:43:47.677515", "rc": 0, "start": "2024-07-30 13:43:47.674059" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/tmp.XAMXzlEOgr/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Tuesday 30 July 2024 13:43:47 -0400 (0:00:00.386) 0:00:16.588 ********** ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/tmp.XAMXzlEOgr/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Tuesday 30 July 2024 13:43:47 -0400 (0:00:00.023) 0:00:16.611 ********** ok: [managed_node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /tmp/tmp.XAMXzlEOgr/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:16 Tuesday 30 July 2024 13:43:47 -0400 (0:00:00.022) 0:00:16.634 ********** ok: [managed_node1] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface dummy1298] ***************************************** task path: /tmp/tmp.XAMXzlEOgr/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:27 Tuesday 30 July 2024 13:43:49 -0400 (0:00:01.809) 0:00:18.443 ********** skipping: [managed_node1] => (item=ip link add dummy1298 type veth peer name peerdummy1298) => { "ansible_loop_var": "item", "changed": false, "false_condition": "type == 'veth' and state == 'present' and interface not in current_interfaces", "item": "ip link add dummy1298 type veth peer name peerdummy1298", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=ip link set peerdummy1298 up) => { "ansible_loop_var": "item", "changed": false, "false_condition": "type == 'veth' and state == 'present' and interface not in current_interfaces", "item": "ip link set peerdummy1298 up", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=ip link set dummy1298 up) => { "ansible_loop_var": "item", "changed": false, "false_condition": "type == 'veth' and state == 'present' and interface not in current_interfaces", "item": "ip link set dummy1298 up", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => { "changed": false } MSG: All items skipped TASK [Set up veth as managed by NetworkManager] ******************************** task path: /tmp/tmp.XAMXzlEOgr/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:35 Tuesday 30 July 2024 13:43:49 -0400 (0:00:00.031) 0:00:18.474 ********** skipping: [managed_node1] => { "changed": false, "false_condition": "type == 'veth' and state == 'present'", "skip_reason": "Conditional result was False" } TASK [Delete veth interface dummy1298] ***************************************** task path: /tmp/tmp.XAMXzlEOgr/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:43 Tuesday 30 July 2024 13:43:49 -0400 (0:00:00.017) 0:00:18.492 ********** skipping: [managed_node1] => { "changed": false, "false_condition": "type == 'veth' and state == 'absent' and interface in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Create dummy interface dummy1298] **************************************** task path: /tmp/tmp.XAMXzlEOgr/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:49 Tuesday 30 July 2024 13:43:49 -0400 (0:00:00.016) 0:00:18.509 ********** skipping: [managed_node1] => { "changed": false, "false_condition": "type == 'dummy' and state == 'present' and interface not in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Delete dummy interface dummy1298] **************************************** task path: /tmp/tmp.XAMXzlEOgr/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:54 Tuesday 30 July 2024 13:43:49 -0400 (0:00:00.017) 0:00:18.527 ********** skipping: [managed_node1] => { "changed": false, "false_condition": "type == 'dummy' and state == 'absent' and interface in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Create tap interface dummy1298] ****************************************** task path: /tmp/tmp.XAMXzlEOgr/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:60 Tuesday 30 July 2024 13:43:49 -0400 (0:00:00.016) 0:00:18.544 ********** skipping: [managed_node1] => { "changed": false, "false_condition": "type == 'tap' and state == 'present' and interface not in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Delete tap interface dummy1298] ****************************************** task path: /tmp/tmp.XAMXzlEOgr/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:65 Tuesday 30 July 2024 13:43:49 -0400 (0:00:00.022) 0:00:18.566 ********** skipping: [managed_node1] => { "changed": false, "false_condition": "type == 'tap' and state == 'absent' and interface in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/tmp.XAMXzlEOgr/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:9 Tuesday 30 July 2024 13:43:49 -0400 (0:00:00.016) 0:00:18.583 ********** included: /tmp/tmp.XAMXzlEOgr/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml for managed_node1 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/tmp.XAMXzlEOgr/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Tuesday 30 July 2024 13:43:49 -0400 (0:00:00.030) 0:00:18.613 ********** included: /tmp/tmp.XAMXzlEOgr/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml for managed_node1 TASK [Gather current interface info] ******************************************* task path: /tmp/tmp.XAMXzlEOgr/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Tuesday 30 July 2024 13:43:49 -0400 (0:00:00.021) 0:00:18.635 ********** ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003457", "end": "2024-07-30 13:43:50.110836", "rc": 0, "start": "2024-07-30 13:43:50.107379" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/tmp.XAMXzlEOgr/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Tuesday 30 July 2024 13:43:50 -0400 (0:00:00.383) 0:00:19.018 ********** ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/tmp.XAMXzlEOgr/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Tuesday 30 July 2024 13:43:50 -0400 (0:00:00.021) 0:00:19.040 ********** ok: [managed_node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Include the task 'assert_device_absent.yml'] ***************************** task path: /tmp/tmp.XAMXzlEOgr/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:11 Tuesday 30 July 2024 13:43:50 -0400 (0:00:00.020) 0:00:19.061 ********** included: /tmp/tmp.XAMXzlEOgr/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_absent.yml for managed_node1 TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/tmp.XAMXzlEOgr/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_absent.yml:3 Tuesday 30 July 2024 13:43:50 -0400 (0:00:00.031) 0:00:19.093 ********** included: /tmp/tmp.XAMXzlEOgr/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_interface_stat.yml for managed_node1 TASK [Get stat for interface dummy1298] **************************************** task path: /tmp/tmp.XAMXzlEOgr/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_interface_stat.yml:3 Tuesday 30 July 2024 13:43:50 -0400 (0:00:00.023) 0:00:19.116 ********** ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'dummy1298'] *********************** task path: /tmp/tmp.XAMXzlEOgr/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_absent.yml:5 Tuesday 30 July 2024 13:43:50 -0400 (0:00:00.383) 0:00:19.499 ********** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /tmp/tmp.XAMXzlEOgr/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:14 Tuesday 30 July 2024 13:43:50 -0400 (0:00:00.021) 0:00:19.521 ********** included: /tmp/tmp.XAMXzlEOgr/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml for managed_node1 TASK [Ensure state in ["present", "absent"]] *********************************** task path: /tmp/tmp.XAMXzlEOgr/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:3 Tuesday 30 July 2024 13:43:50 -0400 (0:00:00.040) 0:00:19.561 ********** skipping: [managed_node1] => { "changed": false, "false_condition": "state not in [\"present\", \"absent\"]", "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /tmp/tmp.XAMXzlEOgr/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:8 Tuesday 30 July 2024 13:43:50 -0400 (0:00:00.022) 0:00:19.583 ********** skipping: [managed_node1] => { "changed": false, "false_condition": "type not in [\"dummy\", \"tap\", \"veth\"]", "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/tmp.XAMXzlEOgr/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:13 Tuesday 30 July 2024 13:43:50 -0400 (0:00:00.017) 0:00:19.600 ********** included: /tmp/tmp.XAMXzlEOgr/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml for managed_node1 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/tmp.XAMXzlEOgr/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Tuesday 30 July 2024 13:43:50 -0400 (0:00:00.026) 0:00:19.627 ********** included: /tmp/tmp.XAMXzlEOgr/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml for managed_node1 TASK [Gather current interface info] ******************************************* task path: /tmp/tmp.XAMXzlEOgr/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Tuesday 30 July 2024 13:43:50 -0400 (0:00:00.023) 0:00:19.650 ********** ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003413", "end": "2024-07-30 13:43:51.121450", "rc": 0, "start": "2024-07-30 13:43:51.118037" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/tmp.XAMXzlEOgr/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Tuesday 30 July 2024 13:43:51 -0400 (0:00:00.379) 0:00:20.029 ********** ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/tmp.XAMXzlEOgr/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Tuesday 30 July 2024 13:43:51 -0400 (0:00:00.022) 0:00:20.052 ********** ok: [managed_node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /tmp/tmp.XAMXzlEOgr/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:16 Tuesday 30 July 2024 13:43:51 -0400 (0:00:00.020) 0:00:20.072 ********** ok: [managed_node1] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface dummy1298] ***************************************** task path: /tmp/tmp.XAMXzlEOgr/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:27 Tuesday 30 July 2024 13:43:53 -0400 (0:00:01.819) 0:00:21.891 ********** skipping: [managed_node1] => (item=ip link add dummy1298 type veth peer name peerdummy1298) => { "ansible_loop_var": "item", "changed": false, "false_condition": "type == 'veth' and state == 'present' and interface not in current_interfaces", "item": "ip link add dummy1298 type veth peer name peerdummy1298", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=ip link set peerdummy1298 up) => { "ansible_loop_var": "item", "changed": false, "false_condition": "type == 'veth' and state == 'present' and interface not in current_interfaces", "item": "ip link set peerdummy1298 up", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=ip link set dummy1298 up) => { "ansible_loop_var": "item", "changed": false, "false_condition": "type == 'veth' and state == 'present' and interface not in current_interfaces", "item": "ip link set dummy1298 up", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => { "changed": false } MSG: All items skipped TASK [Set up veth as managed by NetworkManager] ******************************** task path: /tmp/tmp.XAMXzlEOgr/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:35 Tuesday 30 July 2024 13:43:53 -0400 (0:00:00.031) 0:00:21.922 ********** skipping: [managed_node1] => { "changed": false, "false_condition": "type == 'veth' and state == 'present'", "skip_reason": "Conditional result was False" } TASK [Delete veth interface dummy1298] ***************************************** task path: /tmp/tmp.XAMXzlEOgr/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:43 Tuesday 30 July 2024 13:43:53 -0400 (0:00:00.017) 0:00:21.939 ********** skipping: [managed_node1] => { "changed": false, "false_condition": "type == 'veth' and state == 'absent' and interface in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Create dummy interface dummy1298] **************************************** task path: /tmp/tmp.XAMXzlEOgr/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:49 Tuesday 30 July 2024 13:43:53 -0400 (0:00:00.017) 0:00:21.957 ********** ok: [managed_node1] => { "changed": false, "cmd": [ "ip", "link", "add", "dummy1298", "type", "dummy" ], "delta": "0:00:00.011681", "end": "2024-07-30 13:43:53.440847", "rc": 0, "start": "2024-07-30 13:43:53.429166" } TASK [Delete dummy interface dummy1298] **************************************** task path: /tmp/tmp.XAMXzlEOgr/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:54 Tuesday 30 July 2024 13:43:53 -0400 (0:00:00.404) 0:00:22.361 ********** skipping: [managed_node1] => { "changed": false, "false_condition": "type == 'dummy' and state == 'absent' and interface in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Create tap interface dummy1298] ****************************************** task path: /tmp/tmp.XAMXzlEOgr/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:60 Tuesday 30 July 2024 13:43:53 -0400 (0:00:00.018) 0:00:22.379 ********** skipping: [managed_node1] => { "changed": false, "false_condition": "type == 'tap' and state == 'present' and interface not in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Delete tap interface dummy1298] ****************************************** task path: /tmp/tmp.XAMXzlEOgr/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:65 Tuesday 30 July 2024 13:43:53 -0400 (0:00:00.017) 0:00:22.397 ********** skipping: [managed_node1] => { "changed": false, "false_condition": "type == 'tap' and state == 'absent' and interface in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/tmp.XAMXzlEOgr/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:18 Tuesday 30 July 2024 13:43:53 -0400 (0:00:00.017) 0:00:22.414 ********** included: /tmp/tmp.XAMXzlEOgr/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml for managed_node1 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/tmp.XAMXzlEOgr/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Tuesday 30 July 2024 13:43:53 -0400 (0:00:00.039) 0:00:22.453 ********** included: /tmp/tmp.XAMXzlEOgr/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml for managed_node1 TASK [Gather current interface info] ******************************************* task path: /tmp/tmp.XAMXzlEOgr/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Tuesday 30 July 2024 13:43:53 -0400 (0:00:00.041) 0:00:22.495 ********** ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003432", "end": "2024-07-30 13:43:53.976331", "rc": 0, "start": "2024-07-30 13:43:53.972899" } STDOUT: bonding_masters dummy1298 eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/tmp.XAMXzlEOgr/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Tuesday 30 July 2024 13:43:54 -0400 (0:00:00.390) 0:00:22.885 ********** ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "dummy1298", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/tmp.XAMXzlEOgr/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Tuesday 30 July 2024 13:43:54 -0400 (0:00:00.022) 0:00:22.907 ********** ok: [managed_node1] => {} MSG: current_interfaces: ['bonding_masters', 'dummy1298', 'eth0', 'lo'] TASK [Include the task 'assert_device_present.yml'] **************************** task path: /tmp/tmp.XAMXzlEOgr/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:20 Tuesday 30 July 2024 13:43:54 -0400 (0:00:00.020) 0:00:22.927 ********** included: /tmp/tmp.XAMXzlEOgr/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_present.yml for managed_node1 TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/tmp.XAMXzlEOgr/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_present.yml:3 Tuesday 30 July 2024 13:43:54 -0400 (0:00:00.038) 0:00:22.966 ********** included: /tmp/tmp.XAMXzlEOgr/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_interface_stat.yml for managed_node1 TASK [Get stat for interface dummy1298] **************************************** task path: /tmp/tmp.XAMXzlEOgr/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_interface_stat.yml:3 Tuesday 30 July 2024 13:43:54 -0400 (0:00:00.021) 0:00:22.987 ********** ok: [managed_node1] => { "changed": false, "stat": { "atime": 1722361433.4400747, "block_size": 4096, "blocks": 0, "ctime": 1722361433.4400747, "dev": 23, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 41456, "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": 1722361433.4400747, "nlink": 1, "path": "/sys/class/net/dummy1298", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 0, "uid": 0, "wgrp": true, "woth": true, "writeable": true, "wusr": true, "xgrp": true, "xoth": true, "xusr": true } } TASK [Assert that the interface is present - 'dummy1298'] ********************** task path: /tmp/tmp.XAMXzlEOgr/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_present.yml:5 Tuesday 30 July 2024 13:43:54 -0400 (0:00:00.381) 0:00:23.369 ********** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /tmp/tmp.XAMXzlEOgr/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:23 Tuesday 30 July 2024 13:43:54 -0400 (0:00:00.022) 0:00:23.391 ********** included: /tmp/tmp.XAMXzlEOgr/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml for managed_node1 TASK [Ensure state in ["present", "absent"]] *********************************** task path: /tmp/tmp.XAMXzlEOgr/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:3 Tuesday 30 July 2024 13:43:54 -0400 (0:00:00.048) 0:00:23.440 ********** skipping: [managed_node1] => { "changed": false, "false_condition": "state not in [\"present\", \"absent\"]", "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /tmp/tmp.XAMXzlEOgr/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:8 Tuesday 30 July 2024 13:43:54 -0400 (0:00:00.016) 0:00:23.456 ********** skipping: [managed_node1] => { "changed": false, "false_condition": "type not in [\"dummy\", \"tap\", \"veth\"]", "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/tmp.XAMXzlEOgr/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:13 Tuesday 30 July 2024 13:43:54 -0400 (0:00:00.016) 0:00:23.473 ********** included: /tmp/tmp.XAMXzlEOgr/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml for managed_node1 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/tmp.XAMXzlEOgr/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Tuesday 30 July 2024 13:43:54 -0400 (0:00:00.027) 0:00:23.500 ********** included: /tmp/tmp.XAMXzlEOgr/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml for managed_node1 TASK [Gather current interface info] ******************************************* task path: /tmp/tmp.XAMXzlEOgr/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Tuesday 30 July 2024 13:43:54 -0400 (0:00:00.022) 0:00:23.523 ********** ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003471", "end": "2024-07-30 13:43:54.999217", "rc": 0, "start": "2024-07-30 13:43:54.995746" } STDOUT: bonding_masters dummy1298 eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/tmp.XAMXzlEOgr/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Tuesday 30 July 2024 13:43:55 -0400 (0:00:00.385) 0:00:23.909 ********** ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "dummy1298", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/tmp.XAMXzlEOgr/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Tuesday 30 July 2024 13:43:55 -0400 (0:00:00.022) 0:00:23.932 ********** ok: [managed_node1] => {} MSG: current_interfaces: ['bonding_masters', 'dummy1298', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /tmp/tmp.XAMXzlEOgr/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:16 Tuesday 30 July 2024 13:43:55 -0400 (0:00:00.022) 0:00:23.954 ********** ok: [managed_node1] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface dummy1298] ***************************************** task path: /tmp/tmp.XAMXzlEOgr/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:27 Tuesday 30 July 2024 13:43:56 -0400 (0:00:01.797) 0:00:25.752 ********** skipping: [managed_node1] => (item=ip link add dummy1298 type veth peer name peerdummy1298) => { "ansible_loop_var": "item", "changed": false, "false_condition": "type == 'veth' and state == 'present' and interface not in current_interfaces", "item": "ip link add dummy1298 type veth peer name peerdummy1298", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=ip link set peerdummy1298 up) => { "ansible_loop_var": "item", "changed": false, "false_condition": "type == 'veth' and state == 'present' and interface not in current_interfaces", "item": "ip link set peerdummy1298 up", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=ip link set dummy1298 up) => { "ansible_loop_var": "item", "changed": false, "false_condition": "type == 'veth' and state == 'present' and interface not in current_interfaces", "item": "ip link set dummy1298 up", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => { "changed": false } MSG: All items skipped TASK [Set up veth as managed by NetworkManager] ******************************** task path: /tmp/tmp.XAMXzlEOgr/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:35 Tuesday 30 July 2024 13:43:56 -0400 (0:00:00.031) 0:00:25.784 ********** skipping: [managed_node1] => { "changed": false, "false_condition": "type == 'veth' and state == 'present'", "skip_reason": "Conditional result was False" } TASK [Delete veth interface dummy1298] ***************************************** task path: /tmp/tmp.XAMXzlEOgr/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:43 Tuesday 30 July 2024 13:43:56 -0400 (0:00:00.017) 0:00:25.801 ********** skipping: [managed_node1] => { "changed": false, "false_condition": "type == 'veth' and state == 'absent' and interface in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Create dummy interface dummy1298] **************************************** task path: /tmp/tmp.XAMXzlEOgr/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:49 Tuesday 30 July 2024 13:43:56 -0400 (0:00:00.017) 0:00:25.818 ********** skipping: [managed_node1] => { "changed": false, "false_condition": "type == 'dummy' and state == 'present' and interface not in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Delete dummy interface dummy1298] **************************************** task path: /tmp/tmp.XAMXzlEOgr/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:54 Tuesday 30 July 2024 13:43:56 -0400 (0:00:00.017) 0:00:25.836 ********** ok: [managed_node1] => { "changed": false, "cmd": [ "ip", "link", "del", "dummy1298", "type", "dummy" ], "delta": "0:00:00.007815", "end": "2024-07-30 13:43:57.315669", "rc": 0, "start": "2024-07-30 13:43:57.307854" } TASK [Create tap interface dummy1298] ****************************************** task path: /tmp/tmp.XAMXzlEOgr/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:60 Tuesday 30 July 2024 13:43:57 -0400 (0:00:00.396) 0:00:26.232 ********** skipping: [managed_node1] => { "changed": false, "false_condition": "type == 'tap' and state == 'present' and interface not in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Delete tap interface dummy1298] ****************************************** task path: /tmp/tmp.XAMXzlEOgr/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:65 Tuesday 30 July 2024 13:43:57 -0400 (0:00:00.019) 0:00:26.251 ********** skipping: [managed_node1] => { "changed": false, "false_condition": "type == 'tap' and state == 'absent' and interface in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/tmp.XAMXzlEOgr/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:27 Tuesday 30 July 2024 13:43:57 -0400 (0:00:00.016) 0:00:26.268 ********** included: /tmp/tmp.XAMXzlEOgr/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml for managed_node1 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/tmp.XAMXzlEOgr/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Tuesday 30 July 2024 13:43:57 -0400 (0:00:00.045) 0:00:26.313 ********** included: /tmp/tmp.XAMXzlEOgr/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml for managed_node1 TASK [Gather current interface info] ******************************************* task path: /tmp/tmp.XAMXzlEOgr/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Tuesday 30 July 2024 13:43:57 -0400 (0:00:00.023) 0:00:26.336 ********** ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003461", "end": "2024-07-30 13:43:57.816128", "rc": 0, "start": "2024-07-30 13:43:57.812667" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/tmp.XAMXzlEOgr/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Tuesday 30 July 2024 13:43:57 -0400 (0:00:00.387) 0:00:26.724 ********** ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/tmp.XAMXzlEOgr/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Tuesday 30 July 2024 13:43:57 -0400 (0:00:00.023) 0:00:26.747 ********** ok: [managed_node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Include the task 'assert_device_absent.yml'] ***************************** task path: /tmp/tmp.XAMXzlEOgr/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:29 Tuesday 30 July 2024 13:43:57 -0400 (0:00:00.021) 0:00:26.769 ********** included: /tmp/tmp.XAMXzlEOgr/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_absent.yml for managed_node1 TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/tmp.XAMXzlEOgr/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_absent.yml:3 Tuesday 30 July 2024 13:43:57 -0400 (0:00:00.047) 0:00:26.816 ********** included: /tmp/tmp.XAMXzlEOgr/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_interface_stat.yml for managed_node1 TASK [Get stat for interface dummy1298] **************************************** task path: /tmp/tmp.XAMXzlEOgr/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_interface_stat.yml:3 Tuesday 30 July 2024 13:43:57 -0400 (0:00:00.022) 0:00:26.839 ********** ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'dummy1298'] *********************** task path: /tmp/tmp.XAMXzlEOgr/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_absent.yml:5 Tuesday 30 July 2024 13:43:58 -0400 (0:00:00.376) 0:00:27.216 ********** 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 Tuesday 30 July 2024 13:43:58 -0400 (0:00:00.034) 0:00:27.250 ********** =============================================================================== Install iproute --------------------------------------------------------- 1.96s /tmp/tmp.XAMXzlEOgr/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 1.82s /tmp/tmp.XAMXzlEOgr/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 1.81s /tmp/tmp.XAMXzlEOgr/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 1.81s /tmp/tmp.XAMXzlEOgr/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 1.80s /tmp/tmp.XAMXzlEOgr/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 1.80s /tmp/tmp.XAMXzlEOgr/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:16 Gathering Facts --------------------------------------------------------- 1.33s /tmp/tmp.XAMXzlEOgr/ansible_collections/fedora/linux_system_roles/tests/network/tests_helpers_and_asserts.yml:3 Create veth interface veth1298 ------------------------------------------ 1.16s /tmp/tmp.XAMXzlEOgr/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.56s /tmp/tmp.XAMXzlEOgr/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:3 Gather current interface info ------------------------------------------- 0.50s /tmp/tmp.XAMXzlEOgr/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Check if system is ostree ----------------------------------------------- 0.50s /tmp/tmp.XAMXzlEOgr/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:17 Set up veth as managed by NetworkManager -------------------------------- 0.41s /tmp/tmp.XAMXzlEOgr/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:35 Create dummy interface dummy1298 ---------------------------------------- 0.40s /tmp/tmp.XAMXzlEOgr/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:49 Delete veth interface veth1298 ------------------------------------------ 0.40s /tmp/tmp.XAMXzlEOgr/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:43 Delete dummy interface dummy1298 ---------------------------------------- 0.40s /tmp/tmp.XAMXzlEOgr/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:54 Gather current interface info ------------------------------------------- 0.40s /tmp/tmp.XAMXzlEOgr/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Gather current interface info ------------------------------------------- 0.39s /tmp/tmp.XAMXzlEOgr/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Gather current interface info ------------------------------------------- 0.39s /tmp/tmp.XAMXzlEOgr/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Get stat for interface veth1298 ----------------------------------------- 0.39s /tmp/tmp.XAMXzlEOgr/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_interface_stat.yml:3 Gather current interface info ------------------------------------------- 0.39s /tmp/tmp.XAMXzlEOgr/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3