# STDOUT: ---v---v---v---v---v--- ansible-playbook [core 2.16.0] config file = /etc/ansible/ansible.cfg configured module search path = ['/home/jenkins/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /opt/ansible-2.16/lib/python3.11/site-packages/ansible ansible collection location = /WORKDIR/git-route_typeoc5d_vd5/.collection executable location = /opt/ansible-2.16/bin/ansible-playbook python version = 3.11.5 (main, Sep 7 2023, 00:00:00) [GCC 11.4.1 20230605 (Red Hat 11.4.1-2)] (/opt/ansible-2.16/bin/python) jinja version = 3.1.2 libyaml = True Using /etc/ansible/ansible.cfg as config file Skipping callback 'debug', as we already have a stdout callback. 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 /WORKDIR/git-route_typeoc5d_vd5/tests/tests_helpers_and_asserts.yml PLAY [Check that creating and removing test devices and assertions work] ******* TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-route_typeoc5d_vd5/tests/tests_helpers_and_asserts.yml:3 Wednesday 10 January 2024 18:38:19 +0000 (0:00:00.056) 0:00:00.056 ***** ok: [sut] TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-route_typeoc5d_vd5/tests/tests_helpers_and_asserts.yml:6 Wednesday 10 January 2024 18:38:19 +0000 (0:00:00.891) 0:00:00.947 ***** included: /WORKDIR/git-route_typeoc5d_vd5/tests/tasks/el_repo_setup.yml for sut TASK [Gather the minimum subset of ansible_facts required by the network role test] *** task path: /WORKDIR/git-route_typeoc5d_vd5/tests/tasks/el_repo_setup.yml:3 Wednesday 10 January 2024 18:38:19 +0000 (0:00:00.029) 0:00:00.976 ***** ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-route_typeoc5d_vd5/tests/tasks/el_repo_setup.yml:17 Wednesday 10 January 2024 18:38:20 +0000 (0:00:00.470) 0:00:01.446 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-route_typeoc5d_vd5/tests/tasks/el_repo_setup.yml:22 Wednesday 10 January 2024 18:38:20 +0000 (0:00:00.375) 0:00:01.822 ***** ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-route_typeoc5d_vd5/tests/tasks/el_repo_setup.yml:26 Wednesday 10 January 2024 18:38:20 +0000 (0:00:00.021) 0:00:01.843 ***** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version == '6'", "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-route_typeoc5d_vd5/tests/tasks/el_repo_setup.yml:51 Wednesday 10 January 2024 18:38:20 +0000 (0:00:00.026) 0:00:01.870 ***** included: /WORKDIR/git-route_typeoc5d_vd5/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 9] *********************************************************** task path: /WORKDIR/git-route_typeoc5d_vd5/tests/tasks/enable_epel.yml:8 Wednesday 10 January 2024 18:38:20 +0000 (0:00:00.035) 0:00:01.905 ***** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version in ['7', '8']", "skip_reason": "Conditional result was False" } TASK [Install yum-utils package] *********************************************** task path: /WORKDIR/git-route_typeoc5d_vd5/tests/tasks/enable_epel.yml:24 Wednesday 10 January 2024 18:38:20 +0000 (0:00:00.023) 0:00:01.928 ***** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version in ['7', '8']", "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /WORKDIR/git-route_typeoc5d_vd5/tests/tasks/enable_epel.yml:30 Wednesday 10 January 2024 18:38:20 +0000 (0:00:00.009) 0:00:01.938 ***** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version in ['7', '8']", "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /WORKDIR/git-route_typeoc5d_vd5/tests/tasks/enable_epel.yml:35 Wednesday 10 January 2024 18:38:20 +0000 (0:00:00.009) 0:00:01.947 ***** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version in ['7', '8']", "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-route_typeoc5d_vd5/tests/tasks/enable_epel.yml:40 Wednesday 10 January 2024 18:38:20 +0000 (0:00:00.009) 0:00:01.956 ***** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version == '6'", "skip_reason": "Conditional result was False" } TASK [Test veth interface management] ****************************************** task path: /WORKDIR/git-route_typeoc5d_vd5/tests/tests_helpers_and_asserts.yml:9 Wednesday 10 January 2024 18:38:20 +0000 (0:00:00.017) 0:00:01.974 ***** included: /WORKDIR/git-route_typeoc5d_vd5/tests/tasks/create_and_remove_interface.yml for sut TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-route_typeoc5d_vd5/tests/tasks/create_and_remove_interface.yml:3 Wednesday 10 January 2024 18:38:21 +0000 (0:00:00.013) 0:00:01.987 ***** included: /WORKDIR/git-route_typeoc5d_vd5/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typeoc5d_vd5/tests/tasks/show_interfaces.yml:3 Wednesday 10 January 2024 18:38:21 +0000 (0:00:00.010) 0:00:01.998 ***** included: /WORKDIR/git-route_typeoc5d_vd5/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typeoc5d_vd5/tests/tasks/get_current_interfaces.yml:3 Wednesday 10 January 2024 18:38:21 +0000 (0:00:00.019) 0:00:02.018 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003312", "end": "2024-01-10 18:38:21.409016", "rc": 0, "start": "2024-01-10 18:38:21.405704" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typeoc5d_vd5/tests/tasks/get_current_interfaces.yml:9 Wednesday 10 January 2024 18:38:21 +0000 (0:00:00.398) 0:00:02.416 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typeoc5d_vd5/tests/tasks/show_interfaces.yml:5 Wednesday 10 January 2024 18:38:21 +0000 (0:00:00.014) 0:00:02.431 ***** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-route_typeoc5d_vd5/tests/tasks/create_and_remove_interface.yml:5 Wednesday 10 January 2024 18:38:21 +0000 (0:00:00.018) 0:00:02.449 ***** included: /WORKDIR/git-route_typeoc5d_vd5/tests/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-route_typeoc5d_vd5/tests/tasks/manage_test_interface.yml:3 Wednesday 10 January 2024 18:38:21 +0000 (0:00:00.014) 0:00:02.464 ***** skipping: [sut] => { "changed": false, "false_condition": "state not in [\"present\", \"absent\"]", "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /WORKDIR/git-route_typeoc5d_vd5/tests/tasks/manage_test_interface.yml:8 Wednesday 10 January 2024 18:38:21 +0000 (0:00:00.007) 0:00:02.471 ***** skipping: [sut] => { "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: /WORKDIR/git-route_typeoc5d_vd5/tests/tasks/manage_test_interface.yml:13 Wednesday 10 January 2024 18:38:21 +0000 (0:00:00.007) 0:00:02.479 ***** included: /WORKDIR/git-route_typeoc5d_vd5/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typeoc5d_vd5/tests/tasks/show_interfaces.yml:3 Wednesday 10 January 2024 18:38:21 +0000 (0:00:00.011) 0:00:02.491 ***** included: /WORKDIR/git-route_typeoc5d_vd5/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typeoc5d_vd5/tests/tasks/get_current_interfaces.yml:3 Wednesday 10 January 2024 18:38:21 +0000 (0:00:00.009) 0:00:02.500 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003414", "end": "2024-01-10 18:38:21.687771", "rc": 0, "start": "2024-01-10 18:38:21.684357" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typeoc5d_vd5/tests/tasks/get_current_interfaces.yml:9 Wednesday 10 January 2024 18:38:21 +0000 (0:00:00.191) 0:00:02.691 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typeoc5d_vd5/tests/tasks/show_interfaces.yml:5 Wednesday 10 January 2024 18:38:21 +0000 (0:00:00.013) 0:00:02.705 ***** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-route_typeoc5d_vd5/tests/tasks/manage_test_interface.yml:16 Wednesday 10 January 2024 18:38:21 +0000 (0:00:00.011) 0:00:02.716 ***** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth1298] ****************************************** task path: /WORKDIR/git-route_typeoc5d_vd5/tests/tasks/manage_test_interface.yml:23 Wednesday 10 January 2024 18:38:22 +0000 (0:00:00.955) 0:00:03.672 ***** skipping: [sut] => (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: [sut] => (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: [sut] => (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: [sut] => { "changed": false } MSG: All items skipped TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-route_typeoc5d_vd5/tests/tasks/manage_test_interface.yml:31 Wednesday 10 January 2024 18:38:22 +0000 (0:00:00.014) 0:00:03.687 ***** skipping: [sut] => { "changed": false, "false_condition": "type == 'veth' and state == 'present'", "skip_reason": "Conditional result was False" } TASK [Delete veth interface veth1298] ****************************************** task path: /WORKDIR/git-route_typeoc5d_vd5/tests/tasks/manage_test_interface.yml:39 Wednesday 10 January 2024 18:38:22 +0000 (0:00:00.009) 0:00:03.696 ***** skipping: [sut] => { "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: /WORKDIR/git-route_typeoc5d_vd5/tests/tasks/manage_test_interface.yml:45 Wednesday 10 January 2024 18:38:22 +0000 (0:00:00.008) 0:00:03.705 ***** skipping: [sut] => { "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: /WORKDIR/git-route_typeoc5d_vd5/tests/tasks/manage_test_interface.yml:50 Wednesday 10 January 2024 18:38:22 +0000 (0:00:00.009) 0:00:03.715 ***** skipping: [sut] => { "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: /WORKDIR/git-route_typeoc5d_vd5/tests/tasks/manage_test_interface.yml:56 Wednesday 10 January 2024 18:38:22 +0000 (0:00:00.010) 0:00:03.725 ***** skipping: [sut] => { "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: /WORKDIR/git-route_typeoc5d_vd5/tests/tasks/manage_test_interface.yml:61 Wednesday 10 January 2024 18:38:22 +0000 (0:00:00.010) 0:00:03.736 ***** skipping: [sut] => { "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: /WORKDIR/git-route_typeoc5d_vd5/tests/tasks/create_and_remove_interface.yml:9 Wednesday 10 January 2024 18:38:22 +0000 (0:00:00.009) 0:00:03.745 ***** included: /WORKDIR/git-route_typeoc5d_vd5/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typeoc5d_vd5/tests/tasks/show_interfaces.yml:3 Wednesday 10 January 2024 18:38:22 +0000 (0:00:00.013) 0:00:03.759 ***** included: /WORKDIR/git-route_typeoc5d_vd5/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typeoc5d_vd5/tests/tasks/get_current_interfaces.yml:3 Wednesday 10 January 2024 18:38:22 +0000 (0:00:00.011) 0:00:03.770 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003248", "end": "2024-01-10 18:38:22.961099", "rc": 0, "start": "2024-01-10 18:38:22.957851" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typeoc5d_vd5/tests/tasks/get_current_interfaces.yml:9 Wednesday 10 January 2024 18:38:22 +0000 (0:00:00.204) 0:00:03.975 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typeoc5d_vd5/tests/tasks/show_interfaces.yml:5 Wednesday 10 January 2024 18:38:23 +0000 (0:00:00.026) 0:00:04.002 ***** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Include the task 'assert_device_absent.yml'] ***************************** task path: /WORKDIR/git-route_typeoc5d_vd5/tests/tasks/create_and_remove_interface.yml:11 Wednesday 10 January 2024 18:38:23 +0000 (0:00:00.028) 0:00:04.030 ***** included: /WORKDIR/git-route_typeoc5d_vd5/tests/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_typeoc5d_vd5/tests/tasks/assert_device_absent.yml:3 Wednesday 10 January 2024 18:38:23 +0000 (0:00:00.055) 0:00:04.086 ***** included: /WORKDIR/git-route_typeoc5d_vd5/tests/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth1298] ***************************************** task path: /WORKDIR/git-route_typeoc5d_vd5/tests/tasks/get_interface_stat.yml:3 Wednesday 10 January 2024 18:38:23 +0000 (0:00:00.012) 0:00:04.099 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'veth1298'] ************************ task path: /WORKDIR/git-route_typeoc5d_vd5/tests/tasks/assert_device_absent.yml:5 Wednesday 10 January 2024 18:38:23 +0000 (0:00:00.219) 0:00:04.318 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-route_typeoc5d_vd5/tests/tasks/create_and_remove_interface.yml:14 Wednesday 10 January 2024 18:38:23 +0000 (0:00:00.023) 0:00:04.341 ***** included: /WORKDIR/git-route_typeoc5d_vd5/tests/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-route_typeoc5d_vd5/tests/tasks/manage_test_interface.yml:3 Wednesday 10 January 2024 18:38:23 +0000 (0:00:00.023) 0:00:04.365 ***** skipping: [sut] => { "changed": false, "false_condition": "state not in [\"present\", \"absent\"]", "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /WORKDIR/git-route_typeoc5d_vd5/tests/tasks/manage_test_interface.yml:8 Wednesday 10 January 2024 18:38:23 +0000 (0:00:00.011) 0:00:04.377 ***** skipping: [sut] => { "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: /WORKDIR/git-route_typeoc5d_vd5/tests/tasks/manage_test_interface.yml:13 Wednesday 10 January 2024 18:38:23 +0000 (0:00:00.016) 0:00:04.394 ***** included: /WORKDIR/git-route_typeoc5d_vd5/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typeoc5d_vd5/tests/tasks/show_interfaces.yml:3 Wednesday 10 January 2024 18:38:23 +0000 (0:00:00.020) 0:00:04.414 ***** included: /WORKDIR/git-route_typeoc5d_vd5/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typeoc5d_vd5/tests/tasks/get_current_interfaces.yml:3 Wednesday 10 January 2024 18:38:23 +0000 (0:00:00.025) 0:00:04.439 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003180", "end": "2024-01-10 18:38:23.660606", "rc": 0, "start": "2024-01-10 18:38:23.657426" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typeoc5d_vd5/tests/tasks/get_current_interfaces.yml:9 Wednesday 10 January 2024 18:38:23 +0000 (0:00:00.228) 0:00:04.668 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typeoc5d_vd5/tests/tasks/show_interfaces.yml:5 Wednesday 10 January 2024 18:38:23 +0000 (0:00:00.016) 0:00:04.684 ***** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-route_typeoc5d_vd5/tests/tasks/manage_test_interface.yml:16 Wednesday 10 January 2024 18:38:23 +0000 (0:00:00.016) 0:00:04.700 ***** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth1298] ****************************************** task path: /WORKDIR/git-route_typeoc5d_vd5/tests/tasks/manage_test_interface.yml:23 Wednesday 10 January 2024 18:38:24 +0000 (0:00:00.839) 0:00:05.539 ***** ok: [sut] => (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.009478", "end": "2024-01-10 18:38:24.751984", "item": "ip link add veth1298 type veth peer name peerveth1298", "rc": 0, "start": "2024-01-10 18:38:24.742506" } ok: [sut] => (item=ip link set peerveth1298 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peerveth1298", "up" ], "delta": "0:00:00.003283", "end": "2024-01-10 18:38:24.973618", "item": "ip link set peerveth1298 up", "rc": 0, "start": "2024-01-10 18:38:24.970335" } ok: [sut] => (item=ip link set veth1298 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "veth1298", "up" ], "delta": "0:00:00.003475", "end": "2024-01-10 18:38:25.174975", "item": "ip link set veth1298 up", "rc": 0, "start": "2024-01-10 18:38:25.171500" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-route_typeoc5d_vd5/tests/tasks/manage_test_interface.yml:31 Wednesday 10 January 2024 18:38:25 +0000 (0:00:00.655) 0:00:06.195 ***** ok: [sut] => { "changed": false, "cmd": [ "nmcli", "d", "set", "veth1298", "managed", "true" ], "delta": "0:00:00.023631", "end": "2024-01-10 18:38:25.425108", "rc": 0, "start": "2024-01-10 18:38:25.401477" } TASK [Delete veth interface veth1298] ****************************************** task path: /WORKDIR/git-route_typeoc5d_vd5/tests/tasks/manage_test_interface.yml:39 Wednesday 10 January 2024 18:38:25 +0000 (0:00:00.251) 0:00:06.446 ***** skipping: [sut] => { "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: /WORKDIR/git-route_typeoc5d_vd5/tests/tasks/manage_test_interface.yml:45 Wednesday 10 January 2024 18:38:25 +0000 (0:00:00.022) 0:00:06.469 ***** skipping: [sut] => { "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: /WORKDIR/git-route_typeoc5d_vd5/tests/tasks/manage_test_interface.yml:50 Wednesday 10 January 2024 18:38:25 +0000 (0:00:00.010) 0:00:06.480 ***** skipping: [sut] => { "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: /WORKDIR/git-route_typeoc5d_vd5/tests/tasks/manage_test_interface.yml:56 Wednesday 10 January 2024 18:38:25 +0000 (0:00:00.022) 0:00:06.502 ***** skipping: [sut] => { "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: /WORKDIR/git-route_typeoc5d_vd5/tests/tasks/manage_test_interface.yml:61 Wednesday 10 January 2024 18:38:25 +0000 (0:00:00.034) 0:00:06.537 ***** skipping: [sut] => { "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: /WORKDIR/git-route_typeoc5d_vd5/tests/tasks/create_and_remove_interface.yml:18 Wednesday 10 January 2024 18:38:25 +0000 (0:00:00.018) 0:00:06.555 ***** included: /WORKDIR/git-route_typeoc5d_vd5/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typeoc5d_vd5/tests/tasks/show_interfaces.yml:3 Wednesday 10 January 2024 18:38:25 +0000 (0:00:00.030) 0:00:06.586 ***** included: /WORKDIR/git-route_typeoc5d_vd5/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typeoc5d_vd5/tests/tasks/get_current_interfaces.yml:3 Wednesday 10 January 2024 18:38:25 +0000 (0:00:00.011) 0:00:06.597 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003208", "end": "2024-01-10 18:38:25.796591", "rc": 0, "start": "2024-01-10 18:38:25.793383" } STDOUT: bonding_masters eth0 lo peerveth1298 veth1298 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typeoc5d_vd5/tests/tasks/get_current_interfaces.yml:9 Wednesday 10 January 2024 18:38:25 +0000 (0:00:00.214) 0:00:06.811 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "peerveth1298", "veth1298" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typeoc5d_vd5/tests/tasks/show_interfaces.yml:5 Wednesday 10 January 2024 18:38:25 +0000 (0:00:00.028) 0:00:06.840 ***** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'peerveth1298', 'veth1298'] TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-route_typeoc5d_vd5/tests/tasks/create_and_remove_interface.yml:20 Wednesday 10 January 2024 18:38:25 +0000 (0:00:00.024) 0:00:06.865 ***** included: /WORKDIR/git-route_typeoc5d_vd5/tests/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_typeoc5d_vd5/tests/tasks/assert_device_present.yml:3 Wednesday 10 January 2024 18:38:25 +0000 (0:00:00.022) 0:00:06.887 ***** included: /WORKDIR/git-route_typeoc5d_vd5/tests/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth1298] ***************************************** task path: /WORKDIR/git-route_typeoc5d_vd5/tests/tasks/get_interface_stat.yml:3 Wednesday 10 January 2024 18:38:25 +0000 (0:00:00.020) 0:00:06.908 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1704911904.7461166, "block_size": 4096, "blocks": 0, "ctime": 1704911904.7461166, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 29767, "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": 1704911904.7461166, "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: /WORKDIR/git-route_typeoc5d_vd5/tests/tasks/assert_device_present.yml:5 Wednesday 10 January 2024 18:38:26 +0000 (0:00:00.293) 0:00:07.201 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-route_typeoc5d_vd5/tests/tasks/create_and_remove_interface.yml:23 Wednesday 10 January 2024 18:38:26 +0000 (0:00:00.031) 0:00:07.232 ***** included: /WORKDIR/git-route_typeoc5d_vd5/tests/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-route_typeoc5d_vd5/tests/tasks/manage_test_interface.yml:3 Wednesday 10 January 2024 18:38:26 +0000 (0:00:00.027) 0:00:07.260 ***** skipping: [sut] => { "changed": false, "false_condition": "state not in [\"present\", \"absent\"]", "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /WORKDIR/git-route_typeoc5d_vd5/tests/tasks/manage_test_interface.yml:8 Wednesday 10 January 2024 18:38:26 +0000 (0:00:00.038) 0:00:07.298 ***** skipping: [sut] => { "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: /WORKDIR/git-route_typeoc5d_vd5/tests/tasks/manage_test_interface.yml:13 Wednesday 10 January 2024 18:38:26 +0000 (0:00:00.017) 0:00:07.316 ***** included: /WORKDIR/git-route_typeoc5d_vd5/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typeoc5d_vd5/tests/tasks/show_interfaces.yml:3 Wednesday 10 January 2024 18:38:26 +0000 (0:00:00.025) 0:00:07.341 ***** included: /WORKDIR/git-route_typeoc5d_vd5/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typeoc5d_vd5/tests/tasks/get_current_interfaces.yml:3 Wednesday 10 January 2024 18:38:26 +0000 (0:00:00.038) 0:00:07.380 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003275", "end": "2024-01-10 18:38:26.590194", "rc": 0, "start": "2024-01-10 18:38:26.586919" } STDOUT: bonding_masters eth0 lo peerveth1298 veth1298 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typeoc5d_vd5/tests/tasks/get_current_interfaces.yml:9 Wednesday 10 January 2024 18:38:26 +0000 (0:00:00.260) 0:00:07.640 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "peerveth1298", "veth1298" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typeoc5d_vd5/tests/tasks/show_interfaces.yml:5 Wednesday 10 January 2024 18:38:26 +0000 (0:00:00.037) 0:00:07.678 ***** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'peerveth1298', 'veth1298'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-route_typeoc5d_vd5/tests/tasks/manage_test_interface.yml:16 Wednesday 10 January 2024 18:38:26 +0000 (0:00:00.043) 0:00:07.721 ***** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth1298] ****************************************** task path: /WORKDIR/git-route_typeoc5d_vd5/tests/tasks/manage_test_interface.yml:23 Wednesday 10 January 2024 18:38:27 +0000 (0:00:00.930) 0:00:08.652 ***** skipping: [sut] => (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: [sut] => (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: [sut] => (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: [sut] => { "changed": false } MSG: All items skipped TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-route_typeoc5d_vd5/tests/tasks/manage_test_interface.yml:31 Wednesday 10 January 2024 18:38:27 +0000 (0:00:00.026) 0:00:08.678 ***** skipping: [sut] => { "changed": false, "false_condition": "type == 'veth' and state == 'present'", "skip_reason": "Conditional result was False" } TASK [Delete veth interface veth1298] ****************************************** task path: /WORKDIR/git-route_typeoc5d_vd5/tests/tasks/manage_test_interface.yml:39 Wednesday 10 January 2024 18:38:27 +0000 (0:00:00.010) 0:00:08.688 ***** ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "veth1298", "type", "veth" ], "delta": "0:00:00.016650", "end": "2024-01-10 18:38:27.917572", "rc": 0, "start": "2024-01-10 18:38:27.900922" } TASK [Create dummy interface veth1298] ***************************************** task path: /WORKDIR/git-route_typeoc5d_vd5/tests/tasks/manage_test_interface.yml:45 Wednesday 10 January 2024 18:38:27 +0000 (0:00:00.239) 0:00:08.927 ***** skipping: [sut] => { "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: /WORKDIR/git-route_typeoc5d_vd5/tests/tasks/manage_test_interface.yml:50 Wednesday 10 January 2024 18:38:28 +0000 (0:00:00.056) 0:00:08.983 ***** skipping: [sut] => { "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: /WORKDIR/git-route_typeoc5d_vd5/tests/tasks/manage_test_interface.yml:56 Wednesday 10 January 2024 18:38:28 +0000 (0:00:00.024) 0:00:09.008 ***** skipping: [sut] => { "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: /WORKDIR/git-route_typeoc5d_vd5/tests/tasks/manage_test_interface.yml:61 Wednesday 10 January 2024 18:38:28 +0000 (0:00:00.021) 0:00:09.029 ***** skipping: [sut] => { "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: /WORKDIR/git-route_typeoc5d_vd5/tests/tasks/create_and_remove_interface.yml:27 Wednesday 10 January 2024 18:38:28 +0000 (0:00:00.031) 0:00:09.061 ***** included: /WORKDIR/git-route_typeoc5d_vd5/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typeoc5d_vd5/tests/tasks/show_interfaces.yml:3 Wednesday 10 January 2024 18:38:28 +0000 (0:00:00.040) 0:00:09.101 ***** included: /WORKDIR/git-route_typeoc5d_vd5/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typeoc5d_vd5/tests/tasks/get_current_interfaces.yml:3 Wednesday 10 January 2024 18:38:28 +0000 (0:00:00.026) 0:00:09.127 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003201", "end": "2024-01-10 18:38:28.317904", "rc": 0, "start": "2024-01-10 18:38:28.314703" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typeoc5d_vd5/tests/tasks/get_current_interfaces.yml:9 Wednesday 10 January 2024 18:38:28 +0000 (0:00:00.202) 0:00:09.330 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typeoc5d_vd5/tests/tasks/show_interfaces.yml:5 Wednesday 10 January 2024 18:38:28 +0000 (0:00:00.017) 0:00:09.347 ***** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Include the task 'assert_device_absent.yml'] ***************************** task path: /WORKDIR/git-route_typeoc5d_vd5/tests/tasks/create_and_remove_interface.yml:29 Wednesday 10 January 2024 18:38:28 +0000 (0:00:00.011) 0:00:09.358 ***** included: /WORKDIR/git-route_typeoc5d_vd5/tests/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_typeoc5d_vd5/tests/tasks/assert_device_absent.yml:3 Wednesday 10 January 2024 18:38:28 +0000 (0:00:00.027) 0:00:09.385 ***** included: /WORKDIR/git-route_typeoc5d_vd5/tests/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth1298] ***************************************** task path: /WORKDIR/git-route_typeoc5d_vd5/tests/tasks/get_interface_stat.yml:3 Wednesday 10 January 2024 18:38:28 +0000 (0:00:00.012) 0:00:09.398 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'veth1298'] ************************ task path: /WORKDIR/git-route_typeoc5d_vd5/tests/tasks/assert_device_absent.yml:5 Wednesday 10 January 2024 18:38:28 +0000 (0:00:00.185) 0:00:09.583 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test veth interface management] ****************************************** task path: /WORKDIR/git-route_typeoc5d_vd5/tests/tests_helpers_and_asserts.yml:15 Wednesday 10 January 2024 18:38:28 +0000 (0:00:00.010) 0:00:09.594 ***** included: /WORKDIR/git-route_typeoc5d_vd5/tests/tasks/create_and_remove_interface.yml for sut TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-route_typeoc5d_vd5/tests/tasks/create_and_remove_interface.yml:3 Wednesday 10 January 2024 18:38:28 +0000 (0:00:00.013) 0:00:09.607 ***** included: /WORKDIR/git-route_typeoc5d_vd5/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typeoc5d_vd5/tests/tasks/show_interfaces.yml:3 Wednesday 10 January 2024 18:38:28 +0000 (0:00:00.009) 0:00:09.617 ***** included: /WORKDIR/git-route_typeoc5d_vd5/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typeoc5d_vd5/tests/tasks/get_current_interfaces.yml:3 Wednesday 10 January 2024 18:38:28 +0000 (0:00:00.009) 0:00:09.626 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003256", "end": "2024-01-10 18:38:28.814781", "rc": 0, "start": "2024-01-10 18:38:28.811525" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typeoc5d_vd5/tests/tasks/get_current_interfaces.yml:9 Wednesday 10 January 2024 18:38:28 +0000 (0:00:00.202) 0:00:09.829 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typeoc5d_vd5/tests/tasks/show_interfaces.yml:5 Wednesday 10 January 2024 18:38:28 +0000 (0:00:00.035) 0:00:09.864 ***** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-route_typeoc5d_vd5/tests/tasks/create_and_remove_interface.yml:5 Wednesday 10 January 2024 18:38:28 +0000 (0:00:00.016) 0:00:09.881 ***** included: /WORKDIR/git-route_typeoc5d_vd5/tests/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-route_typeoc5d_vd5/tests/tasks/manage_test_interface.yml:3 Wednesday 10 January 2024 18:38:28 +0000 (0:00:00.013) 0:00:09.894 ***** skipping: [sut] => { "changed": false, "false_condition": "state not in [\"present\", \"absent\"]", "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /WORKDIR/git-route_typeoc5d_vd5/tests/tasks/manage_test_interface.yml:8 Wednesday 10 January 2024 18:38:28 +0000 (0:00:00.008) 0:00:09.903 ***** skipping: [sut] => { "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: /WORKDIR/git-route_typeoc5d_vd5/tests/tasks/manage_test_interface.yml:13 Wednesday 10 January 2024 18:38:28 +0000 (0:00:00.009) 0:00:09.912 ***** included: /WORKDIR/git-route_typeoc5d_vd5/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typeoc5d_vd5/tests/tasks/show_interfaces.yml:3 Wednesday 10 January 2024 18:38:28 +0000 (0:00:00.013) 0:00:09.925 ***** included: /WORKDIR/git-route_typeoc5d_vd5/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typeoc5d_vd5/tests/tasks/get_current_interfaces.yml:3 Wednesday 10 January 2024 18:38:28 +0000 (0:00:00.010) 0:00:09.936 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003333", "end": "2024-01-10 18:38:29.135821", "rc": 0, "start": "2024-01-10 18:38:29.132488" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typeoc5d_vd5/tests/tasks/get_current_interfaces.yml:9 Wednesday 10 January 2024 18:38:29 +0000 (0:00:00.197) 0:00:10.133 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typeoc5d_vd5/tests/tasks/show_interfaces.yml:5 Wednesday 10 January 2024 18:38:29 +0000 (0:00:00.010) 0:00:10.144 ***** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-route_typeoc5d_vd5/tests/tasks/manage_test_interface.yml:16 Wednesday 10 January 2024 18:38:29 +0000 (0:00:00.009) 0:00:10.153 ***** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface dummy1298] ***************************************** task path: /WORKDIR/git-route_typeoc5d_vd5/tests/tasks/manage_test_interface.yml:23 Wednesday 10 January 2024 18:38:30 +0000 (0:00:00.832) 0:00:10.986 ***** skipping: [sut] => (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: [sut] => (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: [sut] => (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: [sut] => { "changed": false } MSG: All items skipped TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-route_typeoc5d_vd5/tests/tasks/manage_test_interface.yml:31 Wednesday 10 January 2024 18:38:30 +0000 (0:00:00.022) 0:00:11.008 ***** skipping: [sut] => { "changed": false, "false_condition": "type == 'veth' and state == 'present'", "skip_reason": "Conditional result was False" } TASK [Delete veth interface dummy1298] ***************************************** task path: /WORKDIR/git-route_typeoc5d_vd5/tests/tasks/manage_test_interface.yml:39 Wednesday 10 January 2024 18:38:30 +0000 (0:00:00.020) 0:00:11.029 ***** skipping: [sut] => { "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: /WORKDIR/git-route_typeoc5d_vd5/tests/tasks/manage_test_interface.yml:45 Wednesday 10 January 2024 18:38:30 +0000 (0:00:00.011) 0:00:11.040 ***** skipping: [sut] => { "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: /WORKDIR/git-route_typeoc5d_vd5/tests/tasks/manage_test_interface.yml:50 Wednesday 10 January 2024 18:38:30 +0000 (0:00:00.019) 0:00:11.060 ***** skipping: [sut] => { "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: /WORKDIR/git-route_typeoc5d_vd5/tests/tasks/manage_test_interface.yml:56 Wednesday 10 January 2024 18:38:30 +0000 (0:00:00.008) 0:00:11.069 ***** skipping: [sut] => { "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: /WORKDIR/git-route_typeoc5d_vd5/tests/tasks/manage_test_interface.yml:61 Wednesday 10 January 2024 18:38:30 +0000 (0:00:00.016) 0:00:11.085 ***** skipping: [sut] => { "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: /WORKDIR/git-route_typeoc5d_vd5/tests/tasks/create_and_remove_interface.yml:9 Wednesday 10 January 2024 18:38:30 +0000 (0:00:00.008) 0:00:11.094 ***** included: /WORKDIR/git-route_typeoc5d_vd5/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typeoc5d_vd5/tests/tasks/show_interfaces.yml:3 Wednesday 10 January 2024 18:38:30 +0000 (0:00:00.014) 0:00:11.108 ***** included: /WORKDIR/git-route_typeoc5d_vd5/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typeoc5d_vd5/tests/tasks/get_current_interfaces.yml:3 Wednesday 10 January 2024 18:38:30 +0000 (0:00:00.010) 0:00:11.119 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003344", "end": "2024-01-10 18:38:30.338601", "rc": 0, "start": "2024-01-10 18:38:30.335257" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typeoc5d_vd5/tests/tasks/get_current_interfaces.yml:9 Wednesday 10 January 2024 18:38:30 +0000 (0:00:00.217) 0:00:11.336 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typeoc5d_vd5/tests/tasks/show_interfaces.yml:5 Wednesday 10 January 2024 18:38:30 +0000 (0:00:00.009) 0:00:11.346 ***** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Include the task 'assert_device_absent.yml'] ***************************** task path: /WORKDIR/git-route_typeoc5d_vd5/tests/tasks/create_and_remove_interface.yml:11 Wednesday 10 January 2024 18:38:30 +0000 (0:00:00.008) 0:00:11.355 ***** included: /WORKDIR/git-route_typeoc5d_vd5/tests/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_typeoc5d_vd5/tests/tasks/assert_device_absent.yml:3 Wednesday 10 January 2024 18:38:30 +0000 (0:00:00.013) 0:00:11.369 ***** included: /WORKDIR/git-route_typeoc5d_vd5/tests/tasks/get_interface_stat.yml for sut TASK [Get stat for interface dummy1298] **************************************** task path: /WORKDIR/git-route_typeoc5d_vd5/tests/tasks/get_interface_stat.yml:3 Wednesday 10 January 2024 18:38:30 +0000 (0:00:00.009) 0:00:11.378 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'dummy1298'] *********************** task path: /WORKDIR/git-route_typeoc5d_vd5/tests/tasks/assert_device_absent.yml:5 Wednesday 10 January 2024 18:38:30 +0000 (0:00:00.186) 0:00:11.565 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-route_typeoc5d_vd5/tests/tasks/create_and_remove_interface.yml:14 Wednesday 10 January 2024 18:38:30 +0000 (0:00:00.011) 0:00:11.576 ***** included: /WORKDIR/git-route_typeoc5d_vd5/tests/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-route_typeoc5d_vd5/tests/tasks/manage_test_interface.yml:3 Wednesday 10 January 2024 18:38:30 +0000 (0:00:00.019) 0:00:11.596 ***** skipping: [sut] => { "changed": false, "false_condition": "state not in [\"present\", \"absent\"]", "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /WORKDIR/git-route_typeoc5d_vd5/tests/tasks/manage_test_interface.yml:8 Wednesday 10 January 2024 18:38:30 +0000 (0:00:00.010) 0:00:11.607 ***** skipping: [sut] => { "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: /WORKDIR/git-route_typeoc5d_vd5/tests/tasks/manage_test_interface.yml:13 Wednesday 10 January 2024 18:38:30 +0000 (0:00:00.017) 0:00:11.625 ***** included: /WORKDIR/git-route_typeoc5d_vd5/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typeoc5d_vd5/tests/tasks/show_interfaces.yml:3 Wednesday 10 January 2024 18:38:30 +0000 (0:00:00.012) 0:00:11.637 ***** included: /WORKDIR/git-route_typeoc5d_vd5/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typeoc5d_vd5/tests/tasks/get_current_interfaces.yml:3 Wednesday 10 January 2024 18:38:30 +0000 (0:00:00.023) 0:00:11.660 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003273", "end": "2024-01-10 18:38:30.867289", "rc": 0, "start": "2024-01-10 18:38:30.864016" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typeoc5d_vd5/tests/tasks/get_current_interfaces.yml:9 Wednesday 10 January 2024 18:38:30 +0000 (0:00:00.204) 0:00:11.865 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typeoc5d_vd5/tests/tasks/show_interfaces.yml:5 Wednesday 10 January 2024 18:38:30 +0000 (0:00:00.010) 0:00:11.875 ***** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-route_typeoc5d_vd5/tests/tasks/manage_test_interface.yml:16 Wednesday 10 January 2024 18:38:30 +0000 (0:00:00.009) 0:00:11.885 ***** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface dummy1298] ***************************************** task path: /WORKDIR/git-route_typeoc5d_vd5/tests/tasks/manage_test_interface.yml:23 Wednesday 10 January 2024 18:38:31 +0000 (0:00:00.833) 0:00:12.719 ***** skipping: [sut] => (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: [sut] => (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: [sut] => (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: [sut] => { "changed": false } MSG: All items skipped TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-route_typeoc5d_vd5/tests/tasks/manage_test_interface.yml:31 Wednesday 10 January 2024 18:38:31 +0000 (0:00:00.028) 0:00:12.747 ***** skipping: [sut] => { "changed": false, "false_condition": "type == 'veth' and state == 'present'", "skip_reason": "Conditional result was False" } TASK [Delete veth interface dummy1298] ***************************************** task path: /WORKDIR/git-route_typeoc5d_vd5/tests/tasks/manage_test_interface.yml:39 Wednesday 10 January 2024 18:38:31 +0000 (0:00:00.009) 0:00:12.757 ***** skipping: [sut] => { "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: /WORKDIR/git-route_typeoc5d_vd5/tests/tasks/manage_test_interface.yml:45 Wednesday 10 January 2024 18:38:31 +0000 (0:00:00.010) 0:00:12.767 ***** ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "add", "dummy1298", "type", "dummy" ], "delta": "0:00:00.012612", "end": "2024-01-10 18:38:31.967994", "rc": 0, "start": "2024-01-10 18:38:31.955382" } TASK [Delete dummy interface dummy1298] **************************************** task path: /WORKDIR/git-route_typeoc5d_vd5/tests/tasks/manage_test_interface.yml:50 Wednesday 10 January 2024 18:38:31 +0000 (0:00:00.206) 0:00:12.974 ***** skipping: [sut] => { "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: /WORKDIR/git-route_typeoc5d_vd5/tests/tasks/manage_test_interface.yml:56 Wednesday 10 January 2024 18:38:32 +0000 (0:00:00.012) 0:00:12.986 ***** skipping: [sut] => { "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: /WORKDIR/git-route_typeoc5d_vd5/tests/tasks/manage_test_interface.yml:61 Wednesday 10 January 2024 18:38:32 +0000 (0:00:00.011) 0:00:12.997 ***** skipping: [sut] => { "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: /WORKDIR/git-route_typeoc5d_vd5/tests/tasks/create_and_remove_interface.yml:18 Wednesday 10 January 2024 18:38:32 +0000 (0:00:00.011) 0:00:13.009 ***** included: /WORKDIR/git-route_typeoc5d_vd5/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typeoc5d_vd5/tests/tasks/show_interfaces.yml:3 Wednesday 10 January 2024 18:38:32 +0000 (0:00:00.030) 0:00:13.039 ***** included: /WORKDIR/git-route_typeoc5d_vd5/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typeoc5d_vd5/tests/tasks/get_current_interfaces.yml:3 Wednesday 10 January 2024 18:38:32 +0000 (0:00:00.015) 0:00:13.055 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003351", "end": "2024-01-10 18:38:32.255434", "rc": 0, "start": "2024-01-10 18:38:32.252083" } STDOUT: bonding_masters dummy1298 eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typeoc5d_vd5/tests/tasks/get_current_interfaces.yml:9 Wednesday 10 January 2024 18:38:32 +0000 (0:00:00.204) 0:00:13.260 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "dummy1298", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typeoc5d_vd5/tests/tasks/show_interfaces.yml:5 Wednesday 10 January 2024 18:38:32 +0000 (0:00:00.016) 0:00:13.277 ***** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'dummy1298', 'eth0', 'lo'] TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-route_typeoc5d_vd5/tests/tasks/create_and_remove_interface.yml:20 Wednesday 10 January 2024 18:38:32 +0000 (0:00:00.017) 0:00:13.294 ***** included: /WORKDIR/git-route_typeoc5d_vd5/tests/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_typeoc5d_vd5/tests/tasks/assert_device_present.yml:3 Wednesday 10 January 2024 18:38:32 +0000 (0:00:00.026) 0:00:13.320 ***** included: /WORKDIR/git-route_typeoc5d_vd5/tests/tasks/get_interface_stat.yml for sut TASK [Get stat for interface dummy1298] **************************************** task path: /WORKDIR/git-route_typeoc5d_vd5/tests/tasks/get_interface_stat.yml:3 Wednesday 10 January 2024 18:38:32 +0000 (0:00:00.021) 0:00:13.342 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1704911911.9653008, "block_size": 4096, "blocks": 0, "ctime": 1704911911.9653008, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 30095, "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": 1704911911.9653008, "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: /WORKDIR/git-route_typeoc5d_vd5/tests/tasks/assert_device_present.yml:5 Wednesday 10 January 2024 18:38:32 +0000 (0:00:00.206) 0:00:13.549 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-route_typeoc5d_vd5/tests/tasks/create_and_remove_interface.yml:23 Wednesday 10 January 2024 18:38:32 +0000 (0:00:00.022) 0:00:13.571 ***** included: /WORKDIR/git-route_typeoc5d_vd5/tests/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-route_typeoc5d_vd5/tests/tasks/manage_test_interface.yml:3 Wednesday 10 January 2024 18:38:32 +0000 (0:00:00.020) 0:00:13.592 ***** skipping: [sut] => { "changed": false, "false_condition": "state not in [\"present\", \"absent\"]", "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /WORKDIR/git-route_typeoc5d_vd5/tests/tasks/manage_test_interface.yml:8 Wednesday 10 January 2024 18:38:32 +0000 (0:00:00.010) 0:00:13.603 ***** skipping: [sut] => { "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: /WORKDIR/git-route_typeoc5d_vd5/tests/tasks/manage_test_interface.yml:13 Wednesday 10 January 2024 18:38:32 +0000 (0:00:00.018) 0:00:13.621 ***** included: /WORKDIR/git-route_typeoc5d_vd5/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typeoc5d_vd5/tests/tasks/show_interfaces.yml:3 Wednesday 10 January 2024 18:38:32 +0000 (0:00:00.017) 0:00:13.639 ***** included: /WORKDIR/git-route_typeoc5d_vd5/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typeoc5d_vd5/tests/tasks/get_current_interfaces.yml:3 Wednesday 10 January 2024 18:38:32 +0000 (0:00:00.013) 0:00:13.652 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003192", "end": "2024-01-10 18:38:32.841814", "rc": 0, "start": "2024-01-10 18:38:32.838622" } STDOUT: bonding_masters dummy1298 eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typeoc5d_vd5/tests/tasks/get_current_interfaces.yml:9 Wednesday 10 January 2024 18:38:32 +0000 (0:00:00.188) 0:00:13.841 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "dummy1298", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typeoc5d_vd5/tests/tasks/show_interfaces.yml:5 Wednesday 10 January 2024 18:38:32 +0000 (0:00:00.011) 0:00:13.852 ***** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'dummy1298', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-route_typeoc5d_vd5/tests/tasks/manage_test_interface.yml:16 Wednesday 10 January 2024 18:38:32 +0000 (0:00:00.009) 0:00:13.862 ***** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface dummy1298] ***************************************** task path: /WORKDIR/git-route_typeoc5d_vd5/tests/tasks/manage_test_interface.yml:23 Wednesday 10 January 2024 18:38:33 +0000 (0:00:00.828) 0:00:14.690 ***** skipping: [sut] => (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: [sut] => (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: [sut] => (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: [sut] => { "changed": false } MSG: All items skipped TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-route_typeoc5d_vd5/tests/tasks/manage_test_interface.yml:31 Wednesday 10 January 2024 18:38:33 +0000 (0:00:00.017) 0:00:14.707 ***** skipping: [sut] => { "changed": false, "false_condition": "type == 'veth' and state == 'present'", "skip_reason": "Conditional result was False" } TASK [Delete veth interface dummy1298] ***************************************** task path: /WORKDIR/git-route_typeoc5d_vd5/tests/tasks/manage_test_interface.yml:39 Wednesday 10 January 2024 18:38:33 +0000 (0:00:00.008) 0:00:14.716 ***** skipping: [sut] => { "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: /WORKDIR/git-route_typeoc5d_vd5/tests/tasks/manage_test_interface.yml:45 Wednesday 10 January 2024 18:38:33 +0000 (0:00:00.009) 0:00:14.725 ***** skipping: [sut] => { "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: /WORKDIR/git-route_typeoc5d_vd5/tests/tasks/manage_test_interface.yml:50 Wednesday 10 January 2024 18:38:33 +0000 (0:00:00.010) 0:00:14.735 ***** ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "dummy1298", "type", "dummy" ], "delta": "0:00:00.009918", "end": "2024-01-10 18:38:33.931032", "rc": 0, "start": "2024-01-10 18:38:33.921114" } TASK [Create tap interface dummy1298] ****************************************** task path: /WORKDIR/git-route_typeoc5d_vd5/tests/tasks/manage_test_interface.yml:56 Wednesday 10 January 2024 18:38:33 +0000 (0:00:00.193) 0:00:14.929 ***** skipping: [sut] => { "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: /WORKDIR/git-route_typeoc5d_vd5/tests/tasks/manage_test_interface.yml:61 Wednesday 10 January 2024 18:38:33 +0000 (0:00:00.010) 0:00:14.939 ***** skipping: [sut] => { "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: /WORKDIR/git-route_typeoc5d_vd5/tests/tasks/create_and_remove_interface.yml:27 Wednesday 10 January 2024 18:38:33 +0000 (0:00:00.007) 0:00:14.947 ***** included: /WORKDIR/git-route_typeoc5d_vd5/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typeoc5d_vd5/tests/tasks/show_interfaces.yml:3 Wednesday 10 January 2024 18:38:33 +0000 (0:00:00.024) 0:00:14.972 ***** included: /WORKDIR/git-route_typeoc5d_vd5/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typeoc5d_vd5/tests/tasks/get_current_interfaces.yml:3 Wednesday 10 January 2024 18:38:34 +0000 (0:00:00.009) 0:00:14.981 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003240", "end": "2024-01-10 18:38:34.180731", "rc": 0, "start": "2024-01-10 18:38:34.177491" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typeoc5d_vd5/tests/tasks/get_current_interfaces.yml:9 Wednesday 10 January 2024 18:38:34 +0000 (0:00:00.196) 0:00:15.178 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typeoc5d_vd5/tests/tasks/show_interfaces.yml:5 Wednesday 10 January 2024 18:38:34 +0000 (0:00:00.014) 0:00:15.192 ***** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Include the task 'assert_device_absent.yml'] ***************************** task path: /WORKDIR/git-route_typeoc5d_vd5/tests/tasks/create_and_remove_interface.yml:29 Wednesday 10 January 2024 18:38:34 +0000 (0:00:00.009) 0:00:15.202 ***** included: /WORKDIR/git-route_typeoc5d_vd5/tests/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_typeoc5d_vd5/tests/tasks/assert_device_absent.yml:3 Wednesday 10 January 2024 18:38:34 +0000 (0:00:00.026) 0:00:15.229 ***** included: /WORKDIR/git-route_typeoc5d_vd5/tests/tasks/get_interface_stat.yml for sut TASK [Get stat for interface dummy1298] **************************************** task path: /WORKDIR/git-route_typeoc5d_vd5/tests/tasks/get_interface_stat.yml:3 Wednesday 10 January 2024 18:38:34 +0000 (0:00:00.011) 0:00:15.240 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'dummy1298'] *********************** task path: /WORKDIR/git-route_typeoc5d_vd5/tests/tasks/assert_device_absent.yml:5 Wednesday 10 January 2024 18:38:34 +0000 (0:00:00.187) 0:00:15.428 ***** ok: [sut] => { "changed": false } MSG: All assertions passed PLAY RECAP ********************************************************************* sut : ok=119 changed=0 unreachable=0 failed=0 skipped=55 rescued=0 ignored=0 Wednesday 10 January 2024 18:38:34 +0000 (0:00:00.014) 0:00:15.443 ***** =============================================================================== Install iproute --------------------------------------------------------- 0.96s /WORKDIR/git-route_typeoc5d_vd5/tests/tasks/manage_test_interface.yml:16 ------ Install iproute --------------------------------------------------------- 0.93s /WORKDIR/git-route_typeoc5d_vd5/tests/tasks/manage_test_interface.yml:16 ------ Gathering Facts --------------------------------------------------------- 0.89s /WORKDIR/git-route_typeoc5d_vd5/tests/tests_helpers_and_asserts.yml:3 --------- Install iproute --------------------------------------------------------- 0.84s /WORKDIR/git-route_typeoc5d_vd5/tests/tasks/manage_test_interface.yml:16 ------ Install iproute --------------------------------------------------------- 0.83s /WORKDIR/git-route_typeoc5d_vd5/tests/tasks/manage_test_interface.yml:16 ------ Install iproute --------------------------------------------------------- 0.83s /WORKDIR/git-route_typeoc5d_vd5/tests/tasks/manage_test_interface.yml:16 ------ Install iproute --------------------------------------------------------- 0.83s /WORKDIR/git-route_typeoc5d_vd5/tests/tasks/manage_test_interface.yml:16 ------ Create veth interface veth1298 ------------------------------------------ 0.66s /WORKDIR/git-route_typeoc5d_vd5/tests/tasks/manage_test_interface.yml:23 ------ Gather the minimum subset of ansible_facts required by the network role test --- 0.47s /WORKDIR/git-route_typeoc5d_vd5/tests/tasks/el_repo_setup.yml:3 --------------- Gather current interface info ------------------------------------------- 0.40s /WORKDIR/git-route_typeoc5d_vd5/tests/tasks/get_current_interfaces.yml:3 ------ Check if system is ostree ----------------------------------------------- 0.38s /WORKDIR/git-route_typeoc5d_vd5/tests/tasks/el_repo_setup.yml:17 -------------- Get stat for interface veth1298 ----------------------------------------- 0.29s /WORKDIR/git-route_typeoc5d_vd5/tests/tasks/get_interface_stat.yml:3 ---------- Gather current interface info ------------------------------------------- 0.26s /WORKDIR/git-route_typeoc5d_vd5/tests/tasks/get_current_interfaces.yml:3 ------ Set up veth as managed by NetworkManager -------------------------------- 0.25s /WORKDIR/git-route_typeoc5d_vd5/tests/tasks/manage_test_interface.yml:31 ------ Delete veth interface veth1298 ------------------------------------------ 0.24s /WORKDIR/git-route_typeoc5d_vd5/tests/tasks/manage_test_interface.yml:39 ------ Gather current interface info ------------------------------------------- 0.23s /WORKDIR/git-route_typeoc5d_vd5/tests/tasks/get_current_interfaces.yml:3 ------ Get stat for interface veth1298 ----------------------------------------- 0.22s /WORKDIR/git-route_typeoc5d_vd5/tests/tasks/get_interface_stat.yml:3 ---------- Gather current interface info ------------------------------------------- 0.22s /WORKDIR/git-route_typeoc5d_vd5/tests/tasks/get_current_interfaces.yml:3 ------ Gather current interface info ------------------------------------------- 0.21s /WORKDIR/git-route_typeoc5d_vd5/tests/tasks/get_current_interfaces.yml:3 ------ Get stat for interface dummy1298 ---------------------------------------- 0.21s /WORKDIR/git-route_typeoc5d_vd5/tests/tasks/get_interface_stat.yml:3 ---------- ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- [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. ---^---^---^---^---^---