# 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.165tpu80k0/.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.165tpu80k0/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.165tpu80k0/tests/tests_helpers_and_asserts.yml:3 Monday 25 December 2023 22:01:04 +0000 (0:00:00.033) 0:00:00.033 ******* ok: [sut] TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-ansible-lint-test-2.165tpu80k0/tests/tests_helpers_and_asserts.yml:6 Monday 25 December 2023 22:01:05 +0000 (0:00:00.771) 0:00:00.804 ******* included: /WORKDIR/git-ansible-lint-test-2.165tpu80k0/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.165tpu80k0/tests/tasks/el_repo_setup.yml:3 Monday 25 December 2023 22:01:05 +0000 (0:00:00.011) 0:00:00.816 ******* ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-ansible-lint-test-2.165tpu80k0/tests/tasks/el_repo_setup.yml:17 Monday 25 December 2023 22:01:05 +0000 (0:00:00.363) 0:00:01.179 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-ansible-lint-test-2.165tpu80k0/tests/tasks/el_repo_setup.yml:22 Monday 25 December 2023 22:01:05 +0000 (0:00:00.240) 0:00:01.419 ******* ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-ansible-lint-test-2.165tpu80k0/tests/tasks/el_repo_setup.yml:26 Monday 25 December 2023 22:01:05 +0000 (0:00:00.014) 0:00:01.434 ******* 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.165tpu80k0/tests/tasks/el_repo_setup.yml:51 Monday 25 December 2023 22:01:05 +0000 (0:00:00.008) 0:00:01.442 ******* included: /WORKDIR/git-ansible-lint-test-2.165tpu80k0/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 9] *********************************************************** task path: /WORKDIR/git-ansible-lint-test-2.165tpu80k0/tests/tasks/enable_epel.yml:8 Monday 25 December 2023 22:01:05 +0000 (0:00:00.021) 0:00:01.464 ******* 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.165tpu80k0/tests/tasks/enable_epel.yml:24 Monday 25 December 2023 22:01:05 +0000 (0:00:00.009) 0:00:01.473 ******* 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.165tpu80k0/tests/tasks/enable_epel.yml:30 Monday 25 December 2023 22:01:05 +0000 (0:00:00.008) 0:00:01.481 ******* 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.165tpu80k0/tests/tasks/enable_epel.yml:35 Monday 25 December 2023 22:01:05 +0000 (0:00:00.007) 0:00:01.489 ******* 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.165tpu80k0/tests/tasks/enable_epel.yml:40 Monday 25 December 2023 22:01:05 +0000 (0:00:00.008) 0:00:01.498 ******* 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.165tpu80k0/tests/tests_helpers_and_asserts.yml:9 Monday 25 December 2023 22:01:05 +0000 (0:00:00.008) 0:00:01.506 ******* included: /WORKDIR/git-ansible-lint-test-2.165tpu80k0/tests/tasks/create_and_remove_interface.yml for sut TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-ansible-lint-test-2.165tpu80k0/tests/tasks/create_and_remove_interface.yml:3 Monday 25 December 2023 22:01:05 +0000 (0:00:00.012) 0:00:01.519 ******* included: /WORKDIR/git-ansible-lint-test-2.165tpu80k0/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-ansible-lint-test-2.165tpu80k0/tests/tasks/show_interfaces.yml:3 Monday 25 December 2023 22:01:05 +0000 (0:00:00.009) 0:00:01.529 ******* included: /WORKDIR/git-ansible-lint-test-2.165tpu80k0/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-ansible-lint-test-2.165tpu80k0/tests/tasks/get_current_interfaces.yml:3 Monday 25 December 2023 22:01:05 +0000 (0:00:00.009) 0:00:01.538 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003266", "end": "2023-12-25 22:01:06.037416", "rc": 0, "start": "2023-12-25 22:01:06.034150" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-ansible-lint-test-2.165tpu80k0/tests/tasks/get_current_interfaces.yml:9 Monday 25 December 2023 22:01:06 +0000 (0:00:00.252) 0:00:01.790 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-ansible-lint-test-2.165tpu80k0/tests/tasks/show_interfaces.yml:5 Monday 25 December 2023 22:01:06 +0000 (0:00:00.009) 0:00:01.800 ******* 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.165tpu80k0/tests/tasks/create_and_remove_interface.yml:5 Monday 25 December 2023 22:01:06 +0000 (0:00:00.009) 0:00:01.809 ******* included: /WORKDIR/git-ansible-lint-test-2.165tpu80k0/tests/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-ansible-lint-test-2.165tpu80k0/tests/tasks/manage_test_interface.yml:3 Monday 25 December 2023 22:01:06 +0000 (0:00:00.013) 0:00:01.823 ******* 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.165tpu80k0/tests/tasks/manage_test_interface.yml:8 Monday 25 December 2023 22:01:06 +0000 (0:00:00.007) 0:00:01.830 ******* 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.165tpu80k0/tests/tasks/manage_test_interface.yml:13 Monday 25 December 2023 22:01:06 +0000 (0:00:00.007) 0:00:01.838 ******* included: /WORKDIR/git-ansible-lint-test-2.165tpu80k0/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-ansible-lint-test-2.165tpu80k0/tests/tasks/show_interfaces.yml:3 Monday 25 December 2023 22:01:06 +0000 (0:00:00.011) 0:00:01.850 ******* included: /WORKDIR/git-ansible-lint-test-2.165tpu80k0/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-ansible-lint-test-2.165tpu80k0/tests/tasks/get_current_interfaces.yml:3 Monday 25 December 2023 22:01:06 +0000 (0:00:00.009) 0:00:01.859 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003373", "end": "2023-12-25 22:01:06.293545", "rc": 0, "start": "2023-12-25 22:01:06.290172" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-ansible-lint-test-2.165tpu80k0/tests/tasks/get_current_interfaces.yml:9 Monday 25 December 2023 22:01:06 +0000 (0:00:00.185) 0:00:02.045 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-ansible-lint-test-2.165tpu80k0/tests/tasks/show_interfaces.yml:5 Monday 25 December 2023 22:01:06 +0000 (0:00:00.009) 0:00:02.054 ******* ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-ansible-lint-test-2.165tpu80k0/tests/tasks/manage_test_interface.yml:16 Monday 25 December 2023 22:01:06 +0000 (0:00:00.008) 0:00:02.063 ******* ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth1298] ****************************************** task path: /WORKDIR/git-ansible-lint-test-2.165tpu80k0/tests/tasks/manage_test_interface.yml:23 Monday 25 December 2023 22:01:07 +0000 (0:00:00.951) 0:00:03.015 ******* 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.165tpu80k0/tests/tasks/manage_test_interface.yml:31 Monday 25 December 2023 22:01:07 +0000 (0:00:00.023) 0:00:03.038 ******* 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.165tpu80k0/tests/tasks/manage_test_interface.yml:39 Monday 25 December 2023 22:01:07 +0000 (0:00:00.014) 0:00:03.052 ******* 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.165tpu80k0/tests/tasks/manage_test_interface.yml:45 Monday 25 December 2023 22:01:07 +0000 (0:00:00.019) 0:00:03.071 ******* 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.165tpu80k0/tests/tasks/manage_test_interface.yml:50 Monday 25 December 2023 22:01:07 +0000 (0:00:00.010) 0:00:03.082 ******* 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.165tpu80k0/tests/tasks/manage_test_interface.yml:56 Monday 25 December 2023 22:01:07 +0000 (0:00:00.008) 0:00:03.090 ******* 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.165tpu80k0/tests/tasks/manage_test_interface.yml:61 Monday 25 December 2023 22:01:07 +0000 (0:00:00.009) 0:00:03.099 ******* 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.165tpu80k0/tests/tasks/create_and_remove_interface.yml:9 Monday 25 December 2023 22:01:07 +0000 (0:00:00.007) 0:00:03.107 ******* included: /WORKDIR/git-ansible-lint-test-2.165tpu80k0/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-ansible-lint-test-2.165tpu80k0/tests/tasks/show_interfaces.yml:3 Monday 25 December 2023 22:01:07 +0000 (0:00:00.012) 0:00:03.119 ******* included: /WORKDIR/git-ansible-lint-test-2.165tpu80k0/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-ansible-lint-test-2.165tpu80k0/tests/tasks/get_current_interfaces.yml:3 Monday 25 December 2023 22:01:07 +0000 (0:00:00.013) 0:00:03.133 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003306", "end": "2023-12-25 22:01:07.579883", "rc": 0, "start": "2023-12-25 22:01:07.576577" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-ansible-lint-test-2.165tpu80k0/tests/tasks/get_current_interfaces.yml:9 Monday 25 December 2023 22:01:07 +0000 (0:00:00.212) 0:00:03.345 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-ansible-lint-test-2.165tpu80k0/tests/tasks/show_interfaces.yml:5 Monday 25 December 2023 22:01:07 +0000 (0:00:00.020) 0:00:03.366 ******* 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.165tpu80k0/tests/tasks/create_and_remove_interface.yml:11 Monday 25 December 2023 22:01:07 +0000 (0:00:00.013) 0:00:03.380 ******* included: /WORKDIR/git-ansible-lint-test-2.165tpu80k0/tests/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-ansible-lint-test-2.165tpu80k0/tests/tasks/assert_device_absent.yml:3 Monday 25 December 2023 22:01:07 +0000 (0:00:00.022) 0:00:03.402 ******* included: /WORKDIR/git-ansible-lint-test-2.165tpu80k0/tests/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth1298] ***************************************** task path: /WORKDIR/git-ansible-lint-test-2.165tpu80k0/tests/tasks/get_interface_stat.yml:3 Monday 25 December 2023 22:01:07 +0000 (0:00:00.019) 0:00:03.422 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'veth1298'] ************************ task path: /WORKDIR/git-ansible-lint-test-2.165tpu80k0/tests/tasks/assert_device_absent.yml:5 Monday 25 December 2023 22:01:07 +0000 (0:00:00.197) 0:00:03.619 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-ansible-lint-test-2.165tpu80k0/tests/tasks/create_and_remove_interface.yml:14 Monday 25 December 2023 22:01:07 +0000 (0:00:00.013) 0:00:03.632 ******* included: /WORKDIR/git-ansible-lint-test-2.165tpu80k0/tests/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-ansible-lint-test-2.165tpu80k0/tests/tasks/manage_test_interface.yml:3 Monday 25 December 2023 22:01:07 +0000 (0:00:00.016) 0:00:03.649 ******* 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.165tpu80k0/tests/tasks/manage_test_interface.yml:8 Monday 25 December 2023 22:01:07 +0000 (0:00:00.008) 0:00:03.657 ******* 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.165tpu80k0/tests/tasks/manage_test_interface.yml:13 Monday 25 December 2023 22:01:07 +0000 (0:00:00.007) 0:00:03.665 ******* included: /WORKDIR/git-ansible-lint-test-2.165tpu80k0/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-ansible-lint-test-2.165tpu80k0/tests/tasks/show_interfaces.yml:3 Monday 25 December 2023 22:01:07 +0000 (0:00:00.010) 0:00:03.676 ******* included: /WORKDIR/git-ansible-lint-test-2.165tpu80k0/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-ansible-lint-test-2.165tpu80k0/tests/tasks/get_current_interfaces.yml:3 Monday 25 December 2023 22:01:07 +0000 (0:00:00.011) 0:00:03.687 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003309", "end": "2023-12-25 22:01:08.122649", "rc": 0, "start": "2023-12-25 22:01:08.119340" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-ansible-lint-test-2.165tpu80k0/tests/tasks/get_current_interfaces.yml:9 Monday 25 December 2023 22:01:08 +0000 (0:00:00.200) 0:00:03.887 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-ansible-lint-test-2.165tpu80k0/tests/tasks/show_interfaces.yml:5 Monday 25 December 2023 22:01:08 +0000 (0:00:00.017) 0:00:03.905 ******* ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-ansible-lint-test-2.165tpu80k0/tests/tasks/manage_test_interface.yml:16 Monday 25 December 2023 22:01:08 +0000 (0:00:00.011) 0:00:03.916 ******* ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth1298] ****************************************** task path: /WORKDIR/git-ansible-lint-test-2.165tpu80k0/tests/tasks/manage_test_interface.yml:23 Monday 25 December 2023 22:01:09 +0000 (0:00:00.891) 0:00:04.807 ******* 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.009213", "end": "2023-12-25 22:01:09.254859", "item": "ip link add veth1298 type veth peer name peerveth1298", "rc": 0, "start": "2023-12-25 22:01:09.245646" } ok: [sut] => (item=ip link set peerveth1298 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peerveth1298", "up" ], "delta": "0:00:00.003478", "end": "2023-12-25 22:01:09.469596", "item": "ip link set peerveth1298 up", "rc": 0, "start": "2023-12-25 22:01:09.466118" } ok: [sut] => (item=ip link set veth1298 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "veth1298", "up" ], "delta": "0:00:00.003907", "end": "2023-12-25 22:01:09.648912", "item": "ip link set veth1298 up", "rc": 0, "start": "2023-12-25 22:01:09.645005" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-ansible-lint-test-2.165tpu80k0/tests/tasks/manage_test_interface.yml:31 Monday 25 December 2023 22:01:09 +0000 (0:00:00.599) 0:00:05.407 ******* ok: [sut] => { "changed": false, "cmd": [ "nmcli", "d", "set", "veth1298", "managed", "true" ], "delta": "0:00:00.020770", "end": "2023-12-25 22:01:09.860033", "rc": 0, "start": "2023-12-25 22:01:09.839263" } TASK [Delete veth interface veth1298] ****************************************** task path: /WORKDIR/git-ansible-lint-test-2.165tpu80k0/tests/tasks/manage_test_interface.yml:39 Monday 25 December 2023 22:01:09 +0000 (0:00:00.210) 0:00:05.617 ******* 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.165tpu80k0/tests/tasks/manage_test_interface.yml:45 Monday 25 December 2023 22:01:09 +0000 (0:00:00.009) 0:00:05.627 ******* 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.165tpu80k0/tests/tasks/manage_test_interface.yml:50 Monday 25 December 2023 22:01:09 +0000 (0:00:00.008) 0:00:05.635 ******* 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.165tpu80k0/tests/tasks/manage_test_interface.yml:56 Monday 25 December 2023 22:01:09 +0000 (0:00:00.007) 0:00:05.643 ******* 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.165tpu80k0/tests/tasks/manage_test_interface.yml:61 Monday 25 December 2023 22:01:09 +0000 (0:00:00.008) 0:00:05.652 ******* 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.165tpu80k0/tests/tasks/create_and_remove_interface.yml:18 Monday 25 December 2023 22:01:09 +0000 (0:00:00.008) 0:00:05.660 ******* included: /WORKDIR/git-ansible-lint-test-2.165tpu80k0/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-ansible-lint-test-2.165tpu80k0/tests/tasks/show_interfaces.yml:3 Monday 25 December 2023 22:01:09 +0000 (0:00:00.016) 0:00:05.677 ******* included: /WORKDIR/git-ansible-lint-test-2.165tpu80k0/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-ansible-lint-test-2.165tpu80k0/tests/tasks/get_current_interfaces.yml:3 Monday 25 December 2023 22:01:09 +0000 (0:00:00.011) 0:00:05.689 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003299", "end": "2023-12-25 22:01:10.123259", "rc": 0, "start": "2023-12-25 22:01:10.119960" } STDOUT: bonding_masters eth0 lo peerveth1298 veth1298 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-ansible-lint-test-2.165tpu80k0/tests/tasks/get_current_interfaces.yml:9 Monday 25 December 2023 22:01:10 +0000 (0:00:00.187) 0:00:05.877 ******* 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.165tpu80k0/tests/tasks/show_interfaces.yml:5 Monday 25 December 2023 22:01:10 +0000 (0:00:00.013) 0:00:05.890 ******* 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.165tpu80k0/tests/tasks/create_and_remove_interface.yml:20 Monday 25 December 2023 22:01:10 +0000 (0:00:00.010) 0:00:05.900 ******* included: /WORKDIR/git-ansible-lint-test-2.165tpu80k0/tests/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-ansible-lint-test-2.165tpu80k0/tests/tasks/assert_device_present.yml:3 Monday 25 December 2023 22:01:10 +0000 (0:00:00.019) 0:00:05.920 ******* included: /WORKDIR/git-ansible-lint-test-2.165tpu80k0/tests/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth1298] ***************************************** task path: /WORKDIR/git-ansible-lint-test-2.165tpu80k0/tests/tasks/get_interface_stat.yml:3 Monday 25 December 2023 22:01:10 +0000 (0:00:00.010) 0:00:05.930 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1703541669.249445, "block_size": 4096, "blocks": 0, "ctime": 1703541669.249445, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 29803, "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": 1703541669.249445, "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.165tpu80k0/tests/tasks/assert_device_present.yml:5 Monday 25 December 2023 22:01:10 +0000 (0:00:00.190) 0:00:06.121 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-ansible-lint-test-2.165tpu80k0/tests/tasks/create_and_remove_interface.yml:23 Monday 25 December 2023 22:01:10 +0000 (0:00:00.010) 0:00:06.131 ******* included: /WORKDIR/git-ansible-lint-test-2.165tpu80k0/tests/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-ansible-lint-test-2.165tpu80k0/tests/tasks/manage_test_interface.yml:3 Monday 25 December 2023 22:01:10 +0000 (0:00:00.018) 0:00:06.149 ******* 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.165tpu80k0/tests/tasks/manage_test_interface.yml:8 Monday 25 December 2023 22:01:10 +0000 (0:00:00.008) 0:00:06.157 ******* 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.165tpu80k0/tests/tasks/manage_test_interface.yml:13 Monday 25 December 2023 22:01:10 +0000 (0:00:00.012) 0:00:06.169 ******* included: /WORKDIR/git-ansible-lint-test-2.165tpu80k0/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-ansible-lint-test-2.165tpu80k0/tests/tasks/show_interfaces.yml:3 Monday 25 December 2023 22:01:10 +0000 (0:00:00.011) 0:00:06.181 ******* included: /WORKDIR/git-ansible-lint-test-2.165tpu80k0/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-ansible-lint-test-2.165tpu80k0/tests/tasks/get_current_interfaces.yml:3 Monday 25 December 2023 22:01:10 +0000 (0:00:00.009) 0:00:06.190 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003288", "end": "2023-12-25 22:01:10.642189", "rc": 0, "start": "2023-12-25 22:01:10.638901" } STDOUT: bonding_masters eth0 lo peerveth1298 veth1298 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-ansible-lint-test-2.165tpu80k0/tests/tasks/get_current_interfaces.yml:9 Monday 25 December 2023 22:01:10 +0000 (0:00:00.204) 0:00:06.395 ******* 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.165tpu80k0/tests/tasks/show_interfaces.yml:5 Monday 25 December 2023 22:01:10 +0000 (0:00:00.009) 0:00:06.404 ******* ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'peerveth1298', 'veth1298'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-ansible-lint-test-2.165tpu80k0/tests/tasks/manage_test_interface.yml:16 Monday 25 December 2023 22:01:10 +0000 (0:00:00.008) 0:00:06.413 ******* ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth1298] ****************************************** task path: /WORKDIR/git-ansible-lint-test-2.165tpu80k0/tests/tasks/manage_test_interface.yml:23 Monday 25 December 2023 22:01:11 +0000 (0:00:00.837) 0:00:07.251 ******* 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.165tpu80k0/tests/tasks/manage_test_interface.yml:31 Monday 25 December 2023 22:01:11 +0000 (0:00:00.024) 0:00:07.276 ******* 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.165tpu80k0/tests/tasks/manage_test_interface.yml:39 Monday 25 December 2023 22:01:11 +0000 (0:00:00.010) 0:00:07.286 ******* ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "veth1298", "type", "veth" ], "delta": "0:00:00.008299", "end": "2023-12-25 22:01:11.727097", "rc": 0, "start": "2023-12-25 22:01:11.718798" } TASK [Create dummy interface veth1298] ***************************************** task path: /WORKDIR/git-ansible-lint-test-2.165tpu80k0/tests/tasks/manage_test_interface.yml:45 Monday 25 December 2023 22:01:11 +0000 (0:00:00.203) 0:00:07.489 ******* 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.165tpu80k0/tests/tasks/manage_test_interface.yml:50 Monday 25 December 2023 22:01:11 +0000 (0:00:00.009) 0:00:07.499 ******* 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.165tpu80k0/tests/tasks/manage_test_interface.yml:56 Monday 25 December 2023 22:01:11 +0000 (0:00:00.014) 0:00:07.514 ******* 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.165tpu80k0/tests/tasks/manage_test_interface.yml:61 Monday 25 December 2023 22:01:11 +0000 (0:00:00.013) 0:00:07.527 ******* 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.165tpu80k0/tests/tasks/create_and_remove_interface.yml:27 Monday 25 December 2023 22:01:11 +0000 (0:00:00.013) 0:00:07.541 ******* included: /WORKDIR/git-ansible-lint-test-2.165tpu80k0/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-ansible-lint-test-2.165tpu80k0/tests/tasks/show_interfaces.yml:3 Monday 25 December 2023 22:01:11 +0000 (0:00:00.020) 0:00:07.561 ******* included: /WORKDIR/git-ansible-lint-test-2.165tpu80k0/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-ansible-lint-test-2.165tpu80k0/tests/tasks/get_current_interfaces.yml:3 Monday 25 December 2023 22:01:11 +0000 (0:00:00.010) 0:00:07.572 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003369", "end": "2023-12-25 22:01:12.015197", "rc": 0, "start": "2023-12-25 22:01:12.011828" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-ansible-lint-test-2.165tpu80k0/tests/tasks/get_current_interfaces.yml:9 Monday 25 December 2023 22:01:12 +0000 (0:00:00.195) 0:00:07.767 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-ansible-lint-test-2.165tpu80k0/tests/tasks/show_interfaces.yml:5 Monday 25 December 2023 22:01:12 +0000 (0:00:00.009) 0:00:07.777 ******* 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.165tpu80k0/tests/tasks/create_and_remove_interface.yml:29 Monday 25 December 2023 22:01:12 +0000 (0:00:00.008) 0:00:07.786 ******* included: /WORKDIR/git-ansible-lint-test-2.165tpu80k0/tests/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-ansible-lint-test-2.165tpu80k0/tests/tasks/assert_device_absent.yml:3 Monday 25 December 2023 22:01:12 +0000 (0:00:00.018) 0:00:07.805 ******* included: /WORKDIR/git-ansible-lint-test-2.165tpu80k0/tests/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth1298] ***************************************** task path: /WORKDIR/git-ansible-lint-test-2.165tpu80k0/tests/tasks/get_interface_stat.yml:3 Monday 25 December 2023 22:01:12 +0000 (0:00:00.009) 0:00:07.815 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'veth1298'] ************************ task path: /WORKDIR/git-ansible-lint-test-2.165tpu80k0/tests/tasks/assert_device_absent.yml:5 Monday 25 December 2023 22:01:12 +0000 (0:00:00.185) 0:00:08.000 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test veth interface management] ****************************************** task path: /WORKDIR/git-ansible-lint-test-2.165tpu80k0/tests/tests_helpers_and_asserts.yml:15 Monday 25 December 2023 22:01:12 +0000 (0:00:00.017) 0:00:08.018 ******* included: /WORKDIR/git-ansible-lint-test-2.165tpu80k0/tests/tasks/create_and_remove_interface.yml for sut TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-ansible-lint-test-2.165tpu80k0/tests/tasks/create_and_remove_interface.yml:3 Monday 25 December 2023 22:01:12 +0000 (0:00:00.025) 0:00:08.044 ******* included: /WORKDIR/git-ansible-lint-test-2.165tpu80k0/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-ansible-lint-test-2.165tpu80k0/tests/tasks/show_interfaces.yml:3 Monday 25 December 2023 22:01:12 +0000 (0:00:00.011) 0:00:08.055 ******* included: /WORKDIR/git-ansible-lint-test-2.165tpu80k0/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-ansible-lint-test-2.165tpu80k0/tests/tasks/get_current_interfaces.yml:3 Monday 25 December 2023 22:01:12 +0000 (0:00:00.010) 0:00:08.065 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003256", "end": "2023-12-25 22:01:12.502159", "rc": 0, "start": "2023-12-25 22:01:12.498903" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-ansible-lint-test-2.165tpu80k0/tests/tasks/get_current_interfaces.yml:9 Monday 25 December 2023 22:01:12 +0000 (0:00:00.196) 0:00:08.262 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-ansible-lint-test-2.165tpu80k0/tests/tasks/show_interfaces.yml:5 Monday 25 December 2023 22:01:12 +0000 (0:00:00.010) 0:00:08.272 ******* 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.165tpu80k0/tests/tasks/create_and_remove_interface.yml:5 Monday 25 December 2023 22:01:12 +0000 (0:00:00.014) 0:00:08.287 ******* included: /WORKDIR/git-ansible-lint-test-2.165tpu80k0/tests/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-ansible-lint-test-2.165tpu80k0/tests/tasks/manage_test_interface.yml:3 Monday 25 December 2023 22:01:12 +0000 (0:00:00.016) 0:00:08.303 ******* 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.165tpu80k0/tests/tasks/manage_test_interface.yml:8 Monday 25 December 2023 22:01:12 +0000 (0:00:00.011) 0:00:08.315 ******* 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.165tpu80k0/tests/tasks/manage_test_interface.yml:13 Monday 25 December 2023 22:01:12 +0000 (0:00:00.008) 0:00:08.324 ******* included: /WORKDIR/git-ansible-lint-test-2.165tpu80k0/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-ansible-lint-test-2.165tpu80k0/tests/tasks/show_interfaces.yml:3 Monday 25 December 2023 22:01:12 +0000 (0:00:00.013) 0:00:08.337 ******* included: /WORKDIR/git-ansible-lint-test-2.165tpu80k0/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-ansible-lint-test-2.165tpu80k0/tests/tasks/get_current_interfaces.yml:3 Monday 25 December 2023 22:01:12 +0000 (0:00:00.010) 0:00:08.348 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003400", "end": "2023-12-25 22:01:12.784023", "rc": 0, "start": "2023-12-25 22:01:12.780623" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-ansible-lint-test-2.165tpu80k0/tests/tasks/get_current_interfaces.yml:9 Monday 25 December 2023 22:01:12 +0000 (0:00:00.194) 0:00:08.543 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-ansible-lint-test-2.165tpu80k0/tests/tasks/show_interfaces.yml:5 Monday 25 December 2023 22:01:12 +0000 (0:00:00.019) 0:00:08.563 ******* ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-ansible-lint-test-2.165tpu80k0/tests/tasks/manage_test_interface.yml:16 Monday 25 December 2023 22:01:12 +0000 (0:00:00.010) 0:00:08.573 ******* ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface dummy1298] ***************************************** task path: /WORKDIR/git-ansible-lint-test-2.165tpu80k0/tests/tasks/manage_test_interface.yml:23 Monday 25 December 2023 22:01:13 +0000 (0:00:00.848) 0:00:09.421 ******* 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.165tpu80k0/tests/tasks/manage_test_interface.yml:31 Monday 25 December 2023 22:01:13 +0000 (0:00:00.023) 0:00:09.444 ******* 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.165tpu80k0/tests/tasks/manage_test_interface.yml:39 Monday 25 December 2023 22:01:13 +0000 (0:00:00.012) 0:00:09.457 ******* 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.165tpu80k0/tests/tasks/manage_test_interface.yml:45 Monday 25 December 2023 22:01:13 +0000 (0:00:00.009) 0:00:09.467 ******* 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.165tpu80k0/tests/tasks/manage_test_interface.yml:50 Monday 25 December 2023 22:01:13 +0000 (0:00:00.020) 0:00:09.488 ******* 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.165tpu80k0/tests/tasks/manage_test_interface.yml:56 Monday 25 December 2023 22:01:13 +0000 (0:00:00.015) 0:00:09.503 ******* 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.165tpu80k0/tests/tasks/manage_test_interface.yml:61 Monday 25 December 2023 22:01:13 +0000 (0:00:00.011) 0:00:09.514 ******* 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.165tpu80k0/tests/tasks/create_and_remove_interface.yml:9 Monday 25 December 2023 22:01:13 +0000 (0:00:00.008) 0:00:09.523 ******* included: /WORKDIR/git-ansible-lint-test-2.165tpu80k0/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-ansible-lint-test-2.165tpu80k0/tests/tasks/show_interfaces.yml:3 Monday 25 December 2023 22:01:13 +0000 (0:00:00.017) 0:00:09.540 ******* included: /WORKDIR/git-ansible-lint-test-2.165tpu80k0/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-ansible-lint-test-2.165tpu80k0/tests/tasks/get_current_interfaces.yml:3 Monday 25 December 2023 22:01:13 +0000 (0:00:00.030) 0:00:09.571 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003221", "end": "2023-12-25 22:01:14.016539", "rc": 0, "start": "2023-12-25 22:01:14.013318" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-ansible-lint-test-2.165tpu80k0/tests/tasks/get_current_interfaces.yml:9 Monday 25 December 2023 22:01:14 +0000 (0:00:00.198) 0:00:09.769 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-ansible-lint-test-2.165tpu80k0/tests/tasks/show_interfaces.yml:5 Monday 25 December 2023 22:01:14 +0000 (0:00:00.010) 0:00:09.780 ******* 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.165tpu80k0/tests/tasks/create_and_remove_interface.yml:11 Monday 25 December 2023 22:01:14 +0000 (0:00:00.009) 0:00:09.790 ******* included: /WORKDIR/git-ansible-lint-test-2.165tpu80k0/tests/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-ansible-lint-test-2.165tpu80k0/tests/tasks/assert_device_absent.yml:3 Monday 25 December 2023 22:01:14 +0000 (0:00:00.015) 0:00:09.805 ******* included: /WORKDIR/git-ansible-lint-test-2.165tpu80k0/tests/tasks/get_interface_stat.yml for sut TASK [Get stat for interface dummy1298] **************************************** task path: /WORKDIR/git-ansible-lint-test-2.165tpu80k0/tests/tasks/get_interface_stat.yml:3 Monday 25 December 2023 22:01:14 +0000 (0:00:00.009) 0:00:09.815 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'dummy1298'] *********************** task path: /WORKDIR/git-ansible-lint-test-2.165tpu80k0/tests/tasks/assert_device_absent.yml:5 Monday 25 December 2023 22:01:14 +0000 (0:00:00.183) 0:00:09.998 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-ansible-lint-test-2.165tpu80k0/tests/tasks/create_and_remove_interface.yml:14 Monday 25 December 2023 22:01:14 +0000 (0:00:00.017) 0:00:10.016 ******* included: /WORKDIR/git-ansible-lint-test-2.165tpu80k0/tests/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-ansible-lint-test-2.165tpu80k0/tests/tasks/manage_test_interface.yml:3 Monday 25 December 2023 22:01:14 +0000 (0:00:00.018) 0:00:10.035 ******* 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.165tpu80k0/tests/tasks/manage_test_interface.yml:8 Monday 25 December 2023 22:01:14 +0000 (0:00:00.011) 0:00:10.046 ******* 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.165tpu80k0/tests/tasks/manage_test_interface.yml:13 Monday 25 December 2023 22:01:14 +0000 (0:00:00.007) 0:00:10.054 ******* included: /WORKDIR/git-ansible-lint-test-2.165tpu80k0/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-ansible-lint-test-2.165tpu80k0/tests/tasks/show_interfaces.yml:3 Monday 25 December 2023 22:01:14 +0000 (0:00:00.021) 0:00:10.076 ******* included: /WORKDIR/git-ansible-lint-test-2.165tpu80k0/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-ansible-lint-test-2.165tpu80k0/tests/tasks/get_current_interfaces.yml:3 Monday 25 December 2023 22:01:14 +0000 (0:00:00.009) 0:00:10.086 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003223", "end": "2023-12-25 22:01:14.521338", "rc": 0, "start": "2023-12-25 22:01:14.518115" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-ansible-lint-test-2.165tpu80k0/tests/tasks/get_current_interfaces.yml:9 Monday 25 December 2023 22:01:14 +0000 (0:00:00.187) 0:00:10.273 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-ansible-lint-test-2.165tpu80k0/tests/tasks/show_interfaces.yml:5 Monday 25 December 2023 22:01:14 +0000 (0:00:00.009) 0:00:10.283 ******* ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-ansible-lint-test-2.165tpu80k0/tests/tasks/manage_test_interface.yml:16 Monday 25 December 2023 22:01:14 +0000 (0:00:00.008) 0:00:10.291 ******* ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface dummy1298] ***************************************** task path: /WORKDIR/git-ansible-lint-test-2.165tpu80k0/tests/tasks/manage_test_interface.yml:23 Monday 25 December 2023 22:01:15 +0000 (0:00:00.841) 0:00:11.133 ******* 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.165tpu80k0/tests/tasks/manage_test_interface.yml:31 Monday 25 December 2023 22:01:15 +0000 (0:00:00.015) 0:00:11.148 ******* 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.165tpu80k0/tests/tasks/manage_test_interface.yml:39 Monday 25 December 2023 22:01:15 +0000 (0:00:00.008) 0:00:11.156 ******* 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.165tpu80k0/tests/tasks/manage_test_interface.yml:45 Monday 25 December 2023 22:01:15 +0000 (0:00:00.008) 0:00:11.165 ******* ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "add", "dummy1298", "type", "dummy" ], "delta": "0:00:00.015045", "end": "2023-12-25 22:01:15.612871", "rc": 0, "start": "2023-12-25 22:01:15.597826" } TASK [Delete dummy interface dummy1298] **************************************** task path: /WORKDIR/git-ansible-lint-test-2.165tpu80k0/tests/tasks/manage_test_interface.yml:50 Monday 25 December 2023 22:01:15 +0000 (0:00:00.209) 0:00:11.375 ******* 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.165tpu80k0/tests/tasks/manage_test_interface.yml:56 Monday 25 December 2023 22:01:15 +0000 (0:00:00.009) 0:00:11.384 ******* skipping: [sut] => { "changed": false, "false_condition": "type == 'tap' and state == 'present' and interface not in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Delete tap interface dummy1298] ****************************************** task path: /WORKDIR/git-ansible-lint-test-2.165tpu80k0/tests/tasks/manage_test_interface.yml:61 Monday 25 December 2023 22:01:15 +0000 (0:00:00.009) 0:00:11.394 ******* skipping: [sut] => { "changed": false, "false_condition": "type == 'tap' and state == 'absent' and interface in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-ansible-lint-test-2.165tpu80k0/tests/tasks/create_and_remove_interface.yml:18 Monday 25 December 2023 22:01:15 +0000 (0:00:00.007) 0:00:11.401 ******* included: /WORKDIR/git-ansible-lint-test-2.165tpu80k0/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-ansible-lint-test-2.165tpu80k0/tests/tasks/show_interfaces.yml:3 Monday 25 December 2023 22:01:15 +0000 (0:00:00.015) 0:00:11.417 ******* included: /WORKDIR/git-ansible-lint-test-2.165tpu80k0/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-ansible-lint-test-2.165tpu80k0/tests/tasks/get_current_interfaces.yml:3 Monday 25 December 2023 22:01:15 +0000 (0:00:00.016) 0:00:11.433 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003514", "end": "2023-12-25 22:01:15.870610", "rc": 0, "start": "2023-12-25 22:01:15.867096" } STDOUT: bonding_masters dummy1298 eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-ansible-lint-test-2.165tpu80k0/tests/tasks/get_current_interfaces.yml:9 Monday 25 December 2023 22:01:15 +0000 (0:00:00.189) 0:00:11.623 ******* 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.165tpu80k0/tests/tasks/show_interfaces.yml:5 Monday 25 December 2023 22:01:15 +0000 (0:00:00.010) 0:00:11.634 ******* 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.165tpu80k0/tests/tasks/create_and_remove_interface.yml:20 Monday 25 December 2023 22:01:15 +0000 (0:00:00.010) 0:00:11.644 ******* included: /WORKDIR/git-ansible-lint-test-2.165tpu80k0/tests/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-ansible-lint-test-2.165tpu80k0/tests/tasks/assert_device_present.yml:3 Monday 25 December 2023 22:01:15 +0000 (0:00:00.016) 0:00:11.660 ******* included: /WORKDIR/git-ansible-lint-test-2.165tpu80k0/tests/tasks/get_interface_stat.yml for sut TASK [Get stat for interface dummy1298] **************************************** task path: /WORKDIR/git-ansible-lint-test-2.165tpu80k0/tests/tasks/get_interface_stat.yml:3 Monday 25 December 2023 22:01:15 +0000 (0:00:00.010) 0:00:11.671 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1703541675.6074414, "block_size": 4096, "blocks": 0, "ctime": 1703541675.6074414, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 30131, "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": 1703541675.6074414, "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.165tpu80k0/tests/tasks/assert_device_present.yml:5 Monday 25 December 2023 22:01:16 +0000 (0:00:00.184) 0:00:11.855 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-ansible-lint-test-2.165tpu80k0/tests/tasks/create_and_remove_interface.yml:23 Monday 25 December 2023 22:01:16 +0000 (0:00:00.010) 0:00:11.865 ******* included: /WORKDIR/git-ansible-lint-test-2.165tpu80k0/tests/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-ansible-lint-test-2.165tpu80k0/tests/tasks/manage_test_interface.yml:3 Monday 25 December 2023 22:01:16 +0000 (0:00:00.018) 0:00:11.883 ******* 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.165tpu80k0/tests/tasks/manage_test_interface.yml:8 Monday 25 December 2023 22:01:16 +0000 (0:00:00.009) 0:00:11.892 ******* 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.165tpu80k0/tests/tasks/manage_test_interface.yml:13 Monday 25 December 2023 22:01:16 +0000 (0:00:00.008) 0:00:11.900 ******* included: /WORKDIR/git-ansible-lint-test-2.165tpu80k0/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-ansible-lint-test-2.165tpu80k0/tests/tasks/show_interfaces.yml:3 Monday 25 December 2023 22:01:16 +0000 (0:00:00.013) 0:00:11.913 ******* included: /WORKDIR/git-ansible-lint-test-2.165tpu80k0/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-ansible-lint-test-2.165tpu80k0/tests/tasks/get_current_interfaces.yml:3 Monday 25 December 2023 22:01:16 +0000 (0:00:00.015) 0:00:11.929 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003248", "end": "2023-12-25 22:01:16.362937", "rc": 0, "start": "2023-12-25 22:01:16.359689" } STDOUT: bonding_masters dummy1298 eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-ansible-lint-test-2.165tpu80k0/tests/tasks/get_current_interfaces.yml:9 Monday 25 December 2023 22:01:16 +0000 (0:00:00.187) 0:00:12.116 ******* 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.165tpu80k0/tests/tasks/show_interfaces.yml:5 Monday 25 December 2023 22:01:16 +0000 (0:00:00.011) 0:00:12.127 ******* ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'dummy1298', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-ansible-lint-test-2.165tpu80k0/tests/tasks/manage_test_interface.yml:16 Monday 25 December 2023 22:01:16 +0000 (0:00:00.009) 0:00:12.136 ******* ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface dummy1298] ***************************************** task path: /WORKDIR/git-ansible-lint-test-2.165tpu80k0/tests/tasks/manage_test_interface.yml:23 Monday 25 December 2023 22:01:17 +0000 (0:00:00.844) 0:00:12.980 ******* 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.165tpu80k0/tests/tasks/manage_test_interface.yml:31 Monday 25 December 2023 22:01:17 +0000 (0:00:00.017) 0:00:12.998 ******* 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.165tpu80k0/tests/tasks/manage_test_interface.yml:39 Monday 25 December 2023 22:01:17 +0000 (0:00:00.009) 0:00:13.007 ******* 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.165tpu80k0/tests/tasks/manage_test_interface.yml:45 Monday 25 December 2023 22:01:17 +0000 (0:00:00.017) 0:00:13.025 ******* 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.165tpu80k0/tests/tasks/manage_test_interface.yml:50 Monday 25 December 2023 22:01:17 +0000 (0:00:00.009) 0:00:13.034 ******* ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "dummy1298", "type", "dummy" ], "delta": "0:00:00.011540", "end": "2023-12-25 22:01:17.482615", "rc": 0, "start": "2023-12-25 22:01:17.471075" } TASK [Create tap interface dummy1298] ****************************************** task path: /WORKDIR/git-ansible-lint-test-2.165tpu80k0/tests/tasks/manage_test_interface.yml:56 Monday 25 December 2023 22:01:17 +0000 (0:00:00.201) 0:00:13.236 ******* 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.165tpu80k0/tests/tasks/manage_test_interface.yml:61 Monday 25 December 2023 22:01:17 +0000 (0:00:00.009) 0:00:13.245 ******* 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.165tpu80k0/tests/tasks/create_and_remove_interface.yml:27 Monday 25 December 2023 22:01:17 +0000 (0:00:00.008) 0:00:13.254 ******* included: /WORKDIR/git-ansible-lint-test-2.165tpu80k0/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-ansible-lint-test-2.165tpu80k0/tests/tasks/show_interfaces.yml:3 Monday 25 December 2023 22:01:17 +0000 (0:00:00.018) 0:00:13.273 ******* included: /WORKDIR/git-ansible-lint-test-2.165tpu80k0/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-ansible-lint-test-2.165tpu80k0/tests/tasks/get_current_interfaces.yml:3 Monday 25 December 2023 22:01:17 +0000 (0:00:00.009) 0:00:13.282 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003292", "end": "2023-12-25 22:01:17.717486", "rc": 0, "start": "2023-12-25 22:01:17.714194" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-ansible-lint-test-2.165tpu80k0/tests/tasks/get_current_interfaces.yml:9 Monday 25 December 2023 22:01:17 +0000 (0:00:00.188) 0:00:13.471 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-ansible-lint-test-2.165tpu80k0/tests/tasks/show_interfaces.yml:5 Monday 25 December 2023 22:01:17 +0000 (0:00:00.010) 0:00:13.481 ******* 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.165tpu80k0/tests/tasks/create_and_remove_interface.yml:29 Monday 25 December 2023 22:01:17 +0000 (0:00:00.008) 0:00:13.490 ******* included: /WORKDIR/git-ansible-lint-test-2.165tpu80k0/tests/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-ansible-lint-test-2.165tpu80k0/tests/tasks/assert_device_absent.yml:3 Monday 25 December 2023 22:01:17 +0000 (0:00:00.021) 0:00:13.512 ******* included: /WORKDIR/git-ansible-lint-test-2.165tpu80k0/tests/tasks/get_interface_stat.yml for sut TASK [Get stat for interface dummy1298] **************************************** task path: /WORKDIR/git-ansible-lint-test-2.165tpu80k0/tests/tasks/get_interface_stat.yml:3 Monday 25 December 2023 22:01:17 +0000 (0:00:00.017) 0:00:13.529 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'dummy1298'] *********************** task path: /WORKDIR/git-ansible-lint-test-2.165tpu80k0/tests/tasks/assert_device_absent.yml:5 Monday 25 December 2023 22:01:17 +0000 (0:00:00.185) 0:00:13.715 ******* 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 Monday 25 December 2023 22:01:17 +0000 (0:00:00.014) 0:00:13.730 ******* =============================================================================== Install iproute --------------------------------------------------------- 0.95s /WORKDIR/git-ansible-lint-test-2.165tpu80k0/tests/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 0.89s /WORKDIR/git-ansible-lint-test-2.165tpu80k0/tests/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 0.85s /WORKDIR/git-ansible-lint-test-2.165tpu80k0/tests/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 0.84s /WORKDIR/git-ansible-lint-test-2.165tpu80k0/tests/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 0.84s /WORKDIR/git-ansible-lint-test-2.165tpu80k0/tests/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 0.84s /WORKDIR/git-ansible-lint-test-2.165tpu80k0/tests/tasks/manage_test_interface.yml:16 Gathering Facts --------------------------------------------------------- 0.77s /WORKDIR/git-ansible-lint-test-2.165tpu80k0/tests/tests_helpers_and_asserts.yml:3 Create veth interface veth1298 ------------------------------------------ 0.60s /WORKDIR/git-ansible-lint-test-2.165tpu80k0/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.165tpu80k0/tests/tasks/el_repo_setup.yml:3 --- Gather current interface info ------------------------------------------- 0.25s /WORKDIR/git-ansible-lint-test-2.165tpu80k0/tests/tasks/get_current_interfaces.yml:3 Check if system is ostree ----------------------------------------------- 0.24s /WORKDIR/git-ansible-lint-test-2.165tpu80k0/tests/tasks/el_repo_setup.yml:17 -- Gather current interface info ------------------------------------------- 0.21s /WORKDIR/git-ansible-lint-test-2.165tpu80k0/tests/tasks/get_current_interfaces.yml:3 Set up veth as managed by NetworkManager -------------------------------- 0.21s /WORKDIR/git-ansible-lint-test-2.165tpu80k0/tests/tasks/manage_test_interface.yml:31 Create dummy interface dummy1298 ---------------------------------------- 0.21s /WORKDIR/git-ansible-lint-test-2.165tpu80k0/tests/tasks/manage_test_interface.yml:45 Gather current interface info ------------------------------------------- 0.20s /WORKDIR/git-ansible-lint-test-2.165tpu80k0/tests/tasks/get_current_interfaces.yml:3 Delete veth interface veth1298 ------------------------------------------ 0.20s /WORKDIR/git-ansible-lint-test-2.165tpu80k0/tests/tasks/manage_test_interface.yml:39 Delete dummy interface dummy1298 ---------------------------------------- 0.20s /WORKDIR/git-ansible-lint-test-2.165tpu80k0/tests/tasks/manage_test_interface.yml:50 Gather current interface info ------------------------------------------- 0.20s /WORKDIR/git-ansible-lint-test-2.165tpu80k0/tests/tasks/get_current_interfaces.yml:3 Gather current interface info ------------------------------------------- 0.20s /WORKDIR/git-ansible-lint-test-2.165tpu80k0/tests/tasks/get_current_interfaces.yml:3 Get stat for interface veth1298 ----------------------------------------- 0.20s /WORKDIR/git-ansible-lint-test-2.165tpu80k0/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. ---^---^---^---^---^---