# 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-ostree-skip-test-better-textrmy8vce0/.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-ostree-skip-test-better-textrmy8vce0/tests/tests_helpers_and_asserts.yml PLAY [Check that creating and removing test devices and assertions work] ******* TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/tests_helpers_and_asserts.yml:3 Monday 25 March 2024 20:26:56 +0000 (0:00:00.032) 0:00:00.032 ********** ok: [sut] TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/tests_helpers_and_asserts.yml:6 Monday 25 March 2024 20:26:57 +0000 (0:00:00.921) 0:00:00.954 ********** included: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/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-ostree-skip-test-better-textrmy8vce0/tests/tasks/el_repo_setup.yml:3 Monday 25 March 2024 20:26:57 +0000 (0:00:00.011) 0:00:00.965 ********** ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/tasks/el_repo_setup.yml:17 Monday 25 March 2024 20:26:58 +0000 (0:00:00.403) 0:00:01.368 ********** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/tasks/el_repo_setup.yml:22 Monday 25 March 2024 20:26:58 +0000 (0:00:00.267) 0:00:01.636 ********** ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/tasks/el_repo_setup.yml:26 Monday 25 March 2024 20:26:58 +0000 (0:00:00.013) 0:00:01.649 ********** 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-ostree-skip-test-better-textrmy8vce0/tests/tasks/el_repo_setup.yml:51 Monday 25 March 2024 20:26:58 +0000 (0:00:00.007) 0:00:01.656 ********** included: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 8] *********************************************************** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/tasks/enable_epel.yml:8 Monday 25 March 2024 20:26:58 +0000 (0:00:00.019) 0:00:01.676 ********** 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-ostree-skip-test-better-textrmy8vce0/tests/tasks/enable_epel.yml:24 Monday 25 March 2024 20:26:58 +0000 (0:00:00.269) 0:00:01.946 ********** 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-ostree-skip-test-better-textrmy8vce0/tests/tasks/enable_epel.yml:30 Monday 25 March 2024 20:26:58 +0000 (0:00:00.008) 0:00:01.954 ********** 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-ostree-skip-test-better-textrmy8vce0/tests/tasks/enable_epel.yml:35 Monday 25 March 2024 20:26:58 +0000 (0:00:00.007) 0:00:01.962 ********** ok: [sut] => { "changed": false, "cmd": [ "dnf", "config-manager", "--set-enabled", "epel" ], "delta": "0:00:00.267320", "end": "2024-03-25 20:26:59.212368", "rc": 0, "start": "2024-03-25 20:26:58.945048" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/tasks/enable_epel.yml:40 Monday 25 March 2024 20:26:59 +0000 (0:00:00.482) 0:00:02.444 ********** 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-ostree-skip-test-better-textrmy8vce0/tests/tests_helpers_and_asserts.yml:9 Monday 25 March 2024 20:26:59 +0000 (0:00:00.008) 0:00:02.452 ********** included: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/tasks/create_and_remove_interface.yml for sut TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/tasks/create_and_remove_interface.yml:3 Monday 25 March 2024 20:26:59 +0000 (0:00:00.010) 0:00:02.463 ********** included: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/tasks/show_interfaces.yml:3 Monday 25 March 2024 20:26:59 +0000 (0:00:00.008) 0:00:02.472 ********** included: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/tasks/get_current_interfaces.yml:3 Monday 25 March 2024 20:26:59 +0000 (0:00:00.008) 0:00:02.480 ********** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003876", "end": "2024-03-25 20:26:59.464749", "rc": 0, "start": "2024-03-25 20:26:59.460873" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/tasks/get_current_interfaces.yml:9 Monday 25 March 2024 20:26:59 +0000 (0:00:00.215) 0:00:02.695 ********** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/tasks/show_interfaces.yml:5 Monday 25 March 2024 20:26:59 +0000 (0:00:00.009) 0:00:02.705 ********** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/tasks/create_and_remove_interface.yml:5 Monday 25 March 2024 20:26:59 +0000 (0:00:00.008) 0:00:02.713 ********** included: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/tasks/manage_test_interface.yml:3 Monday 25 March 2024 20:26:59 +0000 (0:00:00.012) 0:00:02.726 ********** 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-ostree-skip-test-better-textrmy8vce0/tests/tasks/manage_test_interface.yml:8 Monday 25 March 2024 20:26:59 +0000 (0:00:00.007) 0:00:02.733 ********** 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-ostree-skip-test-better-textrmy8vce0/tests/tasks/manage_test_interface.yml:13 Monday 25 March 2024 20:26:59 +0000 (0:00:00.007) 0:00:02.740 ********** included: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/tasks/show_interfaces.yml:3 Monday 25 March 2024 20:26:59 +0000 (0:00:00.009) 0:00:02.750 ********** included: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/tasks/get_current_interfaces.yml:3 Monday 25 March 2024 20:26:59 +0000 (0:00:00.008) 0:00:02.758 ********** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.004002", "end": "2024-03-25 20:26:59.743029", "rc": 0, "start": "2024-03-25 20:26:59.739027" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/tasks/get_current_interfaces.yml:9 Monday 25 March 2024 20:26:59 +0000 (0:00:00.215) 0:00:02.973 ********** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/tasks/show_interfaces.yml:5 Monday 25 March 2024 20:26:59 +0000 (0:00:00.009) 0:00:02.983 ********** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/tasks/manage_test_interface.yml:16 Monday 25 March 2024 20:26:59 +0000 (0:00:00.008) 0:00:02.991 ********** ok: [sut] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth1298] ****************************************** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/tasks/manage_test_interface.yml:27 Monday 25 March 2024 20:27:02 +0000 (0:00:03.125) 0:00:06.117 ********** 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-ostree-skip-test-better-textrmy8vce0/tests/tasks/manage_test_interface.yml:35 Monday 25 March 2024 20:27:02 +0000 (0:00:00.012) 0:00:06.130 ********** 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-ostree-skip-test-better-textrmy8vce0/tests/tasks/manage_test_interface.yml:43 Monday 25 March 2024 20:27:02 +0000 (0:00:00.007) 0:00:06.138 ********** 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-ostree-skip-test-better-textrmy8vce0/tests/tasks/manage_test_interface.yml:49 Monday 25 March 2024 20:27:02 +0000 (0:00:00.007) 0:00:06.146 ********** 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-ostree-skip-test-better-textrmy8vce0/tests/tasks/manage_test_interface.yml:54 Monday 25 March 2024 20:27:02 +0000 (0:00:00.007) 0:00:06.153 ********** 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-ostree-skip-test-better-textrmy8vce0/tests/tasks/manage_test_interface.yml:60 Monday 25 March 2024 20:27:02 +0000 (0:00:00.007) 0:00:06.160 ********** 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-ostree-skip-test-better-textrmy8vce0/tests/tasks/manage_test_interface.yml:65 Monday 25 March 2024 20:27:02 +0000 (0:00:00.007) 0:00:06.168 ********** 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-ostree-skip-test-better-textrmy8vce0/tests/tasks/create_and_remove_interface.yml:9 Monday 25 March 2024 20:27:02 +0000 (0:00:00.007) 0:00:06.175 ********** included: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/tasks/show_interfaces.yml:3 Monday 25 March 2024 20:27:02 +0000 (0:00:00.012) 0:00:06.187 ********** included: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/tasks/get_current_interfaces.yml:3 Monday 25 March 2024 20:27:02 +0000 (0:00:00.008) 0:00:06.196 ********** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003972", "end": "2024-03-25 20:27:03.182839", "rc": 0, "start": "2024-03-25 20:27:03.178867" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/tasks/get_current_interfaces.yml:9 Monday 25 March 2024 20:27:03 +0000 (0:00:00.217) 0:00:06.414 ********** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/tasks/show_interfaces.yml:5 Monday 25 March 2024 20:27:03 +0000 (0:00:00.008) 0:00:06.422 ********** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Include the task 'assert_device_absent.yml'] ***************************** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/tasks/create_and_remove_interface.yml:11 Monday 25 March 2024 20:27:03 +0000 (0:00:00.008) 0:00:06.431 ********** included: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/tasks/assert_device_absent.yml:3 Monday 25 March 2024 20:27:03 +0000 (0:00:00.013) 0:00:06.444 ********** included: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth1298] ***************************************** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/tasks/get_interface_stat.yml:3 Monday 25 March 2024 20:27:03 +0000 (0:00:00.009) 0:00:06.454 ********** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'veth1298'] ************************ task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/tasks/assert_device_absent.yml:5 Monday 25 March 2024 20:27:03 +0000 (0:00:00.210) 0:00:06.665 ********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/tasks/create_and_remove_interface.yml:14 Monday 25 March 2024 20:27:03 +0000 (0:00:00.009) 0:00:06.674 ********** included: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/tasks/manage_test_interface.yml:3 Monday 25 March 2024 20:27:03 +0000 (0:00:00.014) 0:00:06.689 ********** 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-ostree-skip-test-better-textrmy8vce0/tests/tasks/manage_test_interface.yml:8 Monday 25 March 2024 20:27:03 +0000 (0:00:00.007) 0:00:06.696 ********** 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-ostree-skip-test-better-textrmy8vce0/tests/tasks/manage_test_interface.yml:13 Monday 25 March 2024 20:27:03 +0000 (0:00:00.007) 0:00:06.703 ********** included: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/tasks/show_interfaces.yml:3 Monday 25 March 2024 20:27:03 +0000 (0:00:00.009) 0:00:06.713 ********** included: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/tasks/get_current_interfaces.yml:3 Monday 25 March 2024 20:27:03 +0000 (0:00:00.008) 0:00:06.721 ********** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.004042", "end": "2024-03-25 20:27:03.704441", "rc": 0, "start": "2024-03-25 20:27:03.700399" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/tasks/get_current_interfaces.yml:9 Monday 25 March 2024 20:27:03 +0000 (0:00:00.213) 0:00:06.935 ********** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/tasks/show_interfaces.yml:5 Monday 25 March 2024 20:27:03 +0000 (0:00:00.009) 0:00:06.944 ********** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/tasks/manage_test_interface.yml:16 Monday 25 March 2024 20:27:03 +0000 (0:00:00.008) 0:00:06.953 ********** ok: [sut] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth1298] ****************************************** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/tasks/manage_test_interface.yml:27 Monday 25 March 2024 20:27:06 +0000 (0:00:02.944) 0:00:09.897 ********** 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.015592", "end": "2024-03-25 20:27:06.896846", "item": "ip link add veth1298 type veth peer name peerveth1298", "rc": 0, "start": "2024-03-25 20:27:06.881254" } ok: [sut] => (item=ip link set peerveth1298 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peerveth1298", "up" ], "delta": "0:00:00.004727", "end": "2024-03-25 20:27:07.151614", "item": "ip link set peerveth1298 up", "rc": 0, "start": "2024-03-25 20:27:07.146887" } ok: [sut] => (item=ip link set veth1298 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "veth1298", "up" ], "delta": "0:00:00.004848", "end": "2024-03-25 20:27:07.363217", "item": "ip link set veth1298 up", "rc": 0, "start": "2024-03-25 20:27:07.358369" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/tasks/manage_test_interface.yml:35 Monday 25 March 2024 20:27:07 +0000 (0:00:00.698) 0:00:10.595 ********** ok: [sut] => { "changed": false, "cmd": [ "nmcli", "d", "set", "veth1298", "managed", "true" ], "delta": "0:00:00.025676", "end": "2024-03-25 20:27:07.602907", "rc": 0, "start": "2024-03-25 20:27:07.577231" } TASK [Delete veth interface veth1298] ****************************************** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/tasks/manage_test_interface.yml:43 Monday 25 March 2024 20:27:07 +0000 (0:00:00.239) 0:00:10.835 ********** 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-ostree-skip-test-better-textrmy8vce0/tests/tasks/manage_test_interface.yml:49 Monday 25 March 2024 20:27:07 +0000 (0:00:00.009) 0:00:10.844 ********** 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-ostree-skip-test-better-textrmy8vce0/tests/tasks/manage_test_interface.yml:54 Monday 25 March 2024 20:27:07 +0000 (0:00:00.007) 0:00:10.852 ********** 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-ostree-skip-test-better-textrmy8vce0/tests/tasks/manage_test_interface.yml:60 Monday 25 March 2024 20:27:07 +0000 (0:00:00.007) 0:00:10.860 ********** 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-ostree-skip-test-better-textrmy8vce0/tests/tasks/manage_test_interface.yml:65 Monday 25 March 2024 20:27:07 +0000 (0:00:00.007) 0:00:10.868 ********** 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-ostree-skip-test-better-textrmy8vce0/tests/tasks/create_and_remove_interface.yml:18 Monday 25 March 2024 20:27:07 +0000 (0:00:00.007) 0:00:10.875 ********** included: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/tasks/show_interfaces.yml:3 Monday 25 March 2024 20:27:07 +0000 (0:00:00.016) 0:00:10.891 ********** included: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/tasks/get_current_interfaces.yml:3 Monday 25 March 2024 20:27:07 +0000 (0:00:00.009) 0:00:10.900 ********** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.004240", "end": "2024-03-25 20:27:07.887805", "rc": 0, "start": "2024-03-25 20:27:07.883565" } STDOUT: bonding_masters eth0 lo peerveth1298 veth1298 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/tasks/get_current_interfaces.yml:9 Monday 25 March 2024 20:27:07 +0000 (0:00:00.218) 0:00:11.119 ********** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "peerveth1298", "veth1298" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/tasks/show_interfaces.yml:5 Monday 25 March 2024 20:27:07 +0000 (0:00:00.009) 0:00:11.128 ********** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'peerveth1298', 'veth1298'] TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/tasks/create_and_remove_interface.yml:20 Monday 25 March 2024 20:27:07 +0000 (0:00:00.009) 0:00:11.138 ********** included: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/tasks/assert_device_present.yml:3 Monday 25 March 2024 20:27:07 +0000 (0:00:00.016) 0:00:11.154 ********** included: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth1298] ***************************************** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/tasks/get_interface_stat.yml:3 Monday 25 March 2024 20:27:07 +0000 (0:00:00.009) 0:00:11.164 ********** ok: [sut] => { "changed": false, "stat": { "atime": 1711398426.8855197, "block_size": 4096, "blocks": 0, "ctime": 1711398426.8855197, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 31501, "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": 1711398426.8855197, "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-ostree-skip-test-better-textrmy8vce0/tests/tasks/assert_device_present.yml:5 Monday 25 March 2024 20:27:08 +0000 (0:00:00.217) 0:00:11.381 ********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/tasks/create_and_remove_interface.yml:23 Monday 25 March 2024 20:27:08 +0000 (0:00:00.009) 0:00:11.391 ********** included: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/tasks/manage_test_interface.yml:3 Monday 25 March 2024 20:27:08 +0000 (0:00:00.018) 0:00:11.409 ********** 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-ostree-skip-test-better-textrmy8vce0/tests/tasks/manage_test_interface.yml:8 Monday 25 March 2024 20:27:08 +0000 (0:00:00.007) 0:00:11.416 ********** 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-ostree-skip-test-better-textrmy8vce0/tests/tasks/manage_test_interface.yml:13 Monday 25 March 2024 20:27:08 +0000 (0:00:00.007) 0:00:11.423 ********** included: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/tasks/show_interfaces.yml:3 Monday 25 March 2024 20:27:08 +0000 (0:00:00.009) 0:00:11.433 ********** included: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/tasks/get_current_interfaces.yml:3 Monday 25 March 2024 20:27:08 +0000 (0:00:00.009) 0:00:11.442 ********** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003987", "end": "2024-03-25 20:27:08.430199", "rc": 0, "start": "2024-03-25 20:27:08.426212" } STDOUT: bonding_masters eth0 lo peerveth1298 veth1298 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/tasks/get_current_interfaces.yml:9 Monday 25 March 2024 20:27:08 +0000 (0:00:00.218) 0:00:11.661 ********** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "peerveth1298", "veth1298" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/tasks/show_interfaces.yml:5 Monday 25 March 2024 20:27:08 +0000 (0:00:00.009) 0:00:11.671 ********** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'peerveth1298', 'veth1298'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/tasks/manage_test_interface.yml:16 Monday 25 March 2024 20:27:08 +0000 (0:00:00.008) 0:00:11.679 ********** ok: [sut] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth1298] ****************************************** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/tasks/manage_test_interface.yml:27 Monday 25 March 2024 20:27:11 +0000 (0:00:02.938) 0:00:14.617 ********** 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-ostree-skip-test-better-textrmy8vce0/tests/tasks/manage_test_interface.yml:35 Monday 25 March 2024 20:27:11 +0000 (0:00:00.016) 0:00:14.633 ********** 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-ostree-skip-test-better-textrmy8vce0/tests/tasks/manage_test_interface.yml:43 Monday 25 March 2024 20:27:11 +0000 (0:00:00.007) 0:00:14.641 ********** ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "veth1298", "type", "veth" ], "delta": "0:00:00.011384", "end": "2024-03-25 20:27:11.634606", "rc": 0, "start": "2024-03-25 20:27:11.623222" } TASK [Create dummy interface veth1298] ***************************************** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/tasks/manage_test_interface.yml:49 Monday 25 March 2024 20:27:11 +0000 (0:00:00.225) 0:00:14.867 ********** 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-ostree-skip-test-better-textrmy8vce0/tests/tasks/manage_test_interface.yml:54 Monday 25 March 2024 20:27:11 +0000 (0:00:00.008) 0:00:14.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-ostree-skip-test-better-textrmy8vce0/tests/tasks/manage_test_interface.yml:60 Monday 25 March 2024 20:27:11 +0000 (0:00:00.007) 0:00:14.883 ********** 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-ostree-skip-test-better-textrmy8vce0/tests/tasks/manage_test_interface.yml:65 Monday 25 March 2024 20:27:11 +0000 (0:00:00.008) 0:00:14.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-ostree-skip-test-better-textrmy8vce0/tests/tasks/create_and_remove_interface.yml:27 Monday 25 March 2024 20:27:11 +0000 (0:00:00.007) 0:00:14.898 ********** included: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/tasks/show_interfaces.yml:3 Monday 25 March 2024 20:27:11 +0000 (0:00:00.018) 0:00:14.917 ********** included: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/tasks/get_current_interfaces.yml:3 Monday 25 March 2024 20:27:11 +0000 (0:00:00.008) 0:00:14.925 ********** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003972", "end": "2024-03-25 20:27:11.913663", "rc": 0, "start": "2024-03-25 20:27:11.909691" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/tasks/get_current_interfaces.yml:9 Monday 25 March 2024 20:27:11 +0000 (0:00:00.219) 0:00:15.145 ********** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/tasks/show_interfaces.yml:5 Monday 25 March 2024 20:27:11 +0000 (0:00:00.009) 0:00:15.155 ********** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Include the task 'assert_device_absent.yml'] ***************************** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/tasks/create_and_remove_interface.yml:29 Monday 25 March 2024 20:27:11 +0000 (0:00:00.008) 0:00:15.163 ********** included: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/tasks/assert_device_absent.yml:3 Monday 25 March 2024 20:27:11 +0000 (0:00:00.018) 0:00:15.182 ********** included: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth1298] ***************************************** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/tasks/get_interface_stat.yml:3 Monday 25 March 2024 20:27:11 +0000 (0:00:00.009) 0:00:15.191 ********** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'veth1298'] ************************ task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/tasks/assert_device_absent.yml:5 Monday 25 March 2024 20:27:12 +0000 (0:00:00.211) 0:00:15.403 ********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test veth interface management] ****************************************** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/tests_helpers_and_asserts.yml:15 Monday 25 March 2024 20:27:12 +0000 (0:00:00.010) 0:00:15.413 ********** included: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/tasks/create_and_remove_interface.yml for sut TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/tasks/create_and_remove_interface.yml:3 Monday 25 March 2024 20:27:12 +0000 (0:00:00.013) 0:00:15.427 ********** included: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/tasks/show_interfaces.yml:3 Monday 25 March 2024 20:27:12 +0000 (0:00:00.009) 0:00:15.436 ********** included: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/tasks/get_current_interfaces.yml:3 Monday 25 March 2024 20:27:12 +0000 (0:00:00.008) 0:00:15.445 ********** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003906", "end": "2024-03-25 20:27:12.426369", "rc": 0, "start": "2024-03-25 20:27:12.422463" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/tasks/get_current_interfaces.yml:9 Monday 25 March 2024 20:27:12 +0000 (0:00:00.212) 0:00:15.657 ********** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/tasks/show_interfaces.yml:5 Monday 25 March 2024 20:27:12 +0000 (0:00:00.009) 0:00:15.667 ********** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/tasks/create_and_remove_interface.yml:5 Monday 25 March 2024 20:27:12 +0000 (0:00:00.009) 0:00:15.676 ********** included: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/tasks/manage_test_interface.yml:3 Monday 25 March 2024 20:27:12 +0000 (0:00:00.011) 0:00:15.688 ********** 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-ostree-skip-test-better-textrmy8vce0/tests/tasks/manage_test_interface.yml:8 Monday 25 March 2024 20:27:12 +0000 (0:00:00.007) 0:00:15.695 ********** 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-ostree-skip-test-better-textrmy8vce0/tests/tasks/manage_test_interface.yml:13 Monday 25 March 2024 20:27:12 +0000 (0:00:00.007) 0:00:15.702 ********** included: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/tasks/show_interfaces.yml:3 Monday 25 March 2024 20:27:12 +0000 (0:00:00.010) 0:00:15.713 ********** included: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/tasks/get_current_interfaces.yml:3 Monday 25 March 2024 20:27:12 +0000 (0:00:00.009) 0:00:15.722 ********** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003910", "end": "2024-03-25 20:27:12.704766", "rc": 0, "start": "2024-03-25 20:27:12.700856" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/tasks/get_current_interfaces.yml:9 Monday 25 March 2024 20:27:12 +0000 (0:00:00.214) 0:00:15.936 ********** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/tasks/show_interfaces.yml:5 Monday 25 March 2024 20:27:12 +0000 (0:00:00.009) 0:00:15.946 ********** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/tasks/manage_test_interface.yml:16 Monday 25 March 2024 20:27:12 +0000 (0:00:00.008) 0:00:15.954 ********** ok: [sut] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface dummy1298] ***************************************** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/tasks/manage_test_interface.yml:27 Monday 25 March 2024 20:27:15 +0000 (0:00:02.924) 0:00:18.879 ********** 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-ostree-skip-test-better-textrmy8vce0/tests/tasks/manage_test_interface.yml:35 Monday 25 March 2024 20:27:15 +0000 (0:00:00.013) 0:00:18.893 ********** 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-ostree-skip-test-better-textrmy8vce0/tests/tasks/manage_test_interface.yml:43 Monday 25 March 2024 20:27:15 +0000 (0:00:00.007) 0:00:18.900 ********** 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-ostree-skip-test-better-textrmy8vce0/tests/tasks/manage_test_interface.yml:49 Monday 25 March 2024 20:27:15 +0000 (0:00:00.007) 0:00:18.908 ********** 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-ostree-skip-test-better-textrmy8vce0/tests/tasks/manage_test_interface.yml:54 Monday 25 March 2024 20:27:15 +0000 (0:00:00.007) 0:00:18.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 dummy1298] ****************************************** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/tasks/manage_test_interface.yml:60 Monday 25 March 2024 20:27:15 +0000 (0:00:00.007) 0:00:18.923 ********** 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-ostree-skip-test-better-textrmy8vce0/tests/tasks/manage_test_interface.yml:65 Monday 25 March 2024 20:27:15 +0000 (0:00:00.007) 0:00:18.931 ********** 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-ostree-skip-test-better-textrmy8vce0/tests/tasks/create_and_remove_interface.yml:9 Monday 25 March 2024 20:27:15 +0000 (0:00:00.007) 0:00:18.938 ********** included: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/tasks/show_interfaces.yml:3 Monday 25 March 2024 20:27:15 +0000 (0:00:00.014) 0:00:18.952 ********** included: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/tasks/get_current_interfaces.yml:3 Monday 25 March 2024 20:27:15 +0000 (0:00:00.008) 0:00:18.961 ********** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.004020", "end": "2024-03-25 20:27:15.943297", "rc": 0, "start": "2024-03-25 20:27:15.939277" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/tasks/get_current_interfaces.yml:9 Monday 25 March 2024 20:27:15 +0000 (0:00:00.213) 0:00:19.174 ********** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/tasks/show_interfaces.yml:5 Monday 25 March 2024 20:27:15 +0000 (0:00:00.009) 0:00:19.184 ********** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Include the task 'assert_device_absent.yml'] ***************************** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/tasks/create_and_remove_interface.yml:11 Monday 25 March 2024 20:27:15 +0000 (0:00:00.009) 0:00:19.193 ********** included: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/tasks/assert_device_absent.yml:3 Monday 25 March 2024 20:27:15 +0000 (0:00:00.013) 0:00:19.206 ********** included: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/tasks/get_interface_stat.yml for sut TASK [Get stat for interface dummy1298] **************************************** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/tasks/get_interface_stat.yml:3 Monday 25 March 2024 20:27:16 +0000 (0:00:00.009) 0:00:19.216 ********** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'dummy1298'] *********************** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/tasks/assert_device_absent.yml:5 Monday 25 March 2024 20:27:16 +0000 (0:00:00.211) 0:00:19.428 ********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/tasks/create_and_remove_interface.yml:14 Monday 25 March 2024 20:27:16 +0000 (0:00:00.010) 0:00:19.438 ********** included: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/tasks/manage_test_interface.yml:3 Monday 25 March 2024 20:27:16 +0000 (0:00:00.015) 0:00:19.454 ********** 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-ostree-skip-test-better-textrmy8vce0/tests/tasks/manage_test_interface.yml:8 Monday 25 March 2024 20:27:16 +0000 (0:00:00.007) 0:00:19.461 ********** 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-ostree-skip-test-better-textrmy8vce0/tests/tasks/manage_test_interface.yml:13 Monday 25 March 2024 20:27:16 +0000 (0:00:00.007) 0:00:19.468 ********** included: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/tasks/show_interfaces.yml:3 Monday 25 March 2024 20:27:16 +0000 (0:00:00.010) 0:00:19.479 ********** included: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/tasks/get_current_interfaces.yml:3 Monday 25 March 2024 20:27:16 +0000 (0:00:00.009) 0:00:19.488 ********** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.004139", "end": "2024-03-25 20:27:16.475553", "rc": 0, "start": "2024-03-25 20:27:16.471414" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/tasks/get_current_interfaces.yml:9 Monday 25 March 2024 20:27:16 +0000 (0:00:00.218) 0:00:19.707 ********** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/tasks/show_interfaces.yml:5 Monday 25 March 2024 20:27:16 +0000 (0:00:00.009) 0:00:19.717 ********** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/tasks/manage_test_interface.yml:16 Monday 25 March 2024 20:27:16 +0000 (0:00:00.009) 0:00:19.726 ********** ok: [sut] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface dummy1298] ***************************************** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/tasks/manage_test_interface.yml:27 Monday 25 March 2024 20:27:19 +0000 (0:00:02.921) 0:00:22.648 ********** 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-ostree-skip-test-better-textrmy8vce0/tests/tasks/manage_test_interface.yml:35 Monday 25 March 2024 20:27:19 +0000 (0:00:00.013) 0:00:22.662 ********** 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-ostree-skip-test-better-textrmy8vce0/tests/tasks/manage_test_interface.yml:43 Monday 25 March 2024 20:27:19 +0000 (0:00:00.008) 0:00:22.671 ********** 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-ostree-skip-test-better-textrmy8vce0/tests/tasks/manage_test_interface.yml:49 Monday 25 March 2024 20:27:19 +0000 (0:00:00.007) 0:00:22.679 ********** ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "add", "dummy1298", "type", "dummy" ], "delta": "0:00:00.011957", "end": "2024-03-25 20:27:19.675905", "rc": 0, "start": "2024-03-25 20:27:19.663948" } TASK [Delete dummy interface dummy1298] **************************************** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/tasks/manage_test_interface.yml:54 Monday 25 March 2024 20:27:19 +0000 (0:00:00.241) 0:00:22.920 ********** skipping: [sut] => { "changed": false, "false_condition": "type == 'dummy' and state == 'absent' and interface in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Create tap interface dummy1298] ****************************************** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/tasks/manage_test_interface.yml:60 Monday 25 March 2024 20:27:19 +0000 (0:00:00.009) 0:00:22.929 ********** 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-ostree-skip-test-better-textrmy8vce0/tests/tasks/manage_test_interface.yml:65 Monday 25 March 2024 20:27:19 +0000 (0:00:00.008) 0:00:22.938 ********** 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-ostree-skip-test-better-textrmy8vce0/tests/tasks/create_and_remove_interface.yml:18 Monday 25 March 2024 20:27:19 +0000 (0:00:00.008) 0:00:22.946 ********** included: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/tasks/show_interfaces.yml:3 Monday 25 March 2024 20:27:19 +0000 (0:00:00.017) 0:00:22.964 ********** included: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/tasks/get_current_interfaces.yml:3 Monday 25 March 2024 20:27:19 +0000 (0:00:00.009) 0:00:22.973 ********** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.004034", "end": "2024-03-25 20:27:19.961425", "rc": 0, "start": "2024-03-25 20:27:19.957391" } STDOUT: bonding_masters dummy1298 eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/tasks/get_current_interfaces.yml:9 Monday 25 March 2024 20:27:19 +0000 (0:00:00.219) 0:00:23.193 ********** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "dummy1298", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/tasks/show_interfaces.yml:5 Monday 25 March 2024 20:27:19 +0000 (0:00:00.009) 0:00:23.203 ********** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'dummy1298', 'eth0', 'lo'] TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/tasks/create_and_remove_interface.yml:20 Monday 25 March 2024 20:27:20 +0000 (0:00:00.008) 0:00:23.211 ********** included: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/tasks/assert_device_present.yml:3 Monday 25 March 2024 20:27:20 +0000 (0:00:00.016) 0:00:23.227 ********** included: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/tasks/get_interface_stat.yml for sut TASK [Get stat for interface dummy1298] **************************************** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/tasks/get_interface_stat.yml:3 Monday 25 March 2024 20:27:20 +0000 (0:00:00.009) 0:00:23.237 ********** ok: [sut] => { "changed": false, "stat": { "atime": 1711398439.6735911, "block_size": 4096, "blocks": 0, "ctime": 1711398439.6735911, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 31824, "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": 1711398439.6735911, "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-ostree-skip-test-better-textrmy8vce0/tests/tasks/assert_device_present.yml:5 Monday 25 March 2024 20:27:20 +0000 (0:00:00.210) 0:00:23.447 ********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/tasks/create_and_remove_interface.yml:23 Monday 25 March 2024 20:27:20 +0000 (0:00:00.009) 0:00:23.457 ********** included: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/tasks/manage_test_interface.yml:3 Monday 25 March 2024 20:27:20 +0000 (0:00:00.020) 0:00:23.477 ********** 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-ostree-skip-test-better-textrmy8vce0/tests/tasks/manage_test_interface.yml:8 Monday 25 March 2024 20:27:20 +0000 (0:00:00.007) 0:00:23.485 ********** 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-ostree-skip-test-better-textrmy8vce0/tests/tasks/manage_test_interface.yml:13 Monday 25 March 2024 20:27:20 +0000 (0:00:00.007) 0:00:23.492 ********** included: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/tasks/show_interfaces.yml:3 Monday 25 March 2024 20:27:20 +0000 (0:00:00.012) 0:00:23.504 ********** included: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/tasks/get_current_interfaces.yml:3 Monday 25 March 2024 20:27:20 +0000 (0:00:00.009) 0:00:23.514 ********** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.004055", "end": "2024-03-25 20:27:20.498387", "rc": 0, "start": "2024-03-25 20:27:20.494332" } STDOUT: bonding_masters dummy1298 eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/tasks/get_current_interfaces.yml:9 Monday 25 March 2024 20:27:20 +0000 (0:00:00.215) 0:00:23.730 ********** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "dummy1298", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/tasks/show_interfaces.yml:5 Monday 25 March 2024 20:27:20 +0000 (0:00:00.009) 0:00:23.740 ********** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'dummy1298', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/tasks/manage_test_interface.yml:16 Monday 25 March 2024 20:27:20 +0000 (0:00:00.008) 0:00:23.749 ********** ok: [sut] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface dummy1298] ***************************************** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/tasks/manage_test_interface.yml:27 Monday 25 March 2024 20:27:23 +0000 (0:00:02.916) 0:00:26.666 ********** 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-ostree-skip-test-better-textrmy8vce0/tests/tasks/manage_test_interface.yml:35 Monday 25 March 2024 20:27:23 +0000 (0:00:00.014) 0:00:26.680 ********** 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-ostree-skip-test-better-textrmy8vce0/tests/tasks/manage_test_interface.yml:43 Monday 25 March 2024 20:27:23 +0000 (0:00:00.007) 0:00:26.688 ********** skipping: [sut] => { "changed": false, "false_condition": "type == 'veth' and state == 'absent' and interface in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Create dummy interface dummy1298] **************************************** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/tasks/manage_test_interface.yml:49 Monday 25 March 2024 20:27:23 +0000 (0:00:00.007) 0:00:26.695 ********** 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-ostree-skip-test-better-textrmy8vce0/tests/tasks/manage_test_interface.yml:54 Monday 25 March 2024 20:27:23 +0000 (0:00:00.008) 0:00:26.704 ********** ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "dummy1298", "type", "dummy" ], "delta": "0:00:00.011588", "end": "2024-03-25 20:27:23.696368", "rc": 0, "start": "2024-03-25 20:27:23.684780" } TASK [Create tap interface dummy1298] ****************************************** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/tasks/manage_test_interface.yml:60 Monday 25 March 2024 20:27:23 +0000 (0:00:00.224) 0:00:26.928 ********** 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-ostree-skip-test-better-textrmy8vce0/tests/tasks/manage_test_interface.yml:65 Monday 25 March 2024 20:27:23 +0000 (0:00:00.008) 0:00:26.936 ********** 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-ostree-skip-test-better-textrmy8vce0/tests/tasks/create_and_remove_interface.yml:27 Monday 25 March 2024 20:27:23 +0000 (0:00:00.008) 0:00:26.945 ********** included: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/tasks/show_interfaces.yml:3 Monday 25 March 2024 20:27:23 +0000 (0:00:00.018) 0:00:26.963 ********** included: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/tasks/get_current_interfaces.yml:3 Monday 25 March 2024 20:27:23 +0000 (0:00:00.008) 0:00:26.972 ********** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003965", "end": "2024-03-25 20:27:23.955791", "rc": 0, "start": "2024-03-25 20:27:23.951826" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/tasks/get_current_interfaces.yml:9 Monday 25 March 2024 20:27:23 +0000 (0:00:00.214) 0:00:27.186 ********** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/tasks/show_interfaces.yml:5 Monday 25 March 2024 20:27:23 +0000 (0:00:00.009) 0:00:27.196 ********** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Include the task 'assert_device_absent.yml'] ***************************** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/tasks/create_and_remove_interface.yml:29 Monday 25 March 2024 20:27:23 +0000 (0:00:00.009) 0:00:27.206 ********** included: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/tasks/assert_device_absent.yml:3 Monday 25 March 2024 20:27:24 +0000 (0:00:00.020) 0:00:27.226 ********** included: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/tasks/get_interface_stat.yml for sut TASK [Get stat for interface dummy1298] **************************************** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/tasks/get_interface_stat.yml:3 Monday 25 March 2024 20:27:24 +0000 (0:00:00.009) 0:00:27.235 ********** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'dummy1298'] *********************** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/tasks/assert_device_absent.yml:5 Monday 25 March 2024 20:27:24 +0000 (0:00:00.209) 0:00:27.445 ********** 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 Monday 25 March 2024 20:27:24 +0000 (0:00:00.014) 0:00:27.459 ********** =============================================================================== Install iproute --------------------------------------------------------- 3.13s /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 2.94s /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 2.94s /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 2.92s /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 2.92s /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 2.92s /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/tasks/manage_test_interface.yml:16 Gathering Facts --------------------------------------------------------- 0.92s /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/tests_helpers_and_asserts.yml:3 Create veth interface veth1298 ------------------------------------------ 0.70s /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/tasks/manage_test_interface.yml:27 Enable EPEL 8 ----------------------------------------------------------- 0.48s /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/tasks/enable_epel.yml:35 Gather the minimum subset of ansible_facts required by the network role test --- 0.40s /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/tasks/el_repo_setup.yml:3 Create EPEL 8 ----------------------------------------------------------- 0.27s /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/tasks/enable_epel.yml:8 Check if system is ostree ----------------------------------------------- 0.27s /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/tasks/el_repo_setup.yml:17 Create dummy interface dummy1298 ---------------------------------------- 0.24s /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/tasks/manage_test_interface.yml:49 Set up veth as managed by NetworkManager -------------------------------- 0.24s /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/tasks/manage_test_interface.yml:35 Delete veth interface veth1298 ------------------------------------------ 0.23s /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/tasks/manage_test_interface.yml:43 Delete dummy interface dummy1298 ---------------------------------------- 0.22s /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/tasks/manage_test_interface.yml:54 Gather current interface info ------------------------------------------- 0.22s /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/tasks/get_current_interfaces.yml:3 Gather current interface info ------------------------------------------- 0.22s /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/tasks/get_current_interfaces.yml:3 Gather current interface info ------------------------------------------- 0.22s /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/tasks/get_current_interfaces.yml:3 Gather current interface info ------------------------------------------- 0.22s /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/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. ---^---^---^---^---^---