# 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.164nhj1rry/.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.164nhj1rry/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.164nhj1rry/tests/tests_helpers_and_asserts.yml:3 Saturday 23 December 2023 21:24:01 +0000 (0:00:00.037) 0:00:00.037 ***** ok: [sut] TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-ansible-lint-test-2.164nhj1rry/tests/tests_helpers_and_asserts.yml:6 Saturday 23 December 2023 21:24:02 +0000 (0:00:01.023) 0:00:01.060 ***** included: /WORKDIR/git-ansible-lint-test-2.164nhj1rry/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.164nhj1rry/tests/tasks/el_repo_setup.yml:3 Saturday 23 December 2023 21:24:02 +0000 (0:00:00.012) 0:00:01.072 ***** ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-ansible-lint-test-2.164nhj1rry/tests/tasks/el_repo_setup.yml:17 Saturday 23 December 2023 21:24:03 +0000 (0:00:00.417) 0:00:01.490 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-ansible-lint-test-2.164nhj1rry/tests/tasks/el_repo_setup.yml:22 Saturday 23 December 2023 21:24:03 +0000 (0:00:00.283) 0:00:01.773 ***** ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-ansible-lint-test-2.164nhj1rry/tests/tasks/el_repo_setup.yml:26 Saturday 23 December 2023 21:24:03 +0000 (0:00:00.013) 0:00:01.786 ***** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution == 'CentOS'", "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-ansible-lint-test-2.164nhj1rry/tests/tasks/el_repo_setup.yml:51 Saturday 23 December 2023 21:24:03 +0000 (0:00:00.007) 0:00:01.794 ***** included: /WORKDIR/git-ansible-lint-test-2.164nhj1rry/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 39] ********************************************************** task path: /WORKDIR/git-ansible-lint-test-2.164nhj1rry/tests/tasks/enable_epel.yml:8 Saturday 23 December 2023 21:24:03 +0000 (0:00:00.020) 0:00:01.814 ***** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution in ['RedHat', 'CentOS']", "skip_reason": "Conditional result was False" } TASK [Install yum-utils package] *********************************************** task path: /WORKDIR/git-ansible-lint-test-2.164nhj1rry/tests/tasks/enable_epel.yml:24 Saturday 23 December 2023 21:24:03 +0000 (0:00:00.007) 0:00:01.822 ***** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution in ['RedHat', 'CentOS']", "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /WORKDIR/git-ansible-lint-test-2.164nhj1rry/tests/tasks/enable_epel.yml:30 Saturday 23 December 2023 21:24:03 +0000 (0:00:00.007) 0:00:01.829 ***** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution in ['RedHat', 'CentOS']", "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /WORKDIR/git-ansible-lint-test-2.164nhj1rry/tests/tasks/enable_epel.yml:35 Saturday 23 December 2023 21:24:03 +0000 (0:00:00.007) 0:00:01.836 ***** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution in ['RedHat', 'CentOS']", "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-ansible-lint-test-2.164nhj1rry/tests/tasks/enable_epel.yml:40 Saturday 23 December 2023 21:24:03 +0000 (0:00:00.007) 0:00:01.844 ***** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution in ['RedHat', 'CentOS']", "skip_reason": "Conditional result was False" } TASK [Test veth interface management] ****************************************** task path: /WORKDIR/git-ansible-lint-test-2.164nhj1rry/tests/tests_helpers_and_asserts.yml:9 Saturday 23 December 2023 21:24:03 +0000 (0:00:00.007) 0:00:01.851 ***** included: /WORKDIR/git-ansible-lint-test-2.164nhj1rry/tests/tasks/create_and_remove_interface.yml for sut TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-ansible-lint-test-2.164nhj1rry/tests/tasks/create_and_remove_interface.yml:3 Saturday 23 December 2023 21:24:03 +0000 (0:00:00.011) 0:00:01.863 ***** included: /WORKDIR/git-ansible-lint-test-2.164nhj1rry/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-ansible-lint-test-2.164nhj1rry/tests/tasks/show_interfaces.yml:3 Saturday 23 December 2023 21:24:03 +0000 (0:00:00.009) 0:00:01.873 ***** included: /WORKDIR/git-ansible-lint-test-2.164nhj1rry/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-ansible-lint-test-2.164nhj1rry/tests/tasks/get_current_interfaces.yml:3 Saturday 23 December 2023 21:24:03 +0000 (0:00:00.010) 0:00:01.883 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003631", "end": "2023-12-23 21:24:03.925216", "rc": 0, "start": "2023-12-23 21:24:03.921585" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-ansible-lint-test-2.164nhj1rry/tests/tasks/get_current_interfaces.yml:9 Saturday 23 December 2023 21:24:03 +0000 (0:00:00.291) 0:00:02.175 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-ansible-lint-test-2.164nhj1rry/tests/tasks/show_interfaces.yml:5 Saturday 23 December 2023 21:24:03 +0000 (0:00:00.017) 0:00:02.192 ***** 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.164nhj1rry/tests/tasks/create_and_remove_interface.yml:5 Saturday 23 December 2023 21:24:03 +0000 (0:00:00.013) 0:00:02.206 ***** included: /WORKDIR/git-ansible-lint-test-2.164nhj1rry/tests/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-ansible-lint-test-2.164nhj1rry/tests/tasks/manage_test_interface.yml:3 Saturday 23 December 2023 21:24:03 +0000 (0:00:00.015) 0:00:02.222 ***** 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.164nhj1rry/tests/tasks/manage_test_interface.yml:8 Saturday 23 December 2023 21:24:04 +0000 (0:00:00.008) 0:00:02.230 ***** 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.164nhj1rry/tests/tasks/manage_test_interface.yml:13 Saturday 23 December 2023 21:24:04 +0000 (0:00:00.021) 0:00:02.251 ***** included: /WORKDIR/git-ansible-lint-test-2.164nhj1rry/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-ansible-lint-test-2.164nhj1rry/tests/tasks/show_interfaces.yml:3 Saturday 23 December 2023 21:24:04 +0000 (0:00:00.025) 0:00:02.277 ***** included: /WORKDIR/git-ansible-lint-test-2.164nhj1rry/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-ansible-lint-test-2.164nhj1rry/tests/tasks/get_current_interfaces.yml:3 Saturday 23 December 2023 21:24:04 +0000 (0:00:00.015) 0:00:02.292 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003410", "end": "2023-12-23 21:24:04.297136", "rc": 0, "start": "2023-12-23 21:24:04.293726" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-ansible-lint-test-2.164nhj1rry/tests/tasks/get_current_interfaces.yml:9 Saturday 23 December 2023 21:24:04 +0000 (0:00:00.254) 0:00:02.547 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-ansible-lint-test-2.164nhj1rry/tests/tasks/show_interfaces.yml:5 Saturday 23 December 2023 21:24:04 +0000 (0:00:00.014) 0:00:02.562 ***** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-ansible-lint-test-2.164nhj1rry/tests/tasks/manage_test_interface.yml:16 Saturday 23 December 2023 21:24:04 +0000 (0:00:00.011) 0:00:02.574 ***** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth1298] ****************************************** task path: /WORKDIR/git-ansible-lint-test-2.164nhj1rry/tests/tasks/manage_test_interface.yml:23 Saturday 23 December 2023 21:24:06 +0000 (0:00:01.956) 0:00:04.530 ***** 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.164nhj1rry/tests/tasks/manage_test_interface.yml:31 Saturday 23 December 2023 21:24:06 +0000 (0:00:00.016) 0:00:04.546 ***** 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.164nhj1rry/tests/tasks/manage_test_interface.yml:39 Saturday 23 December 2023 21:24:06 +0000 (0:00:00.014) 0:00:04.560 ***** 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.164nhj1rry/tests/tasks/manage_test_interface.yml:45 Saturday 23 December 2023 21:24:06 +0000 (0:00:00.010) 0:00:04.571 ***** 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.164nhj1rry/tests/tasks/manage_test_interface.yml:50 Saturday 23 December 2023 21:24:06 +0000 (0:00:00.008) 0:00:04.579 ***** 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.164nhj1rry/tests/tasks/manage_test_interface.yml:56 Saturday 23 December 2023 21:24:06 +0000 (0:00:00.008) 0:00:04.587 ***** 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.164nhj1rry/tests/tasks/manage_test_interface.yml:61 Saturday 23 December 2023 21:24:06 +0000 (0:00:00.010) 0:00:04.598 ***** 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.164nhj1rry/tests/tasks/create_and_remove_interface.yml:9 Saturday 23 December 2023 21:24:06 +0000 (0:00:00.008) 0:00:04.606 ***** included: /WORKDIR/git-ansible-lint-test-2.164nhj1rry/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-ansible-lint-test-2.164nhj1rry/tests/tasks/show_interfaces.yml:3 Saturday 23 December 2023 21:24:06 +0000 (0:00:00.024) 0:00:04.630 ***** included: /WORKDIR/git-ansible-lint-test-2.164nhj1rry/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-ansible-lint-test-2.164nhj1rry/tests/tasks/get_current_interfaces.yml:3 Saturday 23 December 2023 21:24:06 +0000 (0:00:00.011) 0:00:04.642 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003739", "end": "2023-12-23 21:24:06.626360", "rc": 0, "start": "2023-12-23 21:24:06.622621" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-ansible-lint-test-2.164nhj1rry/tests/tasks/get_current_interfaces.yml:9 Saturday 23 December 2023 21:24:06 +0000 (0:00:00.237) 0:00:04.879 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-ansible-lint-test-2.164nhj1rry/tests/tasks/show_interfaces.yml:5 Saturday 23 December 2023 21:24:06 +0000 (0:00:00.010) 0:00:04.890 ***** 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.164nhj1rry/tests/tasks/create_and_remove_interface.yml:11 Saturday 23 December 2023 21:24:06 +0000 (0:00:00.010) 0:00:04.901 ***** included: /WORKDIR/git-ansible-lint-test-2.164nhj1rry/tests/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-ansible-lint-test-2.164nhj1rry/tests/tasks/assert_device_absent.yml:3 Saturday 23 December 2023 21:24:06 +0000 (0:00:00.014) 0:00:04.916 ***** included: /WORKDIR/git-ansible-lint-test-2.164nhj1rry/tests/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth1298] ***************************************** task path: /WORKDIR/git-ansible-lint-test-2.164nhj1rry/tests/tasks/get_interface_stat.yml:3 Saturday 23 December 2023 21:24:06 +0000 (0:00:00.017) 0:00:04.933 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'veth1298'] ************************ task path: /WORKDIR/git-ansible-lint-test-2.164nhj1rry/tests/tasks/assert_device_absent.yml:5 Saturday 23 December 2023 21:24:06 +0000 (0:00:00.233) 0:00:05.166 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-ansible-lint-test-2.164nhj1rry/tests/tasks/create_and_remove_interface.yml:14 Saturday 23 December 2023 21:24:06 +0000 (0:00:00.026) 0:00:05.192 ***** included: /WORKDIR/git-ansible-lint-test-2.164nhj1rry/tests/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-ansible-lint-test-2.164nhj1rry/tests/tasks/manage_test_interface.yml:3 Saturday 23 December 2023 21:24:06 +0000 (0:00:00.027) 0:00:05.220 ***** 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.164nhj1rry/tests/tasks/manage_test_interface.yml:8 Saturday 23 December 2023 21:24:07 +0000 (0:00:00.010) 0:00:05.230 ***** 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.164nhj1rry/tests/tasks/manage_test_interface.yml:13 Saturday 23 December 2023 21:24:07 +0000 (0:00:00.007) 0:00:05.238 ***** included: /WORKDIR/git-ansible-lint-test-2.164nhj1rry/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-ansible-lint-test-2.164nhj1rry/tests/tasks/show_interfaces.yml:3 Saturday 23 December 2023 21:24:07 +0000 (0:00:00.015) 0:00:05.254 ***** included: /WORKDIR/git-ansible-lint-test-2.164nhj1rry/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-ansible-lint-test-2.164nhj1rry/tests/tasks/get_current_interfaces.yml:3 Saturday 23 December 2023 21:24:07 +0000 (0:00:00.011) 0:00:05.265 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003501", "end": "2023-12-23 21:24:07.249353", "rc": 0, "start": "2023-12-23 21:24:07.245852" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-ansible-lint-test-2.164nhj1rry/tests/tasks/get_current_interfaces.yml:9 Saturday 23 December 2023 21:24:07 +0000 (0:00:00.227) 0:00:05.493 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-ansible-lint-test-2.164nhj1rry/tests/tasks/show_interfaces.yml:5 Saturday 23 December 2023 21:24:07 +0000 (0:00:00.012) 0:00:05.505 ***** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-ansible-lint-test-2.164nhj1rry/tests/tasks/manage_test_interface.yml:16 Saturday 23 December 2023 21:24:07 +0000 (0:00:00.009) 0:00:05.515 ***** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth1298] ****************************************** task path: /WORKDIR/git-ansible-lint-test-2.164nhj1rry/tests/tasks/manage_test_interface.yml:23 Saturday 23 December 2023 21:24:09 +0000 (0:00:01.820) 0:00:07.336 ***** 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.005457", "end": "2023-12-23 21:24:09.326477", "item": "ip link add veth1298 type veth peer name peerveth1298", "rc": 0, "start": "2023-12-23 21:24:09.321020" } ok: [sut] => (item=ip link set peerveth1298 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peerveth1298", "up" ], "delta": "0:00:00.003905", "end": "2023-12-23 21:24:09.610109", "item": "ip link set peerveth1298 up", "rc": 0, "start": "2023-12-23 21:24:09.606204" } ok: [sut] => (item=ip link set veth1298 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "veth1298", "up" ], "delta": "0:00:00.004070", "end": "2023-12-23 21:24:09.833638", "item": "ip link set veth1298 up", "rc": 0, "start": "2023-12-23 21:24:09.829568" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-ansible-lint-test-2.164nhj1rry/tests/tasks/manage_test_interface.yml:31 Saturday 23 December 2023 21:24:09 +0000 (0:00:00.743) 0:00:08.079 ***** ok: [sut] => { "changed": false, "cmd": [ "nmcli", "d", "set", "veth1298", "managed", "true" ], "delta": "0:00:00.023237", "end": "2023-12-23 21:24:10.087598", "rc": 0, "start": "2023-12-23 21:24:10.064361" } TASK [Delete veth interface veth1298] ****************************************** task path: /WORKDIR/git-ansible-lint-test-2.164nhj1rry/tests/tasks/manage_test_interface.yml:39 Saturday 23 December 2023 21:24:10 +0000 (0:00:00.254) 0:00:08.334 ***** 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.164nhj1rry/tests/tasks/manage_test_interface.yml:45 Saturday 23 December 2023 21:24:10 +0000 (0:00:00.013) 0:00:08.347 ***** 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.164nhj1rry/tests/tasks/manage_test_interface.yml:50 Saturday 23 December 2023 21:24:10 +0000 (0:00:00.008) 0:00:08.355 ***** 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.164nhj1rry/tests/tasks/manage_test_interface.yml:56 Saturday 23 December 2023 21:24:10 +0000 (0:00:00.010) 0:00:08.366 ***** 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.164nhj1rry/tests/tasks/manage_test_interface.yml:61 Saturday 23 December 2023 21:24:10 +0000 (0:00:00.029) 0:00:08.396 ***** 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.164nhj1rry/tests/tasks/create_and_remove_interface.yml:18 Saturday 23 December 2023 21:24:10 +0000 (0:00:00.016) 0:00:08.412 ***** included: /WORKDIR/git-ansible-lint-test-2.164nhj1rry/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-ansible-lint-test-2.164nhj1rry/tests/tasks/show_interfaces.yml:3 Saturday 23 December 2023 21:24:10 +0000 (0:00:00.016) 0:00:08.428 ***** included: /WORKDIR/git-ansible-lint-test-2.164nhj1rry/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-ansible-lint-test-2.164nhj1rry/tests/tasks/get_current_interfaces.yml:3 Saturday 23 December 2023 21:24:10 +0000 (0:00:00.009) 0:00:08.438 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003423", "end": "2023-12-23 21:24:10.422824", "rc": 0, "start": "2023-12-23 21:24:10.419401" } STDOUT: bonding_masters eth0 lo peerveth1298 veth1298 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-ansible-lint-test-2.164nhj1rry/tests/tasks/get_current_interfaces.yml:9 Saturday 23 December 2023 21:24:10 +0000 (0:00:00.228) 0:00:08.667 ***** 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.164nhj1rry/tests/tasks/show_interfaces.yml:5 Saturday 23 December 2023 21:24:10 +0000 (0:00:00.010) 0:00:08.677 ***** 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.164nhj1rry/tests/tasks/create_and_remove_interface.yml:20 Saturday 23 December 2023 21:24:10 +0000 (0:00:00.010) 0:00:08.688 ***** included: /WORKDIR/git-ansible-lint-test-2.164nhj1rry/tests/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-ansible-lint-test-2.164nhj1rry/tests/tasks/assert_device_present.yml:3 Saturday 23 December 2023 21:24:10 +0000 (0:00:00.016) 0:00:08.704 ***** included: /WORKDIR/git-ansible-lint-test-2.164nhj1rry/tests/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth1298] ***************************************** task path: /WORKDIR/git-ansible-lint-test-2.164nhj1rry/tests/tasks/get_interface_stat.yml:3 Saturday 23 December 2023 21:24:10 +0000 (0:00:00.010) 0:00:08.714 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1703366649.3251276, "block_size": 4096, "blocks": 0, "ctime": 1703366649.3251276, "dev": 22, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 31352, "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": 1703366649.3251276, "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.164nhj1rry/tests/tasks/assert_device_present.yml:5 Saturday 23 December 2023 21:24:10 +0000 (0:00:00.226) 0:00:08.941 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-ansible-lint-test-2.164nhj1rry/tests/tasks/create_and_remove_interface.yml:23 Saturday 23 December 2023 21:24:10 +0000 (0:00:00.010) 0:00:08.952 ***** included: /WORKDIR/git-ansible-lint-test-2.164nhj1rry/tests/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-ansible-lint-test-2.164nhj1rry/tests/tasks/manage_test_interface.yml:3 Saturday 23 December 2023 21:24:10 +0000 (0:00:00.020) 0:00:08.972 ***** 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.164nhj1rry/tests/tasks/manage_test_interface.yml:8 Saturday 23 December 2023 21:24:10 +0000 (0:00:00.010) 0:00:08.982 ***** 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.164nhj1rry/tests/tasks/manage_test_interface.yml:13 Saturday 23 December 2023 21:24:10 +0000 (0:00:00.015) 0:00:08.998 ***** included: /WORKDIR/git-ansible-lint-test-2.164nhj1rry/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-ansible-lint-test-2.164nhj1rry/tests/tasks/show_interfaces.yml:3 Saturday 23 December 2023 21:24:10 +0000 (0:00:00.021) 0:00:09.019 ***** included: /WORKDIR/git-ansible-lint-test-2.164nhj1rry/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-ansible-lint-test-2.164nhj1rry/tests/tasks/get_current_interfaces.yml:3 Saturday 23 December 2023 21:24:10 +0000 (0:00:00.013) 0:00:09.033 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003643", "end": "2023-12-23 21:24:11.055428", "rc": 0, "start": "2023-12-23 21:24:11.051785" } STDOUT: bonding_masters eth0 lo peerveth1298 veth1298 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-ansible-lint-test-2.164nhj1rry/tests/tasks/get_current_interfaces.yml:9 Saturday 23 December 2023 21:24:11 +0000 (0:00:00.278) 0:00:09.311 ***** 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.164nhj1rry/tests/tasks/show_interfaces.yml:5 Saturday 23 December 2023 21:24:11 +0000 (0:00:00.016) 0:00:09.328 ***** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'peerveth1298', 'veth1298'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-ansible-lint-test-2.164nhj1rry/tests/tasks/manage_test_interface.yml:16 Saturday 23 December 2023 21:24:11 +0000 (0:00:00.017) 0:00:09.345 ***** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth1298] ****************************************** task path: /WORKDIR/git-ansible-lint-test-2.164nhj1rry/tests/tasks/manage_test_interface.yml:23 Saturday 23 December 2023 21:24:12 +0000 (0:00:01.845) 0:00:11.191 ***** 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.164nhj1rry/tests/tasks/manage_test_interface.yml:31 Saturday 23 December 2023 21:24:13 +0000 (0:00:00.051) 0:00:11.243 ***** 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.164nhj1rry/tests/tasks/manage_test_interface.yml:39 Saturday 23 December 2023 21:24:13 +0000 (0:00:00.019) 0:00:11.262 ***** ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "veth1298", "type", "veth" ], "delta": "0:00:00.009793", "end": "2023-12-23 21:24:13.288122", "rc": 0, "start": "2023-12-23 21:24:13.278329" } TASK [Create dummy interface veth1298] ***************************************** task path: /WORKDIR/git-ansible-lint-test-2.164nhj1rry/tests/tasks/manage_test_interface.yml:45 Saturday 23 December 2023 21:24:13 +0000 (0:00:00.298) 0:00:11.560 ***** 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.164nhj1rry/tests/tasks/manage_test_interface.yml:50 Saturday 23 December 2023 21:24:13 +0000 (0:00:00.011) 0:00:11.571 ***** 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.164nhj1rry/tests/tasks/manage_test_interface.yml:56 Saturday 23 December 2023 21:24:13 +0000 (0:00:00.013) 0:00:11.585 ***** 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.164nhj1rry/tests/tasks/manage_test_interface.yml:61 Saturday 23 December 2023 21:24:13 +0000 (0:00:00.009) 0:00:11.595 ***** 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.164nhj1rry/tests/tasks/create_and_remove_interface.yml:27 Saturday 23 December 2023 21:24:13 +0000 (0:00:00.007) 0:00:11.603 ***** included: /WORKDIR/git-ansible-lint-test-2.164nhj1rry/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-ansible-lint-test-2.164nhj1rry/tests/tasks/show_interfaces.yml:3 Saturday 23 December 2023 21:24:13 +0000 (0:00:00.018) 0:00:11.622 ***** included: /WORKDIR/git-ansible-lint-test-2.164nhj1rry/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-ansible-lint-test-2.164nhj1rry/tests/tasks/get_current_interfaces.yml:3 Saturday 23 December 2023 21:24:13 +0000 (0:00:00.010) 0:00:11.632 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003409", "end": "2023-12-23 21:24:13.615379", "rc": 0, "start": "2023-12-23 21:24:13.611970" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-ansible-lint-test-2.164nhj1rry/tests/tasks/get_current_interfaces.yml:9 Saturday 23 December 2023 21:24:13 +0000 (0:00:00.228) 0:00:11.861 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-ansible-lint-test-2.164nhj1rry/tests/tasks/show_interfaces.yml:5 Saturday 23 December 2023 21:24:13 +0000 (0:00:00.026) 0:00:11.887 ***** 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.164nhj1rry/tests/tasks/create_and_remove_interface.yml:29 Saturday 23 December 2023 21:24:13 +0000 (0:00:00.010) 0:00:11.898 ***** included: /WORKDIR/git-ansible-lint-test-2.164nhj1rry/tests/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-ansible-lint-test-2.164nhj1rry/tests/tasks/assert_device_absent.yml:3 Saturday 23 December 2023 21:24:13 +0000 (0:00:00.021) 0:00:11.919 ***** included: /WORKDIR/git-ansible-lint-test-2.164nhj1rry/tests/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth1298] ***************************************** task path: /WORKDIR/git-ansible-lint-test-2.164nhj1rry/tests/tasks/get_interface_stat.yml:3 Saturday 23 December 2023 21:24:13 +0000 (0:00:00.018) 0:00:11.938 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'veth1298'] ************************ task path: /WORKDIR/git-ansible-lint-test-2.164nhj1rry/tests/tasks/assert_device_absent.yml:5 Saturday 23 December 2023 21:24:13 +0000 (0:00:00.234) 0:00:12.172 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test veth interface management] ****************************************** task path: /WORKDIR/git-ansible-lint-test-2.164nhj1rry/tests/tests_helpers_and_asserts.yml:15 Saturday 23 December 2023 21:24:13 +0000 (0:00:00.012) 0:00:12.185 ***** included: /WORKDIR/git-ansible-lint-test-2.164nhj1rry/tests/tasks/create_and_remove_interface.yml for sut TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-ansible-lint-test-2.164nhj1rry/tests/tasks/create_and_remove_interface.yml:3 Saturday 23 December 2023 21:24:13 +0000 (0:00:00.015) 0:00:12.200 ***** included: /WORKDIR/git-ansible-lint-test-2.164nhj1rry/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-ansible-lint-test-2.164nhj1rry/tests/tasks/show_interfaces.yml:3 Saturday 23 December 2023 21:24:13 +0000 (0:00:00.011) 0:00:12.211 ***** included: /WORKDIR/git-ansible-lint-test-2.164nhj1rry/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-ansible-lint-test-2.164nhj1rry/tests/tasks/get_current_interfaces.yml:3 Saturday 23 December 2023 21:24:14 +0000 (0:00:00.012) 0:00:12.224 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003507", "end": "2023-12-23 21:24:14.210411", "rc": 0, "start": "2023-12-23 21:24:14.206904" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-ansible-lint-test-2.164nhj1rry/tests/tasks/get_current_interfaces.yml:9 Saturday 23 December 2023 21:24:14 +0000 (0:00:00.231) 0:00:12.455 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-ansible-lint-test-2.164nhj1rry/tests/tasks/show_interfaces.yml:5 Saturday 23 December 2023 21:24:14 +0000 (0:00:00.009) 0:00:12.465 ***** 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.164nhj1rry/tests/tasks/create_and_remove_interface.yml:5 Saturday 23 December 2023 21:24:14 +0000 (0:00:00.009) 0:00:12.475 ***** included: /WORKDIR/git-ansible-lint-test-2.164nhj1rry/tests/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-ansible-lint-test-2.164nhj1rry/tests/tasks/manage_test_interface.yml:3 Saturday 23 December 2023 21:24:14 +0000 (0:00:00.014) 0:00:12.489 ***** 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.164nhj1rry/tests/tasks/manage_test_interface.yml:8 Saturday 23 December 2023 21:24:14 +0000 (0:00:00.007) 0:00:12.497 ***** 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.164nhj1rry/tests/tasks/manage_test_interface.yml:13 Saturday 23 December 2023 21:24:14 +0000 (0:00:00.007) 0:00:12.505 ***** included: /WORKDIR/git-ansible-lint-test-2.164nhj1rry/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-ansible-lint-test-2.164nhj1rry/tests/tasks/show_interfaces.yml:3 Saturday 23 December 2023 21:24:14 +0000 (0:00:00.011) 0:00:12.516 ***** included: /WORKDIR/git-ansible-lint-test-2.164nhj1rry/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-ansible-lint-test-2.164nhj1rry/tests/tasks/get_current_interfaces.yml:3 Saturday 23 December 2023 21:24:14 +0000 (0:00:00.009) 0:00:12.526 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003514", "end": "2023-12-23 21:24:14.509149", "rc": 0, "start": "2023-12-23 21:24:14.505635" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-ansible-lint-test-2.164nhj1rry/tests/tasks/get_current_interfaces.yml:9 Saturday 23 December 2023 21:24:14 +0000 (0:00:00.229) 0:00:12.755 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-ansible-lint-test-2.164nhj1rry/tests/tasks/show_interfaces.yml:5 Saturday 23 December 2023 21:24:14 +0000 (0:00:00.010) 0:00:12.765 ***** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-ansible-lint-test-2.164nhj1rry/tests/tasks/manage_test_interface.yml:16 Saturday 23 December 2023 21:24:14 +0000 (0:00:00.014) 0:00:12.780 ***** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface dummy1298] ***************************************** task path: /WORKDIR/git-ansible-lint-test-2.164nhj1rry/tests/tasks/manage_test_interface.yml:23 Saturday 23 December 2023 21:24:16 +0000 (0:00:01.818) 0:00:14.599 ***** 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.164nhj1rry/tests/tasks/manage_test_interface.yml:31 Saturday 23 December 2023 21:24:16 +0000 (0:00:00.014) 0:00:14.613 ***** 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.164nhj1rry/tests/tasks/manage_test_interface.yml:39 Saturday 23 December 2023 21:24:16 +0000 (0:00:00.008) 0:00:14.621 ***** 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.164nhj1rry/tests/tasks/manage_test_interface.yml:45 Saturday 23 December 2023 21:24:16 +0000 (0:00:00.008) 0:00:14.630 ***** 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.164nhj1rry/tests/tasks/manage_test_interface.yml:50 Saturday 23 December 2023 21:24:16 +0000 (0:00:00.007) 0:00:14.638 ***** 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.164nhj1rry/tests/tasks/manage_test_interface.yml:56 Saturday 23 December 2023 21:24:16 +0000 (0:00:00.007) 0:00:14.646 ***** 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.164nhj1rry/tests/tasks/manage_test_interface.yml:61 Saturday 23 December 2023 21:24:16 +0000 (0:00:00.008) 0:00:14.654 ***** 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.164nhj1rry/tests/tasks/create_and_remove_interface.yml:9 Saturday 23 December 2023 21:24:16 +0000 (0:00:00.007) 0:00:14.662 ***** included: /WORKDIR/git-ansible-lint-test-2.164nhj1rry/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-ansible-lint-test-2.164nhj1rry/tests/tasks/show_interfaces.yml:3 Saturday 23 December 2023 21:24:16 +0000 (0:00:00.012) 0:00:14.675 ***** included: /WORKDIR/git-ansible-lint-test-2.164nhj1rry/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-ansible-lint-test-2.164nhj1rry/tests/tasks/get_current_interfaces.yml:3 Saturday 23 December 2023 21:24:16 +0000 (0:00:00.011) 0:00:14.686 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003668", "end": "2023-12-23 21:24:16.675938", "rc": 0, "start": "2023-12-23 21:24:16.672270" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-ansible-lint-test-2.164nhj1rry/tests/tasks/get_current_interfaces.yml:9 Saturday 23 December 2023 21:24:16 +0000 (0:00:00.245) 0:00:14.932 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-ansible-lint-test-2.164nhj1rry/tests/tasks/show_interfaces.yml:5 Saturday 23 December 2023 21:24:16 +0000 (0:00:00.011) 0:00:14.943 ***** 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.164nhj1rry/tests/tasks/create_and_remove_interface.yml:11 Saturday 23 December 2023 21:24:16 +0000 (0:00:00.024) 0:00:14.967 ***** included: /WORKDIR/git-ansible-lint-test-2.164nhj1rry/tests/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-ansible-lint-test-2.164nhj1rry/tests/tasks/assert_device_absent.yml:3 Saturday 23 December 2023 21:24:16 +0000 (0:00:00.021) 0:00:14.989 ***** included: /WORKDIR/git-ansible-lint-test-2.164nhj1rry/tests/tasks/get_interface_stat.yml for sut TASK [Get stat for interface dummy1298] **************************************** task path: /WORKDIR/git-ansible-lint-test-2.164nhj1rry/tests/tasks/get_interface_stat.yml:3 Saturday 23 December 2023 21:24:16 +0000 (0:00:00.018) 0:00:15.008 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'dummy1298'] *********************** task path: /WORKDIR/git-ansible-lint-test-2.164nhj1rry/tests/tasks/assert_device_absent.yml:5 Saturday 23 December 2023 21:24:17 +0000 (0:00:00.272) 0:00:15.281 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-ansible-lint-test-2.164nhj1rry/tests/tasks/create_and_remove_interface.yml:14 Saturday 23 December 2023 21:24:17 +0000 (0:00:00.014) 0:00:15.295 ***** included: /WORKDIR/git-ansible-lint-test-2.164nhj1rry/tests/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-ansible-lint-test-2.164nhj1rry/tests/tasks/manage_test_interface.yml:3 Saturday 23 December 2023 21:24:17 +0000 (0:00:00.045) 0:00:15.341 ***** 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.164nhj1rry/tests/tasks/manage_test_interface.yml:8 Saturday 23 December 2023 21:24:17 +0000 (0:00:00.008) 0:00:15.350 ***** 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.164nhj1rry/tests/tasks/manage_test_interface.yml:13 Saturday 23 December 2023 21:24:17 +0000 (0:00:00.040) 0:00:15.390 ***** included: /WORKDIR/git-ansible-lint-test-2.164nhj1rry/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-ansible-lint-test-2.164nhj1rry/tests/tasks/show_interfaces.yml:3 Saturday 23 December 2023 21:24:17 +0000 (0:00:00.015) 0:00:15.405 ***** included: /WORKDIR/git-ansible-lint-test-2.164nhj1rry/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-ansible-lint-test-2.164nhj1rry/tests/tasks/get_current_interfaces.yml:3 Saturday 23 December 2023 21:24:17 +0000 (0:00:00.021) 0:00:15.426 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003634", "end": "2023-12-23 21:24:17.454999", "rc": 0, "start": "2023-12-23 21:24:17.451365" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-ansible-lint-test-2.164nhj1rry/tests/tasks/get_current_interfaces.yml:9 Saturday 23 December 2023 21:24:17 +0000 (0:00:00.279) 0:00:15.706 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-ansible-lint-test-2.164nhj1rry/tests/tasks/show_interfaces.yml:5 Saturday 23 December 2023 21:24:17 +0000 (0:00:00.011) 0:00:15.718 ***** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-ansible-lint-test-2.164nhj1rry/tests/tasks/manage_test_interface.yml:16 Saturday 23 December 2023 21:24:17 +0000 (0:00:00.009) 0:00:15.728 ***** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface dummy1298] ***************************************** task path: /WORKDIR/git-ansible-lint-test-2.164nhj1rry/tests/tasks/manage_test_interface.yml:23 Saturday 23 December 2023 21:24:19 +0000 (0:00:01.858) 0:00:17.586 ***** 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.164nhj1rry/tests/tasks/manage_test_interface.yml:31 Saturday 23 December 2023 21:24:19 +0000 (0:00:00.014) 0:00:17.601 ***** 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.164nhj1rry/tests/tasks/manage_test_interface.yml:39 Saturday 23 December 2023 21:24:19 +0000 (0:00:00.009) 0:00:17.610 ***** 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.164nhj1rry/tests/tasks/manage_test_interface.yml:45 Saturday 23 December 2023 21:24:19 +0000 (0:00:00.008) 0:00:17.618 ***** ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "add", "dummy1298", "type", "dummy" ], "delta": "0:00:00.079877", "end": "2023-12-23 21:24:19.680995", "rc": 0, "start": "2023-12-23 21:24:19.601118" } TASK [Delete dummy interface dummy1298] **************************************** task path: /WORKDIR/git-ansible-lint-test-2.164nhj1rry/tests/tasks/manage_test_interface.yml:50 Saturday 23 December 2023 21:24:19 +0000 (0:00:00.329) 0:00:17.948 ***** 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.164nhj1rry/tests/tasks/manage_test_interface.yml:56 Saturday 23 December 2023 21:24:19 +0000 (0:00:00.010) 0:00:17.959 ***** 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.164nhj1rry/tests/tasks/manage_test_interface.yml:61 Saturday 23 December 2023 21:24:19 +0000 (0:00:00.009) 0:00:17.968 ***** 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.164nhj1rry/tests/tasks/create_and_remove_interface.yml:18 Saturday 23 December 2023 21:24:19 +0000 (0:00:00.011) 0:00:17.979 ***** included: /WORKDIR/git-ansible-lint-test-2.164nhj1rry/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-ansible-lint-test-2.164nhj1rry/tests/tasks/show_interfaces.yml:3 Saturday 23 December 2023 21:24:19 +0000 (0:00:00.016) 0:00:17.995 ***** included: /WORKDIR/git-ansible-lint-test-2.164nhj1rry/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-ansible-lint-test-2.164nhj1rry/tests/tasks/get_current_interfaces.yml:3 Saturday 23 December 2023 21:24:19 +0000 (0:00:00.009) 0:00:18.005 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003625", "end": "2023-12-23 21:24:19.989770", "rc": 0, "start": "2023-12-23 21:24:19.986145" } STDOUT: bonding_masters dummy1298 eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-ansible-lint-test-2.164nhj1rry/tests/tasks/get_current_interfaces.yml:9 Saturday 23 December 2023 21:24:20 +0000 (0:00:00.232) 0:00:18.238 ***** 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.164nhj1rry/tests/tasks/show_interfaces.yml:5 Saturday 23 December 2023 21:24:20 +0000 (0:00:00.010) 0:00:18.248 ***** 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.164nhj1rry/tests/tasks/create_and_remove_interface.yml:20 Saturday 23 December 2023 21:24:20 +0000 (0:00:00.024) 0:00:18.273 ***** included: /WORKDIR/git-ansible-lint-test-2.164nhj1rry/tests/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-ansible-lint-test-2.164nhj1rry/tests/tasks/assert_device_present.yml:3 Saturday 23 December 2023 21:24:20 +0000 (0:00:00.034) 0:00:18.307 ***** included: /WORKDIR/git-ansible-lint-test-2.164nhj1rry/tests/tasks/get_interface_stat.yml for sut TASK [Get stat for interface dummy1298] **************************************** task path: /WORKDIR/git-ansible-lint-test-2.164nhj1rry/tests/tasks/get_interface_stat.yml:3 Saturday 23 December 2023 21:24:20 +0000 (0:00:00.017) 0:00:18.325 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1703366659.6770122, "block_size": 4096, "blocks": 0, "ctime": 1703366659.6770122, "dev": 22, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 31684, "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": 1703366659.6770122, "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.164nhj1rry/tests/tasks/assert_device_present.yml:5 Saturday 23 December 2023 21:24:20 +0000 (0:00:00.229) 0:00:18.554 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-ansible-lint-test-2.164nhj1rry/tests/tasks/create_and_remove_interface.yml:23 Saturday 23 December 2023 21:24:20 +0000 (0:00:00.011) 0:00:18.565 ***** included: /WORKDIR/git-ansible-lint-test-2.164nhj1rry/tests/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-ansible-lint-test-2.164nhj1rry/tests/tasks/manage_test_interface.yml:3 Saturday 23 December 2023 21:24:20 +0000 (0:00:00.019) 0:00:18.585 ***** 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.164nhj1rry/tests/tasks/manage_test_interface.yml:8 Saturday 23 December 2023 21:24:20 +0000 (0:00:00.008) 0:00:18.593 ***** 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.164nhj1rry/tests/tasks/manage_test_interface.yml:13 Saturday 23 December 2023 21:24:20 +0000 (0:00:00.007) 0:00:18.601 ***** included: /WORKDIR/git-ansible-lint-test-2.164nhj1rry/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-ansible-lint-test-2.164nhj1rry/tests/tasks/show_interfaces.yml:3 Saturday 23 December 2023 21:24:20 +0000 (0:00:00.011) 0:00:18.612 ***** included: /WORKDIR/git-ansible-lint-test-2.164nhj1rry/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-ansible-lint-test-2.164nhj1rry/tests/tasks/get_current_interfaces.yml:3 Saturday 23 December 2023 21:24:20 +0000 (0:00:00.015) 0:00:18.628 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003629", "end": "2023-12-23 21:24:20.621336", "rc": 0, "start": "2023-12-23 21:24:20.617707" } STDOUT: bonding_masters dummy1298 eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-ansible-lint-test-2.164nhj1rry/tests/tasks/get_current_interfaces.yml:9 Saturday 23 December 2023 21:24:20 +0000 (0:00:00.240) 0:00:18.868 ***** 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.164nhj1rry/tests/tasks/show_interfaces.yml:5 Saturday 23 December 2023 21:24:20 +0000 (0:00:00.011) 0:00:18.879 ***** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'dummy1298', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-ansible-lint-test-2.164nhj1rry/tests/tasks/manage_test_interface.yml:16 Saturday 23 December 2023 21:24:20 +0000 (0:00:00.011) 0:00:18.891 ***** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface dummy1298] ***************************************** task path: /WORKDIR/git-ansible-lint-test-2.164nhj1rry/tests/tasks/manage_test_interface.yml:23 Saturday 23 December 2023 21:24:22 +0000 (0:00:01.855) 0:00:20.746 ***** 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.164nhj1rry/tests/tasks/manage_test_interface.yml:31 Saturday 23 December 2023 21:24:22 +0000 (0:00:00.023) 0:00:20.770 ***** 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.164nhj1rry/tests/tasks/manage_test_interface.yml:39 Saturday 23 December 2023 21:24:22 +0000 (0:00:00.008) 0:00:20.779 ***** 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.164nhj1rry/tests/tasks/manage_test_interface.yml:45 Saturday 23 December 2023 21:24:22 +0000 (0:00:00.030) 0:00:20.809 ***** 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.164nhj1rry/tests/tasks/manage_test_interface.yml:50 Saturday 23 December 2023 21:24:22 +0000 (0:00:00.019) 0:00:20.829 ***** ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "dummy1298", "type", "dummy" ], "delta": "0:00:00.009948", "end": "2023-12-23 21:24:22.827297", "rc": 0, "start": "2023-12-23 21:24:22.817349" } TASK [Create tap interface dummy1298] ****************************************** task path: /WORKDIR/git-ansible-lint-test-2.164nhj1rry/tests/tasks/manage_test_interface.yml:56 Saturday 23 December 2023 21:24:22 +0000 (0:00:00.250) 0:00:21.079 ***** 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.164nhj1rry/tests/tasks/manage_test_interface.yml:61 Saturday 23 December 2023 21:24:22 +0000 (0:00:00.008) 0:00:21.088 ***** 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.164nhj1rry/tests/tasks/create_and_remove_interface.yml:27 Saturday 23 December 2023 21:24:22 +0000 (0:00:00.007) 0:00:21.096 ***** included: /WORKDIR/git-ansible-lint-test-2.164nhj1rry/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-ansible-lint-test-2.164nhj1rry/tests/tasks/show_interfaces.yml:3 Saturday 23 December 2023 21:24:22 +0000 (0:00:00.018) 0:00:21.114 ***** included: /WORKDIR/git-ansible-lint-test-2.164nhj1rry/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-ansible-lint-test-2.164nhj1rry/tests/tasks/get_current_interfaces.yml:3 Saturday 23 December 2023 21:24:22 +0000 (0:00:00.012) 0:00:21.127 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003664", "end": "2023-12-23 21:24:23.129072", "rc": 0, "start": "2023-12-23 21:24:23.125408" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-ansible-lint-test-2.164nhj1rry/tests/tasks/get_current_interfaces.yml:9 Saturday 23 December 2023 21:24:23 +0000 (0:00:00.273) 0:00:21.401 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-ansible-lint-test-2.164nhj1rry/tests/tasks/show_interfaces.yml:5 Saturday 23 December 2023 21:24:23 +0000 (0:00:00.012) 0:00:21.413 ***** 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.164nhj1rry/tests/tasks/create_and_remove_interface.yml:29 Saturday 23 December 2023 21:24:23 +0000 (0:00:00.031) 0:00:21.444 ***** included: /WORKDIR/git-ansible-lint-test-2.164nhj1rry/tests/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-ansible-lint-test-2.164nhj1rry/tests/tasks/assert_device_absent.yml:3 Saturday 23 December 2023 21:24:23 +0000 (0:00:00.022) 0:00:21.467 ***** included: /WORKDIR/git-ansible-lint-test-2.164nhj1rry/tests/tasks/get_interface_stat.yml for sut TASK [Get stat for interface dummy1298] **************************************** task path: /WORKDIR/git-ansible-lint-test-2.164nhj1rry/tests/tasks/get_interface_stat.yml:3 Saturday 23 December 2023 21:24:23 +0000 (0:00:00.011) 0:00:21.478 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'dummy1298'] *********************** task path: /WORKDIR/git-ansible-lint-test-2.164nhj1rry/tests/tasks/assert_device_absent.yml:5 Saturday 23 December 2023 21:24:23 +0000 (0:00:00.232) 0:00:21.711 ***** 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 Saturday 23 December 2023 21:24:23 +0000 (0:00:00.014) 0:00:21.726 ***** =============================================================================== Install iproute --------------------------------------------------------- 1.96s /WORKDIR/git-ansible-lint-test-2.164nhj1rry/tests/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 1.86s /WORKDIR/git-ansible-lint-test-2.164nhj1rry/tests/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 1.86s /WORKDIR/git-ansible-lint-test-2.164nhj1rry/tests/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 1.85s /WORKDIR/git-ansible-lint-test-2.164nhj1rry/tests/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 1.82s /WORKDIR/git-ansible-lint-test-2.164nhj1rry/tests/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 1.82s /WORKDIR/git-ansible-lint-test-2.164nhj1rry/tests/tasks/manage_test_interface.yml:16 Gathering Facts --------------------------------------------------------- 1.02s /WORKDIR/git-ansible-lint-test-2.164nhj1rry/tests/tests_helpers_and_asserts.yml:3 Create veth interface veth1298 ------------------------------------------ 0.74s /WORKDIR/git-ansible-lint-test-2.164nhj1rry/tests/tasks/manage_test_interface.yml:23 Gather the minimum subset of ansible_facts required by the network role test --- 0.42s /WORKDIR/git-ansible-lint-test-2.164nhj1rry/tests/tasks/el_repo_setup.yml:3 --- Create dummy interface dummy1298 ---------------------------------------- 0.33s /WORKDIR/git-ansible-lint-test-2.164nhj1rry/tests/tasks/manage_test_interface.yml:45 Delete veth interface veth1298 ------------------------------------------ 0.30s /WORKDIR/git-ansible-lint-test-2.164nhj1rry/tests/tasks/manage_test_interface.yml:39 Gather current interface info ------------------------------------------- 0.29s /WORKDIR/git-ansible-lint-test-2.164nhj1rry/tests/tasks/get_current_interfaces.yml:3 Check if system is ostree ----------------------------------------------- 0.28s /WORKDIR/git-ansible-lint-test-2.164nhj1rry/tests/tasks/el_repo_setup.yml:17 -- Gather current interface info ------------------------------------------- 0.28s /WORKDIR/git-ansible-lint-test-2.164nhj1rry/tests/tasks/get_current_interfaces.yml:3 Gather current interface info ------------------------------------------- 0.28s /WORKDIR/git-ansible-lint-test-2.164nhj1rry/tests/tasks/get_current_interfaces.yml:3 Gather current interface info ------------------------------------------- 0.27s /WORKDIR/git-ansible-lint-test-2.164nhj1rry/tests/tasks/get_current_interfaces.yml:3 Get stat for interface dummy1298 ---------------------------------------- 0.27s /WORKDIR/git-ansible-lint-test-2.164nhj1rry/tests/tasks/get_interface_stat.yml:3 Gather current interface info ------------------------------------------- 0.25s /WORKDIR/git-ansible-lint-test-2.164nhj1rry/tests/tasks/get_current_interfaces.yml:3 Set up veth as managed by NetworkManager -------------------------------- 0.25s /WORKDIR/git-ansible-lint-test-2.164nhj1rry/tests/tasks/manage_test_interface.yml:31 Delete dummy interface dummy1298 ---------------------------------------- 0.25s /WORKDIR/git-ansible-lint-test-2.164nhj1rry/tests/tasks/manage_test_interface.yml:50 ---^---^---^---^---^--- # 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. ---^---^---^---^---^---