# 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-skip_initscriptsjrlf7o6b/.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-skip_initscriptsjrlf7o6b/tests/tests_helpers_and_asserts.yml PLAY [Check that creating and removing test devices and assertions work] ******* TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-skip_initscriptsjrlf7o6b/tests/tests_helpers_and_asserts.yml:3 Wednesday 20 December 2023 20:40:38 +0000 (0:00:00.034) 0:00:00.034 **** ok: [sut] TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-skip_initscriptsjrlf7o6b/tests/tests_helpers_and_asserts.yml:6 Wednesday 20 December 2023 20:40:39 +0000 (0:00:00.777) 0:00:00.812 **** included: /WORKDIR/git-skip_initscriptsjrlf7o6b/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-skip_initscriptsjrlf7o6b/tests/tasks/el_repo_setup.yml:3 Wednesday 20 December 2023 20:40:39 +0000 (0:00:00.017) 0:00:00.829 **** ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-skip_initscriptsjrlf7o6b/tests/tasks/el_repo_setup.yml:17 Wednesday 20 December 2023 20:40:39 +0000 (0:00:00.377) 0:00:01.207 **** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-skip_initscriptsjrlf7o6b/tests/tasks/el_repo_setup.yml:22 Wednesday 20 December 2023 20:40:40 +0000 (0:00:00.250) 0:00:01.457 **** ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-skip_initscriptsjrlf7o6b/tests/tasks/el_repo_setup.yml:26 Wednesday 20 December 2023 20:40:40 +0000 (0:00:00.015) 0:00:01.473 **** 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-skip_initscriptsjrlf7o6b/tests/tasks/el_repo_setup.yml:51 Wednesday 20 December 2023 20:40:40 +0000 (0:00:00.009) 0:00:01.482 **** included: /WORKDIR/git-skip_initscriptsjrlf7o6b/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 9] *********************************************************** task path: /WORKDIR/git-skip_initscriptsjrlf7o6b/tests/tasks/enable_epel.yml:8 Wednesday 20 December 2023 20:40:40 +0000 (0:00:00.021) 0:00:01.504 **** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version in ['7', '8']", "skip_reason": "Conditional result was False" } TASK [Install yum-utils package] *********************************************** task path: /WORKDIR/git-skip_initscriptsjrlf7o6b/tests/tasks/enable_epel.yml:24 Wednesday 20 December 2023 20:40:40 +0000 (0:00:00.009) 0:00:01.513 **** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version in ['7', '8']", "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /WORKDIR/git-skip_initscriptsjrlf7o6b/tests/tasks/enable_epel.yml:30 Wednesday 20 December 2023 20:40:40 +0000 (0:00:00.014) 0:00:01.528 **** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version in ['7', '8']", "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /WORKDIR/git-skip_initscriptsjrlf7o6b/tests/tasks/enable_epel.yml:35 Wednesday 20 December 2023 20:40:40 +0000 (0:00:00.011) 0:00:01.540 **** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version in ['7', '8']", "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-skip_initscriptsjrlf7o6b/tests/tasks/enable_epel.yml:40 Wednesday 20 December 2023 20:40:40 +0000 (0:00:00.011) 0:00:01.552 **** 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-skip_initscriptsjrlf7o6b/tests/tests_helpers_and_asserts.yml:9 Wednesday 20 December 2023 20:40:40 +0000 (0:00:00.007) 0:00:01.559 **** included: /WORKDIR/git-skip_initscriptsjrlf7o6b/tests/tasks/create_and_remove_interface.yml for sut TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-skip_initscriptsjrlf7o6b/tests/tasks/create_and_remove_interface.yml:3 Wednesday 20 December 2023 20:40:40 +0000 (0:00:00.012) 0:00:01.572 **** included: /WORKDIR/git-skip_initscriptsjrlf7o6b/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-skip_initscriptsjrlf7o6b/tests/tasks/show_interfaces.yml:3 Wednesday 20 December 2023 20:40:40 +0000 (0:00:00.010) 0:00:01.582 **** included: /WORKDIR/git-skip_initscriptsjrlf7o6b/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-skip_initscriptsjrlf7o6b/tests/tasks/get_current_interfaces.yml:3 Wednesday 20 December 2023 20:40:40 +0000 (0:00:00.009) 0:00:01.591 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003270", "end": "2023-12-20 20:40:40.564482", "rc": 0, "start": "2023-12-20 20:40:40.561212" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-skip_initscriptsjrlf7o6b/tests/tasks/get_current_interfaces.yml:9 Wednesday 20 December 2023 20:40:40 +0000 (0:00:00.262) 0:00:01.854 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-skip_initscriptsjrlf7o6b/tests/tasks/show_interfaces.yml:5 Wednesday 20 December 2023 20:40:40 +0000 (0:00:00.019) 0:00:01.873 **** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-skip_initscriptsjrlf7o6b/tests/tasks/create_and_remove_interface.yml:5 Wednesday 20 December 2023 20:40:40 +0000 (0:00:00.019) 0:00:01.892 **** included: /WORKDIR/git-skip_initscriptsjrlf7o6b/tests/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-skip_initscriptsjrlf7o6b/tests/tasks/manage_test_interface.yml:3 Wednesday 20 December 2023 20:40:40 +0000 (0:00:00.067) 0:00:01.960 **** 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-skip_initscriptsjrlf7o6b/tests/tasks/manage_test_interface.yml:8 Wednesday 20 December 2023 20:40:40 +0000 (0:00:00.022) 0:00:01.982 **** 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-skip_initscriptsjrlf7o6b/tests/tasks/manage_test_interface.yml:13 Wednesday 20 December 2023 20:40:40 +0000 (0:00:00.023) 0:00:02.005 **** included: /WORKDIR/git-skip_initscriptsjrlf7o6b/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-skip_initscriptsjrlf7o6b/tests/tasks/show_interfaces.yml:3 Wednesday 20 December 2023 20:40:40 +0000 (0:00:00.025) 0:00:02.031 **** included: /WORKDIR/git-skip_initscriptsjrlf7o6b/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-skip_initscriptsjrlf7o6b/tests/tasks/get_current_interfaces.yml:3 Wednesday 20 December 2023 20:40:40 +0000 (0:00:00.013) 0:00:02.045 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003401", "end": "2023-12-20 20:40:40.966921", "rc": 0, "start": "2023-12-20 20:40:40.963520" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-skip_initscriptsjrlf7o6b/tests/tasks/get_current_interfaces.yml:9 Wednesday 20 December 2023 20:40:40 +0000 (0:00:00.203) 0:00:02.248 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-skip_initscriptsjrlf7o6b/tests/tasks/show_interfaces.yml:5 Wednesday 20 December 2023 20:40:41 +0000 (0:00:00.012) 0:00:02.261 **** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-skip_initscriptsjrlf7o6b/tests/tasks/manage_test_interface.yml:16 Wednesday 20 December 2023 20:40:41 +0000 (0:00:00.015) 0:00:02.276 **** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth1298] ****************************************** task path: /WORKDIR/git-skip_initscriptsjrlf7o6b/tests/tasks/manage_test_interface.yml:23 Wednesday 20 December 2023 20:40:42 +0000 (0:00:01.072) 0:00:03.349 **** 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-skip_initscriptsjrlf7o6b/tests/tasks/manage_test_interface.yml:31 Wednesday 20 December 2023 20:40:42 +0000 (0:00:00.016) 0:00:03.365 **** 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-skip_initscriptsjrlf7o6b/tests/tasks/manage_test_interface.yml:39 Wednesday 20 December 2023 20:40:42 +0000 (0:00:00.012) 0:00:03.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 veth1298] ***************************************** task path: /WORKDIR/git-skip_initscriptsjrlf7o6b/tests/tasks/manage_test_interface.yml:45 Wednesday 20 December 2023 20:40:42 +0000 (0:00:00.011) 0:00:03.389 **** 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-skip_initscriptsjrlf7o6b/tests/tasks/manage_test_interface.yml:50 Wednesday 20 December 2023 20:40:42 +0000 (0:00:00.008) 0:00:03.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 veth1298] ******************************************* task path: /WORKDIR/git-skip_initscriptsjrlf7o6b/tests/tasks/manage_test_interface.yml:56 Wednesday 20 December 2023 20:40:42 +0000 (0:00:00.010) 0:00:03.408 **** 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-skip_initscriptsjrlf7o6b/tests/tasks/manage_test_interface.yml:61 Wednesday 20 December 2023 20:40:42 +0000 (0:00:00.008) 0:00:03.416 **** 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-skip_initscriptsjrlf7o6b/tests/tasks/create_and_remove_interface.yml:9 Wednesday 20 December 2023 20:40:42 +0000 (0:00:00.013) 0:00:03.429 **** included: /WORKDIR/git-skip_initscriptsjrlf7o6b/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-skip_initscriptsjrlf7o6b/tests/tasks/show_interfaces.yml:3 Wednesday 20 December 2023 20:40:42 +0000 (0:00:00.012) 0:00:03.441 **** included: /WORKDIR/git-skip_initscriptsjrlf7o6b/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-skip_initscriptsjrlf7o6b/tests/tasks/get_current_interfaces.yml:3 Wednesday 20 December 2023 20:40:42 +0000 (0:00:00.010) 0:00:03.452 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003337", "end": "2023-12-20 20:40:42.368726", "rc": 0, "start": "2023-12-20 20:40:42.365389" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-skip_initscriptsjrlf7o6b/tests/tasks/get_current_interfaces.yml:9 Wednesday 20 December 2023 20:40:42 +0000 (0:00:00.199) 0:00:03.651 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-skip_initscriptsjrlf7o6b/tests/tasks/show_interfaces.yml:5 Wednesday 20 December 2023 20:40:42 +0000 (0:00:00.015) 0:00:03.666 **** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Include the task 'assert_device_absent.yml'] ***************************** task path: /WORKDIR/git-skip_initscriptsjrlf7o6b/tests/tasks/create_and_remove_interface.yml:11 Wednesday 20 December 2023 20:40:42 +0000 (0:00:00.017) 0:00:03.684 **** included: /WORKDIR/git-skip_initscriptsjrlf7o6b/tests/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-skip_initscriptsjrlf7o6b/tests/tasks/assert_device_absent.yml:3 Wednesday 20 December 2023 20:40:42 +0000 (0:00:00.022) 0:00:03.707 **** included: /WORKDIR/git-skip_initscriptsjrlf7o6b/tests/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth1298] ***************************************** task path: /WORKDIR/git-skip_initscriptsjrlf7o6b/tests/tasks/get_interface_stat.yml:3 Wednesday 20 December 2023 20:40:42 +0000 (0:00:00.021) 0:00:03.728 **** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'veth1298'] ************************ task path: /WORKDIR/git-skip_initscriptsjrlf7o6b/tests/tasks/assert_device_absent.yml:5 Wednesday 20 December 2023 20:40:42 +0000 (0:00:00.185) 0:00:03.914 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-skip_initscriptsjrlf7o6b/tests/tasks/create_and_remove_interface.yml:14 Wednesday 20 December 2023 20:40:42 +0000 (0:00:00.010) 0:00:03.925 **** included: /WORKDIR/git-skip_initscriptsjrlf7o6b/tests/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-skip_initscriptsjrlf7o6b/tests/tasks/manage_test_interface.yml:3 Wednesday 20 December 2023 20:40:42 +0000 (0:00:00.015) 0:00:03.940 **** 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-skip_initscriptsjrlf7o6b/tests/tasks/manage_test_interface.yml:8 Wednesday 20 December 2023 20:40:42 +0000 (0:00:00.008) 0:00:03.949 **** 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-skip_initscriptsjrlf7o6b/tests/tasks/manage_test_interface.yml:13 Wednesday 20 December 2023 20:40:42 +0000 (0:00:00.007) 0:00:03.956 **** included: /WORKDIR/git-skip_initscriptsjrlf7o6b/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-skip_initscriptsjrlf7o6b/tests/tasks/show_interfaces.yml:3 Wednesday 20 December 2023 20:40:42 +0000 (0:00:00.010) 0:00:03.967 **** included: /WORKDIR/git-skip_initscriptsjrlf7o6b/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-skip_initscriptsjrlf7o6b/tests/tasks/get_current_interfaces.yml:3 Wednesday 20 December 2023 20:40:42 +0000 (0:00:00.009) 0:00:03.976 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003318", "end": "2023-12-20 20:40:42.894126", "rc": 0, "start": "2023-12-20 20:40:42.890808" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-skip_initscriptsjrlf7o6b/tests/tasks/get_current_interfaces.yml:9 Wednesday 20 December 2023 20:40:42 +0000 (0:00:00.191) 0:00:04.168 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-skip_initscriptsjrlf7o6b/tests/tasks/show_interfaces.yml:5 Wednesday 20 December 2023 20:40:42 +0000 (0:00:00.008) 0:00:04.176 **** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-skip_initscriptsjrlf7o6b/tests/tasks/manage_test_interface.yml:16 Wednesday 20 December 2023 20:40:42 +0000 (0:00:00.008) 0:00:04.185 **** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth1298] ****************************************** task path: /WORKDIR/git-skip_initscriptsjrlf7o6b/tests/tasks/manage_test_interface.yml:23 Wednesday 20 December 2023 20:40:43 +0000 (0:00:00.867) 0:00:05.052 **** 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.011270", "end": "2023-12-20 20:40:43.981973", "item": "ip link add veth1298 type veth peer name peerveth1298", "rc": 0, "start": "2023-12-20 20:40:43.970703" } ok: [sut] => (item=ip link set peerveth1298 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peerveth1298", "up" ], "delta": "0:00:00.003528", "end": "2023-12-20 20:40:44.205905", "item": "ip link set peerveth1298 up", "rc": 0, "start": "2023-12-20 20:40:44.202377" } ok: [sut] => (item=ip link set veth1298 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "veth1298", "up" ], "delta": "0:00:00.003659", "end": "2023-12-20 20:40:44.412817", "item": "ip link set veth1298 up", "rc": 0, "start": "2023-12-20 20:40:44.409158" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-skip_initscriptsjrlf7o6b/tests/tasks/manage_test_interface.yml:31 Wednesday 20 December 2023 20:40:44 +0000 (0:00:00.635) 0:00:05.687 **** ok: [sut] => { "changed": false, "cmd": [ "nmcli", "d", "set", "veth1298", "managed", "true" ], "delta": "0:00:00.023017", "end": "2023-12-20 20:40:44.625170", "rc": 0, "start": "2023-12-20 20:40:44.602153" } TASK [Delete veth interface veth1298] ****************************************** task path: /WORKDIR/git-skip_initscriptsjrlf7o6b/tests/tasks/manage_test_interface.yml:39 Wednesday 20 December 2023 20:40:44 +0000 (0:00:00.211) 0:00:05.899 **** 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-skip_initscriptsjrlf7o6b/tests/tasks/manage_test_interface.yml:45 Wednesday 20 December 2023 20:40:44 +0000 (0:00:00.008) 0:00:05.907 **** 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-skip_initscriptsjrlf7o6b/tests/tasks/manage_test_interface.yml:50 Wednesday 20 December 2023 20:40:44 +0000 (0:00:00.007) 0:00:05.915 **** 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-skip_initscriptsjrlf7o6b/tests/tasks/manage_test_interface.yml:56 Wednesday 20 December 2023 20:40:44 +0000 (0:00:00.007) 0:00:05.922 **** 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-skip_initscriptsjrlf7o6b/tests/tasks/manage_test_interface.yml:61 Wednesday 20 December 2023 20:40:44 +0000 (0:00:00.007) 0:00:05.930 **** 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-skip_initscriptsjrlf7o6b/tests/tasks/create_and_remove_interface.yml:18 Wednesday 20 December 2023 20:40:44 +0000 (0:00:00.007) 0:00:05.937 **** included: /WORKDIR/git-skip_initscriptsjrlf7o6b/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-skip_initscriptsjrlf7o6b/tests/tasks/show_interfaces.yml:3 Wednesday 20 December 2023 20:40:44 +0000 (0:00:00.014) 0:00:05.952 **** included: /WORKDIR/git-skip_initscriptsjrlf7o6b/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-skip_initscriptsjrlf7o6b/tests/tasks/get_current_interfaces.yml:3 Wednesday 20 December 2023 20:40:44 +0000 (0:00:00.008) 0:00:05.961 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:01.004504", "end": "2023-12-20 20:40:45.881437", "rc": 0, "start": "2023-12-20 20:40:44.876933" } STDOUT: bonding_masters eth0 lo peerveth1298 veth1298 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-skip_initscriptsjrlf7o6b/tests/tasks/get_current_interfaces.yml:9 Wednesday 20 December 2023 20:40:45 +0000 (0:00:01.194) 0:00:07.155 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "peerveth1298", "veth1298" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-skip_initscriptsjrlf7o6b/tests/tasks/show_interfaces.yml:5 Wednesday 20 December 2023 20:40:45 +0000 (0:00:00.010) 0:00:07.165 **** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'peerveth1298', 'veth1298'] TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-skip_initscriptsjrlf7o6b/tests/tasks/create_and_remove_interface.yml:20 Wednesday 20 December 2023 20:40:45 +0000 (0:00:00.008) 0:00:07.174 **** included: /WORKDIR/git-skip_initscriptsjrlf7o6b/tests/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-skip_initscriptsjrlf7o6b/tests/tasks/assert_device_present.yml:3 Wednesday 20 December 2023 20:40:45 +0000 (0:00:00.016) 0:00:07.190 **** included: /WORKDIR/git-skip_initscriptsjrlf7o6b/tests/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth1298] ***************************************** task path: /WORKDIR/git-skip_initscriptsjrlf7o6b/tests/tasks/get_interface_stat.yml:3 Wednesday 20 December 2023 20:40:45 +0000 (0:00:00.009) 0:00:07.200 **** ok: [sut] => { "changed": false, "stat": { "atime": 1703104843.9745774, "block_size": 4096, "blocks": 0, "ctime": 1703104843.9745774, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 29206, "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": 1703104843.9745774, "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-skip_initscriptsjrlf7o6b/tests/tasks/assert_device_present.yml:5 Wednesday 20 December 2023 20:40:46 +0000 (0:00:00.191) 0:00:07.392 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-skip_initscriptsjrlf7o6b/tests/tasks/create_and_remove_interface.yml:23 Wednesday 20 December 2023 20:40:46 +0000 (0:00:00.013) 0:00:07.406 **** included: /WORKDIR/git-skip_initscriptsjrlf7o6b/tests/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-skip_initscriptsjrlf7o6b/tests/tasks/manage_test_interface.yml:3 Wednesday 20 December 2023 20:40:46 +0000 (0:00:00.021) 0:00:07.427 **** 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-skip_initscriptsjrlf7o6b/tests/tasks/manage_test_interface.yml:8 Wednesday 20 December 2023 20:40:46 +0000 (0:00:00.008) 0:00:07.436 **** 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-skip_initscriptsjrlf7o6b/tests/tasks/manage_test_interface.yml:13 Wednesday 20 December 2023 20:40:46 +0000 (0:00:00.014) 0:00:07.450 **** included: /WORKDIR/git-skip_initscriptsjrlf7o6b/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-skip_initscriptsjrlf7o6b/tests/tasks/show_interfaces.yml:3 Wednesday 20 December 2023 20:40:46 +0000 (0:00:00.012) 0:00:07.463 **** included: /WORKDIR/git-skip_initscriptsjrlf7o6b/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-skip_initscriptsjrlf7o6b/tests/tasks/get_current_interfaces.yml:3 Wednesday 20 December 2023 20:40:46 +0000 (0:00:00.011) 0:00:07.474 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003346", "end": "2023-12-20 20:40:46.401718", "rc": 0, "start": "2023-12-20 20:40:46.398372" } STDOUT: bonding_masters eth0 lo peerveth1298 veth1298 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-skip_initscriptsjrlf7o6b/tests/tasks/get_current_interfaces.yml:9 Wednesday 20 December 2023 20:40:46 +0000 (0:00:00.214) 0:00:07.689 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "peerveth1298", "veth1298" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-skip_initscriptsjrlf7o6b/tests/tasks/show_interfaces.yml:5 Wednesday 20 December 2023 20:40:46 +0000 (0:00:00.011) 0:00:07.700 **** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'peerveth1298', 'veth1298'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-skip_initscriptsjrlf7o6b/tests/tasks/manage_test_interface.yml:16 Wednesday 20 December 2023 20:40:46 +0000 (0:00:00.020) 0:00:07.721 **** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth1298] ****************************************** task path: /WORKDIR/git-skip_initscriptsjrlf7o6b/tests/tasks/manage_test_interface.yml:23 Wednesday 20 December 2023 20:40:47 +0000 (0:00:00.891) 0:00:08.613 **** 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-skip_initscriptsjrlf7o6b/tests/tasks/manage_test_interface.yml:31 Wednesday 20 December 2023 20:40:47 +0000 (0:00:00.019) 0:00:08.632 **** 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-skip_initscriptsjrlf7o6b/tests/tasks/manage_test_interface.yml:39 Wednesday 20 December 2023 20:40:47 +0000 (0:00:00.010) 0:00:08.643 **** ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "veth1298", "type", "veth" ], "delta": "0:00:00.013284", "end": "2023-12-20 20:40:47.585118", "rc": 0, "start": "2023-12-20 20:40:47.571834" } TASK [Create dummy interface veth1298] ***************************************** task path: /WORKDIR/git-skip_initscriptsjrlf7o6b/tests/tasks/manage_test_interface.yml:45 Wednesday 20 December 2023 20:40:47 +0000 (0:00:00.222) 0:00:08.865 **** 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-skip_initscriptsjrlf7o6b/tests/tasks/manage_test_interface.yml:50 Wednesday 20 December 2023 20:40:47 +0000 (0:00:00.009) 0:00:08.875 **** 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-skip_initscriptsjrlf7o6b/tests/tasks/manage_test_interface.yml:56 Wednesday 20 December 2023 20:40:47 +0000 (0:00:00.008) 0:00:08.884 **** 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-skip_initscriptsjrlf7o6b/tests/tasks/manage_test_interface.yml:61 Wednesday 20 December 2023 20:40:47 +0000 (0:00:00.007) 0:00:08.891 **** 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-skip_initscriptsjrlf7o6b/tests/tasks/create_and_remove_interface.yml:27 Wednesday 20 December 2023 20:40:47 +0000 (0:00:00.008) 0:00:08.900 **** included: /WORKDIR/git-skip_initscriptsjrlf7o6b/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-skip_initscriptsjrlf7o6b/tests/tasks/show_interfaces.yml:3 Wednesday 20 December 2023 20:40:47 +0000 (0:00:00.020) 0:00:08.920 **** included: /WORKDIR/git-skip_initscriptsjrlf7o6b/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-skip_initscriptsjrlf7o6b/tests/tasks/get_current_interfaces.yml:3 Wednesday 20 December 2023 20:40:47 +0000 (0:00:00.017) 0:00:08.938 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003669", "end": "2023-12-20 20:40:47.859752", "rc": 0, "start": "2023-12-20 20:40:47.856083" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-skip_initscriptsjrlf7o6b/tests/tasks/get_current_interfaces.yml:9 Wednesday 20 December 2023 20:40:47 +0000 (0:00:00.195) 0:00:09.134 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-skip_initscriptsjrlf7o6b/tests/tasks/show_interfaces.yml:5 Wednesday 20 December 2023 20:40:47 +0000 (0:00:00.012) 0:00:09.146 **** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Include the task 'assert_device_absent.yml'] ***************************** task path: /WORKDIR/git-skip_initscriptsjrlf7o6b/tests/tasks/create_and_remove_interface.yml:29 Wednesday 20 December 2023 20:40:47 +0000 (0:00:00.009) 0:00:09.156 **** included: /WORKDIR/git-skip_initscriptsjrlf7o6b/tests/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-skip_initscriptsjrlf7o6b/tests/tasks/assert_device_absent.yml:3 Wednesday 20 December 2023 20:40:47 +0000 (0:00:00.019) 0:00:09.176 **** included: /WORKDIR/git-skip_initscriptsjrlf7o6b/tests/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth1298] ***************************************** task path: /WORKDIR/git-skip_initscriptsjrlf7o6b/tests/tasks/get_interface_stat.yml:3 Wednesday 20 December 2023 20:40:47 +0000 (0:00:00.009) 0:00:09.186 **** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'veth1298'] ************************ task path: /WORKDIR/git-skip_initscriptsjrlf7o6b/tests/tasks/assert_device_absent.yml:5 Wednesday 20 December 2023 20:40:48 +0000 (0:00:00.199) 0:00:09.385 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test veth interface management] ****************************************** task path: /WORKDIR/git-skip_initscriptsjrlf7o6b/tests/tests_helpers_and_asserts.yml:15 Wednesday 20 December 2023 20:40:48 +0000 (0:00:00.010) 0:00:09.396 **** included: /WORKDIR/git-skip_initscriptsjrlf7o6b/tests/tasks/create_and_remove_interface.yml for sut TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-skip_initscriptsjrlf7o6b/tests/tasks/create_and_remove_interface.yml:3 Wednesday 20 December 2023 20:40:48 +0000 (0:00:00.015) 0:00:09.412 **** included: /WORKDIR/git-skip_initscriptsjrlf7o6b/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-skip_initscriptsjrlf7o6b/tests/tasks/show_interfaces.yml:3 Wednesday 20 December 2023 20:40:48 +0000 (0:00:00.016) 0:00:09.428 **** included: /WORKDIR/git-skip_initscriptsjrlf7o6b/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-skip_initscriptsjrlf7o6b/tests/tasks/get_current_interfaces.yml:3 Wednesday 20 December 2023 20:40:48 +0000 (0:00:00.013) 0:00:09.442 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003368", "end": "2023-12-20 20:40:48.370758", "rc": 0, "start": "2023-12-20 20:40:48.367390" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-skip_initscriptsjrlf7o6b/tests/tasks/get_current_interfaces.yml:9 Wednesday 20 December 2023 20:40:48 +0000 (0:00:00.210) 0:00:09.652 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-skip_initscriptsjrlf7o6b/tests/tasks/show_interfaces.yml:5 Wednesday 20 December 2023 20:40:48 +0000 (0:00:00.009) 0:00:09.662 **** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-skip_initscriptsjrlf7o6b/tests/tasks/create_and_remove_interface.yml:5 Wednesday 20 December 2023 20:40:48 +0000 (0:00:00.009) 0:00:09.671 **** included: /WORKDIR/git-skip_initscriptsjrlf7o6b/tests/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-skip_initscriptsjrlf7o6b/tests/tasks/manage_test_interface.yml:3 Wednesday 20 December 2023 20:40:48 +0000 (0:00:00.011) 0:00:09.683 **** 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-skip_initscriptsjrlf7o6b/tests/tasks/manage_test_interface.yml:8 Wednesday 20 December 2023 20:40:48 +0000 (0:00:00.007) 0:00:09.690 **** 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-skip_initscriptsjrlf7o6b/tests/tasks/manage_test_interface.yml:13 Wednesday 20 December 2023 20:40:48 +0000 (0:00:00.007) 0:00:09.697 **** included: /WORKDIR/git-skip_initscriptsjrlf7o6b/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-skip_initscriptsjrlf7o6b/tests/tasks/show_interfaces.yml:3 Wednesday 20 December 2023 20:40:48 +0000 (0:00:00.010) 0:00:09.708 **** included: /WORKDIR/git-skip_initscriptsjrlf7o6b/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-skip_initscriptsjrlf7o6b/tests/tasks/get_current_interfaces.yml:3 Wednesday 20 December 2023 20:40:48 +0000 (0:00:00.018) 0:00:09.726 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003466", "end": "2023-12-20 20:40:48.648716", "rc": 0, "start": "2023-12-20 20:40:48.645250" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-skip_initscriptsjrlf7o6b/tests/tasks/get_current_interfaces.yml:9 Wednesday 20 December 2023 20:40:48 +0000 (0:00:00.200) 0:00:09.927 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-skip_initscriptsjrlf7o6b/tests/tasks/show_interfaces.yml:5 Wednesday 20 December 2023 20:40:48 +0000 (0:00:00.010) 0:00:09.938 **** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-skip_initscriptsjrlf7o6b/tests/tasks/manage_test_interface.yml:16 Wednesday 20 December 2023 20:40:48 +0000 (0:00:00.011) 0:00:09.950 **** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface dummy1298] ***************************************** task path: /WORKDIR/git-skip_initscriptsjrlf7o6b/tests/tasks/manage_test_interface.yml:23 Wednesday 20 December 2023 20:40:49 +0000 (0:00:00.891) 0:00:10.841 **** 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-skip_initscriptsjrlf7o6b/tests/tasks/manage_test_interface.yml:31 Wednesday 20 December 2023 20:40:49 +0000 (0:00:00.015) 0:00:10.857 **** 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-skip_initscriptsjrlf7o6b/tests/tasks/manage_test_interface.yml:39 Wednesday 20 December 2023 20:40:49 +0000 (0:00:00.017) 0:00:10.875 **** 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-skip_initscriptsjrlf7o6b/tests/tasks/manage_test_interface.yml:45 Wednesday 20 December 2023 20:40:49 +0000 (0:00:00.008) 0:00:10.883 **** 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-skip_initscriptsjrlf7o6b/tests/tasks/manage_test_interface.yml:50 Wednesday 20 December 2023 20:40:49 +0000 (0:00:00.009) 0:00:10.892 **** 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-skip_initscriptsjrlf7o6b/tests/tasks/manage_test_interface.yml:56 Wednesday 20 December 2023 20:40:49 +0000 (0:00:00.013) 0:00:10.905 **** 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-skip_initscriptsjrlf7o6b/tests/tasks/manage_test_interface.yml:61 Wednesday 20 December 2023 20:40:49 +0000 (0:00:00.015) 0:00:10.920 **** 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-skip_initscriptsjrlf7o6b/tests/tasks/create_and_remove_interface.yml:9 Wednesday 20 December 2023 20:40:49 +0000 (0:00:00.008) 0:00:10.928 **** included: /WORKDIR/git-skip_initscriptsjrlf7o6b/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-skip_initscriptsjrlf7o6b/tests/tasks/show_interfaces.yml:3 Wednesday 20 December 2023 20:40:49 +0000 (0:00:00.012) 0:00:10.941 **** included: /WORKDIR/git-skip_initscriptsjrlf7o6b/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-skip_initscriptsjrlf7o6b/tests/tasks/get_current_interfaces.yml:3 Wednesday 20 December 2023 20:40:49 +0000 (0:00:00.009) 0:00:10.951 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003337", "end": "2023-12-20 20:40:49.878504", "rc": 0, "start": "2023-12-20 20:40:49.875167" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-skip_initscriptsjrlf7o6b/tests/tasks/get_current_interfaces.yml:9 Wednesday 20 December 2023 20:40:49 +0000 (0:00:00.202) 0:00:11.153 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-skip_initscriptsjrlf7o6b/tests/tasks/show_interfaces.yml:5 Wednesday 20 December 2023 20:40:49 +0000 (0:00:00.009) 0:00:11.163 **** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Include the task 'assert_device_absent.yml'] ***************************** task path: /WORKDIR/git-skip_initscriptsjrlf7o6b/tests/tasks/create_and_remove_interface.yml:11 Wednesday 20 December 2023 20:40:49 +0000 (0:00:00.009) 0:00:11.173 **** included: /WORKDIR/git-skip_initscriptsjrlf7o6b/tests/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-skip_initscriptsjrlf7o6b/tests/tasks/assert_device_absent.yml:3 Wednesday 20 December 2023 20:40:49 +0000 (0:00:00.013) 0:00:11.186 **** included: /WORKDIR/git-skip_initscriptsjrlf7o6b/tests/tasks/get_interface_stat.yml for sut TASK [Get stat for interface dummy1298] **************************************** task path: /WORKDIR/git-skip_initscriptsjrlf7o6b/tests/tasks/get_interface_stat.yml:3 Wednesday 20 December 2023 20:40:49 +0000 (0:00:00.009) 0:00:11.196 **** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'dummy1298'] *********************** task path: /WORKDIR/git-skip_initscriptsjrlf7o6b/tests/tasks/assert_device_absent.yml:5 Wednesday 20 December 2023 20:40:50 +0000 (0:00:00.187) 0:00:11.384 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-skip_initscriptsjrlf7o6b/tests/tasks/create_and_remove_interface.yml:14 Wednesday 20 December 2023 20:40:50 +0000 (0:00:00.018) 0:00:11.402 **** included: /WORKDIR/git-skip_initscriptsjrlf7o6b/tests/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-skip_initscriptsjrlf7o6b/tests/tasks/manage_test_interface.yml:3 Wednesday 20 December 2023 20:40:50 +0000 (0:00:00.025) 0:00:11.428 **** 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-skip_initscriptsjrlf7o6b/tests/tasks/manage_test_interface.yml:8 Wednesday 20 December 2023 20:40:50 +0000 (0:00:00.013) 0:00:11.441 **** 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-skip_initscriptsjrlf7o6b/tests/tasks/manage_test_interface.yml:13 Wednesday 20 December 2023 20:40:50 +0000 (0:00:00.013) 0:00:11.454 **** included: /WORKDIR/git-skip_initscriptsjrlf7o6b/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-skip_initscriptsjrlf7o6b/tests/tasks/show_interfaces.yml:3 Wednesday 20 December 2023 20:40:50 +0000 (0:00:00.013) 0:00:11.468 **** included: /WORKDIR/git-skip_initscriptsjrlf7o6b/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-skip_initscriptsjrlf7o6b/tests/tasks/get_current_interfaces.yml:3 Wednesday 20 December 2023 20:40:50 +0000 (0:00:00.012) 0:00:11.481 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003412", "end": "2023-12-20 20:40:50.399600", "rc": 0, "start": "2023-12-20 20:40:50.396188" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-skip_initscriptsjrlf7o6b/tests/tasks/get_current_interfaces.yml:9 Wednesday 20 December 2023 20:40:50 +0000 (0:00:00.224) 0:00:11.705 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-skip_initscriptsjrlf7o6b/tests/tasks/show_interfaces.yml:5 Wednesday 20 December 2023 20:40:50 +0000 (0:00:00.016) 0:00:11.721 **** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-skip_initscriptsjrlf7o6b/tests/tasks/manage_test_interface.yml:16 Wednesday 20 December 2023 20:40:50 +0000 (0:00:00.019) 0:00:11.740 **** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface dummy1298] ***************************************** task path: /WORKDIR/git-skip_initscriptsjrlf7o6b/tests/tasks/manage_test_interface.yml:23 Wednesday 20 December 2023 20:40:51 +0000 (0:00:00.904) 0:00:12.645 **** 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-skip_initscriptsjrlf7o6b/tests/tasks/manage_test_interface.yml:31 Wednesday 20 December 2023 20:40:51 +0000 (0:00:00.031) 0:00:12.676 **** 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-skip_initscriptsjrlf7o6b/tests/tasks/manage_test_interface.yml:39 Wednesday 20 December 2023 20:40:51 +0000 (0:00:00.023) 0:00:12.700 **** 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-skip_initscriptsjrlf7o6b/tests/tasks/manage_test_interface.yml:45 Wednesday 20 December 2023 20:40:51 +0000 (0:00:00.025) 0:00:12.725 **** ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "add", "dummy1298", "type", "dummy" ], "delta": "0:00:00.011795", "end": "2023-12-20 20:40:51.662804", "rc": 0, "start": "2023-12-20 20:40:51.651009" } TASK [Delete dummy interface dummy1298] **************************************** task path: /WORKDIR/git-skip_initscriptsjrlf7o6b/tests/tasks/manage_test_interface.yml:50 Wednesday 20 December 2023 20:40:51 +0000 (0:00:00.219) 0:00:12.944 **** 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-skip_initscriptsjrlf7o6b/tests/tasks/manage_test_interface.yml:56 Wednesday 20 December 2023 20:40:51 +0000 (0:00:00.008) 0:00:12.953 **** 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-skip_initscriptsjrlf7o6b/tests/tasks/manage_test_interface.yml:61 Wednesday 20 December 2023 20:40:51 +0000 (0:00:00.009) 0:00:12.962 **** 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-skip_initscriptsjrlf7o6b/tests/tasks/create_and_remove_interface.yml:18 Wednesday 20 December 2023 20:40:51 +0000 (0:00:00.008) 0:00:12.971 **** included: /WORKDIR/git-skip_initscriptsjrlf7o6b/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-skip_initscriptsjrlf7o6b/tests/tasks/show_interfaces.yml:3 Wednesday 20 December 2023 20:40:51 +0000 (0:00:00.015) 0:00:12.987 **** included: /WORKDIR/git-skip_initscriptsjrlf7o6b/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-skip_initscriptsjrlf7o6b/tests/tasks/get_current_interfaces.yml:3 Wednesday 20 December 2023 20:40:51 +0000 (0:00:00.009) 0:00:12.996 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003432", "end": "2023-12-20 20:40:51.913749", "rc": 0, "start": "2023-12-20 20:40:51.910317" } STDOUT: bonding_masters dummy1298 eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-skip_initscriptsjrlf7o6b/tests/tasks/get_current_interfaces.yml:9 Wednesday 20 December 2023 20:40:51 +0000 (0:00:00.189) 0:00:13.186 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "dummy1298", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-skip_initscriptsjrlf7o6b/tests/tasks/show_interfaces.yml:5 Wednesday 20 December 2023 20:40:51 +0000 (0:00:00.009) 0:00:13.195 **** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'dummy1298', 'eth0', 'lo'] TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-skip_initscriptsjrlf7o6b/tests/tasks/create_and_remove_interface.yml:20 Wednesday 20 December 2023 20:40:51 +0000 (0:00:00.010) 0:00:13.206 **** included: /WORKDIR/git-skip_initscriptsjrlf7o6b/tests/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-skip_initscriptsjrlf7o6b/tests/tasks/assert_device_present.yml:3 Wednesday 20 December 2023 20:40:51 +0000 (0:00:00.020) 0:00:13.227 **** included: /WORKDIR/git-skip_initscriptsjrlf7o6b/tests/tasks/get_interface_stat.yml for sut TASK [Get stat for interface dummy1298] **************************************** task path: /WORKDIR/git-skip_initscriptsjrlf7o6b/tests/tasks/get_interface_stat.yml:3 Wednesday 20 December 2023 20:40:51 +0000 (0:00:00.011) 0:00:13.238 **** ok: [sut] => { "changed": false, "stat": { "atime": 1703104851.660177, "block_size": 4096, "blocks": 0, "ctime": 1703104851.660177, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 29534, "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": 1703104851.660177, "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-skip_initscriptsjrlf7o6b/tests/tasks/assert_device_present.yml:5 Wednesday 20 December 2023 20:40:52 +0000 (0:00:00.202) 0:00:13.441 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-skip_initscriptsjrlf7o6b/tests/tasks/create_and_remove_interface.yml:23 Wednesday 20 December 2023 20:40:52 +0000 (0:00:00.023) 0:00:13.464 **** included: /WORKDIR/git-skip_initscriptsjrlf7o6b/tests/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-skip_initscriptsjrlf7o6b/tests/tasks/manage_test_interface.yml:3 Wednesday 20 December 2023 20:40:52 +0000 (0:00:00.025) 0:00:13.490 **** 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-skip_initscriptsjrlf7o6b/tests/tasks/manage_test_interface.yml:8 Wednesday 20 December 2023 20:40:52 +0000 (0:00:00.014) 0:00:13.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-skip_initscriptsjrlf7o6b/tests/tasks/manage_test_interface.yml:13 Wednesday 20 December 2023 20:40:52 +0000 (0:00:00.010) 0:00:13.515 **** included: /WORKDIR/git-skip_initscriptsjrlf7o6b/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-skip_initscriptsjrlf7o6b/tests/tasks/show_interfaces.yml:3 Wednesday 20 December 2023 20:40:52 +0000 (0:00:00.010) 0:00:13.526 **** included: /WORKDIR/git-skip_initscriptsjrlf7o6b/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-skip_initscriptsjrlf7o6b/tests/tasks/get_current_interfaces.yml:3 Wednesday 20 December 2023 20:40:52 +0000 (0:00:00.014) 0:00:13.541 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003407", "end": "2023-12-20 20:40:52.475687", "rc": 0, "start": "2023-12-20 20:40:52.472280" } STDOUT: bonding_masters dummy1298 eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-skip_initscriptsjrlf7o6b/tests/tasks/get_current_interfaces.yml:9 Wednesday 20 December 2023 20:40:52 +0000 (0:00:00.220) 0:00:13.761 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "dummy1298", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-skip_initscriptsjrlf7o6b/tests/tasks/show_interfaces.yml:5 Wednesday 20 December 2023 20:40:52 +0000 (0:00:00.035) 0:00:13.796 **** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'dummy1298', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-skip_initscriptsjrlf7o6b/tests/tasks/manage_test_interface.yml:16 Wednesday 20 December 2023 20:40:52 +0000 (0:00:00.015) 0:00:13.812 **** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface dummy1298] ***************************************** task path: /WORKDIR/git-skip_initscriptsjrlf7o6b/tests/tasks/manage_test_interface.yml:23 Wednesday 20 December 2023 20:40:53 +0000 (0:00:00.887) 0:00:14.700 **** 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-skip_initscriptsjrlf7o6b/tests/tasks/manage_test_interface.yml:31 Wednesday 20 December 2023 20:40:53 +0000 (0:00:00.034) 0:00:14.734 **** 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-skip_initscriptsjrlf7o6b/tests/tasks/manage_test_interface.yml:39 Wednesday 20 December 2023 20:40:53 +0000 (0:00:00.019) 0:00:14.754 **** 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-skip_initscriptsjrlf7o6b/tests/tasks/manage_test_interface.yml:45 Wednesday 20 December 2023 20:40:53 +0000 (0:00:00.016) 0:00:14.770 **** 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-skip_initscriptsjrlf7o6b/tests/tasks/manage_test_interface.yml:50 Wednesday 20 December 2023 20:40:53 +0000 (0:00:00.016) 0:00:14.787 **** ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "dummy1298", "type", "dummy" ], "delta": "0:00:00.006320", "end": "2023-12-20 20:40:53.723506", "rc": 0, "start": "2023-12-20 20:40:53.717186" } TASK [Create tap interface dummy1298] ****************************************** task path: /WORKDIR/git-skip_initscriptsjrlf7o6b/tests/tasks/manage_test_interface.yml:56 Wednesday 20 December 2023 20:40:53 +0000 (0:00:00.216) 0:00:15.004 **** 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-skip_initscriptsjrlf7o6b/tests/tasks/manage_test_interface.yml:61 Wednesday 20 December 2023 20:40:53 +0000 (0:00:00.017) 0:00:15.021 **** 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-skip_initscriptsjrlf7o6b/tests/tasks/create_and_remove_interface.yml:27 Wednesday 20 December 2023 20:40:53 +0000 (0:00:00.023) 0:00:15.045 **** included: /WORKDIR/git-skip_initscriptsjrlf7o6b/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-skip_initscriptsjrlf7o6b/tests/tasks/show_interfaces.yml:3 Wednesday 20 December 2023 20:40:53 +0000 (0:00:00.027) 0:00:15.072 **** included: /WORKDIR/git-skip_initscriptsjrlf7o6b/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-skip_initscriptsjrlf7o6b/tests/tasks/get_current_interfaces.yml:3 Wednesday 20 December 2023 20:40:53 +0000 (0:00:00.029) 0:00:15.102 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003465", "end": "2023-12-20 20:40:54.020825", "rc": 0, "start": "2023-12-20 20:40:54.017360" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-skip_initscriptsjrlf7o6b/tests/tasks/get_current_interfaces.yml:9 Wednesday 20 December 2023 20:40:54 +0000 (0:00:00.194) 0:00:15.297 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-skip_initscriptsjrlf7o6b/tests/tasks/show_interfaces.yml:5 Wednesday 20 December 2023 20:40:54 +0000 (0:00:00.017) 0:00:15.314 **** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Include the task 'assert_device_absent.yml'] ***************************** task path: /WORKDIR/git-skip_initscriptsjrlf7o6b/tests/tasks/create_and_remove_interface.yml:29 Wednesday 20 December 2023 20:40:54 +0000 (0:00:00.026) 0:00:15.341 **** included: /WORKDIR/git-skip_initscriptsjrlf7o6b/tests/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-skip_initscriptsjrlf7o6b/tests/tasks/assert_device_absent.yml:3 Wednesday 20 December 2023 20:40:54 +0000 (0:00:00.028) 0:00:15.370 **** included: /WORKDIR/git-skip_initscriptsjrlf7o6b/tests/tasks/get_interface_stat.yml for sut TASK [Get stat for interface dummy1298] **************************************** task path: /WORKDIR/git-skip_initscriptsjrlf7o6b/tests/tasks/get_interface_stat.yml:3 Wednesday 20 December 2023 20:40:54 +0000 (0:00:00.014) 0:00:15.384 **** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'dummy1298'] *********************** task path: /WORKDIR/git-skip_initscriptsjrlf7o6b/tests/tasks/assert_device_absent.yml:5 Wednesday 20 December 2023 20:40:54 +0000 (0:00:00.204) 0:00:15.588 **** ok: [sut] => { "changed": false } MSG: All assertions passed PLAY RECAP ********************************************************************* sut : ok=119 changed=0 unreachable=0 failed=0 skipped=55 rescued=0 ignored=0 Wednesday 20 December 2023 20:40:54 +0000 (0:00:00.030) 0:00:15.618 **** =============================================================================== Gather current interface info ------------------------------------------- 1.19s /WORKDIR/git-skip_initscriptsjrlf7o6b/tests/tasks/get_current_interfaces.yml:3 Install iproute --------------------------------------------------------- 1.07s /WORKDIR/git-skip_initscriptsjrlf7o6b/tests/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 0.90s /WORKDIR/git-skip_initscriptsjrlf7o6b/tests/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 0.89s /WORKDIR/git-skip_initscriptsjrlf7o6b/tests/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 0.89s /WORKDIR/git-skip_initscriptsjrlf7o6b/tests/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 0.89s /WORKDIR/git-skip_initscriptsjrlf7o6b/tests/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 0.87s /WORKDIR/git-skip_initscriptsjrlf7o6b/tests/tasks/manage_test_interface.yml:16 Gathering Facts --------------------------------------------------------- 0.78s /WORKDIR/git-skip_initscriptsjrlf7o6b/tests/tests_helpers_and_asserts.yml:3 --- Create veth interface veth1298 ------------------------------------------ 0.64s /WORKDIR/git-skip_initscriptsjrlf7o6b/tests/tasks/manage_test_interface.yml:23 Gather the minimum subset of ansible_facts required by the network role test --- 0.38s /WORKDIR/git-skip_initscriptsjrlf7o6b/tests/tasks/el_repo_setup.yml:3 --------- Gather current interface info ------------------------------------------- 0.26s /WORKDIR/git-skip_initscriptsjrlf7o6b/tests/tasks/get_current_interfaces.yml:3 Check if system is ostree ----------------------------------------------- 0.25s /WORKDIR/git-skip_initscriptsjrlf7o6b/tests/tasks/el_repo_setup.yml:17 -------- Gather current interface info ------------------------------------------- 0.22s /WORKDIR/git-skip_initscriptsjrlf7o6b/tests/tasks/get_current_interfaces.yml:3 Delete veth interface veth1298 ------------------------------------------ 0.22s /WORKDIR/git-skip_initscriptsjrlf7o6b/tests/tasks/manage_test_interface.yml:39 Gather current interface info ------------------------------------------- 0.22s /WORKDIR/git-skip_initscriptsjrlf7o6b/tests/tasks/get_current_interfaces.yml:3 Create dummy interface dummy1298 ---------------------------------------- 0.22s /WORKDIR/git-skip_initscriptsjrlf7o6b/tests/tasks/manage_test_interface.yml:45 Delete dummy interface dummy1298 ---------------------------------------- 0.22s /WORKDIR/git-skip_initscriptsjrlf7o6b/tests/tasks/manage_test_interface.yml:50 Gather current interface info ------------------------------------------- 0.21s /WORKDIR/git-skip_initscriptsjrlf7o6b/tests/tasks/get_current_interfaces.yml:3 Set up veth as managed by NetworkManager -------------------------------- 0.21s /WORKDIR/git-skip_initscriptsjrlf7o6b/tests/tasks/manage_test_interface.yml:31 Gather current interface info ------------------------------------------- 0.21s /WORKDIR/git-skip_initscriptsjrlf7o6b/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. ---^---^---^---^---^---