# 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_initscriptsx_4nrjqh/.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_initscriptsx_4nrjqh/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_initscriptsx_4nrjqh/tests/tests_helpers_and_asserts.yml:3 Wednesday 20 December 2023 20:36:15 +0000 (0:00:00.037) 0:00:00.037 **** ok: [sut] TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-skip_initscriptsx_4nrjqh/tests/tests_helpers_and_asserts.yml:6 Wednesday 20 December 2023 20:36:17 +0000 (0:00:01.971) 0:00:02.008 **** included: /WORKDIR/git-skip_initscriptsx_4nrjqh/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_initscriptsx_4nrjqh/tests/tasks/el_repo_setup.yml:3 Wednesday 20 December 2023 20:36:17 +0000 (0:00:00.018) 0:00:02.027 **** ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-skip_initscriptsx_4nrjqh/tests/tasks/el_repo_setup.yml:17 Wednesday 20 December 2023 20:36:18 +0000 (0:00:00.423) 0:00:02.450 **** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-skip_initscriptsx_4nrjqh/tests/tasks/el_repo_setup.yml:22 Wednesday 20 December 2023 20:36:18 +0000 (0:00:00.295) 0:00:02.746 **** ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-skip_initscriptsx_4nrjqh/tests/tasks/el_repo_setup.yml:26 Wednesday 20 December 2023 20:36:18 +0000 (0:00:00.014) 0:00:02.760 **** 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_initscriptsx_4nrjqh/tests/tasks/el_repo_setup.yml:51 Wednesday 20 December 2023 20:36:18 +0000 (0:00:00.009) 0:00:02.770 **** included: /WORKDIR/git-skip_initscriptsx_4nrjqh/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 8] *********************************************************** task path: /WORKDIR/git-skip_initscriptsx_4nrjqh/tests/tasks/enable_epel.yml:8 Wednesday 20 December 2023 20:36:18 +0000 (0:00:00.021) 0:00:02.792 **** ok: [sut] => { "attempts": 1, "changed": false, "cmd": [ "rpm", "-iv", "https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm" ], "delta": null, "end": null, "rc": 0, "start": null } STDOUT: skipped, since /etc/yum.repos.d/epel.repo exists MSG: Did not run command since '/etc/yum.repos.d/epel.repo' exists TASK [Install yum-utils package] *********************************************** task path: /WORKDIR/git-skip_initscriptsx_4nrjqh/tests/tasks/enable_epel.yml:24 Wednesday 20 December 2023 20:36:18 +0000 (0:00:00.277) 0:00:03.070 **** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version == '7'", "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /WORKDIR/git-skip_initscriptsx_4nrjqh/tests/tasks/enable_epel.yml:30 Wednesday 20 December 2023 20:36:18 +0000 (0:00:00.038) 0:00:03.108 **** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version == '7'", "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /WORKDIR/git-skip_initscriptsx_4nrjqh/tests/tasks/enable_epel.yml:35 Wednesday 20 December 2023 20:36:18 +0000 (0:00:00.027) 0:00:03.136 **** ok: [sut] => { "changed": false, "cmd": [ "dnf", "config-manager", "--set-enabled", "epel" ], "delta": "0:00:00.250365", "end": "2023-12-20 20:36:19.288677", "rc": 0, "start": "2023-12-20 20:36:19.038312" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-skip_initscriptsx_4nrjqh/tests/tasks/enable_epel.yml:40 Wednesday 20 December 2023 20:36:19 +0000 (0:00:00.461) 0:00:03.597 **** 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_initscriptsx_4nrjqh/tests/tests_helpers_and_asserts.yml:9 Wednesday 20 December 2023 20:36:19 +0000 (0:00:00.008) 0:00:03.606 **** included: /WORKDIR/git-skip_initscriptsx_4nrjqh/tests/tasks/create_and_remove_interface.yml for sut TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-skip_initscriptsx_4nrjqh/tests/tasks/create_and_remove_interface.yml:3 Wednesday 20 December 2023 20:36:19 +0000 (0:00:00.012) 0:00:03.618 **** included: /WORKDIR/git-skip_initscriptsx_4nrjqh/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-skip_initscriptsx_4nrjqh/tests/tasks/show_interfaces.yml:3 Wednesday 20 December 2023 20:36:19 +0000 (0:00:00.014) 0:00:03.632 **** included: /WORKDIR/git-skip_initscriptsx_4nrjqh/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-skip_initscriptsx_4nrjqh/tests/tasks/get_current_interfaces.yml:3 Wednesday 20 December 2023 20:36:19 +0000 (0:00:00.009) 0:00:03.642 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003562", "end": "2023-12-20 20:36:19.528567", "rc": 0, "start": "2023-12-20 20:36:19.525005" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-skip_initscriptsx_4nrjqh/tests/tasks/get_current_interfaces.yml:9 Wednesday 20 December 2023 20:36:19 +0000 (0:00:00.199) 0:00:03.842 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-skip_initscriptsx_4nrjqh/tests/tasks/show_interfaces.yml:5 Wednesday 20 December 2023 20:36:19 +0000 (0:00:00.027) 0:00:03.869 **** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-skip_initscriptsx_4nrjqh/tests/tasks/create_and_remove_interface.yml:5 Wednesday 20 December 2023 20:36:19 +0000 (0:00:00.021) 0:00:03.891 **** included: /WORKDIR/git-skip_initscriptsx_4nrjqh/tests/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-skip_initscriptsx_4nrjqh/tests/tasks/manage_test_interface.yml:3 Wednesday 20 December 2023 20:36:19 +0000 (0:00:00.026) 0:00:03.918 **** 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_initscriptsx_4nrjqh/tests/tasks/manage_test_interface.yml:8 Wednesday 20 December 2023 20:36:19 +0000 (0:00:00.018) 0:00:03.937 **** 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_initscriptsx_4nrjqh/tests/tasks/manage_test_interface.yml:13 Wednesday 20 December 2023 20:36:19 +0000 (0:00:00.012) 0:00:03.949 **** included: /WORKDIR/git-skip_initscriptsx_4nrjqh/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-skip_initscriptsx_4nrjqh/tests/tasks/show_interfaces.yml:3 Wednesday 20 December 2023 20:36:19 +0000 (0:00:00.017) 0:00:03.966 **** included: /WORKDIR/git-skip_initscriptsx_4nrjqh/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-skip_initscriptsx_4nrjqh/tests/tasks/get_current_interfaces.yml:3 Wednesday 20 December 2023 20:36:19 +0000 (0:00:00.016) 0:00:03.982 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003972", "end": "2023-12-20 20:36:19.871633", "rc": 0, "start": "2023-12-20 20:36:19.867661" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-skip_initscriptsx_4nrjqh/tests/tasks/get_current_interfaces.yml:9 Wednesday 20 December 2023 20:36:19 +0000 (0:00:00.208) 0:00:04.190 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-skip_initscriptsx_4nrjqh/tests/tasks/show_interfaces.yml:5 Wednesday 20 December 2023 20:36:19 +0000 (0:00:00.013) 0:00:04.204 **** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-skip_initscriptsx_4nrjqh/tests/tasks/manage_test_interface.yml:16 Wednesday 20 December 2023 20:36:19 +0000 (0:00:00.013) 0:00:04.218 **** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth1298] ****************************************** task path: /WORKDIR/git-skip_initscriptsx_4nrjqh/tests/tasks/manage_test_interface.yml:23 Wednesday 20 December 2023 20:36:23 +0000 (0:00:03.309) 0:00:07.528 **** 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_initscriptsx_4nrjqh/tests/tasks/manage_test_interface.yml:31 Wednesday 20 December 2023 20:36:23 +0000 (0:00:00.014) 0:00:07.542 **** 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_initscriptsx_4nrjqh/tests/tasks/manage_test_interface.yml:39 Wednesday 20 December 2023 20:36:23 +0000 (0:00:00.014) 0:00:07.556 **** 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_initscriptsx_4nrjqh/tests/tasks/manage_test_interface.yml:45 Wednesday 20 December 2023 20:36:23 +0000 (0:00:00.010) 0:00:07.567 **** 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_initscriptsx_4nrjqh/tests/tasks/manage_test_interface.yml:50 Wednesday 20 December 2023 20:36:23 +0000 (0:00:00.010) 0:00:07.578 **** 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_initscriptsx_4nrjqh/tests/tasks/manage_test_interface.yml:56 Wednesday 20 December 2023 20:36:23 +0000 (0:00:00.009) 0:00:07.588 **** 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_initscriptsx_4nrjqh/tests/tasks/manage_test_interface.yml:61 Wednesday 20 December 2023 20:36:23 +0000 (0:00:00.008) 0:00:07.596 **** 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_initscriptsx_4nrjqh/tests/tasks/create_and_remove_interface.yml:9 Wednesday 20 December 2023 20:36:23 +0000 (0:00:00.011) 0:00:07.607 **** included: /WORKDIR/git-skip_initscriptsx_4nrjqh/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-skip_initscriptsx_4nrjqh/tests/tasks/show_interfaces.yml:3 Wednesday 20 December 2023 20:36:23 +0000 (0:00:00.014) 0:00:07.622 **** included: /WORKDIR/git-skip_initscriptsx_4nrjqh/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-skip_initscriptsx_4nrjqh/tests/tasks/get_current_interfaces.yml:3 Wednesday 20 December 2023 20:36:23 +0000 (0:00:00.010) 0:00:07.632 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003459", "end": "2023-12-20 20:36:23.518748", "rc": 0, "start": "2023-12-20 20:36:23.515289" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-skip_initscriptsx_4nrjqh/tests/tasks/get_current_interfaces.yml:9 Wednesday 20 December 2023 20:36:23 +0000 (0:00:00.194) 0:00:07.826 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-skip_initscriptsx_4nrjqh/tests/tasks/show_interfaces.yml:5 Wednesday 20 December 2023 20:36:23 +0000 (0:00:00.009) 0:00:07.836 **** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Include the task 'assert_device_absent.yml'] ***************************** task path: /WORKDIR/git-skip_initscriptsx_4nrjqh/tests/tasks/create_and_remove_interface.yml:11 Wednesday 20 December 2023 20:36:23 +0000 (0:00:00.011) 0:00:07.848 **** included: /WORKDIR/git-skip_initscriptsx_4nrjqh/tests/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-skip_initscriptsx_4nrjqh/tests/tasks/assert_device_absent.yml:3 Wednesday 20 December 2023 20:36:23 +0000 (0:00:00.013) 0:00:07.861 **** included: /WORKDIR/git-skip_initscriptsx_4nrjqh/tests/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth1298] ***************************************** task path: /WORKDIR/git-skip_initscriptsx_4nrjqh/tests/tasks/get_interface_stat.yml:3 Wednesday 20 December 2023 20:36:23 +0000 (0:00:00.009) 0:00:07.871 **** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'veth1298'] ************************ task path: /WORKDIR/git-skip_initscriptsx_4nrjqh/tests/tasks/assert_device_absent.yml:5 Wednesday 20 December 2023 20:36:23 +0000 (0:00:00.201) 0:00:08.072 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-skip_initscriptsx_4nrjqh/tests/tasks/create_and_remove_interface.yml:14 Wednesday 20 December 2023 20:36:23 +0000 (0:00:00.017) 0:00:08.090 **** included: /WORKDIR/git-skip_initscriptsx_4nrjqh/tests/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-skip_initscriptsx_4nrjqh/tests/tasks/manage_test_interface.yml:3 Wednesday 20 December 2023 20:36:23 +0000 (0:00:00.016) 0:00:08.106 **** 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_initscriptsx_4nrjqh/tests/tasks/manage_test_interface.yml:8 Wednesday 20 December 2023 20:36:23 +0000 (0:00:00.007) 0:00:08.113 **** 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_initscriptsx_4nrjqh/tests/tasks/manage_test_interface.yml:13 Wednesday 20 December 2023 20:36:23 +0000 (0:00:00.009) 0:00:08.123 **** included: /WORKDIR/git-skip_initscriptsx_4nrjqh/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-skip_initscriptsx_4nrjqh/tests/tasks/show_interfaces.yml:3 Wednesday 20 December 2023 20:36:23 +0000 (0:00:00.013) 0:00:08.136 **** included: /WORKDIR/git-skip_initscriptsx_4nrjqh/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-skip_initscriptsx_4nrjqh/tests/tasks/get_current_interfaces.yml:3 Wednesday 20 December 2023 20:36:23 +0000 (0:00:00.011) 0:00:08.148 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003567", "end": "2023-12-20 20:36:24.036701", "rc": 0, "start": "2023-12-20 20:36:24.033134" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-skip_initscriptsx_4nrjqh/tests/tasks/get_current_interfaces.yml:9 Wednesday 20 December 2023 20:36:24 +0000 (0:00:00.197) 0:00:08.345 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-skip_initscriptsx_4nrjqh/tests/tasks/show_interfaces.yml:5 Wednesday 20 December 2023 20:36:24 +0000 (0:00:00.011) 0:00:08.357 **** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-skip_initscriptsx_4nrjqh/tests/tasks/manage_test_interface.yml:16 Wednesday 20 December 2023 20:36:24 +0000 (0:00:00.012) 0:00:08.369 **** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth1298] ****************************************** task path: /WORKDIR/git-skip_initscriptsx_4nrjqh/tests/tasks/manage_test_interface.yml:23 Wednesday 20 December 2023 20:36:27 +0000 (0:00:03.003) 0:00:11.373 **** 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.012675", "end": "2023-12-20 20:36:27.279321", "item": "ip link add veth1298 type veth peer name peerveth1298", "rc": 0, "start": "2023-12-20 20:36:27.266646" } ok: [sut] => (item=ip link set peerveth1298 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peerveth1298", "up" ], "delta": "0:00:00.003966", "end": "2023-12-20 20:36:27.507831", "item": "ip link set peerveth1298 up", "rc": 0, "start": "2023-12-20 20:36:27.503865" } ok: [sut] => (item=ip link set veth1298 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "veth1298", "up" ], "delta": "0:00:00.004426", "end": "2023-12-20 20:36:27.697693", "item": "ip link set veth1298 up", "rc": 0, "start": "2023-12-20 20:36:27.693267" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-skip_initscriptsx_4nrjqh/tests/tasks/manage_test_interface.yml:31 Wednesday 20 December 2023 20:36:27 +0000 (0:00:00.632) 0:00:12.006 **** ok: [sut] => { "changed": false, "cmd": [ "nmcli", "d", "set", "veth1298", "managed", "true" ], "delta": "0:00:00.025329", "end": "2023-12-20 20:36:27.913325", "rc": 0, "start": "2023-12-20 20:36:27.887996" } TASK [Delete veth interface veth1298] ****************************************** task path: /WORKDIR/git-skip_initscriptsx_4nrjqh/tests/tasks/manage_test_interface.yml:39 Wednesday 20 December 2023 20:36:27 +0000 (0:00:00.216) 0:00:12.222 **** 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_initscriptsx_4nrjqh/tests/tasks/manage_test_interface.yml:45 Wednesday 20 December 2023 20:36:27 +0000 (0:00:00.008) 0:00:12.230 **** 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_initscriptsx_4nrjqh/tests/tasks/manage_test_interface.yml:50 Wednesday 20 December 2023 20:36:27 +0000 (0:00:00.007) 0:00:12.238 **** 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_initscriptsx_4nrjqh/tests/tasks/manage_test_interface.yml:56 Wednesday 20 December 2023 20:36:27 +0000 (0:00:00.007) 0:00:12.246 **** 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_initscriptsx_4nrjqh/tests/tasks/manage_test_interface.yml:61 Wednesday 20 December 2023 20:36:27 +0000 (0:00:00.009) 0:00:12.255 **** 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_initscriptsx_4nrjqh/tests/tasks/create_and_remove_interface.yml:18 Wednesday 20 December 2023 20:36:27 +0000 (0:00:00.007) 0:00:12.263 **** included: /WORKDIR/git-skip_initscriptsx_4nrjqh/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-skip_initscriptsx_4nrjqh/tests/tasks/show_interfaces.yml:3 Wednesday 20 December 2023 20:36:27 +0000 (0:00:00.015) 0:00:12.278 **** included: /WORKDIR/git-skip_initscriptsx_4nrjqh/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-skip_initscriptsx_4nrjqh/tests/tasks/get_current_interfaces.yml:3 Wednesday 20 December 2023 20:36:27 +0000 (0:00:00.008) 0:00:12.287 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003487", "end": "2023-12-20 20:36:28.172171", "rc": 0, "start": "2023-12-20 20:36:28.168684" } STDOUT: bonding_masters eth0 lo peerveth1298 veth1298 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-skip_initscriptsx_4nrjqh/tests/tasks/get_current_interfaces.yml:9 Wednesday 20 December 2023 20:36:28 +0000 (0:00:00.193) 0:00:12.480 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "peerveth1298", "veth1298" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-skip_initscriptsx_4nrjqh/tests/tasks/show_interfaces.yml:5 Wednesday 20 December 2023 20:36:28 +0000 (0:00:00.010) 0:00:12.491 **** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'peerveth1298', 'veth1298'] TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-skip_initscriptsx_4nrjqh/tests/tasks/create_and_remove_interface.yml:20 Wednesday 20 December 2023 20:36:28 +0000 (0:00:00.009) 0:00:12.501 **** included: /WORKDIR/git-skip_initscriptsx_4nrjqh/tests/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-skip_initscriptsx_4nrjqh/tests/tasks/assert_device_present.yml:3 Wednesday 20 December 2023 20:36:28 +0000 (0:00:00.016) 0:00:12.517 **** included: /WORKDIR/git-skip_initscriptsx_4nrjqh/tests/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth1298] ***************************************** task path: /WORKDIR/git-skip_initscriptsx_4nrjqh/tests/tasks/get_interface_stat.yml:3 Wednesday 20 December 2023 20:36:28 +0000 (0:00:00.010) 0:00:12.528 **** ok: [sut] => { "changed": false, "stat": { "atime": 1703104587.2704382, "block_size": 4096, "blocks": 0, "ctime": 1703104587.2704382, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 31188, "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": 1703104587.2704382, "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_initscriptsx_4nrjqh/tests/tasks/assert_device_present.yml:5 Wednesday 20 December 2023 20:36:28 +0000 (0:00:00.188) 0:00:12.717 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-skip_initscriptsx_4nrjqh/tests/tasks/create_and_remove_interface.yml:23 Wednesday 20 December 2023 20:36:28 +0000 (0:00:00.011) 0:00:12.729 **** included: /WORKDIR/git-skip_initscriptsx_4nrjqh/tests/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-skip_initscriptsx_4nrjqh/tests/tasks/manage_test_interface.yml:3 Wednesday 20 December 2023 20:36:28 +0000 (0:00:00.027) 0:00:12.756 **** 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_initscriptsx_4nrjqh/tests/tasks/manage_test_interface.yml:8 Wednesday 20 December 2023 20:36:28 +0000 (0:00:00.015) 0:00:12.772 **** 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_initscriptsx_4nrjqh/tests/tasks/manage_test_interface.yml:13 Wednesday 20 December 2023 20:36:28 +0000 (0:00:00.011) 0:00:12.783 **** included: /WORKDIR/git-skip_initscriptsx_4nrjqh/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-skip_initscriptsx_4nrjqh/tests/tasks/show_interfaces.yml:3 Wednesday 20 December 2023 20:36:28 +0000 (0:00:00.016) 0:00:12.799 **** included: /WORKDIR/git-skip_initscriptsx_4nrjqh/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-skip_initscriptsx_4nrjqh/tests/tasks/get_current_interfaces.yml:3 Wednesday 20 December 2023 20:36:28 +0000 (0:00:00.016) 0:00:12.816 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003524", "end": "2023-12-20 20:36:28.725685", "rc": 0, "start": "2023-12-20 20:36:28.722161" } STDOUT: bonding_masters eth0 lo peerveth1298 veth1298 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-skip_initscriptsx_4nrjqh/tests/tasks/get_current_interfaces.yml:9 Wednesday 20 December 2023 20:36:28 +0000 (0:00:00.217) 0:00:13.033 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "peerveth1298", "veth1298" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-skip_initscriptsx_4nrjqh/tests/tasks/show_interfaces.yml:5 Wednesday 20 December 2023 20:36:28 +0000 (0:00:00.041) 0:00:13.075 **** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'peerveth1298', 'veth1298'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-skip_initscriptsx_4nrjqh/tests/tasks/manage_test_interface.yml:16 Wednesday 20 December 2023 20:36:28 +0000 (0:00:00.022) 0:00:13.097 **** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth1298] ****************************************** task path: /WORKDIR/git-skip_initscriptsx_4nrjqh/tests/tasks/manage_test_interface.yml:23 Wednesday 20 December 2023 20:36:31 +0000 (0:00:03.013) 0:00:16.110 **** 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_initscriptsx_4nrjqh/tests/tasks/manage_test_interface.yml:31 Wednesday 20 December 2023 20:36:31 +0000 (0:00:00.014) 0:00:16.125 **** 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_initscriptsx_4nrjqh/tests/tasks/manage_test_interface.yml:39 Wednesday 20 December 2023 20:36:31 +0000 (0:00:00.011) 0:00:16.136 **** ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "veth1298", "type", "veth" ], "delta": "0:00:00.009790", "end": "2023-12-20 20:36:32.030813", "rc": 0, "start": "2023-12-20 20:36:32.021023" } TASK [Create dummy interface veth1298] ***************************************** task path: /WORKDIR/git-skip_initscriptsx_4nrjqh/tests/tasks/manage_test_interface.yml:45 Wednesday 20 December 2023 20:36:32 +0000 (0:00:00.207) 0:00:16.343 **** 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_initscriptsx_4nrjqh/tests/tasks/manage_test_interface.yml:50 Wednesday 20 December 2023 20:36:32 +0000 (0:00:00.018) 0:00:16.362 **** 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_initscriptsx_4nrjqh/tests/tasks/manage_test_interface.yml:56 Wednesday 20 December 2023 20:36:32 +0000 (0:00:00.023) 0:00:16.386 **** 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_initscriptsx_4nrjqh/tests/tasks/manage_test_interface.yml:61 Wednesday 20 December 2023 20:36:32 +0000 (0:00:00.022) 0:00:16.408 **** 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_initscriptsx_4nrjqh/tests/tasks/create_and_remove_interface.yml:27 Wednesday 20 December 2023 20:36:32 +0000 (0:00:00.012) 0:00:16.421 **** included: /WORKDIR/git-skip_initscriptsx_4nrjqh/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-skip_initscriptsx_4nrjqh/tests/tasks/show_interfaces.yml:3 Wednesday 20 December 2023 20:36:32 +0000 (0:00:00.019) 0:00:16.440 **** included: /WORKDIR/git-skip_initscriptsx_4nrjqh/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-skip_initscriptsx_4nrjqh/tests/tasks/get_current_interfaces.yml:3 Wednesday 20 December 2023 20:36:32 +0000 (0:00:00.009) 0:00:16.450 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003602", "end": "2023-12-20 20:36:32.336185", "rc": 0, "start": "2023-12-20 20:36:32.332583" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-skip_initscriptsx_4nrjqh/tests/tasks/get_current_interfaces.yml:9 Wednesday 20 December 2023 20:36:32 +0000 (0:00:00.208) 0:00:16.658 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-skip_initscriptsx_4nrjqh/tests/tasks/show_interfaces.yml:5 Wednesday 20 December 2023 20:36:32 +0000 (0:00:00.011) 0:00:16.670 **** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Include the task 'assert_device_absent.yml'] ***************************** task path: /WORKDIR/git-skip_initscriptsx_4nrjqh/tests/tasks/create_and_remove_interface.yml:29 Wednesday 20 December 2023 20:36:32 +0000 (0:00:00.010) 0:00:16.680 **** included: /WORKDIR/git-skip_initscriptsx_4nrjqh/tests/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-skip_initscriptsx_4nrjqh/tests/tasks/assert_device_absent.yml:3 Wednesday 20 December 2023 20:36:32 +0000 (0:00:00.019) 0:00:16.700 **** included: /WORKDIR/git-skip_initscriptsx_4nrjqh/tests/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth1298] ***************************************** task path: /WORKDIR/git-skip_initscriptsx_4nrjqh/tests/tasks/get_interface_stat.yml:3 Wednesday 20 December 2023 20:36:32 +0000 (0:00:00.010) 0:00:16.710 **** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'veth1298'] ************************ task path: /WORKDIR/git-skip_initscriptsx_4nrjqh/tests/tasks/assert_device_absent.yml:5 Wednesday 20 December 2023 20:36:32 +0000 (0:00:00.198) 0:00:16.908 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test veth interface management] ****************************************** task path: /WORKDIR/git-skip_initscriptsx_4nrjqh/tests/tests_helpers_and_asserts.yml:15 Wednesday 20 December 2023 20:36:32 +0000 (0:00:00.012) 0:00:16.921 **** included: /WORKDIR/git-skip_initscriptsx_4nrjqh/tests/tasks/create_and_remove_interface.yml for sut TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-skip_initscriptsx_4nrjqh/tests/tasks/create_and_remove_interface.yml:3 Wednesday 20 December 2023 20:36:32 +0000 (0:00:00.014) 0:00:16.936 **** included: /WORKDIR/git-skip_initscriptsx_4nrjqh/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-skip_initscriptsx_4nrjqh/tests/tasks/show_interfaces.yml:3 Wednesday 20 December 2023 20:36:32 +0000 (0:00:00.045) 0:00:16.982 **** included: /WORKDIR/git-skip_initscriptsx_4nrjqh/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-skip_initscriptsx_4nrjqh/tests/tasks/get_current_interfaces.yml:3 Wednesday 20 December 2023 20:36:32 +0000 (0:00:00.014) 0:00:16.997 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003614", "end": "2023-12-20 20:36:32.895485", "rc": 0, "start": "2023-12-20 20:36:32.891871" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-skip_initscriptsx_4nrjqh/tests/tasks/get_current_interfaces.yml:9 Wednesday 20 December 2023 20:36:32 +0000 (0:00:00.221) 0:00:17.218 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-skip_initscriptsx_4nrjqh/tests/tasks/show_interfaces.yml:5 Wednesday 20 December 2023 20:36:32 +0000 (0:00:00.027) 0:00:17.245 **** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-skip_initscriptsx_4nrjqh/tests/tasks/create_and_remove_interface.yml:5 Wednesday 20 December 2023 20:36:32 +0000 (0:00:00.024) 0:00:17.270 **** included: /WORKDIR/git-skip_initscriptsx_4nrjqh/tests/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-skip_initscriptsx_4nrjqh/tests/tasks/manage_test_interface.yml:3 Wednesday 20 December 2023 20:36:33 +0000 (0:00:00.044) 0:00:17.314 **** 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_initscriptsx_4nrjqh/tests/tasks/manage_test_interface.yml:8 Wednesday 20 December 2023 20:36:33 +0000 (0:00:00.085) 0:00:17.400 **** 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_initscriptsx_4nrjqh/tests/tasks/manage_test_interface.yml:13 Wednesday 20 December 2023 20:36:33 +0000 (0:00:00.036) 0:00:17.437 **** included: /WORKDIR/git-skip_initscriptsx_4nrjqh/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-skip_initscriptsx_4nrjqh/tests/tasks/show_interfaces.yml:3 Wednesday 20 December 2023 20:36:33 +0000 (0:00:00.031) 0:00:17.468 **** included: /WORKDIR/git-skip_initscriptsx_4nrjqh/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-skip_initscriptsx_4nrjqh/tests/tasks/get_current_interfaces.yml:3 Wednesday 20 December 2023 20:36:33 +0000 (0:00:00.035) 0:00:17.503 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003408", "end": "2023-12-20 20:36:33.487701", "rc": 0, "start": "2023-12-20 20:36:33.484293" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-skip_initscriptsx_4nrjqh/tests/tasks/get_current_interfaces.yml:9 Wednesday 20 December 2023 20:36:33 +0000 (0:00:00.302) 0:00:17.806 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-skip_initscriptsx_4nrjqh/tests/tasks/show_interfaces.yml:5 Wednesday 20 December 2023 20:36:33 +0000 (0:00:00.022) 0:00:17.828 **** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-skip_initscriptsx_4nrjqh/tests/tasks/manage_test_interface.yml:16 Wednesday 20 December 2023 20:36:33 +0000 (0:00:00.019) 0:00:17.847 **** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface dummy1298] ***************************************** task path: /WORKDIR/git-skip_initscriptsx_4nrjqh/tests/tasks/manage_test_interface.yml:23 Wednesday 20 December 2023 20:36:36 +0000 (0:00:03.118) 0:00:20.966 **** 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_initscriptsx_4nrjqh/tests/tasks/manage_test_interface.yml:31 Wednesday 20 December 2023 20:36:36 +0000 (0:00:00.018) 0:00:20.984 **** 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_initscriptsx_4nrjqh/tests/tasks/manage_test_interface.yml:39 Wednesday 20 December 2023 20:36:36 +0000 (0:00:00.012) 0:00:20.997 **** 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_initscriptsx_4nrjqh/tests/tasks/manage_test_interface.yml:45 Wednesday 20 December 2023 20:36:36 +0000 (0:00:00.009) 0:00:21.006 **** 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_initscriptsx_4nrjqh/tests/tasks/manage_test_interface.yml:50 Wednesday 20 December 2023 20:36:36 +0000 (0:00:00.010) 0:00:21.017 **** 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_initscriptsx_4nrjqh/tests/tasks/manage_test_interface.yml:56 Wednesday 20 December 2023 20:36:36 +0000 (0:00:00.009) 0:00:21.027 **** 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_initscriptsx_4nrjqh/tests/tasks/manage_test_interface.yml:61 Wednesday 20 December 2023 20:36:36 +0000 (0:00:00.016) 0:00:21.043 **** 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_initscriptsx_4nrjqh/tests/tasks/create_and_remove_interface.yml:9 Wednesday 20 December 2023 20:36:36 +0000 (0:00:00.011) 0:00:21.055 **** included: /WORKDIR/git-skip_initscriptsx_4nrjqh/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-skip_initscriptsx_4nrjqh/tests/tasks/show_interfaces.yml:3 Wednesday 20 December 2023 20:36:36 +0000 (0:00:00.016) 0:00:21.071 **** included: /WORKDIR/git-skip_initscriptsx_4nrjqh/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-skip_initscriptsx_4nrjqh/tests/tasks/get_current_interfaces.yml:3 Wednesday 20 December 2023 20:36:36 +0000 (0:00:00.009) 0:00:21.081 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003402", "end": "2023-12-20 20:36:36.964938", "rc": 0, "start": "2023-12-20 20:36:36.961536" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-skip_initscriptsx_4nrjqh/tests/tasks/get_current_interfaces.yml:9 Wednesday 20 December 2023 20:36:36 +0000 (0:00:00.191) 0:00:21.273 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-skip_initscriptsx_4nrjqh/tests/tasks/show_interfaces.yml:5 Wednesday 20 December 2023 20:36:36 +0000 (0:00:00.010) 0:00:21.283 **** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Include the task 'assert_device_absent.yml'] ***************************** task path: /WORKDIR/git-skip_initscriptsx_4nrjqh/tests/tasks/create_and_remove_interface.yml:11 Wednesday 20 December 2023 20:36:37 +0000 (0:00:00.009) 0:00:21.293 **** included: /WORKDIR/git-skip_initscriptsx_4nrjqh/tests/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-skip_initscriptsx_4nrjqh/tests/tasks/assert_device_absent.yml:3 Wednesday 20 December 2023 20:36:37 +0000 (0:00:00.018) 0:00:21.311 **** included: /WORKDIR/git-skip_initscriptsx_4nrjqh/tests/tasks/get_interface_stat.yml for sut TASK [Get stat for interface dummy1298] **************************************** task path: /WORKDIR/git-skip_initscriptsx_4nrjqh/tests/tasks/get_interface_stat.yml:3 Wednesday 20 December 2023 20:36:37 +0000 (0:00:00.010) 0:00:21.322 **** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'dummy1298'] *********************** task path: /WORKDIR/git-skip_initscriptsx_4nrjqh/tests/tasks/assert_device_absent.yml:5 Wednesday 20 December 2023 20:36:37 +0000 (0:00:00.192) 0:00:21.514 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-skip_initscriptsx_4nrjqh/tests/tasks/create_and_remove_interface.yml:14 Wednesday 20 December 2023 20:36:37 +0000 (0:00:00.016) 0:00:21.530 **** included: /WORKDIR/git-skip_initscriptsx_4nrjqh/tests/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-skip_initscriptsx_4nrjqh/tests/tasks/manage_test_interface.yml:3 Wednesday 20 December 2023 20:36:37 +0000 (0:00:00.017) 0:00:21.548 **** 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_initscriptsx_4nrjqh/tests/tasks/manage_test_interface.yml:8 Wednesday 20 December 2023 20:36:37 +0000 (0:00:00.010) 0:00:21.559 **** 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_initscriptsx_4nrjqh/tests/tasks/manage_test_interface.yml:13 Wednesday 20 December 2023 20:36:37 +0000 (0:00:00.008) 0:00:21.567 **** included: /WORKDIR/git-skip_initscriptsx_4nrjqh/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-skip_initscriptsx_4nrjqh/tests/tasks/show_interfaces.yml:3 Wednesday 20 December 2023 20:36:37 +0000 (0:00:00.011) 0:00:21.579 **** included: /WORKDIR/git-skip_initscriptsx_4nrjqh/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-skip_initscriptsx_4nrjqh/tests/tasks/get_current_interfaces.yml:3 Wednesday 20 December 2023 20:36:37 +0000 (0:00:00.010) 0:00:21.589 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003550", "end": "2023-12-20 20:36:37.475834", "rc": 0, "start": "2023-12-20 20:36:37.472284" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-skip_initscriptsx_4nrjqh/tests/tasks/get_current_interfaces.yml:9 Wednesday 20 December 2023 20:36:37 +0000 (0:00:00.194) 0:00:21.783 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-skip_initscriptsx_4nrjqh/tests/tasks/show_interfaces.yml:5 Wednesday 20 December 2023 20:36:37 +0000 (0:00:00.011) 0:00:21.794 **** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-skip_initscriptsx_4nrjqh/tests/tasks/manage_test_interface.yml:16 Wednesday 20 December 2023 20:36:37 +0000 (0:00:00.009) 0:00:21.804 **** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface dummy1298] ***************************************** task path: /WORKDIR/git-skip_initscriptsx_4nrjqh/tests/tasks/manage_test_interface.yml:23 Wednesday 20 December 2023 20:36:40 +0000 (0:00:02.989) 0:00:24.793 **** 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_initscriptsx_4nrjqh/tests/tasks/manage_test_interface.yml:31 Wednesday 20 December 2023 20:36:40 +0000 (0:00:00.015) 0:00:24.809 **** 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_initscriptsx_4nrjqh/tests/tasks/manage_test_interface.yml:39 Wednesday 20 December 2023 20:36:40 +0000 (0:00:00.009) 0:00:24.818 **** 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_initscriptsx_4nrjqh/tests/tasks/manage_test_interface.yml:45 Wednesday 20 December 2023 20:36:40 +0000 (0:00:00.011) 0:00:24.830 **** ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "add", "dummy1298", "type", "dummy" ], "delta": "0:00:00.004600", "end": "2023-12-20 20:36:40.717357", "rc": 0, "start": "2023-12-20 20:36:40.712757" } TASK [Delete dummy interface dummy1298] **************************************** task path: /WORKDIR/git-skip_initscriptsx_4nrjqh/tests/tasks/manage_test_interface.yml:50 Wednesday 20 December 2023 20:36:40 +0000 (0:00:00.207) 0:00:25.037 **** 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_initscriptsx_4nrjqh/tests/tasks/manage_test_interface.yml:56 Wednesday 20 December 2023 20:36:40 +0000 (0:00:00.009) 0:00:25.047 **** 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_initscriptsx_4nrjqh/tests/tasks/manage_test_interface.yml:61 Wednesday 20 December 2023 20:36:40 +0000 (0:00:00.013) 0:00:25.061 **** 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_initscriptsx_4nrjqh/tests/tasks/create_and_remove_interface.yml:18 Wednesday 20 December 2023 20:36:40 +0000 (0:00:00.009) 0:00:25.070 **** included: /WORKDIR/git-skip_initscriptsx_4nrjqh/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-skip_initscriptsx_4nrjqh/tests/tasks/show_interfaces.yml:3 Wednesday 20 December 2023 20:36:40 +0000 (0:00:00.017) 0:00:25.087 **** included: /WORKDIR/git-skip_initscriptsx_4nrjqh/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-skip_initscriptsx_4nrjqh/tests/tasks/get_current_interfaces.yml:3 Wednesday 20 December 2023 20:36:40 +0000 (0:00:00.011) 0:00:25.099 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003600", "end": "2023-12-20 20:36:41.005359", "rc": 0, "start": "2023-12-20 20:36:41.001759" } STDOUT: bonding_masters dummy1298 eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-skip_initscriptsx_4nrjqh/tests/tasks/get_current_interfaces.yml:9 Wednesday 20 December 2023 20:36:41 +0000 (0:00:00.213) 0:00:25.313 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "dummy1298", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-skip_initscriptsx_4nrjqh/tests/tasks/show_interfaces.yml:5 Wednesday 20 December 2023 20:36:41 +0000 (0:00:00.010) 0:00:25.323 **** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'dummy1298', 'eth0', 'lo'] TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-skip_initscriptsx_4nrjqh/tests/tasks/create_and_remove_interface.yml:20 Wednesday 20 December 2023 20:36:41 +0000 (0:00:00.009) 0:00:25.333 **** included: /WORKDIR/git-skip_initscriptsx_4nrjqh/tests/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-skip_initscriptsx_4nrjqh/tests/tasks/assert_device_present.yml:3 Wednesday 20 December 2023 20:36:41 +0000 (0:00:00.018) 0:00:25.351 **** included: /WORKDIR/git-skip_initscriptsx_4nrjqh/tests/tasks/get_interface_stat.yml for sut TASK [Get stat for interface dummy1298] **************************************** task path: /WORKDIR/git-skip_initscriptsx_4nrjqh/tests/tasks/get_interface_stat.yml:3 Wednesday 20 December 2023 20:36:41 +0000 (0:00:00.011) 0:00:25.363 **** ok: [sut] => { "changed": false, "stat": { "atime": 1703104600.716205, "block_size": 4096, "blocks": 0, "ctime": 1703104600.716205, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 31481, "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": 1703104600.716205, "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_initscriptsx_4nrjqh/tests/tasks/assert_device_present.yml:5 Wednesday 20 December 2023 20:36:41 +0000 (0:00:00.196) 0:00:25.559 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-skip_initscriptsx_4nrjqh/tests/tasks/create_and_remove_interface.yml:23 Wednesday 20 December 2023 20:36:41 +0000 (0:00:00.011) 0:00:25.571 **** included: /WORKDIR/git-skip_initscriptsx_4nrjqh/tests/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-skip_initscriptsx_4nrjqh/tests/tasks/manage_test_interface.yml:3 Wednesday 20 December 2023 20:36:41 +0000 (0:00:00.018) 0:00:25.590 **** 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_initscriptsx_4nrjqh/tests/tasks/manage_test_interface.yml:8 Wednesday 20 December 2023 20:36:41 +0000 (0:00:00.009) 0:00:25.599 **** 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_initscriptsx_4nrjqh/tests/tasks/manage_test_interface.yml:13 Wednesday 20 December 2023 20:36:41 +0000 (0:00:00.009) 0:00:25.609 **** included: /WORKDIR/git-skip_initscriptsx_4nrjqh/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-skip_initscriptsx_4nrjqh/tests/tasks/show_interfaces.yml:3 Wednesday 20 December 2023 20:36:41 +0000 (0:00:00.012) 0:00:25.621 **** included: /WORKDIR/git-skip_initscriptsx_4nrjqh/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-skip_initscriptsx_4nrjqh/tests/tasks/get_current_interfaces.yml:3 Wednesday 20 December 2023 20:36:41 +0000 (0:00:00.019) 0:00:25.641 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003456", "end": "2023-12-20 20:36:41.534620", "rc": 0, "start": "2023-12-20 20:36:41.531164" } STDOUT: bonding_masters dummy1298 eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-skip_initscriptsx_4nrjqh/tests/tasks/get_current_interfaces.yml:9 Wednesday 20 December 2023 20:36:41 +0000 (0:00:00.208) 0:00:25.849 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "dummy1298", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-skip_initscriptsx_4nrjqh/tests/tasks/show_interfaces.yml:5 Wednesday 20 December 2023 20:36:41 +0000 (0:00:00.016) 0:00:25.866 **** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'dummy1298', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-skip_initscriptsx_4nrjqh/tests/tasks/manage_test_interface.yml:16 Wednesday 20 December 2023 20:36:41 +0000 (0:00:00.021) 0:00:25.887 **** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface dummy1298] ***************************************** task path: /WORKDIR/git-skip_initscriptsx_4nrjqh/tests/tasks/manage_test_interface.yml:23 Wednesday 20 December 2023 20:36:44 +0000 (0:00:03.016) 0:00:28.903 **** 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_initscriptsx_4nrjqh/tests/tasks/manage_test_interface.yml:31 Wednesday 20 December 2023 20:36:44 +0000 (0:00:00.029) 0:00:28.933 **** 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_initscriptsx_4nrjqh/tests/tasks/manage_test_interface.yml:39 Wednesday 20 December 2023 20:36:44 +0000 (0:00:00.016) 0:00:28.949 **** 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_initscriptsx_4nrjqh/tests/tasks/manage_test_interface.yml:45 Wednesday 20 December 2023 20:36:44 +0000 (0:00:00.010) 0:00:28.959 **** 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_initscriptsx_4nrjqh/tests/tasks/manage_test_interface.yml:50 Wednesday 20 December 2023 20:36:44 +0000 (0:00:00.033) 0:00:28.993 **** ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "dummy1298", "type", "dummy" ], "delta": "0:00:00.009175", "end": "2023-12-20 20:36:44.891596", "rc": 0, "start": "2023-12-20 20:36:44.882421" } TASK [Create tap interface dummy1298] ****************************************** task path: /WORKDIR/git-skip_initscriptsx_4nrjqh/tests/tasks/manage_test_interface.yml:56 Wednesday 20 December 2023 20:36:44 +0000 (0:00:00.233) 0:00:29.226 **** 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_initscriptsx_4nrjqh/tests/tasks/manage_test_interface.yml:61 Wednesday 20 December 2023 20:36:44 +0000 (0:00:00.030) 0:00:29.256 **** 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_initscriptsx_4nrjqh/tests/tasks/create_and_remove_interface.yml:27 Wednesday 20 December 2023 20:36:44 +0000 (0:00:00.014) 0:00:29.270 **** included: /WORKDIR/git-skip_initscriptsx_4nrjqh/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-skip_initscriptsx_4nrjqh/tests/tasks/show_interfaces.yml:3 Wednesday 20 December 2023 20:36:45 +0000 (0:00:00.029) 0:00:29.300 **** included: /WORKDIR/git-skip_initscriptsx_4nrjqh/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-skip_initscriptsx_4nrjqh/tests/tasks/get_current_interfaces.yml:3 Wednesday 20 December 2023 20:36:45 +0000 (0:00:00.016) 0:00:29.316 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003707", "end": "2023-12-20 20:36:45.259699", "rc": 0, "start": "2023-12-20 20:36:45.255992" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-skip_initscriptsx_4nrjqh/tests/tasks/get_current_interfaces.yml:9 Wednesday 20 December 2023 20:36:45 +0000 (0:00:00.251) 0:00:29.567 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-skip_initscriptsx_4nrjqh/tests/tasks/show_interfaces.yml:5 Wednesday 20 December 2023 20:36:45 +0000 (0:00:00.019) 0:00:29.587 **** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Include the task 'assert_device_absent.yml'] ***************************** task path: /WORKDIR/git-skip_initscriptsx_4nrjqh/tests/tasks/create_and_remove_interface.yml:29 Wednesday 20 December 2023 20:36:45 +0000 (0:00:00.019) 0:00:29.607 **** included: /WORKDIR/git-skip_initscriptsx_4nrjqh/tests/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-skip_initscriptsx_4nrjqh/tests/tasks/assert_device_absent.yml:3 Wednesday 20 December 2023 20:36:45 +0000 (0:00:00.023) 0:00:29.630 **** included: /WORKDIR/git-skip_initscriptsx_4nrjqh/tests/tasks/get_interface_stat.yml for sut TASK [Get stat for interface dummy1298] **************************************** task path: /WORKDIR/git-skip_initscriptsx_4nrjqh/tests/tasks/get_interface_stat.yml:3 Wednesday 20 December 2023 20:36:45 +0000 (0:00:00.018) 0:00:29.648 **** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'dummy1298'] *********************** task path: /WORKDIR/git-skip_initscriptsx_4nrjqh/tests/tasks/assert_device_absent.yml:5 Wednesday 20 December 2023 20:36:45 +0000 (0:00:00.223) 0:00:29.872 **** ok: [sut] => { "changed": false } MSG: All assertions passed PLAY RECAP ********************************************************************* sut : ok=121 changed=0 unreachable=0 failed=0 skipped=53 rescued=0 ignored=0 Wednesday 20 December 2023 20:36:45 +0000 (0:00:00.048) 0:00:29.921 **** =============================================================================== Install iproute --------------------------------------------------------- 3.31s /WORKDIR/git-skip_initscriptsx_4nrjqh/tests/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 3.12s /WORKDIR/git-skip_initscriptsx_4nrjqh/tests/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 3.02s /WORKDIR/git-skip_initscriptsx_4nrjqh/tests/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 3.01s /WORKDIR/git-skip_initscriptsx_4nrjqh/tests/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 3.00s /WORKDIR/git-skip_initscriptsx_4nrjqh/tests/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 2.99s /WORKDIR/git-skip_initscriptsx_4nrjqh/tests/tasks/manage_test_interface.yml:16 Gathering Facts --------------------------------------------------------- 1.97s /WORKDIR/git-skip_initscriptsx_4nrjqh/tests/tests_helpers_and_asserts.yml:3 --- Create veth interface veth1298 ------------------------------------------ 0.63s /WORKDIR/git-skip_initscriptsx_4nrjqh/tests/tasks/manage_test_interface.yml:23 Enable EPEL 8 ----------------------------------------------------------- 0.46s /WORKDIR/git-skip_initscriptsx_4nrjqh/tests/tasks/enable_epel.yml:35 ---------- Gather the minimum subset of ansible_facts required by the network role test --- 0.42s /WORKDIR/git-skip_initscriptsx_4nrjqh/tests/tasks/el_repo_setup.yml:3 --------- Gather current interface info ------------------------------------------- 0.30s /WORKDIR/git-skip_initscriptsx_4nrjqh/tests/tasks/get_current_interfaces.yml:3 Check if system is ostree ----------------------------------------------- 0.30s /WORKDIR/git-skip_initscriptsx_4nrjqh/tests/tasks/el_repo_setup.yml:17 -------- Create EPEL 8 ----------------------------------------------------------- 0.28s /WORKDIR/git-skip_initscriptsx_4nrjqh/tests/tasks/enable_epel.yml:8 ----------- Gather current interface info ------------------------------------------- 0.25s /WORKDIR/git-skip_initscriptsx_4nrjqh/tests/tasks/get_current_interfaces.yml:3 Delete dummy interface dummy1298 ---------------------------------------- 0.23s /WORKDIR/git-skip_initscriptsx_4nrjqh/tests/tasks/manage_test_interface.yml:50 Get stat for interface dummy1298 ---------------------------------------- 0.22s /WORKDIR/git-skip_initscriptsx_4nrjqh/tests/tasks/get_interface_stat.yml:3 ---- Gather current interface info ------------------------------------------- 0.22s /WORKDIR/git-skip_initscriptsx_4nrjqh/tests/tasks/get_current_interfaces.yml:3 Gather current interface info ------------------------------------------- 0.22s /WORKDIR/git-skip_initscriptsx_4nrjqh/tests/tasks/get_current_interfaces.yml:3 Set up veth as managed by NetworkManager -------------------------------- 0.22s /WORKDIR/git-skip_initscriptsx_4nrjqh/tests/tasks/manage_test_interface.yml:31 Gather current interface info ------------------------------------------- 0.21s /WORKDIR/git-skip_initscriptsx_4nrjqh/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. ---^---^---^---^---^---