# 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.166ty0ly24/.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.166ty0ly24/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.166ty0ly24/tests/tests_helpers_and_asserts.yml:3 Thursday 14 December 2023 17:30:11 +0000 (0:00:00.060) 0:00:00.060 ***** ok: [sut] TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-ansible-lint-test-2.166ty0ly24/tests/tests_helpers_and_asserts.yml:6 Thursday 14 December 2023 17:30:12 +0000 (0:00:00.873) 0:00:00.933 ***** included: /WORKDIR/git-ansible-lint-test-2.166ty0ly24/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.166ty0ly24/tests/tasks/el_repo_setup.yml:3 Thursday 14 December 2023 17:30:12 +0000 (0:00:00.041) 0:00:00.974 ***** ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-ansible-lint-test-2.166ty0ly24/tests/tasks/el_repo_setup.yml:17 Thursday 14 December 2023 17:30:13 +0000 (0:00:00.412) 0:00:01.387 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-ansible-lint-test-2.166ty0ly24/tests/tasks/el_repo_setup.yml:22 Thursday 14 December 2023 17:30:13 +0000 (0:00:00.276) 0:00:01.664 ***** ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-ansible-lint-test-2.166ty0ly24/tests/tasks/el_repo_setup.yml:26 Thursday 14 December 2023 17:30:13 +0000 (0:00:00.018) 0:00:01.682 ***** 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.166ty0ly24/tests/tasks/el_repo_setup.yml:51 Thursday 14 December 2023 17:30:13 +0000 (0:00:00.010) 0:00:01.692 ***** included: /WORKDIR/git-ansible-lint-test-2.166ty0ly24/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 9] *********************************************************** task path: /WORKDIR/git-ansible-lint-test-2.166ty0ly24/tests/tasks/enable_epel.yml:8 Thursday 14 December 2023 17:30:13 +0000 (0:00:00.039) 0:00:01.732 ***** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version in ['7', '8']", "skip_reason": "Conditional result was False" } TASK [Install yum-utils package] *********************************************** task path: /WORKDIR/git-ansible-lint-test-2.166ty0ly24/tests/tasks/enable_epel.yml:24 Thursday 14 December 2023 17:30:13 +0000 (0:00:00.010) 0:00:01.742 ***** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version in ['7', '8']", "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /WORKDIR/git-ansible-lint-test-2.166ty0ly24/tests/tasks/enable_epel.yml:30 Thursday 14 December 2023 17:30:13 +0000 (0:00:00.010) 0:00:01.753 ***** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version in ['7', '8']", "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /WORKDIR/git-ansible-lint-test-2.166ty0ly24/tests/tasks/enable_epel.yml:35 Thursday 14 December 2023 17:30:13 +0000 (0:00:00.013) 0:00:01.766 ***** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version in ['7', '8']", "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-ansible-lint-test-2.166ty0ly24/tests/tasks/enable_epel.yml:40 Thursday 14 December 2023 17:30:13 +0000 (0:00:00.014) 0:00:01.780 ***** 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.166ty0ly24/tests/tests_helpers_and_asserts.yml:9 Thursday 14 December 2023 17:30:13 +0000 (0:00:00.010) 0:00:01.790 ***** included: /WORKDIR/git-ansible-lint-test-2.166ty0ly24/tests/tasks/create_and_remove_interface.yml for sut TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-ansible-lint-test-2.166ty0ly24/tests/tasks/create_and_remove_interface.yml:3 Thursday 14 December 2023 17:30:13 +0000 (0:00:00.019) 0:00:01.809 ***** included: /WORKDIR/git-ansible-lint-test-2.166ty0ly24/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-ansible-lint-test-2.166ty0ly24/tests/tasks/show_interfaces.yml:3 Thursday 14 December 2023 17:30:13 +0000 (0:00:00.015) 0:00:01.825 ***** included: /WORKDIR/git-ansible-lint-test-2.166ty0ly24/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-ansible-lint-test-2.166ty0ly24/tests/tasks/get_current_interfaces.yml:3 Thursday 14 December 2023 17:30:13 +0000 (0:00:00.009) 0:00:01.835 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003369", "end": "2023-12-14 12:30:13.704119", "rc": 0, "start": "2023-12-14 12:30:13.700750" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-ansible-lint-test-2.166ty0ly24/tests/tasks/get_current_interfaces.yml:9 Thursday 14 December 2023 17:30:13 +0000 (0:00:00.261) 0:00:02.096 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-ansible-lint-test-2.166ty0ly24/tests/tasks/show_interfaces.yml:5 Thursday 14 December 2023 17:30:13 +0000 (0:00:00.020) 0:00:02.116 ***** 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.166ty0ly24/tests/tasks/create_and_remove_interface.yml:5 Thursday 14 December 2023 17:30:13 +0000 (0:00:00.015) 0:00:02.132 ***** included: /WORKDIR/git-ansible-lint-test-2.166ty0ly24/tests/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-ansible-lint-test-2.166ty0ly24/tests/tasks/manage_test_interface.yml:3 Thursday 14 December 2023 17:30:13 +0000 (0:00:00.029) 0:00:02.161 ***** 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.166ty0ly24/tests/tasks/manage_test_interface.yml:8 Thursday 14 December 2023 17:30:13 +0000 (0:00:00.042) 0:00:02.203 ***** 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.166ty0ly24/tests/tasks/manage_test_interface.yml:13 Thursday 14 December 2023 17:30:13 +0000 (0:00:00.014) 0:00:02.217 ***** included: /WORKDIR/git-ansible-lint-test-2.166ty0ly24/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-ansible-lint-test-2.166ty0ly24/tests/tasks/show_interfaces.yml:3 Thursday 14 December 2023 17:30:13 +0000 (0:00:00.017) 0:00:02.235 ***** included: /WORKDIR/git-ansible-lint-test-2.166ty0ly24/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-ansible-lint-test-2.166ty0ly24/tests/tasks/get_current_interfaces.yml:3 Thursday 14 December 2023 17:30:13 +0000 (0:00:00.014) 0:00:02.249 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003262", "end": "2023-12-14 12:30:14.075262", "rc": 0, "start": "2023-12-14 12:30:14.072000" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-ansible-lint-test-2.166ty0ly24/tests/tasks/get_current_interfaces.yml:9 Thursday 14 December 2023 17:30:14 +0000 (0:00:00.223) 0:00:02.473 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-ansible-lint-test-2.166ty0ly24/tests/tasks/show_interfaces.yml:5 Thursday 14 December 2023 17:30:14 +0000 (0:00:00.009) 0:00:02.483 ***** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-ansible-lint-test-2.166ty0ly24/tests/tasks/manage_test_interface.yml:16 Thursday 14 December 2023 17:30:14 +0000 (0:00:00.017) 0:00:02.500 ***** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth1298] ****************************************** task path: /WORKDIR/git-ansible-lint-test-2.166ty0ly24/tests/tasks/manage_test_interface.yml:23 Thursday 14 December 2023 17:30:15 +0000 (0:00:00.878) 0:00:03.379 ***** 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.166ty0ly24/tests/tasks/manage_test_interface.yml:31 Thursday 14 December 2023 17:30:15 +0000 (0:00:00.018) 0:00:03.397 ***** 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.166ty0ly24/tests/tasks/manage_test_interface.yml:39 Thursday 14 December 2023 17:30:15 +0000 (0:00:00.008) 0:00:03.405 ***** 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.166ty0ly24/tests/tasks/manage_test_interface.yml:45 Thursday 14 December 2023 17:30:15 +0000 (0:00:00.054) 0:00:03.459 ***** 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.166ty0ly24/tests/tasks/manage_test_interface.yml:50 Thursday 14 December 2023 17:30:15 +0000 (0:00:00.013) 0:00:03.473 ***** 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.166ty0ly24/tests/tasks/manage_test_interface.yml:56 Thursday 14 December 2023 17:30:15 +0000 (0:00:00.010) 0:00:03.484 ***** 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.166ty0ly24/tests/tasks/manage_test_interface.yml:61 Thursday 14 December 2023 17:30:15 +0000 (0:00:00.018) 0:00:03.502 ***** 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.166ty0ly24/tests/tasks/create_and_remove_interface.yml:9 Thursday 14 December 2023 17:30:15 +0000 (0:00:00.018) 0:00:03.521 ***** included: /WORKDIR/git-ansible-lint-test-2.166ty0ly24/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-ansible-lint-test-2.166ty0ly24/tests/tasks/show_interfaces.yml:3 Thursday 14 December 2023 17:30:15 +0000 (0:00:00.018) 0:00:03.539 ***** included: /WORKDIR/git-ansible-lint-test-2.166ty0ly24/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-ansible-lint-test-2.166ty0ly24/tests/tasks/get_current_interfaces.yml:3 Thursday 14 December 2023 17:30:15 +0000 (0:00:00.010) 0:00:03.549 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003356", "end": "2023-12-14 12:30:15.368041", "rc": 0, "start": "2023-12-14 12:30:15.364685" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-ansible-lint-test-2.166ty0ly24/tests/tasks/get_current_interfaces.yml:9 Thursday 14 December 2023 17:30:15 +0000 (0:00:00.199) 0:00:03.749 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-ansible-lint-test-2.166ty0ly24/tests/tasks/show_interfaces.yml:5 Thursday 14 December 2023 17:30:15 +0000 (0:00:00.009) 0:00:03.759 ***** 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.166ty0ly24/tests/tasks/create_and_remove_interface.yml:11 Thursday 14 December 2023 17:30:15 +0000 (0:00:00.008) 0:00:03.767 ***** included: /WORKDIR/git-ansible-lint-test-2.166ty0ly24/tests/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-ansible-lint-test-2.166ty0ly24/tests/tasks/assert_device_absent.yml:3 Thursday 14 December 2023 17:30:15 +0000 (0:00:00.017) 0:00:03.785 ***** included: /WORKDIR/git-ansible-lint-test-2.166ty0ly24/tests/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth1298] ***************************************** task path: /WORKDIR/git-ansible-lint-test-2.166ty0ly24/tests/tasks/get_interface_stat.yml:3 Thursday 14 December 2023 17:30:15 +0000 (0:00:00.010) 0:00:03.795 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'veth1298'] ************************ task path: /WORKDIR/git-ansible-lint-test-2.166ty0ly24/tests/tasks/assert_device_absent.yml:5 Thursday 14 December 2023 17:30:15 +0000 (0:00:00.184) 0:00:03.979 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-ansible-lint-test-2.166ty0ly24/tests/tasks/create_and_remove_interface.yml:14 Thursday 14 December 2023 17:30:15 +0000 (0:00:00.010) 0:00:03.990 ***** included: /WORKDIR/git-ansible-lint-test-2.166ty0ly24/tests/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-ansible-lint-test-2.166ty0ly24/tests/tasks/manage_test_interface.yml:3 Thursday 14 December 2023 17:30:15 +0000 (0:00:00.015) 0:00:04.005 ***** 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.166ty0ly24/tests/tasks/manage_test_interface.yml:8 Thursday 14 December 2023 17:30:15 +0000 (0:00:00.008) 0:00:04.014 ***** 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.166ty0ly24/tests/tasks/manage_test_interface.yml:13 Thursday 14 December 2023 17:30:15 +0000 (0:00:00.008) 0:00:04.023 ***** included: /WORKDIR/git-ansible-lint-test-2.166ty0ly24/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-ansible-lint-test-2.166ty0ly24/tests/tasks/show_interfaces.yml:3 Thursday 14 December 2023 17:30:15 +0000 (0:00:00.019) 0:00:04.042 ***** included: /WORKDIR/git-ansible-lint-test-2.166ty0ly24/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-ansible-lint-test-2.166ty0ly24/tests/tasks/get_current_interfaces.yml:3 Thursday 14 December 2023 17:30:15 +0000 (0:00:00.012) 0:00:04.054 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003273", "end": "2023-12-14 12:30:15.892472", "rc": 0, "start": "2023-12-14 12:30:15.889199" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-ansible-lint-test-2.166ty0ly24/tests/tasks/get_current_interfaces.yml:9 Thursday 14 December 2023 17:30:15 +0000 (0:00:00.242) 0:00:04.296 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-ansible-lint-test-2.166ty0ly24/tests/tasks/show_interfaces.yml:5 Thursday 14 December 2023 17:30:15 +0000 (0:00:00.011) 0:00:04.308 ***** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-ansible-lint-test-2.166ty0ly24/tests/tasks/manage_test_interface.yml:16 Thursday 14 December 2023 17:30:15 +0000 (0:00:00.013) 0:00:04.321 ***** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth1298] ****************************************** task path: /WORKDIR/git-ansible-lint-test-2.166ty0ly24/tests/tasks/manage_test_interface.yml:23 Thursday 14 December 2023 17:30:16 +0000 (0:00:00.817) 0:00:05.139 ***** 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.009410", "end": "2023-12-14 12:30:16.957790", "item": "ip link add veth1298 type veth peer name peerveth1298", "rc": 0, "start": "2023-12-14 12:30:16.948380" } ok: [sut] => (item=ip link set peerveth1298 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peerveth1298", "up" ], "delta": "0:00:00.003600", "end": "2023-12-14 12:30:17.179057", "item": "ip link set peerveth1298 up", "rc": 0, "start": "2023-12-14 12:30:17.175457" } ok: [sut] => (item=ip link set veth1298 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "veth1298", "up" ], "delta": "0:00:00.003622", "end": "2023-12-14 12:30:17.362764", "item": "ip link set veth1298 up", "rc": 0, "start": "2023-12-14 12:30:17.359142" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-ansible-lint-test-2.166ty0ly24/tests/tasks/manage_test_interface.yml:31 Thursday 14 December 2023 17:30:17 +0000 (0:00:00.605) 0:00:05.744 ***** ok: [sut] => { "changed": false, "cmd": [ "nmcli", "d", "set", "veth1298", "managed", "true" ], "delta": "0:00:00.022944", "end": "2023-12-14 12:30:17.575215", "rc": 0, "start": "2023-12-14 12:30:17.552271" } TASK [Delete veth interface veth1298] ****************************************** task path: /WORKDIR/git-ansible-lint-test-2.166ty0ly24/tests/tasks/manage_test_interface.yml:39 Thursday 14 December 2023 17:30:17 +0000 (0:00:00.214) 0:00:05.959 ***** 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.166ty0ly24/tests/tasks/manage_test_interface.yml:45 Thursday 14 December 2023 17:30:17 +0000 (0:00:00.021) 0:00:05.981 ***** 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.166ty0ly24/tests/tasks/manage_test_interface.yml:50 Thursday 14 December 2023 17:30:17 +0000 (0:00:00.010) 0:00:05.991 ***** 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.166ty0ly24/tests/tasks/manage_test_interface.yml:56 Thursday 14 December 2023 17:30:17 +0000 (0:00:00.009) 0:00:06.001 ***** 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.166ty0ly24/tests/tasks/manage_test_interface.yml:61 Thursday 14 December 2023 17:30:17 +0000 (0:00:00.011) 0:00:06.013 ***** 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.166ty0ly24/tests/tasks/create_and_remove_interface.yml:18 Thursday 14 December 2023 17:30:17 +0000 (0:00:00.009) 0:00:06.022 ***** included: /WORKDIR/git-ansible-lint-test-2.166ty0ly24/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-ansible-lint-test-2.166ty0ly24/tests/tasks/show_interfaces.yml:3 Thursday 14 December 2023 17:30:17 +0000 (0:00:00.016) 0:00:06.039 ***** included: /WORKDIR/git-ansible-lint-test-2.166ty0ly24/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-ansible-lint-test-2.166ty0ly24/tests/tasks/get_current_interfaces.yml:3 Thursday 14 December 2023 17:30:17 +0000 (0:00:00.011) 0:00:06.050 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:01.004482", "end": "2023-12-14 12:30:18.871539", "rc": 0, "start": "2023-12-14 12:30:17.867057" } STDOUT: bonding_masters eth0 lo peerveth1298 veth1298 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-ansible-lint-test-2.166ty0ly24/tests/tasks/get_current_interfaces.yml:9 Thursday 14 December 2023 17:30:18 +0000 (0:00:01.205) 0:00:07.256 ***** 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.166ty0ly24/tests/tasks/show_interfaces.yml:5 Thursday 14 December 2023 17:30:18 +0000 (0:00:00.021) 0:00:07.277 ***** 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.166ty0ly24/tests/tasks/create_and_remove_interface.yml:20 Thursday 14 December 2023 17:30:18 +0000 (0:00:00.010) 0:00:07.288 ***** included: /WORKDIR/git-ansible-lint-test-2.166ty0ly24/tests/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-ansible-lint-test-2.166ty0ly24/tests/tasks/assert_device_present.yml:3 Thursday 14 December 2023 17:30:18 +0000 (0:00:00.070) 0:00:07.359 ***** included: /WORKDIR/git-ansible-lint-test-2.166ty0ly24/tests/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth1298] ***************************************** task path: /WORKDIR/git-ansible-lint-test-2.166ty0ly24/tests/tasks/get_interface_stat.yml:3 Thursday 14 December 2023 17:30:19 +0000 (0:00:00.027) 0:00:07.386 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1702575016.9521897, "block_size": 4096, "blocks": 0, "ctime": 1702575016.9521897, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 27778, "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": 1702575016.9521897, "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.166ty0ly24/tests/tasks/assert_device_present.yml:5 Thursday 14 December 2023 17:30:19 +0000 (0:00:00.244) 0:00:07.630 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-ansible-lint-test-2.166ty0ly24/tests/tasks/create_and_remove_interface.yml:23 Thursday 14 December 2023 17:30:19 +0000 (0:00:00.012) 0:00:07.642 ***** included: /WORKDIR/git-ansible-lint-test-2.166ty0ly24/tests/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-ansible-lint-test-2.166ty0ly24/tests/tasks/manage_test_interface.yml:3 Thursday 14 December 2023 17:30:19 +0000 (0:00:00.026) 0:00:07.669 ***** 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.166ty0ly24/tests/tasks/manage_test_interface.yml:8 Thursday 14 December 2023 17:30:19 +0000 (0:00:00.041) 0:00:07.710 ***** 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.166ty0ly24/tests/tasks/manage_test_interface.yml:13 Thursday 14 December 2023 17:30:19 +0000 (0:00:00.009) 0:00:07.719 ***** included: /WORKDIR/git-ansible-lint-test-2.166ty0ly24/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-ansible-lint-test-2.166ty0ly24/tests/tasks/show_interfaces.yml:3 Thursday 14 December 2023 17:30:19 +0000 (0:00:00.020) 0:00:07.739 ***** included: /WORKDIR/git-ansible-lint-test-2.166ty0ly24/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-ansible-lint-test-2.166ty0ly24/tests/tasks/get_current_interfaces.yml:3 Thursday 14 December 2023 17:30:19 +0000 (0:00:00.019) 0:00:07.759 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003511", "end": "2023-12-14 12:30:19.587269", "rc": 0, "start": "2023-12-14 12:30:19.583758" } STDOUT: bonding_masters eth0 lo peerveth1298 veth1298 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-ansible-lint-test-2.166ty0ly24/tests/tasks/get_current_interfaces.yml:9 Thursday 14 December 2023 17:30:19 +0000 (0:00:00.209) 0:00:07.968 ***** 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.166ty0ly24/tests/tasks/show_interfaces.yml:5 Thursday 14 December 2023 17:30:19 +0000 (0:00:00.017) 0:00:07.986 ***** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'peerveth1298', 'veth1298'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-ansible-lint-test-2.166ty0ly24/tests/tasks/manage_test_interface.yml:16 Thursday 14 December 2023 17:30:19 +0000 (0:00:00.039) 0:00:08.026 ***** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth1298] ****************************************** task path: /WORKDIR/git-ansible-lint-test-2.166ty0ly24/tests/tasks/manage_test_interface.yml:23 Thursday 14 December 2023 17:30:20 +0000 (0:00:00.800) 0:00:08.826 ***** 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.166ty0ly24/tests/tasks/manage_test_interface.yml:31 Thursday 14 December 2023 17:30:20 +0000 (0:00:00.040) 0:00:08.867 ***** 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.166ty0ly24/tests/tasks/manage_test_interface.yml:39 Thursday 14 December 2023 17:30:20 +0000 (0:00:00.015) 0:00:08.883 ***** ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "veth1298", "type", "veth" ], "delta": "0:00:00.018359", "end": "2023-12-14 12:30:20.718863", "rc": 0, "start": "2023-12-14 12:30:20.700504" } TASK [Create dummy interface veth1298] ***************************************** task path: /WORKDIR/git-ansible-lint-test-2.166ty0ly24/tests/tasks/manage_test_interface.yml:45 Thursday 14 December 2023 17:30:20 +0000 (0:00:00.240) 0:00:09.123 ***** 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.166ty0ly24/tests/tasks/manage_test_interface.yml:50 Thursday 14 December 2023 17:30:20 +0000 (0:00:00.038) 0:00:09.162 ***** 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.166ty0ly24/tests/tasks/manage_test_interface.yml:56 Thursday 14 December 2023 17:30:20 +0000 (0:00:00.035) 0:00:09.197 ***** 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.166ty0ly24/tests/tasks/manage_test_interface.yml:61 Thursday 14 December 2023 17:30:20 +0000 (0:00:00.032) 0:00:09.230 ***** 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.166ty0ly24/tests/tasks/create_and_remove_interface.yml:27 Thursday 14 December 2023 17:30:20 +0000 (0:00:00.020) 0:00:09.250 ***** included: /WORKDIR/git-ansible-lint-test-2.166ty0ly24/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-ansible-lint-test-2.166ty0ly24/tests/tasks/show_interfaces.yml:3 Thursday 14 December 2023 17:30:20 +0000 (0:00:00.048) 0:00:09.299 ***** included: /WORKDIR/git-ansible-lint-test-2.166ty0ly24/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-ansible-lint-test-2.166ty0ly24/tests/tasks/get_current_interfaces.yml:3 Thursday 14 December 2023 17:30:20 +0000 (0:00:00.050) 0:00:09.349 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003308", "end": "2023-12-14 12:30:21.177506", "rc": 0, "start": "2023-12-14 12:30:21.174198" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-ansible-lint-test-2.166ty0ly24/tests/tasks/get_current_interfaces.yml:9 Thursday 14 December 2023 17:30:21 +0000 (0:00:00.218) 0:00:09.567 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-ansible-lint-test-2.166ty0ly24/tests/tasks/show_interfaces.yml:5 Thursday 14 December 2023 17:30:21 +0000 (0:00:00.015) 0:00:09.583 ***** 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.166ty0ly24/tests/tasks/create_and_remove_interface.yml:29 Thursday 14 December 2023 17:30:21 +0000 (0:00:00.009) 0:00:09.592 ***** included: /WORKDIR/git-ansible-lint-test-2.166ty0ly24/tests/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-ansible-lint-test-2.166ty0ly24/tests/tasks/assert_device_absent.yml:3 Thursday 14 December 2023 17:30:21 +0000 (0:00:00.024) 0:00:09.616 ***** included: /WORKDIR/git-ansible-lint-test-2.166ty0ly24/tests/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth1298] ***************************************** task path: /WORKDIR/git-ansible-lint-test-2.166ty0ly24/tests/tasks/get_interface_stat.yml:3 Thursday 14 December 2023 17:30:21 +0000 (0:00:00.019) 0:00:09.636 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'veth1298'] ************************ task path: /WORKDIR/git-ansible-lint-test-2.166ty0ly24/tests/tasks/assert_device_absent.yml:5 Thursday 14 December 2023 17:30:21 +0000 (0:00:00.185) 0:00:09.822 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test veth interface management] ****************************************** task path: /WORKDIR/git-ansible-lint-test-2.166ty0ly24/tests/tests_helpers_and_asserts.yml:15 Thursday 14 December 2023 17:30:21 +0000 (0:00:00.010) 0:00:09.833 ***** included: /WORKDIR/git-ansible-lint-test-2.166ty0ly24/tests/tasks/create_and_remove_interface.yml for sut TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-ansible-lint-test-2.166ty0ly24/tests/tasks/create_and_remove_interface.yml:3 Thursday 14 December 2023 17:30:21 +0000 (0:00:00.013) 0:00:09.847 ***** included: /WORKDIR/git-ansible-lint-test-2.166ty0ly24/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-ansible-lint-test-2.166ty0ly24/tests/tasks/show_interfaces.yml:3 Thursday 14 December 2023 17:30:21 +0000 (0:00:00.009) 0:00:09.857 ***** included: /WORKDIR/git-ansible-lint-test-2.166ty0ly24/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-ansible-lint-test-2.166ty0ly24/tests/tasks/get_current_interfaces.yml:3 Thursday 14 December 2023 17:30:21 +0000 (0:00:00.009) 0:00:09.866 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003356", "end": "2023-12-14 12:30:21.674455", "rc": 0, "start": "2023-12-14 12:30:21.671099" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-ansible-lint-test-2.166ty0ly24/tests/tasks/get_current_interfaces.yml:9 Thursday 14 December 2023 17:30:21 +0000 (0:00:00.221) 0:00:10.088 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-ansible-lint-test-2.166ty0ly24/tests/tasks/show_interfaces.yml:5 Thursday 14 December 2023 17:30:21 +0000 (0:00:00.035) 0:00:10.124 ***** 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.166ty0ly24/tests/tasks/create_and_remove_interface.yml:5 Thursday 14 December 2023 17:30:21 +0000 (0:00:00.011) 0:00:10.135 ***** included: /WORKDIR/git-ansible-lint-test-2.166ty0ly24/tests/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-ansible-lint-test-2.166ty0ly24/tests/tasks/manage_test_interface.yml:3 Thursday 14 December 2023 17:30:21 +0000 (0:00:00.064) 0:00:10.200 ***** 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.166ty0ly24/tests/tasks/manage_test_interface.yml:8 Thursday 14 December 2023 17:30:21 +0000 (0:00:00.033) 0:00:10.233 ***** 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.166ty0ly24/tests/tasks/manage_test_interface.yml:13 Thursday 14 December 2023 17:30:21 +0000 (0:00:00.102) 0:00:10.335 ***** included: /WORKDIR/git-ansible-lint-test-2.166ty0ly24/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-ansible-lint-test-2.166ty0ly24/tests/tasks/show_interfaces.yml:3 Thursday 14 December 2023 17:30:22 +0000 (0:00:00.035) 0:00:10.371 ***** included: /WORKDIR/git-ansible-lint-test-2.166ty0ly24/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-ansible-lint-test-2.166ty0ly24/tests/tasks/get_current_interfaces.yml:3 Thursday 14 December 2023 17:30:22 +0000 (0:00:00.019) 0:00:10.390 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:01.004452", "end": "2023-12-14 12:30:23.215451", "rc": 0, "start": "2023-12-14 12:30:22.210999" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-ansible-lint-test-2.166ty0ly24/tests/tasks/get_current_interfaces.yml:9 Thursday 14 December 2023 17:30:23 +0000 (0:00:01.218) 0:00:11.608 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-ansible-lint-test-2.166ty0ly24/tests/tasks/show_interfaces.yml:5 Thursday 14 December 2023 17:30:23 +0000 (0:00:00.019) 0:00:11.627 ***** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-ansible-lint-test-2.166ty0ly24/tests/tasks/manage_test_interface.yml:16 Thursday 14 December 2023 17:30:23 +0000 (0:00:00.018) 0:00:11.646 ***** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface dummy1298] ***************************************** task path: /WORKDIR/git-ansible-lint-test-2.166ty0ly24/tests/tasks/manage_test_interface.yml:23 Thursday 14 December 2023 17:30:24 +0000 (0:00:00.779) 0:00:12.426 ***** 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.166ty0ly24/tests/tasks/manage_test_interface.yml:31 Thursday 14 December 2023 17:30:24 +0000 (0:00:00.029) 0:00:12.455 ***** 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.166ty0ly24/tests/tasks/manage_test_interface.yml:39 Thursday 14 December 2023 17:30:24 +0000 (0:00:00.010) 0:00:12.466 ***** 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.166ty0ly24/tests/tasks/manage_test_interface.yml:45 Thursday 14 December 2023 17:30:24 +0000 (0:00:00.010) 0:00:12.477 ***** 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.166ty0ly24/tests/tasks/manage_test_interface.yml:50 Thursday 14 December 2023 17:30:24 +0000 (0:00:00.008) 0:00:12.485 ***** 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.166ty0ly24/tests/tasks/manage_test_interface.yml:56 Thursday 14 December 2023 17:30:24 +0000 (0:00:00.009) 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 dummy1298] ****************************************** task path: /WORKDIR/git-ansible-lint-test-2.166ty0ly24/tests/tasks/manage_test_interface.yml:61 Thursday 14 December 2023 17:30:24 +0000 (0:00:00.011) 0:00:12.506 ***** 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.166ty0ly24/tests/tasks/create_and_remove_interface.yml:9 Thursday 14 December 2023 17:30:24 +0000 (0:00:00.007) 0:00:12.514 ***** included: /WORKDIR/git-ansible-lint-test-2.166ty0ly24/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-ansible-lint-test-2.166ty0ly24/tests/tasks/show_interfaces.yml:3 Thursday 14 December 2023 17:30:24 +0000 (0:00:00.017) 0:00:12.531 ***** included: /WORKDIR/git-ansible-lint-test-2.166ty0ly24/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-ansible-lint-test-2.166ty0ly24/tests/tasks/get_current_interfaces.yml:3 Thursday 14 December 2023 17:30:24 +0000 (0:00:00.010) 0:00:12.542 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003290", "end": "2023-12-14 12:30:24.349714", "rc": 0, "start": "2023-12-14 12:30:24.346424" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-ansible-lint-test-2.166ty0ly24/tests/tasks/get_current_interfaces.yml:9 Thursday 14 December 2023 17:30:24 +0000 (0:00:00.214) 0:00:12.756 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-ansible-lint-test-2.166ty0ly24/tests/tasks/show_interfaces.yml:5 Thursday 14 December 2023 17:30:24 +0000 (0:00:00.043) 0:00:12.800 ***** 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.166ty0ly24/tests/tasks/create_and_remove_interface.yml:11 Thursday 14 December 2023 17:30:24 +0000 (0:00:00.012) 0:00:12.812 ***** included: /WORKDIR/git-ansible-lint-test-2.166ty0ly24/tests/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-ansible-lint-test-2.166ty0ly24/tests/tasks/assert_device_absent.yml:3 Thursday 14 December 2023 17:30:24 +0000 (0:00:00.021) 0:00:12.834 ***** included: /WORKDIR/git-ansible-lint-test-2.166ty0ly24/tests/tasks/get_interface_stat.yml for sut TASK [Get stat for interface dummy1298] **************************************** task path: /WORKDIR/git-ansible-lint-test-2.166ty0ly24/tests/tasks/get_interface_stat.yml:3 Thursday 14 December 2023 17:30:24 +0000 (0:00:00.016) 0:00:12.850 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'dummy1298'] *********************** task path: /WORKDIR/git-ansible-lint-test-2.166ty0ly24/tests/tasks/assert_device_absent.yml:5 Thursday 14 December 2023 17:30:24 +0000 (0:00:00.192) 0:00:13.042 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-ansible-lint-test-2.166ty0ly24/tests/tasks/create_and_remove_interface.yml:14 Thursday 14 December 2023 17:30:24 +0000 (0:00:00.010) 0:00:13.052 ***** included: /WORKDIR/git-ansible-lint-test-2.166ty0ly24/tests/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-ansible-lint-test-2.166ty0ly24/tests/tasks/manage_test_interface.yml:3 Thursday 14 December 2023 17:30:24 +0000 (0:00:00.015) 0:00:13.068 ***** 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.166ty0ly24/tests/tasks/manage_test_interface.yml:8 Thursday 14 December 2023 17:30:24 +0000 (0:00:00.014) 0:00:13.082 ***** 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.166ty0ly24/tests/tasks/manage_test_interface.yml:13 Thursday 14 December 2023 17:30:24 +0000 (0:00:00.008) 0:00:13.090 ***** included: /WORKDIR/git-ansible-lint-test-2.166ty0ly24/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-ansible-lint-test-2.166ty0ly24/tests/tasks/show_interfaces.yml:3 Thursday 14 December 2023 17:30:24 +0000 (0:00:00.011) 0:00:13.102 ***** included: /WORKDIR/git-ansible-lint-test-2.166ty0ly24/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-ansible-lint-test-2.166ty0ly24/tests/tasks/get_current_interfaces.yml:3 Thursday 14 December 2023 17:30:24 +0000 (0:00:00.010) 0:00:13.112 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003375", "end": "2023-12-14 12:30:24.923990", "rc": 0, "start": "2023-12-14 12:30:24.920615" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-ansible-lint-test-2.166ty0ly24/tests/tasks/get_current_interfaces.yml:9 Thursday 14 December 2023 17:30:24 +0000 (0:00:00.209) 0:00:13.321 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-ansible-lint-test-2.166ty0ly24/tests/tasks/show_interfaces.yml:5 Thursday 14 December 2023 17:30:24 +0000 (0:00:00.030) 0:00:13.352 ***** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-ansible-lint-test-2.166ty0ly24/tests/tasks/manage_test_interface.yml:16 Thursday 14 December 2023 17:30:24 +0000 (0:00:00.010) 0:00:13.362 ***** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface dummy1298] ***************************************** task path: /WORKDIR/git-ansible-lint-test-2.166ty0ly24/tests/tasks/manage_test_interface.yml:23 Thursday 14 December 2023 17:30:25 +0000 (0:00:00.774) 0:00:14.137 ***** 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.166ty0ly24/tests/tasks/manage_test_interface.yml:31 Thursday 14 December 2023 17:30:25 +0000 (0:00:00.017) 0:00:14.154 ***** 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.166ty0ly24/tests/tasks/manage_test_interface.yml:39 Thursday 14 December 2023 17:30:25 +0000 (0:00:00.010) 0:00:14.164 ***** 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.166ty0ly24/tests/tasks/manage_test_interface.yml:45 Thursday 14 December 2023 17:30:25 +0000 (0:00:00.008) 0:00:14.172 ***** ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "add", "dummy1298", "type", "dummy" ], "delta": "0:00:00.013371", "end": "2023-12-14 12:30:25.989258", "rc": 0, "start": "2023-12-14 12:30:25.975887" } TASK [Delete dummy interface dummy1298] **************************************** task path: /WORKDIR/git-ansible-lint-test-2.166ty0ly24/tests/tasks/manage_test_interface.yml:50 Thursday 14 December 2023 17:30:26 +0000 (0:00:00.213) 0:00:14.386 ***** 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.166ty0ly24/tests/tasks/manage_test_interface.yml:56 Thursday 14 December 2023 17:30:26 +0000 (0:00:00.009) 0:00:14.395 ***** 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.166ty0ly24/tests/tasks/manage_test_interface.yml:61 Thursday 14 December 2023 17:30:26 +0000 (0:00:00.011) 0:00:14.407 ***** 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.166ty0ly24/tests/tasks/create_and_remove_interface.yml:18 Thursday 14 December 2023 17:30:26 +0000 (0:00:00.010) 0:00:14.417 ***** included: /WORKDIR/git-ansible-lint-test-2.166ty0ly24/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-ansible-lint-test-2.166ty0ly24/tests/tasks/show_interfaces.yml:3 Thursday 14 December 2023 17:30:26 +0000 (0:00:00.016) 0:00:14.434 ***** included: /WORKDIR/git-ansible-lint-test-2.166ty0ly24/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-ansible-lint-test-2.166ty0ly24/tests/tasks/get_current_interfaces.yml:3 Thursday 14 December 2023 17:30:26 +0000 (0:00:00.010) 0:00:14.444 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003470", "end": "2023-12-14 12:30:26.249914", "rc": 0, "start": "2023-12-14 12:30:26.246444" } STDOUT: bonding_masters dummy1298 eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-ansible-lint-test-2.166ty0ly24/tests/tasks/get_current_interfaces.yml:9 Thursday 14 December 2023 17:30:26 +0000 (0:00:00.207) 0:00:14.652 ***** 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.166ty0ly24/tests/tasks/show_interfaces.yml:5 Thursday 14 December 2023 17:30:26 +0000 (0:00:00.017) 0:00:14.670 ***** 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.166ty0ly24/tests/tasks/create_and_remove_interface.yml:20 Thursday 14 December 2023 17:30:26 +0000 (0:00:00.012) 0:00:14.682 ***** included: /WORKDIR/git-ansible-lint-test-2.166ty0ly24/tests/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-ansible-lint-test-2.166ty0ly24/tests/tasks/assert_device_present.yml:3 Thursday 14 December 2023 17:30:26 +0000 (0:00:00.028) 0:00:14.710 ***** included: /WORKDIR/git-ansible-lint-test-2.166ty0ly24/tests/tasks/get_interface_stat.yml for sut TASK [Get stat for interface dummy1298] **************************************** task path: /WORKDIR/git-ansible-lint-test-2.166ty0ly24/tests/tasks/get_interface_stat.yml:3 Thursday 14 December 2023 17:30:26 +0000 (0:00:00.015) 0:00:14.726 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1702575025.9863381, "block_size": 4096, "blocks": 0, "ctime": 1702575025.9863381, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 28106, "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": 1702575025.9863381, "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.166ty0ly24/tests/tasks/assert_device_present.yml:5 Thursday 14 December 2023 17:30:26 +0000 (0:00:00.184) 0:00:14.910 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-ansible-lint-test-2.166ty0ly24/tests/tasks/create_and_remove_interface.yml:23 Thursday 14 December 2023 17:30:26 +0000 (0:00:00.009) 0:00:14.920 ***** included: /WORKDIR/git-ansible-lint-test-2.166ty0ly24/tests/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-ansible-lint-test-2.166ty0ly24/tests/tasks/manage_test_interface.yml:3 Thursday 14 December 2023 17:30:26 +0000 (0:00:00.017) 0:00:14.938 ***** 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.166ty0ly24/tests/tasks/manage_test_interface.yml:8 Thursday 14 December 2023 17:30:26 +0000 (0:00:00.008) 0:00:14.946 ***** 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.166ty0ly24/tests/tasks/manage_test_interface.yml:13 Thursday 14 December 2023 17:30:26 +0000 (0:00:00.007) 0:00:14.953 ***** included: /WORKDIR/git-ansible-lint-test-2.166ty0ly24/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-ansible-lint-test-2.166ty0ly24/tests/tasks/show_interfaces.yml:3 Thursday 14 December 2023 17:30:26 +0000 (0:00:00.010) 0:00:14.964 ***** included: /WORKDIR/git-ansible-lint-test-2.166ty0ly24/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-ansible-lint-test-2.166ty0ly24/tests/tasks/get_current_interfaces.yml:3 Thursday 14 December 2023 17:30:26 +0000 (0:00:00.009) 0:00:14.974 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003308", "end": "2023-12-14 12:30:26.780203", "rc": 0, "start": "2023-12-14 12:30:26.776895" } STDOUT: bonding_masters dummy1298 eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-ansible-lint-test-2.166ty0ly24/tests/tasks/get_current_interfaces.yml:9 Thursday 14 December 2023 17:30:26 +0000 (0:00:00.188) 0:00:15.162 ***** 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.166ty0ly24/tests/tasks/show_interfaces.yml:5 Thursday 14 December 2023 17:30:26 +0000 (0:00:00.014) 0:00:15.177 ***** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'dummy1298', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-ansible-lint-test-2.166ty0ly24/tests/tasks/manage_test_interface.yml:16 Thursday 14 December 2023 17:30:26 +0000 (0:00:00.014) 0:00:15.192 ***** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface dummy1298] ***************************************** task path: /WORKDIR/git-ansible-lint-test-2.166ty0ly24/tests/tasks/manage_test_interface.yml:23 Thursday 14 December 2023 17:30:27 +0000 (0:00:00.753) 0:00:15.946 ***** 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.166ty0ly24/tests/tasks/manage_test_interface.yml:31 Thursday 14 December 2023 17:30:27 +0000 (0:00:00.013) 0:00:15.959 ***** 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.166ty0ly24/tests/tasks/manage_test_interface.yml:39 Thursday 14 December 2023 17:30:27 +0000 (0:00:00.007) 0:00:15.967 ***** 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.166ty0ly24/tests/tasks/manage_test_interface.yml:45 Thursday 14 December 2023 17:30:27 +0000 (0:00:00.007) 0:00:15.975 ***** 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.166ty0ly24/tests/tasks/manage_test_interface.yml:50 Thursday 14 December 2023 17:30:27 +0000 (0:00:00.007) 0:00:15.983 ***** ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "dummy1298", "type", "dummy" ], "delta": "0:00:00.010085", "end": "2023-12-14 12:30:27.798448", "rc": 0, "start": "2023-12-14 12:30:27.788363" } TASK [Create tap interface dummy1298] ****************************************** task path: /WORKDIR/git-ansible-lint-test-2.166ty0ly24/tests/tasks/manage_test_interface.yml:56 Thursday 14 December 2023 17:30:27 +0000 (0:00:00.197) 0:00:16.180 ***** 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.166ty0ly24/tests/tasks/manage_test_interface.yml:61 Thursday 14 December 2023 17:30:27 +0000 (0:00:00.010) 0:00:16.191 ***** 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.166ty0ly24/tests/tasks/create_and_remove_interface.yml:27 Thursday 14 December 2023 17:30:27 +0000 (0:00:00.007) 0:00:16.199 ***** included: /WORKDIR/git-ansible-lint-test-2.166ty0ly24/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-ansible-lint-test-2.166ty0ly24/tests/tasks/show_interfaces.yml:3 Thursday 14 December 2023 17:30:27 +0000 (0:00:00.020) 0:00:16.219 ***** included: /WORKDIR/git-ansible-lint-test-2.166ty0ly24/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-ansible-lint-test-2.166ty0ly24/tests/tasks/get_current_interfaces.yml:3 Thursday 14 December 2023 17:30:27 +0000 (0:00:00.009) 0:00:16.229 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003360", "end": "2023-12-14 12:30:28.058025", "rc": 0, "start": "2023-12-14 12:30:28.054665" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-ansible-lint-test-2.166ty0ly24/tests/tasks/get_current_interfaces.yml:9 Thursday 14 December 2023 17:30:28 +0000 (0:00:00.210) 0:00:16.440 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-ansible-lint-test-2.166ty0ly24/tests/tasks/show_interfaces.yml:5 Thursday 14 December 2023 17:30:28 +0000 (0:00:00.011) 0:00:16.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.166ty0ly24/tests/tasks/create_and_remove_interface.yml:29 Thursday 14 December 2023 17:30:28 +0000 (0:00:00.009) 0:00:16.461 ***** included: /WORKDIR/git-ansible-lint-test-2.166ty0ly24/tests/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-ansible-lint-test-2.166ty0ly24/tests/tasks/assert_device_absent.yml:3 Thursday 14 December 2023 17:30:28 +0000 (0:00:00.019) 0:00:16.481 ***** included: /WORKDIR/git-ansible-lint-test-2.166ty0ly24/tests/tasks/get_interface_stat.yml for sut TASK [Get stat for interface dummy1298] **************************************** task path: /WORKDIR/git-ansible-lint-test-2.166ty0ly24/tests/tasks/get_interface_stat.yml:3 Thursday 14 December 2023 17:30:28 +0000 (0:00:00.009) 0:00:16.491 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'dummy1298'] *********************** task path: /WORKDIR/git-ansible-lint-test-2.166ty0ly24/tests/tasks/assert_device_absent.yml:5 Thursday 14 December 2023 17:30:28 +0000 (0:00:00.183) 0:00:16.674 ***** 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:30:28 +0000 (0:00:00.014) 0:00:16.689 ***** =============================================================================== Gather current interface info ------------------------------------------- 1.22s /WORKDIR/git-ansible-lint-test-2.166ty0ly24/tests/tasks/get_current_interfaces.yml:3 Gather current interface info ------------------------------------------- 1.21s /WORKDIR/git-ansible-lint-test-2.166ty0ly24/tests/tasks/get_current_interfaces.yml:3 Install iproute --------------------------------------------------------- 0.88s /WORKDIR/git-ansible-lint-test-2.166ty0ly24/tests/tasks/manage_test_interface.yml:16 Gathering Facts --------------------------------------------------------- 0.87s /WORKDIR/git-ansible-lint-test-2.166ty0ly24/tests/tests_helpers_and_asserts.yml:3 Install iproute --------------------------------------------------------- 0.82s /WORKDIR/git-ansible-lint-test-2.166ty0ly24/tests/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 0.80s /WORKDIR/git-ansible-lint-test-2.166ty0ly24/tests/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 0.78s /WORKDIR/git-ansible-lint-test-2.166ty0ly24/tests/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 0.77s /WORKDIR/git-ansible-lint-test-2.166ty0ly24/tests/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 0.75s /WORKDIR/git-ansible-lint-test-2.166ty0ly24/tests/tasks/manage_test_interface.yml:16 Create veth interface veth1298 ------------------------------------------ 0.61s /WORKDIR/git-ansible-lint-test-2.166ty0ly24/tests/tasks/manage_test_interface.yml:23 Gather the minimum subset of ansible_facts required by the network role test --- 0.41s /WORKDIR/git-ansible-lint-test-2.166ty0ly24/tests/tasks/el_repo_setup.yml:3 --- Check if system is ostree ----------------------------------------------- 0.28s /WORKDIR/git-ansible-lint-test-2.166ty0ly24/tests/tasks/el_repo_setup.yml:17 -- Gather current interface info ------------------------------------------- 0.26s /WORKDIR/git-ansible-lint-test-2.166ty0ly24/tests/tasks/get_current_interfaces.yml:3 Get stat for interface veth1298 ----------------------------------------- 0.24s /WORKDIR/git-ansible-lint-test-2.166ty0ly24/tests/tasks/get_interface_stat.yml:3 Gather current interface info ------------------------------------------- 0.24s /WORKDIR/git-ansible-lint-test-2.166ty0ly24/tests/tasks/get_current_interfaces.yml:3 Delete veth interface veth1298 ------------------------------------------ 0.24s /WORKDIR/git-ansible-lint-test-2.166ty0ly24/tests/tasks/manage_test_interface.yml:39 Gather current interface info ------------------------------------------- 0.22s /WORKDIR/git-ansible-lint-test-2.166ty0ly24/tests/tasks/get_current_interfaces.yml:3 Gather current interface info ------------------------------------------- 0.22s /WORKDIR/git-ansible-lint-test-2.166ty0ly24/tests/tasks/get_current_interfaces.yml:3 Gather current interface info ------------------------------------------- 0.22s /WORKDIR/git-ansible-lint-test-2.166ty0ly24/tests/tasks/get_current_interfaces.yml:3 Set up veth as managed by NetworkManager -------------------------------- 0.21s /WORKDIR/git-ansible-lint-test-2.166ty0ly24/tests/tasks/manage_test_interface.yml:31 ---^---^---^---^---^--- # 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. ---^---^---^---^---^---