# 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_rewritezzpcdol4/.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_rewritezzpcdol4/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_rewritezzpcdol4/tests/tests_helpers_and_asserts.yml:3 Wednesday 14 February 2024 00:03:37 +0000 (0:00:00.033) 0:00:00.033 **** ok: [sut] TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-bond_options_rewritezzpcdol4/tests/tests_helpers_and_asserts.yml:6 Wednesday 14 February 2024 00:03:38 +0000 (0:00:01.062) 0:00:01.096 **** included: /WORKDIR/git-bond_options_rewritezzpcdol4/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_rewritezzpcdol4/tests/tasks/el_repo_setup.yml:3 Wednesday 14 February 2024 00:03:38 +0000 (0:00:00.012) 0:00:01.108 **** skipping: [sut] => { "changed": false, "false_condition": "not ansible_facts.keys() | list | intersect(network_test_required_facts) == network_test_required_facts", "skip_reason": "Conditional result was False" } TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-bond_options_rewritezzpcdol4/tests/tasks/el_repo_setup.yml:17 Wednesday 14 February 2024 00:03:38 +0000 (0:00:00.016) 0:00:01.125 **** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-bond_options_rewritezzpcdol4/tests/tasks/el_repo_setup.yml:22 Wednesday 14 February 2024 00:03:38 +0000 (0:00:00.284) 0:00:01.409 **** ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-bond_options_rewritezzpcdol4/tests/tasks/el_repo_setup.yml:26 Wednesday 14 February 2024 00:03:38 +0000 (0:00:00.013) 0:00:01.423 **** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution == 'CentOS'", "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-bond_options_rewritezzpcdol4/tests/tasks/el_repo_setup.yml:51 Wednesday 14 February 2024 00:03:38 +0000 (0:00:00.012) 0:00:01.435 **** included: /WORKDIR/git-bond_options_rewritezzpcdol4/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 38] ********************************************************** task path: /WORKDIR/git-bond_options_rewritezzpcdol4/tests/tasks/enable_epel.yml:8 Wednesday 14 February 2024 00:03:38 +0000 (0:00:00.020) 0:00:01.456 **** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution in ['RedHat', 'CentOS']", "skip_reason": "Conditional result was False" } TASK [Install yum-utils package] *********************************************** task path: /WORKDIR/git-bond_options_rewritezzpcdol4/tests/tasks/enable_epel.yml:24 Wednesday 14 February 2024 00:03:38 +0000 (0:00:00.007) 0:00:01.464 **** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution in ['RedHat', 'CentOS']", "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /WORKDIR/git-bond_options_rewritezzpcdol4/tests/tasks/enable_epel.yml:30 Wednesday 14 February 2024 00:03:38 +0000 (0:00:00.007) 0:00:01.471 **** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution in ['RedHat', 'CentOS']", "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /WORKDIR/git-bond_options_rewritezzpcdol4/tests/tasks/enable_epel.yml:35 Wednesday 14 February 2024 00:03:38 +0000 (0:00:00.006) 0:00:01.477 **** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution in ['RedHat', 'CentOS']", "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-bond_options_rewritezzpcdol4/tests/tasks/enable_epel.yml:40 Wednesday 14 February 2024 00:03:38 +0000 (0:00:00.007) 0:00:01.485 **** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution in ['RedHat', 'CentOS']", "skip_reason": "Conditional result was False" } TASK [Test veth interface management] ****************************************** task path: /WORKDIR/git-bond_options_rewritezzpcdol4/tests/tests_helpers_and_asserts.yml:9 Wednesday 14 February 2024 00:03:38 +0000 (0:00:00.006) 0:00:01.491 **** included: /WORKDIR/git-bond_options_rewritezzpcdol4/tests/tasks/create_and_remove_interface.yml for sut TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-bond_options_rewritezzpcdol4/tests/tasks/create_and_remove_interface.yml:3 Wednesday 14 February 2024 00:03:38 +0000 (0:00:00.010) 0:00:01.502 **** included: /WORKDIR/git-bond_options_rewritezzpcdol4/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritezzpcdol4/tests/tasks/show_interfaces.yml:3 Wednesday 14 February 2024 00:03:38 +0000 (0:00:00.009) 0:00:01.511 **** included: /WORKDIR/git-bond_options_rewritezzpcdol4/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritezzpcdol4/tests/tasks/get_current_interfaces.yml:3 Wednesday 14 February 2024 00:03:38 +0000 (0:00:00.010) 0:00:01.521 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.004467", "end": "2024-02-14 00:03:39.106596", "rc": 0, "start": "2024-02-14 00:03:39.102129" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritezzpcdol4/tests/tasks/get_current_interfaces.yml:9 Wednesday 14 February 2024 00:03:39 +0000 (0:00:00.295) 0:00:01.817 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritezzpcdol4/tests/tasks/show_interfaces.yml:5 Wednesday 14 February 2024 00:03:39 +0000 (0:00:00.009) 0:00:01.827 **** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-bond_options_rewritezzpcdol4/tests/tasks/create_and_remove_interface.yml:5 Wednesday 14 February 2024 00:03:39 +0000 (0:00:00.008) 0:00:01.835 **** included: /WORKDIR/git-bond_options_rewritezzpcdol4/tests/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-bond_options_rewritezzpcdol4/tests/tasks/manage_test_interface.yml:3 Wednesday 14 February 2024 00:03:39 +0000 (0:00:00.013) 0:00:01.848 **** 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_rewritezzpcdol4/tests/tasks/manage_test_interface.yml:8 Wednesday 14 February 2024 00:03:39 +0000 (0:00:00.007) 0:00:01.856 **** 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_rewritezzpcdol4/tests/tasks/manage_test_interface.yml:13 Wednesday 14 February 2024 00:03:39 +0000 (0:00:00.007) 0:00:01.863 **** included: /WORKDIR/git-bond_options_rewritezzpcdol4/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritezzpcdol4/tests/tasks/show_interfaces.yml:3 Wednesday 14 February 2024 00:03:39 +0000 (0:00:00.010) 0:00:01.874 **** included: /WORKDIR/git-bond_options_rewritezzpcdol4/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritezzpcdol4/tests/tasks/get_current_interfaces.yml:3 Wednesday 14 February 2024 00:03:39 +0000 (0:00:00.009) 0:00:01.883 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.004248", "end": "2024-02-14 00:03:39.404420", "rc": 0, "start": "2024-02-14 00:03:39.400172" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritezzpcdol4/tests/tasks/get_current_interfaces.yml:9 Wednesday 14 February 2024 00:03:39 +0000 (0:00:00.231) 0:00:02.115 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritezzpcdol4/tests/tasks/show_interfaces.yml:5 Wednesday 14 February 2024 00:03:39 +0000 (0:00:00.010) 0:00:02.126 **** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-bond_options_rewritezzpcdol4/tests/tasks/manage_test_interface.yml:16 Wednesday 14 February 2024 00:03:39 +0000 (0:00:00.010) 0:00:02.136 **** ok: [sut] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth1298] ****************************************** task path: /WORKDIR/git-bond_options_rewritezzpcdol4/tests/tasks/manage_test_interface.yml:27 Wednesday 14 February 2024 00:03:42 +0000 (0:00:02.630) 0:00:04.767 **** 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_rewritezzpcdol4/tests/tasks/manage_test_interface.yml:35 Wednesday 14 February 2024 00:03:42 +0000 (0:00:00.014) 0:00:04.781 **** 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_rewritezzpcdol4/tests/tasks/manage_test_interface.yml:43 Wednesday 14 February 2024 00:03:42 +0000 (0:00:00.008) 0:00:04.789 **** 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_rewritezzpcdol4/tests/tasks/manage_test_interface.yml:49 Wednesday 14 February 2024 00:03:42 +0000 (0:00:00.009) 0:00:04.798 **** 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_rewritezzpcdol4/tests/tasks/manage_test_interface.yml:54 Wednesday 14 February 2024 00:03:42 +0000 (0:00:00.009) 0:00:04.807 **** 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_rewritezzpcdol4/tests/tasks/manage_test_interface.yml:60 Wednesday 14 February 2024 00:03:42 +0000 (0:00:00.007) 0:00:04.815 **** 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_rewritezzpcdol4/tests/tasks/manage_test_interface.yml:65 Wednesday 14 February 2024 00:03:42 +0000 (0:00:00.007) 0:00:04.823 **** 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_rewritezzpcdol4/tests/tasks/create_and_remove_interface.yml:9 Wednesday 14 February 2024 00:03:42 +0000 (0:00:00.007) 0:00:04.831 **** included: /WORKDIR/git-bond_options_rewritezzpcdol4/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritezzpcdol4/tests/tasks/show_interfaces.yml:3 Wednesday 14 February 2024 00:03:42 +0000 (0:00:00.013) 0:00:04.844 **** included: /WORKDIR/git-bond_options_rewritezzpcdol4/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritezzpcdol4/tests/tasks/get_current_interfaces.yml:3 Wednesday 14 February 2024 00:03:42 +0000 (0:00:00.009) 0:00:04.853 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.004247", "end": "2024-02-14 00:03:42.372987", "rc": 0, "start": "2024-02-14 00:03:42.368740" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritezzpcdol4/tests/tasks/get_current_interfaces.yml:9 Wednesday 14 February 2024 00:03:42 +0000 (0:00:00.229) 0:00:05.083 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritezzpcdol4/tests/tasks/show_interfaces.yml:5 Wednesday 14 February 2024 00:03:42 +0000 (0:00:00.010) 0:00:05.093 **** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Include the task 'assert_device_absent.yml'] ***************************** task path: /WORKDIR/git-bond_options_rewritezzpcdol4/tests/tasks/create_and_remove_interface.yml:11 Wednesday 14 February 2024 00:03:42 +0000 (0:00:00.009) 0:00:05.103 **** included: /WORKDIR/git-bond_options_rewritezzpcdol4/tests/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewritezzpcdol4/tests/tasks/assert_device_absent.yml:3 Wednesday 14 February 2024 00:03:42 +0000 (0:00:00.013) 0:00:05.116 **** included: /WORKDIR/git-bond_options_rewritezzpcdol4/tests/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth1298] ***************************************** task path: /WORKDIR/git-bond_options_rewritezzpcdol4/tests/tasks/get_interface_stat.yml:3 Wednesday 14 February 2024 00:03:42 +0000 (0:00:00.010) 0:00:05.126 **** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'veth1298'] ************************ task path: /WORKDIR/git-bond_options_rewritezzpcdol4/tests/tasks/assert_device_absent.yml:5 Wednesday 14 February 2024 00:03:42 +0000 (0:00:00.222) 0:00:05.348 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-bond_options_rewritezzpcdol4/tests/tasks/create_and_remove_interface.yml:14 Wednesday 14 February 2024 00:03:42 +0000 (0:00:00.011) 0:00:05.360 **** included: /WORKDIR/git-bond_options_rewritezzpcdol4/tests/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-bond_options_rewritezzpcdol4/tests/tasks/manage_test_interface.yml:3 Wednesday 14 February 2024 00:03:42 +0000 (0:00:00.015) 0:00:05.375 **** 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_rewritezzpcdol4/tests/tasks/manage_test_interface.yml:8 Wednesday 14 February 2024 00:03:42 +0000 (0:00:00.007) 0:00:05.382 **** 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_rewritezzpcdol4/tests/tasks/manage_test_interface.yml:13 Wednesday 14 February 2024 00:03:42 +0000 (0:00:00.007) 0:00:05.390 **** included: /WORKDIR/git-bond_options_rewritezzpcdol4/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritezzpcdol4/tests/tasks/show_interfaces.yml:3 Wednesday 14 February 2024 00:03:42 +0000 (0:00:00.012) 0:00:05.402 **** included: /WORKDIR/git-bond_options_rewritezzpcdol4/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritezzpcdol4/tests/tasks/get_current_interfaces.yml:3 Wednesday 14 February 2024 00:03:42 +0000 (0:00:00.017) 0:00:05.420 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.004261", "end": "2024-02-14 00:03:42.940634", "rc": 0, "start": "2024-02-14 00:03:42.936373" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritezzpcdol4/tests/tasks/get_current_interfaces.yml:9 Wednesday 14 February 2024 00:03:42 +0000 (0:00:00.230) 0:00:05.651 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritezzpcdol4/tests/tasks/show_interfaces.yml:5 Wednesday 14 February 2024 00:03:42 +0000 (0:00:00.010) 0:00:05.661 **** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-bond_options_rewritezzpcdol4/tests/tasks/manage_test_interface.yml:16 Wednesday 14 February 2024 00:03:42 +0000 (0:00:00.008) 0:00:05.670 **** ok: [sut] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth1298] ****************************************** task path: /WORKDIR/git-bond_options_rewritezzpcdol4/tests/tasks/manage_test_interface.yml:27 Wednesday 14 February 2024 00:03:45 +0000 (0:00:02.557) 0:00:08.227 **** 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.006813", "end": "2024-02-14 00:03:45.757682", "item": "ip link add veth1298 type veth peer name peerveth1298", "rc": 0, "start": "2024-02-14 00:03:45.750869" } ok: [sut] => (item=ip link set peerveth1298 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peerveth1298", "up" ], "delta": "0:00:00.004736", "end": "2024-02-14 00:03:46.050064", "item": "ip link set peerveth1298 up", "rc": 0, "start": "2024-02-14 00:03:46.045328" } ok: [sut] => (item=ip link set veth1298 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "veth1298", "up" ], "delta": "0:00:00.004524", "end": "2024-02-14 00:03:46.275913", "item": "ip link set veth1298 up", "rc": 0, "start": "2024-02-14 00:03:46.271389" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-bond_options_rewritezzpcdol4/tests/tasks/manage_test_interface.yml:35 Wednesday 14 February 2024 00:03:46 +0000 (0:00:00.760) 0:00:08.988 **** ok: [sut] => { "changed": false, "cmd": [ "nmcli", "d", "set", "veth1298", "managed", "true" ], "delta": "0:00:00.025325", "end": "2024-02-14 00:03:46.535145", "rc": 0, "start": "2024-02-14 00:03:46.509820" } TASK [Delete veth interface veth1298] ****************************************** task path: /WORKDIR/git-bond_options_rewritezzpcdol4/tests/tasks/manage_test_interface.yml:43 Wednesday 14 February 2024 00:03:46 +0000 (0:00:00.260) 0:00:09.248 **** 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_rewritezzpcdol4/tests/tasks/manage_test_interface.yml:49 Wednesday 14 February 2024 00:03:46 +0000 (0:00:00.014) 0:00:09.263 **** 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_rewritezzpcdol4/tests/tasks/manage_test_interface.yml:54 Wednesday 14 February 2024 00:03:46 +0000 (0:00:00.014) 0:00:09.277 **** 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_rewritezzpcdol4/tests/tasks/manage_test_interface.yml:60 Wednesday 14 February 2024 00:03:46 +0000 (0:00:00.020) 0:00:09.298 **** 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_rewritezzpcdol4/tests/tasks/manage_test_interface.yml:65 Wednesday 14 February 2024 00:03:46 +0000 (0:00:00.016) 0:00:09.314 **** 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_rewritezzpcdol4/tests/tasks/create_and_remove_interface.yml:18 Wednesday 14 February 2024 00:03:46 +0000 (0:00:00.009) 0:00:09.323 **** included: /WORKDIR/git-bond_options_rewritezzpcdol4/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritezzpcdol4/tests/tasks/show_interfaces.yml:3 Wednesday 14 February 2024 00:03:46 +0000 (0:00:00.016) 0:00:09.340 **** included: /WORKDIR/git-bond_options_rewritezzpcdol4/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritezzpcdol4/tests/tasks/get_current_interfaces.yml:3 Wednesday 14 February 2024 00:03:46 +0000 (0:00:00.009) 0:00:09.350 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.004139", "end": "2024-02-14 00:03:46.872532", "rc": 0, "start": "2024-02-14 00:03:46.868393" } STDOUT: bonding_masters eth0 lo peerveth1298 veth1298 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritezzpcdol4/tests/tasks/get_current_interfaces.yml:9 Wednesday 14 February 2024 00:03:46 +0000 (0:00:00.231) 0:00:09.582 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "peerveth1298", "veth1298" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritezzpcdol4/tests/tasks/show_interfaces.yml:5 Wednesday 14 February 2024 00:03:46 +0000 (0:00:00.010) 0:00:09.592 **** 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_rewritezzpcdol4/tests/tasks/create_and_remove_interface.yml:20 Wednesday 14 February 2024 00:03:46 +0000 (0:00:00.011) 0:00:09.604 **** included: /WORKDIR/git-bond_options_rewritezzpcdol4/tests/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewritezzpcdol4/tests/tasks/assert_device_present.yml:3 Wednesday 14 February 2024 00:03:46 +0000 (0:00:00.016) 0:00:09.621 **** included: /WORKDIR/git-bond_options_rewritezzpcdol4/tests/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth1298] ***************************************** task path: /WORKDIR/git-bond_options_rewritezzpcdol4/tests/tasks/get_interface_stat.yml:3 Wednesday 14 February 2024 00:03:46 +0000 (0:00:00.010) 0:00:09.631 **** ok: [sut] => { "changed": false, "stat": { "atime": 1707869025.7554698, "block_size": 4096, "blocks": 0, "ctime": 1707869025.7554698, "dev": 22, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 31751, "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": 1707869025.7554698, "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_rewritezzpcdol4/tests/tasks/assert_device_present.yml:5 Wednesday 14 February 2024 00:03:47 +0000 (0:00:00.245) 0:00:09.876 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-bond_options_rewritezzpcdol4/tests/tasks/create_and_remove_interface.yml:23 Wednesday 14 February 2024 00:03:47 +0000 (0:00:00.010) 0:00:09.887 **** included: /WORKDIR/git-bond_options_rewritezzpcdol4/tests/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-bond_options_rewritezzpcdol4/tests/tasks/manage_test_interface.yml:3 Wednesday 14 February 2024 00:03:47 +0000 (0:00:00.021) 0:00:09.909 **** 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_rewritezzpcdol4/tests/tasks/manage_test_interface.yml:8 Wednesday 14 February 2024 00:03:47 +0000 (0:00:00.007) 0:00:09.916 **** 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_rewritezzpcdol4/tests/tasks/manage_test_interface.yml:13 Wednesday 14 February 2024 00:03:47 +0000 (0:00:00.007) 0:00:09.924 **** included: /WORKDIR/git-bond_options_rewritezzpcdol4/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritezzpcdol4/tests/tasks/show_interfaces.yml:3 Wednesday 14 February 2024 00:03:47 +0000 (0:00:00.010) 0:00:09.935 **** included: /WORKDIR/git-bond_options_rewritezzpcdol4/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritezzpcdol4/tests/tasks/get_current_interfaces.yml:3 Wednesday 14 February 2024 00:03:47 +0000 (0:00:00.009) 0:00:09.945 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.004230", "end": "2024-02-14 00:03:47.466628", "rc": 0, "start": "2024-02-14 00:03:47.462398" } STDOUT: bonding_masters eth0 lo peerveth1298 veth1298 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritezzpcdol4/tests/tasks/get_current_interfaces.yml:9 Wednesday 14 February 2024 00:03:47 +0000 (0:00:00.233) 0:00:10.178 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "peerveth1298", "veth1298" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritezzpcdol4/tests/tasks/show_interfaces.yml:5 Wednesday 14 February 2024 00:03:47 +0000 (0:00:00.010) 0:00:10.188 **** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'peerveth1298', 'veth1298'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-bond_options_rewritezzpcdol4/tests/tasks/manage_test_interface.yml:16 Wednesday 14 February 2024 00:03:47 +0000 (0:00:00.009) 0:00:10.198 **** ok: [sut] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth1298] ****************************************** task path: /WORKDIR/git-bond_options_rewritezzpcdol4/tests/tasks/manage_test_interface.yml:27 Wednesday 14 February 2024 00:03:50 +0000 (0:00:02.553) 0:00:12.752 **** 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_rewritezzpcdol4/tests/tasks/manage_test_interface.yml:35 Wednesday 14 February 2024 00:03:50 +0000 (0:00:00.014) 0:00:12.766 **** 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_rewritezzpcdol4/tests/tasks/manage_test_interface.yml:43 Wednesday 14 February 2024 00:03:50 +0000 (0:00:00.009) 0:00:12.775 **** ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "veth1298", "type", "veth" ], "delta": "0:00:00.021815", "end": "2024-02-14 00:03:50.315611", "rc": 0, "start": "2024-02-14 00:03:50.293796" } TASK [Create dummy interface veth1298] ***************************************** task path: /WORKDIR/git-bond_options_rewritezzpcdol4/tests/tasks/manage_test_interface.yml:49 Wednesday 14 February 2024 00:03:50 +0000 (0:00:00.269) 0:00:13.044 **** 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_rewritezzpcdol4/tests/tasks/manage_test_interface.yml:54 Wednesday 14 February 2024 00:03:50 +0000 (0:00:00.014) 0:00:13.059 **** 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_rewritezzpcdol4/tests/tasks/manage_test_interface.yml:60 Wednesday 14 February 2024 00:03:50 +0000 (0:00:00.008) 0:00:13.068 **** 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_rewritezzpcdol4/tests/tasks/manage_test_interface.yml:65 Wednesday 14 February 2024 00:03:50 +0000 (0:00:00.010) 0:00:13.078 **** 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_rewritezzpcdol4/tests/tasks/create_and_remove_interface.yml:27 Wednesday 14 February 2024 00:03:50 +0000 (0:00:00.008) 0:00:13.087 **** included: /WORKDIR/git-bond_options_rewritezzpcdol4/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritezzpcdol4/tests/tasks/show_interfaces.yml:3 Wednesday 14 February 2024 00:03:50 +0000 (0:00:00.020) 0:00:13.107 **** included: /WORKDIR/git-bond_options_rewritezzpcdol4/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritezzpcdol4/tests/tasks/get_current_interfaces.yml:3 Wednesday 14 February 2024 00:03:50 +0000 (0:00:00.016) 0:00:13.123 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.004282", "end": "2024-02-14 00:03:50.649035", "rc": 0, "start": "2024-02-14 00:03:50.644753" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritezzpcdol4/tests/tasks/get_current_interfaces.yml:9 Wednesday 14 February 2024 00:03:50 +0000 (0:00:00.245) 0:00:13.369 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritezzpcdol4/tests/tasks/show_interfaces.yml:5 Wednesday 14 February 2024 00:03:50 +0000 (0:00:00.017) 0:00:13.387 **** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Include the task 'assert_device_absent.yml'] ***************************** task path: /WORKDIR/git-bond_options_rewritezzpcdol4/tests/tasks/create_and_remove_interface.yml:29 Wednesday 14 February 2024 00:03:50 +0000 (0:00:00.025) 0:00:13.412 **** included: /WORKDIR/git-bond_options_rewritezzpcdol4/tests/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewritezzpcdol4/tests/tasks/assert_device_absent.yml:3 Wednesday 14 February 2024 00:03:50 +0000 (0:00:00.039) 0:00:13.452 **** included: /WORKDIR/git-bond_options_rewritezzpcdol4/tests/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth1298] ***************************************** task path: /WORKDIR/git-bond_options_rewritezzpcdol4/tests/tasks/get_interface_stat.yml:3 Wednesday 14 February 2024 00:03:50 +0000 (0:00:00.016) 0:00:13.469 **** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'veth1298'] ************************ task path: /WORKDIR/git-bond_options_rewritezzpcdol4/tests/tasks/assert_device_absent.yml:5 Wednesday 14 February 2024 00:03:51 +0000 (0:00:00.223) 0:00:13.692 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test veth interface management] ****************************************** task path: /WORKDIR/git-bond_options_rewritezzpcdol4/tests/tests_helpers_and_asserts.yml:15 Wednesday 14 February 2024 00:03:51 +0000 (0:00:00.010) 0:00:13.702 **** included: /WORKDIR/git-bond_options_rewritezzpcdol4/tests/tasks/create_and_remove_interface.yml for sut TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-bond_options_rewritezzpcdol4/tests/tasks/create_and_remove_interface.yml:3 Wednesday 14 February 2024 00:03:51 +0000 (0:00:00.012) 0:00:13.715 **** included: /WORKDIR/git-bond_options_rewritezzpcdol4/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritezzpcdol4/tests/tasks/show_interfaces.yml:3 Wednesday 14 February 2024 00:03:51 +0000 (0:00:00.009) 0:00:13.725 **** included: /WORKDIR/git-bond_options_rewritezzpcdol4/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritezzpcdol4/tests/tasks/get_current_interfaces.yml:3 Wednesday 14 February 2024 00:03:51 +0000 (0:00:00.009) 0:00:13.735 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.004153", "end": "2024-02-14 00:03:51.252663", "rc": 0, "start": "2024-02-14 00:03:51.248510" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritezzpcdol4/tests/tasks/get_current_interfaces.yml:9 Wednesday 14 February 2024 00:03:51 +0000 (0:00:00.238) 0:00:13.973 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritezzpcdol4/tests/tasks/show_interfaces.yml:5 Wednesday 14 February 2024 00:03:51 +0000 (0:00:00.014) 0:00:13.987 **** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-bond_options_rewritezzpcdol4/tests/tasks/create_and_remove_interface.yml:5 Wednesday 14 February 2024 00:03:51 +0000 (0:00:00.010) 0:00:13.997 **** included: /WORKDIR/git-bond_options_rewritezzpcdol4/tests/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-bond_options_rewritezzpcdol4/tests/tasks/manage_test_interface.yml:3 Wednesday 14 February 2024 00:03:51 +0000 (0:00:00.012) 0:00:14.010 **** 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_rewritezzpcdol4/tests/tasks/manage_test_interface.yml:8 Wednesday 14 February 2024 00:03:51 +0000 (0:00:00.014) 0:00:14.024 **** 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_rewritezzpcdol4/tests/tasks/manage_test_interface.yml:13 Wednesday 14 February 2024 00:03:51 +0000 (0:00:00.012) 0:00:14.036 **** included: /WORKDIR/git-bond_options_rewritezzpcdol4/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritezzpcdol4/tests/tasks/show_interfaces.yml:3 Wednesday 14 February 2024 00:03:51 +0000 (0:00:00.011) 0:00:14.048 **** included: /WORKDIR/git-bond_options_rewritezzpcdol4/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritezzpcdol4/tests/tasks/get_current_interfaces.yml:3 Wednesday 14 February 2024 00:03:51 +0000 (0:00:00.010) 0:00:14.058 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.004165", "end": "2024-02-14 00:03:51.581534", "rc": 0, "start": "2024-02-14 00:03:51.577369" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritezzpcdol4/tests/tasks/get_current_interfaces.yml:9 Wednesday 14 February 2024 00:03:51 +0000 (0:00:00.233) 0:00:14.292 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritezzpcdol4/tests/tasks/show_interfaces.yml:5 Wednesday 14 February 2024 00:03:51 +0000 (0:00:00.011) 0:00:14.303 **** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-bond_options_rewritezzpcdol4/tests/tasks/manage_test_interface.yml:16 Wednesday 14 February 2024 00:03:51 +0000 (0:00:00.009) 0:00:14.313 **** ok: [sut] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface dummy1298] ***************************************** task path: /WORKDIR/git-bond_options_rewritezzpcdol4/tests/tasks/manage_test_interface.yml:27 Wednesday 14 February 2024 00:03:54 +0000 (0:00:02.529) 0:00:16.843 **** 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_rewritezzpcdol4/tests/tasks/manage_test_interface.yml:35 Wednesday 14 February 2024 00:03:54 +0000 (0:00:00.014) 0:00:16.857 **** 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_rewritezzpcdol4/tests/tasks/manage_test_interface.yml:43 Wednesday 14 February 2024 00:03:54 +0000 (0:00:00.008) 0:00:16.866 **** 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_rewritezzpcdol4/tests/tasks/manage_test_interface.yml:49 Wednesday 14 February 2024 00:03:54 +0000 (0:00:00.018) 0:00:16.884 **** 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_rewritezzpcdol4/tests/tasks/manage_test_interface.yml:54 Wednesday 14 February 2024 00:03:54 +0000 (0:00:00.013) 0:00:16.898 **** 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_rewritezzpcdol4/tests/tasks/manage_test_interface.yml:60 Wednesday 14 February 2024 00:03:54 +0000 (0:00:00.024) 0:00:16.922 **** 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_rewritezzpcdol4/tests/tasks/manage_test_interface.yml:65 Wednesday 14 February 2024 00:03:54 +0000 (0:00:00.018) 0:00:16.941 **** 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_rewritezzpcdol4/tests/tasks/create_and_remove_interface.yml:9 Wednesday 14 February 2024 00:03:54 +0000 (0:00:00.010) 0:00:16.951 **** included: /WORKDIR/git-bond_options_rewritezzpcdol4/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritezzpcdol4/tests/tasks/show_interfaces.yml:3 Wednesday 14 February 2024 00:03:54 +0000 (0:00:00.014) 0:00:16.965 **** included: /WORKDIR/git-bond_options_rewritezzpcdol4/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritezzpcdol4/tests/tasks/get_current_interfaces.yml:3 Wednesday 14 February 2024 00:03:54 +0000 (0:00:00.021) 0:00:16.987 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.004341", "end": "2024-02-14 00:03:54.523650", "rc": 0, "start": "2024-02-14 00:03:54.519309" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritezzpcdol4/tests/tasks/get_current_interfaces.yml:9 Wednesday 14 February 2024 00:03:54 +0000 (0:00:00.246) 0:00:17.234 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritezzpcdol4/tests/tasks/show_interfaces.yml:5 Wednesday 14 February 2024 00:03:54 +0000 (0:00:00.017) 0:00:17.251 **** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Include the task 'assert_device_absent.yml'] ***************************** task path: /WORKDIR/git-bond_options_rewritezzpcdol4/tests/tasks/create_and_remove_interface.yml:11 Wednesday 14 February 2024 00:03:54 +0000 (0:00:00.010) 0:00:17.261 **** included: /WORKDIR/git-bond_options_rewritezzpcdol4/tests/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewritezzpcdol4/tests/tasks/assert_device_absent.yml:3 Wednesday 14 February 2024 00:03:54 +0000 (0:00:00.013) 0:00:17.275 **** included: /WORKDIR/git-bond_options_rewritezzpcdol4/tests/tasks/get_interface_stat.yml for sut TASK [Get stat for interface dummy1298] **************************************** task path: /WORKDIR/git-bond_options_rewritezzpcdol4/tests/tasks/get_interface_stat.yml:3 Wednesday 14 February 2024 00:03:54 +0000 (0:00:00.009) 0:00:17.285 **** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'dummy1298'] *********************** task path: /WORKDIR/git-bond_options_rewritezzpcdol4/tests/tasks/assert_device_absent.yml:5 Wednesday 14 February 2024 00:03:54 +0000 (0:00:00.236) 0:00:17.521 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-bond_options_rewritezzpcdol4/tests/tasks/create_and_remove_interface.yml:14 Wednesday 14 February 2024 00:03:54 +0000 (0:00:00.015) 0:00:17.536 **** included: /WORKDIR/git-bond_options_rewritezzpcdol4/tests/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-bond_options_rewritezzpcdol4/tests/tasks/manage_test_interface.yml:3 Wednesday 14 February 2024 00:03:54 +0000 (0:00:00.020) 0:00:17.557 **** 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_rewritezzpcdol4/tests/tasks/manage_test_interface.yml:8 Wednesday 14 February 2024 00:03:54 +0000 (0:00:00.015) 0:00:17.572 **** 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_rewritezzpcdol4/tests/tasks/manage_test_interface.yml:13 Wednesday 14 February 2024 00:03:54 +0000 (0:00:00.011) 0:00:17.584 **** included: /WORKDIR/git-bond_options_rewritezzpcdol4/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritezzpcdol4/tests/tasks/show_interfaces.yml:3 Wednesday 14 February 2024 00:03:54 +0000 (0:00:00.050) 0:00:17.634 **** included: /WORKDIR/git-bond_options_rewritezzpcdol4/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritezzpcdol4/tests/tasks/get_current_interfaces.yml:3 Wednesday 14 February 2024 00:03:54 +0000 (0:00:00.022) 0:00:17.656 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.004265", "end": "2024-02-14 00:03:55.173563", "rc": 0, "start": "2024-02-14 00:03:55.169298" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritezzpcdol4/tests/tasks/get_current_interfaces.yml:9 Wednesday 14 February 2024 00:03:55 +0000 (0:00:00.230) 0:00:17.886 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritezzpcdol4/tests/tasks/show_interfaces.yml:5 Wednesday 14 February 2024 00:03:55 +0000 (0:00:00.014) 0:00:17.901 **** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-bond_options_rewritezzpcdol4/tests/tasks/manage_test_interface.yml:16 Wednesday 14 February 2024 00:03:55 +0000 (0:00:00.020) 0:00:17.921 **** ok: [sut] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface dummy1298] ***************************************** task path: /WORKDIR/git-bond_options_rewritezzpcdol4/tests/tasks/manage_test_interface.yml:27 Wednesday 14 February 2024 00:03:57 +0000 (0:00:02.504) 0:00:20.425 **** 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_rewritezzpcdol4/tests/tasks/manage_test_interface.yml:35 Wednesday 14 February 2024 00:03:57 +0000 (0:00:00.018) 0:00:20.444 **** skipping: [sut] => { "changed": false, "false_condition": "type == 'veth' and state == 'present'", "skip_reason": "Conditional result was False" } TASK [Delete veth interface dummy1298] ***************************************** task path: /WORKDIR/git-bond_options_rewritezzpcdol4/tests/tasks/manage_test_interface.yml:43 Wednesday 14 February 2024 00:03:57 +0000 (0:00:00.011) 0:00:20.455 **** 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_rewritezzpcdol4/tests/tasks/manage_test_interface.yml:49 Wednesday 14 February 2024 00:03:57 +0000 (0:00:00.010) 0:00:20.465 **** ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "add", "dummy1298", "type", "dummy" ], "delta": "0:00:00.076917", "end": "2024-02-14 00:03:58.065641", "rc": 0, "start": "2024-02-14 00:03:57.988724" } TASK [Delete dummy interface dummy1298] **************************************** task path: /WORKDIR/git-bond_options_rewritezzpcdol4/tests/tasks/manage_test_interface.yml:54 Wednesday 14 February 2024 00:03:58 +0000 (0:00:00.323) 0:00:20.788 **** 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_rewritezzpcdol4/tests/tasks/manage_test_interface.yml:60 Wednesday 14 February 2024 00:03:58 +0000 (0:00:00.010) 0:00:20.799 **** 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_rewritezzpcdol4/tests/tasks/manage_test_interface.yml:65 Wednesday 14 February 2024 00:03:58 +0000 (0:00:00.009) 0:00:20.808 **** 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_rewritezzpcdol4/tests/tasks/create_and_remove_interface.yml:18 Wednesday 14 February 2024 00:03:58 +0000 (0:00:00.008) 0:00:20.817 **** included: /WORKDIR/git-bond_options_rewritezzpcdol4/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritezzpcdol4/tests/tasks/show_interfaces.yml:3 Wednesday 14 February 2024 00:03:58 +0000 (0:00:00.015) 0:00:20.833 **** included: /WORKDIR/git-bond_options_rewritezzpcdol4/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritezzpcdol4/tests/tasks/get_current_interfaces.yml:3 Wednesday 14 February 2024 00:03:58 +0000 (0:00:00.009) 0:00:20.842 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.004381", "end": "2024-02-14 00:03:58.376851", "rc": 0, "start": "2024-02-14 00:03:58.372470" } STDOUT: bonding_masters dummy1298 eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritezzpcdol4/tests/tasks/get_current_interfaces.yml:9 Wednesday 14 February 2024 00:03:58 +0000 (0:00:00.247) 0:00:21.090 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "dummy1298", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritezzpcdol4/tests/tasks/show_interfaces.yml:5 Wednesday 14 February 2024 00:03:58 +0000 (0:00:00.016) 0:00:21.106 **** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'dummy1298', 'eth0', 'lo'] TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-bond_options_rewritezzpcdol4/tests/tasks/create_and_remove_interface.yml:20 Wednesday 14 February 2024 00:03:58 +0000 (0:00:00.012) 0:00:21.118 **** included: /WORKDIR/git-bond_options_rewritezzpcdol4/tests/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewritezzpcdol4/tests/tasks/assert_device_present.yml:3 Wednesday 14 February 2024 00:03:58 +0000 (0:00:00.017) 0:00:21.136 **** included: /WORKDIR/git-bond_options_rewritezzpcdol4/tests/tasks/get_interface_stat.yml for sut TASK [Get stat for interface dummy1298] **************************************** task path: /WORKDIR/git-bond_options_rewritezzpcdol4/tests/tasks/get_interface_stat.yml:3 Wednesday 14 February 2024 00:03:58 +0000 (0:00:00.009) 0:00:21.146 **** ok: [sut] => { "changed": false, "stat": { "atime": 1707869038.0629818, "block_size": 4096, "blocks": 0, "ctime": 1707869038.0629818, "dev": 22, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 32083, "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": 1707869038.0629818, "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_rewritezzpcdol4/tests/tasks/assert_device_present.yml:5 Wednesday 14 February 2024 00:03:58 +0000 (0:00:00.250) 0:00:21.397 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-bond_options_rewritezzpcdol4/tests/tasks/create_and_remove_interface.yml:23 Wednesday 14 February 2024 00:03:58 +0000 (0:00:00.021) 0:00:21.418 **** included: /WORKDIR/git-bond_options_rewritezzpcdol4/tests/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-bond_options_rewritezzpcdol4/tests/tasks/manage_test_interface.yml:3 Wednesday 14 February 2024 00:03:58 +0000 (0:00:00.019) 0:00:21.437 **** 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_rewritezzpcdol4/tests/tasks/manage_test_interface.yml:8 Wednesday 14 February 2024 00:03:58 +0000 (0:00:00.021) 0:00:21.458 **** 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_rewritezzpcdol4/tests/tasks/manage_test_interface.yml:13 Wednesday 14 February 2024 00:03:58 +0000 (0:00:00.020) 0:00:21.479 **** included: /WORKDIR/git-bond_options_rewritezzpcdol4/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritezzpcdol4/tests/tasks/show_interfaces.yml:3 Wednesday 14 February 2024 00:03:58 +0000 (0:00:00.012) 0:00:21.492 **** included: /WORKDIR/git-bond_options_rewritezzpcdol4/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritezzpcdol4/tests/tasks/get_current_interfaces.yml:3 Wednesday 14 February 2024 00:03:58 +0000 (0:00:00.012) 0:00:21.504 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.004265", "end": "2024-02-14 00:03:59.040465", "rc": 0, "start": "2024-02-14 00:03:59.036200" } STDOUT: bonding_masters dummy1298 eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritezzpcdol4/tests/tasks/get_current_interfaces.yml:9 Wednesday 14 February 2024 00:03:59 +0000 (0:00:00.253) 0:00:21.758 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "dummy1298", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritezzpcdol4/tests/tasks/show_interfaces.yml:5 Wednesday 14 February 2024 00:03:59 +0000 (0:00:00.024) 0:00:21.783 **** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'dummy1298', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-bond_options_rewritezzpcdol4/tests/tasks/manage_test_interface.yml:16 Wednesday 14 February 2024 00:03:59 +0000 (0:00:00.014) 0:00:21.797 **** ok: [sut] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface dummy1298] ***************************************** task path: /WORKDIR/git-bond_options_rewritezzpcdol4/tests/tasks/manage_test_interface.yml:27 Wednesday 14 February 2024 00:04:01 +0000 (0:00:02.535) 0:00:24.333 **** 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_rewritezzpcdol4/tests/tasks/manage_test_interface.yml:35 Wednesday 14 February 2024 00:04:01 +0000 (0:00:00.014) 0:00:24.348 **** 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_rewritezzpcdol4/tests/tasks/manage_test_interface.yml:43 Wednesday 14 February 2024 00:04:01 +0000 (0:00:00.010) 0:00:24.358 **** 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_rewritezzpcdol4/tests/tasks/manage_test_interface.yml:49 Wednesday 14 February 2024 00:04:01 +0000 (0:00:00.008) 0:00:24.366 **** 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_rewritezzpcdol4/tests/tasks/manage_test_interface.yml:54 Wednesday 14 February 2024 00:04:01 +0000 (0:00:00.008) 0:00:24.375 **** ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "dummy1298", "type", "dummy" ], "delta": "0:00:00.008879", "end": "2024-02-14 00:04:01.905020", "rc": 0, "start": "2024-02-14 00:04:01.896141" } TASK [Create tap interface dummy1298] ****************************************** task path: /WORKDIR/git-bond_options_rewritezzpcdol4/tests/tasks/manage_test_interface.yml:60 Wednesday 14 February 2024 00:04:01 +0000 (0:00:00.249) 0:00:24.624 **** 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_rewritezzpcdol4/tests/tasks/manage_test_interface.yml:65 Wednesday 14 February 2024 00:04:01 +0000 (0:00:00.009) 0:00:24.634 **** 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_rewritezzpcdol4/tests/tasks/create_and_remove_interface.yml:27 Wednesday 14 February 2024 00:04:01 +0000 (0:00:00.007) 0:00:24.642 **** included: /WORKDIR/git-bond_options_rewritezzpcdol4/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritezzpcdol4/tests/tasks/show_interfaces.yml:3 Wednesday 14 February 2024 00:04:01 +0000 (0:00:00.019) 0:00:24.661 **** included: /WORKDIR/git-bond_options_rewritezzpcdol4/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritezzpcdol4/tests/tasks/get_current_interfaces.yml:3 Wednesday 14 February 2024 00:04:02 +0000 (0:00:00.044) 0:00:24.706 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.004250", "end": "2024-02-14 00:04:02.227577", "rc": 0, "start": "2024-02-14 00:04:02.223327" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritezzpcdol4/tests/tasks/get_current_interfaces.yml:9 Wednesday 14 February 2024 00:04:02 +0000 (0:00:00.230) 0:00:24.936 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritezzpcdol4/tests/tasks/show_interfaces.yml:5 Wednesday 14 February 2024 00:04:02 +0000 (0:00:00.010) 0:00:24.947 **** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Include the task 'assert_device_absent.yml'] ***************************** task path: /WORKDIR/git-bond_options_rewritezzpcdol4/tests/tasks/create_and_remove_interface.yml:29 Wednesday 14 February 2024 00:04:02 +0000 (0:00:00.008) 0:00:24.955 **** included: /WORKDIR/git-bond_options_rewritezzpcdol4/tests/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewritezzpcdol4/tests/tasks/assert_device_absent.yml:3 Wednesday 14 February 2024 00:04:02 +0000 (0:00:00.019) 0:00:24.974 **** included: /WORKDIR/git-bond_options_rewritezzpcdol4/tests/tasks/get_interface_stat.yml for sut TASK [Get stat for interface dummy1298] **************************************** task path: /WORKDIR/git-bond_options_rewritezzpcdol4/tests/tasks/get_interface_stat.yml:3 Wednesday 14 February 2024 00:04:02 +0000 (0:00:00.009) 0:00:24.984 **** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'dummy1298'] *********************** task path: /WORKDIR/git-bond_options_rewritezzpcdol4/tests/tasks/assert_device_absent.yml:5 Wednesday 14 February 2024 00:04:02 +0000 (0:00:00.227) 0:00:25.212 **** ok: [sut] => { "changed": false } MSG: All assertions passed PLAY RECAP ********************************************************************* sut : ok=118 changed=0 unreachable=0 failed=0 skipped=56 rescued=0 ignored=0 Wednesday 14 February 2024 00:04:02 +0000 (0:00:00.015) 0:00:25.228 **** =============================================================================== Install iproute --------------------------------------------------------- 2.63s /WORKDIR/git-bond_options_rewritezzpcdol4/tests/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 2.56s /WORKDIR/git-bond_options_rewritezzpcdol4/tests/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 2.55s /WORKDIR/git-bond_options_rewritezzpcdol4/tests/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 2.54s /WORKDIR/git-bond_options_rewritezzpcdol4/tests/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 2.53s /WORKDIR/git-bond_options_rewritezzpcdol4/tests/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 2.50s /WORKDIR/git-bond_options_rewritezzpcdol4/tests/tasks/manage_test_interface.yml:16 Gathering Facts --------------------------------------------------------- 1.06s /WORKDIR/git-bond_options_rewritezzpcdol4/tests/tests_helpers_and_asserts.yml:3 Create veth interface veth1298 ------------------------------------------ 0.76s /WORKDIR/git-bond_options_rewritezzpcdol4/tests/tasks/manage_test_interface.yml:27 Create dummy interface dummy1298 ---------------------------------------- 0.32s /WORKDIR/git-bond_options_rewritezzpcdol4/tests/tasks/manage_test_interface.yml:49 Gather current interface info ------------------------------------------- 0.30s /WORKDIR/git-bond_options_rewritezzpcdol4/tests/tasks/get_current_interfaces.yml:3 Check if system is ostree ----------------------------------------------- 0.28s /WORKDIR/git-bond_options_rewritezzpcdol4/tests/tasks/el_repo_setup.yml:17 ---- Delete veth interface veth1298 ------------------------------------------ 0.27s /WORKDIR/git-bond_options_rewritezzpcdol4/tests/tasks/manage_test_interface.yml:43 Set up veth as managed by NetworkManager -------------------------------- 0.26s /WORKDIR/git-bond_options_rewritezzpcdol4/tests/tasks/manage_test_interface.yml:35 Gather current interface info ------------------------------------------- 0.25s /WORKDIR/git-bond_options_rewritezzpcdol4/tests/tasks/get_current_interfaces.yml:3 Get stat for interface dummy1298 ---------------------------------------- 0.25s /WORKDIR/git-bond_options_rewritezzpcdol4/tests/tasks/get_interface_stat.yml:3 Delete dummy interface dummy1298 ---------------------------------------- 0.25s /WORKDIR/git-bond_options_rewritezzpcdol4/tests/tasks/manage_test_interface.yml:54 Gather current interface info ------------------------------------------- 0.25s /WORKDIR/git-bond_options_rewritezzpcdol4/tests/tasks/get_current_interfaces.yml:3 Gather current interface info ------------------------------------------- 0.25s /WORKDIR/git-bond_options_rewritezzpcdol4/tests/tasks/get_current_interfaces.yml:3 Gather current interface info ------------------------------------------- 0.25s /WORKDIR/git-bond_options_rewritezzpcdol4/tests/tasks/get_current_interfaces.yml:3 Get stat for interface veth1298 ----------------------------------------- 0.25s /WORKDIR/git-bond_options_rewritezzpcdol4/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. ---^---^---^---^---^---