# 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-bond_options_rewrited8vijcx7/.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-bond_options_rewrited8vijcx7/tests/tests_helpers_and_asserts.yml PLAY [Check that creating and removing test devices and assertions work] ******* TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-bond_options_rewrited8vijcx7/tests/tests_helpers_and_asserts.yml:3 Wednesday 14 February 2024 21:25:05 +0000 (0:00:00.037) 0:00:00.037 **** ok: [sut] TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-bond_options_rewrited8vijcx7/tests/tests_helpers_and_asserts.yml:6 Wednesday 14 February 2024 21:25:06 +0000 (0:00:00.904) 0:00:00.941 **** included: /WORKDIR/git-bond_options_rewrited8vijcx7/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-bond_options_rewrited8vijcx7/tests/tasks/el_repo_setup.yml:3 Wednesday 14 February 2024 21:25:06 +0000 (0:00:00.012) 0:00:00.954 **** ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-bond_options_rewrited8vijcx7/tests/tasks/el_repo_setup.yml:17 Wednesday 14 February 2024 21:25:06 +0000 (0:00:00.362) 0:00:01.316 **** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-bond_options_rewrited8vijcx7/tests/tasks/el_repo_setup.yml:22 Wednesday 14 February 2024 21:25:06 +0000 (0:00:00.258) 0:00:01.574 **** ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-bond_options_rewrited8vijcx7/tests/tasks/el_repo_setup.yml:26 Wednesday 14 February 2024 21:25:06 +0000 (0:00:00.015) 0:00:01.590 **** 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-bond_options_rewrited8vijcx7/tests/tasks/el_repo_setup.yml:51 Wednesday 14 February 2024 21:25:06 +0000 (0:00:00.009) 0:00:01.599 **** included: /WORKDIR/git-bond_options_rewrited8vijcx7/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 8] *********************************************************** task path: /WORKDIR/git-bond_options_rewrited8vijcx7/tests/tasks/enable_epel.yml:8 Wednesday 14 February 2024 21:25:06 +0000 (0:00:00.024) 0:00:01.624 **** 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-bond_options_rewrited8vijcx7/tests/tasks/enable_epel.yml:24 Wednesday 14 February 2024 21:25:07 +0000 (0:00:00.252) 0:00:01.876 **** 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-bond_options_rewrited8vijcx7/tests/tasks/enable_epel.yml:30 Wednesday 14 February 2024 21:25:07 +0000 (0:00:00.010) 0:00:01.886 **** 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-bond_options_rewrited8vijcx7/tests/tasks/enable_epel.yml:35 Wednesday 14 February 2024 21:25:07 +0000 (0:00:00.008) 0:00:01.895 **** ok: [sut] => { "changed": false, "cmd": [ "dnf", "config-manager", "--set-enabled", "epel" ], "delta": "0:00:00.245399", "end": "2024-02-14 21:25:07.580730", "rc": 0, "start": "2024-02-14 21:25:07.335331" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-bond_options_rewrited8vijcx7/tests/tasks/enable_epel.yml:40 Wednesday 14 February 2024 21:25:07 +0000 (0:00:00.439) 0:00:02.335 **** 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-bond_options_rewrited8vijcx7/tests/tests_helpers_and_asserts.yml:9 Wednesday 14 February 2024 21:25:07 +0000 (0:00:00.009) 0:00:02.344 **** included: /WORKDIR/git-bond_options_rewrited8vijcx7/tests/tasks/create_and_remove_interface.yml for sut TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-bond_options_rewrited8vijcx7/tests/tasks/create_and_remove_interface.yml:3 Wednesday 14 February 2024 21:25:07 +0000 (0:00:00.012) 0:00:02.357 **** included: /WORKDIR/git-bond_options_rewrited8vijcx7/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewrited8vijcx7/tests/tasks/show_interfaces.yml:3 Wednesday 14 February 2024 21:25:07 +0000 (0:00:00.010) 0:00:02.368 **** included: /WORKDIR/git-bond_options_rewrited8vijcx7/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewrited8vijcx7/tests/tasks/get_current_interfaces.yml:3 Wednesday 14 February 2024 21:25:07 +0000 (0:00:00.010) 0:00:02.378 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003632", "end": "2024-02-14 21:25:07.829435", "rc": 0, "start": "2024-02-14 21:25:07.825803" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewrited8vijcx7/tests/tasks/get_current_interfaces.yml:9 Wednesday 14 February 2024 21:25:07 +0000 (0:00:00.201) 0:00:02.580 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewrited8vijcx7/tests/tasks/show_interfaces.yml:5 Wednesday 14 February 2024 21:25:07 +0000 (0:00:00.010) 0:00:02.590 **** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-bond_options_rewrited8vijcx7/tests/tasks/create_and_remove_interface.yml:5 Wednesday 14 February 2024 21:25:07 +0000 (0:00:00.010) 0:00:02.600 **** included: /WORKDIR/git-bond_options_rewrited8vijcx7/tests/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-bond_options_rewrited8vijcx7/tests/tasks/manage_test_interface.yml:3 Wednesday 14 February 2024 21:25:07 +0000 (0:00:00.014) 0:00:02.614 **** 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-bond_options_rewrited8vijcx7/tests/tasks/manage_test_interface.yml:8 Wednesday 14 February 2024 21:25:07 +0000 (0:00:00.010) 0:00:02.624 **** 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-bond_options_rewrited8vijcx7/tests/tasks/manage_test_interface.yml:13 Wednesday 14 February 2024 21:25:07 +0000 (0:00:00.008) 0:00:02.633 **** included: /WORKDIR/git-bond_options_rewrited8vijcx7/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewrited8vijcx7/tests/tasks/show_interfaces.yml:3 Wednesday 14 February 2024 21:25:07 +0000 (0:00:00.011) 0:00:02.645 **** included: /WORKDIR/git-bond_options_rewrited8vijcx7/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewrited8vijcx7/tests/tasks/get_current_interfaces.yml:3 Wednesday 14 February 2024 21:25:07 +0000 (0:00:00.015) 0:00:02.660 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003706", "end": "2024-02-14 21:25:08.104894", "rc": 0, "start": "2024-02-14 21:25:08.101188" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewrited8vijcx7/tests/tasks/get_current_interfaces.yml:9 Wednesday 14 February 2024 21:25:08 +0000 (0:00:00.194) 0:00:02.855 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewrited8vijcx7/tests/tasks/show_interfaces.yml:5 Wednesday 14 February 2024 21:25:08 +0000 (0:00:00.010) 0:00:02.866 **** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-bond_options_rewrited8vijcx7/tests/tasks/manage_test_interface.yml:16 Wednesday 14 February 2024 21:25:08 +0000 (0:00:00.009) 0:00:02.876 **** ok: [sut] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth1298] ****************************************** task path: /WORKDIR/git-bond_options_rewrited8vijcx7/tests/tasks/manage_test_interface.yml:27 Wednesday 14 February 2024 21:25:11 +0000 (0:00:02.940) 0:00:05.816 **** 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-bond_options_rewrited8vijcx7/tests/tasks/manage_test_interface.yml:35 Wednesday 14 February 2024 21:25:11 +0000 (0:00:00.014) 0:00:05.831 **** 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-bond_options_rewrited8vijcx7/tests/tasks/manage_test_interface.yml:43 Wednesday 14 February 2024 21:25:11 +0000 (0:00:00.008) 0:00:05.839 **** 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-bond_options_rewrited8vijcx7/tests/tasks/manage_test_interface.yml:49 Wednesday 14 February 2024 21:25:11 +0000 (0:00:00.009) 0:00:05.849 **** 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-bond_options_rewrited8vijcx7/tests/tasks/manage_test_interface.yml:54 Wednesday 14 February 2024 21:25:11 +0000 (0:00:00.009) 0:00:05.858 **** 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-bond_options_rewrited8vijcx7/tests/tasks/manage_test_interface.yml:60 Wednesday 14 February 2024 21:25:11 +0000 (0:00:00.010) 0:00:05.869 **** 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-bond_options_rewrited8vijcx7/tests/tasks/manage_test_interface.yml:65 Wednesday 14 February 2024 21:25:11 +0000 (0:00:00.010) 0:00:05.879 **** 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-bond_options_rewrited8vijcx7/tests/tasks/create_and_remove_interface.yml:9 Wednesday 14 February 2024 21:25:11 +0000 (0:00:00.010) 0:00:05.889 **** included: /WORKDIR/git-bond_options_rewrited8vijcx7/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewrited8vijcx7/tests/tasks/show_interfaces.yml:3 Wednesday 14 February 2024 21:25:11 +0000 (0:00:00.013) 0:00:05.903 **** included: /WORKDIR/git-bond_options_rewrited8vijcx7/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewrited8vijcx7/tests/tasks/get_current_interfaces.yml:3 Wednesday 14 February 2024 21:25:11 +0000 (0:00:00.010) 0:00:05.913 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003738", "end": "2024-02-14 21:25:11.354702", "rc": 0, "start": "2024-02-14 21:25:11.350964" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewrited8vijcx7/tests/tasks/get_current_interfaces.yml:9 Wednesday 14 February 2024 21:25:11 +0000 (0:00:00.192) 0:00:06.105 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewrited8vijcx7/tests/tasks/show_interfaces.yml:5 Wednesday 14 February 2024 21:25:11 +0000 (0:00:00.010) 0:00:06.116 **** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Include the task 'assert_device_absent.yml'] ***************************** task path: /WORKDIR/git-bond_options_rewrited8vijcx7/tests/tasks/create_and_remove_interface.yml:11 Wednesday 14 February 2024 21:25:11 +0000 (0:00:00.009) 0:00:06.126 **** included: /WORKDIR/git-bond_options_rewrited8vijcx7/tests/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewrited8vijcx7/tests/tasks/assert_device_absent.yml:3 Wednesday 14 February 2024 21:25:11 +0000 (0:00:00.014) 0:00:06.141 **** included: /WORKDIR/git-bond_options_rewrited8vijcx7/tests/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth1298] ***************************************** task path: /WORKDIR/git-bond_options_rewrited8vijcx7/tests/tasks/get_interface_stat.yml:3 Wednesday 14 February 2024 21:25:11 +0000 (0:00:00.010) 0:00:06.151 **** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'veth1298'] ************************ task path: /WORKDIR/git-bond_options_rewrited8vijcx7/tests/tasks/assert_device_absent.yml:5 Wednesday 14 February 2024 21:25:11 +0000 (0:00:00.189) 0:00:06.340 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-bond_options_rewrited8vijcx7/tests/tasks/create_and_remove_interface.yml:14 Wednesday 14 February 2024 21:25:11 +0000 (0:00:00.011) 0:00:06.351 **** included: /WORKDIR/git-bond_options_rewrited8vijcx7/tests/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-bond_options_rewrited8vijcx7/tests/tasks/manage_test_interface.yml:3 Wednesday 14 February 2024 21:25:11 +0000 (0:00:00.015) 0:00:06.367 **** 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-bond_options_rewrited8vijcx7/tests/tasks/manage_test_interface.yml:8 Wednesday 14 February 2024 21:25:11 +0000 (0:00:00.008) 0:00:06.375 **** 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-bond_options_rewrited8vijcx7/tests/tasks/manage_test_interface.yml:13 Wednesday 14 February 2024 21:25:11 +0000 (0:00:00.007) 0:00:06.382 **** included: /WORKDIR/git-bond_options_rewrited8vijcx7/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewrited8vijcx7/tests/tasks/show_interfaces.yml:3 Wednesday 14 February 2024 21:25:11 +0000 (0:00:00.011) 0:00:06.393 **** included: /WORKDIR/git-bond_options_rewrited8vijcx7/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewrited8vijcx7/tests/tasks/get_current_interfaces.yml:3 Wednesday 14 February 2024 21:25:11 +0000 (0:00:00.010) 0:00:06.404 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003491", "end": "2024-02-14 21:25:11.843485", "rc": 0, "start": "2024-02-14 21:25:11.839994" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewrited8vijcx7/tests/tasks/get_current_interfaces.yml:9 Wednesday 14 February 2024 21:25:11 +0000 (0:00:00.189) 0:00:06.593 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewrited8vijcx7/tests/tasks/show_interfaces.yml:5 Wednesday 14 February 2024 21:25:11 +0000 (0:00:00.012) 0:00:06.606 **** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-bond_options_rewrited8vijcx7/tests/tasks/manage_test_interface.yml:16 Wednesday 14 February 2024 21:25:11 +0000 (0:00:00.013) 0:00:06.620 **** ok: [sut] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth1298] ****************************************** task path: /WORKDIR/git-bond_options_rewrited8vijcx7/tests/tasks/manage_test_interface.yml:27 Wednesday 14 February 2024 21:25:14 +0000 (0:00:02.523) 0:00:09.143 **** 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.013803", "end": "2024-02-14 21:25:14.602927", "item": "ip link add veth1298 type veth peer name peerveth1298", "rc": 0, "start": "2024-02-14 21:25:14.589124" } ok: [sut] => (item=ip link set peerveth1298 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peerveth1298", "up" ], "delta": "0:00:00.004054", "end": "2024-02-14 21:25:14.831282", "item": "ip link set peerveth1298 up", "rc": 0, "start": "2024-02-14 21:25:14.827228" } ok: [sut] => (item=ip link set veth1298 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "veth1298", "up" ], "delta": "0:00:00.004847", "end": "2024-02-14 21:25:15.015712", "item": "ip link set veth1298 up", "rc": 0, "start": "2024-02-14 21:25:15.010865" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-bond_options_rewrited8vijcx7/tests/tasks/manage_test_interface.yml:35 Wednesday 14 February 2024 21:25:15 +0000 (0:00:00.624) 0:00:09.768 **** ok: [sut] => { "changed": false, "cmd": [ "nmcli", "d", "set", "veth1298", "managed", "true" ], "delta": "0:00:00.023243", "end": "2024-02-14 21:25:15.229416", "rc": 0, "start": "2024-02-14 21:25:15.206173" } TASK [Delete veth interface veth1298] ****************************************** task path: /WORKDIR/git-bond_options_rewrited8vijcx7/tests/tasks/manage_test_interface.yml:43 Wednesday 14 February 2024 21:25:15 +0000 (0:00:00.214) 0:00:09.982 **** 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-bond_options_rewrited8vijcx7/tests/tasks/manage_test_interface.yml:49 Wednesday 14 February 2024 21:25:15 +0000 (0:00:00.011) 0:00:09.994 **** 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-bond_options_rewrited8vijcx7/tests/tasks/manage_test_interface.yml:54 Wednesday 14 February 2024 21:25:15 +0000 (0:00:00.011) 0:00:10.005 **** 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-bond_options_rewrited8vijcx7/tests/tasks/manage_test_interface.yml:60 Wednesday 14 February 2024 21:25:15 +0000 (0:00:00.015) 0:00:10.021 **** 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-bond_options_rewrited8vijcx7/tests/tasks/manage_test_interface.yml:65 Wednesday 14 February 2024 21:25:15 +0000 (0:00:00.010) 0:00:10.031 **** 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-bond_options_rewrited8vijcx7/tests/tasks/create_and_remove_interface.yml:18 Wednesday 14 February 2024 21:25:15 +0000 (0:00:00.009) 0:00:10.040 **** included: /WORKDIR/git-bond_options_rewrited8vijcx7/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewrited8vijcx7/tests/tasks/show_interfaces.yml:3 Wednesday 14 February 2024 21:25:15 +0000 (0:00:00.018) 0:00:10.059 **** included: /WORKDIR/git-bond_options_rewrited8vijcx7/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewrited8vijcx7/tests/tasks/get_current_interfaces.yml:3 Wednesday 14 February 2024 21:25:15 +0000 (0:00:00.009) 0:00:10.069 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003619", "end": "2024-02-14 21:25:15.511069", "rc": 0, "start": "2024-02-14 21:25:15.507450" } STDOUT: bonding_masters eth0 lo peerveth1298 veth1298 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewrited8vijcx7/tests/tasks/get_current_interfaces.yml:9 Wednesday 14 February 2024 21:25:15 +0000 (0:00:00.192) 0:00:10.262 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "peerveth1298", "veth1298" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewrited8vijcx7/tests/tasks/show_interfaces.yml:5 Wednesday 14 February 2024 21:25:15 +0000 (0:00:00.010) 0:00:10.272 **** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'peerveth1298', 'veth1298'] TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-bond_options_rewrited8vijcx7/tests/tasks/create_and_remove_interface.yml:20 Wednesday 14 February 2024 21:25:15 +0000 (0:00:00.010) 0:00:10.282 **** included: /WORKDIR/git-bond_options_rewrited8vijcx7/tests/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewrited8vijcx7/tests/tasks/assert_device_present.yml:3 Wednesday 14 February 2024 21:25:15 +0000 (0:00:00.016) 0:00:10.298 **** included: /WORKDIR/git-bond_options_rewrited8vijcx7/tests/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth1298] ***************************************** task path: /WORKDIR/git-bond_options_rewrited8vijcx7/tests/tasks/get_interface_stat.yml:3 Wednesday 14 February 2024 21:25:15 +0000 (0:00:00.010) 0:00:10.309 **** ok: [sut] => { "changed": false, "stat": { "atime": 1707945914.5930963, "block_size": 4096, "blocks": 0, "ctime": 1707945914.5930963, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 30790, "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": 1707945914.5930963, "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-bond_options_rewrited8vijcx7/tests/tasks/assert_device_present.yml:5 Wednesday 14 February 2024 21:25:15 +0000 (0:00:00.192) 0:00:10.502 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-bond_options_rewrited8vijcx7/tests/tasks/create_and_remove_interface.yml:23 Wednesday 14 February 2024 21:25:15 +0000 (0:00:00.010) 0:00:10.513 **** included: /WORKDIR/git-bond_options_rewrited8vijcx7/tests/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-bond_options_rewrited8vijcx7/tests/tasks/manage_test_interface.yml:3 Wednesday 14 February 2024 21:25:15 +0000 (0:00:00.018) 0:00:10.531 **** 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-bond_options_rewrited8vijcx7/tests/tasks/manage_test_interface.yml:8 Wednesday 14 February 2024 21:25:15 +0000 (0:00:00.008) 0:00:10.540 **** 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-bond_options_rewrited8vijcx7/tests/tasks/manage_test_interface.yml:13 Wednesday 14 February 2024 21:25:15 +0000 (0:00:00.008) 0:00:10.548 **** included: /WORKDIR/git-bond_options_rewrited8vijcx7/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewrited8vijcx7/tests/tasks/show_interfaces.yml:3 Wednesday 14 February 2024 21:25:15 +0000 (0:00:00.011) 0:00:10.559 **** included: /WORKDIR/git-bond_options_rewrited8vijcx7/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewrited8vijcx7/tests/tasks/get_current_interfaces.yml:3 Wednesday 14 February 2024 21:25:15 +0000 (0:00:00.009) 0:00:10.569 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003529", "end": "2024-02-14 21:25:16.009375", "rc": 0, "start": "2024-02-14 21:25:16.005846" } STDOUT: bonding_masters eth0 lo peerveth1298 veth1298 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewrited8vijcx7/tests/tasks/get_current_interfaces.yml:9 Wednesday 14 February 2024 21:25:16 +0000 (0:00:00.190) 0:00:10.759 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "peerveth1298", "veth1298" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewrited8vijcx7/tests/tasks/show_interfaces.yml:5 Wednesday 14 February 2024 21:25:16 +0000 (0:00:00.010) 0:00:10.769 **** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'peerveth1298', 'veth1298'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-bond_options_rewrited8vijcx7/tests/tasks/manage_test_interface.yml:16 Wednesday 14 February 2024 21:25:16 +0000 (0:00:00.009) 0:00:10.779 **** ok: [sut] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth1298] ****************************************** task path: /WORKDIR/git-bond_options_rewrited8vijcx7/tests/tasks/manage_test_interface.yml:27 Wednesday 14 February 2024 21:25:18 +0000 (0:00:02.580) 0:00:13.359 **** 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-bond_options_rewrited8vijcx7/tests/tasks/manage_test_interface.yml:35 Wednesday 14 February 2024 21:25:18 +0000 (0:00:00.027) 0:00:13.387 **** 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-bond_options_rewrited8vijcx7/tests/tasks/manage_test_interface.yml:43 Wednesday 14 February 2024 21:25:18 +0000 (0:00:00.045) 0:00:13.433 **** ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "veth1298", "type", "veth" ], "delta": "0:00:00.010049", "end": "2024-02-14 21:25:18.902109", "rc": 0, "start": "2024-02-14 21:25:18.892060" } TASK [Create dummy interface veth1298] ***************************************** task path: /WORKDIR/git-bond_options_rewrited8vijcx7/tests/tasks/manage_test_interface.yml:49 Wednesday 14 February 2024 21:25:18 +0000 (0:00:00.230) 0:00:13.664 **** 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-bond_options_rewrited8vijcx7/tests/tasks/manage_test_interface.yml:54 Wednesday 14 February 2024 21:25:18 +0000 (0:00:00.018) 0:00:13.682 **** 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-bond_options_rewrited8vijcx7/tests/tasks/manage_test_interface.yml:60 Wednesday 14 February 2024 21:25:18 +0000 (0:00:00.022) 0:00:13.704 **** 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-bond_options_rewrited8vijcx7/tests/tasks/manage_test_interface.yml:65 Wednesday 14 February 2024 21:25:18 +0000 (0:00:00.014) 0:00:13.719 **** 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-bond_options_rewrited8vijcx7/tests/tasks/create_and_remove_interface.yml:27 Wednesday 14 February 2024 21:25:19 +0000 (0:00:00.021) 0:00:13.741 **** included: /WORKDIR/git-bond_options_rewrited8vijcx7/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewrited8vijcx7/tests/tasks/show_interfaces.yml:3 Wednesday 14 February 2024 21:25:19 +0000 (0:00:00.030) 0:00:13.771 **** included: /WORKDIR/git-bond_options_rewrited8vijcx7/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewrited8vijcx7/tests/tasks/get_current_interfaces.yml:3 Wednesday 14 February 2024 21:25:19 +0000 (0:00:00.016) 0:00:13.788 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003821", "end": "2024-02-14 21:25:19.246233", "rc": 0, "start": "2024-02-14 21:25:19.242412" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewrited8vijcx7/tests/tasks/get_current_interfaces.yml:9 Wednesday 14 February 2024 21:25:19 +0000 (0:00:00.220) 0:00:14.008 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewrited8vijcx7/tests/tasks/show_interfaces.yml:5 Wednesday 14 February 2024 21:25:19 +0000 (0:00:00.015) 0:00:14.024 **** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Include the task 'assert_device_absent.yml'] ***************************** task path: /WORKDIR/git-bond_options_rewrited8vijcx7/tests/tasks/create_and_remove_interface.yml:29 Wednesday 14 February 2024 21:25:19 +0000 (0:00:00.021) 0:00:14.046 **** included: /WORKDIR/git-bond_options_rewrited8vijcx7/tests/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewrited8vijcx7/tests/tasks/assert_device_absent.yml:3 Wednesday 14 February 2024 21:25:19 +0000 (0:00:00.028) 0:00:14.074 **** included: /WORKDIR/git-bond_options_rewrited8vijcx7/tests/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth1298] ***************************************** task path: /WORKDIR/git-bond_options_rewrited8vijcx7/tests/tasks/get_interface_stat.yml:3 Wednesday 14 February 2024 21:25:19 +0000 (0:00:00.010) 0:00:14.085 **** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'veth1298'] ************************ task path: /WORKDIR/git-bond_options_rewrited8vijcx7/tests/tasks/assert_device_absent.yml:5 Wednesday 14 February 2024 21:25:19 +0000 (0:00:00.194) 0:00:14.279 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test veth interface management] ****************************************** task path: /WORKDIR/git-bond_options_rewrited8vijcx7/tests/tests_helpers_and_asserts.yml:15 Wednesday 14 February 2024 21:25:19 +0000 (0:00:00.017) 0:00:14.297 **** included: /WORKDIR/git-bond_options_rewrited8vijcx7/tests/tasks/create_and_remove_interface.yml for sut TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-bond_options_rewrited8vijcx7/tests/tasks/create_and_remove_interface.yml:3 Wednesday 14 February 2024 21:25:19 +0000 (0:00:00.024) 0:00:14.322 **** included: /WORKDIR/git-bond_options_rewrited8vijcx7/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewrited8vijcx7/tests/tasks/show_interfaces.yml:3 Wednesday 14 February 2024 21:25:19 +0000 (0:00:00.017) 0:00:14.339 **** included: /WORKDIR/git-bond_options_rewrited8vijcx7/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewrited8vijcx7/tests/tasks/get_current_interfaces.yml:3 Wednesday 14 February 2024 21:25:19 +0000 (0:00:00.011) 0:00:14.350 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003640", "end": "2024-02-14 21:25:19.792657", "rc": 0, "start": "2024-02-14 21:25:19.789017" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewrited8vijcx7/tests/tasks/get_current_interfaces.yml:9 Wednesday 14 February 2024 21:25:19 +0000 (0:00:00.194) 0:00:14.545 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewrited8vijcx7/tests/tasks/show_interfaces.yml:5 Wednesday 14 February 2024 21:25:19 +0000 (0:00:00.010) 0:00:14.556 **** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-bond_options_rewrited8vijcx7/tests/tasks/create_and_remove_interface.yml:5 Wednesday 14 February 2024 21:25:19 +0000 (0:00:00.011) 0:00:14.567 **** included: /WORKDIR/git-bond_options_rewrited8vijcx7/tests/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-bond_options_rewrited8vijcx7/tests/tasks/manage_test_interface.yml:3 Wednesday 14 February 2024 21:25:19 +0000 (0:00:00.013) 0:00:14.580 **** 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-bond_options_rewrited8vijcx7/tests/tasks/manage_test_interface.yml:8 Wednesday 14 February 2024 21:25:19 +0000 (0:00:00.016) 0:00:14.597 **** 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-bond_options_rewrited8vijcx7/tests/tasks/manage_test_interface.yml:13 Wednesday 14 February 2024 21:25:19 +0000 (0:00:00.008) 0:00:14.606 **** included: /WORKDIR/git-bond_options_rewrited8vijcx7/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewrited8vijcx7/tests/tasks/show_interfaces.yml:3 Wednesday 14 February 2024 21:25:19 +0000 (0:00:00.012) 0:00:14.618 **** included: /WORKDIR/git-bond_options_rewrited8vijcx7/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewrited8vijcx7/tests/tasks/get_current_interfaces.yml:3 Wednesday 14 February 2024 21:25:19 +0000 (0:00:00.010) 0:00:14.629 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003679", "end": "2024-02-14 21:25:20.071626", "rc": 0, "start": "2024-02-14 21:25:20.067947" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewrited8vijcx7/tests/tasks/get_current_interfaces.yml:9 Wednesday 14 February 2024 21:25:20 +0000 (0:00:00.203) 0:00:14.833 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewrited8vijcx7/tests/tasks/show_interfaces.yml:5 Wednesday 14 February 2024 21:25:20 +0000 (0:00:00.027) 0:00:14.860 **** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-bond_options_rewrited8vijcx7/tests/tasks/manage_test_interface.yml:16 Wednesday 14 February 2024 21:25:20 +0000 (0:00:00.012) 0:00:14.873 **** ok: [sut] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface dummy1298] ***************************************** task path: /WORKDIR/git-bond_options_rewrited8vijcx7/tests/tasks/manage_test_interface.yml:27 Wednesday 14 February 2024 21:25:22 +0000 (0:00:02.543) 0:00:17.416 **** 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-bond_options_rewrited8vijcx7/tests/tasks/manage_test_interface.yml:35 Wednesday 14 February 2024 21:25:22 +0000 (0:00:00.014) 0:00:17.430 **** 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-bond_options_rewrited8vijcx7/tests/tasks/manage_test_interface.yml:43 Wednesday 14 February 2024 21:25:22 +0000 (0:00:00.008) 0:00:17.439 **** 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-bond_options_rewrited8vijcx7/tests/tasks/manage_test_interface.yml:49 Wednesday 14 February 2024 21:25:22 +0000 (0:00:00.008) 0:00:17.447 **** 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-bond_options_rewrited8vijcx7/tests/tasks/manage_test_interface.yml:54 Wednesday 14 February 2024 21:25:22 +0000 (0:00:00.008) 0:00:17.456 **** 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-bond_options_rewrited8vijcx7/tests/tasks/manage_test_interface.yml:60 Wednesday 14 February 2024 21:25:22 +0000 (0:00:00.009) 0:00:17.465 **** 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-bond_options_rewrited8vijcx7/tests/tasks/manage_test_interface.yml:65 Wednesday 14 February 2024 21:25:22 +0000 (0:00:00.008) 0:00:17.474 **** 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-bond_options_rewrited8vijcx7/tests/tasks/create_and_remove_interface.yml:9 Wednesday 14 February 2024 21:25:22 +0000 (0:00:00.008) 0:00:17.482 **** included: /WORKDIR/git-bond_options_rewrited8vijcx7/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewrited8vijcx7/tests/tasks/show_interfaces.yml:3 Wednesday 14 February 2024 21:25:22 +0000 (0:00:00.016) 0:00:17.499 **** included: /WORKDIR/git-bond_options_rewrited8vijcx7/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewrited8vijcx7/tests/tasks/get_current_interfaces.yml:3 Wednesday 14 February 2024 21:25:22 +0000 (0:00:00.010) 0:00:17.510 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003589", "end": "2024-02-14 21:25:22.951540", "rc": 0, "start": "2024-02-14 21:25:22.947951" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewrited8vijcx7/tests/tasks/get_current_interfaces.yml:9 Wednesday 14 February 2024 21:25:22 +0000 (0:00:00.191) 0:00:17.701 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewrited8vijcx7/tests/tasks/show_interfaces.yml:5 Wednesday 14 February 2024 21:25:22 +0000 (0:00:00.009) 0:00:17.711 **** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Include the task 'assert_device_absent.yml'] ***************************** task path: /WORKDIR/git-bond_options_rewrited8vijcx7/tests/tasks/create_and_remove_interface.yml:11 Wednesday 14 February 2024 21:25:22 +0000 (0:00:00.009) 0:00:17.721 **** included: /WORKDIR/git-bond_options_rewrited8vijcx7/tests/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewrited8vijcx7/tests/tasks/assert_device_absent.yml:3 Wednesday 14 February 2024 21:25:23 +0000 (0:00:00.013) 0:00:17.735 **** included: /WORKDIR/git-bond_options_rewrited8vijcx7/tests/tasks/get_interface_stat.yml for sut TASK [Get stat for interface dummy1298] **************************************** task path: /WORKDIR/git-bond_options_rewrited8vijcx7/tests/tasks/get_interface_stat.yml:3 Wednesday 14 February 2024 21:25:23 +0000 (0:00:00.010) 0:00:17.745 **** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'dummy1298'] *********************** task path: /WORKDIR/git-bond_options_rewrited8vijcx7/tests/tasks/assert_device_absent.yml:5 Wednesday 14 February 2024 21:25:23 +0000 (0:00:00.189) 0:00:17.935 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-bond_options_rewrited8vijcx7/tests/tasks/create_and_remove_interface.yml:14 Wednesday 14 February 2024 21:25:23 +0000 (0:00:00.019) 0:00:17.954 **** included: /WORKDIR/git-bond_options_rewrited8vijcx7/tests/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-bond_options_rewrited8vijcx7/tests/tasks/manage_test_interface.yml:3 Wednesday 14 February 2024 21:25:23 +0000 (0:00:00.017) 0:00:17.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-bond_options_rewrited8vijcx7/tests/tasks/manage_test_interface.yml:8 Wednesday 14 February 2024 21:25:23 +0000 (0:00:00.009) 0:00:17.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-bond_options_rewrited8vijcx7/tests/tasks/manage_test_interface.yml:13 Wednesday 14 February 2024 21:25:23 +0000 (0:00:00.008) 0:00:17.990 **** included: /WORKDIR/git-bond_options_rewrited8vijcx7/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewrited8vijcx7/tests/tasks/show_interfaces.yml:3 Wednesday 14 February 2024 21:25:23 +0000 (0:00:00.011) 0:00:18.002 **** included: /WORKDIR/git-bond_options_rewrited8vijcx7/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewrited8vijcx7/tests/tasks/get_current_interfaces.yml:3 Wednesday 14 February 2024 21:25:23 +0000 (0:00:00.010) 0:00:18.012 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003594", "end": "2024-02-14 21:25:23.463609", "rc": 0, "start": "2024-02-14 21:25:23.460015" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewrited8vijcx7/tests/tasks/get_current_interfaces.yml:9 Wednesday 14 February 2024 21:25:23 +0000 (0:00:00.202) 0:00:18.214 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewrited8vijcx7/tests/tasks/show_interfaces.yml:5 Wednesday 14 February 2024 21:25:23 +0000 (0:00:00.011) 0:00:18.226 **** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-bond_options_rewrited8vijcx7/tests/tasks/manage_test_interface.yml:16 Wednesday 14 February 2024 21:25:23 +0000 (0:00:00.010) 0:00:18.236 **** ok: [sut] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface dummy1298] ***************************************** task path: /WORKDIR/git-bond_options_rewrited8vijcx7/tests/tasks/manage_test_interface.yml:27 Wednesday 14 February 2024 21:25:26 +0000 (0:00:02.573) 0:00:20.810 **** 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-bond_options_rewrited8vijcx7/tests/tasks/manage_test_interface.yml:35 Wednesday 14 February 2024 21:25:26 +0000 (0:00:00.019) 0:00:20.829 **** 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-bond_options_rewrited8vijcx7/tests/tasks/manage_test_interface.yml:43 Wednesday 14 February 2024 21:25:26 +0000 (0:00:00.010) 0:00:20.839 **** 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-bond_options_rewrited8vijcx7/tests/tasks/manage_test_interface.yml:49 Wednesday 14 February 2024 21:25:26 +0000 (0:00:00.010) 0:00:20.850 **** ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "add", "dummy1298", "type", "dummy" ], "delta": "0:00:00.009599", "end": "2024-02-14 21:25:26.299625", "rc": 0, "start": "2024-02-14 21:25:26.290026" } TASK [Delete dummy interface dummy1298] **************************************** task path: /WORKDIR/git-bond_options_rewrited8vijcx7/tests/tasks/manage_test_interface.yml:54 Wednesday 14 February 2024 21:25:26 +0000 (0:00:00.211) 0:00:21.062 **** 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-bond_options_rewrited8vijcx7/tests/tasks/manage_test_interface.yml:60 Wednesday 14 February 2024 21:25:26 +0000 (0:00:00.009) 0:00:21.071 **** 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-bond_options_rewrited8vijcx7/tests/tasks/manage_test_interface.yml:65 Wednesday 14 February 2024 21:25:26 +0000 (0:00:00.009) 0:00:21.080 **** 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-bond_options_rewrited8vijcx7/tests/tasks/create_and_remove_interface.yml:18 Wednesday 14 February 2024 21:25:26 +0000 (0:00:00.007) 0:00:21.088 **** included: /WORKDIR/git-bond_options_rewrited8vijcx7/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewrited8vijcx7/tests/tasks/show_interfaces.yml:3 Wednesday 14 February 2024 21:25:26 +0000 (0:00:00.017) 0:00:21.106 **** included: /WORKDIR/git-bond_options_rewrited8vijcx7/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewrited8vijcx7/tests/tasks/get_current_interfaces.yml:3 Wednesday 14 February 2024 21:25:26 +0000 (0:00:00.010) 0:00:21.116 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003709", "end": "2024-02-14 21:25:26.559613", "rc": 0, "start": "2024-02-14 21:25:26.555904" } STDOUT: bonding_masters dummy1298 eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewrited8vijcx7/tests/tasks/get_current_interfaces.yml:9 Wednesday 14 February 2024 21:25:26 +0000 (0:00:00.193) 0:00:21.310 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "dummy1298", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewrited8vijcx7/tests/tasks/show_interfaces.yml:5 Wednesday 14 February 2024 21:25:26 +0000 (0:00:00.010) 0:00:21.320 **** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'dummy1298', 'eth0', 'lo'] TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-bond_options_rewrited8vijcx7/tests/tasks/create_and_remove_interface.yml:20 Wednesday 14 February 2024 21:25:26 +0000 (0:00:00.010) 0:00:21.330 **** included: /WORKDIR/git-bond_options_rewrited8vijcx7/tests/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewrited8vijcx7/tests/tasks/assert_device_present.yml:3 Wednesday 14 February 2024 21:25:26 +0000 (0:00:00.017) 0:00:21.348 **** included: /WORKDIR/git-bond_options_rewrited8vijcx7/tests/tasks/get_interface_stat.yml for sut TASK [Get stat for interface dummy1298] **************************************** task path: /WORKDIR/git-bond_options_rewrited8vijcx7/tests/tasks/get_interface_stat.yml:3 Wednesday 14 February 2024 21:25:26 +0000 (0:00:00.013) 0:00:21.362 **** ok: [sut] => { "changed": false, "stat": { "atime": 1707945926.2989469, "block_size": 4096, "blocks": 0, "ctime": 1707945926.2989469, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 31113, "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": 1707945926.2989469, "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-bond_options_rewrited8vijcx7/tests/tasks/assert_device_present.yml:5 Wednesday 14 February 2024 21:25:26 +0000 (0:00:00.189) 0:00:21.551 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-bond_options_rewrited8vijcx7/tests/tasks/create_and_remove_interface.yml:23 Wednesday 14 February 2024 21:25:26 +0000 (0:00:00.011) 0:00:21.562 **** included: /WORKDIR/git-bond_options_rewrited8vijcx7/tests/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-bond_options_rewrited8vijcx7/tests/tasks/manage_test_interface.yml:3 Wednesday 14 February 2024 21:25:26 +0000 (0:00:00.020) 0:00:21.583 **** 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-bond_options_rewrited8vijcx7/tests/tasks/manage_test_interface.yml:8 Wednesday 14 February 2024 21:25:26 +0000 (0:00:00.010) 0:00:21.594 **** 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-bond_options_rewrited8vijcx7/tests/tasks/manage_test_interface.yml:13 Wednesday 14 February 2024 21:25:26 +0000 (0:00:00.008) 0:00:21.603 **** included: /WORKDIR/git-bond_options_rewrited8vijcx7/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewrited8vijcx7/tests/tasks/show_interfaces.yml:3 Wednesday 14 February 2024 21:25:26 +0000 (0:00:00.013) 0:00:21.616 **** included: /WORKDIR/git-bond_options_rewrited8vijcx7/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewrited8vijcx7/tests/tasks/get_current_interfaces.yml:3 Wednesday 14 February 2024 21:25:26 +0000 (0:00:00.014) 0:00:21.631 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003695", "end": "2024-02-14 21:25:27.086482", "rc": 0, "start": "2024-02-14 21:25:27.082787" } STDOUT: bonding_masters dummy1298 eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewrited8vijcx7/tests/tasks/get_current_interfaces.yml:9 Wednesday 14 February 2024 21:25:27 +0000 (0:00:00.207) 0:00:21.839 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "dummy1298", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewrited8vijcx7/tests/tasks/show_interfaces.yml:5 Wednesday 14 February 2024 21:25:27 +0000 (0:00:00.010) 0:00:21.849 **** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'dummy1298', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-bond_options_rewrited8vijcx7/tests/tasks/manage_test_interface.yml:16 Wednesday 14 February 2024 21:25:27 +0000 (0:00:00.010) 0:00:21.860 **** ok: [sut] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface dummy1298] ***************************************** task path: /WORKDIR/git-bond_options_rewrited8vijcx7/tests/tasks/manage_test_interface.yml:27 Wednesday 14 February 2024 21:25:29 +0000 (0:00:02.526) 0:00:24.387 **** 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-bond_options_rewrited8vijcx7/tests/tasks/manage_test_interface.yml:35 Wednesday 14 February 2024 21:25:29 +0000 (0:00:00.016) 0:00:24.404 **** 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-bond_options_rewrited8vijcx7/tests/tasks/manage_test_interface.yml:43 Wednesday 14 February 2024 21:25:29 +0000 (0:00:00.009) 0:00:24.413 **** 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-bond_options_rewrited8vijcx7/tests/tasks/manage_test_interface.yml:49 Wednesday 14 February 2024 21:25:29 +0000 (0:00:00.009) 0:00:24.423 **** 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-bond_options_rewrited8vijcx7/tests/tasks/manage_test_interface.yml:54 Wednesday 14 February 2024 21:25:29 +0000 (0:00:00.009) 0:00:24.432 **** ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "dummy1298", "type", "dummy" ], "delta": "0:00:00.010429", "end": "2024-02-14 21:25:29.882925", "rc": 0, "start": "2024-02-14 21:25:29.872496" } TASK [Create tap interface dummy1298] ****************************************** task path: /WORKDIR/git-bond_options_rewrited8vijcx7/tests/tasks/manage_test_interface.yml:60 Wednesday 14 February 2024 21:25:29 +0000 (0:00:00.204) 0:00:24.637 **** 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-bond_options_rewrited8vijcx7/tests/tasks/manage_test_interface.yml:65 Wednesday 14 February 2024 21:25:29 +0000 (0:00:00.009) 0:00:24.647 **** 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-bond_options_rewrited8vijcx7/tests/tasks/create_and_remove_interface.yml:27 Wednesday 14 February 2024 21:25:29 +0000 (0:00:00.010) 0:00:24.658 **** included: /WORKDIR/git-bond_options_rewrited8vijcx7/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewrited8vijcx7/tests/tasks/show_interfaces.yml:3 Wednesday 14 February 2024 21:25:29 +0000 (0:00:00.019) 0:00:24.678 **** included: /WORKDIR/git-bond_options_rewrited8vijcx7/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewrited8vijcx7/tests/tasks/get_current_interfaces.yml:3 Wednesday 14 February 2024 21:25:29 +0000 (0:00:00.009) 0:00:24.688 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003673", "end": "2024-02-14 21:25:30.129758", "rc": 0, "start": "2024-02-14 21:25:30.126085" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewrited8vijcx7/tests/tasks/get_current_interfaces.yml:9 Wednesday 14 February 2024 21:25:30 +0000 (0:00:00.195) 0:00:24.883 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewrited8vijcx7/tests/tasks/show_interfaces.yml:5 Wednesday 14 February 2024 21:25:30 +0000 (0:00:00.010) 0:00:24.893 **** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Include the task 'assert_device_absent.yml'] ***************************** task path: /WORKDIR/git-bond_options_rewrited8vijcx7/tests/tasks/create_and_remove_interface.yml:29 Wednesday 14 February 2024 21:25:30 +0000 (0:00:00.023) 0:00:24.916 **** included: /WORKDIR/git-bond_options_rewrited8vijcx7/tests/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewrited8vijcx7/tests/tasks/assert_device_absent.yml:3 Wednesday 14 February 2024 21:25:30 +0000 (0:00:00.021) 0:00:24.938 **** included: /WORKDIR/git-bond_options_rewrited8vijcx7/tests/tasks/get_interface_stat.yml for sut TASK [Get stat for interface dummy1298] **************************************** task path: /WORKDIR/git-bond_options_rewrited8vijcx7/tests/tasks/get_interface_stat.yml:3 Wednesday 14 February 2024 21:25:30 +0000 (0:00:00.012) 0:00:24.951 **** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'dummy1298'] *********************** task path: /WORKDIR/git-bond_options_rewrited8vijcx7/tests/tasks/assert_device_absent.yml:5 Wednesday 14 February 2024 21:25:30 +0000 (0:00:00.195) 0:00:25.146 **** 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 Wednesday 14 February 2024 21:25:30 +0000 (0:00:00.029) 0:00:25.176 **** =============================================================================== Install iproute --------------------------------------------------------- 2.94s /WORKDIR/git-bond_options_rewrited8vijcx7/tests/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 2.58s /WORKDIR/git-bond_options_rewrited8vijcx7/tests/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 2.57s /WORKDIR/git-bond_options_rewrited8vijcx7/tests/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 2.54s /WORKDIR/git-bond_options_rewrited8vijcx7/tests/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 2.53s /WORKDIR/git-bond_options_rewrited8vijcx7/tests/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 2.52s /WORKDIR/git-bond_options_rewrited8vijcx7/tests/tasks/manage_test_interface.yml:16 Gathering Facts --------------------------------------------------------- 0.90s /WORKDIR/git-bond_options_rewrited8vijcx7/tests/tests_helpers_and_asserts.yml:3 Create veth interface veth1298 ------------------------------------------ 0.62s /WORKDIR/git-bond_options_rewrited8vijcx7/tests/tasks/manage_test_interface.yml:27 Enable EPEL 8 ----------------------------------------------------------- 0.44s /WORKDIR/git-bond_options_rewrited8vijcx7/tests/tasks/enable_epel.yml:35 ------ Gather the minimum subset of ansible_facts required by the network role test --- 0.36s /WORKDIR/git-bond_options_rewrited8vijcx7/tests/tasks/el_repo_setup.yml:3 ----- Check if system is ostree ----------------------------------------------- 0.26s /WORKDIR/git-bond_options_rewrited8vijcx7/tests/tasks/el_repo_setup.yml:17 ---- Create EPEL 8 ----------------------------------------------------------- 0.25s /WORKDIR/git-bond_options_rewrited8vijcx7/tests/tasks/enable_epel.yml:8 ------- Delete veth interface veth1298 ------------------------------------------ 0.23s /WORKDIR/git-bond_options_rewrited8vijcx7/tests/tasks/manage_test_interface.yml:43 Gather current interface info ------------------------------------------- 0.22s /WORKDIR/git-bond_options_rewrited8vijcx7/tests/tasks/get_current_interfaces.yml:3 Set up veth as managed by NetworkManager -------------------------------- 0.21s /WORKDIR/git-bond_options_rewrited8vijcx7/tests/tasks/manage_test_interface.yml:35 Create dummy interface dummy1298 ---------------------------------------- 0.21s /WORKDIR/git-bond_options_rewrited8vijcx7/tests/tasks/manage_test_interface.yml:49 Gather current interface info ------------------------------------------- 0.21s /WORKDIR/git-bond_options_rewrited8vijcx7/tests/tasks/get_current_interfaces.yml:3 Delete dummy interface dummy1298 ---------------------------------------- 0.20s /WORKDIR/git-bond_options_rewrited8vijcx7/tests/tasks/manage_test_interface.yml:54 Gather current interface info ------------------------------------------- 0.20s /WORKDIR/git-bond_options_rewrited8vijcx7/tests/tasks/get_current_interfaces.yml:3 Gather current interface info ------------------------------------------- 0.20s /WORKDIR/git-bond_options_rewrited8vijcx7/tests/tasks/get_current_interfaces.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. ---^---^---^---^---^---