# 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.1637sx_ez5/.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.1637sx_ez5/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.1637sx_ez5/tests/tests_helpers_and_asserts.yml:3 Thursday 14 December 2023 17:21:59 +0000 (0:00:00.036) 0:00:00.036 ***** ok: [sut] TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-ansible-lint-test-2.1637sx_ez5/tests/tests_helpers_and_asserts.yml:6 Thursday 14 December 2023 17:22:00 +0000 (0:00:00.890) 0:00:00.926 ***** included: /WORKDIR/git-ansible-lint-test-2.1637sx_ez5/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.1637sx_ez5/tests/tasks/el_repo_setup.yml:3 Thursday 14 December 2023 17:22:00 +0000 (0:00:00.023) 0:00:00.949 ***** ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-ansible-lint-test-2.1637sx_ez5/tests/tasks/el_repo_setup.yml:17 Thursday 14 December 2023 17:22:00 +0000 (0:00:00.361) 0:00:01.311 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-ansible-lint-test-2.1637sx_ez5/tests/tasks/el_repo_setup.yml:22 Thursday 14 December 2023 17:22:01 +0000 (0:00:00.266) 0:00:01.577 ***** ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-ansible-lint-test-2.1637sx_ez5/tests/tasks/el_repo_setup.yml:26 Thursday 14 December 2023 17:22:01 +0000 (0:00:00.015) 0:00:01.592 ***** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution == 'CentOS'", "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-ansible-lint-test-2.1637sx_ez5/tests/tasks/el_repo_setup.yml:51 Thursday 14 December 2023 17:22:01 +0000 (0:00:00.007) 0:00:01.600 ***** included: /WORKDIR/git-ansible-lint-test-2.1637sx_ez5/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 38] ********************************************************** task path: /WORKDIR/git-ansible-lint-test-2.1637sx_ez5/tests/tasks/enable_epel.yml:8 Thursday 14 December 2023 17:22:01 +0000 (0:00:00.026) 0:00:01.627 ***** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution in ['RedHat', 'CentOS']", "skip_reason": "Conditional result was False" } TASK [Install yum-utils package] *********************************************** task path: /WORKDIR/git-ansible-lint-test-2.1637sx_ez5/tests/tasks/enable_epel.yml:24 Thursday 14 December 2023 17:22:01 +0000 (0:00:00.009) 0:00:01.636 ***** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution in ['RedHat', 'CentOS']", "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /WORKDIR/git-ansible-lint-test-2.1637sx_ez5/tests/tasks/enable_epel.yml:30 Thursday 14 December 2023 17:22:01 +0000 (0:00:00.009) 0:00:01.646 ***** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution in ['RedHat', 'CentOS']", "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /WORKDIR/git-ansible-lint-test-2.1637sx_ez5/tests/tasks/enable_epel.yml:35 Thursday 14 December 2023 17:22:01 +0000 (0:00:00.007) 0:00:01.653 ***** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution in ['RedHat', 'CentOS']", "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-ansible-lint-test-2.1637sx_ez5/tests/tasks/enable_epel.yml:40 Thursday 14 December 2023 17:22:01 +0000 (0:00:00.007) 0:00:01.661 ***** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution in ['RedHat', 'CentOS']", "skip_reason": "Conditional result was False" } TASK [Test veth interface management] ****************************************** task path: /WORKDIR/git-ansible-lint-test-2.1637sx_ez5/tests/tests_helpers_and_asserts.yml:9 Thursday 14 December 2023 17:22:01 +0000 (0:00:00.007) 0:00:01.668 ***** included: /WORKDIR/git-ansible-lint-test-2.1637sx_ez5/tests/tasks/create_and_remove_interface.yml for sut TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-ansible-lint-test-2.1637sx_ez5/tests/tasks/create_and_remove_interface.yml:3 Thursday 14 December 2023 17:22:01 +0000 (0:00:00.011) 0:00:01.680 ***** included: /WORKDIR/git-ansible-lint-test-2.1637sx_ez5/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-ansible-lint-test-2.1637sx_ez5/tests/tasks/show_interfaces.yml:3 Thursday 14 December 2023 17:22:01 +0000 (0:00:00.010) 0:00:01.691 ***** included: /WORKDIR/git-ansible-lint-test-2.1637sx_ez5/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-ansible-lint-test-2.1637sx_ez5/tests/tasks/get_current_interfaces.yml:3 Thursday 14 December 2023 17:22:01 +0000 (0:00:00.009) 0:00:01.700 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003627", "end": "2023-12-14 17:22:01.465960", "rc": 0, "start": "2023-12-14 17:22:01.462333" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-ansible-lint-test-2.1637sx_ez5/tests/tasks/get_current_interfaces.yml:9 Thursday 14 December 2023 17:22:01 +0000 (0:00:00.277) 0:00:01.977 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-ansible-lint-test-2.1637sx_ez5/tests/tasks/show_interfaces.yml:5 Thursday 14 December 2023 17:22:01 +0000 (0:00:00.043) 0:00:02.021 ***** 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.1637sx_ez5/tests/tasks/create_and_remove_interface.yml:5 Thursday 14 December 2023 17:22:01 +0000 (0:00:00.014) 0:00:02.035 ***** included: /WORKDIR/git-ansible-lint-test-2.1637sx_ez5/tests/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-ansible-lint-test-2.1637sx_ez5/tests/tasks/manage_test_interface.yml:3 Thursday 14 December 2023 17:22:01 +0000 (0:00:00.013) 0:00:02.049 ***** 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.1637sx_ez5/tests/tasks/manage_test_interface.yml:8 Thursday 14 December 2023 17:22:01 +0000 (0:00:00.010) 0:00:02.060 ***** 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.1637sx_ez5/tests/tasks/manage_test_interface.yml:13 Thursday 14 December 2023 17:22:01 +0000 (0:00:00.016) 0:00:02.076 ***** included: /WORKDIR/git-ansible-lint-test-2.1637sx_ez5/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-ansible-lint-test-2.1637sx_ez5/tests/tasks/show_interfaces.yml:3 Thursday 14 December 2023 17:22:01 +0000 (0:00:00.026) 0:00:02.103 ***** included: /WORKDIR/git-ansible-lint-test-2.1637sx_ez5/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-ansible-lint-test-2.1637sx_ez5/tests/tasks/get_current_interfaces.yml:3 Thursday 14 December 2023 17:22:01 +0000 (0:00:00.014) 0:00:02.118 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003650", "end": "2023-12-14 17:22:01.851872", "rc": 0, "start": "2023-12-14 17:22:01.848222" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-ansible-lint-test-2.1637sx_ez5/tests/tasks/get_current_interfaces.yml:9 Thursday 14 December 2023 17:22:01 +0000 (0:00:00.276) 0:00:02.394 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-ansible-lint-test-2.1637sx_ez5/tests/tasks/show_interfaces.yml:5 Thursday 14 December 2023 17:22:01 +0000 (0:00:00.032) 0:00:02.427 ***** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-ansible-lint-test-2.1637sx_ez5/tests/tasks/manage_test_interface.yml:16 Thursday 14 December 2023 17:22:02 +0000 (0:00:00.063) 0:00:02.491 ***** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth1298] ****************************************** task path: /WORKDIR/git-ansible-lint-test-2.1637sx_ez5/tests/tasks/manage_test_interface.yml:23 Thursday 14 December 2023 17:22:04 +0000 (0:00:02.352) 0:00:04.843 ***** 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.1637sx_ez5/tests/tasks/manage_test_interface.yml:31 Thursday 14 December 2023 17:22:04 +0000 (0:00:00.024) 0:00:04.868 ***** 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.1637sx_ez5/tests/tasks/manage_test_interface.yml:39 Thursday 14 December 2023 17:22:04 +0000 (0:00:00.012) 0:00:04.881 ***** 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.1637sx_ez5/tests/tasks/manage_test_interface.yml:45 Thursday 14 December 2023 17:22:04 +0000 (0:00:00.009) 0:00:04.891 ***** 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.1637sx_ez5/tests/tasks/manage_test_interface.yml:50 Thursday 14 December 2023 17:22:04 +0000 (0:00:00.010) 0:00:04.901 ***** 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.1637sx_ez5/tests/tasks/manage_test_interface.yml:56 Thursday 14 December 2023 17:22:04 +0000 (0:00:00.008) 0:00:04.909 ***** 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.1637sx_ez5/tests/tasks/manage_test_interface.yml:61 Thursday 14 December 2023 17:22:04 +0000 (0:00:00.007) 0:00:04.917 ***** 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.1637sx_ez5/tests/tasks/create_and_remove_interface.yml:9 Thursday 14 December 2023 17:22:04 +0000 (0:00:00.008) 0:00:04.925 ***** included: /WORKDIR/git-ansible-lint-test-2.1637sx_ez5/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-ansible-lint-test-2.1637sx_ez5/tests/tasks/show_interfaces.yml:3 Thursday 14 December 2023 17:22:04 +0000 (0:00:00.014) 0:00:04.940 ***** included: /WORKDIR/git-ansible-lint-test-2.1637sx_ez5/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-ansible-lint-test-2.1637sx_ez5/tests/tasks/get_current_interfaces.yml:3 Thursday 14 December 2023 17:22:04 +0000 (0:00:00.009) 0:00:04.949 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003588", "end": "2023-12-14 17:22:04.651972", "rc": 0, "start": "2023-12-14 17:22:04.648384" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-ansible-lint-test-2.1637sx_ez5/tests/tasks/get_current_interfaces.yml:9 Thursday 14 December 2023 17:22:04 +0000 (0:00:00.217) 0:00:05.166 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-ansible-lint-test-2.1637sx_ez5/tests/tasks/show_interfaces.yml:5 Thursday 14 December 2023 17:22:04 +0000 (0:00:00.010) 0:00:05.177 ***** 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.1637sx_ez5/tests/tasks/create_and_remove_interface.yml:11 Thursday 14 December 2023 17:22:04 +0000 (0:00:00.010) 0:00:05.188 ***** included: /WORKDIR/git-ansible-lint-test-2.1637sx_ez5/tests/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-ansible-lint-test-2.1637sx_ez5/tests/tasks/assert_device_absent.yml:3 Thursday 14 December 2023 17:22:04 +0000 (0:00:00.017) 0:00:05.205 ***** included: /WORKDIR/git-ansible-lint-test-2.1637sx_ez5/tests/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth1298] ***************************************** task path: /WORKDIR/git-ansible-lint-test-2.1637sx_ez5/tests/tasks/get_interface_stat.yml:3 Thursday 14 December 2023 17:22:04 +0000 (0:00:00.012) 0:00:05.218 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'veth1298'] ************************ task path: /WORKDIR/git-ansible-lint-test-2.1637sx_ez5/tests/tasks/assert_device_absent.yml:5 Thursday 14 December 2023 17:22:04 +0000 (0:00:00.216) 0:00:05.434 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-ansible-lint-test-2.1637sx_ez5/tests/tasks/create_and_remove_interface.yml:14 Thursday 14 December 2023 17:22:04 +0000 (0:00:00.021) 0:00:05.456 ***** included: /WORKDIR/git-ansible-lint-test-2.1637sx_ez5/tests/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-ansible-lint-test-2.1637sx_ez5/tests/tasks/manage_test_interface.yml:3 Thursday 14 December 2023 17:22:04 +0000 (0:00:00.020) 0:00:05.476 ***** 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.1637sx_ez5/tests/tasks/manage_test_interface.yml:8 Thursday 14 December 2023 17:22:05 +0000 (0:00:00.014) 0:00:05.490 ***** 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.1637sx_ez5/tests/tasks/manage_test_interface.yml:13 Thursday 14 December 2023 17:22:05 +0000 (0:00:00.008) 0:00:05.499 ***** included: /WORKDIR/git-ansible-lint-test-2.1637sx_ez5/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-ansible-lint-test-2.1637sx_ez5/tests/tasks/show_interfaces.yml:3 Thursday 14 December 2023 17:22:05 +0000 (0:00:00.011) 0:00:05.510 ***** included: /WORKDIR/git-ansible-lint-test-2.1637sx_ez5/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-ansible-lint-test-2.1637sx_ez5/tests/tasks/get_current_interfaces.yml:3 Thursday 14 December 2023 17:22:05 +0000 (0:00:00.009) 0:00:05.519 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003535", "end": "2023-12-14 17:22:05.210329", "rc": 0, "start": "2023-12-14 17:22:05.206794" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-ansible-lint-test-2.1637sx_ez5/tests/tasks/get_current_interfaces.yml:9 Thursday 14 December 2023 17:22:05 +0000 (0:00:00.205) 0:00:05.724 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-ansible-lint-test-2.1637sx_ez5/tests/tasks/show_interfaces.yml:5 Thursday 14 December 2023 17:22:05 +0000 (0:00:00.012) 0:00:05.737 ***** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-ansible-lint-test-2.1637sx_ez5/tests/tasks/manage_test_interface.yml:16 Thursday 14 December 2023 17:22:05 +0000 (0:00:00.009) 0:00:05.747 ***** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth1298] ****************************************** task path: /WORKDIR/git-ansible-lint-test-2.1637sx_ez5/tests/tasks/manage_test_interface.yml:23 Thursday 14 December 2023 17:22:07 +0000 (0:00:02.394) 0:00:08.141 ***** 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.007762", "end": "2023-12-14 17:22:07.844354", "item": "ip link add veth1298 type veth peer name peerveth1298", "rc": 0, "start": "2023-12-14 17:22:07.836592" } ok: [sut] => (item=ip link set peerveth1298 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peerveth1298", "up" ], "delta": "0:00:00.003825", "end": "2023-12-14 17:22:08.099368", "item": "ip link set peerveth1298 up", "rc": 0, "start": "2023-12-14 17:22:08.095543" } ok: [sut] => (item=ip link set veth1298 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "veth1298", "up" ], "delta": "0:00:00.004272", "end": "2023-12-14 17:22:08.322378", "item": "ip link set veth1298 up", "rc": 0, "start": "2023-12-14 17:22:08.318106" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-ansible-lint-test-2.1637sx_ez5/tests/tasks/manage_test_interface.yml:31 Thursday 14 December 2023 17:22:08 +0000 (0:00:00.697) 0:00:08.839 ***** ok: [sut] => { "changed": false, "cmd": [ "nmcli", "d", "set", "veth1298", "managed", "true" ], "delta": "0:00:00.022176", "end": "2023-12-14 17:22:08.556671", "rc": 0, "start": "2023-12-14 17:22:08.534495" } TASK [Delete veth interface veth1298] ****************************************** task path: /WORKDIR/git-ansible-lint-test-2.1637sx_ez5/tests/tasks/manage_test_interface.yml:39 Thursday 14 December 2023 17:22:08 +0000 (0:00:00.246) 0:00:09.085 ***** 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.1637sx_ez5/tests/tasks/manage_test_interface.yml:45 Thursday 14 December 2023 17:22:08 +0000 (0:00:00.010) 0:00:09.096 ***** 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.1637sx_ez5/tests/tasks/manage_test_interface.yml:50 Thursday 14 December 2023 17:22:08 +0000 (0:00:00.015) 0:00:09.111 ***** 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.1637sx_ez5/tests/tasks/manage_test_interface.yml:56 Thursday 14 December 2023 17:22:08 +0000 (0:00:00.011) 0:00:09.123 ***** 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.1637sx_ez5/tests/tasks/manage_test_interface.yml:61 Thursday 14 December 2023 17:22:08 +0000 (0:00:00.015) 0:00:09.138 ***** 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.1637sx_ez5/tests/tasks/create_and_remove_interface.yml:18 Thursday 14 December 2023 17:22:08 +0000 (0:00:00.014) 0:00:09.153 ***** included: /WORKDIR/git-ansible-lint-test-2.1637sx_ez5/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-ansible-lint-test-2.1637sx_ez5/tests/tasks/show_interfaces.yml:3 Thursday 14 December 2023 17:22:08 +0000 (0:00:00.015) 0:00:09.169 ***** included: /WORKDIR/git-ansible-lint-test-2.1637sx_ez5/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-ansible-lint-test-2.1637sx_ez5/tests/tasks/get_current_interfaces.yml:3 Thursday 14 December 2023 17:22:08 +0000 (0:00:00.009) 0:00:09.178 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003460", "end": "2023-12-14 17:22:08.873772", "rc": 0, "start": "2023-12-14 17:22:08.870312" } STDOUT: bonding_masters eth0 lo peerveth1298 veth1298 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-ansible-lint-test-2.1637sx_ez5/tests/tasks/get_current_interfaces.yml:9 Thursday 14 December 2023 17:22:08 +0000 (0:00:00.207) 0:00:09.386 ***** 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.1637sx_ez5/tests/tasks/show_interfaces.yml:5 Thursday 14 December 2023 17:22:08 +0000 (0:00:00.010) 0:00:09.396 ***** 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.1637sx_ez5/tests/tasks/create_and_remove_interface.yml:20 Thursday 14 December 2023 17:22:08 +0000 (0:00:00.024) 0:00:09.421 ***** included: /WORKDIR/git-ansible-lint-test-2.1637sx_ez5/tests/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-ansible-lint-test-2.1637sx_ez5/tests/tasks/assert_device_present.yml:3 Thursday 14 December 2023 17:22:08 +0000 (0:00:00.030) 0:00:09.451 ***** included: /WORKDIR/git-ansible-lint-test-2.1637sx_ez5/tests/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth1298] ***************************************** task path: /WORKDIR/git-ansible-lint-test-2.1637sx_ez5/tests/tasks/get_interface_stat.yml:3 Thursday 14 December 2023 17:22:08 +0000 (0:00:00.013) 0:00:09.465 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1702574527.8409846, "block_size": 4096, "blocks": 0, "ctime": 1702574527.8409846, "dev": 22, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 32975, "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": 1702574527.8409846, "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.1637sx_ez5/tests/tasks/assert_device_present.yml:5 Thursday 14 December 2023 17:22:09 +0000 (0:00:00.222) 0:00:09.687 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-ansible-lint-test-2.1637sx_ez5/tests/tasks/create_and_remove_interface.yml:23 Thursday 14 December 2023 17:22:09 +0000 (0:00:00.022) 0:00:09.710 ***** included: /WORKDIR/git-ansible-lint-test-2.1637sx_ez5/tests/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-ansible-lint-test-2.1637sx_ez5/tests/tasks/manage_test_interface.yml:3 Thursday 14 December 2023 17:22:09 +0000 (0:00:00.045) 0:00:09.756 ***** skipping: [sut] => { "changed": false, "false_condition": "state not in [\"present\", \"absent\"]", "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /WORKDIR/git-ansible-lint-test-2.1637sx_ez5/tests/tasks/manage_test_interface.yml:8 Thursday 14 December 2023 17:22:09 +0000 (0:00:00.013) 0:00:09.769 ***** 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.1637sx_ez5/tests/tasks/manage_test_interface.yml:13 Thursday 14 December 2023 17:22:09 +0000 (0:00:00.030) 0:00:09.799 ***** included: /WORKDIR/git-ansible-lint-test-2.1637sx_ez5/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-ansible-lint-test-2.1637sx_ez5/tests/tasks/show_interfaces.yml:3 Thursday 14 December 2023 17:22:09 +0000 (0:00:00.018) 0:00:09.817 ***** included: /WORKDIR/git-ansible-lint-test-2.1637sx_ez5/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-ansible-lint-test-2.1637sx_ez5/tests/tasks/get_current_interfaces.yml:3 Thursday 14 December 2023 17:22:09 +0000 (0:00:00.010) 0:00:09.827 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003651", "end": "2023-12-14 17:22:09.528162", "rc": 0, "start": "2023-12-14 17:22:09.524511" } STDOUT: bonding_masters eth0 lo peerveth1298 veth1298 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-ansible-lint-test-2.1637sx_ez5/tests/tasks/get_current_interfaces.yml:9 Thursday 14 December 2023 17:22:09 +0000 (0:00:00.211) 0:00:10.039 ***** 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.1637sx_ez5/tests/tasks/show_interfaces.yml:5 Thursday 14 December 2023 17:22:09 +0000 (0:00:00.009) 0:00:10.049 ***** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'peerveth1298', 'veth1298'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-ansible-lint-test-2.1637sx_ez5/tests/tasks/manage_test_interface.yml:16 Thursday 14 December 2023 17:22:09 +0000 (0:00:00.009) 0:00:10.059 ***** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth1298] ****************************************** task path: /WORKDIR/git-ansible-lint-test-2.1637sx_ez5/tests/tasks/manage_test_interface.yml:23 Thursday 14 December 2023 17:22:11 +0000 (0:00:02.162) 0:00:12.221 ***** 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.1637sx_ez5/tests/tasks/manage_test_interface.yml:31 Thursday 14 December 2023 17:22:11 +0000 (0:00:00.015) 0:00:12.236 ***** 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.1637sx_ez5/tests/tasks/manage_test_interface.yml:39 Thursday 14 December 2023 17:22:11 +0000 (0:00:00.008) 0:00:12.244 ***** ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "veth1298", "type", "veth" ], "delta": "0:00:00.009139", "end": "2023-12-14 17:22:11.951225", "rc": 0, "start": "2023-12-14 17:22:11.942086" } TASK [Create dummy interface veth1298] ***************************************** task path: /WORKDIR/git-ansible-lint-test-2.1637sx_ez5/tests/tasks/manage_test_interface.yml:45 Thursday 14 December 2023 17:22:11 +0000 (0:00:00.231) 0:00:12.476 ***** 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.1637sx_ez5/tests/tasks/manage_test_interface.yml:50 Thursday 14 December 2023 17:22:11 +0000 (0:00:00.009) 0:00:12.486 ***** 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.1637sx_ez5/tests/tasks/manage_test_interface.yml:56 Thursday 14 December 2023 17:22:12 +0000 (0:00:00.008) 0:00:12.494 ***** 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.1637sx_ez5/tests/tasks/manage_test_interface.yml:61 Thursday 14 December 2023 17:22:12 +0000 (0:00:00.009) 0:00:12.504 ***** 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.1637sx_ez5/tests/tasks/create_and_remove_interface.yml:27 Thursday 14 December 2023 17:22:12 +0000 (0:00:00.007) 0:00:12.511 ***** included: /WORKDIR/git-ansible-lint-test-2.1637sx_ez5/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-ansible-lint-test-2.1637sx_ez5/tests/tasks/show_interfaces.yml:3 Thursday 14 December 2023 17:22:12 +0000 (0:00:00.022) 0:00:12.534 ***** included: /WORKDIR/git-ansible-lint-test-2.1637sx_ez5/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-ansible-lint-test-2.1637sx_ez5/tests/tasks/get_current_interfaces.yml:3 Thursday 14 December 2023 17:22:12 +0000 (0:00:00.010) 0:00:12.544 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003720", "end": "2023-12-14 17:22:12.237863", "rc": 0, "start": "2023-12-14 17:22:12.234143" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-ansible-lint-test-2.1637sx_ez5/tests/tasks/get_current_interfaces.yml:9 Thursday 14 December 2023 17:22:12 +0000 (0:00:00.203) 0:00:12.748 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-ansible-lint-test-2.1637sx_ez5/tests/tasks/show_interfaces.yml:5 Thursday 14 December 2023 17:22:12 +0000 (0:00:00.009) 0:00:12.758 ***** 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.1637sx_ez5/tests/tasks/create_and_remove_interface.yml:29 Thursday 14 December 2023 17:22:12 +0000 (0:00:00.009) 0:00:12.767 ***** included: /WORKDIR/git-ansible-lint-test-2.1637sx_ez5/tests/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-ansible-lint-test-2.1637sx_ez5/tests/tasks/assert_device_absent.yml:3 Thursday 14 December 2023 17:22:12 +0000 (0:00:00.020) 0:00:12.787 ***** included: /WORKDIR/git-ansible-lint-test-2.1637sx_ez5/tests/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth1298] ***************************************** task path: /WORKDIR/git-ansible-lint-test-2.1637sx_ez5/tests/tasks/get_interface_stat.yml:3 Thursday 14 December 2023 17:22:12 +0000 (0:00:00.010) 0:00:12.797 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'veth1298'] ************************ task path: /WORKDIR/git-ansible-lint-test-2.1637sx_ez5/tests/tasks/assert_device_absent.yml:5 Thursday 14 December 2023 17:22:12 +0000 (0:00:00.202) 0:00:13.000 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test veth interface management] ****************************************** task path: /WORKDIR/git-ansible-lint-test-2.1637sx_ez5/tests/tests_helpers_and_asserts.yml:15 Thursday 14 December 2023 17:22:12 +0000 (0:00:00.011) 0:00:13.011 ***** included: /WORKDIR/git-ansible-lint-test-2.1637sx_ez5/tests/tasks/create_and_remove_interface.yml for sut TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-ansible-lint-test-2.1637sx_ez5/tests/tasks/create_and_remove_interface.yml:3 Thursday 14 December 2023 17:22:12 +0000 (0:00:00.012) 0:00:13.024 ***** included: /WORKDIR/git-ansible-lint-test-2.1637sx_ez5/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-ansible-lint-test-2.1637sx_ez5/tests/tasks/show_interfaces.yml:3 Thursday 14 December 2023 17:22:12 +0000 (0:00:00.010) 0:00:13.034 ***** included: /WORKDIR/git-ansible-lint-test-2.1637sx_ez5/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-ansible-lint-test-2.1637sx_ez5/tests/tasks/get_current_interfaces.yml:3 Thursday 14 December 2023 17:22:12 +0000 (0:00:00.009) 0:00:13.044 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003634", "end": "2023-12-14 17:22:12.740593", "rc": 0, "start": "2023-12-14 17:22:12.736959" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-ansible-lint-test-2.1637sx_ez5/tests/tasks/get_current_interfaces.yml:9 Thursday 14 December 2023 17:22:12 +0000 (0:00:00.208) 0:00:13.252 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-ansible-lint-test-2.1637sx_ez5/tests/tasks/show_interfaces.yml:5 Thursday 14 December 2023 17:22:12 +0000 (0:00:00.013) 0:00:13.266 ***** 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.1637sx_ez5/tests/tasks/create_and_remove_interface.yml:5 Thursday 14 December 2023 17:22:12 +0000 (0:00:00.008) 0:00:13.275 ***** included: /WORKDIR/git-ansible-lint-test-2.1637sx_ez5/tests/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-ansible-lint-test-2.1637sx_ez5/tests/tasks/manage_test_interface.yml:3 Thursday 14 December 2023 17:22:12 +0000 (0:00:00.013) 0:00:13.288 ***** 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.1637sx_ez5/tests/tasks/manage_test_interface.yml:8 Thursday 14 December 2023 17:22:12 +0000 (0:00:00.007) 0:00:13.296 ***** 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.1637sx_ez5/tests/tasks/manage_test_interface.yml:13 Thursday 14 December 2023 17:22:12 +0000 (0:00:00.007) 0:00:13.303 ***** included: /WORKDIR/git-ansible-lint-test-2.1637sx_ez5/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-ansible-lint-test-2.1637sx_ez5/tests/tasks/show_interfaces.yml:3 Thursday 14 December 2023 17:22:12 +0000 (0:00:00.010) 0:00:13.314 ***** included: /WORKDIR/git-ansible-lint-test-2.1637sx_ez5/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-ansible-lint-test-2.1637sx_ez5/tests/tasks/get_current_interfaces.yml:3 Thursday 14 December 2023 17:22:12 +0000 (0:00:00.009) 0:00:13.324 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003775", "end": "2023-12-14 17:22:13.018795", "rc": 0, "start": "2023-12-14 17:22:13.015020" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-ansible-lint-test-2.1637sx_ez5/tests/tasks/get_current_interfaces.yml:9 Thursday 14 December 2023 17:22:13 +0000 (0:00:00.205) 0:00:13.529 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-ansible-lint-test-2.1637sx_ez5/tests/tasks/show_interfaces.yml:5 Thursday 14 December 2023 17:22:13 +0000 (0:00:00.012) 0:00:13.542 ***** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-ansible-lint-test-2.1637sx_ez5/tests/tasks/manage_test_interface.yml:16 Thursday 14 December 2023 17:22:13 +0000 (0:00:00.017) 0:00:13.559 ***** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface dummy1298] ***************************************** task path: /WORKDIR/git-ansible-lint-test-2.1637sx_ez5/tests/tasks/manage_test_interface.yml:23 Thursday 14 December 2023 17:22:15 +0000 (0:00:02.199) 0:00:15.759 ***** 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.1637sx_ez5/tests/tasks/manage_test_interface.yml:31 Thursday 14 December 2023 17:22:15 +0000 (0:00:00.032) 0:00:15.791 ***** 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.1637sx_ez5/tests/tasks/manage_test_interface.yml:39 Thursday 14 December 2023 17:22:15 +0000 (0:00:00.017) 0:00:15.808 ***** 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.1637sx_ez5/tests/tasks/manage_test_interface.yml:45 Thursday 14 December 2023 17:22:15 +0000 (0:00:00.008) 0:00:15.817 ***** 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.1637sx_ez5/tests/tasks/manage_test_interface.yml:50 Thursday 14 December 2023 17:22:15 +0000 (0:00:00.008) 0:00:15.825 ***** 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.1637sx_ez5/tests/tasks/manage_test_interface.yml:56 Thursday 14 December 2023 17:22:15 +0000 (0:00:00.010) 0:00:15.836 ***** 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.1637sx_ez5/tests/tasks/manage_test_interface.yml:61 Thursday 14 December 2023 17:22:15 +0000 (0:00:00.016) 0:00:15.852 ***** 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.1637sx_ez5/tests/tasks/create_and_remove_interface.yml:9 Thursday 14 December 2023 17:22:15 +0000 (0:00:00.007) 0:00:15.860 ***** included: /WORKDIR/git-ansible-lint-test-2.1637sx_ez5/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-ansible-lint-test-2.1637sx_ez5/tests/tasks/show_interfaces.yml:3 Thursday 14 December 2023 17:22:15 +0000 (0:00:00.013) 0:00:15.874 ***** included: /WORKDIR/git-ansible-lint-test-2.1637sx_ez5/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-ansible-lint-test-2.1637sx_ez5/tests/tasks/get_current_interfaces.yml:3 Thursday 14 December 2023 17:22:15 +0000 (0:00:00.011) 0:00:15.885 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:01.004963", "end": "2023-12-14 17:22:16.584153", "rc": 0, "start": "2023-12-14 17:22:15.579190" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-ansible-lint-test-2.1637sx_ez5/tests/tasks/get_current_interfaces.yml:9 Thursday 14 December 2023 17:22:16 +0000 (0:00:01.209) 0:00:17.095 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-ansible-lint-test-2.1637sx_ez5/tests/tasks/show_interfaces.yml:5 Thursday 14 December 2023 17:22:16 +0000 (0:00:00.010) 0:00:17.106 ***** 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.1637sx_ez5/tests/tasks/create_and_remove_interface.yml:11 Thursday 14 December 2023 17:22:16 +0000 (0:00:00.008) 0:00:17.114 ***** included: /WORKDIR/git-ansible-lint-test-2.1637sx_ez5/tests/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-ansible-lint-test-2.1637sx_ez5/tests/tasks/assert_device_absent.yml:3 Thursday 14 December 2023 17:22:16 +0000 (0:00:00.013) 0:00:17.128 ***** included: /WORKDIR/git-ansible-lint-test-2.1637sx_ez5/tests/tasks/get_interface_stat.yml for sut TASK [Get stat for interface dummy1298] **************************************** task path: /WORKDIR/git-ansible-lint-test-2.1637sx_ez5/tests/tasks/get_interface_stat.yml:3 Thursday 14 December 2023 17:22:16 +0000 (0:00:00.009) 0:00:17.137 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'dummy1298'] *********************** task path: /WORKDIR/git-ansible-lint-test-2.1637sx_ez5/tests/tasks/assert_device_absent.yml:5 Thursday 14 December 2023 17:22:16 +0000 (0:00:00.197) 0:00:17.335 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-ansible-lint-test-2.1637sx_ez5/tests/tasks/create_and_remove_interface.yml:14 Thursday 14 December 2023 17:22:16 +0000 (0:00:00.024) 0:00:17.360 ***** included: /WORKDIR/git-ansible-lint-test-2.1637sx_ez5/tests/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-ansible-lint-test-2.1637sx_ez5/tests/tasks/manage_test_interface.yml:3 Thursday 14 December 2023 17:22:16 +0000 (0:00:00.021) 0:00:17.382 ***** 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.1637sx_ez5/tests/tasks/manage_test_interface.yml:8 Thursday 14 December 2023 17:22:16 +0000 (0:00:00.014) 0:00:17.396 ***** 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.1637sx_ez5/tests/tasks/manage_test_interface.yml:13 Thursday 14 December 2023 17:22:16 +0000 (0:00:00.017) 0:00:17.414 ***** included: /WORKDIR/git-ansible-lint-test-2.1637sx_ez5/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-ansible-lint-test-2.1637sx_ez5/tests/tasks/show_interfaces.yml:3 Thursday 14 December 2023 17:22:16 +0000 (0:00:00.026) 0:00:17.440 ***** included: /WORKDIR/git-ansible-lint-test-2.1637sx_ez5/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-ansible-lint-test-2.1637sx_ez5/tests/tasks/get_current_interfaces.yml:3 Thursday 14 December 2023 17:22:16 +0000 (0:00:00.015) 0:00:17.455 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003664", "end": "2023-12-14 17:22:17.149216", "rc": 0, "start": "2023-12-14 17:22:17.145552" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-ansible-lint-test-2.1637sx_ez5/tests/tasks/get_current_interfaces.yml:9 Thursday 14 December 2023 17:22:17 +0000 (0:00:00.212) 0:00:17.668 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-ansible-lint-test-2.1637sx_ez5/tests/tasks/show_interfaces.yml:5 Thursday 14 December 2023 17:22:17 +0000 (0:00:00.012) 0:00:17.681 ***** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-ansible-lint-test-2.1637sx_ez5/tests/tasks/manage_test_interface.yml:16 Thursday 14 December 2023 17:22:17 +0000 (0:00:00.011) 0:00:17.692 ***** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface dummy1298] ***************************************** task path: /WORKDIR/git-ansible-lint-test-2.1637sx_ez5/tests/tasks/manage_test_interface.yml:23 Thursday 14 December 2023 17:22:19 +0000 (0:00:02.164) 0:00:19.856 ***** 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.1637sx_ez5/tests/tasks/manage_test_interface.yml:31 Thursday 14 December 2023 17:22:19 +0000 (0:00:00.016) 0:00:19.872 ***** 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.1637sx_ez5/tests/tasks/manage_test_interface.yml:39 Thursday 14 December 2023 17:22:19 +0000 (0:00:00.015) 0:00:19.888 ***** 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.1637sx_ez5/tests/tasks/manage_test_interface.yml:45 Thursday 14 December 2023 17:22:19 +0000 (0:00:00.017) 0:00:19.906 ***** ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "add", "dummy1298", "type", "dummy" ], "delta": "0:00:00.077724", "end": "2023-12-14 17:22:19.687453", "rc": 0, "start": "2023-12-14 17:22:19.609729" } TASK [Delete dummy interface dummy1298] **************************************** task path: /WORKDIR/git-ansible-lint-test-2.1637sx_ez5/tests/tasks/manage_test_interface.yml:50 Thursday 14 December 2023 17:22:19 +0000 (0:00:00.307) 0:00:20.213 ***** 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.1637sx_ez5/tests/tasks/manage_test_interface.yml:56 Thursday 14 December 2023 17:22:19 +0000 (0:00:00.013) 0:00:20.226 ***** skipping: [sut] => { "changed": false, "false_condition": "type == 'tap' and state == 'present' and interface not in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Delete tap interface dummy1298] ****************************************** task path: /WORKDIR/git-ansible-lint-test-2.1637sx_ez5/tests/tasks/manage_test_interface.yml:61 Thursday 14 December 2023 17:22:19 +0000 (0:00:00.011) 0:00:20.238 ***** 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.1637sx_ez5/tests/tasks/create_and_remove_interface.yml:18 Thursday 14 December 2023 17:22:19 +0000 (0:00:00.014) 0:00:20.253 ***** included: /WORKDIR/git-ansible-lint-test-2.1637sx_ez5/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-ansible-lint-test-2.1637sx_ez5/tests/tasks/show_interfaces.yml:3 Thursday 14 December 2023 17:22:19 +0000 (0:00:00.021) 0:00:20.275 ***** included: /WORKDIR/git-ansible-lint-test-2.1637sx_ez5/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-ansible-lint-test-2.1637sx_ez5/tests/tasks/get_current_interfaces.yml:3 Thursday 14 December 2023 17:22:19 +0000 (0:00:00.012) 0:00:20.287 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003610", "end": "2023-12-14 17:22:20.007702", "rc": 0, "start": "2023-12-14 17:22:20.004092" } STDOUT: bonding_masters dummy1298 eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-ansible-lint-test-2.1637sx_ez5/tests/tasks/get_current_interfaces.yml:9 Thursday 14 December 2023 17:22:20 +0000 (0:00:00.250) 0:00:20.537 ***** 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.1637sx_ez5/tests/tasks/show_interfaces.yml:5 Thursday 14 December 2023 17:22:20 +0000 (0:00:00.010) 0:00:20.548 ***** 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.1637sx_ez5/tests/tasks/create_and_remove_interface.yml:20 Thursday 14 December 2023 17:22:20 +0000 (0:00:00.023) 0:00:20.572 ***** included: /WORKDIR/git-ansible-lint-test-2.1637sx_ez5/tests/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-ansible-lint-test-2.1637sx_ez5/tests/tasks/assert_device_present.yml:3 Thursday 14 December 2023 17:22:20 +0000 (0:00:00.018) 0:00:20.590 ***** included: /WORKDIR/git-ansible-lint-test-2.1637sx_ez5/tests/tasks/get_interface_stat.yml for sut TASK [Get stat for interface dummy1298] **************************************** task path: /WORKDIR/git-ansible-lint-test-2.1637sx_ez5/tests/tasks/get_interface_stat.yml:3 Thursday 14 December 2023 17:22:20 +0000 (0:00:00.011) 0:00:20.601 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1702574539.6863248, "block_size": 4096, "blocks": 0, "ctime": 1702574539.6863248, "dev": 22, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 33307, "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": 1702574539.6863248, "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.1637sx_ez5/tests/tasks/assert_device_present.yml:5 Thursday 14 December 2023 17:22:20 +0000 (0:00:00.206) 0:00:20.808 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-ansible-lint-test-2.1637sx_ez5/tests/tasks/create_and_remove_interface.yml:23 Thursday 14 December 2023 17:22:20 +0000 (0:00:00.010) 0:00:20.818 ***** included: /WORKDIR/git-ansible-lint-test-2.1637sx_ez5/tests/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-ansible-lint-test-2.1637sx_ez5/tests/tasks/manage_test_interface.yml:3 Thursday 14 December 2023 17:22:20 +0000 (0:00:00.019) 0:00:20.837 ***** 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.1637sx_ez5/tests/tasks/manage_test_interface.yml:8 Thursday 14 December 2023 17:22:20 +0000 (0:00:00.007) 0:00:20.845 ***** 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.1637sx_ez5/tests/tasks/manage_test_interface.yml:13 Thursday 14 December 2023 17:22:20 +0000 (0:00:00.007) 0:00:20.852 ***** included: /WORKDIR/git-ansible-lint-test-2.1637sx_ez5/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-ansible-lint-test-2.1637sx_ez5/tests/tasks/show_interfaces.yml:3 Thursday 14 December 2023 17:22:20 +0000 (0:00:00.010) 0:00:20.863 ***** included: /WORKDIR/git-ansible-lint-test-2.1637sx_ez5/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-ansible-lint-test-2.1637sx_ez5/tests/tasks/get_current_interfaces.yml:3 Thursday 14 December 2023 17:22:20 +0000 (0:00:00.009) 0:00:20.873 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003531", "end": "2023-12-14 17:22:20.567060", "rc": 0, "start": "2023-12-14 17:22:20.563529" } STDOUT: bonding_masters dummy1298 eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-ansible-lint-test-2.1637sx_ez5/tests/tasks/get_current_interfaces.yml:9 Thursday 14 December 2023 17:22:20 +0000 (0:00:00.210) 0:00:21.083 ***** 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.1637sx_ez5/tests/tasks/show_interfaces.yml:5 Thursday 14 December 2023 17:22:20 +0000 (0:00:00.009) 0:00:21.093 ***** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'dummy1298', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-ansible-lint-test-2.1637sx_ez5/tests/tasks/manage_test_interface.yml:16 Thursday 14 December 2023 17:22:20 +0000 (0:00:00.019) 0:00:21.112 ***** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface dummy1298] ***************************************** task path: /WORKDIR/git-ansible-lint-test-2.1637sx_ez5/tests/tasks/manage_test_interface.yml:23 Thursday 14 December 2023 17:22:22 +0000 (0:00:02.149) 0:00:23.262 ***** 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.1637sx_ez5/tests/tasks/manage_test_interface.yml:31 Thursday 14 December 2023 17:22:22 +0000 (0:00:00.019) 0:00:23.282 ***** 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.1637sx_ez5/tests/tasks/manage_test_interface.yml:39 Thursday 14 December 2023 17:22:22 +0000 (0:00:00.010) 0:00:23.293 ***** 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.1637sx_ez5/tests/tasks/manage_test_interface.yml:45 Thursday 14 December 2023 17:22:22 +0000 (0:00:00.010) 0:00:23.303 ***** 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.1637sx_ez5/tests/tasks/manage_test_interface.yml:50 Thursday 14 December 2023 17:22:22 +0000 (0:00:00.025) 0:00:23.328 ***** ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "dummy1298", "type", "dummy" ], "delta": "0:00:00.019099", "end": "2023-12-14 17:22:23.044144", "rc": 0, "start": "2023-12-14 17:22:23.025045" } TASK [Create tap interface dummy1298] ****************************************** task path: /WORKDIR/git-ansible-lint-test-2.1637sx_ez5/tests/tasks/manage_test_interface.yml:56 Thursday 14 December 2023 17:22:23 +0000 (0:00:00.230) 0:00:23.558 ***** 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.1637sx_ez5/tests/tasks/manage_test_interface.yml:61 Thursday 14 December 2023 17:22:23 +0000 (0:00:00.009) 0:00:23.568 ***** 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.1637sx_ez5/tests/tasks/create_and_remove_interface.yml:27 Thursday 14 December 2023 17:22:23 +0000 (0:00:00.008) 0:00:23.576 ***** included: /WORKDIR/git-ansible-lint-test-2.1637sx_ez5/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-ansible-lint-test-2.1637sx_ez5/tests/tasks/show_interfaces.yml:3 Thursday 14 December 2023 17:22:23 +0000 (0:00:00.019) 0:00:23.595 ***** included: /WORKDIR/git-ansible-lint-test-2.1637sx_ez5/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-ansible-lint-test-2.1637sx_ez5/tests/tasks/get_current_interfaces.yml:3 Thursday 14 December 2023 17:22:23 +0000 (0:00:00.011) 0:00:23.607 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003548", "end": "2023-12-14 17:22:23.316546", "rc": 0, "start": "2023-12-14 17:22:23.312998" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-ansible-lint-test-2.1637sx_ez5/tests/tasks/get_current_interfaces.yml:9 Thursday 14 December 2023 17:22:23 +0000 (0:00:00.239) 0:00:23.846 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-ansible-lint-test-2.1637sx_ez5/tests/tasks/show_interfaces.yml:5 Thursday 14 December 2023 17:22:23 +0000 (0:00:00.011) 0:00:23.858 ***** 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.1637sx_ez5/tests/tasks/create_and_remove_interface.yml:29 Thursday 14 December 2023 17:22:23 +0000 (0:00:00.009) 0:00:23.868 ***** included: /WORKDIR/git-ansible-lint-test-2.1637sx_ez5/tests/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-ansible-lint-test-2.1637sx_ez5/tests/tasks/assert_device_absent.yml:3 Thursday 14 December 2023 17:22:23 +0000 (0:00:00.019) 0:00:23.887 ***** included: /WORKDIR/git-ansible-lint-test-2.1637sx_ez5/tests/tasks/get_interface_stat.yml for sut TASK [Get stat for interface dummy1298] **************************************** task path: /WORKDIR/git-ansible-lint-test-2.1637sx_ez5/tests/tasks/get_interface_stat.yml:3 Thursday 14 December 2023 17:22:23 +0000 (0:00:00.010) 0:00:23.897 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'dummy1298'] *********************** task path: /WORKDIR/git-ansible-lint-test-2.1637sx_ez5/tests/tasks/assert_device_absent.yml:5 Thursday 14 December 2023 17:22:23 +0000 (0:00:00.198) 0:00:24.096 ***** ok: [sut] => { "changed": false } MSG: All assertions passed PLAY RECAP ********************************************************************* sut : ok=119 changed=0 unreachable=0 failed=0 skipped=55 rescued=0 ignored=0 Thursday 14 December 2023 17:22:23 +0000 (0:00:00.015) 0:00:24.111 ***** =============================================================================== Install iproute --------------------------------------------------------- 2.39s /WORKDIR/git-ansible-lint-test-2.1637sx_ez5/tests/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 2.35s /WORKDIR/git-ansible-lint-test-2.1637sx_ez5/tests/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 2.20s /WORKDIR/git-ansible-lint-test-2.1637sx_ez5/tests/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 2.16s /WORKDIR/git-ansible-lint-test-2.1637sx_ez5/tests/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 2.16s /WORKDIR/git-ansible-lint-test-2.1637sx_ez5/tests/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 2.15s /WORKDIR/git-ansible-lint-test-2.1637sx_ez5/tests/tasks/manage_test_interface.yml:16 Gather current interface info ------------------------------------------- 1.21s /WORKDIR/git-ansible-lint-test-2.1637sx_ez5/tests/tasks/get_current_interfaces.yml:3 Gathering Facts --------------------------------------------------------- 0.89s /WORKDIR/git-ansible-lint-test-2.1637sx_ez5/tests/tests_helpers_and_asserts.yml:3 Create veth interface veth1298 ------------------------------------------ 0.70s /WORKDIR/git-ansible-lint-test-2.1637sx_ez5/tests/tasks/manage_test_interface.yml:23 Gather the minimum subset of ansible_facts required by the network role test --- 0.36s /WORKDIR/git-ansible-lint-test-2.1637sx_ez5/tests/tasks/el_repo_setup.yml:3 --- Create dummy interface dummy1298 ---------------------------------------- 0.31s /WORKDIR/git-ansible-lint-test-2.1637sx_ez5/tests/tasks/manage_test_interface.yml:45 Gather current interface info ------------------------------------------- 0.28s /WORKDIR/git-ansible-lint-test-2.1637sx_ez5/tests/tasks/get_current_interfaces.yml:3 Gather current interface info ------------------------------------------- 0.28s /WORKDIR/git-ansible-lint-test-2.1637sx_ez5/tests/tasks/get_current_interfaces.yml:3 Check if system is ostree ----------------------------------------------- 0.27s /WORKDIR/git-ansible-lint-test-2.1637sx_ez5/tests/tasks/el_repo_setup.yml:17 -- Gather current interface info ------------------------------------------- 0.25s /WORKDIR/git-ansible-lint-test-2.1637sx_ez5/tests/tasks/get_current_interfaces.yml:3 Set up veth as managed by NetworkManager -------------------------------- 0.25s /WORKDIR/git-ansible-lint-test-2.1637sx_ez5/tests/tasks/manage_test_interface.yml:31 Gather current interface info ------------------------------------------- 0.24s /WORKDIR/git-ansible-lint-test-2.1637sx_ez5/tests/tasks/get_current_interfaces.yml:3 Delete veth interface veth1298 ------------------------------------------ 0.23s /WORKDIR/git-ansible-lint-test-2.1637sx_ez5/tests/tasks/manage_test_interface.yml:39 Delete dummy interface dummy1298 ---------------------------------------- 0.23s /WORKDIR/git-ansible-lint-test-2.1637sx_ez5/tests/tasks/manage_test_interface.yml:50 Get stat for interface veth1298 ----------------------------------------- 0.22s /WORKDIR/git-ansible-lint-test-2.1637sx_ez5/tests/tasks/get_interface_stat.yml:3 ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- [DEPRECATION WARNING]: ANSIBLE_COLLECTIONS_PATHS option, does not fit var naming standard, use the singular form ANSIBLE_COLLECTIONS_PATH instead. This feature will be removed from ansible-core in version 2.19. Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg. ---^---^---^---^---^---