# 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_rewritety2z8rpo/.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_rewritety2z8rpo/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_rewritety2z8rpo/tests/tests_helpers_and_asserts.yml:3 Wednesday 14 February 2024 17:19:15 +0000 (0:00:00.060) 0:00:00.060 **** ok: [sut] TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-bond_options_rewritety2z8rpo/tests/tests_helpers_and_asserts.yml:6 Wednesday 14 February 2024 17:19:16 +0000 (0:00:01.003) 0:00:01.063 **** included: /WORKDIR/git-bond_options_rewritety2z8rpo/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_rewritety2z8rpo/tests/tasks/el_repo_setup.yml:3 Wednesday 14 February 2024 17:19:16 +0000 (0:00:00.031) 0:00:01.095 **** ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-bond_options_rewritety2z8rpo/tests/tasks/el_repo_setup.yml:17 Wednesday 14 February 2024 17:19:16 +0000 (0:00:00.356) 0:00:01.452 **** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-bond_options_rewritety2z8rpo/tests/tasks/el_repo_setup.yml:22 Wednesday 14 February 2024 17:19:17 +0000 (0:00:00.298) 0:00:01.750 **** ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-bond_options_rewritety2z8rpo/tests/tasks/el_repo_setup.yml:26 Wednesday 14 February 2024 17:19:17 +0000 (0:00:00.017) 0:00:01.768 **** 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_rewritety2z8rpo/tests/tasks/el_repo_setup.yml:51 Wednesday 14 February 2024 17:19:17 +0000 (0:00:00.010) 0:00:01.778 **** included: /WORKDIR/git-bond_options_rewritety2z8rpo/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 9] *********************************************************** task path: /WORKDIR/git-bond_options_rewritety2z8rpo/tests/tasks/enable_epel.yml:8 Wednesday 14 February 2024 17:19:17 +0000 (0:00:00.022) 0:00:01.801 **** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version in ['7', '8']", "skip_reason": "Conditional result was False" } TASK [Install yum-utils package] *********************************************** task path: /WORKDIR/git-bond_options_rewritety2z8rpo/tests/tasks/enable_epel.yml:24 Wednesday 14 February 2024 17:19:17 +0000 (0:00:00.009) 0:00:01.811 **** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version in ['7', '8']", "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /WORKDIR/git-bond_options_rewritety2z8rpo/tests/tasks/enable_epel.yml:30 Wednesday 14 February 2024 17:19:17 +0000 (0:00:00.008) 0:00:01.819 **** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version in ['7', '8']", "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /WORKDIR/git-bond_options_rewritety2z8rpo/tests/tasks/enable_epel.yml:35 Wednesday 14 February 2024 17:19:17 +0000 (0:00:00.008) 0:00:01.828 **** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version in ['7', '8']", "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-bond_options_rewritety2z8rpo/tests/tasks/enable_epel.yml:40 Wednesday 14 February 2024 17:19:17 +0000 (0:00:00.008) 0:00:01.836 **** 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_rewritety2z8rpo/tests/tests_helpers_and_asserts.yml:9 Wednesday 14 February 2024 17:19:17 +0000 (0:00:00.007) 0:00:01.844 **** included: /WORKDIR/git-bond_options_rewritety2z8rpo/tests/tasks/create_and_remove_interface.yml for sut TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-bond_options_rewritety2z8rpo/tests/tasks/create_and_remove_interface.yml:3 Wednesday 14 February 2024 17:19:17 +0000 (0:00:00.012) 0:00:01.856 **** included: /WORKDIR/git-bond_options_rewritety2z8rpo/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritety2z8rpo/tests/tasks/show_interfaces.yml:3 Wednesday 14 February 2024 17:19:17 +0000 (0:00:00.011) 0:00:01.867 **** included: /WORKDIR/git-bond_options_rewritety2z8rpo/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritety2z8rpo/tests/tasks/get_current_interfaces.yml:3 Wednesday 14 February 2024 17:19:17 +0000 (0:00:00.027) 0:00:01.895 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003646", "end": "2024-02-14 17:19:17.669126", "rc": 0, "start": "2024-02-14 17:19:17.665480" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritety2z8rpo/tests/tasks/get_current_interfaces.yml:9 Wednesday 14 February 2024 17:19:17 +0000 (0:00:00.277) 0:00:02.173 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritety2z8rpo/tests/tasks/show_interfaces.yml:5 Wednesday 14 February 2024 17:19:17 +0000 (0:00:00.029) 0:00:02.202 **** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-bond_options_rewritety2z8rpo/tests/tasks/create_and_remove_interface.yml:5 Wednesday 14 February 2024 17:19:17 +0000 (0:00:00.016) 0:00:02.218 **** included: /WORKDIR/git-bond_options_rewritety2z8rpo/tests/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-bond_options_rewritety2z8rpo/tests/tasks/manage_test_interface.yml:3 Wednesday 14 February 2024 17:19:17 +0000 (0:00:00.028) 0:00:02.246 **** 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_rewritety2z8rpo/tests/tasks/manage_test_interface.yml:8 Wednesday 14 February 2024 17:19:17 +0000 (0:00:00.008) 0:00:02.255 **** 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_rewritety2z8rpo/tests/tasks/manage_test_interface.yml:13 Wednesday 14 February 2024 17:19:17 +0000 (0:00:00.014) 0:00:02.269 **** included: /WORKDIR/git-bond_options_rewritety2z8rpo/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritety2z8rpo/tests/tasks/show_interfaces.yml:3 Wednesday 14 February 2024 17:19:17 +0000 (0:00:00.013) 0:00:02.282 **** included: /WORKDIR/git-bond_options_rewritety2z8rpo/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritety2z8rpo/tests/tasks/get_current_interfaces.yml:3 Wednesday 14 February 2024 17:19:17 +0000 (0:00:00.010) 0:00:02.292 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003423", "end": "2024-02-14 17:19:18.006128", "rc": 0, "start": "2024-02-14 17:19:18.002705" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritety2z8rpo/tests/tasks/get_current_interfaces.yml:9 Wednesday 14 February 2024 17:19:18 +0000 (0:00:00.210) 0:00:02.503 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritety2z8rpo/tests/tasks/show_interfaces.yml:5 Wednesday 14 February 2024 17:19:18 +0000 (0:00:00.010) 0:00:02.514 **** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-bond_options_rewritety2z8rpo/tests/tasks/manage_test_interface.yml:16 Wednesday 14 February 2024 17:19:18 +0000 (0:00:00.009) 0:00:02.523 **** ok: [sut] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth1298] ****************************************** task path: /WORKDIR/git-bond_options_rewritety2z8rpo/tests/tasks/manage_test_interface.yml:27 Wednesday 14 February 2024 17:19:19 +0000 (0:00:01.079) 0:00:03.603 **** 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_rewritety2z8rpo/tests/tasks/manage_test_interface.yml:35 Wednesday 14 February 2024 17:19:19 +0000 (0:00:00.014) 0:00:03.617 **** 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_rewritety2z8rpo/tests/tasks/manage_test_interface.yml:43 Wednesday 14 February 2024 17:19:19 +0000 (0:00:00.009) 0:00:03.627 **** 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_rewritety2z8rpo/tests/tasks/manage_test_interface.yml:49 Wednesday 14 February 2024 17:19:19 +0000 (0:00:00.013) 0:00:03.640 **** 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_rewritety2z8rpo/tests/tasks/manage_test_interface.yml:54 Wednesday 14 February 2024 17:19:19 +0000 (0:00:00.009) 0:00:03.649 **** 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_rewritety2z8rpo/tests/tasks/manage_test_interface.yml:60 Wednesday 14 February 2024 17:19:19 +0000 (0:00:00.010) 0:00:03.660 **** 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_rewritety2z8rpo/tests/tasks/manage_test_interface.yml:65 Wednesday 14 February 2024 17:19:19 +0000 (0:00:00.012) 0:00:03.673 **** 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_rewritety2z8rpo/tests/tasks/create_and_remove_interface.yml:9 Wednesday 14 February 2024 17:19:19 +0000 (0:00:00.027) 0:00:03.700 **** included: /WORKDIR/git-bond_options_rewritety2z8rpo/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritety2z8rpo/tests/tasks/show_interfaces.yml:3 Wednesday 14 February 2024 17:19:19 +0000 (0:00:00.015) 0:00:03.715 **** included: /WORKDIR/git-bond_options_rewritety2z8rpo/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritety2z8rpo/tests/tasks/get_current_interfaces.yml:3 Wednesday 14 February 2024 17:19:19 +0000 (0:00:00.011) 0:00:03.727 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003373", "end": "2024-02-14 17:19:19.437060", "rc": 0, "start": "2024-02-14 17:19:19.433687" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritety2z8rpo/tests/tasks/get_current_interfaces.yml:9 Wednesday 14 February 2024 17:19:19 +0000 (0:00:00.210) 0:00:03.937 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritety2z8rpo/tests/tasks/show_interfaces.yml:5 Wednesday 14 February 2024 17:19:19 +0000 (0:00:00.011) 0:00:03.949 **** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Include the task 'assert_device_absent.yml'] ***************************** task path: /WORKDIR/git-bond_options_rewritety2z8rpo/tests/tasks/create_and_remove_interface.yml:11 Wednesday 14 February 2024 17:19:19 +0000 (0:00:00.011) 0:00:03.960 **** included: /WORKDIR/git-bond_options_rewritety2z8rpo/tests/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewritety2z8rpo/tests/tasks/assert_device_absent.yml:3 Wednesday 14 February 2024 17:19:19 +0000 (0:00:00.015) 0:00:03.976 **** included: /WORKDIR/git-bond_options_rewritety2z8rpo/tests/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth1298] ***************************************** task path: /WORKDIR/git-bond_options_rewritety2z8rpo/tests/tasks/get_interface_stat.yml:3 Wednesday 14 February 2024 17:19:19 +0000 (0:00:00.011) 0:00:03.987 **** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'veth1298'] ************************ task path: /WORKDIR/git-bond_options_rewritety2z8rpo/tests/tasks/assert_device_absent.yml:5 Wednesday 14 February 2024 17:19:19 +0000 (0:00:00.201) 0:00:04.188 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-bond_options_rewritety2z8rpo/tests/tasks/create_and_remove_interface.yml:14 Wednesday 14 February 2024 17:19:19 +0000 (0:00:00.012) 0:00:04.201 **** included: /WORKDIR/git-bond_options_rewritety2z8rpo/tests/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-bond_options_rewritety2z8rpo/tests/tasks/manage_test_interface.yml:3 Wednesday 14 February 2024 17:19:19 +0000 (0:00:00.021) 0:00:04.222 **** skipping: [sut] => { "changed": false, "false_condition": "state not in [\"present\", \"absent\"]", "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /WORKDIR/git-bond_options_rewritety2z8rpo/tests/tasks/manage_test_interface.yml:8 Wednesday 14 February 2024 17:19:19 +0000 (0:00:00.012) 0:00:04.235 **** 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_rewritety2z8rpo/tests/tasks/manage_test_interface.yml:13 Wednesday 14 February 2024 17:19:19 +0000 (0:00:00.007) 0:00:04.243 **** included: /WORKDIR/git-bond_options_rewritety2z8rpo/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritety2z8rpo/tests/tasks/show_interfaces.yml:3 Wednesday 14 February 2024 17:19:19 +0000 (0:00:00.011) 0:00:04.254 **** included: /WORKDIR/git-bond_options_rewritety2z8rpo/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritety2z8rpo/tests/tasks/get_current_interfaces.yml:3 Wednesday 14 February 2024 17:19:19 +0000 (0:00:00.009) 0:00:04.263 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003421", "end": "2024-02-14 17:19:19.965148", "rc": 0, "start": "2024-02-14 17:19:19.961727" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritety2z8rpo/tests/tasks/get_current_interfaces.yml:9 Wednesday 14 February 2024 17:19:19 +0000 (0:00:00.197) 0:00:04.461 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritety2z8rpo/tests/tasks/show_interfaces.yml:5 Wednesday 14 February 2024 17:19:19 +0000 (0:00:00.010) 0:00:04.471 **** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-bond_options_rewritety2z8rpo/tests/tasks/manage_test_interface.yml:16 Wednesday 14 February 2024 17:19:20 +0000 (0:00:00.010) 0:00:04.481 **** ok: [sut] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth1298] ****************************************** task path: /WORKDIR/git-bond_options_rewritety2z8rpo/tests/tasks/manage_test_interface.yml:27 Wednesday 14 February 2024 17:19:20 +0000 (0:00:00.939) 0:00:05.420 **** 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.011841", "end": "2024-02-14 17:19:21.174717", "item": "ip link add veth1298 type veth peer name peerveth1298", "rc": 0, "start": "2024-02-14 17:19:21.162876" } ok: [sut] => (item=ip link set peerveth1298 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peerveth1298", "up" ], "delta": "0:00:00.003702", "end": "2024-02-14 17:19:21.402307", "item": "ip link set peerveth1298 up", "rc": 0, "start": "2024-02-14 17:19:21.398605" } ok: [sut] => (item=ip link set veth1298 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "veth1298", "up" ], "delta": "0:00:00.003760", "end": "2024-02-14 17:19:21.606294", "item": "ip link set veth1298 up", "rc": 0, "start": "2024-02-14 17:19:21.602534" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-bond_options_rewritety2z8rpo/tests/tasks/manage_test_interface.yml:35 Wednesday 14 February 2024 17:19:21 +0000 (0:00:00.687) 0:00:06.108 **** ok: [sut] => { "changed": false, "cmd": [ "nmcli", "d", "set", "veth1298", "managed", "true" ], "delta": "0:00:00.022746", "end": "2024-02-14 17:19:21.841427", "rc": 0, "start": "2024-02-14 17:19:21.818681" } TASK [Delete veth interface veth1298] ****************************************** task path: /WORKDIR/git-bond_options_rewritety2z8rpo/tests/tasks/manage_test_interface.yml:43 Wednesday 14 February 2024 17:19:21 +0000 (0:00:00.227) 0:00:06.336 **** 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_rewritety2z8rpo/tests/tasks/manage_test_interface.yml:49 Wednesday 14 February 2024 17:19:21 +0000 (0:00:00.015) 0:00:06.351 **** 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_rewritety2z8rpo/tests/tasks/manage_test_interface.yml:54 Wednesday 14 February 2024 17:19:21 +0000 (0:00:00.009) 0:00:06.361 **** 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_rewritety2z8rpo/tests/tasks/manage_test_interface.yml:60 Wednesday 14 February 2024 17:19:21 +0000 (0:00:00.013) 0:00:06.374 **** 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_rewritety2z8rpo/tests/tasks/manage_test_interface.yml:65 Wednesday 14 February 2024 17:19:21 +0000 (0:00:00.010) 0:00:06.385 **** 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_rewritety2z8rpo/tests/tasks/create_and_remove_interface.yml:18 Wednesday 14 February 2024 17:19:21 +0000 (0:00:00.009) 0:00:06.395 **** included: /WORKDIR/git-bond_options_rewritety2z8rpo/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritety2z8rpo/tests/tasks/show_interfaces.yml:3 Wednesday 14 February 2024 17:19:21 +0000 (0:00:00.017) 0:00:06.412 **** included: /WORKDIR/git-bond_options_rewritety2z8rpo/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritety2z8rpo/tests/tasks/get_current_interfaces.yml:3 Wednesday 14 February 2024 17:19:21 +0000 (0:00:00.011) 0:00:06.424 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003308", "end": "2024-02-14 17:19:22.127212", "rc": 0, "start": "2024-02-14 17:19:22.123904" } STDOUT: bonding_masters eth0 lo peerveth1298 veth1298 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritety2z8rpo/tests/tasks/get_current_interfaces.yml:9 Wednesday 14 February 2024 17:19:22 +0000 (0:00:00.205) 0:00:06.629 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "peerveth1298", "veth1298" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritety2z8rpo/tests/tasks/show_interfaces.yml:5 Wednesday 14 February 2024 17:19:22 +0000 (0:00:00.013) 0:00:06.643 **** 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_rewritety2z8rpo/tests/tasks/create_and_remove_interface.yml:20 Wednesday 14 February 2024 17:19:22 +0000 (0:00:00.014) 0:00:06.657 **** included: /WORKDIR/git-bond_options_rewritety2z8rpo/tests/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewritety2z8rpo/tests/tasks/assert_device_present.yml:3 Wednesday 14 February 2024 17:19:22 +0000 (0:00:00.017) 0:00:06.674 **** included: /WORKDIR/git-bond_options_rewritety2z8rpo/tests/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth1298] ***************************************** task path: /WORKDIR/git-bond_options_rewritety2z8rpo/tests/tasks/get_interface_stat.yml:3 Wednesday 14 February 2024 17:19:22 +0000 (0:00:00.010) 0:00:06.685 **** ok: [sut] => { "changed": false, "stat": { "atime": 1707931161.1668785, "block_size": 4096, "blocks": 0, "ctime": 1707931161.1668785, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 29418, "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": 1707931161.1668785, "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_rewritety2z8rpo/tests/tasks/assert_device_present.yml:5 Wednesday 14 February 2024 17:19:22 +0000 (0:00:00.206) 0:00:06.892 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-bond_options_rewritety2z8rpo/tests/tasks/create_and_remove_interface.yml:23 Wednesday 14 February 2024 17:19:22 +0000 (0:00:00.011) 0:00:06.904 **** included: /WORKDIR/git-bond_options_rewritety2z8rpo/tests/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-bond_options_rewritety2z8rpo/tests/tasks/manage_test_interface.yml:3 Wednesday 14 February 2024 17:19:22 +0000 (0:00:00.020) 0:00:06.924 **** 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_rewritety2z8rpo/tests/tasks/manage_test_interface.yml:8 Wednesday 14 February 2024 17:19:22 +0000 (0:00:00.014) 0:00:06.939 **** 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_rewritety2z8rpo/tests/tasks/manage_test_interface.yml:13 Wednesday 14 February 2024 17:19:22 +0000 (0:00:00.009) 0:00:06.948 **** included: /WORKDIR/git-bond_options_rewritety2z8rpo/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritety2z8rpo/tests/tasks/show_interfaces.yml:3 Wednesday 14 February 2024 17:19:22 +0000 (0:00:00.011) 0:00:06.960 **** included: /WORKDIR/git-bond_options_rewritety2z8rpo/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritety2z8rpo/tests/tasks/get_current_interfaces.yml:3 Wednesday 14 February 2024 17:19:22 +0000 (0:00:00.014) 0:00:06.974 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003564", "end": "2024-02-14 17:19:22.678425", "rc": 0, "start": "2024-02-14 17:19:22.674861" } STDOUT: bonding_masters eth0 lo peerveth1298 veth1298 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritety2z8rpo/tests/tasks/get_current_interfaces.yml:9 Wednesday 14 February 2024 17:19:22 +0000 (0:00:00.195) 0:00:07.169 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "peerveth1298", "veth1298" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritety2z8rpo/tests/tasks/show_interfaces.yml:5 Wednesday 14 February 2024 17:19:22 +0000 (0:00:00.019) 0:00:07.189 **** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'peerveth1298', 'veth1298'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-bond_options_rewritety2z8rpo/tests/tasks/manage_test_interface.yml:16 Wednesday 14 February 2024 17:19:22 +0000 (0:00:00.011) 0:00:07.200 **** ok: [sut] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth1298] ****************************************** task path: /WORKDIR/git-bond_options_rewritety2z8rpo/tests/tasks/manage_test_interface.yml:27 Wednesday 14 February 2024 17:19:23 +0000 (0:00:00.971) 0:00:08.172 **** 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_rewritety2z8rpo/tests/tasks/manage_test_interface.yml:35 Wednesday 14 February 2024 17:19:23 +0000 (0:00:00.022) 0:00:08.194 **** 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_rewritety2z8rpo/tests/tasks/manage_test_interface.yml:43 Wednesday 14 February 2024 17:19:23 +0000 (0:00:00.015) 0:00:08.210 **** ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "veth1298", "type", "veth" ], "delta": "0:00:00.011925", "end": "2024-02-14 17:19:23.932724", "rc": 0, "start": "2024-02-14 17:19:23.920799" } TASK [Create dummy interface veth1298] ***************************************** task path: /WORKDIR/git-bond_options_rewritety2z8rpo/tests/tasks/manage_test_interface.yml:49 Wednesday 14 February 2024 17:19:23 +0000 (0:00:00.219) 0:00:08.429 **** 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_rewritety2z8rpo/tests/tasks/manage_test_interface.yml:54 Wednesday 14 February 2024 17:19:23 +0000 (0:00:00.008) 0:00:08.438 **** 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_rewritety2z8rpo/tests/tasks/manage_test_interface.yml:60 Wednesday 14 February 2024 17:19:23 +0000 (0:00:00.009) 0:00:08.447 **** 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_rewritety2z8rpo/tests/tasks/manage_test_interface.yml:65 Wednesday 14 February 2024 17:19:23 +0000 (0:00:00.015) 0:00:08.462 **** 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_rewritety2z8rpo/tests/tasks/create_and_remove_interface.yml:27 Wednesday 14 February 2024 17:19:23 +0000 (0:00:00.008) 0:00:08.470 **** included: /WORKDIR/git-bond_options_rewritety2z8rpo/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritety2z8rpo/tests/tasks/show_interfaces.yml:3 Wednesday 14 February 2024 17:19:24 +0000 (0:00:00.019) 0:00:08.489 **** included: /WORKDIR/git-bond_options_rewritety2z8rpo/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritety2z8rpo/tests/tasks/get_current_interfaces.yml:3 Wednesday 14 February 2024 17:19:24 +0000 (0:00:00.010) 0:00:08.499 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003721", "end": "2024-02-14 17:19:24.209593", "rc": 0, "start": "2024-02-14 17:19:24.205872" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritety2z8rpo/tests/tasks/get_current_interfaces.yml:9 Wednesday 14 February 2024 17:19:24 +0000 (0:00:00.204) 0:00:08.704 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritety2z8rpo/tests/tasks/show_interfaces.yml:5 Wednesday 14 February 2024 17:19:24 +0000 (0:00:00.010) 0:00:08.714 **** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Include the task 'assert_device_absent.yml'] ***************************** task path: /WORKDIR/git-bond_options_rewritety2z8rpo/tests/tasks/create_and_remove_interface.yml:29 Wednesday 14 February 2024 17:19:24 +0000 (0:00:00.009) 0:00:08.724 **** included: /WORKDIR/git-bond_options_rewritety2z8rpo/tests/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewritety2z8rpo/tests/tasks/assert_device_absent.yml:3 Wednesday 14 February 2024 17:19:24 +0000 (0:00:00.020) 0:00:08.745 **** included: /WORKDIR/git-bond_options_rewritety2z8rpo/tests/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth1298] ***************************************** task path: /WORKDIR/git-bond_options_rewritety2z8rpo/tests/tasks/get_interface_stat.yml:3 Wednesday 14 February 2024 17:19:24 +0000 (0:00:00.010) 0:00:08.755 **** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'veth1298'] ************************ task path: /WORKDIR/git-bond_options_rewritety2z8rpo/tests/tasks/assert_device_absent.yml:5 Wednesday 14 February 2024 17:19:24 +0000 (0:00:00.204) 0:00:08.960 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test veth interface management] ****************************************** task path: /WORKDIR/git-bond_options_rewritety2z8rpo/tests/tests_helpers_and_asserts.yml:15 Wednesday 14 February 2024 17:19:24 +0000 (0:00:00.014) 0:00:08.975 **** included: /WORKDIR/git-bond_options_rewritety2z8rpo/tests/tasks/create_and_remove_interface.yml for sut TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-bond_options_rewritety2z8rpo/tests/tasks/create_and_remove_interface.yml:3 Wednesday 14 February 2024 17:19:24 +0000 (0:00:00.028) 0:00:09.004 **** included: /WORKDIR/git-bond_options_rewritety2z8rpo/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritety2z8rpo/tests/tasks/show_interfaces.yml:3 Wednesday 14 February 2024 17:19:24 +0000 (0:00:00.013) 0:00:09.017 **** included: /WORKDIR/git-bond_options_rewritety2z8rpo/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritety2z8rpo/tests/tasks/get_current_interfaces.yml:3 Wednesday 14 February 2024 17:19:24 +0000 (0:00:00.012) 0:00:09.029 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003603", "end": "2024-02-14 17:19:24.748766", "rc": 0, "start": "2024-02-14 17:19:24.745163" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritety2z8rpo/tests/tasks/get_current_interfaces.yml:9 Wednesday 14 February 2024 17:19:24 +0000 (0:00:00.211) 0:00:09.241 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritety2z8rpo/tests/tasks/show_interfaces.yml:5 Wednesday 14 February 2024 17:19:24 +0000 (0:00:00.009) 0:00:09.251 **** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-bond_options_rewritety2z8rpo/tests/tasks/create_and_remove_interface.yml:5 Wednesday 14 February 2024 17:19:24 +0000 (0:00:00.011) 0:00:09.263 **** included: /WORKDIR/git-bond_options_rewritety2z8rpo/tests/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-bond_options_rewritety2z8rpo/tests/tasks/manage_test_interface.yml:3 Wednesday 14 February 2024 17:19:24 +0000 (0:00:00.012) 0:00:09.275 **** 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_rewritety2z8rpo/tests/tasks/manage_test_interface.yml:8 Wednesday 14 February 2024 17:19:24 +0000 (0:00:00.009) 0:00:09.284 **** 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_rewritety2z8rpo/tests/tasks/manage_test_interface.yml:13 Wednesday 14 February 2024 17:19:24 +0000 (0:00:00.008) 0:00:09.293 **** included: /WORKDIR/git-bond_options_rewritety2z8rpo/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritety2z8rpo/tests/tasks/show_interfaces.yml:3 Wednesday 14 February 2024 17:19:24 +0000 (0:00:00.012) 0:00:09.306 **** included: /WORKDIR/git-bond_options_rewritety2z8rpo/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritety2z8rpo/tests/tasks/get_current_interfaces.yml:3 Wednesday 14 February 2024 17:19:24 +0000 (0:00:00.011) 0:00:09.317 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003343", "end": "2024-02-14 17:19:25.022645", "rc": 0, "start": "2024-02-14 17:19:25.019302" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritety2z8rpo/tests/tasks/get_current_interfaces.yml:9 Wednesday 14 February 2024 17:19:25 +0000 (0:00:00.197) 0:00:09.515 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritety2z8rpo/tests/tasks/show_interfaces.yml:5 Wednesday 14 February 2024 17:19:25 +0000 (0:00:00.010) 0:00:09.525 **** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-bond_options_rewritety2z8rpo/tests/tasks/manage_test_interface.yml:16 Wednesday 14 February 2024 17:19:25 +0000 (0:00:00.010) 0:00:09.535 **** ok: [sut] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface dummy1298] ***************************************** task path: /WORKDIR/git-bond_options_rewritety2z8rpo/tests/tasks/manage_test_interface.yml:27 Wednesday 14 February 2024 17:19:25 +0000 (0:00:00.923) 0:00:10.459 **** 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_rewritety2z8rpo/tests/tasks/manage_test_interface.yml:35 Wednesday 14 February 2024 17:19:26 +0000 (0:00:00.052) 0:00:10.511 **** 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_rewritety2z8rpo/tests/tasks/manage_test_interface.yml:43 Wednesday 14 February 2024 17:19:26 +0000 (0:00:00.048) 0:00:10.560 **** skipping: [sut] => { "changed": false, "false_condition": "type == 'veth' and state == 'absent' and interface in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Create dummy interface dummy1298] **************************************** task path: /WORKDIR/git-bond_options_rewritety2z8rpo/tests/tasks/manage_test_interface.yml:49 Wednesday 14 February 2024 17:19:26 +0000 (0:00:00.035) 0:00:10.596 **** 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_rewritety2z8rpo/tests/tasks/manage_test_interface.yml:54 Wednesday 14 February 2024 17:19:26 +0000 (0:00:00.025) 0:00:10.622 **** 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_rewritety2z8rpo/tests/tasks/manage_test_interface.yml:60 Wednesday 14 February 2024 17:19:26 +0000 (0:00:00.019) 0:00:10.641 **** 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_rewritety2z8rpo/tests/tasks/manage_test_interface.yml:65 Wednesday 14 February 2024 17:19:26 +0000 (0:00:00.021) 0:00:10.662 **** 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_rewritety2z8rpo/tests/tasks/create_and_remove_interface.yml:9 Wednesday 14 February 2024 17:19:26 +0000 (0:00:00.010) 0:00:10.672 **** included: /WORKDIR/git-bond_options_rewritety2z8rpo/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritety2z8rpo/tests/tasks/show_interfaces.yml:3 Wednesday 14 February 2024 17:19:26 +0000 (0:00:00.018) 0:00:10.691 **** included: /WORKDIR/git-bond_options_rewritety2z8rpo/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritety2z8rpo/tests/tasks/get_current_interfaces.yml:3 Wednesday 14 February 2024 17:19:26 +0000 (0:00:00.038) 0:00:10.729 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003364", "end": "2024-02-14 17:19:26.439229", "rc": 0, "start": "2024-02-14 17:19:26.435865" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritety2z8rpo/tests/tasks/get_current_interfaces.yml:9 Wednesday 14 February 2024 17:19:26 +0000 (0:00:00.201) 0:00:10.931 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritety2z8rpo/tests/tasks/show_interfaces.yml:5 Wednesday 14 February 2024 17:19:26 +0000 (0:00:00.010) 0:00:10.941 **** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Include the task 'assert_device_absent.yml'] ***************************** task path: /WORKDIR/git-bond_options_rewritety2z8rpo/tests/tasks/create_and_remove_interface.yml:11 Wednesday 14 February 2024 17:19:26 +0000 (0:00:00.011) 0:00:10.953 **** included: /WORKDIR/git-bond_options_rewritety2z8rpo/tests/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewritety2z8rpo/tests/tasks/assert_device_absent.yml:3 Wednesday 14 February 2024 17:19:26 +0000 (0:00:00.015) 0:00:10.968 **** included: /WORKDIR/git-bond_options_rewritety2z8rpo/tests/tasks/get_interface_stat.yml for sut TASK [Get stat for interface dummy1298] **************************************** task path: /WORKDIR/git-bond_options_rewritety2z8rpo/tests/tasks/get_interface_stat.yml:3 Wednesday 14 February 2024 17:19:26 +0000 (0:00:00.013) 0:00:10.981 **** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'dummy1298'] *********************** task path: /WORKDIR/git-bond_options_rewritety2z8rpo/tests/tasks/assert_device_absent.yml:5 Wednesday 14 February 2024 17:19:26 +0000 (0:00:00.209) 0:00:11.191 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-bond_options_rewritety2z8rpo/tests/tasks/create_and_remove_interface.yml:14 Wednesday 14 February 2024 17:19:26 +0000 (0:00:00.027) 0:00:11.218 **** included: /WORKDIR/git-bond_options_rewritety2z8rpo/tests/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-bond_options_rewritety2z8rpo/tests/tasks/manage_test_interface.yml:3 Wednesday 14 February 2024 17:19:26 +0000 (0:00:00.016) 0:00:11.234 **** 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_rewritety2z8rpo/tests/tasks/manage_test_interface.yml:8 Wednesday 14 February 2024 17:19:26 +0000 (0:00:00.037) 0:00:11.272 **** 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_rewritety2z8rpo/tests/tasks/manage_test_interface.yml:13 Wednesday 14 February 2024 17:19:26 +0000 (0:00:00.010) 0:00:11.282 **** included: /WORKDIR/git-bond_options_rewritety2z8rpo/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritety2z8rpo/tests/tasks/show_interfaces.yml:3 Wednesday 14 February 2024 17:19:26 +0000 (0:00:00.025) 0:00:11.308 **** included: /WORKDIR/git-bond_options_rewritety2z8rpo/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritety2z8rpo/tests/tasks/get_current_interfaces.yml:3 Wednesday 14 February 2024 17:19:26 +0000 (0:00:00.023) 0:00:11.331 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003363", "end": "2024-02-14 17:19:27.060169", "rc": 0, "start": "2024-02-14 17:19:27.056806" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritety2z8rpo/tests/tasks/get_current_interfaces.yml:9 Wednesday 14 February 2024 17:19:27 +0000 (0:00:00.224) 0:00:11.556 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritety2z8rpo/tests/tasks/show_interfaces.yml:5 Wednesday 14 February 2024 17:19:27 +0000 (0:00:00.011) 0:00:11.567 **** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-bond_options_rewritety2z8rpo/tests/tasks/manage_test_interface.yml:16 Wednesday 14 February 2024 17:19:27 +0000 (0:00:00.015) 0:00:11.583 **** ok: [sut] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface dummy1298] ***************************************** task path: /WORKDIR/git-bond_options_rewritety2z8rpo/tests/tasks/manage_test_interface.yml:27 Wednesday 14 February 2024 17:19:28 +0000 (0:00:00.988) 0:00:12.572 **** 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_rewritety2z8rpo/tests/tasks/manage_test_interface.yml:35 Wednesday 14 February 2024 17:19:28 +0000 (0:00:00.027) 0:00:12.599 **** 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_rewritety2z8rpo/tests/tasks/manage_test_interface.yml:43 Wednesday 14 February 2024 17:19:28 +0000 (0:00:00.011) 0:00:12.610 **** skipping: [sut] => { "changed": false, "false_condition": "type == 'veth' and state == 'absent' and interface in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Create dummy interface dummy1298] **************************************** task path: /WORKDIR/git-bond_options_rewritety2z8rpo/tests/tasks/manage_test_interface.yml:49 Wednesday 14 February 2024 17:19:28 +0000 (0:00:00.011) 0:00:12.621 **** ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "add", "dummy1298", "type", "dummy" ], "delta": "0:00:00.094192", "end": "2024-02-14 17:19:28.469056", "rc": 0, "start": "2024-02-14 17:19:28.374864" } TASK [Delete dummy interface dummy1298] **************************************** task path: /WORKDIR/git-bond_options_rewritety2z8rpo/tests/tasks/manage_test_interface.yml:54 Wednesday 14 February 2024 17:19:28 +0000 (0:00:00.360) 0:00:12.982 **** 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_rewritety2z8rpo/tests/tasks/manage_test_interface.yml:60 Wednesday 14 February 2024 17:19:28 +0000 (0:00:00.014) 0:00:12.996 **** 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_rewritety2z8rpo/tests/tasks/manage_test_interface.yml:65 Wednesday 14 February 2024 17:19:28 +0000 (0:00:00.011) 0:00:13.007 **** 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_rewritety2z8rpo/tests/tasks/create_and_remove_interface.yml:18 Wednesday 14 February 2024 17:19:28 +0000 (0:00:00.016) 0:00:13.023 **** included: /WORKDIR/git-bond_options_rewritety2z8rpo/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritety2z8rpo/tests/tasks/show_interfaces.yml:3 Wednesday 14 February 2024 17:19:28 +0000 (0:00:00.019) 0:00:13.042 **** included: /WORKDIR/git-bond_options_rewritety2z8rpo/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritety2z8rpo/tests/tasks/get_current_interfaces.yml:3 Wednesday 14 February 2024 17:19:28 +0000 (0:00:00.011) 0:00:13.053 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003466", "end": "2024-02-14 17:19:28.764923", "rc": 0, "start": "2024-02-14 17:19:28.761457" } STDOUT: bonding_masters dummy1298 eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritety2z8rpo/tests/tasks/get_current_interfaces.yml:9 Wednesday 14 February 2024 17:19:28 +0000 (0:00:00.205) 0:00:13.259 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "dummy1298", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritety2z8rpo/tests/tasks/show_interfaces.yml:5 Wednesday 14 February 2024 17:19:28 +0000 (0:00:00.017) 0:00:13.276 **** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'dummy1298', 'eth0', 'lo'] TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-bond_options_rewritety2z8rpo/tests/tasks/create_and_remove_interface.yml:20 Wednesday 14 February 2024 17:19:28 +0000 (0:00:00.013) 0:00:13.290 **** included: /WORKDIR/git-bond_options_rewritety2z8rpo/tests/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewritety2z8rpo/tests/tasks/assert_device_present.yml:3 Wednesday 14 February 2024 17:19:28 +0000 (0:00:00.017) 0:00:13.307 **** included: /WORKDIR/git-bond_options_rewritety2z8rpo/tests/tasks/get_interface_stat.yml for sut TASK [Get stat for interface dummy1298] **************************************** task path: /WORKDIR/git-bond_options_rewritety2z8rpo/tests/tasks/get_interface_stat.yml:3 Wednesday 14 February 2024 17:19:28 +0000 (0:00:00.010) 0:00:13.318 **** ok: [sut] => { "changed": false, "stat": { "atime": 1707931168.4644825, "block_size": 4096, "blocks": 0, "ctime": 1707931168.4644825, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 29746, "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": 1707931168.4644825, "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_rewritety2z8rpo/tests/tasks/assert_device_present.yml:5 Wednesday 14 February 2024 17:19:29 +0000 (0:00:00.204) 0:00:13.522 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-bond_options_rewritety2z8rpo/tests/tasks/create_and_remove_interface.yml:23 Wednesday 14 February 2024 17:19:29 +0000 (0:00:00.024) 0:00:13.547 **** included: /WORKDIR/git-bond_options_rewritety2z8rpo/tests/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-bond_options_rewritety2z8rpo/tests/tasks/manage_test_interface.yml:3 Wednesday 14 February 2024 17:19:29 +0000 (0:00:00.029) 0:00:13.577 **** 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_rewritety2z8rpo/tests/tasks/manage_test_interface.yml:8 Wednesday 14 February 2024 17:19:29 +0000 (0:00:00.033) 0:00:13.611 **** 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_rewritety2z8rpo/tests/tasks/manage_test_interface.yml:13 Wednesday 14 February 2024 17:19:29 +0000 (0:00:00.010) 0:00:13.621 **** included: /WORKDIR/git-bond_options_rewritety2z8rpo/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritety2z8rpo/tests/tasks/show_interfaces.yml:3 Wednesday 14 February 2024 17:19:29 +0000 (0:00:00.014) 0:00:13.636 **** included: /WORKDIR/git-bond_options_rewritety2z8rpo/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritety2z8rpo/tests/tasks/get_current_interfaces.yml:3 Wednesday 14 February 2024 17:19:29 +0000 (0:00:00.011) 0:00:13.647 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003511", "end": "2024-02-14 17:19:29.358339", "rc": 0, "start": "2024-02-14 17:19:29.354828" } STDOUT: bonding_masters dummy1298 eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritety2z8rpo/tests/tasks/get_current_interfaces.yml:9 Wednesday 14 February 2024 17:19:29 +0000 (0:00:00.211) 0:00:13.859 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "dummy1298", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritety2z8rpo/tests/tasks/show_interfaces.yml:5 Wednesday 14 February 2024 17:19:29 +0000 (0:00:00.020) 0:00:13.879 **** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'dummy1298', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-bond_options_rewritety2z8rpo/tests/tasks/manage_test_interface.yml:16 Wednesday 14 February 2024 17:19:29 +0000 (0:00:00.015) 0:00:13.895 **** ok: [sut] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface dummy1298] ***************************************** task path: /WORKDIR/git-bond_options_rewritety2z8rpo/tests/tasks/manage_test_interface.yml:27 Wednesday 14 February 2024 17:19:30 +0000 (0:00:00.970) 0:00:14.865 **** 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_rewritety2z8rpo/tests/tasks/manage_test_interface.yml:35 Wednesday 14 February 2024 17:19:30 +0000 (0:00:00.016) 0:00:14.882 **** 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_rewritety2z8rpo/tests/tasks/manage_test_interface.yml:43 Wednesday 14 February 2024 17:19:30 +0000 (0:00:00.008) 0:00:14.891 **** 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_rewritety2z8rpo/tests/tasks/manage_test_interface.yml:49 Wednesday 14 February 2024 17:19:30 +0000 (0:00:00.008) 0:00:14.899 **** 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_rewritety2z8rpo/tests/tasks/manage_test_interface.yml:54 Wednesday 14 February 2024 17:19:30 +0000 (0:00:00.011) 0:00:14.911 **** ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "dummy1298", "type", "dummy" ], "delta": "0:00:00.007858", "end": "2024-02-14 17:19:30.626757", "rc": 0, "start": "2024-02-14 17:19:30.618899" } TASK [Create tap interface dummy1298] ****************************************** task path: /WORKDIR/git-bond_options_rewritety2z8rpo/tests/tasks/manage_test_interface.yml:60 Wednesday 14 February 2024 17:19:30 +0000 (0:00:00.208) 0:00:15.120 **** 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_rewritety2z8rpo/tests/tasks/manage_test_interface.yml:65 Wednesday 14 February 2024 17:19:30 +0000 (0:00:00.009) 0:00:15.130 **** 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_rewritety2z8rpo/tests/tasks/create_and_remove_interface.yml:27 Wednesday 14 February 2024 17:19:30 +0000 (0:00:00.009) 0:00:15.139 **** included: /WORKDIR/git-bond_options_rewritety2z8rpo/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritety2z8rpo/tests/tasks/show_interfaces.yml:3 Wednesday 14 February 2024 17:19:30 +0000 (0:00:00.018) 0:00:15.158 **** included: /WORKDIR/git-bond_options_rewritety2z8rpo/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritety2z8rpo/tests/tasks/get_current_interfaces.yml:3 Wednesday 14 February 2024 17:19:30 +0000 (0:00:00.010) 0:00:15.168 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003609", "end": "2024-02-14 17:19:30.878247", "rc": 0, "start": "2024-02-14 17:19:30.874638" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritety2z8rpo/tests/tasks/get_current_interfaces.yml:9 Wednesday 14 February 2024 17:19:30 +0000 (0:00:00.205) 0:00:15.373 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritety2z8rpo/tests/tasks/show_interfaces.yml:5 Wednesday 14 February 2024 17:19:30 +0000 (0:00:00.012) 0:00:15.386 **** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Include the task 'assert_device_absent.yml'] ***************************** task path: /WORKDIR/git-bond_options_rewritety2z8rpo/tests/tasks/create_and_remove_interface.yml:29 Wednesday 14 February 2024 17:19:30 +0000 (0:00:00.031) 0:00:15.418 **** included: /WORKDIR/git-bond_options_rewritety2z8rpo/tests/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewritety2z8rpo/tests/tasks/assert_device_absent.yml:3 Wednesday 14 February 2024 17:19:30 +0000 (0:00:00.028) 0:00:15.446 **** included: /WORKDIR/git-bond_options_rewritety2z8rpo/tests/tasks/get_interface_stat.yml for sut TASK [Get stat for interface dummy1298] **************************************** task path: /WORKDIR/git-bond_options_rewritety2z8rpo/tests/tasks/get_interface_stat.yml:3 Wednesday 14 February 2024 17:19:30 +0000 (0:00:00.015) 0:00:15.462 **** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'dummy1298'] *********************** task path: /WORKDIR/git-bond_options_rewritety2z8rpo/tests/tasks/assert_device_absent.yml:5 Wednesday 14 February 2024 17:19:31 +0000 (0:00:00.208) 0:00:15.670 **** ok: [sut] => { "changed": false } MSG: All assertions passed PLAY RECAP ********************************************************************* sut : ok=119 changed=0 unreachable=0 failed=0 skipped=55 rescued=0 ignored=0 Wednesday 14 February 2024 17:19:31 +0000 (0:00:00.017) 0:00:15.688 **** =============================================================================== Install iproute --------------------------------------------------------- 1.08s /WORKDIR/git-bond_options_rewritety2z8rpo/tests/tasks/manage_test_interface.yml:16 Gathering Facts --------------------------------------------------------- 1.00s /WORKDIR/git-bond_options_rewritety2z8rpo/tests/tests_helpers_and_asserts.yml:3 Install iproute --------------------------------------------------------- 0.99s /WORKDIR/git-bond_options_rewritety2z8rpo/tests/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 0.97s /WORKDIR/git-bond_options_rewritety2z8rpo/tests/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 0.97s /WORKDIR/git-bond_options_rewritety2z8rpo/tests/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 0.94s /WORKDIR/git-bond_options_rewritety2z8rpo/tests/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 0.92s /WORKDIR/git-bond_options_rewritety2z8rpo/tests/tasks/manage_test_interface.yml:16 Create veth interface veth1298 ------------------------------------------ 0.69s /WORKDIR/git-bond_options_rewritety2z8rpo/tests/tasks/manage_test_interface.yml:27 Create dummy interface dummy1298 ---------------------------------------- 0.36s /WORKDIR/git-bond_options_rewritety2z8rpo/tests/tasks/manage_test_interface.yml:49 Gather the minimum subset of ansible_facts required by the network role test --- 0.36s /WORKDIR/git-bond_options_rewritety2z8rpo/tests/tasks/el_repo_setup.yml:3 ----- Check if system is ostree ----------------------------------------------- 0.30s /WORKDIR/git-bond_options_rewritety2z8rpo/tests/tasks/el_repo_setup.yml:17 ---- Gather current interface info ------------------------------------------- 0.28s /WORKDIR/git-bond_options_rewritety2z8rpo/tests/tasks/get_current_interfaces.yml:3 Set up veth as managed by NetworkManager -------------------------------- 0.23s /WORKDIR/git-bond_options_rewritety2z8rpo/tests/tasks/manage_test_interface.yml:35 Gather current interface info ------------------------------------------- 0.22s /WORKDIR/git-bond_options_rewritety2z8rpo/tests/tasks/get_current_interfaces.yml:3 Delete veth interface veth1298 ------------------------------------------ 0.22s /WORKDIR/git-bond_options_rewritety2z8rpo/tests/tasks/manage_test_interface.yml:43 Gather current interface info ------------------------------------------- 0.21s /WORKDIR/git-bond_options_rewritety2z8rpo/tests/tasks/get_current_interfaces.yml:3 Gather current interface info ------------------------------------------- 0.21s /WORKDIR/git-bond_options_rewritety2z8rpo/tests/tasks/get_current_interfaces.yml:3 Gather current interface info ------------------------------------------- 0.21s /WORKDIR/git-bond_options_rewritety2z8rpo/tests/tasks/get_current_interfaces.yml:3 Gather current interface info ------------------------------------------- 0.21s /WORKDIR/git-bond_options_rewritety2z8rpo/tests/tasks/get_current_interfaces.yml:3 Get stat for interface dummy1298 ---------------------------------------- 0.21s /WORKDIR/git-bond_options_rewritety2z8rpo/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. ---^---^---^---^---^---