# 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-weekly-ciuyrcitzs/.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-weekly-ciuyrcitzs/tests/tests_helpers_and_asserts.yml PLAY [Check that creating and removing test devices and assertions work] ******* TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-weekly-ciuyrcitzs/tests/tests_helpers_and_asserts.yml:3 Saturday 27 January 2024 14:00:01 +0000 (0:00:00.034) 0:00:00.034 ****** ok: [sut] TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-weekly-ciuyrcitzs/tests/tests_helpers_and_asserts.yml:6 Saturday 27 January 2024 14:00:02 +0000 (0:00:00.816) 0:00:00.851 ****** included: /WORKDIR/git-weekly-ciuyrcitzs/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-weekly-ciuyrcitzs/tests/tasks/el_repo_setup.yml:3 Saturday 27 January 2024 14:00:02 +0000 (0:00:00.011) 0:00:00.863 ****** ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-weekly-ciuyrcitzs/tests/tasks/el_repo_setup.yml:17 Saturday 27 January 2024 14:00:02 +0000 (0:00:00.350) 0:00:01.213 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-weekly-ciuyrcitzs/tests/tasks/el_repo_setup.yml:22 Saturday 27 January 2024 14:00:03 +0000 (0:00:00.247) 0:00:01.460 ****** ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-weekly-ciuyrcitzs/tests/tasks/el_repo_setup.yml:26 Saturday 27 January 2024 14:00:03 +0000 (0:00:00.013) 0:00:01.474 ****** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version == '6'", "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-weekly-ciuyrcitzs/tests/tasks/el_repo_setup.yml:51 Saturday 27 January 2024 14:00:03 +0000 (0:00:00.008) 0:00:01.482 ****** included: /WORKDIR/git-weekly-ciuyrcitzs/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 8] *********************************************************** task path: /WORKDIR/git-weekly-ciuyrcitzs/tests/tasks/enable_epel.yml:8 Saturday 27 January 2024 14:00:03 +0000 (0:00:00.021) 0:00:01.504 ****** ok: [sut] => { "attempts": 1, "changed": false, "cmd": [ "rpm", "-iv", "https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm" ], "delta": null, "end": null, "rc": 0, "start": null } STDOUT: skipped, since /etc/yum.repos.d/epel.repo exists MSG: Did not run command since '/etc/yum.repos.d/epel.repo' exists TASK [Install yum-utils package] *********************************************** task path: /WORKDIR/git-weekly-ciuyrcitzs/tests/tasks/enable_epel.yml:24 Saturday 27 January 2024 14:00:03 +0000 (0:00:00.253) 0:00:01.758 ****** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version == '7'", "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /WORKDIR/git-weekly-ciuyrcitzs/tests/tasks/enable_epel.yml:30 Saturday 27 January 2024 14:00:03 +0000 (0:00:00.009) 0:00:01.767 ****** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version == '7'", "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /WORKDIR/git-weekly-ciuyrcitzs/tests/tasks/enable_epel.yml:35 Saturday 27 January 2024 14:00:03 +0000 (0:00:00.008) 0:00:01.775 ****** ok: [sut] => { "changed": false, "cmd": [ "dnf", "config-manager", "--set-enabled", "epel" ], "delta": "0:00:00.249859", "end": "2024-01-27 14:00:03.939550", "rc": 0, "start": "2024-01-27 14:00:03.689691" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-weekly-ciuyrcitzs/tests/tasks/enable_epel.yml:40 Saturday 27 January 2024 14:00:03 +0000 (0:00:00.441) 0:00:02.217 ****** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version == '6'", "skip_reason": "Conditional result was False" } TASK [Test veth interface management] ****************************************** task path: /WORKDIR/git-weekly-ciuyrcitzs/tests/tests_helpers_and_asserts.yml:9 Saturday 27 January 2024 14:00:03 +0000 (0:00:00.008) 0:00:02.226 ****** included: /WORKDIR/git-weekly-ciuyrcitzs/tests/tasks/create_and_remove_interface.yml for sut TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-weekly-ciuyrcitzs/tests/tasks/create_and_remove_interface.yml:3 Saturday 27 January 2024 14:00:03 +0000 (0:00:00.011) 0:00:02.237 ****** included: /WORKDIR/git-weekly-ciuyrcitzs/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-weekly-ciuyrcitzs/tests/tasks/show_interfaces.yml:3 Saturday 27 January 2024 14:00:03 +0000 (0:00:00.010) 0:00:02.248 ****** included: /WORKDIR/git-weekly-ciuyrcitzs/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-weekly-ciuyrcitzs/tests/tasks/get_current_interfaces.yml:3 Saturday 27 January 2024 14:00:03 +0000 (0:00:00.010) 0:00:02.258 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003538", "end": "2024-01-27 14:00:04.174762", "rc": 0, "start": "2024-01-27 14:00:04.171224" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-weekly-ciuyrcitzs/tests/tasks/get_current_interfaces.yml:9 Saturday 27 January 2024 14:00:04 +0000 (0:00:00.193) 0:00:02.452 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-weekly-ciuyrcitzs/tests/tasks/show_interfaces.yml:5 Saturday 27 January 2024 14:00:04 +0000 (0:00:00.009) 0:00:02.462 ****** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-weekly-ciuyrcitzs/tests/tasks/create_and_remove_interface.yml:5 Saturday 27 January 2024 14:00:04 +0000 (0:00:00.009) 0:00:02.471 ****** included: /WORKDIR/git-weekly-ciuyrcitzs/tests/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-weekly-ciuyrcitzs/tests/tasks/manage_test_interface.yml:3 Saturday 27 January 2024 14:00:04 +0000 (0:00:00.013) 0:00:02.485 ****** 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-weekly-ciuyrcitzs/tests/tasks/manage_test_interface.yml:8 Saturday 27 January 2024 14:00:04 +0000 (0:00:00.007) 0:00:02.493 ****** 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-weekly-ciuyrcitzs/tests/tasks/manage_test_interface.yml:13 Saturday 27 January 2024 14:00:04 +0000 (0:00:00.007) 0:00:02.500 ****** included: /WORKDIR/git-weekly-ciuyrcitzs/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-weekly-ciuyrcitzs/tests/tasks/show_interfaces.yml:3 Saturday 27 January 2024 14:00:04 +0000 (0:00:00.010) 0:00:02.511 ****** included: /WORKDIR/git-weekly-ciuyrcitzs/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-weekly-ciuyrcitzs/tests/tasks/get_current_interfaces.yml:3 Saturday 27 January 2024 14:00:04 +0000 (0:00:00.009) 0:00:02.520 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003634", "end": "2024-01-27 14:00:04.441250", "rc": 0, "start": "2024-01-27 14:00:04.437616" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-weekly-ciuyrcitzs/tests/tasks/get_current_interfaces.yml:9 Saturday 27 January 2024 14:00:04 +0000 (0:00:00.197) 0:00:02.718 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-weekly-ciuyrcitzs/tests/tasks/show_interfaces.yml:5 Saturday 27 January 2024 14:00:04 +0000 (0:00:00.009) 0:00:02.728 ****** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-weekly-ciuyrcitzs/tests/tasks/manage_test_interface.yml:16 Saturday 27 January 2024 14:00:04 +0000 (0:00:00.009) 0:00:02.738 ****** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do lsrpackages: iproute TASK [Create veth interface veth1298] ****************************************** task path: /WORKDIR/git-weekly-ciuyrcitzs/tests/tasks/manage_test_interface.yml:23 Saturday 27 January 2024 14:00:07 +0000 (0:00:03.145) 0:00:05.884 ****** 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-weekly-ciuyrcitzs/tests/tasks/manage_test_interface.yml:31 Saturday 27 January 2024 14:00:07 +0000 (0:00:00.014) 0:00:05.898 ****** 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-weekly-ciuyrcitzs/tests/tasks/manage_test_interface.yml:39 Saturday 27 January 2024 14:00:07 +0000 (0:00:00.008) 0:00:05.906 ****** 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-weekly-ciuyrcitzs/tests/tasks/manage_test_interface.yml:45 Saturday 27 January 2024 14:00:07 +0000 (0:00:00.008) 0:00:05.914 ****** 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-weekly-ciuyrcitzs/tests/tasks/manage_test_interface.yml:50 Saturday 27 January 2024 14:00:07 +0000 (0:00:00.008) 0:00:05.922 ****** 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-weekly-ciuyrcitzs/tests/tasks/manage_test_interface.yml:56 Saturday 27 January 2024 14:00:07 +0000 (0:00:00.009) 0:00:05.931 ****** 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-weekly-ciuyrcitzs/tests/tasks/manage_test_interface.yml:61 Saturday 27 January 2024 14:00:07 +0000 (0:00:00.009) 0:00:05.940 ****** 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-weekly-ciuyrcitzs/tests/tasks/create_and_remove_interface.yml:9 Saturday 27 January 2024 14:00:07 +0000 (0:00:00.007) 0:00:05.948 ****** included: /WORKDIR/git-weekly-ciuyrcitzs/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-weekly-ciuyrcitzs/tests/tasks/show_interfaces.yml:3 Saturday 27 January 2024 14:00:07 +0000 (0:00:00.012) 0:00:05.961 ****** included: /WORKDIR/git-weekly-ciuyrcitzs/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-weekly-ciuyrcitzs/tests/tasks/get_current_interfaces.yml:3 Saturday 27 January 2024 14:00:07 +0000 (0:00:00.009) 0:00:05.971 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003466", "end": "2024-01-27 14:00:07.885765", "rc": 0, "start": "2024-01-27 14:00:07.882299" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-weekly-ciuyrcitzs/tests/tasks/get_current_interfaces.yml:9 Saturday 27 January 2024 14:00:07 +0000 (0:00:00.191) 0:00:06.162 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-weekly-ciuyrcitzs/tests/tasks/show_interfaces.yml:5 Saturday 27 January 2024 14:00:07 +0000 (0:00:00.009) 0:00:06.172 ****** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Include the task 'assert_device_absent.yml'] ***************************** task path: /WORKDIR/git-weekly-ciuyrcitzs/tests/tasks/create_and_remove_interface.yml:11 Saturday 27 January 2024 14:00:07 +0000 (0:00:00.010) 0:00:06.182 ****** included: /WORKDIR/git-weekly-ciuyrcitzs/tests/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-weekly-ciuyrcitzs/tests/tasks/assert_device_absent.yml:3 Saturday 27 January 2024 14:00:07 +0000 (0:00:00.014) 0:00:06.197 ****** included: /WORKDIR/git-weekly-ciuyrcitzs/tests/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth1298] ***************************************** task path: /WORKDIR/git-weekly-ciuyrcitzs/tests/tasks/get_interface_stat.yml:3 Saturday 27 January 2024 14:00:07 +0000 (0:00:00.009) 0:00:06.206 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'veth1298'] ************************ task path: /WORKDIR/git-weekly-ciuyrcitzs/tests/tasks/assert_device_absent.yml:5 Saturday 27 January 2024 14:00:08 +0000 (0:00:00.189) 0:00:06.396 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-weekly-ciuyrcitzs/tests/tasks/create_and_remove_interface.yml:14 Saturday 27 January 2024 14:00:08 +0000 (0:00:00.011) 0:00:06.407 ****** included: /WORKDIR/git-weekly-ciuyrcitzs/tests/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-weekly-ciuyrcitzs/tests/tasks/manage_test_interface.yml:3 Saturday 27 January 2024 14:00:08 +0000 (0:00:00.015) 0:00:06.423 ****** 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-weekly-ciuyrcitzs/tests/tasks/manage_test_interface.yml:8 Saturday 27 January 2024 14:00:08 +0000 (0:00:00.008) 0:00:06.431 ****** 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-weekly-ciuyrcitzs/tests/tasks/manage_test_interface.yml:13 Saturday 27 January 2024 14:00:08 +0000 (0:00:00.007) 0:00:06.438 ****** included: /WORKDIR/git-weekly-ciuyrcitzs/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-weekly-ciuyrcitzs/tests/tasks/show_interfaces.yml:3 Saturday 27 January 2024 14:00:08 +0000 (0:00:00.011) 0:00:06.450 ****** included: /WORKDIR/git-weekly-ciuyrcitzs/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-weekly-ciuyrcitzs/tests/tasks/get_current_interfaces.yml:3 Saturday 27 January 2024 14:00:08 +0000 (0:00:00.010) 0:00:06.460 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003547", "end": "2024-01-27 14:00:08.377309", "rc": 0, "start": "2024-01-27 14:00:08.373762" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-weekly-ciuyrcitzs/tests/tasks/get_current_interfaces.yml:9 Saturday 27 January 2024 14:00:08 +0000 (0:00:00.193) 0:00:06.654 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-weekly-ciuyrcitzs/tests/tasks/show_interfaces.yml:5 Saturday 27 January 2024 14:00:08 +0000 (0:00:00.009) 0:00:06.664 ****** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-weekly-ciuyrcitzs/tests/tasks/manage_test_interface.yml:16 Saturday 27 January 2024 14:00:08 +0000 (0:00:00.008) 0:00:06.672 ****** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do lsrpackages: iproute TASK [Create veth interface veth1298] ****************************************** task path: /WORKDIR/git-weekly-ciuyrcitzs/tests/tasks/manage_test_interface.yml:23 Saturday 27 January 2024 14:00:10 +0000 (0:00:02.585) 0:00:09.257 ****** 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.016935", "end": "2024-01-27 14:00:11.191556", "item": "ip link add veth1298 type veth peer name peerveth1298", "rc": 0, "start": "2024-01-27 14:00:11.174621" } ok: [sut] => (item=ip link set peerveth1298 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peerveth1298", "up" ], "delta": "0:00:00.004097", "end": "2024-01-27 14:00:11.423395", "item": "ip link set peerveth1298 up", "rc": 0, "start": "2024-01-27 14:00:11.419298" } ok: [sut] => (item=ip link set veth1298 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "veth1298", "up" ], "delta": "0:00:00.004621", "end": "2024-01-27 14:00:11.608446", "item": "ip link set veth1298 up", "rc": 0, "start": "2024-01-27 14:00:11.603825" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-weekly-ciuyrcitzs/tests/tasks/manage_test_interface.yml:31 Saturday 27 January 2024 14:00:11 +0000 (0:00:00.628) 0:00:09.885 ****** ok: [sut] => { "changed": false, "cmd": [ "nmcli", "d", "set", "veth1298", "managed", "true" ], "delta": "0:00:00.064635", "end": "2024-01-27 14:00:11.861965", "rc": 0, "start": "2024-01-27 14:00:11.797330" } TASK [Delete veth interface veth1298] ****************************************** task path: /WORKDIR/git-weekly-ciuyrcitzs/tests/tasks/manage_test_interface.yml:39 Saturday 27 January 2024 14:00:11 +0000 (0:00:00.254) 0:00:10.140 ****** 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-weekly-ciuyrcitzs/tests/tasks/manage_test_interface.yml:45 Saturday 27 January 2024 14:00:11 +0000 (0:00:00.009) 0:00:10.149 ****** 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-weekly-ciuyrcitzs/tests/tasks/manage_test_interface.yml:50 Saturday 27 January 2024 14:00:11 +0000 (0:00:00.008) 0:00:10.157 ****** 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-weekly-ciuyrcitzs/tests/tasks/manage_test_interface.yml:56 Saturday 27 January 2024 14:00:11 +0000 (0:00:00.018) 0:00:10.176 ****** 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-weekly-ciuyrcitzs/tests/tasks/manage_test_interface.yml:61 Saturday 27 January 2024 14:00:11 +0000 (0:00:00.012) 0:00:10.188 ****** 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-weekly-ciuyrcitzs/tests/tasks/create_and_remove_interface.yml:18 Saturday 27 January 2024 14:00:11 +0000 (0:00:00.008) 0:00:10.196 ****** included: /WORKDIR/git-weekly-ciuyrcitzs/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-weekly-ciuyrcitzs/tests/tasks/show_interfaces.yml:3 Saturday 27 January 2024 14:00:11 +0000 (0:00:00.016) 0:00:10.213 ****** included: /WORKDIR/git-weekly-ciuyrcitzs/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-weekly-ciuyrcitzs/tests/tasks/get_current_interfaces.yml:3 Saturday 27 January 2024 14:00:11 +0000 (0:00:00.011) 0:00:10.225 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003763", "end": "2024-01-27 14:00:12.140631", "rc": 0, "start": "2024-01-27 14:00:12.136868" } STDOUT: eth0 lo peerveth1298 veth1298 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-weekly-ciuyrcitzs/tests/tasks/get_current_interfaces.yml:9 Saturday 27 January 2024 14:00:12 +0000 (0:00:00.193) 0:00:10.418 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo", "peerveth1298", "veth1298" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-weekly-ciuyrcitzs/tests/tasks/show_interfaces.yml:5 Saturday 27 January 2024 14:00:12 +0000 (0:00:00.010) 0:00:10.428 ****** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo', 'peerveth1298', 'veth1298'] TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-weekly-ciuyrcitzs/tests/tasks/create_and_remove_interface.yml:20 Saturday 27 January 2024 14:00:12 +0000 (0:00:00.010) 0:00:10.438 ****** included: /WORKDIR/git-weekly-ciuyrcitzs/tests/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-weekly-ciuyrcitzs/tests/tasks/assert_device_present.yml:3 Saturday 27 January 2024 14:00:12 +0000 (0:00:00.016) 0:00:10.455 ****** included: /WORKDIR/git-weekly-ciuyrcitzs/tests/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth1298] ***************************************** task path: /WORKDIR/git-weekly-ciuyrcitzs/tests/tasks/get_interface_stat.yml:3 Saturday 27 January 2024 14:00:12 +0000 (0:00:00.010) 0:00:10.466 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1706364011.1852946, "block_size": 4096, "blocks": 0, "ctime": 1706364011.1852946, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 21638, "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": 1706364011.1852946, "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-weekly-ciuyrcitzs/tests/tasks/assert_device_present.yml:5 Saturday 27 January 2024 14:00:12 +0000 (0:00:00.190) 0:00:10.656 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-weekly-ciuyrcitzs/tests/tasks/create_and_remove_interface.yml:23 Saturday 27 January 2024 14:00:12 +0000 (0:00:00.009) 0:00:10.666 ****** included: /WORKDIR/git-weekly-ciuyrcitzs/tests/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-weekly-ciuyrcitzs/tests/tasks/manage_test_interface.yml:3 Saturday 27 January 2024 14:00:12 +0000 (0:00:00.018) 0:00:10.684 ****** 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-weekly-ciuyrcitzs/tests/tasks/manage_test_interface.yml:8 Saturday 27 January 2024 14:00:12 +0000 (0:00:00.007) 0:00:10.691 ****** 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-weekly-ciuyrcitzs/tests/tasks/manage_test_interface.yml:13 Saturday 27 January 2024 14:00:12 +0000 (0:00:00.007) 0:00:10.699 ****** included: /WORKDIR/git-weekly-ciuyrcitzs/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-weekly-ciuyrcitzs/tests/tasks/show_interfaces.yml:3 Saturday 27 January 2024 14:00:12 +0000 (0:00:00.010) 0:00:10.709 ****** included: /WORKDIR/git-weekly-ciuyrcitzs/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-weekly-ciuyrcitzs/tests/tasks/get_current_interfaces.yml:3 Saturday 27 January 2024 14:00:12 +0000 (0:00:00.009) 0:00:10.719 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003452", "end": "2024-01-27 14:00:12.633266", "rc": 0, "start": "2024-01-27 14:00:12.629814" } STDOUT: eth0 lo peerveth1298 veth1298 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-weekly-ciuyrcitzs/tests/tasks/get_current_interfaces.yml:9 Saturday 27 January 2024 14:00:12 +0000 (0:00:00.191) 0:00:10.910 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo", "peerveth1298", "veth1298" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-weekly-ciuyrcitzs/tests/tasks/show_interfaces.yml:5 Saturday 27 January 2024 14:00:12 +0000 (0:00:00.010) 0:00:10.920 ****** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo', 'peerveth1298', 'veth1298'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-weekly-ciuyrcitzs/tests/tasks/manage_test_interface.yml:16 Saturday 27 January 2024 14:00:12 +0000 (0:00:00.009) 0:00:10.930 ****** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do lsrpackages: iproute TASK [Create veth interface veth1298] ****************************************** task path: /WORKDIR/git-weekly-ciuyrcitzs/tests/tasks/manage_test_interface.yml:23 Saturday 27 January 2024 14:00:15 +0000 (0:00:02.588) 0:00:13.518 ****** 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-weekly-ciuyrcitzs/tests/tasks/manage_test_interface.yml:31 Saturday 27 January 2024 14:00:15 +0000 (0:00:00.017) 0:00:13.536 ****** 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-weekly-ciuyrcitzs/tests/tasks/manage_test_interface.yml:39 Saturday 27 January 2024 14:00:15 +0000 (0:00:00.008) 0:00:13.544 ****** ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "veth1298", "type", "veth" ], "delta": "0:00:00.008936", "end": "2024-01-27 14:00:15.466213", "rc": 0, "start": "2024-01-27 14:00:15.457277" } TASK [Create dummy interface veth1298] ***************************************** task path: /WORKDIR/git-weekly-ciuyrcitzs/tests/tasks/manage_test_interface.yml:45 Saturday 27 January 2024 14:00:15 +0000 (0:00:00.200) 0:00:13.745 ****** 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-weekly-ciuyrcitzs/tests/tasks/manage_test_interface.yml:50 Saturday 27 January 2024 14:00:15 +0000 (0:00:00.009) 0:00:13.754 ****** 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-weekly-ciuyrcitzs/tests/tasks/manage_test_interface.yml:56 Saturday 27 January 2024 14:00:15 +0000 (0:00:00.008) 0:00:13.763 ****** 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-weekly-ciuyrcitzs/tests/tasks/manage_test_interface.yml:61 Saturday 27 January 2024 14:00:15 +0000 (0:00:00.009) 0:00:13.772 ****** 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-weekly-ciuyrcitzs/tests/tasks/create_and_remove_interface.yml:27 Saturday 27 January 2024 14:00:15 +0000 (0:00:00.007) 0:00:13.779 ****** included: /WORKDIR/git-weekly-ciuyrcitzs/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-weekly-ciuyrcitzs/tests/tasks/show_interfaces.yml:3 Saturday 27 January 2024 14:00:15 +0000 (0:00:00.018) 0:00:13.798 ****** included: /WORKDIR/git-weekly-ciuyrcitzs/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-weekly-ciuyrcitzs/tests/tasks/get_current_interfaces.yml:3 Saturday 27 January 2024 14:00:15 +0000 (0:00:00.009) 0:00:13.808 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003651", "end": "2024-01-27 14:00:15.720858", "rc": 0, "start": "2024-01-27 14:00:15.717207" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-weekly-ciuyrcitzs/tests/tasks/get_current_interfaces.yml:9 Saturday 27 January 2024 14:00:15 +0000 (0:00:00.189) 0:00:13.997 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-weekly-ciuyrcitzs/tests/tasks/show_interfaces.yml:5 Saturday 27 January 2024 14:00:15 +0000 (0:00:00.010) 0:00:14.008 ****** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Include the task 'assert_device_absent.yml'] ***************************** task path: /WORKDIR/git-weekly-ciuyrcitzs/tests/tasks/create_and_remove_interface.yml:29 Saturday 27 January 2024 14:00:15 +0000 (0:00:00.009) 0:00:14.017 ****** included: /WORKDIR/git-weekly-ciuyrcitzs/tests/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-weekly-ciuyrcitzs/tests/tasks/assert_device_absent.yml:3 Saturday 27 January 2024 14:00:15 +0000 (0:00:00.019) 0:00:14.037 ****** included: /WORKDIR/git-weekly-ciuyrcitzs/tests/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth1298] ***************************************** task path: /WORKDIR/git-weekly-ciuyrcitzs/tests/tasks/get_interface_stat.yml:3 Saturday 27 January 2024 14:00:15 +0000 (0:00:00.009) 0:00:14.047 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'veth1298'] ************************ task path: /WORKDIR/git-weekly-ciuyrcitzs/tests/tasks/assert_device_absent.yml:5 Saturday 27 January 2024 14:00:15 +0000 (0:00:00.186) 0:00:14.233 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test veth interface management] ****************************************** task path: /WORKDIR/git-weekly-ciuyrcitzs/tests/tests_helpers_and_asserts.yml:15 Saturday 27 January 2024 14:00:15 +0000 (0:00:00.010) 0:00:14.244 ****** included: /WORKDIR/git-weekly-ciuyrcitzs/tests/tasks/create_and_remove_interface.yml for sut TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-weekly-ciuyrcitzs/tests/tasks/create_and_remove_interface.yml:3 Saturday 27 January 2024 14:00:15 +0000 (0:00:00.013) 0:00:14.257 ****** included: /WORKDIR/git-weekly-ciuyrcitzs/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-weekly-ciuyrcitzs/tests/tasks/show_interfaces.yml:3 Saturday 27 January 2024 14:00:16 +0000 (0:00:00.010) 0:00:14.267 ****** included: /WORKDIR/git-weekly-ciuyrcitzs/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-weekly-ciuyrcitzs/tests/tasks/get_current_interfaces.yml:3 Saturday 27 January 2024 14:00:16 +0000 (0:00:00.009) 0:00:14.277 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003545", "end": "2024-01-27 14:00:16.190080", "rc": 0, "start": "2024-01-27 14:00:16.186535" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-weekly-ciuyrcitzs/tests/tasks/get_current_interfaces.yml:9 Saturday 27 January 2024 14:00:16 +0000 (0:00:00.190) 0:00:14.467 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-weekly-ciuyrcitzs/tests/tasks/show_interfaces.yml:5 Saturday 27 January 2024 14:00:16 +0000 (0:00:00.009) 0:00:14.477 ****** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-weekly-ciuyrcitzs/tests/tasks/create_and_remove_interface.yml:5 Saturday 27 January 2024 14:00:16 +0000 (0:00:00.009) 0:00:14.487 ****** included: /WORKDIR/git-weekly-ciuyrcitzs/tests/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-weekly-ciuyrcitzs/tests/tasks/manage_test_interface.yml:3 Saturday 27 January 2024 14:00:16 +0000 (0:00:00.011) 0:00:14.499 ****** 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-weekly-ciuyrcitzs/tests/tasks/manage_test_interface.yml:8 Saturday 27 January 2024 14:00:16 +0000 (0:00:00.007) 0:00:14.506 ****** 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-weekly-ciuyrcitzs/tests/tasks/manage_test_interface.yml:13 Saturday 27 January 2024 14:00:16 +0000 (0:00:00.007) 0:00:14.514 ****** included: /WORKDIR/git-weekly-ciuyrcitzs/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-weekly-ciuyrcitzs/tests/tasks/show_interfaces.yml:3 Saturday 27 January 2024 14:00:16 +0000 (0:00:00.011) 0:00:14.525 ****** included: /WORKDIR/git-weekly-ciuyrcitzs/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-weekly-ciuyrcitzs/tests/tasks/get_current_interfaces.yml:3 Saturday 27 January 2024 14:00:16 +0000 (0:00:00.009) 0:00:14.534 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003645", "end": "2024-01-27 14:00:16.448799", "rc": 0, "start": "2024-01-27 14:00:16.445154" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-weekly-ciuyrcitzs/tests/tasks/get_current_interfaces.yml:9 Saturday 27 January 2024 14:00:16 +0000 (0:00:00.190) 0:00:14.725 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-weekly-ciuyrcitzs/tests/tasks/show_interfaces.yml:5 Saturday 27 January 2024 14:00:16 +0000 (0:00:00.009) 0:00:14.735 ****** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-weekly-ciuyrcitzs/tests/tasks/manage_test_interface.yml:16 Saturday 27 January 2024 14:00:16 +0000 (0:00:00.009) 0:00:14.744 ****** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do lsrpackages: iproute TASK [Create veth interface dummy1298] ***************************************** task path: /WORKDIR/git-weekly-ciuyrcitzs/tests/tasks/manage_test_interface.yml:23 Saturday 27 January 2024 14:00:19 +0000 (0:00:02.610) 0:00:17.355 ****** 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-weekly-ciuyrcitzs/tests/tasks/manage_test_interface.yml:31 Saturday 27 January 2024 14:00:19 +0000 (0:00:00.013) 0:00:17.369 ****** 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-weekly-ciuyrcitzs/tests/tasks/manage_test_interface.yml:39 Saturday 27 January 2024 14:00:19 +0000 (0:00:00.008) 0:00:17.377 ****** 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-weekly-ciuyrcitzs/tests/tasks/manage_test_interface.yml:45 Saturday 27 January 2024 14:00:19 +0000 (0:00:00.009) 0:00:17.386 ****** 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-weekly-ciuyrcitzs/tests/tasks/manage_test_interface.yml:50 Saturday 27 January 2024 14:00:19 +0000 (0:00:00.010) 0:00:17.397 ****** 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-weekly-ciuyrcitzs/tests/tasks/manage_test_interface.yml:56 Saturday 27 January 2024 14:00:19 +0000 (0:00:00.008) 0:00:17.405 ****** 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-weekly-ciuyrcitzs/tests/tasks/manage_test_interface.yml:61 Saturday 27 January 2024 14:00:19 +0000 (0:00:00.010) 0:00:17.415 ****** 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-weekly-ciuyrcitzs/tests/tasks/create_and_remove_interface.yml:9 Saturday 27 January 2024 14:00:19 +0000 (0:00:00.008) 0:00:17.424 ****** included: /WORKDIR/git-weekly-ciuyrcitzs/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-weekly-ciuyrcitzs/tests/tasks/show_interfaces.yml:3 Saturday 27 January 2024 14:00:19 +0000 (0:00:00.013) 0:00:17.437 ****** included: /WORKDIR/git-weekly-ciuyrcitzs/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-weekly-ciuyrcitzs/tests/tasks/get_current_interfaces.yml:3 Saturday 27 January 2024 14:00:19 +0000 (0:00:00.009) 0:00:17.447 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003481", "end": "2024-01-27 14:00:19.363179", "rc": 0, "start": "2024-01-27 14:00:19.359698" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-weekly-ciuyrcitzs/tests/tasks/get_current_interfaces.yml:9 Saturday 27 January 2024 14:00:19 +0000 (0:00:00.192) 0:00:17.639 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-weekly-ciuyrcitzs/tests/tasks/show_interfaces.yml:5 Saturday 27 January 2024 14:00:19 +0000 (0:00:00.010) 0:00:17.650 ****** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Include the task 'assert_device_absent.yml'] ***************************** task path: /WORKDIR/git-weekly-ciuyrcitzs/tests/tasks/create_and_remove_interface.yml:11 Saturday 27 January 2024 14:00:19 +0000 (0:00:00.009) 0:00:17.660 ****** included: /WORKDIR/git-weekly-ciuyrcitzs/tests/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-weekly-ciuyrcitzs/tests/tasks/assert_device_absent.yml:3 Saturday 27 January 2024 14:00:19 +0000 (0:00:00.013) 0:00:17.674 ****** included: /WORKDIR/git-weekly-ciuyrcitzs/tests/tasks/get_interface_stat.yml for sut TASK [Get stat for interface dummy1298] **************************************** task path: /WORKDIR/git-weekly-ciuyrcitzs/tests/tasks/get_interface_stat.yml:3 Saturday 27 January 2024 14:00:19 +0000 (0:00:00.009) 0:00:17.684 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'dummy1298'] *********************** task path: /WORKDIR/git-weekly-ciuyrcitzs/tests/tasks/assert_device_absent.yml:5 Saturday 27 January 2024 14:00:19 +0000 (0:00:00.190) 0:00:17.874 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-weekly-ciuyrcitzs/tests/tasks/create_and_remove_interface.yml:14 Saturday 27 January 2024 14:00:19 +0000 (0:00:00.011) 0:00:17.886 ****** included: /WORKDIR/git-weekly-ciuyrcitzs/tests/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-weekly-ciuyrcitzs/tests/tasks/manage_test_interface.yml:3 Saturday 27 January 2024 14:00:19 +0000 (0:00:00.015) 0:00:17.901 ****** 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-weekly-ciuyrcitzs/tests/tasks/manage_test_interface.yml:8 Saturday 27 January 2024 14:00:19 +0000 (0:00:00.007) 0:00:17.909 ****** 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-weekly-ciuyrcitzs/tests/tasks/manage_test_interface.yml:13 Saturday 27 January 2024 14:00:19 +0000 (0:00:00.007) 0:00:17.917 ****** included: /WORKDIR/git-weekly-ciuyrcitzs/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-weekly-ciuyrcitzs/tests/tasks/show_interfaces.yml:3 Saturday 27 January 2024 14:00:19 +0000 (0:00:00.011) 0:00:17.928 ****** included: /WORKDIR/git-weekly-ciuyrcitzs/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-weekly-ciuyrcitzs/tests/tasks/get_current_interfaces.yml:3 Saturday 27 January 2024 14:00:19 +0000 (0:00:00.009) 0:00:17.938 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003440", "end": "2024-01-27 14:00:19.851086", "rc": 0, "start": "2024-01-27 14:00:19.847646" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-weekly-ciuyrcitzs/tests/tasks/get_current_interfaces.yml:9 Saturday 27 January 2024 14:00:19 +0000 (0:00:00.189) 0:00:18.127 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-weekly-ciuyrcitzs/tests/tasks/show_interfaces.yml:5 Saturday 27 January 2024 14:00:19 +0000 (0:00:00.009) 0:00:18.137 ****** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-weekly-ciuyrcitzs/tests/tasks/manage_test_interface.yml:16 Saturday 27 January 2024 14:00:19 +0000 (0:00:00.008) 0:00:18.146 ****** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do lsrpackages: iproute TASK [Create veth interface dummy1298] ***************************************** task path: /WORKDIR/git-weekly-ciuyrcitzs/tests/tasks/manage_test_interface.yml:23 Saturday 27 January 2024 14:00:22 +0000 (0:00:02.535) 0:00:20.682 ****** 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-weekly-ciuyrcitzs/tests/tasks/manage_test_interface.yml:31 Saturday 27 January 2024 14:00:22 +0000 (0:00:00.015) 0:00:20.697 ****** 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-weekly-ciuyrcitzs/tests/tasks/manage_test_interface.yml:39 Saturday 27 January 2024 14:00:22 +0000 (0:00:00.007) 0:00:20.705 ****** 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-weekly-ciuyrcitzs/tests/tasks/manage_test_interface.yml:45 Saturday 27 January 2024 14:00:22 +0000 (0:00:00.008) 0:00:20.713 ****** ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "add", "dummy1298", "type", "dummy" ], "delta": "0:00:00.008277", "end": "2024-01-27 14:00:22.633685", "rc": 0, "start": "2024-01-27 14:00:22.625408" } TASK [Delete dummy interface dummy1298] **************************************** task path: /WORKDIR/git-weekly-ciuyrcitzs/tests/tasks/manage_test_interface.yml:50 Saturday 27 January 2024 14:00:22 +0000 (0:00:00.206) 0:00:20.920 ****** 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-weekly-ciuyrcitzs/tests/tasks/manage_test_interface.yml:56 Saturday 27 January 2024 14:00:22 +0000 (0:00:00.009) 0:00:20.930 ****** 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-weekly-ciuyrcitzs/tests/tasks/manage_test_interface.yml:61 Saturday 27 January 2024 14:00:22 +0000 (0:00:00.009) 0:00:20.939 ****** skipping: [sut] => { "changed": false, "false_condition": "type == 'tap' and state == 'absent' and interface in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-weekly-ciuyrcitzs/tests/tasks/create_and_remove_interface.yml:18 Saturday 27 January 2024 14:00:22 +0000 (0:00:00.007) 0:00:20.947 ****** included: /WORKDIR/git-weekly-ciuyrcitzs/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-weekly-ciuyrcitzs/tests/tasks/show_interfaces.yml:3 Saturday 27 January 2024 14:00:22 +0000 (0:00:00.016) 0:00:20.963 ****** included: /WORKDIR/git-weekly-ciuyrcitzs/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-weekly-ciuyrcitzs/tests/tasks/get_current_interfaces.yml:3 Saturday 27 January 2024 14:00:22 +0000 (0:00:00.009) 0:00:20.973 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003840", "end": "2024-01-27 14:00:22.885894", "rc": 0, "start": "2024-01-27 14:00:22.882054" } STDOUT: dummy1298 eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-weekly-ciuyrcitzs/tests/tasks/get_current_interfaces.yml:9 Saturday 27 January 2024 14:00:22 +0000 (0:00:00.190) 0:00:21.164 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "dummy1298", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-weekly-ciuyrcitzs/tests/tasks/show_interfaces.yml:5 Saturday 27 January 2024 14:00:22 +0000 (0:00:00.011) 0:00:21.175 ****** ok: [sut] => {} MSG: current_interfaces: ['dummy1298', 'eth0', 'lo'] TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-weekly-ciuyrcitzs/tests/tasks/create_and_remove_interface.yml:20 Saturday 27 January 2024 14:00:22 +0000 (0:00:00.012) 0:00:21.188 ****** included: /WORKDIR/git-weekly-ciuyrcitzs/tests/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-weekly-ciuyrcitzs/tests/tasks/assert_device_present.yml:3 Saturday 27 January 2024 14:00:22 +0000 (0:00:00.018) 0:00:21.206 ****** included: /WORKDIR/git-weekly-ciuyrcitzs/tests/tasks/get_interface_stat.yml for sut TASK [Get stat for interface dummy1298] **************************************** task path: /WORKDIR/git-weekly-ciuyrcitzs/tests/tasks/get_interface_stat.yml:3 Saturday 27 January 2024 14:00:22 +0000 (0:00:00.010) 0:00:21.217 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1706364022.632936, "block_size": 4096, "blocks": 0, "ctime": 1706364022.632936, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 21961, "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": 1706364022.632936, "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-weekly-ciuyrcitzs/tests/tasks/assert_device_present.yml:5 Saturday 27 January 2024 14:00:23 +0000 (0:00:00.189) 0:00:21.406 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-weekly-ciuyrcitzs/tests/tasks/create_and_remove_interface.yml:23 Saturday 27 January 2024 14:00:23 +0000 (0:00:00.009) 0:00:21.416 ****** included: /WORKDIR/git-weekly-ciuyrcitzs/tests/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-weekly-ciuyrcitzs/tests/tasks/manage_test_interface.yml:3 Saturday 27 January 2024 14:00:23 +0000 (0:00:00.018) 0:00:21.434 ****** 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-weekly-ciuyrcitzs/tests/tasks/manage_test_interface.yml:8 Saturday 27 January 2024 14:00:23 +0000 (0:00:00.008) 0:00:21.443 ****** 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-weekly-ciuyrcitzs/tests/tasks/manage_test_interface.yml:13 Saturday 27 January 2024 14:00:23 +0000 (0:00:00.007) 0:00:21.450 ****** included: /WORKDIR/git-weekly-ciuyrcitzs/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-weekly-ciuyrcitzs/tests/tasks/show_interfaces.yml:3 Saturday 27 January 2024 14:00:23 +0000 (0:00:00.010) 0:00:21.461 ****** included: /WORKDIR/git-weekly-ciuyrcitzs/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-weekly-ciuyrcitzs/tests/tasks/get_current_interfaces.yml:3 Saturday 27 January 2024 14:00:23 +0000 (0:00:00.009) 0:00:21.470 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003483", "end": "2024-01-27 14:00:23.382354", "rc": 0, "start": "2024-01-27 14:00:23.378871" } STDOUT: dummy1298 eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-weekly-ciuyrcitzs/tests/tasks/get_current_interfaces.yml:9 Saturday 27 January 2024 14:00:23 +0000 (0:00:00.188) 0:00:21.659 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "dummy1298", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-weekly-ciuyrcitzs/tests/tasks/show_interfaces.yml:5 Saturday 27 January 2024 14:00:23 +0000 (0:00:00.012) 0:00:21.671 ****** ok: [sut] => {} MSG: current_interfaces: ['dummy1298', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-weekly-ciuyrcitzs/tests/tasks/manage_test_interface.yml:16 Saturday 27 January 2024 14:00:23 +0000 (0:00:00.010) 0:00:21.682 ****** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do lsrpackages: iproute TASK [Create veth interface dummy1298] ***************************************** task path: /WORKDIR/git-weekly-ciuyrcitzs/tests/tasks/manage_test_interface.yml:23 Saturday 27 January 2024 14:00:26 +0000 (0:00:02.724) 0:00:24.407 ****** 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-weekly-ciuyrcitzs/tests/tasks/manage_test_interface.yml:31 Saturday 27 January 2024 14:00:26 +0000 (0:00:00.013) 0:00:24.420 ****** 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-weekly-ciuyrcitzs/tests/tasks/manage_test_interface.yml:39 Saturday 27 January 2024 14:00:26 +0000 (0:00:00.008) 0:00:24.428 ****** 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-weekly-ciuyrcitzs/tests/tasks/manage_test_interface.yml:45 Saturday 27 January 2024 14:00:26 +0000 (0:00:00.008) 0:00:24.436 ****** 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-weekly-ciuyrcitzs/tests/tasks/manage_test_interface.yml:50 Saturday 27 January 2024 14:00:26 +0000 (0:00:00.008) 0:00:24.445 ****** ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "dummy1298", "type", "dummy" ], "delta": "0:00:00.008331", "end": "2024-01-27 14:00:26.363896", "rc": 0, "start": "2024-01-27 14:00:26.355565" } TASK [Create tap interface dummy1298] ****************************************** task path: /WORKDIR/git-weekly-ciuyrcitzs/tests/tasks/manage_test_interface.yml:56 Saturday 27 January 2024 14:00:26 +0000 (0:00:00.195) 0:00:24.641 ****** 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-weekly-ciuyrcitzs/tests/tasks/manage_test_interface.yml:61 Saturday 27 January 2024 14:00:26 +0000 (0:00:00.009) 0:00:24.650 ****** 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-weekly-ciuyrcitzs/tests/tasks/create_and_remove_interface.yml:27 Saturday 27 January 2024 14:00:26 +0000 (0:00:00.007) 0:00:24.658 ****** included: /WORKDIR/git-weekly-ciuyrcitzs/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-weekly-ciuyrcitzs/tests/tasks/show_interfaces.yml:3 Saturday 27 January 2024 14:00:26 +0000 (0:00:00.018) 0:00:24.676 ****** included: /WORKDIR/git-weekly-ciuyrcitzs/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-weekly-ciuyrcitzs/tests/tasks/get_current_interfaces.yml:3 Saturday 27 January 2024 14:00:26 +0000 (0:00:00.009) 0:00:24.686 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003503", "end": "2024-01-27 14:00:26.598495", "rc": 0, "start": "2024-01-27 14:00:26.594992" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-weekly-ciuyrcitzs/tests/tasks/get_current_interfaces.yml:9 Saturday 27 January 2024 14:00:26 +0000 (0:00:00.188) 0:00:24.874 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-weekly-ciuyrcitzs/tests/tasks/show_interfaces.yml:5 Saturday 27 January 2024 14:00:26 +0000 (0:00:00.009) 0:00:24.884 ****** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Include the task 'assert_device_absent.yml'] ***************************** task path: /WORKDIR/git-weekly-ciuyrcitzs/tests/tasks/create_and_remove_interface.yml:29 Saturday 27 January 2024 14:00:26 +0000 (0:00:00.008) 0:00:24.893 ****** included: /WORKDIR/git-weekly-ciuyrcitzs/tests/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-weekly-ciuyrcitzs/tests/tasks/assert_device_absent.yml:3 Saturday 27 January 2024 14:00:26 +0000 (0:00:00.019) 0:00:24.913 ****** included: /WORKDIR/git-weekly-ciuyrcitzs/tests/tasks/get_interface_stat.yml for sut TASK [Get stat for interface dummy1298] **************************************** task path: /WORKDIR/git-weekly-ciuyrcitzs/tests/tasks/get_interface_stat.yml:3 Saturday 27 January 2024 14:00:26 +0000 (0:00:00.009) 0:00:24.923 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'dummy1298'] *********************** task path: /WORKDIR/git-weekly-ciuyrcitzs/tests/tasks/assert_device_absent.yml:5 Saturday 27 January 2024 14:00:26 +0000 (0:00:00.188) 0:00:25.111 ****** ok: [sut] => { "changed": false } MSG: All assertions passed PLAY RECAP ********************************************************************* sut : ok=121 changed=0 unreachable=0 failed=0 skipped=53 rescued=0 ignored=0 Saturday 27 January 2024 14:00:26 +0000 (0:00:00.014) 0:00:25.126 ****** =============================================================================== Install iproute --------------------------------------------------------- 3.15s /WORKDIR/git-weekly-ciuyrcitzs/tests/tasks/manage_test_interface.yml:16 ------- Install iproute --------------------------------------------------------- 2.72s /WORKDIR/git-weekly-ciuyrcitzs/tests/tasks/manage_test_interface.yml:16 ------- Install iproute --------------------------------------------------------- 2.61s /WORKDIR/git-weekly-ciuyrcitzs/tests/tasks/manage_test_interface.yml:16 ------- Install iproute --------------------------------------------------------- 2.59s /WORKDIR/git-weekly-ciuyrcitzs/tests/tasks/manage_test_interface.yml:16 ------- Install iproute --------------------------------------------------------- 2.59s /WORKDIR/git-weekly-ciuyrcitzs/tests/tasks/manage_test_interface.yml:16 ------- Install iproute --------------------------------------------------------- 2.54s /WORKDIR/git-weekly-ciuyrcitzs/tests/tasks/manage_test_interface.yml:16 ------- Gathering Facts --------------------------------------------------------- 0.82s /WORKDIR/git-weekly-ciuyrcitzs/tests/tests_helpers_and_asserts.yml:3 ---------- Create veth interface veth1298 ------------------------------------------ 0.63s /WORKDIR/git-weekly-ciuyrcitzs/tests/tasks/manage_test_interface.yml:23 ------- Enable EPEL 8 ----------------------------------------------------------- 0.44s /WORKDIR/git-weekly-ciuyrcitzs/tests/tasks/enable_epel.yml:35 ----------------- Gather the minimum subset of ansible_facts required by the network role test --- 0.35s /WORKDIR/git-weekly-ciuyrcitzs/tests/tasks/el_repo_setup.yml:3 ---------------- Set up veth as managed by NetworkManager -------------------------------- 0.25s /WORKDIR/git-weekly-ciuyrcitzs/tests/tasks/manage_test_interface.yml:31 ------- Create EPEL 8 ----------------------------------------------------------- 0.25s /WORKDIR/git-weekly-ciuyrcitzs/tests/tasks/enable_epel.yml:8 ------------------ Check if system is ostree ----------------------------------------------- 0.25s /WORKDIR/git-weekly-ciuyrcitzs/tests/tasks/el_repo_setup.yml:17 --------------- Create dummy interface dummy1298 ---------------------------------------- 0.21s /WORKDIR/git-weekly-ciuyrcitzs/tests/tasks/manage_test_interface.yml:45 ------- Delete veth interface veth1298 ------------------------------------------ 0.20s /WORKDIR/git-weekly-ciuyrcitzs/tests/tasks/manage_test_interface.yml:39 ------- Gather current interface info ------------------------------------------- 0.20s /WORKDIR/git-weekly-ciuyrcitzs/tests/tasks/get_current_interfaces.yml:3 ------- Delete dummy interface dummy1298 ---------------------------------------- 0.20s /WORKDIR/git-weekly-ciuyrcitzs/tests/tasks/manage_test_interface.yml:50 ------- Gather current interface info ------------------------------------------- 0.19s /WORKDIR/git-weekly-ciuyrcitzs/tests/tasks/get_current_interfaces.yml:3 ------- Gather current interface info ------------------------------------------- 0.19s /WORKDIR/git-weekly-ciuyrcitzs/tests/tasks/get_current_interfaces.yml:3 ------- Gather current interface info ------------------------------------------- 0.19s /WORKDIR/git-weekly-ciuyrcitzs/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. ---^---^---^---^---^---