# 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-team-test-not-cleaning-up-properly21iqcino/.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-team-test-not-cleaning-up-properly21iqcino/tests/tests_helpers_and_asserts.yml PLAY [Check that creating and removing test devices and assertions work] ******* TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-team-test-not-cleaning-up-properly21iqcino/tests/tests_helpers_and_asserts.yml:3 Wednesday 24 July 2024 18:55:55 +0000 (0:00:00.042) 0:00:00.042 ******** ok: [sut] TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-team-test-not-cleaning-up-properly21iqcino/tests/tests_helpers_and_asserts.yml:6 Wednesday 24 July 2024 18:55:58 +0000 (0:00:02.370) 0:00:02.412 ******** included: /WORKDIR/git-team-test-not-cleaning-up-properly21iqcino/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-team-test-not-cleaning-up-properly21iqcino/tests/tasks/el_repo_setup.yml:3 Wednesday 24 July 2024 18:55:58 +0000 (0:00:00.011) 0:00:02.423 ******** ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-team-test-not-cleaning-up-properly21iqcino/tests/tasks/el_repo_setup.yml:17 Wednesday 24 July 2024 18:55:59 +0000 (0:00:01.883) 0:00:04.307 ******** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-team-test-not-cleaning-up-properly21iqcino/tests/tasks/el_repo_setup.yml:22 Wednesday 24 July 2024 18:56:00 +0000 (0:00:00.290) 0:00:04.598 ******** ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-team-test-not-cleaning-up-properly21iqcino/tests/tasks/el_repo_setup.yml:26 Wednesday 24 July 2024 18:56:00 +0000 (0:00:00.024) 0:00:04.623 ******** 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-team-test-not-cleaning-up-properly21iqcino/tests/tasks/el_repo_setup.yml:51 Wednesday 24 July 2024 18:56:00 +0000 (0:00:00.008) 0:00:04.631 ******** included: /WORKDIR/git-team-test-not-cleaning-up-properly21iqcino/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 40] ********************************************************** task path: /WORKDIR/git-team-test-not-cleaning-up-properly21iqcino/tests/tasks/enable_epel.yml:8 Wednesday 24 July 2024 18:56:00 +0000 (0:00:00.024) 0:00:04.656 ******** 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-team-test-not-cleaning-up-properly21iqcino/tests/tasks/enable_epel.yml:24 Wednesday 24 July 2024 18:56:00 +0000 (0:00:00.008) 0:00:04.664 ******** 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-team-test-not-cleaning-up-properly21iqcino/tests/tasks/enable_epel.yml:30 Wednesday 24 July 2024 18:56:00 +0000 (0:00:00.008) 0:00:04.672 ******** 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-team-test-not-cleaning-up-properly21iqcino/tests/tasks/enable_epel.yml:35 Wednesday 24 July 2024 18:56:00 +0000 (0:00:00.014) 0:00:04.687 ******** 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-team-test-not-cleaning-up-properly21iqcino/tests/tasks/enable_epel.yml:40 Wednesday 24 July 2024 18:56:00 +0000 (0:00:00.013) 0:00:04.700 ******** 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-team-test-not-cleaning-up-properly21iqcino/tests/tests_helpers_and_asserts.yml:9 Wednesday 24 July 2024 18:56:00 +0000 (0:00:00.007) 0:00:04.708 ******** included: /WORKDIR/git-team-test-not-cleaning-up-properly21iqcino/tests/tasks/create_and_remove_interface.yml for sut TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-team-test-not-cleaning-up-properly21iqcino/tests/tasks/create_and_remove_interface.yml:3 Wednesday 24 July 2024 18:56:00 +0000 (0:00:00.011) 0:00:04.720 ******** included: /WORKDIR/git-team-test-not-cleaning-up-properly21iqcino/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-team-test-not-cleaning-up-properly21iqcino/tests/tasks/show_interfaces.yml:3 Wednesday 24 July 2024 18:56:00 +0000 (0:00:00.010) 0:00:04.730 ******** included: /WORKDIR/git-team-test-not-cleaning-up-properly21iqcino/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-team-test-not-cleaning-up-properly21iqcino/tests/tasks/get_current_interfaces.yml:3 Wednesday 24 July 2024 18:56:00 +0000 (0:00:00.009) 0:00:04.739 ******** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003718", "end": "2024-07-24 18:56:00.678781", "rc": 0, "start": "2024-07-24 18:56:00.675063" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-team-test-not-cleaning-up-properly21iqcino/tests/tasks/get_current_interfaces.yml:9 Wednesday 24 July 2024 18:56:00 +0000 (0:00:00.285) 0:00:05.024 ******** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-team-test-not-cleaning-up-properly21iqcino/tests/tasks/show_interfaces.yml:5 Wednesday 24 July 2024 18:56:00 +0000 (0:00:00.011) 0:00:05.036 ******** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-team-test-not-cleaning-up-properly21iqcino/tests/tasks/create_and_remove_interface.yml:5 Wednesday 24 July 2024 18:56:00 +0000 (0:00:00.010) 0:00:05.047 ******** included: /WORKDIR/git-team-test-not-cleaning-up-properly21iqcino/tests/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-team-test-not-cleaning-up-properly21iqcino/tests/tasks/manage_test_interface.yml:3 Wednesday 24 July 2024 18:56:00 +0000 (0:00:00.033) 0:00:05.081 ******** 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-team-test-not-cleaning-up-properly21iqcino/tests/tasks/manage_test_interface.yml:8 Wednesday 24 July 2024 18:56:00 +0000 (0:00:00.008) 0:00:05.090 ******** 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-team-test-not-cleaning-up-properly21iqcino/tests/tasks/manage_test_interface.yml:13 Wednesday 24 July 2024 18:56:00 +0000 (0:00:00.007) 0:00:05.097 ******** included: /WORKDIR/git-team-test-not-cleaning-up-properly21iqcino/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-team-test-not-cleaning-up-properly21iqcino/tests/tasks/show_interfaces.yml:3 Wednesday 24 July 2024 18:56:00 +0000 (0:00:00.026) 0:00:05.124 ******** included: /WORKDIR/git-team-test-not-cleaning-up-properly21iqcino/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-team-test-not-cleaning-up-properly21iqcino/tests/tasks/get_current_interfaces.yml:3 Wednesday 24 July 2024 18:56:00 +0000 (0:00:00.021) 0:00:05.145 ******** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003604", "end": "2024-07-24 18:56:01.030823", "rc": 0, "start": "2024-07-24 18:56:01.027219" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-team-test-not-cleaning-up-properly21iqcino/tests/tasks/get_current_interfaces.yml:9 Wednesday 24 July 2024 18:56:01 +0000 (0:00:00.235) 0:00:05.380 ******** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-team-test-not-cleaning-up-properly21iqcino/tests/tasks/show_interfaces.yml:5 Wednesday 24 July 2024 18:56:01 +0000 (0:00:00.011) 0:00:05.391 ******** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-team-test-not-cleaning-up-properly21iqcino/tests/tasks/manage_test_interface.yml:16 Wednesday 24 July 2024 18:56:01 +0000 (0:00:00.009) 0:00:05.401 ******** ok: [sut] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth1298] ****************************************** task path: /WORKDIR/git-team-test-not-cleaning-up-properly21iqcino/tests/tasks/manage_test_interface.yml:27 Wednesday 24 July 2024 18:56:02 +0000 (0:00:01.630) 0:00:07.031 ******** 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-team-test-not-cleaning-up-properly21iqcino/tests/tasks/manage_test_interface.yml:35 Wednesday 24 July 2024 18:56:02 +0000 (0:00:00.014) 0:00:07.046 ******** 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-team-test-not-cleaning-up-properly21iqcino/tests/tasks/manage_test_interface.yml:43 Wednesday 24 July 2024 18:56:02 +0000 (0:00:00.007) 0:00:07.053 ******** 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-team-test-not-cleaning-up-properly21iqcino/tests/tasks/manage_test_interface.yml:49 Wednesday 24 July 2024 18:56:02 +0000 (0:00:00.007) 0:00:07.061 ******** 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-team-test-not-cleaning-up-properly21iqcino/tests/tasks/manage_test_interface.yml:54 Wednesday 24 July 2024 18:56:02 +0000 (0:00:00.008) 0:00:07.069 ******** 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-team-test-not-cleaning-up-properly21iqcino/tests/tasks/manage_test_interface.yml:60 Wednesday 24 July 2024 18:56:02 +0000 (0:00:00.008) 0:00:07.078 ******** 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-team-test-not-cleaning-up-properly21iqcino/tests/tasks/manage_test_interface.yml:65 Wednesday 24 July 2024 18:56:02 +0000 (0:00:00.009) 0:00:07.088 ******** 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-team-test-not-cleaning-up-properly21iqcino/tests/tasks/create_and_remove_interface.yml:9 Wednesday 24 July 2024 18:56:02 +0000 (0:00:00.008) 0:00:07.096 ******** included: /WORKDIR/git-team-test-not-cleaning-up-properly21iqcino/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-team-test-not-cleaning-up-properly21iqcino/tests/tasks/show_interfaces.yml:3 Wednesday 24 July 2024 18:56:02 +0000 (0:00:00.014) 0:00:07.111 ******** included: /WORKDIR/git-team-test-not-cleaning-up-properly21iqcino/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-team-test-not-cleaning-up-properly21iqcino/tests/tasks/get_current_interfaces.yml:3 Wednesday 24 July 2024 18:56:02 +0000 (0:00:00.009) 0:00:07.120 ******** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003755", "end": "2024-07-24 18:56:03.005689", "rc": 0, "start": "2024-07-24 18:56:03.001934" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-team-test-not-cleaning-up-properly21iqcino/tests/tasks/get_current_interfaces.yml:9 Wednesday 24 July 2024 18:56:03 +0000 (0:00:00.232) 0:00:07.353 ******** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-team-test-not-cleaning-up-properly21iqcino/tests/tasks/show_interfaces.yml:5 Wednesday 24 July 2024 18:56:03 +0000 (0:00:00.009) 0:00:07.363 ******** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Include the task 'assert_device_absent.yml'] ***************************** task path: /WORKDIR/git-team-test-not-cleaning-up-properly21iqcino/tests/tasks/create_and_remove_interface.yml:11 Wednesday 24 July 2024 18:56:03 +0000 (0:00:00.009) 0:00:07.372 ******** included: /WORKDIR/git-team-test-not-cleaning-up-properly21iqcino/tests/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-team-test-not-cleaning-up-properly21iqcino/tests/tasks/assert_device_absent.yml:3 Wednesday 24 July 2024 18:56:03 +0000 (0:00:00.013) 0:00:07.386 ******** included: /WORKDIR/git-team-test-not-cleaning-up-properly21iqcino/tests/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth1298] ***************************************** task path: /WORKDIR/git-team-test-not-cleaning-up-properly21iqcino/tests/tasks/get_interface_stat.yml:3 Wednesday 24 July 2024 18:56:03 +0000 (0:00:00.010) 0:00:07.396 ******** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'veth1298'] ************************ task path: /WORKDIR/git-team-test-not-cleaning-up-properly21iqcino/tests/tasks/assert_device_absent.yml:5 Wednesday 24 July 2024 18:56:03 +0000 (0:00:00.221) 0:00:07.618 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-team-test-not-cleaning-up-properly21iqcino/tests/tasks/create_and_remove_interface.yml:14 Wednesday 24 July 2024 18:56:03 +0000 (0:00:00.011) 0:00:07.629 ******** included: /WORKDIR/git-team-test-not-cleaning-up-properly21iqcino/tests/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-team-test-not-cleaning-up-properly21iqcino/tests/tasks/manage_test_interface.yml:3 Wednesday 24 July 2024 18:56:03 +0000 (0:00:00.015) 0:00:07.644 ******** 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-team-test-not-cleaning-up-properly21iqcino/tests/tasks/manage_test_interface.yml:8 Wednesday 24 July 2024 18:56:03 +0000 (0:00:00.007) 0:00:07.652 ******** 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-team-test-not-cleaning-up-properly21iqcino/tests/tasks/manage_test_interface.yml:13 Wednesday 24 July 2024 18:56:03 +0000 (0:00:00.007) 0:00:07.659 ******** included: /WORKDIR/git-team-test-not-cleaning-up-properly21iqcino/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-team-test-not-cleaning-up-properly21iqcino/tests/tasks/show_interfaces.yml:3 Wednesday 24 July 2024 18:56:03 +0000 (0:00:00.020) 0:00:07.680 ******** included: /WORKDIR/git-team-test-not-cleaning-up-properly21iqcino/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-team-test-not-cleaning-up-properly21iqcino/tests/tasks/get_current_interfaces.yml:3 Wednesday 24 July 2024 18:56:03 +0000 (0:00:00.009) 0:00:07.690 ******** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003562", "end": "2024-07-24 18:56:03.576306", "rc": 0, "start": "2024-07-24 18:56:03.572744" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-team-test-not-cleaning-up-properly21iqcino/tests/tasks/get_current_interfaces.yml:9 Wednesday 24 July 2024 18:56:03 +0000 (0:00:00.232) 0:00:07.923 ******** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-team-test-not-cleaning-up-properly21iqcino/tests/tasks/show_interfaces.yml:5 Wednesday 24 July 2024 18:56:03 +0000 (0:00:00.010) 0:00:07.933 ******** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-team-test-not-cleaning-up-properly21iqcino/tests/tasks/manage_test_interface.yml:16 Wednesday 24 July 2024 18:56:03 +0000 (0:00:00.008) 0:00:07.942 ******** ok: [sut] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth1298] ****************************************** task path: /WORKDIR/git-team-test-not-cleaning-up-properly21iqcino/tests/tasks/manage_test_interface.yml:27 Wednesday 24 July 2024 18:56:05 +0000 (0:00:01.472) 0:00:09.415 ******** 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.006337", "end": "2024-07-24 18:56:05.301018", "item": "ip link add veth1298 type veth peer name peerveth1298", "rc": 0, "start": "2024-07-24 18:56:05.294681" } ok: [sut] => (item=ip link set peerveth1298 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peerveth1298", "up" ], "delta": "0:00:00.003895", "end": "2024-07-24 18:56:05.587701", "item": "ip link set peerveth1298 up", "rc": 0, "start": "2024-07-24 18:56:05.583806" } ok: [sut] => (item=ip link set veth1298 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "veth1298", "up" ], "delta": "0:00:00.004088", "end": "2024-07-24 18:56:05.804751", "item": "ip link set veth1298 up", "rc": 0, "start": "2024-07-24 18:56:05.800663" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-team-test-not-cleaning-up-properly21iqcino/tests/tasks/manage_test_interface.yml:35 Wednesday 24 July 2024 18:56:05 +0000 (0:00:00.735) 0:00:10.151 ******** ok: [sut] => { "changed": false, "cmd": [ "nmcli", "d", "set", "veth1298", "managed", "true" ], "delta": "0:00:00.021604", "end": "2024-07-24 18:56:06.047035", "rc": 0, "start": "2024-07-24 18:56:06.025431" } TASK [Delete veth interface veth1298] ****************************************** task path: /WORKDIR/git-team-test-not-cleaning-up-properly21iqcino/tests/tasks/manage_test_interface.yml:43 Wednesday 24 July 2024 18:56:06 +0000 (0:00:00.245) 0:00:10.396 ******** 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-team-test-not-cleaning-up-properly21iqcino/tests/tasks/manage_test_interface.yml:49 Wednesday 24 July 2024 18:56:06 +0000 (0:00:00.009) 0:00:10.405 ******** 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-team-test-not-cleaning-up-properly21iqcino/tests/tasks/manage_test_interface.yml:54 Wednesday 24 July 2024 18:56:06 +0000 (0:00:00.012) 0:00:10.418 ******** 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-team-test-not-cleaning-up-properly21iqcino/tests/tasks/manage_test_interface.yml:60 Wednesday 24 July 2024 18:56:06 +0000 (0:00:00.009) 0:00:10.428 ******** 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-team-test-not-cleaning-up-properly21iqcino/tests/tasks/manage_test_interface.yml:65 Wednesday 24 July 2024 18:56:06 +0000 (0:00:00.014) 0:00:10.442 ******** 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-team-test-not-cleaning-up-properly21iqcino/tests/tasks/create_and_remove_interface.yml:18 Wednesday 24 July 2024 18:56:06 +0000 (0:00:00.010) 0:00:10.452 ******** included: /WORKDIR/git-team-test-not-cleaning-up-properly21iqcino/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-team-test-not-cleaning-up-properly21iqcino/tests/tasks/show_interfaces.yml:3 Wednesday 24 July 2024 18:56:06 +0000 (0:00:00.017) 0:00:10.470 ******** included: /WORKDIR/git-team-test-not-cleaning-up-properly21iqcino/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-team-test-not-cleaning-up-properly21iqcino/tests/tasks/get_current_interfaces.yml:3 Wednesday 24 July 2024 18:56:06 +0000 (0:00:00.019) 0:00:10.490 ******** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003401", "end": "2024-07-24 18:56:06.367954", "rc": 0, "start": "2024-07-24 18:56:06.364553" } STDOUT: bonding_masters eth0 lo peerveth1298 veth1298 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-team-test-not-cleaning-up-properly21iqcino/tests/tasks/get_current_interfaces.yml:9 Wednesday 24 July 2024 18:56:06 +0000 (0:00:00.224) 0:00:10.715 ******** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "peerveth1298", "veth1298" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-team-test-not-cleaning-up-properly21iqcino/tests/tasks/show_interfaces.yml:5 Wednesday 24 July 2024 18:56:06 +0000 (0:00:00.029) 0:00:10.744 ******** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'peerveth1298', 'veth1298'] TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-team-test-not-cleaning-up-properly21iqcino/tests/tasks/create_and_remove_interface.yml:20 Wednesday 24 July 2024 18:56:06 +0000 (0:00:00.012) 0:00:10.756 ******** included: /WORKDIR/git-team-test-not-cleaning-up-properly21iqcino/tests/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-team-test-not-cleaning-up-properly21iqcino/tests/tasks/assert_device_present.yml:3 Wednesday 24 July 2024 18:56:06 +0000 (0:00:00.018) 0:00:10.775 ******** included: /WORKDIR/git-team-test-not-cleaning-up-properly21iqcino/tests/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth1298] ***************************************** task path: /WORKDIR/git-team-test-not-cleaning-up-properly21iqcino/tests/tasks/get_interface_stat.yml:3 Wednesday 24 July 2024 18:56:06 +0000 (0:00:00.010) 0:00:10.785 ******** ok: [sut] => { "changed": false, "stat": { "atime": 1721847365.2984974, "block_size": 4096, "blocks": 0, "ctime": 1721847365.2984974, "dev": 23, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 37567, "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": 1721847365.2984974, "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-team-test-not-cleaning-up-properly21iqcino/tests/tasks/assert_device_present.yml:5 Wednesday 24 July 2024 18:56:06 +0000 (0:00:00.235) 0:00:11.021 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-team-test-not-cleaning-up-properly21iqcino/tests/tasks/create_and_remove_interface.yml:23 Wednesday 24 July 2024 18:56:06 +0000 (0:00:00.010) 0:00:11.031 ******** included: /WORKDIR/git-team-test-not-cleaning-up-properly21iqcino/tests/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-team-test-not-cleaning-up-properly21iqcino/tests/tasks/manage_test_interface.yml:3 Wednesday 24 July 2024 18:56:06 +0000 (0:00:00.018) 0:00:11.049 ******** 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-team-test-not-cleaning-up-properly21iqcino/tests/tasks/manage_test_interface.yml:8 Wednesday 24 July 2024 18:56:06 +0000 (0:00:00.012) 0:00:11.062 ******** 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-team-test-not-cleaning-up-properly21iqcino/tests/tasks/manage_test_interface.yml:13 Wednesday 24 July 2024 18:56:06 +0000 (0:00:00.007) 0:00:11.070 ******** included: /WORKDIR/git-team-test-not-cleaning-up-properly21iqcino/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-team-test-not-cleaning-up-properly21iqcino/tests/tasks/show_interfaces.yml:3 Wednesday 24 July 2024 18:56:06 +0000 (0:00:00.011) 0:00:11.081 ******** included: /WORKDIR/git-team-test-not-cleaning-up-properly21iqcino/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-team-test-not-cleaning-up-properly21iqcino/tests/tasks/get_current_interfaces.yml:3 Wednesday 24 July 2024 18:56:06 +0000 (0:00:00.011) 0:00:11.092 ******** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003450", "end": "2024-07-24 18:56:06.972223", "rc": 0, "start": "2024-07-24 18:56:06.968773" } STDOUT: bonding_masters eth0 lo peerveth1298 veth1298 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-team-test-not-cleaning-up-properly21iqcino/tests/tasks/get_current_interfaces.yml:9 Wednesday 24 July 2024 18:56:06 +0000 (0:00:00.225) 0:00:11.318 ******** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "peerveth1298", "veth1298" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-team-test-not-cleaning-up-properly21iqcino/tests/tasks/show_interfaces.yml:5 Wednesday 24 July 2024 18:56:07 +0000 (0:00:00.015) 0:00:11.333 ******** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'peerveth1298', 'veth1298'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-team-test-not-cleaning-up-properly21iqcino/tests/tasks/manage_test_interface.yml:16 Wednesday 24 July 2024 18:56:07 +0000 (0:00:00.009) 0:00:11.343 ******** ok: [sut] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth1298] ****************************************** task path: /WORKDIR/git-team-test-not-cleaning-up-properly21iqcino/tests/tasks/manage_test_interface.yml:27 Wednesday 24 July 2024 18:56:08 +0000 (0:00:01.437) 0:00:12.780 ******** 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-team-test-not-cleaning-up-properly21iqcino/tests/tasks/manage_test_interface.yml:35 Wednesday 24 July 2024 18:56:08 +0000 (0:00:00.015) 0:00:12.795 ******** 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-team-test-not-cleaning-up-properly21iqcino/tests/tasks/manage_test_interface.yml:43 Wednesday 24 July 2024 18:56:08 +0000 (0:00:00.007) 0:00:12.803 ******** ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "veth1298", "type", "veth" ], "delta": "0:00:00.010030", "end": "2024-07-24 18:56:08.685529", "rc": 0, "start": "2024-07-24 18:56:08.675499" } TASK [Create dummy interface veth1298] ***************************************** task path: /WORKDIR/git-team-test-not-cleaning-up-properly21iqcino/tests/tasks/manage_test_interface.yml:49 Wednesday 24 July 2024 18:56:08 +0000 (0:00:00.256) 0:00:13.060 ******** 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-team-test-not-cleaning-up-properly21iqcino/tests/tasks/manage_test_interface.yml:54 Wednesday 24 July 2024 18:56:08 +0000 (0:00:00.027) 0:00:13.088 ******** 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-team-test-not-cleaning-up-properly21iqcino/tests/tasks/manage_test_interface.yml:60 Wednesday 24 July 2024 18:56:08 +0000 (0:00:00.029) 0:00:13.117 ******** 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-team-test-not-cleaning-up-properly21iqcino/tests/tasks/manage_test_interface.yml:65 Wednesday 24 July 2024 18:56:08 +0000 (0:00:00.028) 0:00:13.145 ******** 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-team-test-not-cleaning-up-properly21iqcino/tests/tasks/create_and_remove_interface.yml:27 Wednesday 24 July 2024 18:56:08 +0000 (0:00:00.016) 0:00:13.162 ******** included: /WORKDIR/git-team-test-not-cleaning-up-properly21iqcino/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-team-test-not-cleaning-up-properly21iqcino/tests/tasks/show_interfaces.yml:3 Wednesday 24 July 2024 18:56:08 +0000 (0:00:00.020) 0:00:13.182 ******** included: /WORKDIR/git-team-test-not-cleaning-up-properly21iqcino/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-team-test-not-cleaning-up-properly21iqcino/tests/tasks/get_current_interfaces.yml:3 Wednesday 24 July 2024 18:56:08 +0000 (0:00:00.019) 0:00:13.202 ******** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003607", "end": "2024-07-24 18:56:09.080733", "rc": 0, "start": "2024-07-24 18:56:09.077126" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-team-test-not-cleaning-up-properly21iqcino/tests/tasks/get_current_interfaces.yml:9 Wednesday 24 July 2024 18:56:09 +0000 (0:00:00.227) 0:00:13.430 ******** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-team-test-not-cleaning-up-properly21iqcino/tests/tasks/show_interfaces.yml:5 Wednesday 24 July 2024 18:56:09 +0000 (0:00:00.011) 0:00:13.442 ******** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Include the task 'assert_device_absent.yml'] ***************************** task path: /WORKDIR/git-team-test-not-cleaning-up-properly21iqcino/tests/tasks/create_and_remove_interface.yml:29 Wednesday 24 July 2024 18:56:09 +0000 (0:00:00.011) 0:00:13.454 ******** included: /WORKDIR/git-team-test-not-cleaning-up-properly21iqcino/tests/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-team-test-not-cleaning-up-properly21iqcino/tests/tasks/assert_device_absent.yml:3 Wednesday 24 July 2024 18:56:09 +0000 (0:00:00.024) 0:00:13.478 ******** included: /WORKDIR/git-team-test-not-cleaning-up-properly21iqcino/tests/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth1298] ***************************************** task path: /WORKDIR/git-team-test-not-cleaning-up-properly21iqcino/tests/tasks/get_interface_stat.yml:3 Wednesday 24 July 2024 18:56:09 +0000 (0:00:00.034) 0:00:13.513 ******** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'veth1298'] ************************ task path: /WORKDIR/git-team-test-not-cleaning-up-properly21iqcino/tests/tasks/assert_device_absent.yml:5 Wednesday 24 July 2024 18:56:09 +0000 (0:00:00.280) 0:00:13.793 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test veth interface management] ****************************************** task path: /WORKDIR/git-team-test-not-cleaning-up-properly21iqcino/tests/tests_helpers_and_asserts.yml:15 Wednesday 24 July 2024 18:56:09 +0000 (0:00:00.060) 0:00:13.854 ******** included: /WORKDIR/git-team-test-not-cleaning-up-properly21iqcino/tests/tasks/create_and_remove_interface.yml for sut TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-team-test-not-cleaning-up-properly21iqcino/tests/tasks/create_and_remove_interface.yml:3 Wednesday 24 July 2024 18:56:09 +0000 (0:00:00.021) 0:00:13.875 ******** included: /WORKDIR/git-team-test-not-cleaning-up-properly21iqcino/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-team-test-not-cleaning-up-properly21iqcino/tests/tasks/show_interfaces.yml:3 Wednesday 24 July 2024 18:56:09 +0000 (0:00:00.047) 0:00:13.923 ******** included: /WORKDIR/git-team-test-not-cleaning-up-properly21iqcino/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-team-test-not-cleaning-up-properly21iqcino/tests/tasks/get_current_interfaces.yml:3 Wednesday 24 July 2024 18:56:09 +0000 (0:00:00.046) 0:00:13.970 ******** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003641", "end": "2024-07-24 18:56:09.853353", "rc": 0, "start": "2024-07-24 18:56:09.849712" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-team-test-not-cleaning-up-properly21iqcino/tests/tasks/get_current_interfaces.yml:9 Wednesday 24 July 2024 18:56:09 +0000 (0:00:00.230) 0:00:14.200 ******** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-team-test-not-cleaning-up-properly21iqcino/tests/tasks/show_interfaces.yml:5 Wednesday 24 July 2024 18:56:09 +0000 (0:00:00.024) 0:00:14.225 ******** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-team-test-not-cleaning-up-properly21iqcino/tests/tasks/create_and_remove_interface.yml:5 Wednesday 24 July 2024 18:56:09 +0000 (0:00:00.015) 0:00:14.241 ******** included: /WORKDIR/git-team-test-not-cleaning-up-properly21iqcino/tests/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-team-test-not-cleaning-up-properly21iqcino/tests/tasks/manage_test_interface.yml:3 Wednesday 24 July 2024 18:56:09 +0000 (0:00:00.021) 0:00:14.262 ******** 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-team-test-not-cleaning-up-properly21iqcino/tests/tasks/manage_test_interface.yml:8 Wednesday 24 July 2024 18:56:09 +0000 (0:00:00.009) 0:00:14.271 ******** 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-team-test-not-cleaning-up-properly21iqcino/tests/tasks/manage_test_interface.yml:13 Wednesday 24 July 2024 18:56:09 +0000 (0:00:00.009) 0:00:14.281 ******** included: /WORKDIR/git-team-test-not-cleaning-up-properly21iqcino/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-team-test-not-cleaning-up-properly21iqcino/tests/tasks/show_interfaces.yml:3 Wednesday 24 July 2024 18:56:09 +0000 (0:00:00.011) 0:00:14.292 ******** included: /WORKDIR/git-team-test-not-cleaning-up-properly21iqcino/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-team-test-not-cleaning-up-properly21iqcino/tests/tasks/get_current_interfaces.yml:3 Wednesday 24 July 2024 18:56:09 +0000 (0:00:00.011) 0:00:14.303 ******** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003628", "end": "2024-07-24 18:56:10.180654", "rc": 0, "start": "2024-07-24 18:56:10.177026" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-team-test-not-cleaning-up-properly21iqcino/tests/tasks/get_current_interfaces.yml:9 Wednesday 24 July 2024 18:56:10 +0000 (0:00:00.230) 0:00:14.534 ******** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-team-test-not-cleaning-up-properly21iqcino/tests/tasks/show_interfaces.yml:5 Wednesday 24 July 2024 18:56:10 +0000 (0:00:00.015) 0:00:14.550 ******** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-team-test-not-cleaning-up-properly21iqcino/tests/tasks/manage_test_interface.yml:16 Wednesday 24 July 2024 18:56:10 +0000 (0:00:00.009) 0:00:14.560 ******** ok: [sut] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface dummy1298] ***************************************** task path: /WORKDIR/git-team-test-not-cleaning-up-properly21iqcino/tests/tasks/manage_test_interface.yml:27 Wednesday 24 July 2024 18:56:11 +0000 (0:00:01.486) 0:00:16.046 ******** 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-team-test-not-cleaning-up-properly21iqcino/tests/tasks/manage_test_interface.yml:35 Wednesday 24 July 2024 18:56:11 +0000 (0:00:00.015) 0:00:16.062 ******** 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-team-test-not-cleaning-up-properly21iqcino/tests/tasks/manage_test_interface.yml:43 Wednesday 24 July 2024 18:56:11 +0000 (0:00:00.011) 0:00:16.073 ******** 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-team-test-not-cleaning-up-properly21iqcino/tests/tasks/manage_test_interface.yml:49 Wednesday 24 July 2024 18:56:11 +0000 (0:00:00.010) 0:00:16.083 ******** 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-team-test-not-cleaning-up-properly21iqcino/tests/tasks/manage_test_interface.yml:54 Wednesday 24 July 2024 18:56:11 +0000 (0:00:00.009) 0:00:16.092 ******** 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-team-test-not-cleaning-up-properly21iqcino/tests/tasks/manage_test_interface.yml:60 Wednesday 24 July 2024 18:56:11 +0000 (0:00:00.008) 0:00:16.101 ******** 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-team-test-not-cleaning-up-properly21iqcino/tests/tasks/manage_test_interface.yml:65 Wednesday 24 July 2024 18:56:11 +0000 (0:00:00.008) 0:00:16.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-team-test-not-cleaning-up-properly21iqcino/tests/tasks/create_and_remove_interface.yml:9 Wednesday 24 July 2024 18:56:11 +0000 (0:00:00.009) 0:00:16.120 ******** included: /WORKDIR/git-team-test-not-cleaning-up-properly21iqcino/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-team-test-not-cleaning-up-properly21iqcino/tests/tasks/show_interfaces.yml:3 Wednesday 24 July 2024 18:56:11 +0000 (0:00:00.014) 0:00:16.134 ******** included: /WORKDIR/git-team-test-not-cleaning-up-properly21iqcino/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-team-test-not-cleaning-up-properly21iqcino/tests/tasks/get_current_interfaces.yml:3 Wednesday 24 July 2024 18:56:11 +0000 (0:00:00.009) 0:00:16.144 ******** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003444", "end": "2024-07-24 18:56:12.020016", "rc": 0, "start": "2024-07-24 18:56:12.016572" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-team-test-not-cleaning-up-properly21iqcino/tests/tasks/get_current_interfaces.yml:9 Wednesday 24 July 2024 18:56:12 +0000 (0:00:00.221) 0:00:16.366 ******** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-team-test-not-cleaning-up-properly21iqcino/tests/tasks/show_interfaces.yml:5 Wednesday 24 July 2024 18:56:12 +0000 (0:00:00.011) 0:00:16.377 ******** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Include the task 'assert_device_absent.yml'] ***************************** task path: /WORKDIR/git-team-test-not-cleaning-up-properly21iqcino/tests/tasks/create_and_remove_interface.yml:11 Wednesday 24 July 2024 18:56:12 +0000 (0:00:00.014) 0:00:16.392 ******** included: /WORKDIR/git-team-test-not-cleaning-up-properly21iqcino/tests/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-team-test-not-cleaning-up-properly21iqcino/tests/tasks/assert_device_absent.yml:3 Wednesday 24 July 2024 18:56:12 +0000 (0:00:00.015) 0:00:16.408 ******** included: /WORKDIR/git-team-test-not-cleaning-up-properly21iqcino/tests/tasks/get_interface_stat.yml for sut TASK [Get stat for interface dummy1298] **************************************** task path: /WORKDIR/git-team-test-not-cleaning-up-properly21iqcino/tests/tasks/get_interface_stat.yml:3 Wednesday 24 July 2024 18:56:12 +0000 (0:00:00.010) 0:00:16.419 ******** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'dummy1298'] *********************** task path: /WORKDIR/git-team-test-not-cleaning-up-properly21iqcino/tests/tasks/assert_device_absent.yml:5 Wednesday 24 July 2024 18:56:12 +0000 (0:00:00.225) 0:00:16.644 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-team-test-not-cleaning-up-properly21iqcino/tests/tasks/create_and_remove_interface.yml:14 Wednesday 24 July 2024 18:56:12 +0000 (0:00:00.011) 0:00:16.656 ******** included: /WORKDIR/git-team-test-not-cleaning-up-properly21iqcino/tests/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-team-test-not-cleaning-up-properly21iqcino/tests/tasks/manage_test_interface.yml:3 Wednesday 24 July 2024 18:56:12 +0000 (0:00:00.016) 0:00:16.673 ******** 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-team-test-not-cleaning-up-properly21iqcino/tests/tasks/manage_test_interface.yml:8 Wednesday 24 July 2024 18:56:12 +0000 (0:00:00.008) 0:00:16.682 ******** 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-team-test-not-cleaning-up-properly21iqcino/tests/tasks/manage_test_interface.yml:13 Wednesday 24 July 2024 18:56:12 +0000 (0:00:00.008) 0:00:16.690 ******** included: /WORKDIR/git-team-test-not-cleaning-up-properly21iqcino/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-team-test-not-cleaning-up-properly21iqcino/tests/tasks/show_interfaces.yml:3 Wednesday 24 July 2024 18:56:12 +0000 (0:00:00.012) 0:00:16.702 ******** included: /WORKDIR/git-team-test-not-cleaning-up-properly21iqcino/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-team-test-not-cleaning-up-properly21iqcino/tests/tasks/get_current_interfaces.yml:3 Wednesday 24 July 2024 18:56:12 +0000 (0:00:00.010) 0:00:16.713 ******** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003558", "end": "2024-07-24 18:56:12.591664", "rc": 0, "start": "2024-07-24 18:56:12.588106" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-team-test-not-cleaning-up-properly21iqcino/tests/tasks/get_current_interfaces.yml:9 Wednesday 24 July 2024 18:56:12 +0000 (0:00:00.230) 0:00:16.943 ******** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-team-test-not-cleaning-up-properly21iqcino/tests/tasks/show_interfaces.yml:5 Wednesday 24 July 2024 18:56:12 +0000 (0:00:00.010) 0:00:16.953 ******** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-team-test-not-cleaning-up-properly21iqcino/tests/tasks/manage_test_interface.yml:16 Wednesday 24 July 2024 18:56:12 +0000 (0:00:00.009) 0:00:16.963 ******** ok: [sut] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface dummy1298] ***************************************** task path: /WORKDIR/git-team-test-not-cleaning-up-properly21iqcino/tests/tasks/manage_test_interface.yml:27 Wednesday 24 July 2024 18:56:14 +0000 (0:00:01.436) 0:00:18.399 ******** 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-team-test-not-cleaning-up-properly21iqcino/tests/tasks/manage_test_interface.yml:35 Wednesday 24 July 2024 18:56:14 +0000 (0:00:00.013) 0:00:18.413 ******** 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-team-test-not-cleaning-up-properly21iqcino/tests/tasks/manage_test_interface.yml:43 Wednesday 24 July 2024 18:56:14 +0000 (0:00:00.009) 0:00:18.422 ******** 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-team-test-not-cleaning-up-properly21iqcino/tests/tasks/manage_test_interface.yml:49 Wednesday 24 July 2024 18:56:14 +0000 (0:00:00.009) 0:00:18.431 ******** ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "add", "dummy1298", "type", "dummy" ], "delta": "0:00:00.006342", "end": "2024-07-24 18:56:14.313373", "rc": 0, "start": "2024-07-24 18:56:14.307031" } TASK [Delete dummy interface dummy1298] **************************************** task path: /WORKDIR/git-team-test-not-cleaning-up-properly21iqcino/tests/tasks/manage_test_interface.yml:54 Wednesday 24 July 2024 18:56:14 +0000 (0:00:00.241) 0:00:18.673 ******** 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-team-test-not-cleaning-up-properly21iqcino/tests/tasks/manage_test_interface.yml:60 Wednesday 24 July 2024 18:56:14 +0000 (0:00:00.008) 0:00:18.682 ******** 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-team-test-not-cleaning-up-properly21iqcino/tests/tasks/manage_test_interface.yml:65 Wednesday 24 July 2024 18:56:14 +0000 (0:00:00.007) 0:00:18.690 ******** 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-team-test-not-cleaning-up-properly21iqcino/tests/tasks/create_and_remove_interface.yml:18 Wednesday 24 July 2024 18:56:14 +0000 (0:00:00.010) 0:00:18.701 ******** included: /WORKDIR/git-team-test-not-cleaning-up-properly21iqcino/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-team-test-not-cleaning-up-properly21iqcino/tests/tasks/show_interfaces.yml:3 Wednesday 24 July 2024 18:56:14 +0000 (0:00:00.015) 0:00:18.716 ******** included: /WORKDIR/git-team-test-not-cleaning-up-properly21iqcino/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-team-test-not-cleaning-up-properly21iqcino/tests/tasks/get_current_interfaces.yml:3 Wednesday 24 July 2024 18:56:14 +0000 (0:00:00.009) 0:00:18.726 ******** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003435", "end": "2024-07-24 18:56:14.602397", "rc": 0, "start": "2024-07-24 18:56:14.598962" } STDOUT: bonding_masters dummy1298 eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-team-test-not-cleaning-up-properly21iqcino/tests/tasks/get_current_interfaces.yml:9 Wednesday 24 July 2024 18:56:14 +0000 (0:00:00.222) 0:00:18.948 ******** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "dummy1298", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-team-test-not-cleaning-up-properly21iqcino/tests/tasks/show_interfaces.yml:5 Wednesday 24 July 2024 18:56:14 +0000 (0:00:00.009) 0:00:18.958 ******** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'dummy1298', 'eth0', 'lo'] TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-team-test-not-cleaning-up-properly21iqcino/tests/tasks/create_and_remove_interface.yml:20 Wednesday 24 July 2024 18:56:14 +0000 (0:00:00.009) 0:00:18.968 ******** included: /WORKDIR/git-team-test-not-cleaning-up-properly21iqcino/tests/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-team-test-not-cleaning-up-properly21iqcino/tests/tasks/assert_device_present.yml:3 Wednesday 24 July 2024 18:56:14 +0000 (0:00:00.016) 0:00:18.984 ******** included: /WORKDIR/git-team-test-not-cleaning-up-properly21iqcino/tests/tasks/get_interface_stat.yml for sut TASK [Get stat for interface dummy1298] **************************************** task path: /WORKDIR/git-team-test-not-cleaning-up-properly21iqcino/tests/tasks/get_interface_stat.yml:3 Wednesday 24 July 2024 18:56:14 +0000 (0:00:00.009) 0:00:18.994 ******** ok: [sut] => { "changed": false, "stat": { "atime": 1721847374.3105922, "block_size": 4096, "blocks": 0, "ctime": 1721847374.3105922, "dev": 23, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 37770, "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": 1721847374.3105922, "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-team-test-not-cleaning-up-properly21iqcino/tests/tasks/assert_device_present.yml:5 Wednesday 24 July 2024 18:56:14 +0000 (0:00:00.217) 0:00:19.211 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-team-test-not-cleaning-up-properly21iqcino/tests/tasks/create_and_remove_interface.yml:23 Wednesday 24 July 2024 18:56:14 +0000 (0:00:00.010) 0:00:19.222 ******** included: /WORKDIR/git-team-test-not-cleaning-up-properly21iqcino/tests/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-team-test-not-cleaning-up-properly21iqcino/tests/tasks/manage_test_interface.yml:3 Wednesday 24 July 2024 18:56:14 +0000 (0:00:00.018) 0:00:19.240 ******** 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-team-test-not-cleaning-up-properly21iqcino/tests/tasks/manage_test_interface.yml:8 Wednesday 24 July 2024 18:56:14 +0000 (0:00:00.009) 0:00:19.249 ******** 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-team-test-not-cleaning-up-properly21iqcino/tests/tasks/manage_test_interface.yml:13 Wednesday 24 July 2024 18:56:14 +0000 (0:00:00.007) 0:00:19.257 ******** included: /WORKDIR/git-team-test-not-cleaning-up-properly21iqcino/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-team-test-not-cleaning-up-properly21iqcino/tests/tasks/show_interfaces.yml:3 Wednesday 24 July 2024 18:56:14 +0000 (0:00:00.011) 0:00:19.268 ******** included: /WORKDIR/git-team-test-not-cleaning-up-properly21iqcino/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-team-test-not-cleaning-up-properly21iqcino/tests/tasks/get_current_interfaces.yml:3 Wednesday 24 July 2024 18:56:14 +0000 (0:00:00.013) 0:00:19.282 ******** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:01.004632", "end": "2024-07-24 18:56:16.159909", "rc": 0, "start": "2024-07-24 18:56:15.155277" } STDOUT: bonding_masters dummy1298 eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-team-test-not-cleaning-up-properly21iqcino/tests/tasks/get_current_interfaces.yml:9 Wednesday 24 July 2024 18:56:16 +0000 (0:00:01.224) 0:00:20.506 ******** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "dummy1298", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-team-test-not-cleaning-up-properly21iqcino/tests/tasks/show_interfaces.yml:5 Wednesday 24 July 2024 18:56:16 +0000 (0:00:00.009) 0:00:20.516 ******** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'dummy1298', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-team-test-not-cleaning-up-properly21iqcino/tests/tasks/manage_test_interface.yml:16 Wednesday 24 July 2024 18:56:16 +0000 (0:00:00.010) 0:00:20.527 ******** ok: [sut] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface dummy1298] ***************************************** task path: /WORKDIR/git-team-test-not-cleaning-up-properly21iqcino/tests/tasks/manage_test_interface.yml:27 Wednesday 24 July 2024 18:56:17 +0000 (0:00:01.426) 0:00:21.954 ******** 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-team-test-not-cleaning-up-properly21iqcino/tests/tasks/manage_test_interface.yml:35 Wednesday 24 July 2024 18:56:17 +0000 (0:00:00.014) 0:00:21.968 ******** 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-team-test-not-cleaning-up-properly21iqcino/tests/tasks/manage_test_interface.yml:43 Wednesday 24 July 2024 18:56:17 +0000 (0:00:00.008) 0:00:21.976 ******** 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-team-test-not-cleaning-up-properly21iqcino/tests/tasks/manage_test_interface.yml:49 Wednesday 24 July 2024 18:56:17 +0000 (0:00:00.008) 0:00:21.984 ******** 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-team-test-not-cleaning-up-properly21iqcino/tests/tasks/manage_test_interface.yml:54 Wednesday 24 July 2024 18:56:17 +0000 (0:00:00.009) 0:00:21.993 ******** ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "dummy1298", "type", "dummy" ], "delta": "0:00:00.007756", "end": "2024-07-24 18:56:17.874113", "rc": 0, "start": "2024-07-24 18:56:17.866357" } TASK [Create tap interface dummy1298] ****************************************** task path: /WORKDIR/git-team-test-not-cleaning-up-properly21iqcino/tests/tasks/manage_test_interface.yml:60 Wednesday 24 July 2024 18:56:17 +0000 (0:00:00.240) 0:00:22.234 ******** 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-team-test-not-cleaning-up-properly21iqcino/tests/tasks/manage_test_interface.yml:65 Wednesday 24 July 2024 18:56:17 +0000 (0:00:00.009) 0:00:22.244 ******** 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-team-test-not-cleaning-up-properly21iqcino/tests/tasks/create_and_remove_interface.yml:27 Wednesday 24 July 2024 18:56:17 +0000 (0:00:00.009) 0:00:22.253 ******** included: /WORKDIR/git-team-test-not-cleaning-up-properly21iqcino/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-team-test-not-cleaning-up-properly21iqcino/tests/tasks/show_interfaces.yml:3 Wednesday 24 July 2024 18:56:17 +0000 (0:00:00.020) 0:00:22.273 ******** included: /WORKDIR/git-team-test-not-cleaning-up-properly21iqcino/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-team-test-not-cleaning-up-properly21iqcino/tests/tasks/get_current_interfaces.yml:3 Wednesday 24 July 2024 18:56:17 +0000 (0:00:00.013) 0:00:22.287 ******** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003306", "end": "2024-07-24 18:56:18.179021", "rc": 0, "start": "2024-07-24 18:56:18.175715" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-team-test-not-cleaning-up-properly21iqcino/tests/tasks/get_current_interfaces.yml:9 Wednesday 24 July 2024 18:56:18 +0000 (0:00:00.237) 0:00:22.525 ******** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-team-test-not-cleaning-up-properly21iqcino/tests/tasks/show_interfaces.yml:5 Wednesday 24 July 2024 18:56:18 +0000 (0:00:00.009) 0:00:22.534 ******** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Include the task 'assert_device_absent.yml'] ***************************** task path: /WORKDIR/git-team-test-not-cleaning-up-properly21iqcino/tests/tasks/create_and_remove_interface.yml:29 Wednesday 24 July 2024 18:56:18 +0000 (0:00:00.010) 0:00:22.545 ******** included: /WORKDIR/git-team-test-not-cleaning-up-properly21iqcino/tests/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-team-test-not-cleaning-up-properly21iqcino/tests/tasks/assert_device_absent.yml:3 Wednesday 24 July 2024 18:56:18 +0000 (0:00:00.019) 0:00:22.565 ******** included: /WORKDIR/git-team-test-not-cleaning-up-properly21iqcino/tests/tasks/get_interface_stat.yml for sut TASK [Get stat for interface dummy1298] **************************************** task path: /WORKDIR/git-team-test-not-cleaning-up-properly21iqcino/tests/tasks/get_interface_stat.yml:3 Wednesday 24 July 2024 18:56:18 +0000 (0:00:00.013) 0:00:22.578 ******** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'dummy1298'] *********************** task path: /WORKDIR/git-team-test-not-cleaning-up-properly21iqcino/tests/tasks/assert_device_absent.yml:5 Wednesday 24 July 2024 18:56:18 +0000 (0:00:00.285) 0:00:22.863 ******** 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 24 July 2024 18:56:18 +0000 (0:00:00.019) 0:00:22.882 ******** =============================================================================== Gathering Facts --------------------------------------------------------- 2.37s /WORKDIR/git-team-test-not-cleaning-up-properly21iqcino/tests/tests_helpers_and_asserts.yml:3 Gather the minimum subset of ansible_facts required by the network role test --- 1.88s /WORKDIR/git-team-test-not-cleaning-up-properly21iqcino/tests/tasks/el_repo_setup.yml:3 Install iproute --------------------------------------------------------- 1.63s /WORKDIR/git-team-test-not-cleaning-up-properly21iqcino/tests/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 1.49s /WORKDIR/git-team-test-not-cleaning-up-properly21iqcino/tests/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 1.47s /WORKDIR/git-team-test-not-cleaning-up-properly21iqcino/tests/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 1.44s /WORKDIR/git-team-test-not-cleaning-up-properly21iqcino/tests/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 1.44s /WORKDIR/git-team-test-not-cleaning-up-properly21iqcino/tests/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 1.43s /WORKDIR/git-team-test-not-cleaning-up-properly21iqcino/tests/tasks/manage_test_interface.yml:16 Gather current interface info ------------------------------------------- 1.22s /WORKDIR/git-team-test-not-cleaning-up-properly21iqcino/tests/tasks/get_current_interfaces.yml:3 Create veth interface veth1298 ------------------------------------------ 0.74s /WORKDIR/git-team-test-not-cleaning-up-properly21iqcino/tests/tasks/manage_test_interface.yml:27 Check if system is ostree ----------------------------------------------- 0.29s /WORKDIR/git-team-test-not-cleaning-up-properly21iqcino/tests/tasks/el_repo_setup.yml:17 Get stat for interface dummy1298 ---------------------------------------- 0.29s /WORKDIR/git-team-test-not-cleaning-up-properly21iqcino/tests/tasks/get_interface_stat.yml:3 Gather current interface info ------------------------------------------- 0.29s /WORKDIR/git-team-test-not-cleaning-up-properly21iqcino/tests/tasks/get_current_interfaces.yml:3 Get stat for interface veth1298 ----------------------------------------- 0.28s /WORKDIR/git-team-test-not-cleaning-up-properly21iqcino/tests/tasks/get_interface_stat.yml:3 Delete veth interface veth1298 ------------------------------------------ 0.26s /WORKDIR/git-team-test-not-cleaning-up-properly21iqcino/tests/tasks/manage_test_interface.yml:43 Set up veth as managed by NetworkManager -------------------------------- 0.25s /WORKDIR/git-team-test-not-cleaning-up-properly21iqcino/tests/tasks/manage_test_interface.yml:35 Create dummy interface dummy1298 ---------------------------------------- 0.24s /WORKDIR/git-team-test-not-cleaning-up-properly21iqcino/tests/tasks/manage_test_interface.yml:49 Delete dummy interface dummy1298 ---------------------------------------- 0.24s /WORKDIR/git-team-test-not-cleaning-up-properly21iqcino/tests/tasks/manage_test_interface.yml:54 Gather current interface info ------------------------------------------- 0.24s /WORKDIR/git-team-test-not-cleaning-up-properly21iqcino/tests/tasks/get_current_interfaces.yml:3 Gather current interface info ------------------------------------------- 0.24s /WORKDIR/git-team-test-not-cleaning-up-properly21iqcino/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. ---^---^---^---^---^---