# 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_rewritewxz1ulfl/.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_rewritewxz1ulfl/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_rewritewxz1ulfl/tests/tests_helpers_and_asserts.yml:3 Wednesday 14 February 2024 00:01:41 +0000 (0:00:00.035) 0:00:00.035 **** ok: [sut] TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-bond_options_rewritewxz1ulfl/tests/tests_helpers_and_asserts.yml:6 Wednesday 14 February 2024 00:01:42 +0000 (0:00:01.028) 0:00:01.064 **** included: /WORKDIR/git-bond_options_rewritewxz1ulfl/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_rewritewxz1ulfl/tests/tasks/el_repo_setup.yml:3 Wednesday 14 February 2024 00:01:42 +0000 (0:00:00.024) 0:00:01.088 **** ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-bond_options_rewritewxz1ulfl/tests/tasks/el_repo_setup.yml:17 Wednesday 14 February 2024 00:01:43 +0000 (0:00:00.410) 0:00:01.498 **** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-bond_options_rewritewxz1ulfl/tests/tasks/el_repo_setup.yml:22 Wednesday 14 February 2024 00:01:43 +0000 (0:00:00.301) 0:00:01.800 **** ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-bond_options_rewritewxz1ulfl/tests/tasks/el_repo_setup.yml:26 Wednesday 14 February 2024 00:01:43 +0000 (0:00:00.015) 0:00:01.815 **** 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_rewritewxz1ulfl/tests/tasks/el_repo_setup.yml:51 Wednesday 14 February 2024 00:01:43 +0000 (0:00:00.009) 0:00:01.825 **** included: /WORKDIR/git-bond_options_rewritewxz1ulfl/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 39] ********************************************************** task path: /WORKDIR/git-bond_options_rewritewxz1ulfl/tests/tasks/enable_epel.yml:8 Wednesday 14 February 2024 00:01:43 +0000 (0:00:00.048) 0:00:01.873 **** 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_rewritewxz1ulfl/tests/tasks/enable_epel.yml:24 Wednesday 14 February 2024 00:01:43 +0000 (0:00:00.012) 0:00:01.886 **** 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_rewritewxz1ulfl/tests/tasks/enable_epel.yml:30 Wednesday 14 February 2024 00:01:43 +0000 (0:00:00.013) 0:00:01.899 **** 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_rewritewxz1ulfl/tests/tasks/enable_epel.yml:35 Wednesday 14 February 2024 00:01:43 +0000 (0:00:00.026) 0:00:01.926 **** 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_rewritewxz1ulfl/tests/tasks/enable_epel.yml:40 Wednesday 14 February 2024 00:01:43 +0000 (0:00:00.027) 0:00:01.953 **** 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_rewritewxz1ulfl/tests/tests_helpers_and_asserts.yml:9 Wednesday 14 February 2024 00:01:43 +0000 (0:00:00.022) 0:00:01.975 **** included: /WORKDIR/git-bond_options_rewritewxz1ulfl/tests/tasks/create_and_remove_interface.yml for sut TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-bond_options_rewritewxz1ulfl/tests/tasks/create_and_remove_interface.yml:3 Wednesday 14 February 2024 00:01:43 +0000 (0:00:00.017) 0:00:01.992 **** included: /WORKDIR/git-bond_options_rewritewxz1ulfl/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritewxz1ulfl/tests/tasks/show_interfaces.yml:3 Wednesday 14 February 2024 00:01:43 +0000 (0:00:00.020) 0:00:02.013 **** included: /WORKDIR/git-bond_options_rewritewxz1ulfl/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritewxz1ulfl/tests/tasks/get_current_interfaces.yml:3 Wednesday 14 February 2024 00:01:43 +0000 (0:00:00.010) 0:00:02.024 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.004015", "end": "2024-02-14 00:01:44.206143", "rc": 0, "start": "2024-02-14 00:01:44.202128" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritewxz1ulfl/tests/tasks/get_current_interfaces.yml:9 Wednesday 14 February 2024 00:01:44 +0000 (0:00:00.454) 0:00:02.478 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritewxz1ulfl/tests/tasks/show_interfaces.yml:5 Wednesday 14 February 2024 00:01:44 +0000 (0:00:00.010) 0:00:02.488 **** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-bond_options_rewritewxz1ulfl/tests/tasks/create_and_remove_interface.yml:5 Wednesday 14 February 2024 00:01:44 +0000 (0:00:00.019) 0:00:02.508 **** included: /WORKDIR/git-bond_options_rewritewxz1ulfl/tests/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-bond_options_rewritewxz1ulfl/tests/tasks/manage_test_interface.yml:3 Wednesday 14 February 2024 00:01:44 +0000 (0:00:00.015) 0:00:02.524 **** 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_rewritewxz1ulfl/tests/tasks/manage_test_interface.yml:8 Wednesday 14 February 2024 00:01:44 +0000 (0:00:00.009) 0:00:02.533 **** 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_rewritewxz1ulfl/tests/tasks/manage_test_interface.yml:13 Wednesday 14 February 2024 00:01:44 +0000 (0:00:00.009) 0:00:02.542 **** included: /WORKDIR/git-bond_options_rewritewxz1ulfl/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritewxz1ulfl/tests/tasks/show_interfaces.yml:3 Wednesday 14 February 2024 00:01:44 +0000 (0:00:00.016) 0:00:02.558 **** included: /WORKDIR/git-bond_options_rewritewxz1ulfl/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritewxz1ulfl/tests/tasks/get_current_interfaces.yml:3 Wednesday 14 February 2024 00:01:44 +0000 (0:00:00.013) 0:00:02.572 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.004149", "end": "2024-02-14 00:01:44.540445", "rc": 0, "start": "2024-02-14 00:01:44.536296" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritewxz1ulfl/tests/tasks/get_current_interfaces.yml:9 Wednesday 14 February 2024 00:01:44 +0000 (0:00:00.241) 0:00:02.813 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritewxz1ulfl/tests/tasks/show_interfaces.yml:5 Wednesday 14 February 2024 00:01:44 +0000 (0:00:00.010) 0:00:02.823 **** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-bond_options_rewritewxz1ulfl/tests/tasks/manage_test_interface.yml:16 Wednesday 14 February 2024 00:01:44 +0000 (0:00:00.008) 0:00:02.832 **** ok: [sut] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth1298] ****************************************** task path: /WORKDIR/git-bond_options_rewritewxz1ulfl/tests/tasks/manage_test_interface.yml:27 Wednesday 14 February 2024 00:01:46 +0000 (0:00:02.115) 0:00:04.947 **** 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_rewritewxz1ulfl/tests/tasks/manage_test_interface.yml:35 Wednesday 14 February 2024 00:01:46 +0000 (0:00:00.014) 0:00:04.961 **** 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_rewritewxz1ulfl/tests/tasks/manage_test_interface.yml:43 Wednesday 14 February 2024 00:01:46 +0000 (0:00:00.008) 0:00:04.970 **** 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_rewritewxz1ulfl/tests/tasks/manage_test_interface.yml:49 Wednesday 14 February 2024 00:01:46 +0000 (0:00:00.008) 0:00:04.978 **** 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_rewritewxz1ulfl/tests/tasks/manage_test_interface.yml:54 Wednesday 14 February 2024 00:01:46 +0000 (0:00:00.008) 0:00:04.986 **** 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_rewritewxz1ulfl/tests/tasks/manage_test_interface.yml:60 Wednesday 14 February 2024 00:01:46 +0000 (0:00:00.009) 0:00:04.995 **** 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_rewritewxz1ulfl/tests/tasks/manage_test_interface.yml:65 Wednesday 14 February 2024 00:01:46 +0000 (0:00:00.009) 0:00:05.005 **** 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_rewritewxz1ulfl/tests/tasks/create_and_remove_interface.yml:9 Wednesday 14 February 2024 00:01:46 +0000 (0:00:00.007) 0:00:05.013 **** included: /WORKDIR/git-bond_options_rewritewxz1ulfl/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritewxz1ulfl/tests/tasks/show_interfaces.yml:3 Wednesday 14 February 2024 00:01:46 +0000 (0:00:00.014) 0:00:05.027 **** included: /WORKDIR/git-bond_options_rewritewxz1ulfl/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritewxz1ulfl/tests/tasks/get_current_interfaces.yml:3 Wednesday 14 February 2024 00:01:46 +0000 (0:00:00.010) 0:00:05.037 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.004198", "end": "2024-02-14 00:01:47.003113", "rc": 0, "start": "2024-02-14 00:01:46.998915" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritewxz1ulfl/tests/tasks/get_current_interfaces.yml:9 Wednesday 14 February 2024 00:01:47 +0000 (0:00:00.238) 0:00:05.276 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritewxz1ulfl/tests/tasks/show_interfaces.yml:5 Wednesday 14 February 2024 00:01:47 +0000 (0:00:00.012) 0:00:05.288 **** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Include the task 'assert_device_absent.yml'] ***************************** task path: /WORKDIR/git-bond_options_rewritewxz1ulfl/tests/tasks/create_and_remove_interface.yml:11 Wednesday 14 February 2024 00:01:47 +0000 (0:00:00.011) 0:00:05.299 **** included: /WORKDIR/git-bond_options_rewritewxz1ulfl/tests/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewritewxz1ulfl/tests/tasks/assert_device_absent.yml:3 Wednesday 14 February 2024 00:01:47 +0000 (0:00:00.014) 0:00:05.313 **** included: /WORKDIR/git-bond_options_rewritewxz1ulfl/tests/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth1298] ***************************************** task path: /WORKDIR/git-bond_options_rewritewxz1ulfl/tests/tasks/get_interface_stat.yml:3 Wednesday 14 February 2024 00:01:47 +0000 (0:00:00.010) 0:00:05.324 **** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'veth1298'] ************************ task path: /WORKDIR/git-bond_options_rewritewxz1ulfl/tests/tasks/assert_device_absent.yml:5 Wednesday 14 February 2024 00:01:47 +0000 (0:00:00.232) 0:00:05.557 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-bond_options_rewritewxz1ulfl/tests/tasks/create_and_remove_interface.yml:14 Wednesday 14 February 2024 00:01:47 +0000 (0:00:00.011) 0:00:05.568 **** included: /WORKDIR/git-bond_options_rewritewxz1ulfl/tests/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-bond_options_rewritewxz1ulfl/tests/tasks/manage_test_interface.yml:3 Wednesday 14 February 2024 00:01:47 +0000 (0:00:00.015) 0:00:05.584 **** 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_rewritewxz1ulfl/tests/tasks/manage_test_interface.yml:8 Wednesday 14 February 2024 00:01:47 +0000 (0:00:00.007) 0:00:05.592 **** 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_rewritewxz1ulfl/tests/tasks/manage_test_interface.yml:13 Wednesday 14 February 2024 00:01:47 +0000 (0:00:00.008) 0:00:05.601 **** included: /WORKDIR/git-bond_options_rewritewxz1ulfl/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritewxz1ulfl/tests/tasks/show_interfaces.yml:3 Wednesday 14 February 2024 00:01:47 +0000 (0:00:00.010) 0:00:05.611 **** included: /WORKDIR/git-bond_options_rewritewxz1ulfl/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritewxz1ulfl/tests/tasks/get_current_interfaces.yml:3 Wednesday 14 February 2024 00:01:47 +0000 (0:00:00.012) 0:00:05.624 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.004019", "end": "2024-02-14 00:01:47.586110", "rc": 0, "start": "2024-02-14 00:01:47.582091" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritewxz1ulfl/tests/tasks/get_current_interfaces.yml:9 Wednesday 14 February 2024 00:01:47 +0000 (0:00:00.233) 0:00:05.857 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritewxz1ulfl/tests/tasks/show_interfaces.yml:5 Wednesday 14 February 2024 00:01:47 +0000 (0:00:00.010) 0:00:05.868 **** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-bond_options_rewritewxz1ulfl/tests/tasks/manage_test_interface.yml:16 Wednesday 14 February 2024 00:01:47 +0000 (0:00:00.009) 0:00:05.877 **** ok: [sut] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth1298] ****************************************** task path: /WORKDIR/git-bond_options_rewritewxz1ulfl/tests/tasks/manage_test_interface.yml:27 Wednesday 14 February 2024 00:01:49 +0000 (0:00:01.984) 0:00:07.862 **** 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.009581", "end": "2024-02-14 00:01:49.834094", "item": "ip link add veth1298 type veth peer name peerveth1298", "rc": 0, "start": "2024-02-14 00:01:49.824513" } ok: [sut] => (item=ip link set peerveth1298 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peerveth1298", "up" ], "delta": "0:00:00.004282", "end": "2024-02-14 00:01:50.127117", "item": "ip link set peerveth1298 up", "rc": 0, "start": "2024-02-14 00:01:50.122835" } ok: [sut] => (item=ip link set veth1298 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "veth1298", "up" ], "delta": "0:00:00.004466", "end": "2024-02-14 00:01:50.358967", "item": "ip link set veth1298 up", "rc": 0, "start": "2024-02-14 00:01:50.354501" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-bond_options_rewritewxz1ulfl/tests/tasks/manage_test_interface.yml:35 Wednesday 14 February 2024 00:01:50 +0000 (0:00:00.769) 0:00:08.632 **** ok: [sut] => { "changed": false, "cmd": [ "nmcli", "d", "set", "veth1298", "managed", "true" ], "delta": "0:00:00.023703", "end": "2024-02-14 00:01:50.612433", "rc": 0, "start": "2024-02-14 00:01:50.588730" } TASK [Delete veth interface veth1298] ****************************************** task path: /WORKDIR/git-bond_options_rewritewxz1ulfl/tests/tasks/manage_test_interface.yml:43 Wednesday 14 February 2024 00:01:50 +0000 (0:00:00.254) 0:00:08.886 **** 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_rewritewxz1ulfl/tests/tasks/manage_test_interface.yml:49 Wednesday 14 February 2024 00:01:50 +0000 (0:00:00.008) 0:00:08.895 **** 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_rewritewxz1ulfl/tests/tasks/manage_test_interface.yml:54 Wednesday 14 February 2024 00:01:50 +0000 (0:00:00.008) 0:00:08.903 **** 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_rewritewxz1ulfl/tests/tasks/manage_test_interface.yml:60 Wednesday 14 February 2024 00:01:50 +0000 (0:00:00.009) 0:00:08.912 **** 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_rewritewxz1ulfl/tests/tasks/manage_test_interface.yml:65 Wednesday 14 February 2024 00:01:50 +0000 (0:00:00.008) 0:00:08.921 **** 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_rewritewxz1ulfl/tests/tasks/create_and_remove_interface.yml:18 Wednesday 14 February 2024 00:01:50 +0000 (0:00:00.009) 0:00:08.930 **** included: /WORKDIR/git-bond_options_rewritewxz1ulfl/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritewxz1ulfl/tests/tasks/show_interfaces.yml:3 Wednesday 14 February 2024 00:01:50 +0000 (0:00:00.017) 0:00:08.948 **** included: /WORKDIR/git-bond_options_rewritewxz1ulfl/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritewxz1ulfl/tests/tasks/get_current_interfaces.yml:3 Wednesday 14 February 2024 00:01:50 +0000 (0:00:00.010) 0:00:08.959 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003988", "end": "2024-02-14 00:01:50.927441", "rc": 0, "start": "2024-02-14 00:01:50.923453" } STDOUT: bonding_masters eth0 lo peerveth1298 veth1298 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritewxz1ulfl/tests/tasks/get_current_interfaces.yml:9 Wednesday 14 February 2024 00:01:50 +0000 (0:00:00.240) 0:00:09.200 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "peerveth1298", "veth1298" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritewxz1ulfl/tests/tasks/show_interfaces.yml:5 Wednesday 14 February 2024 00:01:50 +0000 (0:00:00.009) 0:00:09.209 **** 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_rewritewxz1ulfl/tests/tasks/create_and_remove_interface.yml:20 Wednesday 14 February 2024 00:01:50 +0000 (0:00:00.009) 0:00:09.219 **** included: /WORKDIR/git-bond_options_rewritewxz1ulfl/tests/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewritewxz1ulfl/tests/tasks/assert_device_present.yml:3 Wednesday 14 February 2024 00:01:50 +0000 (0:00:00.016) 0:00:09.235 **** included: /WORKDIR/git-bond_options_rewritewxz1ulfl/tests/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth1298] ***************************************** task path: /WORKDIR/git-bond_options_rewritewxz1ulfl/tests/tasks/get_interface_stat.yml:3 Wednesday 14 February 2024 00:01:50 +0000 (0:00:00.009) 0:00:09.245 **** ok: [sut] => { "changed": false, "stat": { "atime": 1707868909.829536, "block_size": 4096, "blocks": 0, "ctime": 1707868909.829536, "dev": 22, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 34284, "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": 1707868909.829536, "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_rewritewxz1ulfl/tests/tasks/assert_device_present.yml:5 Wednesday 14 February 2024 00:01:51 +0000 (0:00:00.238) 0:00:09.484 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-bond_options_rewritewxz1ulfl/tests/tasks/create_and_remove_interface.yml:23 Wednesday 14 February 2024 00:01:51 +0000 (0:00:00.012) 0:00:09.496 **** included: /WORKDIR/git-bond_options_rewritewxz1ulfl/tests/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-bond_options_rewritewxz1ulfl/tests/tasks/manage_test_interface.yml:3 Wednesday 14 February 2024 00:01:51 +0000 (0:00:00.019) 0:00:09.516 **** 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_rewritewxz1ulfl/tests/tasks/manage_test_interface.yml:8 Wednesday 14 February 2024 00:01:51 +0000 (0:00:00.009) 0:00:09.525 **** 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_rewritewxz1ulfl/tests/tasks/manage_test_interface.yml:13 Wednesday 14 February 2024 00:01:51 +0000 (0:00:00.007) 0:00:09.533 **** included: /WORKDIR/git-bond_options_rewritewxz1ulfl/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritewxz1ulfl/tests/tasks/show_interfaces.yml:3 Wednesday 14 February 2024 00:01:51 +0000 (0:00:00.011) 0:00:09.544 **** included: /WORKDIR/git-bond_options_rewritewxz1ulfl/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritewxz1ulfl/tests/tasks/get_current_interfaces.yml:3 Wednesday 14 February 2024 00:01:51 +0000 (0:00:00.009) 0:00:09.554 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.004163", "end": "2024-02-14 00:01:51.514807", "rc": 0, "start": "2024-02-14 00:01:51.510644" } STDOUT: bonding_masters eth0 lo peerveth1298 veth1298 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritewxz1ulfl/tests/tasks/get_current_interfaces.yml:9 Wednesday 14 February 2024 00:01:51 +0000 (0:00:00.233) 0:00:09.787 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "peerveth1298", "veth1298" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritewxz1ulfl/tests/tasks/show_interfaces.yml:5 Wednesday 14 February 2024 00:01:51 +0000 (0:00:00.010) 0:00:09.797 **** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'peerveth1298', 'veth1298'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-bond_options_rewritewxz1ulfl/tests/tasks/manage_test_interface.yml:16 Wednesday 14 February 2024 00:01:51 +0000 (0:00:00.009) 0:00:09.807 **** ok: [sut] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth1298] ****************************************** task path: /WORKDIR/git-bond_options_rewritewxz1ulfl/tests/tasks/manage_test_interface.yml:27 Wednesday 14 February 2024 00:01:53 +0000 (0:00:02.009) 0:00:11.817 **** 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_rewritewxz1ulfl/tests/tasks/manage_test_interface.yml:35 Wednesday 14 February 2024 00:01:53 +0000 (0:00:00.020) 0:00:11.837 **** 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_rewritewxz1ulfl/tests/tasks/manage_test_interface.yml:43 Wednesday 14 February 2024 00:01:53 +0000 (0:00:00.032) 0:00:11.869 **** ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "veth1298", "type", "veth" ], "delta": "0:00:00.018889", "end": "2024-02-14 00:01:53.871155", "rc": 0, "start": "2024-02-14 00:01:53.852266" } TASK [Create dummy interface veth1298] ***************************************** task path: /WORKDIR/git-bond_options_rewritewxz1ulfl/tests/tasks/manage_test_interface.yml:49 Wednesday 14 February 2024 00:01:53 +0000 (0:00:00.287) 0:00:12.157 **** 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_rewritewxz1ulfl/tests/tasks/manage_test_interface.yml:54 Wednesday 14 February 2024 00:01:53 +0000 (0:00:00.015) 0:00:12.172 **** 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_rewritewxz1ulfl/tests/tasks/manage_test_interface.yml:60 Wednesday 14 February 2024 00:01:53 +0000 (0:00:00.012) 0:00:12.184 **** 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_rewritewxz1ulfl/tests/tasks/manage_test_interface.yml:65 Wednesday 14 February 2024 00:01:53 +0000 (0:00:00.010) 0:00:12.195 **** 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_rewritewxz1ulfl/tests/tasks/create_and_remove_interface.yml:27 Wednesday 14 February 2024 00:01:53 +0000 (0:00:00.008) 0:00:12.204 **** included: /WORKDIR/git-bond_options_rewritewxz1ulfl/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritewxz1ulfl/tests/tasks/show_interfaces.yml:3 Wednesday 14 February 2024 00:01:53 +0000 (0:00:00.030) 0:00:12.234 **** included: /WORKDIR/git-bond_options_rewritewxz1ulfl/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritewxz1ulfl/tests/tasks/get_current_interfaces.yml:3 Wednesday 14 February 2024 00:01:53 +0000 (0:00:00.013) 0:00:12.248 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.004192", "end": "2024-02-14 00:01:54.220812", "rc": 0, "start": "2024-02-14 00:01:54.216620" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritewxz1ulfl/tests/tasks/get_current_interfaces.yml:9 Wednesday 14 February 2024 00:01:54 +0000 (0:00:00.249) 0:00:12.498 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritewxz1ulfl/tests/tasks/show_interfaces.yml:5 Wednesday 14 February 2024 00:01:54 +0000 (0:00:00.021) 0:00:12.519 **** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Include the task 'assert_device_absent.yml'] ***************************** task path: /WORKDIR/git-bond_options_rewritewxz1ulfl/tests/tasks/create_and_remove_interface.yml:29 Wednesday 14 February 2024 00:01:54 +0000 (0:00:00.026) 0:00:12.545 **** included: /WORKDIR/git-bond_options_rewritewxz1ulfl/tests/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewritewxz1ulfl/tests/tasks/assert_device_absent.yml:3 Wednesday 14 February 2024 00:01:54 +0000 (0:00:00.035) 0:00:12.580 **** included: /WORKDIR/git-bond_options_rewritewxz1ulfl/tests/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth1298] ***************************************** task path: /WORKDIR/git-bond_options_rewritewxz1ulfl/tests/tasks/get_interface_stat.yml:3 Wednesday 14 February 2024 00:01:54 +0000 (0:00:00.024) 0:00:12.605 **** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'veth1298'] ************************ task path: /WORKDIR/git-bond_options_rewritewxz1ulfl/tests/tasks/assert_device_absent.yml:5 Wednesday 14 February 2024 00:01:54 +0000 (0:00:00.238) 0:00:12.843 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test veth interface management] ****************************************** task path: /WORKDIR/git-bond_options_rewritewxz1ulfl/tests/tests_helpers_and_asserts.yml:15 Wednesday 14 February 2024 00:01:54 +0000 (0:00:00.011) 0:00:12.854 **** included: /WORKDIR/git-bond_options_rewritewxz1ulfl/tests/tasks/create_and_remove_interface.yml for sut TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-bond_options_rewritewxz1ulfl/tests/tasks/create_and_remove_interface.yml:3 Wednesday 14 February 2024 00:01:54 +0000 (0:00:00.012) 0:00:12.867 **** included: /WORKDIR/git-bond_options_rewritewxz1ulfl/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritewxz1ulfl/tests/tasks/show_interfaces.yml:3 Wednesday 14 February 2024 00:01:54 +0000 (0:00:00.013) 0:00:12.880 **** included: /WORKDIR/git-bond_options_rewritewxz1ulfl/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritewxz1ulfl/tests/tasks/get_current_interfaces.yml:3 Wednesday 14 February 2024 00:01:54 +0000 (0:00:00.009) 0:00:12.890 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.004245", "end": "2024-02-14 00:01:54.854172", "rc": 0, "start": "2024-02-14 00:01:54.849927" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritewxz1ulfl/tests/tasks/get_current_interfaces.yml:9 Wednesday 14 February 2024 00:01:54 +0000 (0:00:00.236) 0:00:13.126 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritewxz1ulfl/tests/tasks/show_interfaces.yml:5 Wednesday 14 February 2024 00:01:54 +0000 (0:00:00.014) 0:00:13.140 **** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-bond_options_rewritewxz1ulfl/tests/tasks/create_and_remove_interface.yml:5 Wednesday 14 February 2024 00:01:54 +0000 (0:00:00.010) 0:00:13.150 **** included: /WORKDIR/git-bond_options_rewritewxz1ulfl/tests/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-bond_options_rewritewxz1ulfl/tests/tasks/manage_test_interface.yml:3 Wednesday 14 February 2024 00:01:54 +0000 (0:00:00.012) 0:00:13.163 **** 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_rewritewxz1ulfl/tests/tasks/manage_test_interface.yml:8 Wednesday 14 February 2024 00:01:54 +0000 (0:00:00.008) 0:00:13.172 **** 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_rewritewxz1ulfl/tests/tasks/manage_test_interface.yml:13 Wednesday 14 February 2024 00:01:54 +0000 (0:00:00.007) 0:00:13.179 **** included: /WORKDIR/git-bond_options_rewritewxz1ulfl/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritewxz1ulfl/tests/tasks/show_interfaces.yml:3 Wednesday 14 February 2024 00:01:54 +0000 (0:00:00.010) 0:00:13.190 **** included: /WORKDIR/git-bond_options_rewritewxz1ulfl/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritewxz1ulfl/tests/tasks/get_current_interfaces.yml:3 Wednesday 14 February 2024 00:01:54 +0000 (0:00:00.009) 0:00:13.199 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.004049", "end": "2024-02-14 00:01:55.158834", "rc": 0, "start": "2024-02-14 00:01:55.154785" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritewxz1ulfl/tests/tasks/get_current_interfaces.yml:9 Wednesday 14 February 2024 00:01:55 +0000 (0:00:00.231) 0:00:13.431 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritewxz1ulfl/tests/tasks/show_interfaces.yml:5 Wednesday 14 February 2024 00:01:55 +0000 (0:00:00.011) 0:00:13.443 **** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-bond_options_rewritewxz1ulfl/tests/tasks/manage_test_interface.yml:16 Wednesday 14 February 2024 00:01:55 +0000 (0:00:00.009) 0:00:13.453 **** ok: [sut] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface dummy1298] ***************************************** task path: /WORKDIR/git-bond_options_rewritewxz1ulfl/tests/tasks/manage_test_interface.yml:27 Wednesday 14 February 2024 00:01:57 +0000 (0:00:02.000) 0:00:15.453 **** 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_rewritewxz1ulfl/tests/tasks/manage_test_interface.yml:35 Wednesday 14 February 2024 00:01:57 +0000 (0:00:00.016) 0:00:15.469 **** 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_rewritewxz1ulfl/tests/tasks/manage_test_interface.yml:43 Wednesday 14 February 2024 00:01:57 +0000 (0:00:00.011) 0:00:15.481 **** 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_rewritewxz1ulfl/tests/tasks/manage_test_interface.yml:49 Wednesday 14 February 2024 00:01:57 +0000 (0:00:00.009) 0:00:15.490 **** 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_rewritewxz1ulfl/tests/tasks/manage_test_interface.yml:54 Wednesday 14 February 2024 00:01:57 +0000 (0:00:00.009) 0:00:15.500 **** 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_rewritewxz1ulfl/tests/tasks/manage_test_interface.yml:60 Wednesday 14 February 2024 00:01:57 +0000 (0:00:00.009) 0:00:15.509 **** 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_rewritewxz1ulfl/tests/tasks/manage_test_interface.yml:65 Wednesday 14 February 2024 00:01:57 +0000 (0:00:00.010) 0:00:15.519 **** 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_rewritewxz1ulfl/tests/tasks/create_and_remove_interface.yml:9 Wednesday 14 February 2024 00:01:57 +0000 (0:00:00.008) 0:00:15.528 **** included: /WORKDIR/git-bond_options_rewritewxz1ulfl/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritewxz1ulfl/tests/tasks/show_interfaces.yml:3 Wednesday 14 February 2024 00:01:57 +0000 (0:00:00.016) 0:00:15.545 **** included: /WORKDIR/git-bond_options_rewritewxz1ulfl/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritewxz1ulfl/tests/tasks/get_current_interfaces.yml:3 Wednesday 14 February 2024 00:01:57 +0000 (0:00:00.013) 0:00:15.559 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.004074", "end": "2024-02-14 00:01:57.523071", "rc": 0, "start": "2024-02-14 00:01:57.518997" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritewxz1ulfl/tests/tasks/get_current_interfaces.yml:9 Wednesday 14 February 2024 00:01:57 +0000 (0:00:00.235) 0:00:15.794 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritewxz1ulfl/tests/tasks/show_interfaces.yml:5 Wednesday 14 February 2024 00:01:57 +0000 (0:00:00.010) 0:00:15.804 **** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Include the task 'assert_device_absent.yml'] ***************************** task path: /WORKDIR/git-bond_options_rewritewxz1ulfl/tests/tasks/create_and_remove_interface.yml:11 Wednesday 14 February 2024 00:01:57 +0000 (0:00:00.011) 0:00:15.816 **** included: /WORKDIR/git-bond_options_rewritewxz1ulfl/tests/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewritewxz1ulfl/tests/tasks/assert_device_absent.yml:3 Wednesday 14 February 2024 00:01:57 +0000 (0:00:00.017) 0:00:15.833 **** included: /WORKDIR/git-bond_options_rewritewxz1ulfl/tests/tasks/get_interface_stat.yml for sut TASK [Get stat for interface dummy1298] **************************************** task path: /WORKDIR/git-bond_options_rewritewxz1ulfl/tests/tasks/get_interface_stat.yml:3 Wednesday 14 February 2024 00:01:57 +0000 (0:00:00.012) 0:00:15.845 **** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'dummy1298'] *********************** task path: /WORKDIR/git-bond_options_rewritewxz1ulfl/tests/tasks/assert_device_absent.yml:5 Wednesday 14 February 2024 00:01:57 +0000 (0:00:00.235) 0:00:16.081 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-bond_options_rewritewxz1ulfl/tests/tasks/create_and_remove_interface.yml:14 Wednesday 14 February 2024 00:01:57 +0000 (0:00:00.025) 0:00:16.107 **** included: /WORKDIR/git-bond_options_rewritewxz1ulfl/tests/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-bond_options_rewritewxz1ulfl/tests/tasks/manage_test_interface.yml:3 Wednesday 14 February 2024 00:01:57 +0000 (0:00:00.027) 0:00:16.134 **** 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_rewritewxz1ulfl/tests/tasks/manage_test_interface.yml:8 Wednesday 14 February 2024 00:01:57 +0000 (0:00:00.017) 0:00:16.151 **** 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_rewritewxz1ulfl/tests/tasks/manage_test_interface.yml:13 Wednesday 14 February 2024 00:01:57 +0000 (0:00:00.011) 0:00:16.163 **** included: /WORKDIR/git-bond_options_rewritewxz1ulfl/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritewxz1ulfl/tests/tasks/show_interfaces.yml:3 Wednesday 14 February 2024 00:01:57 +0000 (0:00:00.012) 0:00:16.175 **** included: /WORKDIR/git-bond_options_rewritewxz1ulfl/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritewxz1ulfl/tests/tasks/get_current_interfaces.yml:3 Wednesday 14 February 2024 00:01:57 +0000 (0:00:00.012) 0:00:16.188 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.004033", "end": "2024-02-14 00:01:58.157697", "rc": 0, "start": "2024-02-14 00:01:58.153664" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritewxz1ulfl/tests/tasks/get_current_interfaces.yml:9 Wednesday 14 February 2024 00:01:58 +0000 (0:00:00.240) 0:00:16.429 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritewxz1ulfl/tests/tasks/show_interfaces.yml:5 Wednesday 14 February 2024 00:01:58 +0000 (0:00:00.015) 0:00:16.444 **** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-bond_options_rewritewxz1ulfl/tests/tasks/manage_test_interface.yml:16 Wednesday 14 February 2024 00:01:58 +0000 (0:00:00.015) 0:00:16.459 **** ok: [sut] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface dummy1298] ***************************************** task path: /WORKDIR/git-bond_options_rewritewxz1ulfl/tests/tasks/manage_test_interface.yml:27 Wednesday 14 February 2024 00:02:00 +0000 (0:00:02.009) 0:00:18.469 **** 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_rewritewxz1ulfl/tests/tasks/manage_test_interface.yml:35 Wednesday 14 February 2024 00:02:00 +0000 (0:00:00.019) 0:00:18.488 **** 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_rewritewxz1ulfl/tests/tasks/manage_test_interface.yml:43 Wednesday 14 February 2024 00:02:00 +0000 (0:00:00.011) 0:00:18.500 **** 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_rewritewxz1ulfl/tests/tasks/manage_test_interface.yml:49 Wednesday 14 February 2024 00:02:00 +0000 (0:00:00.011) 0:00:18.511 **** ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "add", "dummy1298", "type", "dummy" ], "delta": "0:00:00.004871", "end": "2024-02-14 00:02:00.476567", "rc": 0, "start": "2024-02-14 00:02:00.471696" } TASK [Delete dummy interface dummy1298] **************************************** task path: /WORKDIR/git-bond_options_rewritewxz1ulfl/tests/tasks/manage_test_interface.yml:54 Wednesday 14 February 2024 00:02:00 +0000 (0:00:00.247) 0:00:18.759 **** 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_rewritewxz1ulfl/tests/tasks/manage_test_interface.yml:60 Wednesday 14 February 2024 00:02:00 +0000 (0:00:00.008) 0:00:18.767 **** 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_rewritewxz1ulfl/tests/tasks/manage_test_interface.yml:65 Wednesday 14 February 2024 00:02:00 +0000 (0:00:00.008) 0:00:18.775 **** 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_rewritewxz1ulfl/tests/tasks/create_and_remove_interface.yml:18 Wednesday 14 February 2024 00:02:00 +0000 (0:00:00.008) 0:00:18.784 **** included: /WORKDIR/git-bond_options_rewritewxz1ulfl/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritewxz1ulfl/tests/tasks/show_interfaces.yml:3 Wednesday 14 February 2024 00:02:00 +0000 (0:00:00.015) 0:00:18.800 **** included: /WORKDIR/git-bond_options_rewritewxz1ulfl/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritewxz1ulfl/tests/tasks/get_current_interfaces.yml:3 Wednesday 14 February 2024 00:02:00 +0000 (0:00:00.009) 0:00:18.809 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.004290", "end": "2024-02-14 00:02:00.773179", "rc": 0, "start": "2024-02-14 00:02:00.768889" } STDOUT: bonding_masters dummy1298 eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritewxz1ulfl/tests/tasks/get_current_interfaces.yml:9 Wednesday 14 February 2024 00:02:00 +0000 (0:00:00.237) 0:00:19.047 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "dummy1298", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritewxz1ulfl/tests/tasks/show_interfaces.yml:5 Wednesday 14 February 2024 00:02:00 +0000 (0:00:00.009) 0:00:19.057 **** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'dummy1298', 'eth0', 'lo'] TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-bond_options_rewritewxz1ulfl/tests/tasks/create_and_remove_interface.yml:20 Wednesday 14 February 2024 00:02:00 +0000 (0:00:00.008) 0:00:19.066 **** included: /WORKDIR/git-bond_options_rewritewxz1ulfl/tests/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewritewxz1ulfl/tests/tasks/assert_device_present.yml:3 Wednesday 14 February 2024 00:02:00 +0000 (0:00:00.016) 0:00:19.082 **** included: /WORKDIR/git-bond_options_rewritewxz1ulfl/tests/tasks/get_interface_stat.yml for sut TASK [Get stat for interface dummy1298] **************************************** task path: /WORKDIR/git-bond_options_rewritewxz1ulfl/tests/tasks/get_interface_stat.yml:3 Wednesday 14 February 2024 00:02:00 +0000 (0:00:00.009) 0:00:19.092 **** ok: [sut] => { "changed": false, "stat": { "atime": 1707868920.475678, "block_size": 4096, "blocks": 0, "ctime": 1707868920.475678, "dev": 22, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 34577, "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": 1707868920.475678, "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_rewritewxz1ulfl/tests/tasks/assert_device_present.yml:5 Wednesday 14 February 2024 00:02:01 +0000 (0:00:00.234) 0:00:19.327 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-bond_options_rewritewxz1ulfl/tests/tasks/create_and_remove_interface.yml:23 Wednesday 14 February 2024 00:02:01 +0000 (0:00:00.024) 0:00:19.351 **** included: /WORKDIR/git-bond_options_rewritewxz1ulfl/tests/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-bond_options_rewritewxz1ulfl/tests/tasks/manage_test_interface.yml:3 Wednesday 14 February 2024 00:02:01 +0000 (0:00:00.024) 0:00:19.376 **** 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_rewritewxz1ulfl/tests/tasks/manage_test_interface.yml:8 Wednesday 14 February 2024 00:02:01 +0000 (0:00:00.015) 0:00:19.392 **** 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_rewritewxz1ulfl/tests/tasks/manage_test_interface.yml:13 Wednesday 14 February 2024 00:02:01 +0000 (0:00:00.018) 0:00:19.410 **** included: /WORKDIR/git-bond_options_rewritewxz1ulfl/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritewxz1ulfl/tests/tasks/show_interfaces.yml:3 Wednesday 14 February 2024 00:02:01 +0000 (0:00:00.013) 0:00:19.424 **** included: /WORKDIR/git-bond_options_rewritewxz1ulfl/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritewxz1ulfl/tests/tasks/get_current_interfaces.yml:3 Wednesday 14 February 2024 00:02:01 +0000 (0:00:00.025) 0:00:19.449 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.004092", "end": "2024-02-14 00:02:01.416311", "rc": 0, "start": "2024-02-14 00:02:01.412219" } STDOUT: bonding_masters dummy1298 eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritewxz1ulfl/tests/tasks/get_current_interfaces.yml:9 Wednesday 14 February 2024 00:02:01 +0000 (0:00:00.238) 0:00:19.688 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "dummy1298", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritewxz1ulfl/tests/tasks/show_interfaces.yml:5 Wednesday 14 February 2024 00:02:01 +0000 (0:00:00.011) 0:00:19.699 **** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'dummy1298', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-bond_options_rewritewxz1ulfl/tests/tasks/manage_test_interface.yml:16 Wednesday 14 February 2024 00:02:01 +0000 (0:00:00.009) 0:00:19.709 **** ok: [sut] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface dummy1298] ***************************************** task path: /WORKDIR/git-bond_options_rewritewxz1ulfl/tests/tasks/manage_test_interface.yml:27 Wednesday 14 February 2024 00:02:03 +0000 (0:00:02.007) 0:00:21.716 **** 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_rewritewxz1ulfl/tests/tasks/manage_test_interface.yml:35 Wednesday 14 February 2024 00:02:03 +0000 (0:00:00.015) 0:00:21.732 **** 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_rewritewxz1ulfl/tests/tasks/manage_test_interface.yml:43 Wednesday 14 February 2024 00:02:03 +0000 (0:00:00.008) 0:00:21.740 **** 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_rewritewxz1ulfl/tests/tasks/manage_test_interface.yml:49 Wednesday 14 February 2024 00:02:03 +0000 (0:00:00.008) 0:00:21.749 **** 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_rewritewxz1ulfl/tests/tasks/manage_test_interface.yml:54 Wednesday 14 February 2024 00:02:03 +0000 (0:00:00.008) 0:00:21.757 **** ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "dummy1298", "type", "dummy" ], "delta": "0:00:00.010527", "end": "2024-02-14 00:02:03.728526", "rc": 0, "start": "2024-02-14 00:02:03.717999" } TASK [Create tap interface dummy1298] ****************************************** task path: /WORKDIR/git-bond_options_rewritewxz1ulfl/tests/tasks/manage_test_interface.yml:60 Wednesday 14 February 2024 00:02:03 +0000 (0:00:00.251) 0:00:22.009 **** 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_rewritewxz1ulfl/tests/tasks/manage_test_interface.yml:65 Wednesday 14 February 2024 00:02:03 +0000 (0:00:00.011) 0:00:22.020 **** 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_rewritewxz1ulfl/tests/tasks/create_and_remove_interface.yml:27 Wednesday 14 February 2024 00:02:03 +0000 (0:00:00.019) 0:00:22.039 **** included: /WORKDIR/git-bond_options_rewritewxz1ulfl/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritewxz1ulfl/tests/tasks/show_interfaces.yml:3 Wednesday 14 February 2024 00:02:03 +0000 (0:00:00.027) 0:00:22.067 **** included: /WORKDIR/git-bond_options_rewritewxz1ulfl/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritewxz1ulfl/tests/tasks/get_current_interfaces.yml:3 Wednesday 14 February 2024 00:02:03 +0000 (0:00:00.053) 0:00:22.121 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003967", "end": "2024-02-14 00:02:04.109764", "rc": 0, "start": "2024-02-14 00:02:04.105797" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritewxz1ulfl/tests/tasks/get_current_interfaces.yml:9 Wednesday 14 February 2024 00:02:04 +0000 (0:00:00.261) 0:00:22.382 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritewxz1ulfl/tests/tasks/show_interfaces.yml:5 Wednesday 14 February 2024 00:02:04 +0000 (0:00:00.011) 0:00:22.393 **** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Include the task 'assert_device_absent.yml'] ***************************** task path: /WORKDIR/git-bond_options_rewritewxz1ulfl/tests/tasks/create_and_remove_interface.yml:29 Wednesday 14 February 2024 00:02:04 +0000 (0:00:00.010) 0:00:22.404 **** included: /WORKDIR/git-bond_options_rewritewxz1ulfl/tests/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewritewxz1ulfl/tests/tasks/assert_device_absent.yml:3 Wednesday 14 February 2024 00:02:04 +0000 (0:00:00.024) 0:00:22.429 **** included: /WORKDIR/git-bond_options_rewritewxz1ulfl/tests/tasks/get_interface_stat.yml for sut TASK [Get stat for interface dummy1298] **************************************** task path: /WORKDIR/git-bond_options_rewritewxz1ulfl/tests/tasks/get_interface_stat.yml:3 Wednesday 14 February 2024 00:02:04 +0000 (0:00:00.015) 0:00:22.444 **** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'dummy1298'] *********************** task path: /WORKDIR/git-bond_options_rewritewxz1ulfl/tests/tasks/assert_device_absent.yml:5 Wednesday 14 February 2024 00:02:04 +0000 (0:00:00.232) 0:00:22.677 **** 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 00:02:04 +0000 (0:00:00.015) 0:00:22.692 **** =============================================================================== Install iproute --------------------------------------------------------- 2.12s /WORKDIR/git-bond_options_rewritewxz1ulfl/tests/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 2.01s /WORKDIR/git-bond_options_rewritewxz1ulfl/tests/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 2.01s /WORKDIR/git-bond_options_rewritewxz1ulfl/tests/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 2.01s /WORKDIR/git-bond_options_rewritewxz1ulfl/tests/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 2.00s /WORKDIR/git-bond_options_rewritewxz1ulfl/tests/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 1.98s /WORKDIR/git-bond_options_rewritewxz1ulfl/tests/tasks/manage_test_interface.yml:16 Gathering Facts --------------------------------------------------------- 1.03s /WORKDIR/git-bond_options_rewritewxz1ulfl/tests/tests_helpers_and_asserts.yml:3 Create veth interface veth1298 ------------------------------------------ 0.77s /WORKDIR/git-bond_options_rewritewxz1ulfl/tests/tasks/manage_test_interface.yml:27 Gather current interface info ------------------------------------------- 0.45s /WORKDIR/git-bond_options_rewritewxz1ulfl/tests/tasks/get_current_interfaces.yml:3 Gather the minimum subset of ansible_facts required by the network role test --- 0.41s /WORKDIR/git-bond_options_rewritewxz1ulfl/tests/tasks/el_repo_setup.yml:3 ----- Check if system is ostree ----------------------------------------------- 0.30s /WORKDIR/git-bond_options_rewritewxz1ulfl/tests/tasks/el_repo_setup.yml:17 ---- Delete veth interface veth1298 ------------------------------------------ 0.29s /WORKDIR/git-bond_options_rewritewxz1ulfl/tests/tasks/manage_test_interface.yml:43 Gather current interface info ------------------------------------------- 0.26s /WORKDIR/git-bond_options_rewritewxz1ulfl/tests/tasks/get_current_interfaces.yml:3 Set up veth as managed by NetworkManager -------------------------------- 0.25s /WORKDIR/git-bond_options_rewritewxz1ulfl/tests/tasks/manage_test_interface.yml:35 Delete dummy interface dummy1298 ---------------------------------------- 0.25s /WORKDIR/git-bond_options_rewritewxz1ulfl/tests/tasks/manage_test_interface.yml:54 Gather current interface info ------------------------------------------- 0.25s /WORKDIR/git-bond_options_rewritewxz1ulfl/tests/tasks/get_current_interfaces.yml:3 Create dummy interface dummy1298 ---------------------------------------- 0.25s /WORKDIR/git-bond_options_rewritewxz1ulfl/tests/tasks/manage_test_interface.yml:49 Gather current interface info ------------------------------------------- 0.24s /WORKDIR/git-bond_options_rewritewxz1ulfl/tests/tasks/get_current_interfaces.yml:3 Gather current interface info ------------------------------------------- 0.24s /WORKDIR/git-bond_options_rewritewxz1ulfl/tests/tasks/get_current_interfaces.yml:3 Gather current interface info ------------------------------------------- 0.24s /WORKDIR/git-bond_options_rewritewxz1ulfl/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. ---^---^---^---^---^---