# 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.16txp8xtiy/.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.16txp8xtiy/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.16txp8xtiy/tests/tests_helpers_and_asserts.yml:3 Monday 25 December 2023 22:11:11 +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.16txp8xtiy/tests/tests_helpers_and_asserts.yml:6 Monday 25 December 2023 22:11:12 +0000 (0:00:00.893) 0:00:00.931 ******* included: /WORKDIR/git-ansible-lint-test-2.16txp8xtiy/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.16txp8xtiy/tests/tasks/el_repo_setup.yml:3 Monday 25 December 2023 22:11:12 +0000 (0:00:00.011) 0:00:00.943 ******* ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-ansible-lint-test-2.16txp8xtiy/tests/tasks/el_repo_setup.yml:17 Monday 25 December 2023 22:11:13 +0000 (0:00:00.364) 0:00:01.307 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-ansible-lint-test-2.16txp8xtiy/tests/tasks/el_repo_setup.yml:22 Monday 25 December 2023 22:11:13 +0000 (0:00:00.245) 0:00:01.552 ******* ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16txp8xtiy/tests/tasks/el_repo_setup.yml:26 Monday 25 December 2023 22:11:13 +0000 (0:00:00.014) 0:00:01.566 ******* 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.16txp8xtiy/tests/tasks/el_repo_setup.yml:51 Monday 25 December 2023 22:11:13 +0000 (0:00:00.008) 0:00:01.575 ******* included: /WORKDIR/git-ansible-lint-test-2.16txp8xtiy/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 8] *********************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16txp8xtiy/tests/tasks/enable_epel.yml:8 Monday 25 December 2023 22:11:13 +0000 (0:00:00.021) 0:00:01.596 ******* ok: [sut] => { "attempts": 1, "changed": false, "cmd": [ "rpm", "-iv", "https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm" ], "delta": null, "end": null, "rc": 0, "start": null } STDOUT: skipped, since /etc/yum.repos.d/epel.repo exists MSG: Did not run command since '/etc/yum.repos.d/epel.repo' exists TASK [Install yum-utils package] *********************************************** task path: /WORKDIR/git-ansible-lint-test-2.16txp8xtiy/tests/tasks/enable_epel.yml:24 Monday 25 December 2023 22:11:13 +0000 (0:00:00.249) 0:00:01.846 ******* skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version == '7'", "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16txp8xtiy/tests/tasks/enable_epel.yml:30 Monday 25 December 2023 22:11:13 +0000 (0:00:00.008) 0:00:01.855 ******* skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version == '7'", "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16txp8xtiy/tests/tasks/enable_epel.yml:35 Monday 25 December 2023 22:11:13 +0000 (0:00:00.008) 0:00:01.863 ******* ok: [sut] => { "changed": false, "cmd": [ "dnf", "config-manager", "--set-enabled", "epel" ], "delta": "0:00:00.249079", "end": "2023-12-25 22:11:14.223196", "rc": 0, "start": "2023-12-25 22:11:13.974117" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16txp8xtiy/tests/tasks/enable_epel.yml:40 Monday 25 December 2023 22:11:14 +0000 (0:00:00.439) 0:00:02.303 ******* 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.16txp8xtiy/tests/tests_helpers_and_asserts.yml:9 Monday 25 December 2023 22:11:14 +0000 (0:00:00.008) 0:00:02.311 ******* included: /WORKDIR/git-ansible-lint-test-2.16txp8xtiy/tests/tasks/create_and_remove_interface.yml for sut TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-ansible-lint-test-2.16txp8xtiy/tests/tasks/create_and_remove_interface.yml:3 Monday 25 December 2023 22:11:14 +0000 (0:00:00.011) 0:00:02.323 ******* included: /WORKDIR/git-ansible-lint-test-2.16txp8xtiy/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-ansible-lint-test-2.16txp8xtiy/tests/tasks/show_interfaces.yml:3 Monday 25 December 2023 22:11:14 +0000 (0:00:00.010) 0:00:02.333 ******* included: /WORKDIR/git-ansible-lint-test-2.16txp8xtiy/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-ansible-lint-test-2.16txp8xtiy/tests/tasks/get_current_interfaces.yml:3 Monday 25 December 2023 22:11:14 +0000 (0:00:00.009) 0:00:02.342 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003512", "end": "2023-12-25 22:11:14.455466", "rc": 0, "start": "2023-12-25 22:11:14.451954" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16txp8xtiy/tests/tasks/get_current_interfaces.yml:9 Monday 25 December 2023 22:11:14 +0000 (0:00:00.192) 0:00:02.534 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16txp8xtiy/tests/tasks/show_interfaces.yml:5 Monday 25 December 2023 22:11:14 +0000 (0:00:00.011) 0:00:02.545 ******* 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.16txp8xtiy/tests/tasks/create_and_remove_interface.yml:5 Monday 25 December 2023 22:11:14 +0000 (0:00:00.009) 0:00:02.554 ******* included: /WORKDIR/git-ansible-lint-test-2.16txp8xtiy/tests/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-ansible-lint-test-2.16txp8xtiy/tests/tasks/manage_test_interface.yml:3 Monday 25 December 2023 22:11:14 +0000 (0:00:00.014) 0:00:02.569 ******* 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.16txp8xtiy/tests/tasks/manage_test_interface.yml:8 Monday 25 December 2023 22:11:14 +0000 (0:00:00.007) 0:00:02.576 ******* 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.16txp8xtiy/tests/tasks/manage_test_interface.yml:13 Monday 25 December 2023 22:11:14 +0000 (0:00:00.007) 0:00:02.584 ******* included: /WORKDIR/git-ansible-lint-test-2.16txp8xtiy/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-ansible-lint-test-2.16txp8xtiy/tests/tasks/show_interfaces.yml:3 Monday 25 December 2023 22:11:14 +0000 (0:00:00.010) 0:00:02.594 ******* included: /WORKDIR/git-ansible-lint-test-2.16txp8xtiy/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-ansible-lint-test-2.16txp8xtiy/tests/tasks/get_current_interfaces.yml:3 Monday 25 December 2023 22:11:14 +0000 (0:00:00.009) 0:00:02.604 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003644", "end": "2023-12-25 22:11:14.717857", "rc": 0, "start": "2023-12-25 22:11:14.714213" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16txp8xtiy/tests/tasks/get_current_interfaces.yml:9 Monday 25 December 2023 22:11:14 +0000 (0:00:00.193) 0:00:02.797 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16txp8xtiy/tests/tasks/show_interfaces.yml:5 Monday 25 December 2023 22:11:14 +0000 (0:00:00.009) 0:00:02.807 ******* ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16txp8xtiy/tests/tasks/manage_test_interface.yml:16 Monday 25 December 2023 22:11:14 +0000 (0:00:00.008) 0:00:02.815 ******* ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth1298] ****************************************** task path: /WORKDIR/git-ansible-lint-test-2.16txp8xtiy/tests/tasks/manage_test_interface.yml:23 Monday 25 December 2023 22:11:18 +0000 (0:00:03.269) 0:00:06.085 ******* 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.16txp8xtiy/tests/tasks/manage_test_interface.yml:31 Monday 25 December 2023 22:11:18 +0000 (0:00:00.013) 0:00:06.099 ******* 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.16txp8xtiy/tests/tasks/manage_test_interface.yml:39 Monday 25 December 2023 22:11:18 +0000 (0:00:00.013) 0:00:06.112 ******* 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.16txp8xtiy/tests/tasks/manage_test_interface.yml:45 Monday 25 December 2023 22:11:18 +0000 (0:00:00.013) 0:00:06.125 ******* 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.16txp8xtiy/tests/tasks/manage_test_interface.yml:50 Monday 25 December 2023 22:11:18 +0000 (0:00:00.008) 0:00:06.133 ******* 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.16txp8xtiy/tests/tasks/manage_test_interface.yml:56 Monday 25 December 2023 22:11:18 +0000 (0:00:00.008) 0:00:06.142 ******* 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.16txp8xtiy/tests/tasks/manage_test_interface.yml:61 Monday 25 December 2023 22:11:18 +0000 (0:00:00.009) 0:00:06.151 ******* 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.16txp8xtiy/tests/tasks/create_and_remove_interface.yml:9 Monday 25 December 2023 22:11:18 +0000 (0:00:00.007) 0:00:06.159 ******* included: /WORKDIR/git-ansible-lint-test-2.16txp8xtiy/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-ansible-lint-test-2.16txp8xtiy/tests/tasks/show_interfaces.yml:3 Monday 25 December 2023 22:11:18 +0000 (0:00:00.012) 0:00:06.171 ******* included: /WORKDIR/git-ansible-lint-test-2.16txp8xtiy/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-ansible-lint-test-2.16txp8xtiy/tests/tasks/get_current_interfaces.yml:3 Monday 25 December 2023 22:11:18 +0000 (0:00:00.009) 0:00:06.181 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003625", "end": "2023-12-25 22:11:18.292802", "rc": 0, "start": "2023-12-25 22:11:18.289177" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16txp8xtiy/tests/tasks/get_current_interfaces.yml:9 Monday 25 December 2023 22:11:18 +0000 (0:00:00.190) 0:00:06.371 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16txp8xtiy/tests/tasks/show_interfaces.yml:5 Monday 25 December 2023 22:11:18 +0000 (0:00:00.009) 0:00:06.381 ******* 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.16txp8xtiy/tests/tasks/create_and_remove_interface.yml:11 Monday 25 December 2023 22:11:18 +0000 (0:00:00.012) 0:00:06.393 ******* included: /WORKDIR/git-ansible-lint-test-2.16txp8xtiy/tests/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-ansible-lint-test-2.16txp8xtiy/tests/tasks/assert_device_absent.yml:3 Monday 25 December 2023 22:11:18 +0000 (0:00:00.013) 0:00:06.406 ******* included: /WORKDIR/git-ansible-lint-test-2.16txp8xtiy/tests/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth1298] ***************************************** task path: /WORKDIR/git-ansible-lint-test-2.16txp8xtiy/tests/tasks/get_interface_stat.yml:3 Monday 25 December 2023 22:11:18 +0000 (0:00:00.010) 0:00:06.416 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'veth1298'] ************************ task path: /WORKDIR/git-ansible-lint-test-2.16txp8xtiy/tests/tasks/assert_device_absent.yml:5 Monday 25 December 2023 22:11:18 +0000 (0:00:00.186) 0:00:06.603 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-ansible-lint-test-2.16txp8xtiy/tests/tasks/create_and_remove_interface.yml:14 Monday 25 December 2023 22:11:18 +0000 (0:00:00.009) 0:00:06.613 ******* included: /WORKDIR/git-ansible-lint-test-2.16txp8xtiy/tests/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-ansible-lint-test-2.16txp8xtiy/tests/tasks/manage_test_interface.yml:3 Monday 25 December 2023 22:11:18 +0000 (0:00:00.015) 0:00:06.628 ******* 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.16txp8xtiy/tests/tasks/manage_test_interface.yml:8 Monday 25 December 2023 22:11:18 +0000 (0:00:00.007) 0:00:06.635 ******* 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.16txp8xtiy/tests/tasks/manage_test_interface.yml:13 Monday 25 December 2023 22:11:18 +0000 (0:00:00.007) 0:00:06.643 ******* included: /WORKDIR/git-ansible-lint-test-2.16txp8xtiy/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-ansible-lint-test-2.16txp8xtiy/tests/tasks/show_interfaces.yml:3 Monday 25 December 2023 22:11:18 +0000 (0:00:00.010) 0:00:06.653 ******* included: /WORKDIR/git-ansible-lint-test-2.16txp8xtiy/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-ansible-lint-test-2.16txp8xtiy/tests/tasks/get_current_interfaces.yml:3 Monday 25 December 2023 22:11:18 +0000 (0:00:00.009) 0:00:06.662 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003427", "end": "2023-12-25 22:11:18.774691", "rc": 0, "start": "2023-12-25 22:11:18.771264" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16txp8xtiy/tests/tasks/get_current_interfaces.yml:9 Monday 25 December 2023 22:11:18 +0000 (0:00:00.190) 0:00:06.853 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16txp8xtiy/tests/tasks/show_interfaces.yml:5 Monday 25 December 2023 22:11:18 +0000 (0:00:00.009) 0:00:06.862 ******* ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16txp8xtiy/tests/tasks/manage_test_interface.yml:16 Monday 25 December 2023 22:11:18 +0000 (0:00:00.009) 0:00:06.872 ******* ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth1298] ****************************************** task path: /WORKDIR/git-ansible-lint-test-2.16txp8xtiy/tests/tasks/manage_test_interface.yml:23 Monday 25 December 2023 22:11:21 +0000 (0:00:02.975) 0:00:09.847 ******* 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.013183", "end": "2023-12-25 22:11:21.973690", "item": "ip link add veth1298 type veth peer name peerveth1298", "rc": 0, "start": "2023-12-25 22:11:21.960507" } ok: [sut] => (item=ip link set peerveth1298 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peerveth1298", "up" ], "delta": "0:00:00.003992", "end": "2023-12-25 22:11:22.201966", "item": "ip link set peerveth1298 up", "rc": 0, "start": "2023-12-25 22:11:22.197974" } ok: [sut] => (item=ip link set veth1298 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "veth1298", "up" ], "delta": "0:00:00.004552", "end": "2023-12-25 22:11:22.388059", "item": "ip link set veth1298 up", "rc": 0, "start": "2023-12-25 22:11:22.383507" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-ansible-lint-test-2.16txp8xtiy/tests/tasks/manage_test_interface.yml:31 Monday 25 December 2023 22:11:22 +0000 (0:00:00.620) 0:00:10.467 ******* ok: [sut] => { "changed": false, "cmd": [ "nmcli", "d", "set", "veth1298", "managed", "true" ], "delta": "0:00:00.023895", "end": "2023-12-25 22:11:22.601037", "rc": 0, "start": "2023-12-25 22:11:22.577142" } TASK [Delete veth interface veth1298] ****************************************** task path: /WORKDIR/git-ansible-lint-test-2.16txp8xtiy/tests/tasks/manage_test_interface.yml:39 Monday 25 December 2023 22:11:22 +0000 (0:00:00.214) 0:00:10.682 ******* 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.16txp8xtiy/tests/tasks/manage_test_interface.yml:45 Monday 25 December 2023 22:11:22 +0000 (0:00:00.012) 0:00:10.694 ******* 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.16txp8xtiy/tests/tasks/manage_test_interface.yml:50 Monday 25 December 2023 22:11:22 +0000 (0:00:00.009) 0:00:10.704 ******* 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.16txp8xtiy/tests/tasks/manage_test_interface.yml:56 Monday 25 December 2023 22:11:22 +0000 (0:00:00.007) 0:00:10.711 ******* 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.16txp8xtiy/tests/tasks/manage_test_interface.yml:61 Monday 25 December 2023 22:11:22 +0000 (0:00:00.010) 0:00:10.722 ******* 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.16txp8xtiy/tests/tasks/create_and_remove_interface.yml:18 Monday 25 December 2023 22:11:22 +0000 (0:00:00.007) 0:00:10.729 ******* included: /WORKDIR/git-ansible-lint-test-2.16txp8xtiy/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-ansible-lint-test-2.16txp8xtiy/tests/tasks/show_interfaces.yml:3 Monday 25 December 2023 22:11:22 +0000 (0:00:00.015) 0:00:10.745 ******* included: /WORKDIR/git-ansible-lint-test-2.16txp8xtiy/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-ansible-lint-test-2.16txp8xtiy/tests/tasks/get_current_interfaces.yml:3 Monday 25 December 2023 22:11:22 +0000 (0:00:00.008) 0:00:10.754 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003441", "end": "2023-12-25 22:11:22.866648", "rc": 0, "start": "2023-12-25 22:11:22.863207" } STDOUT: bonding_masters eth0 lo peerveth1298 veth1298 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16txp8xtiy/tests/tasks/get_current_interfaces.yml:9 Monday 25 December 2023 22:11:22 +0000 (0:00:00.196) 0:00:10.951 ******* 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.16txp8xtiy/tests/tasks/show_interfaces.yml:5 Monday 25 December 2023 22:11:22 +0000 (0:00:00.010) 0:00:10.961 ******* 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.16txp8xtiy/tests/tasks/create_and_remove_interface.yml:20 Monday 25 December 2023 22:11:22 +0000 (0:00:00.028) 0:00:10.989 ******* included: /WORKDIR/git-ansible-lint-test-2.16txp8xtiy/tests/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-ansible-lint-test-2.16txp8xtiy/tests/tasks/assert_device_present.yml:3 Monday 25 December 2023 22:11:22 +0000 (0:00:00.016) 0:00:11.006 ******* included: /WORKDIR/git-ansible-lint-test-2.16txp8xtiy/tests/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth1298] ***************************************** task path: /WORKDIR/git-ansible-lint-test-2.16txp8xtiy/tests/tasks/get_interface_stat.yml:3 Monday 25 December 2023 22:11:22 +0000 (0:00:00.009) 0:00:11.016 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1703542281.9644501, "block_size": 4096, "blocks": 0, "ctime": 1703542281.9644501, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 32859, "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": 1703542281.9644501, "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.16txp8xtiy/tests/tasks/assert_device_present.yml:5 Monday 25 December 2023 22:11:23 +0000 (0:00:00.190) 0:00:11.207 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-ansible-lint-test-2.16txp8xtiy/tests/tasks/create_and_remove_interface.yml:23 Monday 25 December 2023 22:11:23 +0000 (0:00:00.009) 0:00:11.217 ******* included: /WORKDIR/git-ansible-lint-test-2.16txp8xtiy/tests/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-ansible-lint-test-2.16txp8xtiy/tests/tasks/manage_test_interface.yml:3 Monday 25 December 2023 22:11:23 +0000 (0:00:00.018) 0:00:11.235 ******* 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.16txp8xtiy/tests/tasks/manage_test_interface.yml:8 Monday 25 December 2023 22:11:23 +0000 (0:00:00.007) 0:00:11.242 ******* 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.16txp8xtiy/tests/tasks/manage_test_interface.yml:13 Monday 25 December 2023 22:11:23 +0000 (0:00:00.007) 0:00:11.250 ******* included: /WORKDIR/git-ansible-lint-test-2.16txp8xtiy/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-ansible-lint-test-2.16txp8xtiy/tests/tasks/show_interfaces.yml:3 Monday 25 December 2023 22:11:23 +0000 (0:00:00.012) 0:00:11.262 ******* included: /WORKDIR/git-ansible-lint-test-2.16txp8xtiy/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-ansible-lint-test-2.16txp8xtiy/tests/tasks/get_current_interfaces.yml:3 Monday 25 December 2023 22:11:23 +0000 (0:00:00.009) 0:00:11.271 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003587", "end": "2023-12-25 22:11:23.382685", "rc": 0, "start": "2023-12-25 22:11:23.379098" } STDOUT: bonding_masters eth0 lo peerveth1298 veth1298 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16txp8xtiy/tests/tasks/get_current_interfaces.yml:9 Monday 25 December 2023 22:11:23 +0000 (0:00:00.190) 0:00:11.462 ******* 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.16txp8xtiy/tests/tasks/show_interfaces.yml:5 Monday 25 December 2023 22:11:23 +0000 (0:00:00.009) 0:00:11.472 ******* ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'peerveth1298', 'veth1298'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16txp8xtiy/tests/tasks/manage_test_interface.yml:16 Monday 25 December 2023 22:11:23 +0000 (0:00:00.009) 0:00:11.482 ******* ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth1298] ****************************************** task path: /WORKDIR/git-ansible-lint-test-2.16txp8xtiy/tests/tasks/manage_test_interface.yml:23 Monday 25 December 2023 22:11:26 +0000 (0:00:02.970) 0:00:14.452 ******* 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.16txp8xtiy/tests/tasks/manage_test_interface.yml:31 Monday 25 December 2023 22:11:26 +0000 (0:00:00.014) 0:00:14.467 ******* 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.16txp8xtiy/tests/tasks/manage_test_interface.yml:39 Monday 25 December 2023 22:11:26 +0000 (0:00:00.007) 0:00:14.475 ******* ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "veth1298", "type", "veth" ], "delta": "0:00:00.012735", "end": "2023-12-25 22:11:26.597079", "rc": 0, "start": "2023-12-25 22:11:26.584344" } TASK [Create dummy interface veth1298] ***************************************** task path: /WORKDIR/git-ansible-lint-test-2.16txp8xtiy/tests/tasks/manage_test_interface.yml:45 Monday 25 December 2023 22:11:26 +0000 (0:00:00.203) 0:00:14.679 ******* 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.16txp8xtiy/tests/tasks/manage_test_interface.yml:50 Monday 25 December 2023 22:11:26 +0000 (0:00:00.010) 0:00:14.689 ******* 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.16txp8xtiy/tests/tasks/manage_test_interface.yml:56 Monday 25 December 2023 22:11:26 +0000 (0:00:00.008) 0:00:14.697 ******* 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.16txp8xtiy/tests/tasks/manage_test_interface.yml:61 Monday 25 December 2023 22:11:26 +0000 (0:00:00.008) 0:00:14.705 ******* 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.16txp8xtiy/tests/tasks/create_and_remove_interface.yml:27 Monday 25 December 2023 22:11:26 +0000 (0:00:00.007) 0:00:14.713 ******* included: /WORKDIR/git-ansible-lint-test-2.16txp8xtiy/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-ansible-lint-test-2.16txp8xtiy/tests/tasks/show_interfaces.yml:3 Monday 25 December 2023 22:11:26 +0000 (0:00:00.018) 0:00:14.732 ******* included: /WORKDIR/git-ansible-lint-test-2.16txp8xtiy/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-ansible-lint-test-2.16txp8xtiy/tests/tasks/get_current_interfaces.yml:3 Monday 25 December 2023 22:11:26 +0000 (0:00:00.009) 0:00:14.741 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003424", "end": "2023-12-25 22:11:26.852727", "rc": 0, "start": "2023-12-25 22:11:26.849303" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16txp8xtiy/tests/tasks/get_current_interfaces.yml:9 Monday 25 December 2023 22:11:26 +0000 (0:00:00.204) 0:00:14.945 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16txp8xtiy/tests/tasks/show_interfaces.yml:5 Monday 25 December 2023 22:11:26 +0000 (0:00:00.013) 0:00:14.959 ******* 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.16txp8xtiy/tests/tasks/create_and_remove_interface.yml:29 Monday 25 December 2023 22:11:26 +0000 (0:00:00.014) 0:00:14.974 ******* included: /WORKDIR/git-ansible-lint-test-2.16txp8xtiy/tests/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-ansible-lint-test-2.16txp8xtiy/tests/tasks/assert_device_absent.yml:3 Monday 25 December 2023 22:11:26 +0000 (0:00:00.029) 0:00:15.003 ******* included: /WORKDIR/git-ansible-lint-test-2.16txp8xtiy/tests/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth1298] ***************************************** task path: /WORKDIR/git-ansible-lint-test-2.16txp8xtiy/tests/tasks/get_interface_stat.yml:3 Monday 25 December 2023 22:11:26 +0000 (0:00:00.012) 0:00:15.016 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'veth1298'] ************************ task path: /WORKDIR/git-ansible-lint-test-2.16txp8xtiy/tests/tasks/assert_device_absent.yml:5 Monday 25 December 2023 22:11:27 +0000 (0:00:00.196) 0:00:15.212 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test veth interface management] ****************************************** task path: /WORKDIR/git-ansible-lint-test-2.16txp8xtiy/tests/tests_helpers_and_asserts.yml:15 Monday 25 December 2023 22:11:27 +0000 (0:00:00.011) 0:00:15.224 ******* included: /WORKDIR/git-ansible-lint-test-2.16txp8xtiy/tests/tasks/create_and_remove_interface.yml for sut TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-ansible-lint-test-2.16txp8xtiy/tests/tasks/create_and_remove_interface.yml:3 Monday 25 December 2023 22:11:27 +0000 (0:00:00.018) 0:00:15.243 ******* included: /WORKDIR/git-ansible-lint-test-2.16txp8xtiy/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-ansible-lint-test-2.16txp8xtiy/tests/tasks/show_interfaces.yml:3 Monday 25 December 2023 22:11:27 +0000 (0:00:00.010) 0:00:15.254 ******* included: /WORKDIR/git-ansible-lint-test-2.16txp8xtiy/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-ansible-lint-test-2.16txp8xtiy/tests/tasks/get_current_interfaces.yml:3 Monday 25 December 2023 22:11:27 +0000 (0:00:00.009) 0:00:15.263 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003255", "end": "2023-12-25 22:11:27.372960", "rc": 0, "start": "2023-12-25 22:11:27.369705" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16txp8xtiy/tests/tasks/get_current_interfaces.yml:9 Monday 25 December 2023 22:11:27 +0000 (0:00:00.188) 0:00:15.452 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16txp8xtiy/tests/tasks/show_interfaces.yml:5 Monday 25 December 2023 22:11:27 +0000 (0:00:00.009) 0:00:15.461 ******* 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.16txp8xtiy/tests/tasks/create_and_remove_interface.yml:5 Monday 25 December 2023 22:11:27 +0000 (0:00:00.008) 0:00:15.470 ******* included: /WORKDIR/git-ansible-lint-test-2.16txp8xtiy/tests/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-ansible-lint-test-2.16txp8xtiy/tests/tasks/manage_test_interface.yml:3 Monday 25 December 2023 22:11:27 +0000 (0:00:00.012) 0:00:15.482 ******* 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.16txp8xtiy/tests/tasks/manage_test_interface.yml:8 Monday 25 December 2023 22:11:27 +0000 (0:00:00.007) 0:00:15.489 ******* 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.16txp8xtiy/tests/tasks/manage_test_interface.yml:13 Monday 25 December 2023 22:11:27 +0000 (0:00:00.007) 0:00:15.496 ******* included: /WORKDIR/git-ansible-lint-test-2.16txp8xtiy/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-ansible-lint-test-2.16txp8xtiy/tests/tasks/show_interfaces.yml:3 Monday 25 December 2023 22:11:27 +0000 (0:00:00.010) 0:00:15.507 ******* included: /WORKDIR/git-ansible-lint-test-2.16txp8xtiy/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-ansible-lint-test-2.16txp8xtiy/tests/tasks/get_current_interfaces.yml:3 Monday 25 December 2023 22:11:27 +0000 (0:00:00.009) 0:00:15.516 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003210", "end": "2023-12-25 22:11:27.625896", "rc": 0, "start": "2023-12-25 22:11:27.622686" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16txp8xtiy/tests/tasks/get_current_interfaces.yml:9 Monday 25 December 2023 22:11:27 +0000 (0:00:00.203) 0:00:15.719 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16txp8xtiy/tests/tasks/show_interfaces.yml:5 Monday 25 December 2023 22:11:27 +0000 (0:00:00.013) 0:00:15.732 ******* ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16txp8xtiy/tests/tasks/manage_test_interface.yml:16 Monday 25 December 2023 22:11:27 +0000 (0:00:00.031) 0:00:15.764 ******* ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface dummy1298] ***************************************** task path: /WORKDIR/git-ansible-lint-test-2.16txp8xtiy/tests/tasks/manage_test_interface.yml:23 Monday 25 December 2023 22:11:30 +0000 (0:00:02.949) 0:00:18.714 ******* 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.16txp8xtiy/tests/tasks/manage_test_interface.yml:31 Monday 25 December 2023 22:11:30 +0000 (0:00:00.014) 0:00:18.728 ******* 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.16txp8xtiy/tests/tasks/manage_test_interface.yml:39 Monday 25 December 2023 22:11:30 +0000 (0:00:00.007) 0:00:18.736 ******* 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.16txp8xtiy/tests/tasks/manage_test_interface.yml:45 Monday 25 December 2023 22:11:30 +0000 (0:00:00.007) 0:00:18.744 ******* 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.16txp8xtiy/tests/tasks/manage_test_interface.yml:50 Monday 25 December 2023 22:11:30 +0000 (0:00:00.008) 0:00:18.752 ******* 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.16txp8xtiy/tests/tasks/manage_test_interface.yml:56 Monday 25 December 2023 22:11:30 +0000 (0:00:00.007) 0:00:18.760 ******* 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.16txp8xtiy/tests/tasks/manage_test_interface.yml:61 Monday 25 December 2023 22:11:30 +0000 (0:00:00.007) 0:00:18.768 ******* 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.16txp8xtiy/tests/tasks/create_and_remove_interface.yml:9 Monday 25 December 2023 22:11:30 +0000 (0:00:00.007) 0:00:18.775 ******* included: /WORKDIR/git-ansible-lint-test-2.16txp8xtiy/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-ansible-lint-test-2.16txp8xtiy/tests/tasks/show_interfaces.yml:3 Monday 25 December 2023 22:11:30 +0000 (0:00:00.012) 0:00:18.788 ******* included: /WORKDIR/git-ansible-lint-test-2.16txp8xtiy/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-ansible-lint-test-2.16txp8xtiy/tests/tasks/get_current_interfaces.yml:3 Monday 25 December 2023 22:11:30 +0000 (0:00:00.008) 0:00:18.797 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003493", "end": "2023-12-25 22:11:30.909974", "rc": 0, "start": "2023-12-25 22:11:30.906481" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16txp8xtiy/tests/tasks/get_current_interfaces.yml:9 Monday 25 December 2023 22:11:30 +0000 (0:00:00.192) 0:00:18.989 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16txp8xtiy/tests/tasks/show_interfaces.yml:5 Monday 25 December 2023 22:11:30 +0000 (0:00:00.009) 0:00:18.999 ******* 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.16txp8xtiy/tests/tasks/create_and_remove_interface.yml:11 Monday 25 December 2023 22:11:30 +0000 (0:00:00.009) 0:00:19.008 ******* included: /WORKDIR/git-ansible-lint-test-2.16txp8xtiy/tests/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-ansible-lint-test-2.16txp8xtiy/tests/tasks/assert_device_absent.yml:3 Monday 25 December 2023 22:11:30 +0000 (0:00:00.013) 0:00:19.021 ******* included: /WORKDIR/git-ansible-lint-test-2.16txp8xtiy/tests/tasks/get_interface_stat.yml for sut TASK [Get stat for interface dummy1298] **************************************** task path: /WORKDIR/git-ansible-lint-test-2.16txp8xtiy/tests/tasks/get_interface_stat.yml:3 Monday 25 December 2023 22:11:30 +0000 (0:00:00.009) 0:00:19.031 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'dummy1298'] *********************** task path: /WORKDIR/git-ansible-lint-test-2.16txp8xtiy/tests/tasks/assert_device_absent.yml:5 Monday 25 December 2023 22:11:31 +0000 (0:00:00.190) 0:00:19.221 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-ansible-lint-test-2.16txp8xtiy/tests/tasks/create_and_remove_interface.yml:14 Monday 25 December 2023 22:11:31 +0000 (0:00:00.010) 0:00:19.232 ******* included: /WORKDIR/git-ansible-lint-test-2.16txp8xtiy/tests/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-ansible-lint-test-2.16txp8xtiy/tests/tasks/manage_test_interface.yml:3 Monday 25 December 2023 22:11:31 +0000 (0:00:00.015) 0:00:19.248 ******* 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.16txp8xtiy/tests/tasks/manage_test_interface.yml:8 Monday 25 December 2023 22:11:31 +0000 (0:00:00.010) 0:00:19.259 ******* 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.16txp8xtiy/tests/tasks/manage_test_interface.yml:13 Monday 25 December 2023 22:11:31 +0000 (0:00:00.009) 0:00:19.268 ******* included: /WORKDIR/git-ansible-lint-test-2.16txp8xtiy/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-ansible-lint-test-2.16txp8xtiy/tests/tasks/show_interfaces.yml:3 Monday 25 December 2023 22:11:31 +0000 (0:00:00.012) 0:00:19.280 ******* included: /WORKDIR/git-ansible-lint-test-2.16txp8xtiy/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-ansible-lint-test-2.16txp8xtiy/tests/tasks/get_current_interfaces.yml:3 Monday 25 December 2023 22:11:31 +0000 (0:00:00.011) 0:00:19.291 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003322", "end": "2023-12-25 22:11:31.403067", "rc": 0, "start": "2023-12-25 22:11:31.399745" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16txp8xtiy/tests/tasks/get_current_interfaces.yml:9 Monday 25 December 2023 22:11:31 +0000 (0:00:00.189) 0:00:19.481 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16txp8xtiy/tests/tasks/show_interfaces.yml:5 Monday 25 December 2023 22:11:31 +0000 (0:00:00.010) 0:00:19.491 ******* ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16txp8xtiy/tests/tasks/manage_test_interface.yml:16 Monday 25 December 2023 22:11:31 +0000 (0:00:00.010) 0:00:19.502 ******* ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface dummy1298] ***************************************** task path: /WORKDIR/git-ansible-lint-test-2.16txp8xtiy/tests/tasks/manage_test_interface.yml:23 Monday 25 December 2023 22:11:34 +0000 (0:00:02.957) 0:00:22.460 ******* 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.16txp8xtiy/tests/tasks/manage_test_interface.yml:31 Monday 25 December 2023 22:11:34 +0000 (0:00:00.014) 0:00:22.474 ******* 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.16txp8xtiy/tests/tasks/manage_test_interface.yml:39 Monday 25 December 2023 22:11:34 +0000 (0:00:00.008) 0:00:22.482 ******* 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.16txp8xtiy/tests/tasks/manage_test_interface.yml:45 Monday 25 December 2023 22:11:34 +0000 (0:00:00.009) 0:00:22.492 ******* ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "add", "dummy1298", "type", "dummy" ], "delta": "0:00:00.010820", "end": "2023-12-25 22:11:34.611858", "rc": 0, "start": "2023-12-25 22:11:34.601038" } TASK [Delete dummy interface dummy1298] **************************************** task path: /WORKDIR/git-ansible-lint-test-2.16txp8xtiy/tests/tasks/manage_test_interface.yml:50 Monday 25 December 2023 22:11:34 +0000 (0:00:00.207) 0:00:22.699 ******* 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.16txp8xtiy/tests/tasks/manage_test_interface.yml:56 Monday 25 December 2023 22:11:34 +0000 (0:00:00.008) 0:00:22.708 ******* 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.16txp8xtiy/tests/tasks/manage_test_interface.yml:61 Monday 25 December 2023 22:11:34 +0000 (0:00:00.008) 0:00:22.717 ******* 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.16txp8xtiy/tests/tasks/create_and_remove_interface.yml:18 Monday 25 December 2023 22:11:34 +0000 (0:00:00.011) 0:00:22.728 ******* included: /WORKDIR/git-ansible-lint-test-2.16txp8xtiy/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-ansible-lint-test-2.16txp8xtiy/tests/tasks/show_interfaces.yml:3 Monday 25 December 2023 22:11:34 +0000 (0:00:00.017) 0:00:22.746 ******* included: /WORKDIR/git-ansible-lint-test-2.16txp8xtiy/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-ansible-lint-test-2.16txp8xtiy/tests/tasks/get_current_interfaces.yml:3 Monday 25 December 2023 22:11:34 +0000 (0:00:00.009) 0:00:22.756 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003533", "end": "2023-12-25 22:11:34.869753", "rc": 0, "start": "2023-12-25 22:11:34.866220" } STDOUT: bonding_masters dummy1298 eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16txp8xtiy/tests/tasks/get_current_interfaces.yml:9 Monday 25 December 2023 22:11:34 +0000 (0:00:00.192) 0:00:22.948 ******* 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.16txp8xtiy/tests/tasks/show_interfaces.yml:5 Monday 25 December 2023 22:11:34 +0000 (0:00:00.009) 0:00:22.958 ******* 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.16txp8xtiy/tests/tasks/create_and_remove_interface.yml:20 Monday 25 December 2023 22:11:34 +0000 (0:00:00.008) 0:00:22.966 ******* included: /WORKDIR/git-ansible-lint-test-2.16txp8xtiy/tests/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-ansible-lint-test-2.16txp8xtiy/tests/tasks/assert_device_present.yml:3 Monday 25 December 2023 22:11:34 +0000 (0:00:00.017) 0:00:22.983 ******* included: /WORKDIR/git-ansible-lint-test-2.16txp8xtiy/tests/tasks/get_interface_stat.yml for sut TASK [Get stat for interface dummy1298] **************************************** task path: /WORKDIR/git-ansible-lint-test-2.16txp8xtiy/tests/tasks/get_interface_stat.yml:3 Monday 25 December 2023 22:11:34 +0000 (0:00:00.009) 0:00:22.993 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1703542294.6097283, "block_size": 4096, "blocks": 0, "ctime": 1703542294.6097283, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 33182, "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": 1703542294.6097283, "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.16txp8xtiy/tests/tasks/assert_device_present.yml:5 Monday 25 December 2023 22:11:35 +0000 (0:00:00.186) 0:00:23.180 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-ansible-lint-test-2.16txp8xtiy/tests/tasks/create_and_remove_interface.yml:23 Monday 25 December 2023 22:11:35 +0000 (0:00:00.011) 0:00:23.191 ******* included: /WORKDIR/git-ansible-lint-test-2.16txp8xtiy/tests/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-ansible-lint-test-2.16txp8xtiy/tests/tasks/manage_test_interface.yml:3 Monday 25 December 2023 22:11:35 +0000 (0:00:00.018) 0:00:23.209 ******* 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.16txp8xtiy/tests/tasks/manage_test_interface.yml:8 Monday 25 December 2023 22:11:35 +0000 (0:00:00.007) 0:00:23.217 ******* 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.16txp8xtiy/tests/tasks/manage_test_interface.yml:13 Monday 25 December 2023 22:11:35 +0000 (0:00:00.007) 0:00:23.225 ******* included: /WORKDIR/git-ansible-lint-test-2.16txp8xtiy/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-ansible-lint-test-2.16txp8xtiy/tests/tasks/show_interfaces.yml:3 Monday 25 December 2023 22:11:35 +0000 (0:00:00.010) 0:00:23.235 ******* included: /WORKDIR/git-ansible-lint-test-2.16txp8xtiy/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-ansible-lint-test-2.16txp8xtiy/tests/tasks/get_current_interfaces.yml:3 Monday 25 December 2023 22:11:35 +0000 (0:00:00.009) 0:00:23.245 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003474", "end": "2023-12-25 22:11:35.358575", "rc": 0, "start": "2023-12-25 22:11:35.355101" } STDOUT: bonding_masters dummy1298 eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16txp8xtiy/tests/tasks/get_current_interfaces.yml:9 Monday 25 December 2023 22:11:35 +0000 (0:00:00.192) 0:00:23.437 ******* 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.16txp8xtiy/tests/tasks/show_interfaces.yml:5 Monday 25 December 2023 22:11:35 +0000 (0:00:00.009) 0:00:23.447 ******* ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'dummy1298', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16txp8xtiy/tests/tasks/manage_test_interface.yml:16 Monday 25 December 2023 22:11:35 +0000 (0:00:00.009) 0:00:23.457 ******* ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface dummy1298] ***************************************** task path: /WORKDIR/git-ansible-lint-test-2.16txp8xtiy/tests/tasks/manage_test_interface.yml:23 Monday 25 December 2023 22:11:38 +0000 (0:00:02.954) 0:00:26.411 ******* 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.16txp8xtiy/tests/tasks/manage_test_interface.yml:31 Monday 25 December 2023 22:11:38 +0000 (0:00:00.014) 0:00:26.426 ******* 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.16txp8xtiy/tests/tasks/manage_test_interface.yml:39 Monday 25 December 2023 22:11:38 +0000 (0:00:00.008) 0:00:26.434 ******* 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.16txp8xtiy/tests/tasks/manage_test_interface.yml:45 Monday 25 December 2023 22:11:38 +0000 (0:00:00.008) 0:00:26.442 ******* 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.16txp8xtiy/tests/tasks/manage_test_interface.yml:50 Monday 25 December 2023 22:11:38 +0000 (0:00:00.009) 0:00:26.452 ******* ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "dummy1298", "type", "dummy" ], "delta": "0:00:00.012106", "end": "2023-12-25 22:11:38.576315", "rc": 0, "start": "2023-12-25 22:11:38.564209" } TASK [Create tap interface dummy1298] ****************************************** task path: /WORKDIR/git-ansible-lint-test-2.16txp8xtiy/tests/tasks/manage_test_interface.yml:56 Monday 25 December 2023 22:11:38 +0000 (0:00:00.203) 0:00:26.655 ******* 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.16txp8xtiy/tests/tasks/manage_test_interface.yml:61 Monday 25 December 2023 22:11:38 +0000 (0:00:00.010) 0:00:26.666 ******* 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.16txp8xtiy/tests/tasks/create_and_remove_interface.yml:27 Monday 25 December 2023 22:11:38 +0000 (0:00:00.008) 0:00:26.675 ******* included: /WORKDIR/git-ansible-lint-test-2.16txp8xtiy/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-ansible-lint-test-2.16txp8xtiy/tests/tasks/show_interfaces.yml:3 Monday 25 December 2023 22:11:38 +0000 (0:00:00.020) 0:00:26.695 ******* included: /WORKDIR/git-ansible-lint-test-2.16txp8xtiy/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-ansible-lint-test-2.16txp8xtiy/tests/tasks/get_current_interfaces.yml:3 Monday 25 December 2023 22:11:38 +0000 (0:00:00.013) 0:00:26.709 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003470", "end": "2023-12-25 22:11:38.820113", "rc": 0, "start": "2023-12-25 22:11:38.816643" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16txp8xtiy/tests/tasks/get_current_interfaces.yml:9 Monday 25 December 2023 22:11:38 +0000 (0:00:00.189) 0:00:26.898 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16txp8xtiy/tests/tasks/show_interfaces.yml:5 Monday 25 December 2023 22:11:38 +0000 (0:00:00.011) 0:00:26.910 ******* 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.16txp8xtiy/tests/tasks/create_and_remove_interface.yml:29 Monday 25 December 2023 22:11:38 +0000 (0:00:00.009) 0:00:26.919 ******* included: /WORKDIR/git-ansible-lint-test-2.16txp8xtiy/tests/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-ansible-lint-test-2.16txp8xtiy/tests/tasks/assert_device_absent.yml:3 Monday 25 December 2023 22:11:38 +0000 (0:00:00.019) 0:00:26.939 ******* included: /WORKDIR/git-ansible-lint-test-2.16txp8xtiy/tests/tasks/get_interface_stat.yml for sut TASK [Get stat for interface dummy1298] **************************************** task path: /WORKDIR/git-ansible-lint-test-2.16txp8xtiy/tests/tasks/get_interface_stat.yml:3 Monday 25 December 2023 22:11:38 +0000 (0:00:00.011) 0:00:26.950 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'dummy1298'] *********************** task path: /WORKDIR/git-ansible-lint-test-2.16txp8xtiy/tests/tasks/assert_device_absent.yml:5 Monday 25 December 2023 22:11:39 +0000 (0:00:00.186) 0:00:27.136 ******* ok: [sut] => { "changed": false } MSG: All assertions passed PLAY RECAP ********************************************************************* sut : ok=121 changed=0 unreachable=0 failed=0 skipped=53 rescued=0 ignored=0 Monday 25 December 2023 22:11:39 +0000 (0:00:00.015) 0:00:27.152 ******* =============================================================================== Install iproute --------------------------------------------------------- 3.27s /WORKDIR/git-ansible-lint-test-2.16txp8xtiy/tests/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 2.98s /WORKDIR/git-ansible-lint-test-2.16txp8xtiy/tests/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 2.97s /WORKDIR/git-ansible-lint-test-2.16txp8xtiy/tests/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 2.96s /WORKDIR/git-ansible-lint-test-2.16txp8xtiy/tests/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 2.95s /WORKDIR/git-ansible-lint-test-2.16txp8xtiy/tests/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 2.95s /WORKDIR/git-ansible-lint-test-2.16txp8xtiy/tests/tasks/manage_test_interface.yml:16 Gathering Facts --------------------------------------------------------- 0.89s /WORKDIR/git-ansible-lint-test-2.16txp8xtiy/tests/tests_helpers_and_asserts.yml:3 Create veth interface veth1298 ------------------------------------------ 0.62s /WORKDIR/git-ansible-lint-test-2.16txp8xtiy/tests/tasks/manage_test_interface.yml:23 Enable EPEL 8 ----------------------------------------------------------- 0.44s /WORKDIR/git-ansible-lint-test-2.16txp8xtiy/tests/tasks/enable_epel.yml:35 ---- Gather the minimum subset of ansible_facts required by the network role test --- 0.36s /WORKDIR/git-ansible-lint-test-2.16txp8xtiy/tests/tasks/el_repo_setup.yml:3 --- Create EPEL 8 ----------------------------------------------------------- 0.25s /WORKDIR/git-ansible-lint-test-2.16txp8xtiy/tests/tasks/enable_epel.yml:8 ----- Check if system is ostree ----------------------------------------------- 0.25s /WORKDIR/git-ansible-lint-test-2.16txp8xtiy/tests/tasks/el_repo_setup.yml:17 -- Set up veth as managed by NetworkManager -------------------------------- 0.21s /WORKDIR/git-ansible-lint-test-2.16txp8xtiy/tests/tasks/manage_test_interface.yml:31 Create dummy interface dummy1298 ---------------------------------------- 0.21s /WORKDIR/git-ansible-lint-test-2.16txp8xtiy/tests/tasks/manage_test_interface.yml:45 Gather current interface info ------------------------------------------- 0.20s /WORKDIR/git-ansible-lint-test-2.16txp8xtiy/tests/tasks/get_current_interfaces.yml:3 Delete veth interface veth1298 ------------------------------------------ 0.20s /WORKDIR/git-ansible-lint-test-2.16txp8xtiy/tests/tasks/manage_test_interface.yml:39 Delete dummy interface dummy1298 ---------------------------------------- 0.20s /WORKDIR/git-ansible-lint-test-2.16txp8xtiy/tests/tasks/manage_test_interface.yml:50 Gather current interface info ------------------------------------------- 0.20s /WORKDIR/git-ansible-lint-test-2.16txp8xtiy/tests/tasks/get_current_interfaces.yml:3 Gather current interface info ------------------------------------------- 0.20s /WORKDIR/git-ansible-lint-test-2.16txp8xtiy/tests/tasks/get_current_interfaces.yml:3 Get stat for interface veth1298 ----------------------------------------- 0.20s /WORKDIR/git-ansible-lint-test-2.16txp8xtiy/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. ---^---^---^---^---^---