# 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_typehnkcvqlj/.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_typehnkcvqlj/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_typehnkcvqlj/tests/tests_helpers_and_asserts.yml:3 Tuesday 19 December 2023 23:06:44 +0000 (0:00:00.033) 0:00:00.033 ****** ok: [sut] TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-route_typehnkcvqlj/tests/tests_helpers_and_asserts.yml:6 Tuesday 19 December 2023 23:06:45 +0000 (0:00:00.915) 0:00:00.948 ****** included: /WORKDIR/git-route_typehnkcvqlj/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_typehnkcvqlj/tests/tasks/el_repo_setup.yml:3 Tuesday 19 December 2023 23:06:45 +0000 (0:00:00.013) 0:00:00.962 ****** ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-route_typehnkcvqlj/tests/tasks/el_repo_setup.yml:17 Tuesday 19 December 2023 23:06:45 +0000 (0:00:00.373) 0:00:01.335 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-route_typehnkcvqlj/tests/tasks/el_repo_setup.yml:22 Tuesday 19 December 2023 23:06:45 +0000 (0:00:00.265) 0:00:01.601 ****** ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-route_typehnkcvqlj/tests/tasks/el_repo_setup.yml:26 Tuesday 19 December 2023 23:06:45 +0000 (0:00:00.014) 0:00:01.616 ****** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution == 'CentOS'", "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-route_typehnkcvqlj/tests/tasks/el_repo_setup.yml:51 Tuesday 19 December 2023 23:06:45 +0000 (0:00:00.007) 0:00:01.624 ****** included: /WORKDIR/git-route_typehnkcvqlj/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 38] ********************************************************** task path: /WORKDIR/git-route_typehnkcvqlj/tests/tasks/enable_epel.yml:8 Tuesday 19 December 2023 23:06:45 +0000 (0:00:00.022) 0:00:01.646 ****** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution in ['RedHat', 'CentOS']", "skip_reason": "Conditional result was False" } TASK [Install yum-utils package] *********************************************** task path: /WORKDIR/git-route_typehnkcvqlj/tests/tasks/enable_epel.yml:24 Tuesday 19 December 2023 23:06:45 +0000 (0:00:00.007) 0:00:01.654 ****** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution in ['RedHat', 'CentOS']", "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /WORKDIR/git-route_typehnkcvqlj/tests/tasks/enable_epel.yml:30 Tuesday 19 December 2023 23:06:45 +0000 (0:00:00.007) 0:00:01.662 ****** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution in ['RedHat', 'CentOS']", "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /WORKDIR/git-route_typehnkcvqlj/tests/tasks/enable_epel.yml:35 Tuesday 19 December 2023 23:06:45 +0000 (0:00:00.007) 0:00:01.670 ****** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution in ['RedHat', 'CentOS']", "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-route_typehnkcvqlj/tests/tasks/enable_epel.yml:40 Tuesday 19 December 2023 23:06:45 +0000 (0:00:00.007) 0:00:01.677 ****** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution in ['RedHat', 'CentOS']", "skip_reason": "Conditional result was False" } TASK [Test veth interface management] ****************************************** task path: /WORKDIR/git-route_typehnkcvqlj/tests/tests_helpers_and_asserts.yml:9 Tuesday 19 December 2023 23:06:45 +0000 (0:00:00.007) 0:00:01.685 ****** included: /WORKDIR/git-route_typehnkcvqlj/tests/tasks/create_and_remove_interface.yml for sut TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-route_typehnkcvqlj/tests/tasks/create_and_remove_interface.yml:3 Tuesday 19 December 2023 23:06:45 +0000 (0:00:00.011) 0:00:01.697 ****** included: /WORKDIR/git-route_typehnkcvqlj/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typehnkcvqlj/tests/tasks/show_interfaces.yml:3 Tuesday 19 December 2023 23:06:45 +0000 (0:00:00.009) 0:00:01.706 ****** included: /WORKDIR/git-route_typehnkcvqlj/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typehnkcvqlj/tests/tasks/get_current_interfaces.yml:3 Tuesday 19 December 2023 23:06:45 +0000 (0:00:00.008) 0:00:01.714 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.004026", "end": "2023-12-19 23:06:46.235343", "rc": 0, "start": "2023-12-19 23:06:46.231317" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typehnkcvqlj/tests/tasks/get_current_interfaces.yml:9 Tuesday 19 December 2023 23:06:46 +0000 (0:00:00.271) 0:00:01.986 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typehnkcvqlj/tests/tasks/show_interfaces.yml:5 Tuesday 19 December 2023 23:06:46 +0000 (0:00:00.011) 0:00:01.998 ****** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-route_typehnkcvqlj/tests/tasks/create_and_remove_interface.yml:5 Tuesday 19 December 2023 23:06:46 +0000 (0:00:00.009) 0:00:02.007 ****** included: /WORKDIR/git-route_typehnkcvqlj/tests/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-route_typehnkcvqlj/tests/tasks/manage_test_interface.yml:3 Tuesday 19 December 2023 23:06:46 +0000 (0:00:00.014) 0:00:02.021 ****** 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_typehnkcvqlj/tests/tasks/manage_test_interface.yml:8 Tuesday 19 December 2023 23:06:46 +0000 (0:00:00.007) 0:00:02.029 ****** 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_typehnkcvqlj/tests/tasks/manage_test_interface.yml:13 Tuesday 19 December 2023 23:06:46 +0000 (0:00:00.007) 0:00:02.036 ****** included: /WORKDIR/git-route_typehnkcvqlj/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typehnkcvqlj/tests/tasks/show_interfaces.yml:3 Tuesday 19 December 2023 23:06:46 +0000 (0:00:00.010) 0:00:02.047 ****** included: /WORKDIR/git-route_typehnkcvqlj/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typehnkcvqlj/tests/tasks/get_current_interfaces.yml:3 Tuesday 19 December 2023 23:06:46 +0000 (0:00:00.016) 0:00:02.063 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003989", "end": "2023-12-19 23:06:46.536689", "rc": 0, "start": "2023-12-19 23:06:46.532700" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typehnkcvqlj/tests/tasks/get_current_interfaces.yml:9 Tuesday 19 December 2023 23:06:46 +0000 (0:00:00.223) 0:00:02.286 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typehnkcvqlj/tests/tasks/show_interfaces.yml:5 Tuesday 19 December 2023 23:06:46 +0000 (0:00:00.009) 0:00:02.296 ****** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-route_typehnkcvqlj/tests/tasks/manage_test_interface.yml:16 Tuesday 19 December 2023 23:06:46 +0000 (0:00:00.009) 0:00:02.306 ****** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth1298] ****************************************** task path: /WORKDIR/git-route_typehnkcvqlj/tests/tasks/manage_test_interface.yml:23 Tuesday 19 December 2023 23:06:49 +0000 (0:00:02.431) 0:00:04.737 ****** 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_typehnkcvqlj/tests/tasks/manage_test_interface.yml:31 Tuesday 19 December 2023 23:06:49 +0000 (0:00:00.018) 0:00:04.756 ****** 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_typehnkcvqlj/tests/tasks/manage_test_interface.yml:39 Tuesday 19 December 2023 23:06:49 +0000 (0:00:00.010) 0:00:04.766 ****** 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_typehnkcvqlj/tests/tasks/manage_test_interface.yml:45 Tuesday 19 December 2023 23:06:49 +0000 (0:00:00.009) 0:00:04.776 ****** 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_typehnkcvqlj/tests/tasks/manage_test_interface.yml:50 Tuesday 19 December 2023 23:06:49 +0000 (0:00:00.008) 0:00:04.784 ****** 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_typehnkcvqlj/tests/tasks/manage_test_interface.yml:56 Tuesday 19 December 2023 23:06:49 +0000 (0:00:00.010) 0:00:04.795 ****** 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_typehnkcvqlj/tests/tasks/manage_test_interface.yml:61 Tuesday 19 December 2023 23:06:49 +0000 (0:00:00.010) 0:00:04.805 ****** 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_typehnkcvqlj/tests/tasks/create_and_remove_interface.yml:9 Tuesday 19 December 2023 23:06:49 +0000 (0:00:00.008) 0:00:04.814 ****** included: /WORKDIR/git-route_typehnkcvqlj/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typehnkcvqlj/tests/tasks/show_interfaces.yml:3 Tuesday 19 December 2023 23:06:49 +0000 (0:00:00.015) 0:00:04.829 ****** included: /WORKDIR/git-route_typehnkcvqlj/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typehnkcvqlj/tests/tasks/get_current_interfaces.yml:3 Tuesday 19 December 2023 23:06:49 +0000 (0:00:00.009) 0:00:04.839 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003952", "end": "2023-12-19 23:06:49.315717", "rc": 0, "start": "2023-12-19 23:06:49.311765" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typehnkcvqlj/tests/tasks/get_current_interfaces.yml:9 Tuesday 19 December 2023 23:06:49 +0000 (0:00:00.228) 0:00:05.067 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typehnkcvqlj/tests/tasks/show_interfaces.yml:5 Tuesday 19 December 2023 23:06:49 +0000 (0:00:00.010) 0:00:05.077 ****** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Include the task 'assert_device_absent.yml'] ***************************** task path: /WORKDIR/git-route_typehnkcvqlj/tests/tasks/create_and_remove_interface.yml:11 Tuesday 19 December 2023 23:06:49 +0000 (0:00:00.009) 0:00:05.086 ****** included: /WORKDIR/git-route_typehnkcvqlj/tests/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_typehnkcvqlj/tests/tasks/assert_device_absent.yml:3 Tuesday 19 December 2023 23:06:49 +0000 (0:00:00.014) 0:00:05.101 ****** included: /WORKDIR/git-route_typehnkcvqlj/tests/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth1298] ***************************************** task path: /WORKDIR/git-route_typehnkcvqlj/tests/tasks/get_interface_stat.yml:3 Tuesday 19 December 2023 23:06:49 +0000 (0:00:00.010) 0:00:05.112 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'veth1298'] ************************ task path: /WORKDIR/git-route_typehnkcvqlj/tests/tasks/assert_device_absent.yml:5 Tuesday 19 December 2023 23:06:49 +0000 (0:00:00.205) 0:00:05.317 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-route_typehnkcvqlj/tests/tasks/create_and_remove_interface.yml:14 Tuesday 19 December 2023 23:06:49 +0000 (0:00:00.011) 0:00:05.328 ****** included: /WORKDIR/git-route_typehnkcvqlj/tests/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-route_typehnkcvqlj/tests/tasks/manage_test_interface.yml:3 Tuesday 19 December 2023 23:06:49 +0000 (0:00:00.015) 0:00:05.343 ****** 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_typehnkcvqlj/tests/tasks/manage_test_interface.yml:8 Tuesday 19 December 2023 23:06:49 +0000 (0:00:00.007) 0:00:05.351 ****** 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_typehnkcvqlj/tests/tasks/manage_test_interface.yml:13 Tuesday 19 December 2023 23:06:49 +0000 (0:00:00.007) 0:00:05.358 ****** included: /WORKDIR/git-route_typehnkcvqlj/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typehnkcvqlj/tests/tasks/show_interfaces.yml:3 Tuesday 19 December 2023 23:06:49 +0000 (0:00:00.010) 0:00:05.369 ****** included: /WORKDIR/git-route_typehnkcvqlj/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typehnkcvqlj/tests/tasks/get_current_interfaces.yml:3 Tuesday 19 December 2023 23:06:49 +0000 (0:00:00.009) 0:00:05.378 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003922", "end": "2023-12-19 23:06:49.837073", "rc": 0, "start": "2023-12-19 23:06:49.833151" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typehnkcvqlj/tests/tasks/get_current_interfaces.yml:9 Tuesday 19 December 2023 23:06:49 +0000 (0:00:00.208) 0:00:05.587 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typehnkcvqlj/tests/tasks/show_interfaces.yml:5 Tuesday 19 December 2023 23:06:49 +0000 (0:00:00.012) 0:00:05.599 ****** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-route_typehnkcvqlj/tests/tasks/manage_test_interface.yml:16 Tuesday 19 December 2023 23:06:49 +0000 (0:00:00.008) 0:00:05.608 ****** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth1298] ****************************************** task path: /WORKDIR/git-route_typehnkcvqlj/tests/tasks/manage_test_interface.yml:23 Tuesday 19 December 2023 23:06:52 +0000 (0:00:02.236) 0:00:07.845 ****** 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.006187", "end": "2023-12-19 23:06:52.313307", "item": "ip link add veth1298 type veth peer name peerveth1298", "rc": 0, "start": "2023-12-19 23:06:52.307120" } ok: [sut] => (item=ip link set peerveth1298 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peerveth1298", "up" ], "delta": "0:00:00.004242", "end": "2023-12-19 23:06:52.575686", "item": "ip link set peerveth1298 up", "rc": 0, "start": "2023-12-19 23:06:52.571444" } ok: [sut] => (item=ip link set veth1298 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "veth1298", "up" ], "delta": "0:00:00.004335", "end": "2023-12-19 23:06:52.782441", "item": "ip link set veth1298 up", "rc": 0, "start": "2023-12-19 23:06:52.778106" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-route_typehnkcvqlj/tests/tasks/manage_test_interface.yml:31 Tuesday 19 December 2023 23:06:52 +0000 (0:00:00.697) 0:00:08.543 ****** ok: [sut] => { "changed": false, "cmd": [ "nmcli", "d", "set", "veth1298", "managed", "true" ], "delta": "0:00:00.024127", "end": "2023-12-19 23:06:53.024233", "rc": 0, "start": "2023-12-19 23:06:53.000106" } TASK [Delete veth interface veth1298] ****************************************** task path: /WORKDIR/git-route_typehnkcvqlj/tests/tasks/manage_test_interface.yml:39 Tuesday 19 December 2023 23:06:53 +0000 (0:00:00.234) 0:00:08.777 ****** 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_typehnkcvqlj/tests/tasks/manage_test_interface.yml:45 Tuesday 19 December 2023 23:06:53 +0000 (0:00:00.008) 0:00:08.785 ****** 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_typehnkcvqlj/tests/tasks/manage_test_interface.yml:50 Tuesday 19 December 2023 23:06:53 +0000 (0:00:00.008) 0:00:08.793 ****** 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_typehnkcvqlj/tests/tasks/manage_test_interface.yml:56 Tuesday 19 December 2023 23:06:53 +0000 (0:00:00.008) 0:00:08.802 ****** 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_typehnkcvqlj/tests/tasks/manage_test_interface.yml:61 Tuesday 19 December 2023 23:06:53 +0000 (0:00:00.016) 0:00:08.819 ****** 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_typehnkcvqlj/tests/tasks/create_and_remove_interface.yml:18 Tuesday 19 December 2023 23:06:53 +0000 (0:00:00.015) 0:00:08.834 ****** included: /WORKDIR/git-route_typehnkcvqlj/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typehnkcvqlj/tests/tasks/show_interfaces.yml:3 Tuesday 19 December 2023 23:06:53 +0000 (0:00:00.016) 0:00:08.850 ****** included: /WORKDIR/git-route_typehnkcvqlj/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typehnkcvqlj/tests/tasks/get_current_interfaces.yml:3 Tuesday 19 December 2023 23:06:53 +0000 (0:00:00.009) 0:00:08.860 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.004021", "end": "2023-12-19 23:06:53.320784", "rc": 0, "start": "2023-12-19 23:06:53.316763" } STDOUT: bonding_masters eth0 lo peerveth1298 veth1298 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typehnkcvqlj/tests/tasks/get_current_interfaces.yml:9 Tuesday 19 December 2023 23:06:53 +0000 (0:00:00.216) 0:00:09.077 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "peerveth1298", "veth1298" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typehnkcvqlj/tests/tasks/show_interfaces.yml:5 Tuesday 19 December 2023 23:06:53 +0000 (0:00:00.010) 0:00:09.087 ****** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'peerveth1298', 'veth1298'] TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-route_typehnkcvqlj/tests/tasks/create_and_remove_interface.yml:20 Tuesday 19 December 2023 23:06:53 +0000 (0:00:00.010) 0:00:09.097 ****** included: /WORKDIR/git-route_typehnkcvqlj/tests/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_typehnkcvqlj/tests/tasks/assert_device_present.yml:3 Tuesday 19 December 2023 23:06:53 +0000 (0:00:00.016) 0:00:09.114 ****** included: /WORKDIR/git-route_typehnkcvqlj/tests/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth1298] ***************************************** task path: /WORKDIR/git-route_typehnkcvqlj/tests/tasks/get_interface_stat.yml:3 Tuesday 19 December 2023 23:06:53 +0000 (0:00:00.011) 0:00:09.125 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1703027212.3111799, "block_size": 4096, "blocks": 0, "ctime": 1703027212.3111799, "dev": 22, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 35662, "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": 1703027212.3111799, "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_typehnkcvqlj/tests/tasks/assert_device_present.yml:5 Tuesday 19 December 2023 23:06:53 +0000 (0:00:00.211) 0:00:09.337 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-route_typehnkcvqlj/tests/tasks/create_and_remove_interface.yml:23 Tuesday 19 December 2023 23:06:53 +0000 (0:00:00.021) 0:00:09.359 ****** included: /WORKDIR/git-route_typehnkcvqlj/tests/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-route_typehnkcvqlj/tests/tasks/manage_test_interface.yml:3 Tuesday 19 December 2023 23:06:53 +0000 (0:00:00.020) 0:00:09.380 ****** 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_typehnkcvqlj/tests/tasks/manage_test_interface.yml:8 Tuesday 19 December 2023 23:06:53 +0000 (0:00:00.010) 0:00:09.390 ****** 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_typehnkcvqlj/tests/tasks/manage_test_interface.yml:13 Tuesday 19 December 2023 23:06:53 +0000 (0:00:00.007) 0:00:09.397 ****** included: /WORKDIR/git-route_typehnkcvqlj/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typehnkcvqlj/tests/tasks/show_interfaces.yml:3 Tuesday 19 December 2023 23:06:53 +0000 (0:00:00.010) 0:00:09.408 ****** included: /WORKDIR/git-route_typehnkcvqlj/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typehnkcvqlj/tests/tasks/get_current_interfaces.yml:3 Tuesday 19 December 2023 23:06:53 +0000 (0:00:00.009) 0:00:09.418 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003851", "end": "2023-12-19 23:06:53.879472", "rc": 0, "start": "2023-12-19 23:06:53.875621" } STDOUT: bonding_masters eth0 lo peerveth1298 veth1298 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typehnkcvqlj/tests/tasks/get_current_interfaces.yml:9 Tuesday 19 December 2023 23:06:53 +0000 (0:00:00.228) 0:00:09.646 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "peerveth1298", "veth1298" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typehnkcvqlj/tests/tasks/show_interfaces.yml:5 Tuesday 19 December 2023 23:06:53 +0000 (0:00:00.023) 0:00:09.670 ****** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'peerveth1298', 'veth1298'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-route_typehnkcvqlj/tests/tasks/manage_test_interface.yml:16 Tuesday 19 December 2023 23:06:53 +0000 (0:00:00.019) 0:00:09.689 ****** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth1298] ****************************************** task path: /WORKDIR/git-route_typehnkcvqlj/tests/tasks/manage_test_interface.yml:23 Tuesday 19 December 2023 23:06:56 +0000 (0:00:02.313) 0:00:12.002 ****** 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_typehnkcvqlj/tests/tasks/manage_test_interface.yml:31 Tuesday 19 December 2023 23:06:56 +0000 (0:00:00.014) 0:00:12.017 ****** 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_typehnkcvqlj/tests/tasks/manage_test_interface.yml:39 Tuesday 19 December 2023 23:06:56 +0000 (0:00:00.008) 0:00:12.025 ****** ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "veth1298", "type", "veth" ], "delta": "0:00:00.014063", "end": "2023-12-19 23:06:56.504026", "rc": 0, "start": "2023-12-19 23:06:56.489963" } TASK [Create dummy interface veth1298] ***************************************** task path: /WORKDIR/git-route_typehnkcvqlj/tests/tasks/manage_test_interface.yml:45 Tuesday 19 December 2023 23:06:56 +0000 (0:00:00.238) 0:00:12.264 ****** 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_typehnkcvqlj/tests/tasks/manage_test_interface.yml:50 Tuesday 19 December 2023 23:06:56 +0000 (0:00:00.011) 0:00:12.275 ****** 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_typehnkcvqlj/tests/tasks/manage_test_interface.yml:56 Tuesday 19 December 2023 23:06:56 +0000 (0:00:00.009) 0:00:12.285 ****** 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_typehnkcvqlj/tests/tasks/manage_test_interface.yml:61 Tuesday 19 December 2023 23:06:56 +0000 (0:00:00.009) 0:00:12.295 ****** 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_typehnkcvqlj/tests/tasks/create_and_remove_interface.yml:27 Tuesday 19 December 2023 23:06:56 +0000 (0:00:00.007) 0:00:12.302 ****** included: /WORKDIR/git-route_typehnkcvqlj/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typehnkcvqlj/tests/tasks/show_interfaces.yml:3 Tuesday 19 December 2023 23:06:56 +0000 (0:00:00.018) 0:00:12.321 ****** included: /WORKDIR/git-route_typehnkcvqlj/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typehnkcvqlj/tests/tasks/get_current_interfaces.yml:3 Tuesday 19 December 2023 23:06:56 +0000 (0:00:00.010) 0:00:12.332 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.004022", "end": "2023-12-19 23:06:56.793627", "rc": 0, "start": "2023-12-19 23:06:56.789605" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typehnkcvqlj/tests/tasks/get_current_interfaces.yml:9 Tuesday 19 December 2023 23:06:56 +0000 (0:00:00.215) 0:00:12.547 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typehnkcvqlj/tests/tasks/show_interfaces.yml:5 Tuesday 19 December 2023 23:06:56 +0000 (0:00:00.010) 0:00:12.557 ****** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Include the task 'assert_device_absent.yml'] ***************************** task path: /WORKDIR/git-route_typehnkcvqlj/tests/tasks/create_and_remove_interface.yml:29 Tuesday 19 December 2023 23:06:56 +0000 (0:00:00.010) 0:00:12.567 ****** included: /WORKDIR/git-route_typehnkcvqlj/tests/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_typehnkcvqlj/tests/tasks/assert_device_absent.yml:3 Tuesday 19 December 2023 23:06:56 +0000 (0:00:00.019) 0:00:12.586 ****** included: /WORKDIR/git-route_typehnkcvqlj/tests/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth1298] ***************************************** task path: /WORKDIR/git-route_typehnkcvqlj/tests/tasks/get_interface_stat.yml:3 Tuesday 19 December 2023 23:06:56 +0000 (0:00:00.010) 0:00:12.596 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'veth1298'] ************************ task path: /WORKDIR/git-route_typehnkcvqlj/tests/tasks/assert_device_absent.yml:5 Tuesday 19 December 2023 23:06:57 +0000 (0:00:00.210) 0:00:12.807 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test veth interface management] ****************************************** task path: /WORKDIR/git-route_typehnkcvqlj/tests/tests_helpers_and_asserts.yml:15 Tuesday 19 December 2023 23:06:57 +0000 (0:00:00.010) 0:00:12.818 ****** included: /WORKDIR/git-route_typehnkcvqlj/tests/tasks/create_and_remove_interface.yml for sut TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-route_typehnkcvqlj/tests/tasks/create_and_remove_interface.yml:3 Tuesday 19 December 2023 23:06:57 +0000 (0:00:00.013) 0:00:12.831 ****** included: /WORKDIR/git-route_typehnkcvqlj/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typehnkcvqlj/tests/tasks/show_interfaces.yml:3 Tuesday 19 December 2023 23:06:57 +0000 (0:00:00.010) 0:00:12.841 ****** included: /WORKDIR/git-route_typehnkcvqlj/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typehnkcvqlj/tests/tasks/get_current_interfaces.yml:3 Tuesday 19 December 2023 23:06:57 +0000 (0:00:00.009) 0:00:12.851 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003977", "end": "2023-12-19 23:06:57.315754", "rc": 0, "start": "2023-12-19 23:06:57.311777" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typehnkcvqlj/tests/tasks/get_current_interfaces.yml:9 Tuesday 19 December 2023 23:06:57 +0000 (0:00:00.217) 0:00:13.068 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typehnkcvqlj/tests/tasks/show_interfaces.yml:5 Tuesday 19 December 2023 23:06:57 +0000 (0:00:00.011) 0:00:13.079 ****** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-route_typehnkcvqlj/tests/tasks/create_and_remove_interface.yml:5 Tuesday 19 December 2023 23:06:57 +0000 (0:00:00.009) 0:00:13.088 ****** included: /WORKDIR/git-route_typehnkcvqlj/tests/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-route_typehnkcvqlj/tests/tasks/manage_test_interface.yml:3 Tuesday 19 December 2023 23:06:57 +0000 (0:00:00.013) 0:00:13.102 ****** 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_typehnkcvqlj/tests/tasks/manage_test_interface.yml:8 Tuesday 19 December 2023 23:06:57 +0000 (0:00:00.007) 0:00:13.109 ****** 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_typehnkcvqlj/tests/tasks/manage_test_interface.yml:13 Tuesday 19 December 2023 23:06:57 +0000 (0:00:00.007) 0:00:13.117 ****** included: /WORKDIR/git-route_typehnkcvqlj/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typehnkcvqlj/tests/tasks/show_interfaces.yml:3 Tuesday 19 December 2023 23:06:57 +0000 (0:00:00.010) 0:00:13.128 ****** included: /WORKDIR/git-route_typehnkcvqlj/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typehnkcvqlj/tests/tasks/get_current_interfaces.yml:3 Tuesday 19 December 2023 23:06:57 +0000 (0:00:00.009) 0:00:13.137 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.004285", "end": "2023-12-19 23:06:57.599507", "rc": 0, "start": "2023-12-19 23:06:57.595222" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typehnkcvqlj/tests/tasks/get_current_interfaces.yml:9 Tuesday 19 December 2023 23:06:57 +0000 (0:00:00.214) 0:00:13.352 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typehnkcvqlj/tests/tasks/show_interfaces.yml:5 Tuesday 19 December 2023 23:06:57 +0000 (0:00:00.010) 0:00:13.362 ****** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-route_typehnkcvqlj/tests/tasks/manage_test_interface.yml:16 Tuesday 19 December 2023 23:06:57 +0000 (0:00:00.009) 0:00:13.372 ****** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface dummy1298] ***************************************** task path: /WORKDIR/git-route_typehnkcvqlj/tests/tasks/manage_test_interface.yml:23 Tuesday 19 December 2023 23:07:00 +0000 (0:00:02.426) 0:00:15.798 ****** 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_typehnkcvqlj/tests/tasks/manage_test_interface.yml:31 Tuesday 19 December 2023 23:07:00 +0000 (0:00:00.014) 0:00:15.813 ****** 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_typehnkcvqlj/tests/tasks/manage_test_interface.yml:39 Tuesday 19 December 2023 23:07:00 +0000 (0:00:00.011) 0:00:15.824 ****** 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_typehnkcvqlj/tests/tasks/manage_test_interface.yml:45 Tuesday 19 December 2023 23:07:00 +0000 (0:00:00.014) 0:00:15.839 ****** 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_typehnkcvqlj/tests/tasks/manage_test_interface.yml:50 Tuesday 19 December 2023 23:07:00 +0000 (0:00:00.016) 0:00:15.855 ****** 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_typehnkcvqlj/tests/tasks/manage_test_interface.yml:56 Tuesday 19 December 2023 23:07:00 +0000 (0:00:00.010) 0:00:15.865 ****** 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_typehnkcvqlj/tests/tasks/manage_test_interface.yml:61 Tuesday 19 December 2023 23:07:00 +0000 (0:00:00.016) 0:00:15.881 ****** 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_typehnkcvqlj/tests/tasks/create_and_remove_interface.yml:9 Tuesday 19 December 2023 23:07:00 +0000 (0:00:00.008) 0:00:15.890 ****** included: /WORKDIR/git-route_typehnkcvqlj/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typehnkcvqlj/tests/tasks/show_interfaces.yml:3 Tuesday 19 December 2023 23:07:00 +0000 (0:00:00.021) 0:00:15.911 ****** included: /WORKDIR/git-route_typehnkcvqlj/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typehnkcvqlj/tests/tasks/get_current_interfaces.yml:3 Tuesday 19 December 2023 23:07:00 +0000 (0:00:00.023) 0:00:15.935 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.004117", "end": "2023-12-19 23:07:00.406477", "rc": 0, "start": "2023-12-19 23:07:00.402360" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typehnkcvqlj/tests/tasks/get_current_interfaces.yml:9 Tuesday 19 December 2023 23:07:00 +0000 (0:00:00.225) 0:00:16.160 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typehnkcvqlj/tests/tasks/show_interfaces.yml:5 Tuesday 19 December 2023 23:07:00 +0000 (0:00:00.010) 0:00:16.171 ****** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Include the task 'assert_device_absent.yml'] ***************************** task path: /WORKDIR/git-route_typehnkcvqlj/tests/tasks/create_and_remove_interface.yml:11 Tuesday 19 December 2023 23:07:00 +0000 (0:00:00.010) 0:00:16.181 ****** included: /WORKDIR/git-route_typehnkcvqlj/tests/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_typehnkcvqlj/tests/tasks/assert_device_absent.yml:3 Tuesday 19 December 2023 23:07:00 +0000 (0:00:00.013) 0:00:16.195 ****** included: /WORKDIR/git-route_typehnkcvqlj/tests/tasks/get_interface_stat.yml for sut TASK [Get stat for interface dummy1298] **************************************** task path: /WORKDIR/git-route_typehnkcvqlj/tests/tasks/get_interface_stat.yml:3 Tuesday 19 December 2023 23:07:00 +0000 (0:00:00.010) 0:00:16.205 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'dummy1298'] *********************** task path: /WORKDIR/git-route_typehnkcvqlj/tests/tasks/assert_device_absent.yml:5 Tuesday 19 December 2023 23:07:00 +0000 (0:00:00.230) 0:00:16.436 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-route_typehnkcvqlj/tests/tasks/create_and_remove_interface.yml:14 Tuesday 19 December 2023 23:07:00 +0000 (0:00:00.014) 0:00:16.450 ****** included: /WORKDIR/git-route_typehnkcvqlj/tests/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-route_typehnkcvqlj/tests/tasks/manage_test_interface.yml:3 Tuesday 19 December 2023 23:07:00 +0000 (0:00:00.017) 0:00:16.467 ****** 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_typehnkcvqlj/tests/tasks/manage_test_interface.yml:8 Tuesday 19 December 2023 23:07:00 +0000 (0:00:00.007) 0:00:16.475 ****** 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_typehnkcvqlj/tests/tasks/manage_test_interface.yml:13 Tuesday 19 December 2023 23:07:00 +0000 (0:00:00.007) 0:00:16.483 ****** included: /WORKDIR/git-route_typehnkcvqlj/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typehnkcvqlj/tests/tasks/show_interfaces.yml:3 Tuesday 19 December 2023 23:07:00 +0000 (0:00:00.011) 0:00:16.494 ****** included: /WORKDIR/git-route_typehnkcvqlj/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typehnkcvqlj/tests/tasks/get_current_interfaces.yml:3 Tuesday 19 December 2023 23:07:00 +0000 (0:00:00.009) 0:00:16.503 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.004225", "end": "2023-12-19 23:07:00.974646", "rc": 0, "start": "2023-12-19 23:07:00.970421" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typehnkcvqlj/tests/tasks/get_current_interfaces.yml:9 Tuesday 19 December 2023 23:07:00 +0000 (0:00:00.222) 0:00:16.726 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typehnkcvqlj/tests/tasks/show_interfaces.yml:5 Tuesday 19 December 2023 23:07:01 +0000 (0:00:00.010) 0:00:16.736 ****** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-route_typehnkcvqlj/tests/tasks/manage_test_interface.yml:16 Tuesday 19 December 2023 23:07:01 +0000 (0:00:00.008) 0:00:16.745 ****** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface dummy1298] ***************************************** task path: /WORKDIR/git-route_typehnkcvqlj/tests/tasks/manage_test_interface.yml:23 Tuesday 19 December 2023 23:07:03 +0000 (0:00:02.413) 0:00:19.158 ****** 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_typehnkcvqlj/tests/tasks/manage_test_interface.yml:31 Tuesday 19 December 2023 23:07:03 +0000 (0:00:00.015) 0:00:19.173 ****** 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_typehnkcvqlj/tests/tasks/manage_test_interface.yml:39 Tuesday 19 December 2023 23:07:03 +0000 (0:00:00.009) 0:00:19.183 ****** 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_typehnkcvqlj/tests/tasks/manage_test_interface.yml:45 Tuesday 19 December 2023 23:07:03 +0000 (0:00:00.010) 0:00:19.193 ****** ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "add", "dummy1298", "type", "dummy" ], "delta": "0:00:00.006231", "end": "2023-12-19 23:07:03.663134", "rc": 0, "start": "2023-12-19 23:07:03.656903" } TASK [Delete dummy interface dummy1298] **************************************** task path: /WORKDIR/git-route_typehnkcvqlj/tests/tasks/manage_test_interface.yml:50 Tuesday 19 December 2023 23:07:03 +0000 (0:00:00.236) 0:00:19.430 ****** 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_typehnkcvqlj/tests/tasks/manage_test_interface.yml:56 Tuesday 19 December 2023 23:07:03 +0000 (0:00:00.010) 0:00:19.440 ****** 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_typehnkcvqlj/tests/tasks/manage_test_interface.yml:61 Tuesday 19 December 2023 23:07:03 +0000 (0:00:00.009) 0:00:19.450 ****** 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_typehnkcvqlj/tests/tasks/create_and_remove_interface.yml:18 Tuesday 19 December 2023 23:07:03 +0000 (0:00:00.008) 0:00:19.459 ****** included: /WORKDIR/git-route_typehnkcvqlj/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typehnkcvqlj/tests/tasks/show_interfaces.yml:3 Tuesday 19 December 2023 23:07:03 +0000 (0:00:00.015) 0:00:19.474 ****** included: /WORKDIR/git-route_typehnkcvqlj/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typehnkcvqlj/tests/tasks/get_current_interfaces.yml:3 Tuesday 19 December 2023 23:07:03 +0000 (0:00:00.009) 0:00:19.484 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.004231", "end": "2023-12-19 23:07:03.953164", "rc": 0, "start": "2023-12-19 23:07:03.948933" } STDOUT: bonding_masters dummy1298 eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typehnkcvqlj/tests/tasks/get_current_interfaces.yml:9 Tuesday 19 December 2023 23:07:03 +0000 (0:00:00.220) 0:00:19.705 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "dummy1298", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typehnkcvqlj/tests/tasks/show_interfaces.yml:5 Tuesday 19 December 2023 23:07:03 +0000 (0:00:00.011) 0:00:19.717 ****** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'dummy1298', 'eth0', 'lo'] TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-route_typehnkcvqlj/tests/tasks/create_and_remove_interface.yml:20 Tuesday 19 December 2023 23:07:04 +0000 (0:00:00.010) 0:00:19.727 ****** included: /WORKDIR/git-route_typehnkcvqlj/tests/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_typehnkcvqlj/tests/tasks/assert_device_present.yml:3 Tuesday 19 December 2023 23:07:04 +0000 (0:00:00.018) 0:00:19.745 ****** included: /WORKDIR/git-route_typehnkcvqlj/tests/tasks/get_interface_stat.yml for sut TASK [Get stat for interface dummy1298] **************************************** task path: /WORKDIR/git-route_typehnkcvqlj/tests/tasks/get_interface_stat.yml:3 Tuesday 19 December 2023 23:07:04 +0000 (0:00:00.011) 0:00:19.756 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1703027223.6607392, "block_size": 4096, "blocks": 0, "ctime": 1703027223.6607392, "dev": 22, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 35955, "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": 1703027223.6607392, "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_typehnkcvqlj/tests/tasks/assert_device_present.yml:5 Tuesday 19 December 2023 23:07:04 +0000 (0:00:00.216) 0:00:19.973 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-route_typehnkcvqlj/tests/tasks/create_and_remove_interface.yml:23 Tuesday 19 December 2023 23:07:04 +0000 (0:00:00.012) 0:00:19.986 ****** included: /WORKDIR/git-route_typehnkcvqlj/tests/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-route_typehnkcvqlj/tests/tasks/manage_test_interface.yml:3 Tuesday 19 December 2023 23:07:04 +0000 (0:00:00.021) 0:00:20.007 ****** 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_typehnkcvqlj/tests/tasks/manage_test_interface.yml:8 Tuesday 19 December 2023 23:07:04 +0000 (0:00:00.017) 0:00:20.025 ****** 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_typehnkcvqlj/tests/tasks/manage_test_interface.yml:13 Tuesday 19 December 2023 23:07:04 +0000 (0:00:00.009) 0:00:20.034 ****** included: /WORKDIR/git-route_typehnkcvqlj/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typehnkcvqlj/tests/tasks/show_interfaces.yml:3 Tuesday 19 December 2023 23:07:04 +0000 (0:00:00.012) 0:00:20.047 ****** included: /WORKDIR/git-route_typehnkcvqlj/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typehnkcvqlj/tests/tasks/get_current_interfaces.yml:3 Tuesday 19 December 2023 23:07:04 +0000 (0:00:00.010) 0:00:20.057 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.004105", "end": "2023-12-19 23:07:04.528536", "rc": 0, "start": "2023-12-19 23:07:04.524431" } STDOUT: bonding_masters dummy1298 eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typehnkcvqlj/tests/tasks/get_current_interfaces.yml:9 Tuesday 19 December 2023 23:07:04 +0000 (0:00:00.225) 0:00:20.282 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "dummy1298", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typehnkcvqlj/tests/tasks/show_interfaces.yml:5 Tuesday 19 December 2023 23:07:04 +0000 (0:00:00.011) 0:00:20.293 ****** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'dummy1298', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-route_typehnkcvqlj/tests/tasks/manage_test_interface.yml:16 Tuesday 19 December 2023 23:07:04 +0000 (0:00:00.010) 0:00:20.304 ****** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface dummy1298] ***************************************** task path: /WORKDIR/git-route_typehnkcvqlj/tests/tasks/manage_test_interface.yml:23 Tuesday 19 December 2023 23:07:06 +0000 (0:00:02.338) 0:00:22.643 ****** 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_typehnkcvqlj/tests/tasks/manage_test_interface.yml:31 Tuesday 19 December 2023 23:07:06 +0000 (0:00:00.020) 0:00:22.663 ****** 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_typehnkcvqlj/tests/tasks/manage_test_interface.yml:39 Tuesday 19 December 2023 23:07:06 +0000 (0:00:00.011) 0:00:22.675 ****** 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_typehnkcvqlj/tests/tasks/manage_test_interface.yml:45 Tuesday 19 December 2023 23:07:06 +0000 (0:00:00.014) 0:00:22.690 ****** 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_typehnkcvqlj/tests/tasks/manage_test_interface.yml:50 Tuesday 19 December 2023 23:07:06 +0000 (0:00:00.020) 0:00:22.710 ****** ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "dummy1298", "type", "dummy" ], "delta": "0:00:00.008237", "end": "2023-12-19 23:07:07.185411", "rc": 0, "start": "2023-12-19 23:07:07.177174" } TASK [Create tap interface dummy1298] ****************************************** task path: /WORKDIR/git-route_typehnkcvqlj/tests/tasks/manage_test_interface.yml:56 Tuesday 19 December 2023 23:07:07 +0000 (0:00:00.235) 0:00:22.945 ****** 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_typehnkcvqlj/tests/tasks/manage_test_interface.yml:61 Tuesday 19 December 2023 23:07:07 +0000 (0:00:00.008) 0:00:22.954 ****** 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_typehnkcvqlj/tests/tasks/create_and_remove_interface.yml:27 Tuesday 19 December 2023 23:07:07 +0000 (0:00:00.008) 0:00:22.962 ****** included: /WORKDIR/git-route_typehnkcvqlj/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typehnkcvqlj/tests/tasks/show_interfaces.yml:3 Tuesday 19 December 2023 23:07:07 +0000 (0:00:00.020) 0:00:22.983 ****** included: /WORKDIR/git-route_typehnkcvqlj/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typehnkcvqlj/tests/tasks/get_current_interfaces.yml:3 Tuesday 19 December 2023 23:07:07 +0000 (0:00:00.012) 0:00:22.995 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.004178", "end": "2023-12-19 23:07:07.479693", "rc": 0, "start": "2023-12-19 23:07:07.475515" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typehnkcvqlj/tests/tasks/get_current_interfaces.yml:9 Tuesday 19 December 2023 23:07:07 +0000 (0:00:00.251) 0:00:23.247 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typehnkcvqlj/tests/tasks/show_interfaces.yml:5 Tuesday 19 December 2023 23:07:07 +0000 (0:00:00.010) 0:00:23.257 ****** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Include the task 'assert_device_absent.yml'] ***************************** task path: /WORKDIR/git-route_typehnkcvqlj/tests/tasks/create_and_remove_interface.yml:29 Tuesday 19 December 2023 23:07:07 +0000 (0:00:00.009) 0:00:23.267 ****** included: /WORKDIR/git-route_typehnkcvqlj/tests/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_typehnkcvqlj/tests/tasks/assert_device_absent.yml:3 Tuesday 19 December 2023 23:07:07 +0000 (0:00:00.019) 0:00:23.286 ****** included: /WORKDIR/git-route_typehnkcvqlj/tests/tasks/get_interface_stat.yml for sut TASK [Get stat for interface dummy1298] **************************************** task path: /WORKDIR/git-route_typehnkcvqlj/tests/tasks/get_interface_stat.yml:3 Tuesday 19 December 2023 23:07:07 +0000 (0:00:00.010) 0:00:23.297 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'dummy1298'] *********************** task path: /WORKDIR/git-route_typehnkcvqlj/tests/tasks/assert_device_absent.yml:5 Tuesday 19 December 2023 23:07:07 +0000 (0:00:00.214) 0:00:23.511 ****** 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 Tuesday 19 December 2023 23:07:07 +0000 (0:00:00.015) 0:00:23.527 ****** =============================================================================== Install iproute --------------------------------------------------------- 2.43s /WORKDIR/git-route_typehnkcvqlj/tests/tasks/manage_test_interface.yml:16 ------ Install iproute --------------------------------------------------------- 2.43s /WORKDIR/git-route_typehnkcvqlj/tests/tasks/manage_test_interface.yml:16 ------ Install iproute --------------------------------------------------------- 2.41s /WORKDIR/git-route_typehnkcvqlj/tests/tasks/manage_test_interface.yml:16 ------ Install iproute --------------------------------------------------------- 2.34s /WORKDIR/git-route_typehnkcvqlj/tests/tasks/manage_test_interface.yml:16 ------ Install iproute --------------------------------------------------------- 2.31s /WORKDIR/git-route_typehnkcvqlj/tests/tasks/manage_test_interface.yml:16 ------ Install iproute --------------------------------------------------------- 2.24s /WORKDIR/git-route_typehnkcvqlj/tests/tasks/manage_test_interface.yml:16 ------ Gathering Facts --------------------------------------------------------- 0.92s /WORKDIR/git-route_typehnkcvqlj/tests/tests_helpers_and_asserts.yml:3 --------- Create veth interface veth1298 ------------------------------------------ 0.70s /WORKDIR/git-route_typehnkcvqlj/tests/tasks/manage_test_interface.yml:23 ------ Gather the minimum subset of ansible_facts required by the network role test --- 0.37s /WORKDIR/git-route_typehnkcvqlj/tests/tasks/el_repo_setup.yml:3 --------------- Gather current interface info ------------------------------------------- 0.27s /WORKDIR/git-route_typehnkcvqlj/tests/tasks/get_current_interfaces.yml:3 ------ Check if system is ostree ----------------------------------------------- 0.27s /WORKDIR/git-route_typehnkcvqlj/tests/tasks/el_repo_setup.yml:17 -------------- Gather current interface info ------------------------------------------- 0.25s /WORKDIR/git-route_typehnkcvqlj/tests/tasks/get_current_interfaces.yml:3 ------ Delete veth interface veth1298 ------------------------------------------ 0.24s /WORKDIR/git-route_typehnkcvqlj/tests/tasks/manage_test_interface.yml:39 ------ Create dummy interface dummy1298 ---------------------------------------- 0.24s /WORKDIR/git-route_typehnkcvqlj/tests/tasks/manage_test_interface.yml:45 ------ Delete dummy interface dummy1298 ---------------------------------------- 0.24s /WORKDIR/git-route_typehnkcvqlj/tests/tasks/manage_test_interface.yml:50 ------ Set up veth as managed by NetworkManager -------------------------------- 0.23s /WORKDIR/git-route_typehnkcvqlj/tests/tasks/manage_test_interface.yml:31 ------ Get stat for interface dummy1298 ---------------------------------------- 0.23s /WORKDIR/git-route_typehnkcvqlj/tests/tasks/get_interface_stat.yml:3 ---------- Gather current interface info ------------------------------------------- 0.23s /WORKDIR/git-route_typehnkcvqlj/tests/tasks/get_current_interfaces.yml:3 ------ Gather current interface info ------------------------------------------- 0.23s /WORKDIR/git-route_typehnkcvqlj/tests/tasks/get_current_interfaces.yml:3 ------ Gather current interface info ------------------------------------------- 0.23s /WORKDIR/git-route_typehnkcvqlj/tests/tasks/get_current_interfaces.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. ---^---^---^---^---^---