# 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_rewritekcsfy9nr/.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_rewritekcsfy9nr/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_rewritekcsfy9nr/tests/tests_helpers_and_asserts.yml:3 Wednesday 14 February 2024 02:27:09 +0000 (0:00:00.041) 0:00:00.041 **** ok: [sut] TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-bond_options_rewritekcsfy9nr/tests/tests_helpers_and_asserts.yml:6 Wednesday 14 February 2024 02:27:10 +0000 (0:00:01.026) 0:00:01.068 **** included: /WORKDIR/git-bond_options_rewritekcsfy9nr/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_rewritekcsfy9nr/tests/tasks/el_repo_setup.yml:3 Wednesday 14 February 2024 02:27:10 +0000 (0:00:00.019) 0:00:01.087 **** ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-bond_options_rewritekcsfy9nr/tests/tasks/el_repo_setup.yml:17 Wednesday 14 February 2024 02:27:10 +0000 (0:00:00.354) 0:00:01.441 **** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-bond_options_rewritekcsfy9nr/tests/tasks/el_repo_setup.yml:22 Wednesday 14 February 2024 02:27:11 +0000 (0:00:00.262) 0:00:01.703 **** ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-bond_options_rewritekcsfy9nr/tests/tasks/el_repo_setup.yml:26 Wednesday 14 February 2024 02:27:11 +0000 (0:00:00.015) 0:00:01.719 **** 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_rewritekcsfy9nr/tests/tasks/el_repo_setup.yml:51 Wednesday 14 February 2024 02:27:11 +0000 (0:00:00.007) 0:00:01.726 **** included: /WORKDIR/git-bond_options_rewritekcsfy9nr/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 38] ********************************************************** task path: /WORKDIR/git-bond_options_rewritekcsfy9nr/tests/tasks/enable_epel.yml:8 Wednesday 14 February 2024 02:27:11 +0000 (0:00:00.021) 0:00:01.748 **** 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_rewritekcsfy9nr/tests/tasks/enable_epel.yml:24 Wednesday 14 February 2024 02:27:11 +0000 (0:00:00.013) 0:00:01.762 **** 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_rewritekcsfy9nr/tests/tasks/enable_epel.yml:30 Wednesday 14 February 2024 02:27:11 +0000 (0:00:00.007) 0:00:01.770 **** 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_rewritekcsfy9nr/tests/tasks/enable_epel.yml:35 Wednesday 14 February 2024 02:27:11 +0000 (0:00:00.007) 0:00:01.777 **** 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_rewritekcsfy9nr/tests/tasks/enable_epel.yml:40 Wednesday 14 February 2024 02:27:11 +0000 (0:00:00.007) 0:00:01.784 **** 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_rewritekcsfy9nr/tests/tests_helpers_and_asserts.yml:9 Wednesday 14 February 2024 02:27:11 +0000 (0:00:00.007) 0:00:01.792 **** included: /WORKDIR/git-bond_options_rewritekcsfy9nr/tests/tasks/create_and_remove_interface.yml for sut TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-bond_options_rewritekcsfy9nr/tests/tasks/create_and_remove_interface.yml:3 Wednesday 14 February 2024 02:27:11 +0000 (0:00:00.011) 0:00:01.803 **** included: /WORKDIR/git-bond_options_rewritekcsfy9nr/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritekcsfy9nr/tests/tasks/show_interfaces.yml:3 Wednesday 14 February 2024 02:27:11 +0000 (0:00:00.015) 0:00:01.819 **** included: /WORKDIR/git-bond_options_rewritekcsfy9nr/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritekcsfy9nr/tests/tasks/get_current_interfaces.yml:3 Wednesday 14 February 2024 02:27:11 +0000 (0:00:00.009) 0:00:01.829 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003742", "end": "2024-02-14 02:27:11.491487", "rc": 0, "start": "2024-02-14 02:27:11.487745" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritekcsfy9nr/tests/tasks/get_current_interfaces.yml:9 Wednesday 14 February 2024 02:27:11 +0000 (0:00:00.266) 0:00:02.095 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritekcsfy9nr/tests/tasks/show_interfaces.yml:5 Wednesday 14 February 2024 02:27:11 +0000 (0:00:00.010) 0:00:02.106 **** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-bond_options_rewritekcsfy9nr/tests/tasks/create_and_remove_interface.yml:5 Wednesday 14 February 2024 02:27:11 +0000 (0:00:00.008) 0:00:02.115 **** included: /WORKDIR/git-bond_options_rewritekcsfy9nr/tests/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-bond_options_rewritekcsfy9nr/tests/tasks/manage_test_interface.yml:3 Wednesday 14 February 2024 02:27:11 +0000 (0:00:00.013) 0:00:02.129 **** 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_rewritekcsfy9nr/tests/tasks/manage_test_interface.yml:8 Wednesday 14 February 2024 02:27:11 +0000 (0:00:00.007) 0:00:02.136 **** 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_rewritekcsfy9nr/tests/tasks/manage_test_interface.yml:13 Wednesday 14 February 2024 02:27:11 +0000 (0:00:00.007) 0:00:02.144 **** included: /WORKDIR/git-bond_options_rewritekcsfy9nr/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritekcsfy9nr/tests/tasks/show_interfaces.yml:3 Wednesday 14 February 2024 02:27:11 +0000 (0:00:00.011) 0:00:02.156 **** included: /WORKDIR/git-bond_options_rewritekcsfy9nr/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritekcsfy9nr/tests/tasks/get_current_interfaces.yml:3 Wednesday 14 February 2024 02:27:11 +0000 (0:00:00.009) 0:00:02.165 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003743", "end": "2024-02-14 02:27:11.769356", "rc": 0, "start": "2024-02-14 02:27:11.765613" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritekcsfy9nr/tests/tasks/get_current_interfaces.yml:9 Wednesday 14 February 2024 02:27:11 +0000 (0:00:00.208) 0:00:02.374 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritekcsfy9nr/tests/tasks/show_interfaces.yml:5 Wednesday 14 February 2024 02:27:11 +0000 (0:00:00.013) 0:00:02.387 **** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-bond_options_rewritekcsfy9nr/tests/tasks/manage_test_interface.yml:16 Wednesday 14 February 2024 02:27:11 +0000 (0:00:00.009) 0:00:02.397 **** ok: [sut] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth1298] ****************************************** task path: /WORKDIR/git-bond_options_rewritekcsfy9nr/tests/tasks/manage_test_interface.yml:27 Wednesday 14 February 2024 02:27:14 +0000 (0:00:02.397) 0:00:04.795 **** 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_rewritekcsfy9nr/tests/tasks/manage_test_interface.yml:35 Wednesday 14 February 2024 02:27:14 +0000 (0:00:00.013) 0:00:04.808 **** 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_rewritekcsfy9nr/tests/tasks/manage_test_interface.yml:43 Wednesday 14 February 2024 02:27:14 +0000 (0:00:00.008) 0:00:04.817 **** 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_rewritekcsfy9nr/tests/tasks/manage_test_interface.yml:49 Wednesday 14 February 2024 02:27:14 +0000 (0:00:00.008) 0:00:04.825 **** 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_rewritekcsfy9nr/tests/tasks/manage_test_interface.yml:54 Wednesday 14 February 2024 02:27:14 +0000 (0:00:00.008) 0:00:04.833 **** 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_rewritekcsfy9nr/tests/tasks/manage_test_interface.yml:60 Wednesday 14 February 2024 02:27:14 +0000 (0:00:00.007) 0:00:04.841 **** 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_rewritekcsfy9nr/tests/tasks/manage_test_interface.yml:65 Wednesday 14 February 2024 02:27:14 +0000 (0:00:00.007) 0:00:04.849 **** 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_rewritekcsfy9nr/tests/tasks/create_and_remove_interface.yml:9 Wednesday 14 February 2024 02:27:14 +0000 (0:00:00.007) 0:00:04.856 **** included: /WORKDIR/git-bond_options_rewritekcsfy9nr/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritekcsfy9nr/tests/tasks/show_interfaces.yml:3 Wednesday 14 February 2024 02:27:14 +0000 (0:00:00.017) 0:00:04.874 **** included: /WORKDIR/git-bond_options_rewritekcsfy9nr/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritekcsfy9nr/tests/tasks/get_current_interfaces.yml:3 Wednesday 14 February 2024 02:27:14 +0000 (0:00:00.009) 0:00:04.883 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003686", "end": "2024-02-14 02:27:14.486440", "rc": 0, "start": "2024-02-14 02:27:14.482754" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritekcsfy9nr/tests/tasks/get_current_interfaces.yml:9 Wednesday 14 February 2024 02:27:14 +0000 (0:00:00.206) 0:00:05.089 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritekcsfy9nr/tests/tasks/show_interfaces.yml:5 Wednesday 14 February 2024 02:27:14 +0000 (0:00:00.010) 0:00:05.100 **** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Include the task 'assert_device_absent.yml'] ***************************** task path: /WORKDIR/git-bond_options_rewritekcsfy9nr/tests/tasks/create_and_remove_interface.yml:11 Wednesday 14 February 2024 02:27:14 +0000 (0:00:00.009) 0:00:05.109 **** included: /WORKDIR/git-bond_options_rewritekcsfy9nr/tests/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewritekcsfy9nr/tests/tasks/assert_device_absent.yml:3 Wednesday 14 February 2024 02:27:14 +0000 (0:00:00.013) 0:00:05.122 **** included: /WORKDIR/git-bond_options_rewritekcsfy9nr/tests/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth1298] ***************************************** task path: /WORKDIR/git-bond_options_rewritekcsfy9nr/tests/tasks/get_interface_stat.yml:3 Wednesday 14 February 2024 02:27:14 +0000 (0:00:00.010) 0:00:05.133 **** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'veth1298'] ************************ task path: /WORKDIR/git-bond_options_rewritekcsfy9nr/tests/tasks/assert_device_absent.yml:5 Wednesday 14 February 2024 02:27:14 +0000 (0:00:00.204) 0:00:05.338 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-bond_options_rewritekcsfy9nr/tests/tasks/create_and_remove_interface.yml:14 Wednesday 14 February 2024 02:27:14 +0000 (0:00:00.010) 0:00:05.349 **** included: /WORKDIR/git-bond_options_rewritekcsfy9nr/tests/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-bond_options_rewritekcsfy9nr/tests/tasks/manage_test_interface.yml:3 Wednesday 14 February 2024 02:27:14 +0000 (0:00:00.014) 0:00:05.363 **** 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_rewritekcsfy9nr/tests/tasks/manage_test_interface.yml:8 Wednesday 14 February 2024 02:27:14 +0000 (0:00:00.007) 0:00:05.371 **** 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_rewritekcsfy9nr/tests/tasks/manage_test_interface.yml:13 Wednesday 14 February 2024 02:27:14 +0000 (0:00:00.007) 0:00:05.378 **** included: /WORKDIR/git-bond_options_rewritekcsfy9nr/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritekcsfy9nr/tests/tasks/show_interfaces.yml:3 Wednesday 14 February 2024 02:27:14 +0000 (0:00:00.010) 0:00:05.389 **** included: /WORKDIR/git-bond_options_rewritekcsfy9nr/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritekcsfy9nr/tests/tasks/get_current_interfaces.yml:3 Wednesday 14 February 2024 02:27:14 +0000 (0:00:00.010) 0:00:05.400 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003850", "end": "2024-02-14 02:27:15.003652", "rc": 0, "start": "2024-02-14 02:27:14.999802" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritekcsfy9nr/tests/tasks/get_current_interfaces.yml:9 Wednesday 14 February 2024 02:27:15 +0000 (0:00:00.213) 0:00:05.613 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritekcsfy9nr/tests/tasks/show_interfaces.yml:5 Wednesday 14 February 2024 02:27:15 +0000 (0:00:00.011) 0:00:05.624 **** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-bond_options_rewritekcsfy9nr/tests/tasks/manage_test_interface.yml:16 Wednesday 14 February 2024 02:27:15 +0000 (0:00:00.010) 0:00:05.635 **** ok: [sut] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth1298] ****************************************** task path: /WORKDIR/git-bond_options_rewritekcsfy9nr/tests/tasks/manage_test_interface.yml:27 Wednesday 14 February 2024 02:27:17 +0000 (0:00:02.242) 0:00:07.877 **** 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.006436", "end": "2024-02-14 02:27:17.506147", "item": "ip link add veth1298 type veth peer name peerveth1298", "rc": 0, "start": "2024-02-14 02:27:17.499711" } ok: [sut] => (item=ip link set peerveth1298 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peerveth1298", "up" ], "delta": "0:00:00.003832", "end": "2024-02-14 02:27:17.763547", "item": "ip link set peerveth1298 up", "rc": 0, "start": "2024-02-14 02:27:17.759715" } ok: [sut] => (item=ip link set veth1298 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "veth1298", "up" ], "delta": "0:00:00.004396", "end": "2024-02-14 02:27:17.965997", "item": "ip link set veth1298 up", "rc": 0, "start": "2024-02-14 02:27:17.961601" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-bond_options_rewritekcsfy9nr/tests/tasks/manage_test_interface.yml:35 Wednesday 14 February 2024 02:27:18 +0000 (0:00:00.704) 0:00:08.581 **** ok: [sut] => { "changed": false, "cmd": [ "nmcli", "d", "set", "veth1298", "managed", "true" ], "delta": "0:00:00.023459", "end": "2024-02-14 02:27:18.204895", "rc": 0, "start": "2024-02-14 02:27:18.181436" } TASK [Delete veth interface veth1298] ****************************************** task path: /WORKDIR/git-bond_options_rewritekcsfy9nr/tests/tasks/manage_test_interface.yml:43 Wednesday 14 February 2024 02:27:18 +0000 (0:00:00.227) 0:00:08.809 **** 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_rewritekcsfy9nr/tests/tasks/manage_test_interface.yml:49 Wednesday 14 February 2024 02:27:18 +0000 (0:00:00.008) 0:00:08.818 **** 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_rewritekcsfy9nr/tests/tasks/manage_test_interface.yml:54 Wednesday 14 February 2024 02:27:18 +0000 (0:00:00.008) 0:00:08.826 **** 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_rewritekcsfy9nr/tests/tasks/manage_test_interface.yml:60 Wednesday 14 February 2024 02:27:18 +0000 (0:00:00.008) 0:00:08.835 **** 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_rewritekcsfy9nr/tests/tasks/manage_test_interface.yml:65 Wednesday 14 February 2024 02:27:18 +0000 (0:00:00.008) 0:00:08.843 **** 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_rewritekcsfy9nr/tests/tasks/create_and_remove_interface.yml:18 Wednesday 14 February 2024 02:27:18 +0000 (0:00:00.008) 0:00:08.852 **** included: /WORKDIR/git-bond_options_rewritekcsfy9nr/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritekcsfy9nr/tests/tasks/show_interfaces.yml:3 Wednesday 14 February 2024 02:27:18 +0000 (0:00:00.015) 0:00:08.867 **** included: /WORKDIR/git-bond_options_rewritekcsfy9nr/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritekcsfy9nr/tests/tasks/get_current_interfaces.yml:3 Wednesday 14 February 2024 02:27:18 +0000 (0:00:00.009) 0:00:08.876 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003729", "end": "2024-02-14 02:27:18.479077", "rc": 0, "start": "2024-02-14 02:27:18.475348" } STDOUT: bonding_masters eth0 lo peerveth1298 veth1298 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritekcsfy9nr/tests/tasks/get_current_interfaces.yml:9 Wednesday 14 February 2024 02:27:18 +0000 (0:00:00.213) 0:00:09.090 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "peerveth1298", "veth1298" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritekcsfy9nr/tests/tasks/show_interfaces.yml:5 Wednesday 14 February 2024 02:27:18 +0000 (0:00:00.019) 0:00:09.109 **** 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_rewritekcsfy9nr/tests/tasks/create_and_remove_interface.yml:20 Wednesday 14 February 2024 02:27:18 +0000 (0:00:00.016) 0:00:09.126 **** included: /WORKDIR/git-bond_options_rewritekcsfy9nr/tests/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewritekcsfy9nr/tests/tasks/assert_device_present.yml:3 Wednesday 14 February 2024 02:27:18 +0000 (0:00:00.016) 0:00:09.142 **** included: /WORKDIR/git-bond_options_rewritekcsfy9nr/tests/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth1298] ***************************************** task path: /WORKDIR/git-bond_options_rewritekcsfy9nr/tests/tasks/get_interface_stat.yml:3 Wednesday 14 February 2024 02:27:18 +0000 (0:00:00.009) 0:00:09.152 **** ok: [sut] => { "changed": false, "stat": { "atime": 1707877637.5037875, "block_size": 4096, "blocks": 0, "ctime": 1707877637.5037875, "dev": 22, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 30995, "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": 1707877637.5037875, "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_rewritekcsfy9nr/tests/tasks/assert_device_present.yml:5 Wednesday 14 February 2024 02:27:18 +0000 (0:00:00.204) 0:00:09.356 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-bond_options_rewritekcsfy9nr/tests/tasks/create_and_remove_interface.yml:23 Wednesday 14 February 2024 02:27:18 +0000 (0:00:00.013) 0:00:09.370 **** included: /WORKDIR/git-bond_options_rewritekcsfy9nr/tests/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-bond_options_rewritekcsfy9nr/tests/tasks/manage_test_interface.yml:3 Wednesday 14 February 2024 02:27:18 +0000 (0:00:00.019) 0:00:09.390 **** 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_rewritekcsfy9nr/tests/tasks/manage_test_interface.yml:8 Wednesday 14 February 2024 02:27:18 +0000 (0:00:00.008) 0:00:09.398 **** 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_rewritekcsfy9nr/tests/tasks/manage_test_interface.yml:13 Wednesday 14 February 2024 02:27:18 +0000 (0:00:00.008) 0:00:09.406 **** included: /WORKDIR/git-bond_options_rewritekcsfy9nr/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritekcsfy9nr/tests/tasks/show_interfaces.yml:3 Wednesday 14 February 2024 02:27:18 +0000 (0:00:00.014) 0:00:09.420 **** included: /WORKDIR/git-bond_options_rewritekcsfy9nr/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritekcsfy9nr/tests/tasks/get_current_interfaces.yml:3 Wednesday 14 February 2024 02:27:18 +0000 (0:00:00.011) 0:00:09.432 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003675", "end": "2024-02-14 02:27:19.058463", "rc": 0, "start": "2024-02-14 02:27:19.054788" } STDOUT: bonding_masters eth0 lo peerveth1298 veth1298 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritekcsfy9nr/tests/tasks/get_current_interfaces.yml:9 Wednesday 14 February 2024 02:27:19 +0000 (0:00:00.230) 0:00:09.662 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "peerveth1298", "veth1298" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritekcsfy9nr/tests/tasks/show_interfaces.yml:5 Wednesday 14 February 2024 02:27:19 +0000 (0:00:00.009) 0:00:09.671 **** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'peerveth1298', 'veth1298'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-bond_options_rewritekcsfy9nr/tests/tasks/manage_test_interface.yml:16 Wednesday 14 February 2024 02:27:19 +0000 (0:00:00.008) 0:00:09.680 **** ok: [sut] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth1298] ****************************************** task path: /WORKDIR/git-bond_options_rewritekcsfy9nr/tests/tasks/manage_test_interface.yml:27 Wednesday 14 February 2024 02:27:21 +0000 (0:00:02.227) 0:00:11.907 **** 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_rewritekcsfy9nr/tests/tasks/manage_test_interface.yml:35 Wednesday 14 February 2024 02:27:21 +0000 (0:00:00.013) 0:00:11.921 **** 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_rewritekcsfy9nr/tests/tasks/manage_test_interface.yml:43 Wednesday 14 February 2024 02:27:21 +0000 (0:00:00.008) 0:00:11.929 **** ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "veth1298", "type", "veth" ], "delta": "0:00:00.021590", "end": "2024-02-14 02:27:21.554390", "rc": 0, "start": "2024-02-14 02:27:21.532800" } TASK [Create dummy interface veth1298] ***************************************** task path: /WORKDIR/git-bond_options_rewritekcsfy9nr/tests/tasks/manage_test_interface.yml:49 Wednesday 14 February 2024 02:27:21 +0000 (0:00:00.231) 0:00:12.161 **** 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_rewritekcsfy9nr/tests/tasks/manage_test_interface.yml:54 Wednesday 14 February 2024 02:27:21 +0000 (0:00:00.010) 0:00:12.171 **** 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_rewritekcsfy9nr/tests/tasks/manage_test_interface.yml:60 Wednesday 14 February 2024 02:27:21 +0000 (0:00:00.008) 0:00:12.179 **** 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_rewritekcsfy9nr/tests/tasks/manage_test_interface.yml:65 Wednesday 14 February 2024 02:27:21 +0000 (0:00:00.009) 0:00:12.189 **** 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_rewritekcsfy9nr/tests/tasks/create_and_remove_interface.yml:27 Wednesday 14 February 2024 02:27:21 +0000 (0:00:00.009) 0:00:12.198 **** included: /WORKDIR/git-bond_options_rewritekcsfy9nr/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritekcsfy9nr/tests/tasks/show_interfaces.yml:3 Wednesday 14 February 2024 02:27:21 +0000 (0:00:00.024) 0:00:12.223 **** included: /WORKDIR/git-bond_options_rewritekcsfy9nr/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritekcsfy9nr/tests/tasks/get_current_interfaces.yml:3 Wednesday 14 February 2024 02:27:21 +0000 (0:00:00.014) 0:00:12.237 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003749", "end": "2024-02-14 02:27:21.846788", "rc": 0, "start": "2024-02-14 02:27:21.843039" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritekcsfy9nr/tests/tasks/get_current_interfaces.yml:9 Wednesday 14 February 2024 02:27:21 +0000 (0:00:00.229) 0:00:12.466 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritekcsfy9nr/tests/tasks/show_interfaces.yml:5 Wednesday 14 February 2024 02:27:21 +0000 (0:00:00.012) 0:00:12.479 **** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Include the task 'assert_device_absent.yml'] ***************************** task path: /WORKDIR/git-bond_options_rewritekcsfy9nr/tests/tasks/create_and_remove_interface.yml:29 Wednesday 14 February 2024 02:27:21 +0000 (0:00:00.029) 0:00:12.509 **** included: /WORKDIR/git-bond_options_rewritekcsfy9nr/tests/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewritekcsfy9nr/tests/tasks/assert_device_absent.yml:3 Wednesday 14 February 2024 02:27:21 +0000 (0:00:00.037) 0:00:12.546 **** included: /WORKDIR/git-bond_options_rewritekcsfy9nr/tests/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth1298] ***************************************** task path: /WORKDIR/git-bond_options_rewritekcsfy9nr/tests/tasks/get_interface_stat.yml:3 Wednesday 14 February 2024 02:27:21 +0000 (0:00:00.021) 0:00:12.568 **** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'veth1298'] ************************ task path: /WORKDIR/git-bond_options_rewritekcsfy9nr/tests/tasks/assert_device_absent.yml:5 Wednesday 14 February 2024 02:27:22 +0000 (0:00:00.208) 0:00:12.777 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test veth interface management] ****************************************** task path: /WORKDIR/git-bond_options_rewritekcsfy9nr/tests/tests_helpers_and_asserts.yml:15 Wednesday 14 February 2024 02:27:22 +0000 (0:00:00.015) 0:00:12.792 **** included: /WORKDIR/git-bond_options_rewritekcsfy9nr/tests/tasks/create_and_remove_interface.yml for sut TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-bond_options_rewritekcsfy9nr/tests/tasks/create_and_remove_interface.yml:3 Wednesday 14 February 2024 02:27:22 +0000 (0:00:00.012) 0:00:12.804 **** included: /WORKDIR/git-bond_options_rewritekcsfy9nr/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritekcsfy9nr/tests/tasks/show_interfaces.yml:3 Wednesday 14 February 2024 02:27:22 +0000 (0:00:00.010) 0:00:12.815 **** included: /WORKDIR/git-bond_options_rewritekcsfy9nr/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritekcsfy9nr/tests/tasks/get_current_interfaces.yml:3 Wednesday 14 February 2024 02:27:22 +0000 (0:00:00.010) 0:00:12.826 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003937", "end": "2024-02-14 02:27:22.431638", "rc": 0, "start": "2024-02-14 02:27:22.427701" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritekcsfy9nr/tests/tasks/get_current_interfaces.yml:9 Wednesday 14 February 2024 02:27:22 +0000 (0:00:00.209) 0:00:13.035 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritekcsfy9nr/tests/tasks/show_interfaces.yml:5 Wednesday 14 February 2024 02:27:22 +0000 (0:00:00.009) 0:00:13.045 **** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-bond_options_rewritekcsfy9nr/tests/tasks/create_and_remove_interface.yml:5 Wednesday 14 February 2024 02:27:22 +0000 (0:00:00.008) 0:00:13.054 **** included: /WORKDIR/git-bond_options_rewritekcsfy9nr/tests/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-bond_options_rewritekcsfy9nr/tests/tasks/manage_test_interface.yml:3 Wednesday 14 February 2024 02:27:22 +0000 (0:00:00.012) 0:00:13.066 **** 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_rewritekcsfy9nr/tests/tasks/manage_test_interface.yml:8 Wednesday 14 February 2024 02:27:22 +0000 (0:00:00.007) 0:00:13.074 **** 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_rewritekcsfy9nr/tests/tasks/manage_test_interface.yml:13 Wednesday 14 February 2024 02:27:22 +0000 (0:00:00.008) 0:00:13.083 **** included: /WORKDIR/git-bond_options_rewritekcsfy9nr/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritekcsfy9nr/tests/tasks/show_interfaces.yml:3 Wednesday 14 February 2024 02:27:22 +0000 (0:00:00.010) 0:00:13.094 **** included: /WORKDIR/git-bond_options_rewritekcsfy9nr/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritekcsfy9nr/tests/tasks/get_current_interfaces.yml:3 Wednesday 14 February 2024 02:27:22 +0000 (0:00:00.009) 0:00:13.103 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003793", "end": "2024-02-14 02:27:22.705571", "rc": 0, "start": "2024-02-14 02:27:22.701778" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritekcsfy9nr/tests/tasks/get_current_interfaces.yml:9 Wednesday 14 February 2024 02:27:22 +0000 (0:00:00.206) 0:00:13.309 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritekcsfy9nr/tests/tasks/show_interfaces.yml:5 Wednesday 14 February 2024 02:27:22 +0000 (0:00:00.010) 0:00:13.320 **** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-bond_options_rewritekcsfy9nr/tests/tasks/manage_test_interface.yml:16 Wednesday 14 February 2024 02:27:22 +0000 (0:00:00.009) 0:00:13.330 **** ok: [sut] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface dummy1298] ***************************************** task path: /WORKDIR/git-bond_options_rewritekcsfy9nr/tests/tasks/manage_test_interface.yml:27 Wednesday 14 February 2024 02:27:25 +0000 (0:00:02.316) 0:00:15.646 **** 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_rewritekcsfy9nr/tests/tasks/manage_test_interface.yml:35 Wednesday 14 February 2024 02:27:25 +0000 (0:00:00.014) 0:00:15.660 **** 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_rewritekcsfy9nr/tests/tasks/manage_test_interface.yml:43 Wednesday 14 February 2024 02:27:25 +0000 (0:00:00.008) 0:00:15.668 **** 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_rewritekcsfy9nr/tests/tasks/manage_test_interface.yml:49 Wednesday 14 February 2024 02:27:25 +0000 (0:00:00.007) 0:00:15.676 **** 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_rewritekcsfy9nr/tests/tasks/manage_test_interface.yml:54 Wednesday 14 February 2024 02:27:25 +0000 (0:00:00.009) 0:00:15.685 **** 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_rewritekcsfy9nr/tests/tasks/manage_test_interface.yml:60 Wednesday 14 February 2024 02:27:25 +0000 (0:00:00.008) 0:00:15.694 **** 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_rewritekcsfy9nr/tests/tasks/manage_test_interface.yml:65 Wednesday 14 February 2024 02:27:25 +0000 (0:00:00.007) 0:00:15.702 **** 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_rewritekcsfy9nr/tests/tasks/create_and_remove_interface.yml:9 Wednesday 14 February 2024 02:27:25 +0000 (0:00:00.007) 0:00:15.709 **** included: /WORKDIR/git-bond_options_rewritekcsfy9nr/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritekcsfy9nr/tests/tasks/show_interfaces.yml:3 Wednesday 14 February 2024 02:27:25 +0000 (0:00:00.013) 0:00:15.723 **** included: /WORKDIR/git-bond_options_rewritekcsfy9nr/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritekcsfy9nr/tests/tasks/get_current_interfaces.yml:3 Wednesday 14 February 2024 02:27:25 +0000 (0:00:00.009) 0:00:15.732 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003836", "end": "2024-02-14 02:27:25.335378", "rc": 0, "start": "2024-02-14 02:27:25.331542" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritekcsfy9nr/tests/tasks/get_current_interfaces.yml:9 Wednesday 14 February 2024 02:27:25 +0000 (0:00:00.207) 0:00:15.939 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritekcsfy9nr/tests/tasks/show_interfaces.yml:5 Wednesday 14 February 2024 02:27:25 +0000 (0:00:00.011) 0:00:15.951 **** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Include the task 'assert_device_absent.yml'] ***************************** task path: /WORKDIR/git-bond_options_rewritekcsfy9nr/tests/tasks/create_and_remove_interface.yml:11 Wednesday 14 February 2024 02:27:25 +0000 (0:00:00.010) 0:00:15.962 **** included: /WORKDIR/git-bond_options_rewritekcsfy9nr/tests/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewritekcsfy9nr/tests/tasks/assert_device_absent.yml:3 Wednesday 14 February 2024 02:27:25 +0000 (0:00:00.014) 0:00:15.976 **** included: /WORKDIR/git-bond_options_rewritekcsfy9nr/tests/tasks/get_interface_stat.yml for sut TASK [Get stat for interface dummy1298] **************************************** task path: /WORKDIR/git-bond_options_rewritekcsfy9nr/tests/tasks/get_interface_stat.yml:3 Wednesday 14 February 2024 02:27:25 +0000 (0:00:00.010) 0:00:15.987 **** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'dummy1298'] *********************** task path: /WORKDIR/git-bond_options_rewritekcsfy9nr/tests/tasks/assert_device_absent.yml:5 Wednesday 14 February 2024 02:27:25 +0000 (0:00:00.207) 0:00:16.195 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-bond_options_rewritekcsfy9nr/tests/tasks/create_and_remove_interface.yml:14 Wednesday 14 February 2024 02:27:25 +0000 (0:00:00.011) 0:00:16.206 **** included: /WORKDIR/git-bond_options_rewritekcsfy9nr/tests/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-bond_options_rewritekcsfy9nr/tests/tasks/manage_test_interface.yml:3 Wednesday 14 February 2024 02:27:25 +0000 (0:00:00.015) 0:00:16.221 **** 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_rewritekcsfy9nr/tests/tasks/manage_test_interface.yml:8 Wednesday 14 February 2024 02:27:25 +0000 (0:00:00.007) 0:00:16.229 **** 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_rewritekcsfy9nr/tests/tasks/manage_test_interface.yml:13 Wednesday 14 February 2024 02:27:25 +0000 (0:00:00.012) 0:00:16.242 **** included: /WORKDIR/git-bond_options_rewritekcsfy9nr/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritekcsfy9nr/tests/tasks/show_interfaces.yml:3 Wednesday 14 February 2024 02:27:25 +0000 (0:00:00.012) 0:00:16.254 **** included: /WORKDIR/git-bond_options_rewritekcsfy9nr/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritekcsfy9nr/tests/tasks/get_current_interfaces.yml:3 Wednesday 14 February 2024 02:27:25 +0000 (0:00:00.010) 0:00:16.265 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003742", "end": "2024-02-14 02:27:25.867511", "rc": 0, "start": "2024-02-14 02:27:25.863769" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritekcsfy9nr/tests/tasks/get_current_interfaces.yml:9 Wednesday 14 February 2024 02:27:25 +0000 (0:00:00.206) 0:00:16.471 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritekcsfy9nr/tests/tasks/show_interfaces.yml:5 Wednesday 14 February 2024 02:27:25 +0000 (0:00:00.011) 0:00:16.483 **** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-bond_options_rewritekcsfy9nr/tests/tasks/manage_test_interface.yml:16 Wednesday 14 February 2024 02:27:25 +0000 (0:00:00.009) 0:00:16.493 **** ok: [sut] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface dummy1298] ***************************************** task path: /WORKDIR/git-bond_options_rewritekcsfy9nr/tests/tasks/manage_test_interface.yml:27 Wednesday 14 February 2024 02:27:28 +0000 (0:00:02.219) 0:00:18.712 **** 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_rewritekcsfy9nr/tests/tasks/manage_test_interface.yml:35 Wednesday 14 February 2024 02:27:28 +0000 (0:00:00.013) 0:00:18.726 **** 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_rewritekcsfy9nr/tests/tasks/manage_test_interface.yml:43 Wednesday 14 February 2024 02:27:28 +0000 (0:00:00.008) 0:00:18.734 **** 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_rewritekcsfy9nr/tests/tasks/manage_test_interface.yml:49 Wednesday 14 February 2024 02:27:28 +0000 (0:00:00.007) 0:00:18.742 **** ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "add", "dummy1298", "type", "dummy" ], "delta": "0:00:00.006288", "end": "2024-02-14 02:27:28.349063", "rc": 0, "start": "2024-02-14 02:27:28.342775" } TASK [Delete dummy interface dummy1298] **************************************** task path: /WORKDIR/git-bond_options_rewritekcsfy9nr/tests/tasks/manage_test_interface.yml:54 Wednesday 14 February 2024 02:27:28 +0000 (0:00:00.221) 0:00:18.963 **** 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_rewritekcsfy9nr/tests/tasks/manage_test_interface.yml:60 Wednesday 14 February 2024 02:27:28 +0000 (0:00:00.009) 0:00:18.973 **** 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_rewritekcsfy9nr/tests/tasks/manage_test_interface.yml:65 Wednesday 14 February 2024 02:27:28 +0000 (0:00:00.009) 0:00:18.982 **** 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_rewritekcsfy9nr/tests/tasks/create_and_remove_interface.yml:18 Wednesday 14 February 2024 02:27:28 +0000 (0:00:00.010) 0:00:18.992 **** included: /WORKDIR/git-bond_options_rewritekcsfy9nr/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritekcsfy9nr/tests/tasks/show_interfaces.yml:3 Wednesday 14 February 2024 02:27:28 +0000 (0:00:00.016) 0:00:19.008 **** included: /WORKDIR/git-bond_options_rewritekcsfy9nr/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritekcsfy9nr/tests/tasks/get_current_interfaces.yml:3 Wednesday 14 February 2024 02:27:28 +0000 (0:00:00.009) 0:00:19.018 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003799", "end": "2024-02-14 02:27:28.620638", "rc": 0, "start": "2024-02-14 02:27:28.616839" } STDOUT: bonding_masters dummy1298 eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritekcsfy9nr/tests/tasks/get_current_interfaces.yml:9 Wednesday 14 February 2024 02:27:28 +0000 (0:00:00.206) 0:00:19.224 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "dummy1298", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritekcsfy9nr/tests/tasks/show_interfaces.yml:5 Wednesday 14 February 2024 02:27:28 +0000 (0:00:00.009) 0:00:19.234 **** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'dummy1298', 'eth0', 'lo'] TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-bond_options_rewritekcsfy9nr/tests/tasks/create_and_remove_interface.yml:20 Wednesday 14 February 2024 02:27:28 +0000 (0:00:00.008) 0:00:19.243 **** included: /WORKDIR/git-bond_options_rewritekcsfy9nr/tests/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewritekcsfy9nr/tests/tasks/assert_device_present.yml:3 Wednesday 14 February 2024 02:27:28 +0000 (0:00:00.015) 0:00:19.258 **** included: /WORKDIR/git-bond_options_rewritekcsfy9nr/tests/tasks/get_interface_stat.yml for sut TASK [Get stat for interface dummy1298] **************************************** task path: /WORKDIR/git-bond_options_rewritekcsfy9nr/tests/tasks/get_interface_stat.yml:3 Wednesday 14 February 2024 02:27:28 +0000 (0:00:00.010) 0:00:19.269 **** ok: [sut] => { "changed": false, "stat": { "atime": 1707877648.3463943, "block_size": 4096, "blocks": 0, "ctime": 1707877648.3463943, "dev": 22, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 31288, "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": 1707877648.3463943, "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_rewritekcsfy9nr/tests/tasks/assert_device_present.yml:5 Wednesday 14 February 2024 02:27:28 +0000 (0:00:00.201) 0:00:19.471 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-bond_options_rewritekcsfy9nr/tests/tasks/create_and_remove_interface.yml:23 Wednesday 14 February 2024 02:27:28 +0000 (0:00:00.010) 0:00:19.482 **** included: /WORKDIR/git-bond_options_rewritekcsfy9nr/tests/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-bond_options_rewritekcsfy9nr/tests/tasks/manage_test_interface.yml:3 Wednesday 14 February 2024 02:27:28 +0000 (0:00:00.017) 0:00:19.500 **** 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_rewritekcsfy9nr/tests/tasks/manage_test_interface.yml:8 Wednesday 14 February 2024 02:27:28 +0000 (0:00:00.007) 0:00:19.507 **** 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_rewritekcsfy9nr/tests/tasks/manage_test_interface.yml:13 Wednesday 14 February 2024 02:27:28 +0000 (0:00:00.007) 0:00:19.515 **** included: /WORKDIR/git-bond_options_rewritekcsfy9nr/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritekcsfy9nr/tests/tasks/show_interfaces.yml:3 Wednesday 14 February 2024 02:27:28 +0000 (0:00:00.010) 0:00:19.526 **** included: /WORKDIR/git-bond_options_rewritekcsfy9nr/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritekcsfy9nr/tests/tasks/get_current_interfaces.yml:3 Wednesday 14 February 2024 02:27:28 +0000 (0:00:00.010) 0:00:19.536 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003757", "end": "2024-02-14 02:27:29.140871", "rc": 0, "start": "2024-02-14 02:27:29.137114" } STDOUT: bonding_masters dummy1298 eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritekcsfy9nr/tests/tasks/get_current_interfaces.yml:9 Wednesday 14 February 2024 02:27:29 +0000 (0:00:00.208) 0:00:19.745 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "dummy1298", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritekcsfy9nr/tests/tasks/show_interfaces.yml:5 Wednesday 14 February 2024 02:27:29 +0000 (0:00:00.009) 0:00:19.755 **** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'dummy1298', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-bond_options_rewritekcsfy9nr/tests/tasks/manage_test_interface.yml:16 Wednesday 14 February 2024 02:27:29 +0000 (0:00:00.009) 0:00:19.764 **** ok: [sut] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface dummy1298] ***************************************** task path: /WORKDIR/git-bond_options_rewritekcsfy9nr/tests/tasks/manage_test_interface.yml:27 Wednesday 14 February 2024 02:27:31 +0000 (0:00:02.246) 0:00:22.010 **** 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_rewritekcsfy9nr/tests/tasks/manage_test_interface.yml:35 Wednesday 14 February 2024 02:27:31 +0000 (0:00:00.013) 0:00:22.024 **** 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_rewritekcsfy9nr/tests/tasks/manage_test_interface.yml:43 Wednesday 14 February 2024 02:27:31 +0000 (0:00:00.007) 0:00:22.032 **** 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_rewritekcsfy9nr/tests/tasks/manage_test_interface.yml:49 Wednesday 14 February 2024 02:27:31 +0000 (0:00:00.007) 0:00:22.040 **** 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_rewritekcsfy9nr/tests/tasks/manage_test_interface.yml:54 Wednesday 14 February 2024 02:27:31 +0000 (0:00:00.007) 0:00:22.048 **** ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "dummy1298", "type", "dummy" ], "delta": "0:00:00.006835", "end": "2024-02-14 02:27:31.659357", "rc": 0, "start": "2024-02-14 02:27:31.652522" } TASK [Create tap interface dummy1298] ****************************************** task path: /WORKDIR/git-bond_options_rewritekcsfy9nr/tests/tasks/manage_test_interface.yml:60 Wednesday 14 February 2024 02:27:31 +0000 (0:00:00.221) 0:00:22.270 **** 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_rewritekcsfy9nr/tests/tasks/manage_test_interface.yml:65 Wednesday 14 February 2024 02:27:31 +0000 (0:00:00.009) 0:00:22.279 **** 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_rewritekcsfy9nr/tests/tasks/create_and_remove_interface.yml:27 Wednesday 14 February 2024 02:27:31 +0000 (0:00:00.007) 0:00:22.287 **** included: /WORKDIR/git-bond_options_rewritekcsfy9nr/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritekcsfy9nr/tests/tasks/show_interfaces.yml:3 Wednesday 14 February 2024 02:27:31 +0000 (0:00:00.033) 0:00:22.320 **** included: /WORKDIR/git-bond_options_rewritekcsfy9nr/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritekcsfy9nr/tests/tasks/get_current_interfaces.yml:3 Wednesday 14 February 2024 02:27:31 +0000 (0:00:00.010) 0:00:22.331 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003707", "end": "2024-02-14 02:27:31.936064", "rc": 0, "start": "2024-02-14 02:27:31.932357" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritekcsfy9nr/tests/tasks/get_current_interfaces.yml:9 Wednesday 14 February 2024 02:27:31 +0000 (0:00:00.208) 0:00:22.540 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritekcsfy9nr/tests/tasks/show_interfaces.yml:5 Wednesday 14 February 2024 02:27:31 +0000 (0:00:00.009) 0:00:22.549 **** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Include the task 'assert_device_absent.yml'] ***************************** task path: /WORKDIR/git-bond_options_rewritekcsfy9nr/tests/tasks/create_and_remove_interface.yml:29 Wednesday 14 February 2024 02:27:31 +0000 (0:00:00.009) 0:00:22.559 **** included: /WORKDIR/git-bond_options_rewritekcsfy9nr/tests/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewritekcsfy9nr/tests/tasks/assert_device_absent.yml:3 Wednesday 14 February 2024 02:27:31 +0000 (0:00:00.019) 0:00:22.579 **** included: /WORKDIR/git-bond_options_rewritekcsfy9nr/tests/tasks/get_interface_stat.yml for sut TASK [Get stat for interface dummy1298] **************************************** task path: /WORKDIR/git-bond_options_rewritekcsfy9nr/tests/tasks/get_interface_stat.yml:3 Wednesday 14 February 2024 02:27:32 +0000 (0:00:00.011) 0:00:22.591 **** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'dummy1298'] *********************** task path: /WORKDIR/git-bond_options_rewritekcsfy9nr/tests/tasks/assert_device_absent.yml:5 Wednesday 14 February 2024 02:27:32 +0000 (0:00:00.204) 0:00:22.795 **** 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 02:27:32 +0000 (0:00:00.015) 0:00:22.810 **** =============================================================================== Install iproute --------------------------------------------------------- 2.40s /WORKDIR/git-bond_options_rewritekcsfy9nr/tests/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 2.32s /WORKDIR/git-bond_options_rewritekcsfy9nr/tests/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 2.25s /WORKDIR/git-bond_options_rewritekcsfy9nr/tests/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 2.24s /WORKDIR/git-bond_options_rewritekcsfy9nr/tests/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 2.23s /WORKDIR/git-bond_options_rewritekcsfy9nr/tests/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 2.22s /WORKDIR/git-bond_options_rewritekcsfy9nr/tests/tasks/manage_test_interface.yml:16 Gathering Facts --------------------------------------------------------- 1.03s /WORKDIR/git-bond_options_rewritekcsfy9nr/tests/tests_helpers_and_asserts.yml:3 Create veth interface veth1298 ------------------------------------------ 0.70s /WORKDIR/git-bond_options_rewritekcsfy9nr/tests/tasks/manage_test_interface.yml:27 Gather the minimum subset of ansible_facts required by the network role test --- 0.35s /WORKDIR/git-bond_options_rewritekcsfy9nr/tests/tasks/el_repo_setup.yml:3 ----- Gather current interface info ------------------------------------------- 0.27s /WORKDIR/git-bond_options_rewritekcsfy9nr/tests/tasks/get_current_interfaces.yml:3 Check if system is ostree ----------------------------------------------- 0.26s /WORKDIR/git-bond_options_rewritekcsfy9nr/tests/tasks/el_repo_setup.yml:17 ---- Delete veth interface veth1298 ------------------------------------------ 0.23s /WORKDIR/git-bond_options_rewritekcsfy9nr/tests/tasks/manage_test_interface.yml:43 Gather current interface info ------------------------------------------- 0.23s /WORKDIR/git-bond_options_rewritekcsfy9nr/tests/tasks/get_current_interfaces.yml:3 Gather current interface info ------------------------------------------- 0.23s /WORKDIR/git-bond_options_rewritekcsfy9nr/tests/tasks/get_current_interfaces.yml:3 Set up veth as managed by NetworkManager -------------------------------- 0.23s /WORKDIR/git-bond_options_rewritekcsfy9nr/tests/tasks/manage_test_interface.yml:35 Delete dummy interface dummy1298 ---------------------------------------- 0.22s /WORKDIR/git-bond_options_rewritekcsfy9nr/tests/tasks/manage_test_interface.yml:54 Create dummy interface dummy1298 ---------------------------------------- 0.22s /WORKDIR/git-bond_options_rewritekcsfy9nr/tests/tasks/manage_test_interface.yml:49 Gather current interface info ------------------------------------------- 0.21s /WORKDIR/git-bond_options_rewritekcsfy9nr/tests/tasks/get_current_interfaces.yml:3 Gather current interface info ------------------------------------------- 0.21s /WORKDIR/git-bond_options_rewritekcsfy9nr/tests/tasks/get_current_interfaces.yml:3 Gather current interface info ------------------------------------------- 0.21s /WORKDIR/git-bond_options_rewritekcsfy9nr/tests/tasks/get_current_interfaces.yml:3 ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- [DEPRECATION WARNING]: ANSIBLE_COLLECTIONS_PATHS option, does not fit var naming standard, use the singular form ANSIBLE_COLLECTIONS_PATH instead. This feature will be removed from ansible-core in version 2.19. Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg. ---^---^---^---^---^---