# 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-ansible-lint-test-2.16el2pk_r4/.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-ansible-lint-test-2.16el2pk_r4/tests/tests_helpers_and_asserts.yml PLAY [Check that creating and removing test devices and assertions work] ******* TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/tests/tests_helpers_and_asserts.yml:3 Wednesday 20 December 2023 03:58:12 +0000 (0:00:00.037) 0:00:00.037 **** ok: [sut] TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/tests/tests_helpers_and_asserts.yml:6 Wednesday 20 December 2023 03:58:13 +0000 (0:00:00.890) 0:00:00.927 **** included: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/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-ansible-lint-test-2.16el2pk_r4/tests/tasks/el_repo_setup.yml:3 Wednesday 20 December 2023 03:58:13 +0000 (0:00:00.011) 0:00:00.938 **** ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/tests/tasks/el_repo_setup.yml:17 Wednesday 20 December 2023 03:58:13 +0000 (0:00:00.387) 0:00:01.326 **** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/tests/tasks/el_repo_setup.yml:22 Wednesday 20 December 2023 03:58:13 +0000 (0:00:00.261) 0:00:01.587 **** ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/tests/tasks/el_repo_setup.yml:26 Wednesday 20 December 2023 03:58:13 +0000 (0:00:00.013) 0:00:01.600 **** 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-ansible-lint-test-2.16el2pk_r4/tests/tasks/el_repo_setup.yml:51 Wednesday 20 December 2023 03:58:13 +0000 (0:00:00.008) 0:00:01.609 **** included: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 8] *********************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/tests/tasks/enable_epel.yml:8 Wednesday 20 December 2023 03:58:13 +0000 (0:00:00.020) 0:00:01.629 **** 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-ansible-lint-test-2.16el2pk_r4/tests/tasks/enable_epel.yml:24 Wednesday 20 December 2023 03:58:14 +0000 (0:00:00.259) 0:00:01.889 **** 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-ansible-lint-test-2.16el2pk_r4/tests/tasks/enable_epel.yml:30 Wednesday 20 December 2023 03:58:14 +0000 (0:00:00.008) 0:00:01.897 **** 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-ansible-lint-test-2.16el2pk_r4/tests/tasks/enable_epel.yml:35 Wednesday 20 December 2023 03:58:14 +0000 (0:00:00.007) 0:00:01.904 **** ok: [sut] => { "changed": false, "cmd": [ "dnf", "config-manager", "--set-enabled", "epel" ], "delta": "0:00:00.262631", "end": "2023-12-20 03:58:14.679878", "rc": 0, "start": "2023-12-20 03:58:14.417247" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/tests/tasks/enable_epel.yml:40 Wednesday 20 December 2023 03:58:14 +0000 (0:00:00.470) 0:00:02.375 **** 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-ansible-lint-test-2.16el2pk_r4/tests/tests_helpers_and_asserts.yml:9 Wednesday 20 December 2023 03:58:14 +0000 (0:00:00.008) 0:00:02.384 **** included: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/tests/tasks/create_and_remove_interface.yml for sut TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/tests/tasks/create_and_remove_interface.yml:3 Wednesday 20 December 2023 03:58:14 +0000 (0:00:00.011) 0:00:02.395 **** included: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/tests/tasks/show_interfaces.yml:3 Wednesday 20 December 2023 03:58:14 +0000 (0:00:00.009) 0:00:02.405 **** included: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/tests/tasks/get_current_interfaces.yml:3 Wednesday 20 December 2023 03:58:14 +0000 (0:00:00.009) 0:00:02.414 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003916", "end": "2023-12-20 03:58:14.918849", "rc": 0, "start": "2023-12-20 03:58:14.914933" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/tests/tasks/get_current_interfaces.yml:9 Wednesday 20 December 2023 03:58:14 +0000 (0:00:00.202) 0:00:02.617 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/tests/tasks/show_interfaces.yml:5 Wednesday 20 December 2023 03:58:14 +0000 (0:00:00.010) 0:00:02.627 **** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/tests/tasks/create_and_remove_interface.yml:5 Wednesday 20 December 2023 03:58:14 +0000 (0:00:00.009) 0:00:02.637 **** included: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/tests/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/tests/tasks/manage_test_interface.yml:3 Wednesday 20 December 2023 03:58:14 +0000 (0:00:00.013) 0:00:02.651 **** 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-ansible-lint-test-2.16el2pk_r4/tests/tasks/manage_test_interface.yml:8 Wednesday 20 December 2023 03:58:14 +0000 (0:00:00.008) 0:00:02.659 **** 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-ansible-lint-test-2.16el2pk_r4/tests/tasks/manage_test_interface.yml:13 Wednesday 20 December 2023 03:58:14 +0000 (0:00:00.007) 0:00:02.666 **** included: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/tests/tasks/show_interfaces.yml:3 Wednesday 20 December 2023 03:58:14 +0000 (0:00:00.010) 0:00:02.677 **** included: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/tests/tasks/get_current_interfaces.yml:3 Wednesday 20 December 2023 03:58:15 +0000 (0:00:00.009) 0:00:02.687 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.004104", "end": "2023-12-20 03:58:15.192815", "rc": 0, "start": "2023-12-20 03:58:15.188711" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/tests/tasks/get_current_interfaces.yml:9 Wednesday 20 December 2023 03:58:15 +0000 (0:00:00.201) 0:00:02.888 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/tests/tasks/show_interfaces.yml:5 Wednesday 20 December 2023 03:58:15 +0000 (0:00:00.010) 0:00:02.899 **** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/tests/tasks/manage_test_interface.yml:16 Wednesday 20 December 2023 03:58:15 +0000 (0:00:00.009) 0:00:02.908 **** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth1298] ****************************************** task path: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/tests/tasks/manage_test_interface.yml:23 Wednesday 20 December 2023 03:58:18 +0000 (0:00:03.310) 0:00:06.219 **** 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-ansible-lint-test-2.16el2pk_r4/tests/tasks/manage_test_interface.yml:31 Wednesday 20 December 2023 03:58:18 +0000 (0:00:00.018) 0:00:06.237 **** 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-ansible-lint-test-2.16el2pk_r4/tests/tasks/manage_test_interface.yml:39 Wednesday 20 December 2023 03:58:18 +0000 (0:00:00.009) 0:00:06.247 **** 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-ansible-lint-test-2.16el2pk_r4/tests/tasks/manage_test_interface.yml:45 Wednesday 20 December 2023 03:58:18 +0000 (0:00:00.011) 0:00:06.258 **** 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-ansible-lint-test-2.16el2pk_r4/tests/tasks/manage_test_interface.yml:50 Wednesday 20 December 2023 03:58:18 +0000 (0:00:00.014) 0:00:06.272 **** 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-ansible-lint-test-2.16el2pk_r4/tests/tasks/manage_test_interface.yml:56 Wednesday 20 December 2023 03:58:18 +0000 (0:00:00.013) 0:00:06.285 **** 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-ansible-lint-test-2.16el2pk_r4/tests/tasks/manage_test_interface.yml:61 Wednesday 20 December 2023 03:58:18 +0000 (0:00:00.009) 0:00:06.294 **** 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-ansible-lint-test-2.16el2pk_r4/tests/tasks/create_and_remove_interface.yml:9 Wednesday 20 December 2023 03:58:18 +0000 (0:00:00.007) 0:00:06.302 **** included: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/tests/tasks/show_interfaces.yml:3 Wednesday 20 December 2023 03:58:18 +0000 (0:00:00.020) 0:00:06.323 **** included: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/tests/tasks/get_current_interfaces.yml:3 Wednesday 20 December 2023 03:58:18 +0000 (0:00:00.009) 0:00:06.332 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003885", "end": "2023-12-20 03:58:18.837776", "rc": 0, "start": "2023-12-20 03:58:18.833891" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/tests/tasks/get_current_interfaces.yml:9 Wednesday 20 December 2023 03:58:18 +0000 (0:00:00.200) 0:00:06.533 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/tests/tasks/show_interfaces.yml:5 Wednesday 20 December 2023 03:58:18 +0000 (0:00:00.011) 0:00:06.544 **** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Include the task 'assert_device_absent.yml'] ***************************** task path: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/tests/tasks/create_and_remove_interface.yml:11 Wednesday 20 December 2023 03:58:18 +0000 (0:00:00.010) 0:00:06.554 **** included: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/tests/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/tests/tasks/assert_device_absent.yml:3 Wednesday 20 December 2023 03:58:18 +0000 (0:00:00.013) 0:00:06.567 **** included: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/tests/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth1298] ***************************************** task path: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/tests/tasks/get_interface_stat.yml:3 Wednesday 20 December 2023 03:58:18 +0000 (0:00:00.009) 0:00:06.576 **** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'veth1298'] ************************ task path: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/tests/tasks/assert_device_absent.yml:5 Wednesday 20 December 2023 03:58:19 +0000 (0:00:00.197) 0:00:06.774 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/tests/tasks/create_and_remove_interface.yml:14 Wednesday 20 December 2023 03:58:19 +0000 (0:00:00.011) 0:00:06.785 **** included: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/tests/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/tests/tasks/manage_test_interface.yml:3 Wednesday 20 December 2023 03:58:19 +0000 (0:00:00.014) 0:00:06.800 **** 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-ansible-lint-test-2.16el2pk_r4/tests/tasks/manage_test_interface.yml:8 Wednesday 20 December 2023 03:58:19 +0000 (0:00:00.008) 0:00:06.808 **** 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-ansible-lint-test-2.16el2pk_r4/tests/tasks/manage_test_interface.yml:13 Wednesday 20 December 2023 03:58:19 +0000 (0:00:00.007) 0:00:06.816 **** included: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/tests/tasks/show_interfaces.yml:3 Wednesday 20 December 2023 03:58:19 +0000 (0:00:00.010) 0:00:06.826 **** included: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/tests/tasks/get_current_interfaces.yml:3 Wednesday 20 December 2023 03:58:19 +0000 (0:00:00.009) 0:00:06.835 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003869", "end": "2023-12-20 03:58:19.340315", "rc": 0, "start": "2023-12-20 03:58:19.336446" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/tests/tasks/get_current_interfaces.yml:9 Wednesday 20 December 2023 03:58:19 +0000 (0:00:00.199) 0:00:07.035 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/tests/tasks/show_interfaces.yml:5 Wednesday 20 December 2023 03:58:19 +0000 (0:00:00.010) 0:00:07.045 **** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/tests/tasks/manage_test_interface.yml:16 Wednesday 20 December 2023 03:58:19 +0000 (0:00:00.009) 0:00:07.055 **** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth1298] ****************************************** task path: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/tests/tasks/manage_test_interface.yml:23 Wednesday 20 December 2023 03:58:22 +0000 (0:00:03.075) 0:00:10.130 **** 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.014145", "end": "2023-12-20 03:58:22.652446", "item": "ip link add veth1298 type veth peer name peerveth1298", "rc": 0, "start": "2023-12-20 03:58:22.638301" } ok: [sut] => (item=ip link set peerveth1298 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peerveth1298", "up" ], "delta": "0:00:00.004543", "end": "2023-12-20 03:58:22.893026", "item": "ip link set peerveth1298 up", "rc": 0, "start": "2023-12-20 03:58:22.888483" } ok: [sut] => (item=ip link set veth1298 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "veth1298", "up" ], "delta": "0:00:00.004970", "end": "2023-12-20 03:58:23.089527", "item": "ip link set veth1298 up", "rc": 0, "start": "2023-12-20 03:58:23.084557" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/tests/tasks/manage_test_interface.yml:31 Wednesday 20 December 2023 03:58:23 +0000 (0:00:00.656) 0:00:10.787 **** ok: [sut] => { "changed": false, "cmd": [ "nmcli", "d", "set", "veth1298", "managed", "true" ], "delta": "0:00:00.026534", "end": "2023-12-20 03:58:23.319741", "rc": 0, "start": "2023-12-20 03:58:23.293207" } TASK [Delete veth interface veth1298] ****************************************** task path: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/tests/tasks/manage_test_interface.yml:39 Wednesday 20 December 2023 03:58:23 +0000 (0:00:00.233) 0:00:11.021 **** 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-ansible-lint-test-2.16el2pk_r4/tests/tasks/manage_test_interface.yml:45 Wednesday 20 December 2023 03:58:23 +0000 (0:00:00.010) 0:00:11.031 **** 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-ansible-lint-test-2.16el2pk_r4/tests/tasks/manage_test_interface.yml:50 Wednesday 20 December 2023 03:58:23 +0000 (0:00:00.012) 0:00:11.044 **** 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-ansible-lint-test-2.16el2pk_r4/tests/tasks/manage_test_interface.yml:56 Wednesday 20 December 2023 03:58:23 +0000 (0:00:00.008) 0:00:11.052 **** 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-ansible-lint-test-2.16el2pk_r4/tests/tasks/manage_test_interface.yml:61 Wednesday 20 December 2023 03:58:23 +0000 (0:00:00.013) 0:00:11.066 **** 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-ansible-lint-test-2.16el2pk_r4/tests/tasks/create_and_remove_interface.yml:18 Wednesday 20 December 2023 03:58:23 +0000 (0:00:00.015) 0:00:11.081 **** included: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/tests/tasks/show_interfaces.yml:3 Wednesday 20 December 2023 03:58:23 +0000 (0:00:00.017) 0:00:11.099 **** included: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/tests/tasks/get_current_interfaces.yml:3 Wednesday 20 December 2023 03:58:23 +0000 (0:00:00.017) 0:00:11.116 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.004299", "end": "2023-12-20 03:58:23.628163", "rc": 0, "start": "2023-12-20 03:58:23.623864" } STDOUT: bonding_masters eth0 lo peerveth1298 veth1298 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/tests/tasks/get_current_interfaces.yml:9 Wednesday 20 December 2023 03:58:23 +0000 (0:00:00.207) 0:00:11.324 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "peerveth1298", "veth1298" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/tests/tasks/show_interfaces.yml:5 Wednesday 20 December 2023 03:58:23 +0000 (0:00:00.009) 0:00:11.334 **** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'peerveth1298', 'veth1298'] TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/tests/tasks/create_and_remove_interface.yml:20 Wednesday 20 December 2023 03:58:23 +0000 (0:00:00.009) 0:00:11.343 **** included: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/tests/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/tests/tasks/assert_device_present.yml:3 Wednesday 20 December 2023 03:58:23 +0000 (0:00:00.016) 0:00:11.359 **** included: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/tests/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth1298] ***************************************** task path: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/tests/tasks/get_interface_stat.yml:3 Wednesday 20 December 2023 03:58:23 +0000 (0:00:00.009) 0:00:11.368 **** ok: [sut] => { "changed": false, "stat": { "atime": 1703044702.642634, "block_size": 4096, "blocks": 0, "ctime": 1703044702.642634, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 31880, "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": 1703044702.642634, "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-ansible-lint-test-2.16el2pk_r4/tests/tasks/assert_device_present.yml:5 Wednesday 20 December 2023 03:58:23 +0000 (0:00:00.197) 0:00:11.566 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/tests/tasks/create_and_remove_interface.yml:23 Wednesday 20 December 2023 03:58:23 +0000 (0:00:00.010) 0:00:11.576 **** included: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/tests/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/tests/tasks/manage_test_interface.yml:3 Wednesday 20 December 2023 03:58:23 +0000 (0:00:00.019) 0:00:11.595 **** 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-ansible-lint-test-2.16el2pk_r4/tests/tasks/manage_test_interface.yml:8 Wednesday 20 December 2023 03:58:23 +0000 (0:00:00.007) 0:00:11.603 **** 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-ansible-lint-test-2.16el2pk_r4/tests/tasks/manage_test_interface.yml:13 Wednesday 20 December 2023 03:58:23 +0000 (0:00:00.008) 0:00:11.612 **** included: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/tests/tasks/show_interfaces.yml:3 Wednesday 20 December 2023 03:58:23 +0000 (0:00:00.013) 0:00:11.625 **** included: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/tests/tasks/get_current_interfaces.yml:3 Wednesday 20 December 2023 03:58:23 +0000 (0:00:00.013) 0:00:11.638 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003821", "end": "2023-12-20 03:58:24.144147", "rc": 0, "start": "2023-12-20 03:58:24.140326" } STDOUT: bonding_masters eth0 lo peerveth1298 veth1298 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/tests/tasks/get_current_interfaces.yml:9 Wednesday 20 December 2023 03:58:24 +0000 (0:00:00.201) 0:00:11.839 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "peerveth1298", "veth1298" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/tests/tasks/show_interfaces.yml:5 Wednesday 20 December 2023 03:58:24 +0000 (0:00:00.009) 0:00:11.849 **** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'peerveth1298', 'veth1298'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/tests/tasks/manage_test_interface.yml:16 Wednesday 20 December 2023 03:58:24 +0000 (0:00:00.010) 0:00:11.859 **** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth1298] ****************************************** task path: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/tests/tasks/manage_test_interface.yml:23 Wednesday 20 December 2023 03:58:27 +0000 (0:00:03.084) 0:00:14.944 **** 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-ansible-lint-test-2.16el2pk_r4/tests/tasks/manage_test_interface.yml:31 Wednesday 20 December 2023 03:58:27 +0000 (0:00:00.014) 0:00:14.959 **** 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-ansible-lint-test-2.16el2pk_r4/tests/tasks/manage_test_interface.yml:39 Wednesday 20 December 2023 03:58:27 +0000 (0:00:00.008) 0:00:14.967 **** ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "veth1298", "type", "veth" ], "delta": "0:00:00.010019", "end": "2023-12-20 03:58:27.482223", "rc": 0, "start": "2023-12-20 03:58:27.472204" } TASK [Create dummy interface veth1298] ***************************************** task path: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/tests/tasks/manage_test_interface.yml:45 Wednesday 20 December 2023 03:58:27 +0000 (0:00:00.213) 0:00:15.180 **** 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-ansible-lint-test-2.16el2pk_r4/tests/tasks/manage_test_interface.yml:50 Wednesday 20 December 2023 03:58:27 +0000 (0:00:00.009) 0:00:15.189 **** 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-ansible-lint-test-2.16el2pk_r4/tests/tasks/manage_test_interface.yml:56 Wednesday 20 December 2023 03:58:27 +0000 (0:00:00.008) 0:00:15.198 **** 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-ansible-lint-test-2.16el2pk_r4/tests/tasks/manage_test_interface.yml:61 Wednesday 20 December 2023 03:58:27 +0000 (0:00:00.008) 0:00:15.207 **** 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-ansible-lint-test-2.16el2pk_r4/tests/tasks/create_and_remove_interface.yml:27 Wednesday 20 December 2023 03:58:27 +0000 (0:00:00.008) 0:00:15.215 **** included: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/tests/tasks/show_interfaces.yml:3 Wednesday 20 December 2023 03:58:27 +0000 (0:00:00.018) 0:00:15.234 **** included: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/tests/tasks/get_current_interfaces.yml:3 Wednesday 20 December 2023 03:58:27 +0000 (0:00:00.009) 0:00:15.243 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.004031", "end": "2023-12-20 03:58:27.746443", "rc": 0, "start": "2023-12-20 03:58:27.742412" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/tests/tasks/get_current_interfaces.yml:9 Wednesday 20 December 2023 03:58:27 +0000 (0:00:00.197) 0:00:15.441 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/tests/tasks/show_interfaces.yml:5 Wednesday 20 December 2023 03:58:27 +0000 (0:00:00.010) 0:00:15.451 **** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Include the task 'assert_device_absent.yml'] ***************************** task path: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/tests/tasks/create_and_remove_interface.yml:29 Wednesday 20 December 2023 03:58:27 +0000 (0:00:00.008) 0:00:15.460 **** included: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/tests/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/tests/tasks/assert_device_absent.yml:3 Wednesday 20 December 2023 03:58:27 +0000 (0:00:00.018) 0:00:15.478 **** included: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/tests/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth1298] ***************************************** task path: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/tests/tasks/get_interface_stat.yml:3 Wednesday 20 December 2023 03:58:27 +0000 (0:00:00.011) 0:00:15.490 **** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'veth1298'] ************************ task path: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/tests/tasks/assert_device_absent.yml:5 Wednesday 20 December 2023 03:58:28 +0000 (0:00:00.196) 0:00:15.686 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test veth interface management] ****************************************** task path: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/tests/tests_helpers_and_asserts.yml:15 Wednesday 20 December 2023 03:58:28 +0000 (0:00:00.012) 0:00:15.698 **** included: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/tests/tasks/create_and_remove_interface.yml for sut TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/tests/tasks/create_and_remove_interface.yml:3 Wednesday 20 December 2023 03:58:28 +0000 (0:00:00.013) 0:00:15.712 **** included: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/tests/tasks/show_interfaces.yml:3 Wednesday 20 December 2023 03:58:28 +0000 (0:00:00.012) 0:00:15.724 **** included: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/tests/tasks/get_current_interfaces.yml:3 Wednesday 20 December 2023 03:58:28 +0000 (0:00:00.009) 0:00:15.733 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003853", "end": "2023-12-20 03:58:28.238436", "rc": 0, "start": "2023-12-20 03:58:28.234583" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/tests/tasks/get_current_interfaces.yml:9 Wednesday 20 December 2023 03:58:28 +0000 (0:00:00.200) 0:00:15.934 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/tests/tasks/show_interfaces.yml:5 Wednesday 20 December 2023 03:58:28 +0000 (0:00:00.011) 0:00:15.946 **** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/tests/tasks/create_and_remove_interface.yml:5 Wednesday 20 December 2023 03:58:28 +0000 (0:00:00.009) 0:00:15.955 **** included: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/tests/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/tests/tasks/manage_test_interface.yml:3 Wednesday 20 December 2023 03:58:28 +0000 (0:00:00.012) 0:00:15.968 **** 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-ansible-lint-test-2.16el2pk_r4/tests/tasks/manage_test_interface.yml:8 Wednesday 20 December 2023 03:58:28 +0000 (0:00:00.007) 0:00:15.975 **** 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-ansible-lint-test-2.16el2pk_r4/tests/tasks/manage_test_interface.yml:13 Wednesday 20 December 2023 03:58:28 +0000 (0:00:00.007) 0:00:15.983 **** included: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/tests/tasks/show_interfaces.yml:3 Wednesday 20 December 2023 03:58:28 +0000 (0:00:00.011) 0:00:15.994 **** included: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/tests/tasks/get_current_interfaces.yml:3 Wednesday 20 December 2023 03:58:28 +0000 (0:00:00.009) 0:00:16.004 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.004043", "end": "2023-12-20 03:58:28.508400", "rc": 0, "start": "2023-12-20 03:58:28.504357" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/tests/tasks/get_current_interfaces.yml:9 Wednesday 20 December 2023 03:58:28 +0000 (0:00:00.201) 0:00:16.205 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/tests/tasks/show_interfaces.yml:5 Wednesday 20 December 2023 03:58:28 +0000 (0:00:00.010) 0:00:16.215 **** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/tests/tasks/manage_test_interface.yml:16 Wednesday 20 December 2023 03:58:28 +0000 (0:00:00.012) 0:00:16.228 **** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface dummy1298] ***************************************** task path: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/tests/tasks/manage_test_interface.yml:23 Wednesday 20 December 2023 03:58:31 +0000 (0:00:03.099) 0:00:19.327 **** 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-ansible-lint-test-2.16el2pk_r4/tests/tasks/manage_test_interface.yml:31 Wednesday 20 December 2023 03:58:31 +0000 (0:00:00.016) 0:00:19.344 **** 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-ansible-lint-test-2.16el2pk_r4/tests/tasks/manage_test_interface.yml:39 Wednesday 20 December 2023 03:58:31 +0000 (0:00:00.008) 0:00:19.352 **** 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-ansible-lint-test-2.16el2pk_r4/tests/tasks/manage_test_interface.yml:45 Wednesday 20 December 2023 03:58:31 +0000 (0:00:00.008) 0:00:19.361 **** 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-ansible-lint-test-2.16el2pk_r4/tests/tasks/manage_test_interface.yml:50 Wednesday 20 December 2023 03:58:31 +0000 (0:00:00.009) 0:00:19.371 **** 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-ansible-lint-test-2.16el2pk_r4/tests/tasks/manage_test_interface.yml:56 Wednesday 20 December 2023 03:58:31 +0000 (0:00:00.013) 0:00:19.384 **** 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-ansible-lint-test-2.16el2pk_r4/tests/tasks/manage_test_interface.yml:61 Wednesday 20 December 2023 03:58:31 +0000 (0:00:00.010) 0:00:19.394 **** 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-ansible-lint-test-2.16el2pk_r4/tests/tasks/create_and_remove_interface.yml:9 Wednesday 20 December 2023 03:58:31 +0000 (0:00:00.016) 0:00:19.411 **** included: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/tests/tasks/show_interfaces.yml:3 Wednesday 20 December 2023 03:58:31 +0000 (0:00:00.018) 0:00:19.429 **** included: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/tests/tasks/get_current_interfaces.yml:3 Wednesday 20 December 2023 03:58:31 +0000 (0:00:00.011) 0:00:19.441 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003932", "end": "2023-12-20 03:58:31.946823", "rc": 0, "start": "2023-12-20 03:58:31.942891" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/tests/tasks/get_current_interfaces.yml:9 Wednesday 20 December 2023 03:58:31 +0000 (0:00:00.202) 0:00:19.643 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/tests/tasks/show_interfaces.yml:5 Wednesday 20 December 2023 03:58:31 +0000 (0:00:00.009) 0:00:19.652 **** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Include the task 'assert_device_absent.yml'] ***************************** task path: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/tests/tasks/create_and_remove_interface.yml:11 Wednesday 20 December 2023 03:58:31 +0000 (0:00:00.008) 0:00:19.661 **** included: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/tests/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/tests/tasks/assert_device_absent.yml:3 Wednesday 20 December 2023 03:58:31 +0000 (0:00:00.012) 0:00:19.674 **** included: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/tests/tasks/get_interface_stat.yml for sut TASK [Get stat for interface dummy1298] **************************************** task path: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/tests/tasks/get_interface_stat.yml:3 Wednesday 20 December 2023 03:58:32 +0000 (0:00:00.009) 0:00:19.683 **** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'dummy1298'] *********************** task path: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/tests/tasks/assert_device_absent.yml:5 Wednesday 20 December 2023 03:58:32 +0000 (0:00:00.194) 0:00:19.878 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/tests/tasks/create_and_remove_interface.yml:14 Wednesday 20 December 2023 03:58:32 +0000 (0:00:00.010) 0:00:19.889 **** included: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/tests/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/tests/tasks/manage_test_interface.yml:3 Wednesday 20 December 2023 03:58:32 +0000 (0:00:00.015) 0:00:19.904 **** 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-ansible-lint-test-2.16el2pk_r4/tests/tasks/manage_test_interface.yml:8 Wednesday 20 December 2023 03:58:32 +0000 (0:00:00.008) 0:00:19.913 **** 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-ansible-lint-test-2.16el2pk_r4/tests/tasks/manage_test_interface.yml:13 Wednesday 20 December 2023 03:58:32 +0000 (0:00:00.007) 0:00:19.921 **** included: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/tests/tasks/show_interfaces.yml:3 Wednesday 20 December 2023 03:58:32 +0000 (0:00:00.010) 0:00:19.932 **** included: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/tests/tasks/get_current_interfaces.yml:3 Wednesday 20 December 2023 03:58:32 +0000 (0:00:00.009) 0:00:19.941 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003903", "end": "2023-12-20 03:58:32.445432", "rc": 0, "start": "2023-12-20 03:58:32.441529" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/tests/tasks/get_current_interfaces.yml:9 Wednesday 20 December 2023 03:58:32 +0000 (0:00:00.202) 0:00:20.143 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/tests/tasks/show_interfaces.yml:5 Wednesday 20 December 2023 03:58:32 +0000 (0:00:00.011) 0:00:20.155 **** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/tests/tasks/manage_test_interface.yml:16 Wednesday 20 December 2023 03:58:32 +0000 (0:00:00.010) 0:00:20.165 **** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface dummy1298] ***************************************** task path: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/tests/tasks/manage_test_interface.yml:23 Wednesday 20 December 2023 03:58:35 +0000 (0:00:03.073) 0:00:23.239 **** 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-ansible-lint-test-2.16el2pk_r4/tests/tasks/manage_test_interface.yml:31 Wednesday 20 December 2023 03:58:35 +0000 (0:00:00.015) 0:00:23.255 **** 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-ansible-lint-test-2.16el2pk_r4/tests/tasks/manage_test_interface.yml:39 Wednesday 20 December 2023 03:58:35 +0000 (0:00:00.011) 0:00:23.266 **** 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-ansible-lint-test-2.16el2pk_r4/tests/tasks/manage_test_interface.yml:45 Wednesday 20 December 2023 03:58:35 +0000 (0:00:00.010) 0:00:23.276 **** ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "add", "dummy1298", "type", "dummy" ], "delta": "0:00:00.005022", "end": "2023-12-20 03:58:35.782484", "rc": 0, "start": "2023-12-20 03:58:35.777462" } TASK [Delete dummy interface dummy1298] **************************************** task path: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/tests/tasks/manage_test_interface.yml:50 Wednesday 20 December 2023 03:58:35 +0000 (0:00:00.211) 0:00:23.487 **** 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-ansible-lint-test-2.16el2pk_r4/tests/tasks/manage_test_interface.yml:56 Wednesday 20 December 2023 03:58:35 +0000 (0:00:00.013) 0:00:23.501 **** 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-ansible-lint-test-2.16el2pk_r4/tests/tasks/manage_test_interface.yml:61 Wednesday 20 December 2023 03:58:35 +0000 (0:00:00.009) 0:00:23.510 **** 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-ansible-lint-test-2.16el2pk_r4/tests/tasks/create_and_remove_interface.yml:18 Wednesday 20 December 2023 03:58:35 +0000 (0:00:00.008) 0:00:23.519 **** included: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/tests/tasks/show_interfaces.yml:3 Wednesday 20 December 2023 03:58:35 +0000 (0:00:00.017) 0:00:23.537 **** included: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/tests/tasks/get_current_interfaces.yml:3 Wednesday 20 December 2023 03:58:35 +0000 (0:00:00.011) 0:00:23.548 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003880", "end": "2023-12-20 03:58:36.051841", "rc": 0, "start": "2023-12-20 03:58:36.047961" } STDOUT: bonding_masters dummy1298 eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/tests/tasks/get_current_interfaces.yml:9 Wednesday 20 December 2023 03:58:36 +0000 (0:00:00.198) 0:00:23.747 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "dummy1298", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/tests/tasks/show_interfaces.yml:5 Wednesday 20 December 2023 03:58:36 +0000 (0:00:00.010) 0:00:23.757 **** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'dummy1298', 'eth0', 'lo'] TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/tests/tasks/create_and_remove_interface.yml:20 Wednesday 20 December 2023 03:58:36 +0000 (0:00:00.009) 0:00:23.766 **** included: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/tests/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/tests/tasks/assert_device_present.yml:3 Wednesday 20 December 2023 03:58:36 +0000 (0:00:00.016) 0:00:23.783 **** included: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/tests/tasks/get_interface_stat.yml for sut TASK [Get stat for interface dummy1298] **************************************** task path: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/tests/tasks/get_interface_stat.yml:3 Wednesday 20 December 2023 03:58:36 +0000 (0:00:00.011) 0:00:23.795 **** ok: [sut] => { "changed": false, "stat": { "atime": 1703044715.7812622, "block_size": 4096, "blocks": 0, "ctime": 1703044715.7812622, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 32173, "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": 1703044715.7812622, "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-ansible-lint-test-2.16el2pk_r4/tests/tasks/assert_device_present.yml:5 Wednesday 20 December 2023 03:58:36 +0000 (0:00:00.195) 0:00:23.991 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/tests/tasks/create_and_remove_interface.yml:23 Wednesday 20 December 2023 03:58:36 +0000 (0:00:00.012) 0:00:24.003 **** included: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/tests/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/tests/tasks/manage_test_interface.yml:3 Wednesday 20 December 2023 03:58:36 +0000 (0:00:00.018) 0:00:24.022 **** 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-ansible-lint-test-2.16el2pk_r4/tests/tasks/manage_test_interface.yml:8 Wednesday 20 December 2023 03:58:36 +0000 (0:00:00.012) 0:00:24.035 **** 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-ansible-lint-test-2.16el2pk_r4/tests/tasks/manage_test_interface.yml:13 Wednesday 20 December 2023 03:58:36 +0000 (0:00:00.007) 0:00:24.043 **** included: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/tests/tasks/show_interfaces.yml:3 Wednesday 20 December 2023 03:58:36 +0000 (0:00:00.037) 0:00:24.080 **** included: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/tests/tasks/get_current_interfaces.yml:3 Wednesday 20 December 2023 03:58:36 +0000 (0:00:00.012) 0:00:24.093 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003934", "end": "2023-12-20 03:58:36.600700", "rc": 0, "start": "2023-12-20 03:58:36.596766" } STDOUT: bonding_masters dummy1298 eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/tests/tasks/get_current_interfaces.yml:9 Wednesday 20 December 2023 03:58:36 +0000 (0:00:00.209) 0:00:24.303 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "dummy1298", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/tests/tasks/show_interfaces.yml:5 Wednesday 20 December 2023 03:58:36 +0000 (0:00:00.011) 0:00:24.314 **** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'dummy1298', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/tests/tasks/manage_test_interface.yml:16 Wednesday 20 December 2023 03:58:36 +0000 (0:00:00.010) 0:00:24.324 **** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface dummy1298] ***************************************** task path: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/tests/tasks/manage_test_interface.yml:23 Wednesday 20 December 2023 03:58:39 +0000 (0:00:03.078) 0:00:27.403 **** 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-ansible-lint-test-2.16el2pk_r4/tests/tasks/manage_test_interface.yml:31 Wednesday 20 December 2023 03:58:39 +0000 (0:00:00.021) 0:00:27.424 **** 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-ansible-lint-test-2.16el2pk_r4/tests/tasks/manage_test_interface.yml:39 Wednesday 20 December 2023 03:58:39 +0000 (0:00:00.008) 0:00:27.432 **** 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-ansible-lint-test-2.16el2pk_r4/tests/tasks/manage_test_interface.yml:45 Wednesday 20 December 2023 03:58:39 +0000 (0:00:00.009) 0:00:27.441 **** 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-ansible-lint-test-2.16el2pk_r4/tests/tasks/manage_test_interface.yml:50 Wednesday 20 December 2023 03:58:39 +0000 (0:00:00.009) 0:00:27.451 **** ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "dummy1298", "type", "dummy" ], "delta": "0:00:00.009248", "end": "2023-12-20 03:58:39.962029", "rc": 0, "start": "2023-12-20 03:58:39.952781" } TASK [Create tap interface dummy1298] ****************************************** task path: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/tests/tasks/manage_test_interface.yml:56 Wednesday 20 December 2023 03:58:39 +0000 (0:00:00.209) 0:00:27.661 **** 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-ansible-lint-test-2.16el2pk_r4/tests/tasks/manage_test_interface.yml:61 Wednesday 20 December 2023 03:58:39 +0000 (0:00:00.012) 0:00:27.673 **** 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-ansible-lint-test-2.16el2pk_r4/tests/tasks/create_and_remove_interface.yml:27 Wednesday 20 December 2023 03:58:40 +0000 (0:00:00.008) 0:00:27.682 **** included: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/tests/tasks/show_interfaces.yml:3 Wednesday 20 December 2023 03:58:40 +0000 (0:00:00.024) 0:00:27.706 **** included: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/tests/tasks/get_current_interfaces.yml:3 Wednesday 20 December 2023 03:58:40 +0000 (0:00:00.013) 0:00:27.720 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.004011", "end": "2023-12-20 03:58:40.224571", "rc": 0, "start": "2023-12-20 03:58:40.220560" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/tests/tasks/get_current_interfaces.yml:9 Wednesday 20 December 2023 03:58:40 +0000 (0:00:00.199) 0:00:27.919 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/tests/tasks/show_interfaces.yml:5 Wednesday 20 December 2023 03:58:40 +0000 (0:00:00.013) 0:00:27.933 **** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Include the task 'assert_device_absent.yml'] ***************************** task path: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/tests/tasks/create_and_remove_interface.yml:29 Wednesday 20 December 2023 03:58:40 +0000 (0:00:00.009) 0:00:27.942 **** included: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/tests/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/tests/tasks/assert_device_absent.yml:3 Wednesday 20 December 2023 03:58:40 +0000 (0:00:00.018) 0:00:27.961 **** included: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/tests/tasks/get_interface_stat.yml for sut TASK [Get stat for interface dummy1298] **************************************** task path: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/tests/tasks/get_interface_stat.yml:3 Wednesday 20 December 2023 03:58:40 +0000 (0:00:00.009) 0:00:27.971 **** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'dummy1298'] *********************** task path: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/tests/tasks/assert_device_absent.yml:5 Wednesday 20 December 2023 03:58:40 +0000 (0:00:00.197) 0:00:28.169 **** 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 03:58:40 +0000 (0:00:00.015) 0:00:28.184 **** =============================================================================== Install iproute --------------------------------------------------------- 3.31s /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/tests/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 3.10s /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/tests/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 3.08s /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/tests/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 3.08s /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/tests/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 3.08s /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/tests/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 3.07s /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/tests/tasks/manage_test_interface.yml:16 Gathering Facts --------------------------------------------------------- 0.89s /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/tests/tests_helpers_and_asserts.yml:3 Create veth interface veth1298 ------------------------------------------ 0.66s /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/tests/tasks/manage_test_interface.yml:23 Enable EPEL 8 ----------------------------------------------------------- 0.47s /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/tests/tasks/enable_epel.yml:35 ---- Gather the minimum subset of ansible_facts required by the network role test --- 0.39s /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/tests/tasks/el_repo_setup.yml:3 --- Check if system is ostree ----------------------------------------------- 0.26s /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/tests/tasks/el_repo_setup.yml:17 -- Create EPEL 8 ----------------------------------------------------------- 0.26s /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/tests/tasks/enable_epel.yml:8 ----- Set up veth as managed by NetworkManager -------------------------------- 0.23s /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/tests/tasks/manage_test_interface.yml:31 Delete veth interface veth1298 ------------------------------------------ 0.21s /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/tests/tasks/manage_test_interface.yml:39 Create dummy interface dummy1298 ---------------------------------------- 0.21s /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/tests/tasks/manage_test_interface.yml:45 Delete dummy interface dummy1298 ---------------------------------------- 0.21s /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/tests/tasks/manage_test_interface.yml:50 Gather current interface info ------------------------------------------- 0.21s /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/tests/tasks/get_current_interfaces.yml:3 Gather current interface info ------------------------------------------- 0.21s /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/tests/tasks/get_current_interfaces.yml:3 Gather current interface info ------------------------------------------- 0.20s /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/tests/tasks/get_current_interfaces.yml:3 Gather current interface info ------------------------------------------- 0.20s /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/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. ---^---^---^---^---^---