# 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_typepr8wqiur/.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_typepr8wqiur/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_typepr8wqiur/tests/tests_helpers_and_asserts.yml:3 Wednesday 10 January 2024 18:22:58 +0000 (0:00:00.033) 0:00:00.033 ***** ok: [sut] TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-route_typepr8wqiur/tests/tests_helpers_and_asserts.yml:6 Wednesday 10 January 2024 18:22:59 +0000 (0:00:00.950) 0:00:00.983 ***** included: /WORKDIR/git-route_typepr8wqiur/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_typepr8wqiur/tests/tasks/el_repo_setup.yml:3 Wednesday 10 January 2024 18:22:59 +0000 (0:00:00.020) 0:00:01.003 ***** ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-route_typepr8wqiur/tests/tasks/el_repo_setup.yml:17 Wednesday 10 January 2024 18:23:00 +0000 (0:00:00.439) 0:00:01.443 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-route_typepr8wqiur/tests/tasks/el_repo_setup.yml:22 Wednesday 10 January 2024 18:23:00 +0000 (0:00:00.289) 0:00:01.732 ***** ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-route_typepr8wqiur/tests/tasks/el_repo_setup.yml:26 Wednesday 10 January 2024 18:23:00 +0000 (0:00:00.020) 0:00:01.753 ***** 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_typepr8wqiur/tests/tasks/el_repo_setup.yml:51 Wednesday 10 January 2024 18:23:00 +0000 (0:00:00.007) 0:00:01.761 ***** included: /WORKDIR/git-route_typepr8wqiur/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 39] ********************************************************** task path: /WORKDIR/git-route_typepr8wqiur/tests/tasks/enable_epel.yml:8 Wednesday 10 January 2024 18:23:00 +0000 (0:00:00.021) 0:00:01.782 ***** 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_typepr8wqiur/tests/tasks/enable_epel.yml:24 Wednesday 10 January 2024 18:23:00 +0000 (0:00:00.008) 0:00:01.790 ***** 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_typepr8wqiur/tests/tasks/enable_epel.yml:30 Wednesday 10 January 2024 18:23:00 +0000 (0:00:00.007) 0:00:01.798 ***** 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_typepr8wqiur/tests/tasks/enable_epel.yml:35 Wednesday 10 January 2024 18:23:00 +0000 (0:00:00.007) 0:00:01.805 ***** 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_typepr8wqiur/tests/tasks/enable_epel.yml:40 Wednesday 10 January 2024 18:23:00 +0000 (0:00:00.007) 0:00:01.813 ***** 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_typepr8wqiur/tests/tests_helpers_and_asserts.yml:9 Wednesday 10 January 2024 18:23:00 +0000 (0:00:00.007) 0:00:01.820 ***** included: /WORKDIR/git-route_typepr8wqiur/tests/tasks/create_and_remove_interface.yml for sut TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-route_typepr8wqiur/tests/tasks/create_and_remove_interface.yml:3 Wednesday 10 January 2024 18:23:00 +0000 (0:00:00.011) 0:00:01.832 ***** included: /WORKDIR/git-route_typepr8wqiur/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typepr8wqiur/tests/tasks/show_interfaces.yml:3 Wednesday 10 January 2024 18:23:00 +0000 (0:00:00.011) 0:00:01.843 ***** included: /WORKDIR/git-route_typepr8wqiur/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typepr8wqiur/tests/tasks/get_current_interfaces.yml:3 Wednesday 10 January 2024 18:23:00 +0000 (0:00:00.010) 0:00:01.854 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003604", "end": "2024-01-10 18:23:00.967594", "rc": 0, "start": "2024-01-10 18:23:00.963990" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typepr8wqiur/tests/tasks/get_current_interfaces.yml:9 Wednesday 10 January 2024 18:23:00 +0000 (0:00:00.303) 0:00:02.157 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typepr8wqiur/tests/tasks/show_interfaces.yml:5 Wednesday 10 January 2024 18:23:01 +0000 (0:00:00.010) 0:00:02.168 ***** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-route_typepr8wqiur/tests/tasks/create_and_remove_interface.yml:5 Wednesday 10 January 2024 18:23:01 +0000 (0:00:00.009) 0:00:02.177 ***** included: /WORKDIR/git-route_typepr8wqiur/tests/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-route_typepr8wqiur/tests/tasks/manage_test_interface.yml:3 Wednesday 10 January 2024 18:23:01 +0000 (0:00:00.013) 0:00:02.190 ***** 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_typepr8wqiur/tests/tasks/manage_test_interface.yml:8 Wednesday 10 January 2024 18:23:01 +0000 (0:00:00.008) 0:00:02.199 ***** 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_typepr8wqiur/tests/tasks/manage_test_interface.yml:13 Wednesday 10 January 2024 18:23:01 +0000 (0:00:00.007) 0:00:02.206 ***** included: /WORKDIR/git-route_typepr8wqiur/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typepr8wqiur/tests/tasks/show_interfaces.yml:3 Wednesday 10 January 2024 18:23:01 +0000 (0:00:00.011) 0:00:02.218 ***** included: /WORKDIR/git-route_typepr8wqiur/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typepr8wqiur/tests/tasks/get_current_interfaces.yml:3 Wednesday 10 January 2024 18:23:01 +0000 (0:00:00.010) 0:00:02.228 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003698", "end": "2024-01-10 18:23:01.271710", "rc": 0, "start": "2024-01-10 18:23:01.268012" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typepr8wqiur/tests/tasks/get_current_interfaces.yml:9 Wednesday 10 January 2024 18:23:01 +0000 (0:00:00.235) 0:00:02.463 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typepr8wqiur/tests/tasks/show_interfaces.yml:5 Wednesday 10 January 2024 18:23:01 +0000 (0:00:00.009) 0:00:02.473 ***** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-route_typepr8wqiur/tests/tasks/manage_test_interface.yml:16 Wednesday 10 January 2024 18:23:01 +0000 (0:00:00.009) 0:00:02.483 ***** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth1298] ****************************************** task path: /WORKDIR/git-route_typepr8wqiur/tests/tasks/manage_test_interface.yml:23 Wednesday 10 January 2024 18:23:03 +0000 (0:00:02.010) 0:00:04.493 ***** 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_typepr8wqiur/tests/tasks/manage_test_interface.yml:31 Wednesday 10 January 2024 18:23:03 +0000 (0:00:00.014) 0:00:04.507 ***** 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_typepr8wqiur/tests/tasks/manage_test_interface.yml:39 Wednesday 10 January 2024 18:23:03 +0000 (0:00:00.007) 0:00:04.515 ***** 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_typepr8wqiur/tests/tasks/manage_test_interface.yml:45 Wednesday 10 January 2024 18:23:03 +0000 (0:00:00.011) 0:00:04.527 ***** 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_typepr8wqiur/tests/tasks/manage_test_interface.yml:50 Wednesday 10 January 2024 18:23:03 +0000 (0:00:00.014) 0:00:04.542 ***** 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_typepr8wqiur/tests/tasks/manage_test_interface.yml:56 Wednesday 10 January 2024 18:23:03 +0000 (0:00:00.008) 0:00:04.550 ***** 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_typepr8wqiur/tests/tasks/manage_test_interface.yml:61 Wednesday 10 January 2024 18:23:03 +0000 (0:00:00.009) 0:00:04.559 ***** 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_typepr8wqiur/tests/tasks/create_and_remove_interface.yml:9 Wednesday 10 January 2024 18:23:03 +0000 (0:00:00.008) 0:00:04.568 ***** included: /WORKDIR/git-route_typepr8wqiur/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typepr8wqiur/tests/tasks/show_interfaces.yml:3 Wednesday 10 January 2024 18:23:03 +0000 (0:00:00.013) 0:00:04.581 ***** included: /WORKDIR/git-route_typepr8wqiur/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typepr8wqiur/tests/tasks/get_current_interfaces.yml:3 Wednesday 10 January 2024 18:23:03 +0000 (0:00:00.009) 0:00:04.591 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003657", "end": "2024-01-10 18:23:03.633004", "rc": 0, "start": "2024-01-10 18:23:03.629347" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typepr8wqiur/tests/tasks/get_current_interfaces.yml:9 Wednesday 10 January 2024 18:23:03 +0000 (0:00:00.236) 0:00:04.828 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typepr8wqiur/tests/tasks/show_interfaces.yml:5 Wednesday 10 January 2024 18:23:03 +0000 (0:00:00.024) 0:00:04.852 ***** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Include the task 'assert_device_absent.yml'] ***************************** task path: /WORKDIR/git-route_typepr8wqiur/tests/tasks/create_and_remove_interface.yml:11 Wednesday 10 January 2024 18:23:03 +0000 (0:00:00.019) 0:00:04.872 ***** included: /WORKDIR/git-route_typepr8wqiur/tests/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_typepr8wqiur/tests/tasks/assert_device_absent.yml:3 Wednesday 10 January 2024 18:23:03 +0000 (0:00:00.017) 0:00:04.890 ***** included: /WORKDIR/git-route_typepr8wqiur/tests/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth1298] ***************************************** task path: /WORKDIR/git-route_typepr8wqiur/tests/tasks/get_interface_stat.yml:3 Wednesday 10 January 2024 18:23:03 +0000 (0:00:00.024) 0:00:04.915 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'veth1298'] ************************ task path: /WORKDIR/git-route_typepr8wqiur/tests/tasks/assert_device_absent.yml:5 Wednesday 10 January 2024 18:23:03 +0000 (0:00:00.239) 0:00:05.154 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-route_typepr8wqiur/tests/tasks/create_and_remove_interface.yml:14 Wednesday 10 January 2024 18:23:03 +0000 (0:00:00.011) 0:00:05.166 ***** included: /WORKDIR/git-route_typepr8wqiur/tests/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-route_typepr8wqiur/tests/tasks/manage_test_interface.yml:3 Wednesday 10 January 2024 18:23:04 +0000 (0:00:00.015) 0:00:05.181 ***** 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_typepr8wqiur/tests/tasks/manage_test_interface.yml:8 Wednesday 10 January 2024 18:23:04 +0000 (0:00:00.008) 0:00:05.189 ***** 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_typepr8wqiur/tests/tasks/manage_test_interface.yml:13 Wednesday 10 January 2024 18:23:04 +0000 (0:00:00.010) 0:00:05.200 ***** included: /WORKDIR/git-route_typepr8wqiur/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typepr8wqiur/tests/tasks/show_interfaces.yml:3 Wednesday 10 January 2024 18:23:04 +0000 (0:00:00.011) 0:00:05.211 ***** included: /WORKDIR/git-route_typepr8wqiur/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typepr8wqiur/tests/tasks/get_current_interfaces.yml:3 Wednesday 10 January 2024 18:23:04 +0000 (0:00:00.010) 0:00:05.221 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003660", "end": "2024-01-10 18:23:04.263018", "rc": 0, "start": "2024-01-10 18:23:04.259358" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typepr8wqiur/tests/tasks/get_current_interfaces.yml:9 Wednesday 10 January 2024 18:23:04 +0000 (0:00:00.232) 0:00:05.453 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typepr8wqiur/tests/tasks/show_interfaces.yml:5 Wednesday 10 January 2024 18:23:04 +0000 (0:00:00.016) 0:00:05.470 ***** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-route_typepr8wqiur/tests/tasks/manage_test_interface.yml:16 Wednesday 10 January 2024 18:23:04 +0000 (0:00:00.016) 0:00:05.486 ***** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth1298] ****************************************** task path: /WORKDIR/git-route_typepr8wqiur/tests/tasks/manage_test_interface.yml:23 Wednesday 10 January 2024 18:23:06 +0000 (0:00:01.945) 0:00:07.432 ***** 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.008827", "end": "2024-01-10 18:23:06.483893", "item": "ip link add veth1298 type veth peer name peerveth1298", "rc": 0, "start": "2024-01-10 18:23:06.475066" } ok: [sut] => (item=ip link set peerveth1298 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peerveth1298", "up" ], "delta": "0:00:00.003673", "end": "2024-01-10 18:23:06.763995", "item": "ip link set peerveth1298 up", "rc": 0, "start": "2024-01-10 18:23:06.760322" } ok: [sut] => (item=ip link set veth1298 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "veth1298", "up" ], "delta": "0:00:00.003967", "end": "2024-01-10 18:23:06.987991", "item": "ip link set veth1298 up", "rc": 0, "start": "2024-01-10 18:23:06.984024" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-route_typepr8wqiur/tests/tasks/manage_test_interface.yml:31 Wednesday 10 January 2024 18:23:07 +0000 (0:00:00.747) 0:00:08.179 ***** ok: [sut] => { "changed": false, "cmd": [ "nmcli", "d", "set", "veth1298", "managed", "true" ], "delta": "0:00:00.021550", "end": "2024-01-10 18:23:07.248939", "rc": 0, "start": "2024-01-10 18:23:07.227389" } TASK [Delete veth interface veth1298] ****************************************** task path: /WORKDIR/git-route_typepr8wqiur/tests/tasks/manage_test_interface.yml:39 Wednesday 10 January 2024 18:23:07 +0000 (0:00:00.269) 0:00:08.449 ***** 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_typepr8wqiur/tests/tasks/manage_test_interface.yml:45 Wednesday 10 January 2024 18:23:07 +0000 (0:00:00.019) 0:00:08.468 ***** 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_typepr8wqiur/tests/tasks/manage_test_interface.yml:50 Wednesday 10 January 2024 18:23:07 +0000 (0:00:00.011) 0:00:08.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_typepr8wqiur/tests/tasks/manage_test_interface.yml:56 Wednesday 10 January 2024 18:23:07 +0000 (0:00:00.016) 0:00:08.497 ***** 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_typepr8wqiur/tests/tasks/manage_test_interface.yml:61 Wednesday 10 January 2024 18:23:07 +0000 (0:00:00.024) 0:00:08.521 ***** 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_typepr8wqiur/tests/tasks/create_and_remove_interface.yml:18 Wednesday 10 January 2024 18:23:07 +0000 (0:00:00.013) 0:00:08.535 ***** included: /WORKDIR/git-route_typepr8wqiur/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typepr8wqiur/tests/tasks/show_interfaces.yml:3 Wednesday 10 January 2024 18:23:07 +0000 (0:00:00.017) 0:00:08.553 ***** included: /WORKDIR/git-route_typepr8wqiur/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typepr8wqiur/tests/tasks/get_current_interfaces.yml:3 Wednesday 10 January 2024 18:23:07 +0000 (0:00:00.016) 0:00:08.569 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:01.004947", "end": "2024-01-10 18:23:08.633876", "rc": 0, "start": "2024-01-10 18:23:07.628929" } STDOUT: bonding_masters eth0 lo peerveth1298 veth1298 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typepr8wqiur/tests/tasks/get_current_interfaces.yml:9 Wednesday 10 January 2024 18:23:08 +0000 (0:00:01.255) 0:00:09.824 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "peerveth1298", "veth1298" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typepr8wqiur/tests/tasks/show_interfaces.yml:5 Wednesday 10 January 2024 18:23:08 +0000 (0:00:00.009) 0:00:09.834 ***** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'peerveth1298', 'veth1298'] TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-route_typepr8wqiur/tests/tasks/create_and_remove_interface.yml:20 Wednesday 10 January 2024 18:23:08 +0000 (0:00:00.009) 0:00:09.844 ***** included: /WORKDIR/git-route_typepr8wqiur/tests/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_typepr8wqiur/tests/tasks/assert_device_present.yml:3 Wednesday 10 January 2024 18:23:08 +0000 (0:00:00.016) 0:00:09.861 ***** included: /WORKDIR/git-route_typepr8wqiur/tests/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth1298] ***************************************** task path: /WORKDIR/git-route_typepr8wqiur/tests/tasks/get_interface_stat.yml:3 Wednesday 10 January 2024 18:23:08 +0000 (0:00:00.009) 0:00:09.870 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1704910986.4794905, "block_size": 4096, "blocks": 0, "ctime": 1704910986.4794905, "dev": 22, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 31135, "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": 1704910986.4794905, "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_typepr8wqiur/tests/tasks/assert_device_present.yml:5 Wednesday 10 January 2024 18:23:08 +0000 (0:00:00.232) 0:00:10.103 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-route_typepr8wqiur/tests/tasks/create_and_remove_interface.yml:23 Wednesday 10 January 2024 18:23:08 +0000 (0:00:00.010) 0:00:10.113 ***** included: /WORKDIR/git-route_typepr8wqiur/tests/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-route_typepr8wqiur/tests/tasks/manage_test_interface.yml:3 Wednesday 10 January 2024 18:23:08 +0000 (0:00:00.019) 0:00:10.132 ***** 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_typepr8wqiur/tests/tasks/manage_test_interface.yml:8 Wednesday 10 January 2024 18:23:08 +0000 (0:00:00.008) 0:00:10.141 ***** 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_typepr8wqiur/tests/tasks/manage_test_interface.yml:13 Wednesday 10 January 2024 18:23:08 +0000 (0:00:00.007) 0:00:10.149 ***** included: /WORKDIR/git-route_typepr8wqiur/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typepr8wqiur/tests/tasks/show_interfaces.yml:3 Wednesday 10 January 2024 18:23:08 +0000 (0:00:00.011) 0:00:10.160 ***** included: /WORKDIR/git-route_typepr8wqiur/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typepr8wqiur/tests/tasks/get_current_interfaces.yml:3 Wednesday 10 January 2024 18:23:09 +0000 (0:00:00.010) 0:00:10.170 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003432", "end": "2024-01-10 18:23:09.212322", "rc": 0, "start": "2024-01-10 18:23:09.208890" } STDOUT: bonding_masters eth0 lo peerveth1298 veth1298 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typepr8wqiur/tests/tasks/get_current_interfaces.yml:9 Wednesday 10 January 2024 18:23:09 +0000 (0:00:00.239) 0:00:10.410 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "peerveth1298", "veth1298" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typepr8wqiur/tests/tasks/show_interfaces.yml:5 Wednesday 10 January 2024 18:23:09 +0000 (0:00:00.010) 0:00:10.421 ***** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'peerveth1298', 'veth1298'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-route_typepr8wqiur/tests/tasks/manage_test_interface.yml:16 Wednesday 10 January 2024 18:23:09 +0000 (0:00:00.020) 0:00:10.441 ***** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth1298] ****************************************** task path: /WORKDIR/git-route_typepr8wqiur/tests/tasks/manage_test_interface.yml:23 Wednesday 10 January 2024 18:23:11 +0000 (0:00:01.890) 0:00:12.331 ***** 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_typepr8wqiur/tests/tasks/manage_test_interface.yml:31 Wednesday 10 January 2024 18:23:11 +0000 (0:00:00.019) 0:00:12.350 ***** 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_typepr8wqiur/tests/tasks/manage_test_interface.yml:39 Wednesday 10 January 2024 18:23:11 +0000 (0:00:00.014) 0:00:12.365 ***** ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "veth1298", "type", "veth" ], "delta": "0:00:00.010473", "end": "2024-01-10 18:23:11.415843", "rc": 0, "start": "2024-01-10 18:23:11.405370" } TASK [Create dummy interface veth1298] ***************************************** task path: /WORKDIR/git-route_typepr8wqiur/tests/tasks/manage_test_interface.yml:45 Wednesday 10 January 2024 18:23:11 +0000 (0:00:00.250) 0:00:12.615 ***** 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_typepr8wqiur/tests/tasks/manage_test_interface.yml:50 Wednesday 10 January 2024 18:23:11 +0000 (0:00:00.009) 0:00:12.625 ***** 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_typepr8wqiur/tests/tasks/manage_test_interface.yml:56 Wednesday 10 January 2024 18:23:11 +0000 (0:00:00.013) 0:00:12.638 ***** 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_typepr8wqiur/tests/tasks/manage_test_interface.yml:61 Wednesday 10 January 2024 18:23:11 +0000 (0:00:00.009) 0:00:12.648 ***** 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_typepr8wqiur/tests/tasks/create_and_remove_interface.yml:27 Wednesday 10 January 2024 18:23:11 +0000 (0:00:00.008) 0:00:12.656 ***** included: /WORKDIR/git-route_typepr8wqiur/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typepr8wqiur/tests/tasks/show_interfaces.yml:3 Wednesday 10 January 2024 18:23:11 +0000 (0:00:00.019) 0:00:12.675 ***** included: /WORKDIR/git-route_typepr8wqiur/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typepr8wqiur/tests/tasks/get_current_interfaces.yml:3 Wednesday 10 January 2024 18:23:11 +0000 (0:00:00.014) 0:00:12.690 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003438", "end": "2024-01-10 18:23:11.735155", "rc": 0, "start": "2024-01-10 18:23:11.731717" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typepr8wqiur/tests/tasks/get_current_interfaces.yml:9 Wednesday 10 January 2024 18:23:11 +0000 (0:00:00.235) 0:00:12.925 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typepr8wqiur/tests/tasks/show_interfaces.yml:5 Wednesday 10 January 2024 18:23:11 +0000 (0:00:00.009) 0:00:12.935 ***** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Include the task 'assert_device_absent.yml'] ***************************** task path: /WORKDIR/git-route_typepr8wqiur/tests/tasks/create_and_remove_interface.yml:29 Wednesday 10 January 2024 18:23:11 +0000 (0:00:00.009) 0:00:12.944 ***** included: /WORKDIR/git-route_typepr8wqiur/tests/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_typepr8wqiur/tests/tasks/assert_device_absent.yml:3 Wednesday 10 January 2024 18:23:11 +0000 (0:00:00.018) 0:00:12.963 ***** included: /WORKDIR/git-route_typepr8wqiur/tests/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth1298] ***************************************** task path: /WORKDIR/git-route_typepr8wqiur/tests/tasks/get_interface_stat.yml:3 Wednesday 10 January 2024 18:23:11 +0000 (0:00:00.009) 0:00:12.973 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'veth1298'] ************************ task path: /WORKDIR/git-route_typepr8wqiur/tests/tasks/assert_device_absent.yml:5 Wednesday 10 January 2024 18:23:12 +0000 (0:00:00.226) 0:00:13.199 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test veth interface management] ****************************************** task path: /WORKDIR/git-route_typepr8wqiur/tests/tests_helpers_and_asserts.yml:15 Wednesday 10 January 2024 18:23:12 +0000 (0:00:00.010) 0:00:13.210 ***** included: /WORKDIR/git-route_typepr8wqiur/tests/tasks/create_and_remove_interface.yml for sut TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-route_typepr8wqiur/tests/tasks/create_and_remove_interface.yml:3 Wednesday 10 January 2024 18:23:12 +0000 (0:00:00.012) 0:00:13.223 ***** included: /WORKDIR/git-route_typepr8wqiur/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typepr8wqiur/tests/tasks/show_interfaces.yml:3 Wednesday 10 January 2024 18:23:12 +0000 (0:00:00.010) 0:00:13.233 ***** included: /WORKDIR/git-route_typepr8wqiur/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typepr8wqiur/tests/tasks/get_current_interfaces.yml:3 Wednesday 10 January 2024 18:23:12 +0000 (0:00:00.010) 0:00:13.243 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003577", "end": "2024-01-10 18:23:12.284195", "rc": 0, "start": "2024-01-10 18:23:12.280618" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typepr8wqiur/tests/tasks/get_current_interfaces.yml:9 Wednesday 10 January 2024 18:23:12 +0000 (0:00:00.236) 0:00:13.479 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typepr8wqiur/tests/tasks/show_interfaces.yml:5 Wednesday 10 January 2024 18:23:12 +0000 (0:00:00.013) 0:00:13.493 ***** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-route_typepr8wqiur/tests/tasks/create_and_remove_interface.yml:5 Wednesday 10 January 2024 18:23:12 +0000 (0:00:00.010) 0:00:13.504 ***** included: /WORKDIR/git-route_typepr8wqiur/tests/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-route_typepr8wqiur/tests/tasks/manage_test_interface.yml:3 Wednesday 10 January 2024 18:23:12 +0000 (0:00:00.014) 0:00:13.519 ***** 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_typepr8wqiur/tests/tasks/manage_test_interface.yml:8 Wednesday 10 January 2024 18:23:12 +0000 (0:00:00.010) 0:00:13.529 ***** 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_typepr8wqiur/tests/tasks/manage_test_interface.yml:13 Wednesday 10 January 2024 18:23:12 +0000 (0:00:00.010) 0:00:13.539 ***** included: /WORKDIR/git-route_typepr8wqiur/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typepr8wqiur/tests/tasks/show_interfaces.yml:3 Wednesday 10 January 2024 18:23:12 +0000 (0:00:00.012) 0:00:13.552 ***** included: /WORKDIR/git-route_typepr8wqiur/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typepr8wqiur/tests/tasks/get_current_interfaces.yml:3 Wednesday 10 January 2024 18:23:12 +0000 (0:00:00.012) 0:00:13.564 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003448", "end": "2024-01-10 18:23:12.615519", "rc": 0, "start": "2024-01-10 18:23:12.612071" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typepr8wqiur/tests/tasks/get_current_interfaces.yml:9 Wednesday 10 January 2024 18:23:12 +0000 (0:00:00.241) 0:00:13.806 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typepr8wqiur/tests/tasks/show_interfaces.yml:5 Wednesday 10 January 2024 18:23:12 +0000 (0:00:00.017) 0:00:13.823 ***** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-route_typepr8wqiur/tests/tasks/manage_test_interface.yml:16 Wednesday 10 January 2024 18:23:12 +0000 (0:00:00.009) 0:00:13.833 ***** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface dummy1298] ***************************************** task path: /WORKDIR/git-route_typepr8wqiur/tests/tasks/manage_test_interface.yml:23 Wednesday 10 January 2024 18:23:15 +0000 (0:00:02.483) 0:00:16.317 ***** 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_typepr8wqiur/tests/tasks/manage_test_interface.yml:31 Wednesday 10 January 2024 18:23:15 +0000 (0:00:00.014) 0:00:16.331 ***** 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_typepr8wqiur/tests/tasks/manage_test_interface.yml:39 Wednesday 10 January 2024 18:23:15 +0000 (0:00:00.008) 0:00:16.340 ***** 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_typepr8wqiur/tests/tasks/manage_test_interface.yml:45 Wednesday 10 January 2024 18:23:15 +0000 (0:00:00.009) 0:00:16.349 ***** 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_typepr8wqiur/tests/tasks/manage_test_interface.yml:50 Wednesday 10 January 2024 18:23:15 +0000 (0:00:00.009) 0:00:16.359 ***** 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_typepr8wqiur/tests/tasks/manage_test_interface.yml:56 Wednesday 10 January 2024 18:23:15 +0000 (0:00:00.011) 0:00:16.370 ***** 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_typepr8wqiur/tests/tasks/manage_test_interface.yml:61 Wednesday 10 January 2024 18:23:15 +0000 (0:00:00.009) 0:00:16.380 ***** 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_typepr8wqiur/tests/tasks/create_and_remove_interface.yml:9 Wednesday 10 January 2024 18:23:15 +0000 (0:00:00.009) 0:00:16.389 ***** included: /WORKDIR/git-route_typepr8wqiur/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typepr8wqiur/tests/tasks/show_interfaces.yml:3 Wednesday 10 January 2024 18:23:15 +0000 (0:00:00.023) 0:00:16.413 ***** included: /WORKDIR/git-route_typepr8wqiur/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typepr8wqiur/tests/tasks/get_current_interfaces.yml:3 Wednesday 10 January 2024 18:23:15 +0000 (0:00:00.021) 0:00:16.434 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003592", "end": "2024-01-10 18:23:15.495344", "rc": 0, "start": "2024-01-10 18:23:15.491752" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typepr8wqiur/tests/tasks/get_current_interfaces.yml:9 Wednesday 10 January 2024 18:23:15 +0000 (0:00:00.251) 0:00:16.686 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typepr8wqiur/tests/tasks/show_interfaces.yml:5 Wednesday 10 January 2024 18:23:15 +0000 (0:00:00.011) 0:00:16.697 ***** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Include the task 'assert_device_absent.yml'] ***************************** task path: /WORKDIR/git-route_typepr8wqiur/tests/tasks/create_and_remove_interface.yml:11 Wednesday 10 January 2024 18:23:15 +0000 (0:00:00.010) 0:00:16.708 ***** included: /WORKDIR/git-route_typepr8wqiur/tests/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_typepr8wqiur/tests/tasks/assert_device_absent.yml:3 Wednesday 10 January 2024 18:23:15 +0000 (0:00:00.017) 0:00:16.726 ***** included: /WORKDIR/git-route_typepr8wqiur/tests/tasks/get_interface_stat.yml for sut TASK [Get stat for interface dummy1298] **************************************** task path: /WORKDIR/git-route_typepr8wqiur/tests/tasks/get_interface_stat.yml:3 Wednesday 10 January 2024 18:23:15 +0000 (0:00:00.013) 0:00:16.739 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'dummy1298'] *********************** task path: /WORKDIR/git-route_typepr8wqiur/tests/tasks/assert_device_absent.yml:5 Wednesday 10 January 2024 18:23:15 +0000 (0:00:00.261) 0:00:17.001 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-route_typepr8wqiur/tests/tasks/create_and_remove_interface.yml:14 Wednesday 10 January 2024 18:23:15 +0000 (0:00:00.034) 0:00:17.035 ***** included: /WORKDIR/git-route_typepr8wqiur/tests/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-route_typepr8wqiur/tests/tasks/manage_test_interface.yml:3 Wednesday 10 January 2024 18:23:15 +0000 (0:00:00.018) 0:00:17.054 ***** 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_typepr8wqiur/tests/tasks/manage_test_interface.yml:8 Wednesday 10 January 2024 18:23:15 +0000 (0:00:00.013) 0:00:17.067 ***** 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_typepr8wqiur/tests/tasks/manage_test_interface.yml:13 Wednesday 10 January 2024 18:23:15 +0000 (0:00:00.024) 0:00:17.092 ***** included: /WORKDIR/git-route_typepr8wqiur/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typepr8wqiur/tests/tasks/show_interfaces.yml:3 Wednesday 10 January 2024 18:23:15 +0000 (0:00:00.028) 0:00:17.120 ***** included: /WORKDIR/git-route_typepr8wqiur/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typepr8wqiur/tests/tasks/get_current_interfaces.yml:3 Wednesday 10 January 2024 18:23:15 +0000 (0:00:00.013) 0:00:17.133 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003534", "end": "2024-01-10 18:23:16.175847", "rc": 0, "start": "2024-01-10 18:23:16.172313" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typepr8wqiur/tests/tasks/get_current_interfaces.yml:9 Wednesday 10 January 2024 18:23:16 +0000 (0:00:00.233) 0:00:17.367 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typepr8wqiur/tests/tasks/show_interfaces.yml:5 Wednesday 10 January 2024 18:23:16 +0000 (0:00:00.010) 0:00:17.378 ***** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-route_typepr8wqiur/tests/tasks/manage_test_interface.yml:16 Wednesday 10 January 2024 18:23:16 +0000 (0:00:00.008) 0:00:17.387 ***** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface dummy1298] ***************************************** task path: /WORKDIR/git-route_typepr8wqiur/tests/tasks/manage_test_interface.yml:23 Wednesday 10 January 2024 18:23:18 +0000 (0:00:01.920) 0:00:19.307 ***** 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_typepr8wqiur/tests/tasks/manage_test_interface.yml:31 Wednesday 10 January 2024 18:23:18 +0000 (0:00:00.042) 0:00:19.350 ***** 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_typepr8wqiur/tests/tasks/manage_test_interface.yml:39 Wednesday 10 January 2024 18:23:18 +0000 (0:00:00.049) 0:00:19.399 ***** 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_typepr8wqiur/tests/tasks/manage_test_interface.yml:45 Wednesday 10 January 2024 18:23:18 +0000 (0:00:00.017) 0:00:19.417 ***** ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "add", "dummy1298", "type", "dummy" ], "delta": "0:00:00.109120", "end": "2024-01-10 18:23:18.568917", "rc": 0, "start": "2024-01-10 18:23:18.459797" } TASK [Delete dummy interface dummy1298] **************************************** task path: /WORKDIR/git-route_typepr8wqiur/tests/tasks/manage_test_interface.yml:50 Wednesday 10 January 2024 18:23:18 +0000 (0:00:00.355) 0:00:19.772 ***** 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_typepr8wqiur/tests/tasks/manage_test_interface.yml:56 Wednesday 10 January 2024 18:23:18 +0000 (0:00:00.009) 0:00:19.782 ***** 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_typepr8wqiur/tests/tasks/manage_test_interface.yml:61 Wednesday 10 January 2024 18:23:18 +0000 (0:00:00.007) 0:00:19.790 ***** 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_typepr8wqiur/tests/tasks/create_and_remove_interface.yml:18 Wednesday 10 January 2024 18:23:18 +0000 (0:00:00.008) 0:00:19.798 ***** included: /WORKDIR/git-route_typepr8wqiur/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typepr8wqiur/tests/tasks/show_interfaces.yml:3 Wednesday 10 January 2024 18:23:18 +0000 (0:00:00.015) 0:00:19.814 ***** included: /WORKDIR/git-route_typepr8wqiur/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typepr8wqiur/tests/tasks/get_current_interfaces.yml:3 Wednesday 10 January 2024 18:23:18 +0000 (0:00:00.009) 0:00:19.823 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003493", "end": "2024-01-10 18:23:18.862920", "rc": 0, "start": "2024-01-10 18:23:18.859427" } STDOUT: bonding_masters dummy1298 eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typepr8wqiur/tests/tasks/get_current_interfaces.yml:9 Wednesday 10 January 2024 18:23:18 +0000 (0:00:00.235) 0:00:20.059 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "dummy1298", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typepr8wqiur/tests/tasks/show_interfaces.yml:5 Wednesday 10 January 2024 18:23:18 +0000 (0:00:00.011) 0:00:20.070 ***** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'dummy1298', 'eth0', 'lo'] TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-route_typepr8wqiur/tests/tasks/create_and_remove_interface.yml:20 Wednesday 10 January 2024 18:23:18 +0000 (0:00:00.011) 0:00:20.082 ***** included: /WORKDIR/git-route_typepr8wqiur/tests/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_typepr8wqiur/tests/tasks/assert_device_present.yml:3 Wednesday 10 January 2024 18:23:18 +0000 (0:00:00.030) 0:00:20.112 ***** included: /WORKDIR/git-route_typepr8wqiur/tests/tasks/get_interface_stat.yml for sut TASK [Get stat for interface dummy1298] **************************************** task path: /WORKDIR/git-route_typepr8wqiur/tests/tasks/get_interface_stat.yml:3 Wednesday 10 January 2024 18:23:18 +0000 (0:00:00.016) 0:00:20.129 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1704910998.5664787, "block_size": 4096, "blocks": 0, "ctime": 1704910998.5664787, "dev": 22, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 31467, "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": 1704910998.5664787, "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_typepr8wqiur/tests/tasks/assert_device_present.yml:5 Wednesday 10 January 2024 18:23:19 +0000 (0:00:00.246) 0:00:20.375 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-route_typepr8wqiur/tests/tasks/create_and_remove_interface.yml:23 Wednesday 10 January 2024 18:23:19 +0000 (0:00:00.028) 0:00:20.404 ***** included: /WORKDIR/git-route_typepr8wqiur/tests/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-route_typepr8wqiur/tests/tasks/manage_test_interface.yml:3 Wednesday 10 January 2024 18:23:19 +0000 (0:00:00.042) 0:00:20.446 ***** 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_typepr8wqiur/tests/tasks/manage_test_interface.yml:8 Wednesday 10 January 2024 18:23:19 +0000 (0:00:00.011) 0:00:20.458 ***** 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_typepr8wqiur/tests/tasks/manage_test_interface.yml:13 Wednesday 10 January 2024 18:23:19 +0000 (0:00:00.017) 0:00:20.475 ***** included: /WORKDIR/git-route_typepr8wqiur/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typepr8wqiur/tests/tasks/show_interfaces.yml:3 Wednesday 10 January 2024 18:23:19 +0000 (0:00:00.024) 0:00:20.500 ***** included: /WORKDIR/git-route_typepr8wqiur/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typepr8wqiur/tests/tasks/get_current_interfaces.yml:3 Wednesday 10 January 2024 18:23:19 +0000 (0:00:00.023) 0:00:20.523 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003653", "end": "2024-01-10 18:23:19.591952", "rc": 0, "start": "2024-01-10 18:23:19.588299" } STDOUT: bonding_masters dummy1298 eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typepr8wqiur/tests/tasks/get_current_interfaces.yml:9 Wednesday 10 January 2024 18:23:19 +0000 (0:00:00.259) 0:00:20.782 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "dummy1298", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typepr8wqiur/tests/tasks/show_interfaces.yml:5 Wednesday 10 January 2024 18:23:19 +0000 (0:00:00.009) 0:00:20.792 ***** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'dummy1298', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-route_typepr8wqiur/tests/tasks/manage_test_interface.yml:16 Wednesday 10 January 2024 18:23:19 +0000 (0:00:00.009) 0:00:20.802 ***** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface dummy1298] ***************************************** task path: /WORKDIR/git-route_typepr8wqiur/tests/tasks/manage_test_interface.yml:23 Wednesday 10 January 2024 18:23:21 +0000 (0:00:01.864) 0:00:22.666 ***** 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_typepr8wqiur/tests/tasks/manage_test_interface.yml:31 Wednesday 10 January 2024 18:23:21 +0000 (0:00:00.048) 0:00:22.715 ***** 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_typepr8wqiur/tests/tasks/manage_test_interface.yml:39 Wednesday 10 January 2024 18:23:21 +0000 (0:00:00.031) 0:00:22.746 ***** 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_typepr8wqiur/tests/tasks/manage_test_interface.yml:45 Wednesday 10 January 2024 18:23:21 +0000 (0:00:00.041) 0:00:22.787 ***** 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_typepr8wqiur/tests/tasks/manage_test_interface.yml:50 Wednesday 10 January 2024 18:23:21 +0000 (0:00:00.023) 0:00:22.811 ***** ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "dummy1298", "type", "dummy" ], "delta": "0:00:00.016511", "end": "2024-01-10 18:23:21.902137", "rc": 0, "start": "2024-01-10 18:23:21.885626" } TASK [Create tap interface dummy1298] ****************************************** task path: /WORKDIR/git-route_typepr8wqiur/tests/tasks/manage_test_interface.yml:56 Wednesday 10 January 2024 18:23:21 +0000 (0:00:00.286) 0:00:23.097 ***** 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_typepr8wqiur/tests/tasks/manage_test_interface.yml:61 Wednesday 10 January 2024 18:23:21 +0000 (0:00:00.012) 0:00:23.110 ***** 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_typepr8wqiur/tests/tasks/create_and_remove_interface.yml:27 Wednesday 10 January 2024 18:23:22 +0000 (0:00:00.057) 0:00:23.168 ***** included: /WORKDIR/git-route_typepr8wqiur/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typepr8wqiur/tests/tasks/show_interfaces.yml:3 Wednesday 10 January 2024 18:23:22 +0000 (0:00:00.036) 0:00:23.204 ***** included: /WORKDIR/git-route_typepr8wqiur/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typepr8wqiur/tests/tasks/get_current_interfaces.yml:3 Wednesday 10 January 2024 18:23:22 +0000 (0:00:00.024) 0:00:23.229 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003534", "end": "2024-01-10 18:23:22.366535", "rc": 0, "start": "2024-01-10 18:23:22.363001" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typepr8wqiur/tests/tasks/get_current_interfaces.yml:9 Wednesday 10 January 2024 18:23:22 +0000 (0:00:00.357) 0:00:23.587 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typepr8wqiur/tests/tasks/show_interfaces.yml:5 Wednesday 10 January 2024 18:23:22 +0000 (0:00:00.019) 0:00:23.606 ***** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Include the task 'assert_device_absent.yml'] ***************************** task path: /WORKDIR/git-route_typepr8wqiur/tests/tasks/create_and_remove_interface.yml:29 Wednesday 10 January 2024 18:23:22 +0000 (0:00:00.019) 0:00:23.625 ***** included: /WORKDIR/git-route_typepr8wqiur/tests/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_typepr8wqiur/tests/tasks/assert_device_absent.yml:3 Wednesday 10 January 2024 18:23:22 +0000 (0:00:00.021) 0:00:23.646 ***** included: /WORKDIR/git-route_typepr8wqiur/tests/tasks/get_interface_stat.yml for sut TASK [Get stat for interface dummy1298] **************************************** task path: /WORKDIR/git-route_typepr8wqiur/tests/tasks/get_interface_stat.yml:3 Wednesday 10 January 2024 18:23:22 +0000 (0:00:00.012) 0:00:23.659 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'dummy1298'] *********************** task path: /WORKDIR/git-route_typepr8wqiur/tests/tasks/assert_device_absent.yml:5 Wednesday 10 January 2024 18:23:22 +0000 (0:00:00.232) 0:00:23.892 ***** 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:23:22 +0000 (0:00:00.015) 0:00:23.907 ***** =============================================================================== Install iproute --------------------------------------------------------- 2.48s /WORKDIR/git-route_typepr8wqiur/tests/tasks/manage_test_interface.yml:16 ------ Install iproute --------------------------------------------------------- 2.01s /WORKDIR/git-route_typepr8wqiur/tests/tasks/manage_test_interface.yml:16 ------ Install iproute --------------------------------------------------------- 1.95s /WORKDIR/git-route_typepr8wqiur/tests/tasks/manage_test_interface.yml:16 ------ Install iproute --------------------------------------------------------- 1.92s /WORKDIR/git-route_typepr8wqiur/tests/tasks/manage_test_interface.yml:16 ------ Install iproute --------------------------------------------------------- 1.89s /WORKDIR/git-route_typepr8wqiur/tests/tasks/manage_test_interface.yml:16 ------ Install iproute --------------------------------------------------------- 1.86s /WORKDIR/git-route_typepr8wqiur/tests/tasks/manage_test_interface.yml:16 ------ Gather current interface info ------------------------------------------- 1.26s /WORKDIR/git-route_typepr8wqiur/tests/tasks/get_current_interfaces.yml:3 ------ Gathering Facts --------------------------------------------------------- 0.95s /WORKDIR/git-route_typepr8wqiur/tests/tests_helpers_and_asserts.yml:3 --------- Create veth interface veth1298 ------------------------------------------ 0.75s /WORKDIR/git-route_typepr8wqiur/tests/tasks/manage_test_interface.yml:23 ------ Gather the minimum subset of ansible_facts required by the network role test --- 0.44s /WORKDIR/git-route_typepr8wqiur/tests/tasks/el_repo_setup.yml:3 --------------- Gather current interface info ------------------------------------------- 0.36s /WORKDIR/git-route_typepr8wqiur/tests/tasks/get_current_interfaces.yml:3 ------ Create dummy interface dummy1298 ---------------------------------------- 0.36s /WORKDIR/git-route_typepr8wqiur/tests/tasks/manage_test_interface.yml:45 ------ Gather current interface info ------------------------------------------- 0.30s /WORKDIR/git-route_typepr8wqiur/tests/tasks/get_current_interfaces.yml:3 ------ Check if system is ostree ----------------------------------------------- 0.29s /WORKDIR/git-route_typepr8wqiur/tests/tasks/el_repo_setup.yml:17 -------------- Delete dummy interface dummy1298 ---------------------------------------- 0.29s /WORKDIR/git-route_typepr8wqiur/tests/tasks/manage_test_interface.yml:50 ------ Set up veth as managed by NetworkManager -------------------------------- 0.27s /WORKDIR/git-route_typepr8wqiur/tests/tasks/manage_test_interface.yml:31 ------ Get stat for interface dummy1298 ---------------------------------------- 0.26s /WORKDIR/git-route_typepr8wqiur/tests/tasks/get_interface_stat.yml:3 ---------- Gather current interface info ------------------------------------------- 0.26s /WORKDIR/git-route_typepr8wqiur/tests/tasks/get_current_interfaces.yml:3 ------ Gather current interface info ------------------------------------------- 0.25s /WORKDIR/git-route_typepr8wqiur/tests/tasks/get_current_interfaces.yml:3 ------ Delete veth interface veth1298 ------------------------------------------ 0.25s /WORKDIR/git-route_typepr8wqiur/tests/tasks/manage_test_interface.yml:39 ------ ---^---^---^---^---^--- # 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. ---^---^---^---^---^---