ansible-playbook [core 2.17.4] 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-HYN executable location = /usr/local/bin/ansible-playbook python version = 3.12.6 (main, Sep 9 2024, 00:00:00) [GCC 11.5.0 20240719 (Red Hat 11.5.0-2)] (/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-HYN/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-HYN/ansible_collections/fedora/linux_system_roles/tests/network/tests_helpers_and_asserts.yml:3 Thursday 03 October 2024 23:49:35 -0400 (0:00:00.031) 0:00:00.031 ****** [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-HYN/ansible_collections/fedora/linux_system_roles/tests/network/tests_helpers_and_asserts.yml:6 Thursday 03 October 2024 23:49:36 -0400 (0:00:01.122) 0:00:01.153 ****** included: /tmp/collections-HYN/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-HYN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:3 Thursday 03 October 2024 23:49:36 -0400 (0:00:00.019) 0:00:01.173 ****** ok: [managed-node1] TASK [Check if system is ostree] *********************************************** task path: /tmp/collections-HYN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:17 Thursday 03 October 2024 23:49:37 -0400 (0:00:00.485) 0:00:01.658 ****** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /tmp/collections-HYN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:22 Thursday 03 October 2024 23:49:37 -0400 (0:00:00.527) 0:00:02.185 ****** ok: [managed-node1] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /tmp/collections-HYN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:26 Thursday 03 October 2024 23:49:37 -0400 (0:00:00.057) 0:00:02.243 ****** 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-HYN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:51 Thursday 03 October 2024 23:49:37 -0400 (0:00:00.086) 0:00:02.329 ****** included: /tmp/collections-HYN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml for managed-node1 TASK [Create EPEL 9] *********************************************************** task path: /tmp/collections-HYN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:8 Thursday 03 October 2024 23:49:37 -0400 (0:00:00.083) 0:00:02.412 ****** 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-HYN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:26 Thursday 03 October 2024 23:49:37 -0400 (0:00:00.040) 0:00:02.453 ****** 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-HYN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:32 Thursday 03 October 2024 23:49:37 -0400 (0:00:00.026) 0:00:02.480 ****** 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-HYN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:37 Thursday 03 October 2024 23:49:37 -0400 (0:00:00.024) 0:00:02.505 ****** 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-HYN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:42 Thursday 03 October 2024 23:49:37 -0400 (0:00:00.028) 0:00:02.533 ****** 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-HYN/ansible_collections/fedora/linux_system_roles/tests/network/tests_helpers_and_asserts.yml:9 Thursday 03 October 2024 23:49:37 -0400 (0:00:00.020) 0:00:02.554 ****** included: /tmp/collections-HYN/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-HYN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:3 Thursday 03 October 2024 23:49:38 -0400 (0:00:00.035) 0:00:02.590 ****** included: /tmp/collections-HYN/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-HYN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Thursday 03 October 2024 23:49:38 -0400 (0:00:00.038) 0:00:02.628 ****** included: /tmp/collections-HYN/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-HYN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Thursday 03 October 2024 23:49:38 -0400 (0:00:00.032) 0:00:02.661 ****** ok: [managed-node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003226", "end": "2024-10-03 23:49:38.519490", "rc": 0, "start": "2024-10-03 23:49:38.516264" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-HYN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Thursday 03 October 2024 23:49:38 -0400 (0:00:00.475) 0:00:03.136 ****** ok: [managed-node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-HYN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Thursday 03 October 2024 23:49:38 -0400 (0:00:00.016) 0:00:03.153 ****** ok: [managed-node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /tmp/collections-HYN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:5 Thursday 03 October 2024 23:49:38 -0400 (0:00:00.014) 0:00:03.167 ****** included: /tmp/collections-HYN/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-HYN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:3 Thursday 03 October 2024 23:49:38 -0400 (0:00:00.029) 0:00:03.197 ****** 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-HYN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:8 Thursday 03 October 2024 23:49:38 -0400 (0:00:00.018) 0:00:03.215 ****** 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-HYN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:13 Thursday 03 October 2024 23:49:38 -0400 (0:00:00.016) 0:00:03.232 ****** included: /tmp/collections-HYN/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-HYN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Thursday 03 October 2024 23:49:38 -0400 (0:00:00.018) 0:00:03.250 ****** included: /tmp/collections-HYN/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-HYN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Thursday 03 October 2024 23:49:38 -0400 (0:00:00.024) 0:00:03.275 ****** ok: [managed-node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003251", "end": "2024-10-03 23:49:39.094426", "rc": 0, "start": "2024-10-03 23:49:39.091175" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-HYN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Thursday 03 October 2024 23:49:39 -0400 (0:00:00.452) 0:00:03.727 ****** ok: [managed-node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-HYN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Thursday 03 October 2024 23:49:39 -0400 (0:00:00.043) 0:00:03.771 ****** ok: [managed-node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /tmp/collections-HYN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:16 Thursday 03 October 2024 23:49:39 -0400 (0:00:00.038) 0:00:03.810 ****** ok: [managed-node1] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth1298] ****************************************** task path: /tmp/collections-HYN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:27 Thursday 03 October 2024 23:49:40 -0400 (0:00:01.658) 0:00:05.468 ****** 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-HYN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:35 Thursday 03 October 2024 23:49:40 -0400 (0:00:00.035) 0:00:05.504 ****** 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-HYN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:43 Thursday 03 October 2024 23:49:40 -0400 (0:00:00.019) 0:00:05.524 ****** 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-HYN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:49 Thursday 03 October 2024 23:49:40 -0400 (0:00:00.022) 0:00:05.546 ****** 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-HYN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:54 Thursday 03 October 2024 23:49:40 -0400 (0:00:00.020) 0:00:05.567 ****** 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-HYN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:60 Thursday 03 October 2024 23:49:41 -0400 (0:00:00.020) 0:00:05.587 ****** 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-HYN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:65 Thursday 03 October 2024 23:49:41 -0400 (0:00:00.019) 0:00:05.607 ****** 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-HYN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:9 Thursday 03 October 2024 23:49:41 -0400 (0:00:00.023) 0:00:05.630 ****** included: /tmp/collections-HYN/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-HYN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Thursday 03 October 2024 23:49:41 -0400 (0:00:00.024) 0:00:05.654 ****** included: /tmp/collections-HYN/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-HYN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Thursday 03 October 2024 23:49:41 -0400 (0:00:00.019) 0:00:05.674 ****** ok: [managed-node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003327", "end": "2024-10-03 23:49:41.385039", "rc": 0, "start": "2024-10-03 23:49:41.381712" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-HYN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Thursday 03 October 2024 23:49:41 -0400 (0:00:00.351) 0:00:06.025 ****** ok: [managed-node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-HYN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Thursday 03 October 2024 23:49:41 -0400 (0:00:00.043) 0:00:06.069 ****** ok: [managed-node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Include the task 'assert_device_absent.yml'] ***************************** task path: /tmp/collections-HYN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:11 Thursday 03 October 2024 23:49:41 -0400 (0:00:00.029) 0:00:06.099 ****** included: /tmp/collections-HYN/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-HYN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_absent.yml:3 Thursday 03 October 2024 23:49:41 -0400 (0:00:00.043) 0:00:06.142 ****** included: /tmp/collections-HYN/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-HYN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_interface_stat.yml:3 Thursday 03 October 2024 23:49:41 -0400 (0:00:00.036) 0:00:06.178 ****** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'veth1298'] ************************ task path: /tmp/collections-HYN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_absent.yml:5 Thursday 03 October 2024 23:49:41 -0400 (0:00:00.363) 0:00:06.542 ****** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /tmp/collections-HYN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:14 Thursday 03 October 2024 23:49:42 -0400 (0:00:00.043) 0:00:06.585 ****** included: /tmp/collections-HYN/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-HYN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:3 Thursday 03 October 2024 23:49:42 -0400 (0:00:00.052) 0:00:06.638 ****** 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-HYN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:8 Thursday 03 October 2024 23:49:42 -0400 (0:00:00.023) 0:00:06.662 ****** 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-HYN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:13 Thursday 03 October 2024 23:49:42 -0400 (0:00:00.021) 0:00:06.683 ****** included: /tmp/collections-HYN/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-HYN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Thursday 03 October 2024 23:49:42 -0400 (0:00:00.031) 0:00:06.715 ****** included: /tmp/collections-HYN/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-HYN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Thursday 03 October 2024 23:49:42 -0400 (0:00:00.018) 0:00:06.733 ****** ok: [managed-node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003390", "end": "2024-10-03 23:49:42.455122", "rc": 0, "start": "2024-10-03 23:49:42.451732" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-HYN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Thursday 03 October 2024 23:49:42 -0400 (0:00:00.348) 0:00:07.082 ****** ok: [managed-node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-HYN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Thursday 03 October 2024 23:49:42 -0400 (0:00:00.024) 0:00:07.106 ****** ok: [managed-node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /tmp/collections-HYN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:16 Thursday 03 October 2024 23:49:42 -0400 (0:00:00.027) 0:00:07.134 ****** ok: [managed-node1] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth1298] ****************************************** task path: /tmp/collections-HYN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:27 Thursday 03 October 2024 23:49:43 -0400 (0:00:01.226) 0:00:08.361 ****** 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.009003", "end": "2024-10-03 23:49:44.064851", "item": "ip link add veth1298 type veth peer name peerveth1298", "rc": 0, "start": "2024-10-03 23:49:44.055848" } 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.003561", "end": "2024-10-03 23:49:44.388390", "item": "ip link set peerveth1298 up", "rc": 0, "start": "2024-10-03 23:49:44.384829" } 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.005179", "end": "2024-10-03 23:49:44.723031", "item": "ip link set veth1298 up", "rc": 0, "start": "2024-10-03 23:49:44.717852" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /tmp/collections-HYN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:35 Thursday 03 October 2024 23:49:44 -0400 (0:00:00.985) 0:00:09.346 ****** ok: [managed-node1] => { "changed": false, "cmd": [ "nmcli", "d", "set", "veth1298", "managed", "true" ], "delta": "0:00:00.019947", "end": "2024-10-03 23:49:45.094533", "rc": 0, "start": "2024-10-03 23:49:45.074586" } TASK [Delete veth interface veth1298] ****************************************** task path: /tmp/collections-HYN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:43 Thursday 03 October 2024 23:49:45 -0400 (0:00:00.391) 0:00:09.738 ****** 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-HYN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:49 Thursday 03 October 2024 23:49:45 -0400 (0:00:00.023) 0:00:09.762 ****** 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-HYN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:54 Thursday 03 October 2024 23:49:45 -0400 (0:00:00.020) 0:00:09.782 ****** 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-HYN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:60 Thursday 03 October 2024 23:49:45 -0400 (0:00:00.019) 0:00:09.801 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "type == 'tap' and state == 'present' and interface not in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth1298] ******************************************* task path: /tmp/collections-HYN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:65 Thursday 03 October 2024 23:49:45 -0400 (0:00:00.015) 0:00:09.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-HYN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:18 Thursday 03 October 2024 23:49:45 -0400 (0:00:00.021) 0:00:09.839 ****** included: /tmp/collections-HYN/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-HYN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Thursday 03 October 2024 23:49:45 -0400 (0:00:00.059) 0:00:09.898 ****** included: /tmp/collections-HYN/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-HYN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Thursday 03 October 2024 23:49:45 -0400 (0:00:00.028) 0:00:09.927 ****** ok: [managed-node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003207", "end": "2024-10-03 23:49:45.618544", "rc": 0, "start": "2024-10-03 23:49:45.615337" } STDOUT: bonding_masters eth0 lo peerveth1298 veth1298 TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-HYN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Thursday 03 October 2024 23:49:45 -0400 (0:00:00.319) 0:00:10.247 ****** ok: [managed-node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "peerveth1298", "veth1298" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-HYN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Thursday 03 October 2024 23:49:45 -0400 (0:00:00.030) 0:00:10.277 ****** ok: [managed-node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'peerveth1298', 'veth1298'] TASK [Include the task 'assert_device_present.yml'] **************************** task path: /tmp/collections-HYN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:20 Thursday 03 October 2024 23:49:45 -0400 (0:00:00.023) 0:00:10.301 ****** included: /tmp/collections-HYN/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-HYN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_present.yml:3 Thursday 03 October 2024 23:49:45 -0400 (0:00:00.047) 0:00:10.349 ****** included: /tmp/collections-HYN/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-HYN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_interface_stat.yml:3 Thursday 03 October 2024 23:49:45 -0400 (0:00:00.027) 0:00:10.377 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1728013784.059535, "block_size": 4096, "blocks": 0, "ctime": 1728013784.059535, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 28438, "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": 1728013784.059535, "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-HYN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_present.yml:5 Thursday 03 October 2024 23:49:46 -0400 (0:00:00.385) 0:00:10.762 ****** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /tmp/collections-HYN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:23 Thursday 03 October 2024 23:49:46 -0400 (0:00:00.026) 0:00:10.789 ****** included: /tmp/collections-HYN/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-HYN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:3 Thursday 03 October 2024 23:49:46 -0400 (0:00:00.058) 0:00:10.847 ****** 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-HYN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:8 Thursday 03 October 2024 23:49:46 -0400 (0:00:00.019) 0:00:10.867 ****** 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-HYN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:13 Thursday 03 October 2024 23:49:46 -0400 (0:00:00.020) 0:00:10.888 ****** included: /tmp/collections-HYN/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-HYN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Thursday 03 October 2024 23:49:46 -0400 (0:00:00.031) 0:00:10.920 ****** included: /tmp/collections-HYN/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-HYN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Thursday 03 October 2024 23:49:46 -0400 (0:00:00.035) 0:00:10.955 ****** ok: [managed-node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003109", "end": "2024-10-03 23:49:46.730859", "rc": 0, "start": "2024-10-03 23:49:46.727750" } STDOUT: bonding_masters eth0 lo peerveth1298 veth1298 TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-HYN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Thursday 03 October 2024 23:49:46 -0400 (0:00:00.412) 0:00:11.368 ****** ok: [managed-node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "peerveth1298", "veth1298" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-HYN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Thursday 03 October 2024 23:49:46 -0400 (0:00:00.052) 0:00:11.421 ****** ok: [managed-node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'peerveth1298', 'veth1298'] TASK [Install iproute] ********************************************************* task path: /tmp/collections-HYN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:16 Thursday 03 October 2024 23:49:46 -0400 (0:00:00.042) 0:00:11.463 ****** ok: [managed-node1] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth1298] ****************************************** task path: /tmp/collections-HYN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:27 Thursday 03 October 2024 23:49:48 -0400 (0:00:01.299) 0:00:12.762 ****** 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-HYN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:35 Thursday 03 October 2024 23:49:48 -0400 (0:00:00.028) 0:00:12.791 ****** 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-HYN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:43 Thursday 03 October 2024 23:49:48 -0400 (0:00:00.016) 0:00:12.808 ****** ok: [managed-node1] => { "changed": false, "cmd": [ "ip", "link", "del", "veth1298", "type", "veth" ], "delta": "0:00:00.010591", "end": "2024-10-03 23:49:48.514491", "rc": 0, "start": "2024-10-03 23:49:48.503900" } TASK [Create dummy interface veth1298] ***************************************** task path: /tmp/collections-HYN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:49 Thursday 03 October 2024 23:49:48 -0400 (0:00:00.338) 0:00:13.147 ****** 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-HYN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:54 Thursday 03 October 2024 23:49:48 -0400 (0:00:00.053) 0:00:13.200 ****** 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-HYN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:60 Thursday 03 October 2024 23:49:48 -0400 (0:00:00.027) 0:00:13.228 ****** 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-HYN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:65 Thursday 03 October 2024 23:49:48 -0400 (0:00:00.021) 0:00:13.250 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "type == 'tap' and state == 'absent' and interface in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-HYN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:27 Thursday 03 October 2024 23:49:48 -0400 (0:00:00.029) 0:00:13.279 ****** included: /tmp/collections-HYN/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-HYN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Thursday 03 October 2024 23:49:48 -0400 (0:00:00.071) 0:00:13.351 ****** included: /tmp/collections-HYN/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-HYN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Thursday 03 October 2024 23:49:48 -0400 (0:00:00.029) 0:00:13.380 ****** ok: [managed-node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003283", "end": "2024-10-03 23:49:49.107303", "rc": 0, "start": "2024-10-03 23:49:49.104020" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-HYN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Thursday 03 October 2024 23:49:49 -0400 (0:00:00.365) 0:00:13.746 ****** ok: [managed-node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-HYN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Thursday 03 October 2024 23:49:49 -0400 (0:00:00.023) 0:00:13.769 ****** ok: [managed-node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Include the task 'assert_device_absent.yml'] ***************************** task path: /tmp/collections-HYN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:29 Thursday 03 October 2024 23:49:49 -0400 (0:00:00.024) 0:00:13.794 ****** included: /tmp/collections-HYN/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-HYN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_absent.yml:3 Thursday 03 October 2024 23:49:49 -0400 (0:00:00.058) 0:00:13.852 ****** included: /tmp/collections-HYN/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-HYN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_interface_stat.yml:3 Thursday 03 October 2024 23:49:49 -0400 (0:00:00.031) 0:00:13.884 ****** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'veth1298'] ************************ task path: /tmp/collections-HYN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_absent.yml:5 Thursday 03 October 2024 23:49:49 -0400 (0:00:00.380) 0:00:14.264 ****** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Test veth interface management] ****************************************** task path: /tmp/collections-HYN/ansible_collections/fedora/linux_system_roles/tests/network/tests_helpers_and_asserts.yml:15 Thursday 03 October 2024 23:49:49 -0400 (0:00:00.022) 0:00:14.287 ****** included: /tmp/collections-HYN/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-HYN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:3 Thursday 03 October 2024 23:49:49 -0400 (0:00:00.024) 0:00:14.311 ****** included: /tmp/collections-HYN/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-HYN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Thursday 03 October 2024 23:49:49 -0400 (0:00:00.020) 0:00:14.332 ****** included: /tmp/collections-HYN/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-HYN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Thursday 03 October 2024 23:49:49 -0400 (0:00:00.017) 0:00:14.349 ****** ok: [managed-node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003401", "end": "2024-10-03 23:49:50.065717", "rc": 0, "start": "2024-10-03 23:49:50.062316" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-HYN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Thursday 03 October 2024 23:49:50 -0400 (0:00:00.340) 0:00:14.690 ****** ok: [managed-node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-HYN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Thursday 03 October 2024 23:49:50 -0400 (0:00:00.024) 0:00:14.715 ****** ok: [managed-node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /tmp/collections-HYN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:5 Thursday 03 October 2024 23:49:50 -0400 (0:00:00.024) 0:00:14.740 ****** included: /tmp/collections-HYN/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-HYN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:3 Thursday 03 October 2024 23:49:50 -0400 (0:00:00.027) 0:00:14.767 ****** 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-HYN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:8 Thursday 03 October 2024 23:49:50 -0400 (0:00:00.013) 0:00:14.780 ****** 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-HYN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:13 Thursday 03 October 2024 23:49:50 -0400 (0:00:00.017) 0:00:14.798 ****** included: /tmp/collections-HYN/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-HYN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Thursday 03 October 2024 23:49:50 -0400 (0:00:00.021) 0:00:14.819 ****** included: /tmp/collections-HYN/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-HYN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Thursday 03 October 2024 23:49:50 -0400 (0:00:00.022) 0:00:14.842 ****** ok: [managed-node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003352", "end": "2024-10-03 23:49:50.538825", "rc": 0, "start": "2024-10-03 23:49:50.535473" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-HYN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Thursday 03 October 2024 23:49:50 -0400 (0:00:00.314) 0:00:15.157 ****** ok: [managed-node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-HYN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Thursday 03 October 2024 23:49:50 -0400 (0:00:00.016) 0:00:15.173 ****** ok: [managed-node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /tmp/collections-HYN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:16 Thursday 03 October 2024 23:49:50 -0400 (0:00:00.016) 0:00:15.189 ****** ok: [managed-node1] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface dummy1298] ***************************************** task path: /tmp/collections-HYN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:27 Thursday 03 October 2024 23:49:51 -0400 (0:00:01.210) 0:00:16.400 ****** 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-HYN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:35 Thursday 03 October 2024 23:49:51 -0400 (0:00:00.035) 0:00:16.436 ****** 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-HYN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:43 Thursday 03 October 2024 23:49:51 -0400 (0:00:00.031) 0:00:16.467 ****** 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-HYN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:49 Thursday 03 October 2024 23:49:51 -0400 (0:00:00.042) 0:00:16.510 ****** 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-HYN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:54 Thursday 03 October 2024 23:49:51 -0400 (0:00:00.026) 0:00:16.536 ****** 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-HYN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:60 Thursday 03 October 2024 23:49:51 -0400 (0:00:00.024) 0:00:16.561 ****** 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-HYN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:65 Thursday 03 October 2024 23:49:52 -0400 (0:00:00.023) 0:00:16.584 ****** 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-HYN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:9 Thursday 03 October 2024 23:49:52 -0400 (0:00:00.019) 0:00:16.604 ****** included: /tmp/collections-HYN/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-HYN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Thursday 03 October 2024 23:49:52 -0400 (0:00:00.036) 0:00:16.640 ****** included: /tmp/collections-HYN/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-HYN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Thursday 03 October 2024 23:49:52 -0400 (0:00:00.027) 0:00:16.667 ****** ok: [managed-node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003173", "end": "2024-10-03 23:49:52.393218", "rc": 0, "start": "2024-10-03 23:49:52.390045" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-HYN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Thursday 03 October 2024 23:49:52 -0400 (0:00:00.355) 0:00:17.023 ****** ok: [managed-node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-HYN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Thursday 03 October 2024 23:49:52 -0400 (0:00:00.034) 0:00:17.057 ****** ok: [managed-node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Include the task 'assert_device_absent.yml'] ***************************** task path: /tmp/collections-HYN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:11 Thursday 03 October 2024 23:49:52 -0400 (0:00:00.025) 0:00:17.082 ****** included: /tmp/collections-HYN/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-HYN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_absent.yml:3 Thursday 03 October 2024 23:49:52 -0400 (0:00:00.055) 0:00:17.138 ****** included: /tmp/collections-HYN/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-HYN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_interface_stat.yml:3 Thursday 03 October 2024 23:49:52 -0400 (0:00:00.033) 0:00:17.171 ****** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'dummy1298'] *********************** task path: /tmp/collections-HYN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_absent.yml:5 Thursday 03 October 2024 23:49:53 -0400 (0:00:00.409) 0:00:17.581 ****** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /tmp/collections-HYN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:14 Thursday 03 October 2024 23:49:53 -0400 (0:00:00.045) 0:00:17.627 ****** included: /tmp/collections-HYN/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-HYN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:3 Thursday 03 October 2024 23:49:53 -0400 (0:00:00.065) 0:00:17.692 ****** 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-HYN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:8 Thursday 03 October 2024 23:49:53 -0400 (0:00:00.022) 0:00:17.715 ****** 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-HYN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:13 Thursday 03 October 2024 23:49:53 -0400 (0:00:00.035) 0:00:17.751 ****** included: /tmp/collections-HYN/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-HYN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Thursday 03 October 2024 23:49:53 -0400 (0:00:00.053) 0:00:17.805 ****** included: /tmp/collections-HYN/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-HYN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Thursday 03 October 2024 23:49:53 -0400 (0:00:00.035) 0:00:17.841 ****** ok: [managed-node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003257", "end": "2024-10-03 23:49:53.569007", "rc": 0, "start": "2024-10-03 23:49:53.565750" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-HYN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Thursday 03 October 2024 23:49:53 -0400 (0:00:00.350) 0:00:18.191 ****** ok: [managed-node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-HYN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Thursday 03 October 2024 23:49:53 -0400 (0:00:00.049) 0:00:18.241 ****** ok: [managed-node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /tmp/collections-HYN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:16 Thursday 03 October 2024 23:49:53 -0400 (0:00:00.053) 0:00:18.295 ****** ok: [managed-node1] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface dummy1298] ***************************************** task path: /tmp/collections-HYN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:27 Thursday 03 October 2024 23:49:55 -0400 (0:00:01.314) 0:00:19.609 ****** 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-HYN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:35 Thursday 03 October 2024 23:49:55 -0400 (0:00:00.023) 0:00:19.633 ****** 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-HYN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:43 Thursday 03 October 2024 23:49:55 -0400 (0:00:00.013) 0:00:19.646 ****** 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-HYN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:49 Thursday 03 October 2024 23:49:55 -0400 (0:00:00.014) 0:00:19.661 ****** ok: [managed-node1] => { "changed": false, "cmd": [ "ip", "link", "add", "dummy1298", "type", "dummy" ], "delta": "0:00:00.072549", "end": "2024-10-03 23:49:55.453237", "rc": 0, "start": "2024-10-03 23:49:55.380688" } TASK [Delete dummy interface dummy1298] **************************************** task path: /tmp/collections-HYN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:54 Thursday 03 October 2024 23:49:55 -0400 (0:00:00.420) 0:00:20.082 ****** 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-HYN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:60 Thursday 03 October 2024 23:49:55 -0400 (0:00:00.016) 0:00:20.098 ****** 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-HYN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:65 Thursday 03 October 2024 23:49:55 -0400 (0:00:00.025) 0:00:20.123 ****** 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-HYN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:18 Thursday 03 October 2024 23:49:55 -0400 (0:00:00.015) 0:00:20.139 ****** included: /tmp/collections-HYN/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-HYN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Thursday 03 October 2024 23:49:55 -0400 (0:00:00.052) 0:00:20.192 ****** included: /tmp/collections-HYN/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-HYN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Thursday 03 October 2024 23:49:55 -0400 (0:00:00.030) 0:00:20.222 ****** ok: [managed-node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003273", "end": "2024-10-03 23:49:55.974994", "rc": 0, "start": "2024-10-03 23:49:55.971721" } STDOUT: bonding_masters dummy1298 eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-HYN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Thursday 03 October 2024 23:49:56 -0400 (0:00:00.389) 0:00:20.612 ****** ok: [managed-node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "dummy1298", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-HYN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Thursday 03 October 2024 23:49:56 -0400 (0:00:00.057) 0:00:20.669 ****** ok: [managed-node1] => {} MSG: current_interfaces: ['bonding_masters', 'dummy1298', 'eth0', 'lo'] TASK [Include the task 'assert_device_present.yml'] **************************** task path: /tmp/collections-HYN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:20 Thursday 03 October 2024 23:49:56 -0400 (0:00:00.048) 0:00:20.718 ****** included: /tmp/collections-HYN/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-HYN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_present.yml:3 Thursday 03 October 2024 23:49:56 -0400 (0:00:00.093) 0:00:20.812 ****** included: /tmp/collections-HYN/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-HYN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_interface_stat.yml:3 Thursday 03 October 2024 23:49:56 -0400 (0:00:00.055) 0:00:20.867 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1728013795.449688, "block_size": 4096, "blocks": 0, "ctime": 1728013795.449688, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 28768, "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": 1728013795.449688, "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-HYN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_present.yml:5 Thursday 03 October 2024 23:49:56 -0400 (0:00:00.357) 0:00:21.224 ****** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /tmp/collections-HYN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:23 Thursday 03 October 2024 23:49:56 -0400 (0:00:00.017) 0:00:21.242 ****** included: /tmp/collections-HYN/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-HYN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:3 Thursday 03 October 2024 23:49:56 -0400 (0:00:00.033) 0:00:21.276 ****** 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-HYN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:8 Thursday 03 October 2024 23:49:56 -0400 (0:00:00.013) 0:00:21.290 ****** 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-HYN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:13 Thursday 03 October 2024 23:49:56 -0400 (0:00:00.012) 0:00:21.302 ****** included: /tmp/collections-HYN/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-HYN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Thursday 03 October 2024 23:49:56 -0400 (0:00:00.018) 0:00:21.321 ****** included: /tmp/collections-HYN/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-HYN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Thursday 03 October 2024 23:49:56 -0400 (0:00:00.020) 0:00:21.341 ****** ok: [managed-node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003236", "end": "2024-10-03 23:49:57.071833", "rc": 0, "start": "2024-10-03 23:49:57.068597" } STDOUT: bonding_masters dummy1298 eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-HYN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Thursday 03 October 2024 23:49:57 -0400 (0:00:00.348) 0:00:21.689 ****** ok: [managed-node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "dummy1298", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-HYN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Thursday 03 October 2024 23:49:57 -0400 (0:00:00.018) 0:00:21.708 ****** ok: [managed-node1] => {} MSG: current_interfaces: ['bonding_masters', 'dummy1298', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /tmp/collections-HYN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:16 Thursday 03 October 2024 23:49:57 -0400 (0:00:00.016) 0:00:21.724 ****** ok: [managed-node1] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface dummy1298] ***************************************** task path: /tmp/collections-HYN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:27 Thursday 03 October 2024 23:49:58 -0400 (0:00:01.219) 0:00:22.944 ****** 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-HYN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:35 Thursday 03 October 2024 23:49:58 -0400 (0:00:00.028) 0:00:22.972 ****** 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-HYN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:43 Thursday 03 October 2024 23:49:58 -0400 (0:00:00.017) 0:00:22.989 ****** 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-HYN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:49 Thursday 03 October 2024 23:49:58 -0400 (0:00:00.019) 0:00:23.008 ****** 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-HYN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:54 Thursday 03 October 2024 23:49:58 -0400 (0:00:00.023) 0:00:23.032 ****** ok: [managed-node1] => { "changed": false, "cmd": [ "ip", "link", "del", "dummy1298", "type", "dummy" ], "delta": "0:00:00.013791", "end": "2024-10-03 23:49:58.777499", "rc": 0, "start": "2024-10-03 23:49:58.763708" } TASK [Create tap interface dummy1298] ****************************************** task path: /tmp/collections-HYN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:60 Thursday 03 October 2024 23:49:58 -0400 (0:00:00.391) 0:00:23.423 ****** 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-HYN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:65 Thursday 03 October 2024 23:49:58 -0400 (0:00:00.039) 0:00:23.463 ****** 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-HYN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:27 Thursday 03 October 2024 23:49:58 -0400 (0:00:00.068) 0:00:23.531 ****** included: /tmp/collections-HYN/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-HYN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Thursday 03 October 2024 23:49:59 -0400 (0:00:00.065) 0:00:23.597 ****** included: /tmp/collections-HYN/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-HYN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Thursday 03 October 2024 23:49:59 -0400 (0:00:00.045) 0:00:23.643 ****** ok: [managed-node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003202", "end": "2024-10-03 23:49:59.462220", "rc": 0, "start": "2024-10-03 23:49:59.459018" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-HYN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Thursday 03 October 2024 23:49:59 -0400 (0:00:00.444) 0:00:24.087 ****** ok: [managed-node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-HYN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Thursday 03 October 2024 23:49:59 -0400 (0:00:00.025) 0:00:24.113 ****** ok: [managed-node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Include the task 'assert_device_absent.yml'] ***************************** task path: /tmp/collections-HYN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:29 Thursday 03 October 2024 23:49:59 -0400 (0:00:00.026) 0:00:24.139 ****** included: /tmp/collections-HYN/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-HYN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_absent.yml:3 Thursday 03 October 2024 23:49:59 -0400 (0:00:00.058) 0:00:24.197 ****** included: /tmp/collections-HYN/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-HYN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_interface_stat.yml:3 Thursday 03 October 2024 23:49:59 -0400 (0:00:00.028) 0:00:24.226 ****** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'dummy1298'] *********************** task path: /tmp/collections-HYN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_absent.yml:5 Thursday 03 October 2024 23:50:00 -0400 (0:00:00.379) 0:00:24.606 ****** 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 03 October 2024 23:50:00 -0400 (0:00:00.025) 0:00:24.632 ****** =============================================================================== Install iproute --------------------------------------------------------- 1.66s /tmp/collections-HYN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 1.31s /tmp/collections-HYN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 1.30s /tmp/collections-HYN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 1.23s /tmp/collections-HYN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 1.22s /tmp/collections-HYN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 1.21s /tmp/collections-HYN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:16 Gathering Facts --------------------------------------------------------- 1.12s /tmp/collections-HYN/ansible_collections/fedora/linux_system_roles/tests/network/tests_helpers_and_asserts.yml:3 Create veth interface veth1298 ------------------------------------------ 0.99s /tmp/collections-HYN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:27 Check if system is ostree ----------------------------------------------- 0.53s /tmp/collections-HYN/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.49s /tmp/collections-HYN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:3 Gather current interface info ------------------------------------------- 0.48s /tmp/collections-HYN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Gather current interface info ------------------------------------------- 0.45s /tmp/collections-HYN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Gather current interface info ------------------------------------------- 0.44s /tmp/collections-HYN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Create dummy interface dummy1298 ---------------------------------------- 0.42s /tmp/collections-HYN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:49 Gather current interface info ------------------------------------------- 0.41s /tmp/collections-HYN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Get stat for interface dummy1298 ---------------------------------------- 0.41s /tmp/collections-HYN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_interface_stat.yml:3 Delete dummy interface dummy1298 ---------------------------------------- 0.39s /tmp/collections-HYN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:54 Set up veth as managed by NetworkManager -------------------------------- 0.39s /tmp/collections-HYN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:35 Gather current interface info ------------------------------------------- 0.39s /tmp/collections-HYN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Get stat for interface veth1298 ----------------------------------------- 0.39s /tmp/collections-HYN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_interface_stat.yml:3