# 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-nm_plugin_hotfixxa973pzl/.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-nm_plugin_hotfixxa973pzl/tests/tests_helpers_and_asserts.yml PLAY [Check that creating and removing test devices and assertions work] ******* TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-nm_plugin_hotfixxa973pzl/tests/tests_helpers_and_asserts.yml:3 Tuesday 12 March 2024 21:25:42 +0000 (0:00:00.040) 0:00:00.040 ********* ok: [sut] TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-nm_plugin_hotfixxa973pzl/tests/tests_helpers_and_asserts.yml:6 Tuesday 12 March 2024 21:25:43 +0000 (0:00:01.024) 0:00:01.064 ********* included: /WORKDIR/git-nm_plugin_hotfixxa973pzl/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-nm_plugin_hotfixxa973pzl/tests/tasks/el_repo_setup.yml:3 Tuesday 12 March 2024 21:25:43 +0000 (0:00:00.014) 0:00:01.079 ********* ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-nm_plugin_hotfixxa973pzl/tests/tasks/el_repo_setup.yml:17 Tuesday 12 March 2024 21:25:43 +0000 (0:00:00.435) 0:00:01.515 ********* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-nm_plugin_hotfixxa973pzl/tests/tasks/el_repo_setup.yml:22 Tuesday 12 March 2024 21:25:43 +0000 (0:00:00.284) 0:00:01.799 ********* ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-nm_plugin_hotfixxa973pzl/tests/tasks/el_repo_setup.yml:26 Tuesday 12 March 2024 21:25:43 +0000 (0:00:00.015) 0:00:01.815 ********* 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-nm_plugin_hotfixxa973pzl/tests/tasks/el_repo_setup.yml:51 Tuesday 12 March 2024 21:25:43 +0000 (0:00:00.017) 0:00:01.833 ********* included: /WORKDIR/git-nm_plugin_hotfixxa973pzl/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 38] ********************************************************** task path: /WORKDIR/git-nm_plugin_hotfixxa973pzl/tests/tasks/enable_epel.yml:8 Tuesday 12 March 2024 21:25:43 +0000 (0:00:00.026) 0:00:01.859 ********* 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-nm_plugin_hotfixxa973pzl/tests/tasks/enable_epel.yml:24 Tuesday 12 March 2024 21:25:43 +0000 (0:00:00.018) 0:00:01.878 ********* 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-nm_plugin_hotfixxa973pzl/tests/tasks/enable_epel.yml:30 Tuesday 12 March 2024 21:25:43 +0000 (0:00:00.013) 0:00:01.892 ********* 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-nm_plugin_hotfixxa973pzl/tests/tasks/enable_epel.yml:35 Tuesday 12 March 2024 21:25:43 +0000 (0:00:00.015) 0:00:01.907 ********* 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-nm_plugin_hotfixxa973pzl/tests/tasks/enable_epel.yml:40 Tuesday 12 March 2024 21:25:43 +0000 (0:00:00.009) 0:00:01.917 ********* 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-nm_plugin_hotfixxa973pzl/tests/tests_helpers_and_asserts.yml:9 Tuesday 12 March 2024 21:25:43 +0000 (0:00:00.008) 0:00:01.925 ********* included: /WORKDIR/git-nm_plugin_hotfixxa973pzl/tests/tasks/create_and_remove_interface.yml for sut TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-nm_plugin_hotfixxa973pzl/tests/tasks/create_and_remove_interface.yml:3 Tuesday 12 March 2024 21:25:43 +0000 (0:00:00.013) 0:00:01.939 ********* included: /WORKDIR/git-nm_plugin_hotfixxa973pzl/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfixxa973pzl/tests/tasks/show_interfaces.yml:3 Tuesday 12 March 2024 21:25:43 +0000 (0:00:00.012) 0:00:01.951 ********* included: /WORKDIR/git-nm_plugin_hotfixxa973pzl/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-nm_plugin_hotfixxa973pzl/tests/tasks/get_current_interfaces.yml:3 Tuesday 12 March 2024 21:25:43 +0000 (0:00:00.011) 0:00:01.963 ********* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.004109", "end": "2024-03-12 21:25:44.259171", "rc": 0, "start": "2024-03-12 21:25:44.255062" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-nm_plugin_hotfixxa973pzl/tests/tasks/get_current_interfaces.yml:9 Tuesday 12 March 2024 21:25:44 +0000 (0:00:00.295) 0:00:02.258 ********* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-nm_plugin_hotfixxa973pzl/tests/tasks/show_interfaces.yml:5 Tuesday 12 March 2024 21:25:44 +0000 (0:00:00.012) 0:00:02.271 ********* ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-nm_plugin_hotfixxa973pzl/tests/tasks/create_and_remove_interface.yml:5 Tuesday 12 March 2024 21:25:44 +0000 (0:00:00.011) 0:00:02.282 ********* included: /WORKDIR/git-nm_plugin_hotfixxa973pzl/tests/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-nm_plugin_hotfixxa973pzl/tests/tasks/manage_test_interface.yml:3 Tuesday 12 March 2024 21:25:44 +0000 (0:00:00.014) 0:00:02.297 ********* 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-nm_plugin_hotfixxa973pzl/tests/tasks/manage_test_interface.yml:8 Tuesday 12 March 2024 21:25:44 +0000 (0:00:00.009) 0:00:02.306 ********* 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-nm_plugin_hotfixxa973pzl/tests/tasks/manage_test_interface.yml:13 Tuesday 12 March 2024 21:25:44 +0000 (0:00:00.011) 0:00:02.318 ********* included: /WORKDIR/git-nm_plugin_hotfixxa973pzl/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfixxa973pzl/tests/tasks/show_interfaces.yml:3 Tuesday 12 March 2024 21:25:44 +0000 (0:00:00.011) 0:00:02.329 ********* included: /WORKDIR/git-nm_plugin_hotfixxa973pzl/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-nm_plugin_hotfixxa973pzl/tests/tasks/get_current_interfaces.yml:3 Tuesday 12 March 2024 21:25:44 +0000 (0:00:00.011) 0:00:02.341 ********* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.004163", "end": "2024-03-12 21:25:44.569997", "rc": 0, "start": "2024-03-12 21:25:44.565834" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-nm_plugin_hotfixxa973pzl/tests/tasks/get_current_interfaces.yml:9 Tuesday 12 March 2024 21:25:44 +0000 (0:00:00.230) 0:00:02.572 ********* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-nm_plugin_hotfixxa973pzl/tests/tasks/show_interfaces.yml:5 Tuesday 12 March 2024 21:25:44 +0000 (0:00:00.010) 0:00:02.582 ********* ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-nm_plugin_hotfixxa973pzl/tests/tasks/manage_test_interface.yml:16 Tuesday 12 March 2024 21:25:44 +0000 (0:00:00.009) 0:00:02.592 ********* ok: [sut] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth1298] ****************************************** task path: /WORKDIR/git-nm_plugin_hotfixxa973pzl/tests/tasks/manage_test_interface.yml:27 Tuesday 12 March 2024 21:25:47 +0000 (0:00:02.607) 0:00:05.199 ********* 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-nm_plugin_hotfixxa973pzl/tests/tasks/manage_test_interface.yml:35 Tuesday 12 March 2024 21:25:47 +0000 (0:00:00.017) 0:00:05.216 ********* 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-nm_plugin_hotfixxa973pzl/tests/tasks/manage_test_interface.yml:43 Tuesday 12 March 2024 21:25:47 +0000 (0:00:00.020) 0:00:05.236 ********* 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-nm_plugin_hotfixxa973pzl/tests/tasks/manage_test_interface.yml:49 Tuesday 12 March 2024 21:25:47 +0000 (0:00:00.011) 0:00:05.248 ********* 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-nm_plugin_hotfixxa973pzl/tests/tasks/manage_test_interface.yml:54 Tuesday 12 March 2024 21:25:47 +0000 (0:00:00.008) 0:00:05.257 ********* 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-nm_plugin_hotfixxa973pzl/tests/tasks/manage_test_interface.yml:60 Tuesday 12 March 2024 21:25:47 +0000 (0:00:00.008) 0:00:05.265 ********* 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-nm_plugin_hotfixxa973pzl/tests/tasks/manage_test_interface.yml:65 Tuesday 12 March 2024 21:25:47 +0000 (0:00:00.010) 0:00:05.276 ********* 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-nm_plugin_hotfixxa973pzl/tests/tasks/create_and_remove_interface.yml:9 Tuesday 12 March 2024 21:25:47 +0000 (0:00:00.008) 0:00:05.284 ********* included: /WORKDIR/git-nm_plugin_hotfixxa973pzl/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfixxa973pzl/tests/tasks/show_interfaces.yml:3 Tuesday 12 March 2024 21:25:47 +0000 (0:00:00.017) 0:00:05.302 ********* included: /WORKDIR/git-nm_plugin_hotfixxa973pzl/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-nm_plugin_hotfixxa973pzl/tests/tasks/get_current_interfaces.yml:3 Tuesday 12 March 2024 21:25:47 +0000 (0:00:00.009) 0:00:05.312 ********* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.004435", "end": "2024-03-12 21:25:47.539847", "rc": 0, "start": "2024-03-12 21:25:47.535412" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-nm_plugin_hotfixxa973pzl/tests/tasks/get_current_interfaces.yml:9 Tuesday 12 March 2024 21:25:47 +0000 (0:00:00.232) 0:00:05.544 ********* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-nm_plugin_hotfixxa973pzl/tests/tasks/show_interfaces.yml:5 Tuesday 12 March 2024 21:25:47 +0000 (0:00:00.010) 0:00:05.555 ********* ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Include the task 'assert_device_absent.yml'] ***************************** task path: /WORKDIR/git-nm_plugin_hotfixxa973pzl/tests/tasks/create_and_remove_interface.yml:11 Tuesday 12 March 2024 21:25:47 +0000 (0:00:00.009) 0:00:05.564 ********* included: /WORKDIR/git-nm_plugin_hotfixxa973pzl/tests/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-nm_plugin_hotfixxa973pzl/tests/tasks/assert_device_absent.yml:3 Tuesday 12 March 2024 21:25:47 +0000 (0:00:00.013) 0:00:05.578 ********* included: /WORKDIR/git-nm_plugin_hotfixxa973pzl/tests/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth1298] ***************************************** task path: /WORKDIR/git-nm_plugin_hotfixxa973pzl/tests/tasks/get_interface_stat.yml:3 Tuesday 12 March 2024 21:25:47 +0000 (0:00:00.016) 0:00:05.595 ********* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'veth1298'] ************************ task path: /WORKDIR/git-nm_plugin_hotfixxa973pzl/tests/tasks/assert_device_absent.yml:5 Tuesday 12 March 2024 21:25:47 +0000 (0:00:00.244) 0:00:05.839 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-nm_plugin_hotfixxa973pzl/tests/tasks/create_and_remove_interface.yml:14 Tuesday 12 March 2024 21:25:47 +0000 (0:00:00.022) 0:00:05.862 ********* included: /WORKDIR/git-nm_plugin_hotfixxa973pzl/tests/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-nm_plugin_hotfixxa973pzl/tests/tasks/manage_test_interface.yml:3 Tuesday 12 March 2024 21:25:47 +0000 (0:00:00.053) 0:00:05.916 ********* 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-nm_plugin_hotfixxa973pzl/tests/tasks/manage_test_interface.yml:8 Tuesday 12 March 2024 21:25:47 +0000 (0:00:00.037) 0:00:05.954 ********* 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-nm_plugin_hotfixxa973pzl/tests/tasks/manage_test_interface.yml:13 Tuesday 12 March 2024 21:25:48 +0000 (0:00:00.060) 0:00:06.014 ********* included: /WORKDIR/git-nm_plugin_hotfixxa973pzl/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfixxa973pzl/tests/tasks/show_interfaces.yml:3 Tuesday 12 March 2024 21:25:48 +0000 (0:00:00.025) 0:00:06.040 ********* included: /WORKDIR/git-nm_plugin_hotfixxa973pzl/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-nm_plugin_hotfixxa973pzl/tests/tasks/get_current_interfaces.yml:3 Tuesday 12 March 2024 21:25:48 +0000 (0:00:00.026) 0:00:06.066 ********* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.004191", "end": "2024-03-12 21:25:48.299629", "rc": 0, "start": "2024-03-12 21:25:48.295438" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-nm_plugin_hotfixxa973pzl/tests/tasks/get_current_interfaces.yml:9 Tuesday 12 March 2024 21:25:48 +0000 (0:00:00.249) 0:00:06.316 ********* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-nm_plugin_hotfixxa973pzl/tests/tasks/show_interfaces.yml:5 Tuesday 12 March 2024 21:25:48 +0000 (0:00:00.019) 0:00:06.335 ********* ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-nm_plugin_hotfixxa973pzl/tests/tasks/manage_test_interface.yml:16 Tuesday 12 March 2024 21:25:48 +0000 (0:00:00.038) 0:00:06.374 ********* ok: [sut] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth1298] ****************************************** task path: /WORKDIR/git-nm_plugin_hotfixxa973pzl/tests/tasks/manage_test_interface.yml:27 Tuesday 12 March 2024 21:25:50 +0000 (0:00:02.570) 0:00:08.945 ********* 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.007578", "end": "2024-03-12 21:25:51.185502", "item": "ip link add veth1298 type veth peer name peerveth1298", "rc": 0, "start": "2024-03-12 21:25:51.177924" } ok: [sut] => (item=ip link set peerveth1298 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peerveth1298", "up" ], "delta": "0:00:00.004626", "end": "2024-03-12 21:25:51.464237", "item": "ip link set peerveth1298 up", "rc": 0, "start": "2024-03-12 21:25:51.459611" } ok: [sut] => (item=ip link set veth1298 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "veth1298", "up" ], "delta": "0:00:00.004877", "end": "2024-03-12 21:25:51.687533", "item": "ip link set veth1298 up", "rc": 0, "start": "2024-03-12 21:25:51.682656" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-nm_plugin_hotfixxa973pzl/tests/tasks/manage_test_interface.yml:35 Tuesday 12 March 2024 21:25:51 +0000 (0:00:00.747) 0:00:09.692 ********* ok: [sut] => { "changed": false, "cmd": [ "nmcli", "d", "set", "veth1298", "managed", "true" ], "delta": "0:00:00.024876", "end": "2024-03-12 21:25:51.945081", "rc": 0, "start": "2024-03-12 21:25:51.920205" } TASK [Delete veth interface veth1298] ****************************************** task path: /WORKDIR/git-nm_plugin_hotfixxa973pzl/tests/tasks/manage_test_interface.yml:43 Tuesday 12 March 2024 21:25:51 +0000 (0:00:00.254) 0:00:09.946 ********* 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-nm_plugin_hotfixxa973pzl/tests/tasks/manage_test_interface.yml:49 Tuesday 12 March 2024 21:25:51 +0000 (0:00:00.009) 0:00:09.956 ********* 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-nm_plugin_hotfixxa973pzl/tests/tasks/manage_test_interface.yml:54 Tuesday 12 March 2024 21:25:51 +0000 (0:00:00.008) 0:00:09.964 ********* 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-nm_plugin_hotfixxa973pzl/tests/tasks/manage_test_interface.yml:60 Tuesday 12 March 2024 21:25:51 +0000 (0:00:00.009) 0:00:09.974 ********* 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-nm_plugin_hotfixxa973pzl/tests/tasks/manage_test_interface.yml:65 Tuesday 12 March 2024 21:25:52 +0000 (0:00:00.007) 0:00:09.981 ********* 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-nm_plugin_hotfixxa973pzl/tests/tasks/create_and_remove_interface.yml:18 Tuesday 12 March 2024 21:25:52 +0000 (0:00:00.007) 0:00:09.989 ********* included: /WORKDIR/git-nm_plugin_hotfixxa973pzl/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfixxa973pzl/tests/tasks/show_interfaces.yml:3 Tuesday 12 March 2024 21:25:52 +0000 (0:00:00.015) 0:00:10.005 ********* included: /WORKDIR/git-nm_plugin_hotfixxa973pzl/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-nm_plugin_hotfixxa973pzl/tests/tasks/get_current_interfaces.yml:3 Tuesday 12 March 2024 21:25:52 +0000 (0:00:00.009) 0:00:10.014 ********* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.004092", "end": "2024-03-12 21:25:52.241349", "rc": 0, "start": "2024-03-12 21:25:52.237257" } STDOUT: eth0 lo peerveth1298 veth1298 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-nm_plugin_hotfixxa973pzl/tests/tasks/get_current_interfaces.yml:9 Tuesday 12 March 2024 21:25:52 +0000 (0:00:00.227) 0:00:10.241 ********* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo", "peerveth1298", "veth1298" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-nm_plugin_hotfixxa973pzl/tests/tasks/show_interfaces.yml:5 Tuesday 12 March 2024 21:25:52 +0000 (0:00:00.009) 0:00:10.251 ********* ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo', 'peerveth1298', 'veth1298'] TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-nm_plugin_hotfixxa973pzl/tests/tasks/create_and_remove_interface.yml:20 Tuesday 12 March 2024 21:25:52 +0000 (0:00:00.009) 0:00:10.261 ********* included: /WORKDIR/git-nm_plugin_hotfixxa973pzl/tests/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-nm_plugin_hotfixxa973pzl/tests/tasks/assert_device_present.yml:3 Tuesday 12 March 2024 21:25:52 +0000 (0:00:00.016) 0:00:10.277 ********* included: /WORKDIR/git-nm_plugin_hotfixxa973pzl/tests/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth1298] ***************************************** task path: /WORKDIR/git-nm_plugin_hotfixxa973pzl/tests/tasks/get_interface_stat.yml:3 Tuesday 12 March 2024 21:25:52 +0000 (0:00:00.009) 0:00:10.286 ********* ok: [sut] => { "changed": false, "stat": { "atime": 1710278751.1821887, "block_size": 4096, "blocks": 0, "ctime": 1710278751.1821887, "dev": 22, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 29513, "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": 1710278751.1821887, "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-nm_plugin_hotfixxa973pzl/tests/tasks/assert_device_present.yml:5 Tuesday 12 March 2024 21:25:52 +0000 (0:00:00.222) 0:00:10.509 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-nm_plugin_hotfixxa973pzl/tests/tasks/create_and_remove_interface.yml:23 Tuesday 12 March 2024 21:25:52 +0000 (0:00:00.011) 0:00:10.521 ********* included: /WORKDIR/git-nm_plugin_hotfixxa973pzl/tests/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-nm_plugin_hotfixxa973pzl/tests/tasks/manage_test_interface.yml:3 Tuesday 12 March 2024 21:25:52 +0000 (0:00:00.020) 0:00:10.541 ********* 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-nm_plugin_hotfixxa973pzl/tests/tasks/manage_test_interface.yml:8 Tuesday 12 March 2024 21:25:52 +0000 (0:00:00.011) 0:00:10.552 ********* 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-nm_plugin_hotfixxa973pzl/tests/tasks/manage_test_interface.yml:13 Tuesday 12 March 2024 21:25:52 +0000 (0:00:00.008) 0:00:10.561 ********* included: /WORKDIR/git-nm_plugin_hotfixxa973pzl/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfixxa973pzl/tests/tasks/show_interfaces.yml:3 Tuesday 12 March 2024 21:25:52 +0000 (0:00:00.015) 0:00:10.576 ********* included: /WORKDIR/git-nm_plugin_hotfixxa973pzl/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-nm_plugin_hotfixxa973pzl/tests/tasks/get_current_interfaces.yml:3 Tuesday 12 March 2024 21:25:52 +0000 (0:00:00.010) 0:00:10.587 ********* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.004124", "end": "2024-03-12 21:25:52.811604", "rc": 0, "start": "2024-03-12 21:25:52.807480" } STDOUT: eth0 lo peerveth1298 veth1298 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-nm_plugin_hotfixxa973pzl/tests/tasks/get_current_interfaces.yml:9 Tuesday 12 March 2024 21:25:52 +0000 (0:00:00.230) 0:00:10.818 ********* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo", "peerveth1298", "veth1298" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-nm_plugin_hotfixxa973pzl/tests/tasks/show_interfaces.yml:5 Tuesday 12 March 2024 21:25:52 +0000 (0:00:00.011) 0:00:10.829 ********* ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo', 'peerveth1298', 'veth1298'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-nm_plugin_hotfixxa973pzl/tests/tasks/manage_test_interface.yml:16 Tuesday 12 March 2024 21:25:52 +0000 (0:00:00.019) 0:00:10.849 ********* ok: [sut] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth1298] ****************************************** task path: /WORKDIR/git-nm_plugin_hotfixxa973pzl/tests/tasks/manage_test_interface.yml:27 Tuesday 12 March 2024 21:25:55 +0000 (0:00:02.504) 0:00:13.353 ********* 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-nm_plugin_hotfixxa973pzl/tests/tasks/manage_test_interface.yml:35 Tuesday 12 March 2024 21:25:55 +0000 (0:00:00.016) 0:00:13.369 ********* 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-nm_plugin_hotfixxa973pzl/tests/tasks/manage_test_interface.yml:43 Tuesday 12 March 2024 21:25:55 +0000 (0:00:00.009) 0:00:13.379 ********* ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "veth1298", "type", "veth" ], "delta": "0:00:00.014213", "end": "2024-03-12 21:25:55.619222", "rc": 0, "start": "2024-03-12 21:25:55.605009" } TASK [Create dummy interface veth1298] ***************************************** task path: /WORKDIR/git-nm_plugin_hotfixxa973pzl/tests/tasks/manage_test_interface.yml:49 Tuesday 12 March 2024 21:25:55 +0000 (0:00:00.248) 0:00:13.628 ********* 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-nm_plugin_hotfixxa973pzl/tests/tasks/manage_test_interface.yml:54 Tuesday 12 March 2024 21:25:55 +0000 (0:00:00.009) 0:00:13.637 ********* 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-nm_plugin_hotfixxa973pzl/tests/tasks/manage_test_interface.yml:60 Tuesday 12 March 2024 21:25:55 +0000 (0:00:00.008) 0:00:13.645 ********* 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-nm_plugin_hotfixxa973pzl/tests/tasks/manage_test_interface.yml:65 Tuesday 12 March 2024 21:25:55 +0000 (0:00:00.009) 0:00:13.655 ********* 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-nm_plugin_hotfixxa973pzl/tests/tasks/create_and_remove_interface.yml:27 Tuesday 12 March 2024 21:25:55 +0000 (0:00:00.007) 0:00:13.662 ********* included: /WORKDIR/git-nm_plugin_hotfixxa973pzl/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfixxa973pzl/tests/tasks/show_interfaces.yml:3 Tuesday 12 March 2024 21:25:55 +0000 (0:00:00.019) 0:00:13.681 ********* included: /WORKDIR/git-nm_plugin_hotfixxa973pzl/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-nm_plugin_hotfixxa973pzl/tests/tasks/get_current_interfaces.yml:3 Tuesday 12 March 2024 21:25:55 +0000 (0:00:00.009) 0:00:13.690 ********* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.004088", "end": "2024-03-12 21:25:55.915113", "rc": 0, "start": "2024-03-12 21:25:55.911025" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-nm_plugin_hotfixxa973pzl/tests/tasks/get_current_interfaces.yml:9 Tuesday 12 March 2024 21:25:55 +0000 (0:00:00.224) 0:00:13.915 ********* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-nm_plugin_hotfixxa973pzl/tests/tasks/show_interfaces.yml:5 Tuesday 12 March 2024 21:25:55 +0000 (0:00:00.009) 0:00:13.925 ********* ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Include the task 'assert_device_absent.yml'] ***************************** task path: /WORKDIR/git-nm_plugin_hotfixxa973pzl/tests/tasks/create_and_remove_interface.yml:29 Tuesday 12 March 2024 21:25:55 +0000 (0:00:00.009) 0:00:13.934 ********* included: /WORKDIR/git-nm_plugin_hotfixxa973pzl/tests/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-nm_plugin_hotfixxa973pzl/tests/tasks/assert_device_absent.yml:3 Tuesday 12 March 2024 21:25:55 +0000 (0:00:00.019) 0:00:13.954 ********* included: /WORKDIR/git-nm_plugin_hotfixxa973pzl/tests/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth1298] ***************************************** task path: /WORKDIR/git-nm_plugin_hotfixxa973pzl/tests/tasks/get_interface_stat.yml:3 Tuesday 12 March 2024 21:25:55 +0000 (0:00:00.009) 0:00:13.964 ********* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'veth1298'] ************************ task path: /WORKDIR/git-nm_plugin_hotfixxa973pzl/tests/tasks/assert_device_absent.yml:5 Tuesday 12 March 2024 21:25:56 +0000 (0:00:00.224) 0:00:14.188 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test veth interface management] ****************************************** task path: /WORKDIR/git-nm_plugin_hotfixxa973pzl/tests/tests_helpers_and_asserts.yml:15 Tuesday 12 March 2024 21:25:56 +0000 (0:00:00.010) 0:00:14.199 ********* included: /WORKDIR/git-nm_plugin_hotfixxa973pzl/tests/tasks/create_and_remove_interface.yml for sut TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-nm_plugin_hotfixxa973pzl/tests/tasks/create_and_remove_interface.yml:3 Tuesday 12 March 2024 21:25:56 +0000 (0:00:00.012) 0:00:14.212 ********* included: /WORKDIR/git-nm_plugin_hotfixxa973pzl/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfixxa973pzl/tests/tasks/show_interfaces.yml:3 Tuesday 12 March 2024 21:25:56 +0000 (0:00:00.011) 0:00:14.223 ********* included: /WORKDIR/git-nm_plugin_hotfixxa973pzl/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-nm_plugin_hotfixxa973pzl/tests/tasks/get_current_interfaces.yml:3 Tuesday 12 March 2024 21:25:56 +0000 (0:00:00.012) 0:00:14.236 ********* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.004141", "end": "2024-03-12 21:25:56.458928", "rc": 0, "start": "2024-03-12 21:25:56.454787" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-nm_plugin_hotfixxa973pzl/tests/tasks/get_current_interfaces.yml:9 Tuesday 12 March 2024 21:25:56 +0000 (0:00:00.224) 0:00:14.460 ********* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-nm_plugin_hotfixxa973pzl/tests/tasks/show_interfaces.yml:5 Tuesday 12 March 2024 21:25:56 +0000 (0:00:00.014) 0:00:14.474 ********* ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-nm_plugin_hotfixxa973pzl/tests/tasks/create_and_remove_interface.yml:5 Tuesday 12 March 2024 21:25:56 +0000 (0:00:00.010) 0:00:14.485 ********* included: /WORKDIR/git-nm_plugin_hotfixxa973pzl/tests/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-nm_plugin_hotfixxa973pzl/tests/tasks/manage_test_interface.yml:3 Tuesday 12 March 2024 21:25:56 +0000 (0:00:00.012) 0:00:14.498 ********* 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-nm_plugin_hotfixxa973pzl/tests/tasks/manage_test_interface.yml:8 Tuesday 12 March 2024 21:25:56 +0000 (0:00:00.007) 0:00:14.505 ********* 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-nm_plugin_hotfixxa973pzl/tests/tasks/manage_test_interface.yml:13 Tuesday 12 March 2024 21:25:56 +0000 (0:00:00.007) 0:00:14.513 ********* included: /WORKDIR/git-nm_plugin_hotfixxa973pzl/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfixxa973pzl/tests/tasks/show_interfaces.yml:3 Tuesday 12 March 2024 21:25:56 +0000 (0:00:00.015) 0:00:14.529 ********* included: /WORKDIR/git-nm_plugin_hotfixxa973pzl/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-nm_plugin_hotfixxa973pzl/tests/tasks/get_current_interfaces.yml:3 Tuesday 12 March 2024 21:25:56 +0000 (0:00:00.010) 0:00:14.539 ********* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.004135", "end": "2024-03-12 21:25:56.766361", "rc": 0, "start": "2024-03-12 21:25:56.762226" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-nm_plugin_hotfixxa973pzl/tests/tasks/get_current_interfaces.yml:9 Tuesday 12 March 2024 21:25:56 +0000 (0:00:00.230) 0:00:14.770 ********* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-nm_plugin_hotfixxa973pzl/tests/tasks/show_interfaces.yml:5 Tuesday 12 March 2024 21:25:56 +0000 (0:00:00.014) 0:00:14.784 ********* ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-nm_plugin_hotfixxa973pzl/tests/tasks/manage_test_interface.yml:16 Tuesday 12 March 2024 21:25:56 +0000 (0:00:00.012) 0:00:14.797 ********* ok: [sut] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface dummy1298] ***************************************** task path: /WORKDIR/git-nm_plugin_hotfixxa973pzl/tests/tasks/manage_test_interface.yml:27 Tuesday 12 March 2024 21:25:59 +0000 (0:00:02.467) 0:00:17.264 ********* 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-nm_plugin_hotfixxa973pzl/tests/tasks/manage_test_interface.yml:35 Tuesday 12 March 2024 21:25:59 +0000 (0:00:00.018) 0:00:17.283 ********* 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-nm_plugin_hotfixxa973pzl/tests/tasks/manage_test_interface.yml:43 Tuesday 12 March 2024 21:25:59 +0000 (0:00:00.012) 0:00:17.295 ********* 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-nm_plugin_hotfixxa973pzl/tests/tasks/manage_test_interface.yml:49 Tuesday 12 March 2024 21:25:59 +0000 (0:00:00.010) 0:00:17.306 ********* 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-nm_plugin_hotfixxa973pzl/tests/tasks/manage_test_interface.yml:54 Tuesday 12 March 2024 21:25:59 +0000 (0:00:00.010) 0:00:17.316 ********* 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-nm_plugin_hotfixxa973pzl/tests/tasks/manage_test_interface.yml:60 Tuesday 12 March 2024 21:25:59 +0000 (0:00:00.008) 0:00:17.325 ********* 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-nm_plugin_hotfixxa973pzl/tests/tasks/manage_test_interface.yml:65 Tuesday 12 March 2024 21:25:59 +0000 (0:00:00.009) 0:00:17.334 ********* 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-nm_plugin_hotfixxa973pzl/tests/tasks/create_and_remove_interface.yml:9 Tuesday 12 March 2024 21:25:59 +0000 (0:00:00.007) 0:00:17.341 ********* included: /WORKDIR/git-nm_plugin_hotfixxa973pzl/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfixxa973pzl/tests/tasks/show_interfaces.yml:3 Tuesday 12 March 2024 21:25:59 +0000 (0:00:00.014) 0:00:17.356 ********* included: /WORKDIR/git-nm_plugin_hotfixxa973pzl/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-nm_plugin_hotfixxa973pzl/tests/tasks/get_current_interfaces.yml:3 Tuesday 12 March 2024 21:25:59 +0000 (0:00:00.010) 0:00:17.366 ********* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.004167", "end": "2024-03-12 21:25:59.591765", "rc": 0, "start": "2024-03-12 21:25:59.587598" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-nm_plugin_hotfixxa973pzl/tests/tasks/get_current_interfaces.yml:9 Tuesday 12 March 2024 21:25:59 +0000 (0:00:00.225) 0:00:17.591 ********* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-nm_plugin_hotfixxa973pzl/tests/tasks/show_interfaces.yml:5 Tuesday 12 March 2024 21:25:59 +0000 (0:00:00.010) 0:00:17.602 ********* ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Include the task 'assert_device_absent.yml'] ***************************** task path: /WORKDIR/git-nm_plugin_hotfixxa973pzl/tests/tasks/create_and_remove_interface.yml:11 Tuesday 12 March 2024 21:25:59 +0000 (0:00:00.010) 0:00:17.612 ********* included: /WORKDIR/git-nm_plugin_hotfixxa973pzl/tests/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-nm_plugin_hotfixxa973pzl/tests/tasks/assert_device_absent.yml:3 Tuesday 12 March 2024 21:25:59 +0000 (0:00:00.015) 0:00:17.627 ********* included: /WORKDIR/git-nm_plugin_hotfixxa973pzl/tests/tasks/get_interface_stat.yml for sut TASK [Get stat for interface dummy1298] **************************************** task path: /WORKDIR/git-nm_plugin_hotfixxa973pzl/tests/tasks/get_interface_stat.yml:3 Tuesday 12 March 2024 21:25:59 +0000 (0:00:00.011) 0:00:17.638 ********* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'dummy1298'] *********************** task path: /WORKDIR/git-nm_plugin_hotfixxa973pzl/tests/tasks/assert_device_absent.yml:5 Tuesday 12 March 2024 21:25:59 +0000 (0:00:00.231) 0:00:17.870 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-nm_plugin_hotfixxa973pzl/tests/tasks/create_and_remove_interface.yml:14 Tuesday 12 March 2024 21:25:59 +0000 (0:00:00.014) 0:00:17.885 ********* included: /WORKDIR/git-nm_plugin_hotfixxa973pzl/tests/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-nm_plugin_hotfixxa973pzl/tests/tasks/manage_test_interface.yml:3 Tuesday 12 March 2024 21:25:59 +0000 (0:00:00.020) 0:00:17.906 ********* 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-nm_plugin_hotfixxa973pzl/tests/tasks/manage_test_interface.yml:8 Tuesday 12 March 2024 21:25:59 +0000 (0:00:00.009) 0:00:17.915 ********* 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-nm_plugin_hotfixxa973pzl/tests/tasks/manage_test_interface.yml:13 Tuesday 12 March 2024 21:25:59 +0000 (0:00:00.010) 0:00:17.926 ********* included: /WORKDIR/git-nm_plugin_hotfixxa973pzl/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfixxa973pzl/tests/tasks/show_interfaces.yml:3 Tuesday 12 March 2024 21:25:59 +0000 (0:00:00.023) 0:00:17.949 ********* included: /WORKDIR/git-nm_plugin_hotfixxa973pzl/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-nm_plugin_hotfixxa973pzl/tests/tasks/get_current_interfaces.yml:3 Tuesday 12 March 2024 21:25:59 +0000 (0:00:00.016) 0:00:17.965 ********* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.004024", "end": "2024-03-12 21:26:00.188459", "rc": 0, "start": "2024-03-12 21:26:00.184435" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-nm_plugin_hotfixxa973pzl/tests/tasks/get_current_interfaces.yml:9 Tuesday 12 March 2024 21:26:00 +0000 (0:00:00.224) 0:00:18.190 ********* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-nm_plugin_hotfixxa973pzl/tests/tasks/show_interfaces.yml:5 Tuesday 12 March 2024 21:26:00 +0000 (0:00:00.015) 0:00:18.206 ********* ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-nm_plugin_hotfixxa973pzl/tests/tasks/manage_test_interface.yml:16 Tuesday 12 March 2024 21:26:00 +0000 (0:00:00.010) 0:00:18.216 ********* ok: [sut] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface dummy1298] ***************************************** task path: /WORKDIR/git-nm_plugin_hotfixxa973pzl/tests/tasks/manage_test_interface.yml:27 Tuesday 12 March 2024 21:26:02 +0000 (0:00:02.437) 0:00:20.653 ********* 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-nm_plugin_hotfixxa973pzl/tests/tasks/manage_test_interface.yml:35 Tuesday 12 March 2024 21:26:02 +0000 (0:00:00.020) 0:00:20.673 ********* 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-nm_plugin_hotfixxa973pzl/tests/tasks/manage_test_interface.yml:43 Tuesday 12 March 2024 21:26:02 +0000 (0:00:00.015) 0:00:20.688 ********* 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-nm_plugin_hotfixxa973pzl/tests/tasks/manage_test_interface.yml:49 Tuesday 12 March 2024 21:26:02 +0000 (0:00:00.009) 0:00:20.698 ********* ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "add", "dummy1298", "type", "dummy" ], "delta": "0:00:00.061582", "end": "2024-03-12 21:26:03.031814", "rc": 0, "start": "2024-03-12 21:26:02.970232" } TASK [Delete dummy interface dummy1298] **************************************** task path: /WORKDIR/git-nm_plugin_hotfixxa973pzl/tests/tasks/manage_test_interface.yml:54 Tuesday 12 March 2024 21:26:03 +0000 (0:00:00.356) 0:00:21.054 ********* 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-nm_plugin_hotfixxa973pzl/tests/tasks/manage_test_interface.yml:60 Tuesday 12 March 2024 21:26:03 +0000 (0:00:00.011) 0:00:21.066 ********* 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-nm_plugin_hotfixxa973pzl/tests/tasks/manage_test_interface.yml:65 Tuesday 12 March 2024 21:26:03 +0000 (0:00:00.014) 0:00:21.081 ********* 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-nm_plugin_hotfixxa973pzl/tests/tasks/create_and_remove_interface.yml:18 Tuesday 12 March 2024 21:26:03 +0000 (0:00:00.008) 0:00:21.090 ********* included: /WORKDIR/git-nm_plugin_hotfixxa973pzl/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfixxa973pzl/tests/tasks/show_interfaces.yml:3 Tuesday 12 March 2024 21:26:03 +0000 (0:00:00.015) 0:00:21.106 ********* included: /WORKDIR/git-nm_plugin_hotfixxa973pzl/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-nm_plugin_hotfixxa973pzl/tests/tasks/get_current_interfaces.yml:3 Tuesday 12 March 2024 21:26:03 +0000 (0:00:00.010) 0:00:21.117 ********* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.004128", "end": "2024-03-12 21:26:03.342871", "rc": 0, "start": "2024-03-12 21:26:03.338743" } STDOUT: dummy1298 eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-nm_plugin_hotfixxa973pzl/tests/tasks/get_current_interfaces.yml:9 Tuesday 12 March 2024 21:26:03 +0000 (0:00:00.232) 0:00:21.349 ********* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "dummy1298", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-nm_plugin_hotfixxa973pzl/tests/tasks/show_interfaces.yml:5 Tuesday 12 March 2024 21:26:03 +0000 (0:00:00.010) 0:00:21.359 ********* ok: [sut] => {} MSG: current_interfaces: ['dummy1298', 'eth0', 'lo'] TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-nm_plugin_hotfixxa973pzl/tests/tasks/create_and_remove_interface.yml:20 Tuesday 12 March 2024 21:26:03 +0000 (0:00:00.009) 0:00:21.369 ********* included: /WORKDIR/git-nm_plugin_hotfixxa973pzl/tests/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-nm_plugin_hotfixxa973pzl/tests/tasks/assert_device_present.yml:3 Tuesday 12 March 2024 21:26:03 +0000 (0:00:00.027) 0:00:21.396 ********* included: /WORKDIR/git-nm_plugin_hotfixxa973pzl/tests/tasks/get_interface_stat.yml for sut TASK [Get stat for interface dummy1298] **************************************** task path: /WORKDIR/git-nm_plugin_hotfixxa973pzl/tests/tasks/get_interface_stat.yml:3 Tuesday 12 March 2024 21:26:03 +0000 (0:00:00.010) 0:00:21.407 ********* ok: [sut] => { "changed": false, "stat": { "atime": 1710278763.0302424, "block_size": 4096, "blocks": 0, "ctime": 1710278763.0302424, "dev": 22, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 29845, "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": 1710278763.0302424, "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-nm_plugin_hotfixxa973pzl/tests/tasks/assert_device_present.yml:5 Tuesday 12 March 2024 21:26:03 +0000 (0:00:00.231) 0:00:21.639 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-nm_plugin_hotfixxa973pzl/tests/tasks/create_and_remove_interface.yml:23 Tuesday 12 March 2024 21:26:03 +0000 (0:00:00.017) 0:00:21.656 ********* included: /WORKDIR/git-nm_plugin_hotfixxa973pzl/tests/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-nm_plugin_hotfixxa973pzl/tests/tasks/manage_test_interface.yml:3 Tuesday 12 March 2024 21:26:03 +0000 (0:00:00.020) 0:00:21.676 ********* 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-nm_plugin_hotfixxa973pzl/tests/tasks/manage_test_interface.yml:8 Tuesday 12 March 2024 21:26:03 +0000 (0:00:00.009) 0:00:21.686 ********* 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-nm_plugin_hotfixxa973pzl/tests/tasks/manage_test_interface.yml:13 Tuesday 12 March 2024 21:26:03 +0000 (0:00:00.008) 0:00:21.694 ********* included: /WORKDIR/git-nm_plugin_hotfixxa973pzl/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfixxa973pzl/tests/tasks/show_interfaces.yml:3 Tuesday 12 March 2024 21:26:03 +0000 (0:00:00.012) 0:00:21.707 ********* included: /WORKDIR/git-nm_plugin_hotfixxa973pzl/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-nm_plugin_hotfixxa973pzl/tests/tasks/get_current_interfaces.yml:3 Tuesday 12 March 2024 21:26:03 +0000 (0:00:00.010) 0:00:21.718 ********* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.004086", "end": "2024-03-12 21:26:03.954419", "rc": 0, "start": "2024-03-12 21:26:03.950333" } STDOUT: dummy1298 eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-nm_plugin_hotfixxa973pzl/tests/tasks/get_current_interfaces.yml:9 Tuesday 12 March 2024 21:26:03 +0000 (0:00:00.249) 0:00:21.968 ********* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "dummy1298", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-nm_plugin_hotfixxa973pzl/tests/tasks/show_interfaces.yml:5 Tuesday 12 March 2024 21:26:04 +0000 (0:00:00.020) 0:00:21.989 ********* ok: [sut] => {} MSG: current_interfaces: ['dummy1298', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-nm_plugin_hotfixxa973pzl/tests/tasks/manage_test_interface.yml:16 Tuesday 12 March 2024 21:26:04 +0000 (0:00:00.015) 0:00:22.004 ********* ok: [sut] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface dummy1298] ***************************************** task path: /WORKDIR/git-nm_plugin_hotfixxa973pzl/tests/tasks/manage_test_interface.yml:27 Tuesday 12 March 2024 21:26:07 +0000 (0:00:03.043) 0:00:25.048 ********* 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-nm_plugin_hotfixxa973pzl/tests/tasks/manage_test_interface.yml:35 Tuesday 12 March 2024 21:26:07 +0000 (0:00:00.016) 0:00:25.064 ********* 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-nm_plugin_hotfixxa973pzl/tests/tasks/manage_test_interface.yml:43 Tuesday 12 March 2024 21:26:07 +0000 (0:00:00.008) 0:00:25.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-nm_plugin_hotfixxa973pzl/tests/tasks/manage_test_interface.yml:49 Tuesday 12 March 2024 21:26:07 +0000 (0:00:00.009) 0:00:25.082 ********* 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-nm_plugin_hotfixxa973pzl/tests/tasks/manage_test_interface.yml:54 Tuesday 12 March 2024 21:26:07 +0000 (0:00:00.010) 0:00:25.092 ********* ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "dummy1298", "type", "dummy" ], "delta": "0:00:00.014409", "end": "2024-03-12 21:26:07.339501", "rc": 0, "start": "2024-03-12 21:26:07.325092" } TASK [Create tap interface dummy1298] ****************************************** task path: /WORKDIR/git-nm_plugin_hotfixxa973pzl/tests/tasks/manage_test_interface.yml:60 Tuesday 12 March 2024 21:26:07 +0000 (0:00:00.260) 0:00:25.352 ********* 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-nm_plugin_hotfixxa973pzl/tests/tasks/manage_test_interface.yml:65 Tuesday 12 March 2024 21:26:07 +0000 (0:00:00.020) 0:00:25.373 ********* 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-nm_plugin_hotfixxa973pzl/tests/tasks/create_and_remove_interface.yml:27 Tuesday 12 March 2024 21:26:07 +0000 (0:00:00.024) 0:00:25.397 ********* included: /WORKDIR/git-nm_plugin_hotfixxa973pzl/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfixxa973pzl/tests/tasks/show_interfaces.yml:3 Tuesday 12 March 2024 21:26:07 +0000 (0:00:00.022) 0:00:25.420 ********* included: /WORKDIR/git-nm_plugin_hotfixxa973pzl/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-nm_plugin_hotfixxa973pzl/tests/tasks/get_current_interfaces.yml:3 Tuesday 12 March 2024 21:26:07 +0000 (0:00:00.126) 0:00:25.546 ********* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.004020", "end": "2024-03-12 21:26:07.801366", "rc": 0, "start": "2024-03-12 21:26:07.797346" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-nm_plugin_hotfixxa973pzl/tests/tasks/get_current_interfaces.yml:9 Tuesday 12 March 2024 21:26:07 +0000 (0:00:00.257) 0:00:25.804 ********* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-nm_plugin_hotfixxa973pzl/tests/tasks/show_interfaces.yml:5 Tuesday 12 March 2024 21:26:07 +0000 (0:00:00.011) 0:00:25.815 ********* ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Include the task 'assert_device_absent.yml'] ***************************** task path: /WORKDIR/git-nm_plugin_hotfixxa973pzl/tests/tasks/create_and_remove_interface.yml:29 Tuesday 12 March 2024 21:26:07 +0000 (0:00:00.027) 0:00:25.842 ********* included: /WORKDIR/git-nm_plugin_hotfixxa973pzl/tests/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-nm_plugin_hotfixxa973pzl/tests/tasks/assert_device_absent.yml:3 Tuesday 12 March 2024 21:26:07 +0000 (0:00:00.029) 0:00:25.872 ********* included: /WORKDIR/git-nm_plugin_hotfixxa973pzl/tests/tasks/get_interface_stat.yml for sut TASK [Get stat for interface dummy1298] **************************************** task path: /WORKDIR/git-nm_plugin_hotfixxa973pzl/tests/tasks/get_interface_stat.yml:3 Tuesday 12 March 2024 21:26:07 +0000 (0:00:00.013) 0:00:25.886 ********* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'dummy1298'] *********************** task path: /WORKDIR/git-nm_plugin_hotfixxa973pzl/tests/tasks/assert_device_absent.yml:5 Tuesday 12 March 2024 21:26:08 +0000 (0:00:00.249) 0:00:26.135 ********* ok: [sut] => { "changed": false } MSG: All assertions passed PLAY RECAP ********************************************************************* sut : ok=119 changed=0 unreachable=0 failed=0 skipped=55 rescued=0 ignored=0 Tuesday 12 March 2024 21:26:08 +0000 (0:00:00.034) 0:00:26.170 ********* =============================================================================== Install iproute --------------------------------------------------------- 3.04s /WORKDIR/git-nm_plugin_hotfixxa973pzl/tests/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 2.61s /WORKDIR/git-nm_plugin_hotfixxa973pzl/tests/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 2.57s /WORKDIR/git-nm_plugin_hotfixxa973pzl/tests/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 2.50s /WORKDIR/git-nm_plugin_hotfixxa973pzl/tests/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 2.47s /WORKDIR/git-nm_plugin_hotfixxa973pzl/tests/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 2.44s /WORKDIR/git-nm_plugin_hotfixxa973pzl/tests/tasks/manage_test_interface.yml:16 Gathering Facts --------------------------------------------------------- 1.02s /WORKDIR/git-nm_plugin_hotfixxa973pzl/tests/tests_helpers_and_asserts.yml:3 --- Create veth interface veth1298 ------------------------------------------ 0.75s /WORKDIR/git-nm_plugin_hotfixxa973pzl/tests/tasks/manage_test_interface.yml:27 Gather the minimum subset of ansible_facts required by the network role test --- 0.44s /WORKDIR/git-nm_plugin_hotfixxa973pzl/tests/tasks/el_repo_setup.yml:3 --------- Create dummy interface dummy1298 ---------------------------------------- 0.36s /WORKDIR/git-nm_plugin_hotfixxa973pzl/tests/tasks/manage_test_interface.yml:49 Gather current interface info ------------------------------------------- 0.30s /WORKDIR/git-nm_plugin_hotfixxa973pzl/tests/tasks/get_current_interfaces.yml:3 Check if system is ostree ----------------------------------------------- 0.28s /WORKDIR/git-nm_plugin_hotfixxa973pzl/tests/tasks/el_repo_setup.yml:17 -------- Delete dummy interface dummy1298 ---------------------------------------- 0.26s /WORKDIR/git-nm_plugin_hotfixxa973pzl/tests/tasks/manage_test_interface.yml:54 Gather current interface info ------------------------------------------- 0.26s /WORKDIR/git-nm_plugin_hotfixxa973pzl/tests/tasks/get_current_interfaces.yml:3 Set up veth as managed by NetworkManager -------------------------------- 0.25s /WORKDIR/git-nm_plugin_hotfixxa973pzl/tests/tasks/manage_test_interface.yml:35 Gather current interface info ------------------------------------------- 0.25s /WORKDIR/git-nm_plugin_hotfixxa973pzl/tests/tasks/get_current_interfaces.yml:3 Gather current interface info ------------------------------------------- 0.25s /WORKDIR/git-nm_plugin_hotfixxa973pzl/tests/tasks/get_current_interfaces.yml:3 Get stat for interface dummy1298 ---------------------------------------- 0.25s /WORKDIR/git-nm_plugin_hotfixxa973pzl/tests/tasks/get_interface_stat.yml:3 ---- Delete veth interface veth1298 ------------------------------------------ 0.25s /WORKDIR/git-nm_plugin_hotfixxa973pzl/tests/tasks/manage_test_interface.yml:43 Get stat for interface veth1298 ----------------------------------------- 0.24s /WORKDIR/git-nm_plugin_hotfixxa973pzl/tests/tasks/get_interface_stat.yml:3 ---- ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- [DEPRECATION WARNING]: ANSIBLE_COLLECTIONS_PATHS option, does not fit var naming standard, use the singular form ANSIBLE_COLLECTIONS_PATH instead. This feature will be removed from ansible-core in version 2.19. Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg. ---^---^---^---^---^---