# 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_rewriteff4y5pq2/.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_rewriteff4y5pq2/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_rewriteff4y5pq2/tests/tests_helpers_and_asserts.yml:3 Wednesday 14 February 2024 02:37:21 +0000 (0:00:00.048) 0:00:00.048 **** ok: [sut] TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-bond_options_rewriteff4y5pq2/tests/tests_helpers_and_asserts.yml:6 Wednesday 14 February 2024 02:37:22 +0000 (0:00:01.230) 0:00:01.278 **** included: /WORKDIR/git-bond_options_rewriteff4y5pq2/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_rewriteff4y5pq2/tests/tasks/el_repo_setup.yml:3 Wednesday 14 February 2024 02:37:22 +0000 (0:00:00.024) 0:00:01.303 **** ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-bond_options_rewriteff4y5pq2/tests/tasks/el_repo_setup.yml:17 Wednesday 14 February 2024 02:37:22 +0000 (0:00:00.415) 0:00:01.718 **** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-bond_options_rewriteff4y5pq2/tests/tasks/el_repo_setup.yml:22 Wednesday 14 February 2024 02:37:23 +0000 (0:00:00.315) 0:00:02.034 **** ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-bond_options_rewriteff4y5pq2/tests/tasks/el_repo_setup.yml:26 Wednesday 14 February 2024 02:37:23 +0000 (0:00:00.037) 0:00:02.071 **** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version == '6'", "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-bond_options_rewriteff4y5pq2/tests/tasks/el_repo_setup.yml:51 Wednesday 14 February 2024 02:37:23 +0000 (0:00:00.009) 0:00:02.081 **** included: /WORKDIR/git-bond_options_rewriteff4y5pq2/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 8] *********************************************************** task path: /WORKDIR/git-bond_options_rewriteff4y5pq2/tests/tasks/enable_epel.yml:8 Wednesday 14 February 2024 02:37:23 +0000 (0:00:00.026) 0:00:02.107 **** ok: [sut] => { "attempts": 1, "changed": false, "cmd": [ "rpm", "-iv", "https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm" ], "delta": null, "end": null, "rc": 0, "start": null } STDOUT: skipped, since /etc/yum.repos.d/epel.repo exists MSG: Did not run command since '/etc/yum.repos.d/epel.repo' exists TASK [Install yum-utils package] *********************************************** task path: /WORKDIR/git-bond_options_rewriteff4y5pq2/tests/tasks/enable_epel.yml:24 Wednesday 14 February 2024 02:37:23 +0000 (0:00:00.299) 0:00:02.407 **** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version == '7'", "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /WORKDIR/git-bond_options_rewriteff4y5pq2/tests/tasks/enable_epel.yml:30 Wednesday 14 February 2024 02:37:23 +0000 (0:00:00.011) 0:00:02.419 **** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version == '7'", "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /WORKDIR/git-bond_options_rewriteff4y5pq2/tests/tasks/enable_epel.yml:35 Wednesday 14 February 2024 02:37:23 +0000 (0:00:00.022) 0:00:02.441 **** ok: [sut] => { "changed": false, "cmd": [ "dnf", "config-manager", "--set-enabled", "epel" ], "delta": "0:00:00.275479", "end": "2024-02-14 02:37:24.092612", "rc": 0, "start": "2024-02-14 02:37:23.817133" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-bond_options_rewriteff4y5pq2/tests/tasks/enable_epel.yml:40 Wednesday 14 February 2024 02:37:24 +0000 (0:00:00.492) 0:00:02.934 **** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version == '6'", "skip_reason": "Conditional result was False" } TASK [Test veth interface management] ****************************************** task path: /WORKDIR/git-bond_options_rewriteff4y5pq2/tests/tests_helpers_and_asserts.yml:9 Wednesday 14 February 2024 02:37:24 +0000 (0:00:00.011) 0:00:02.945 **** included: /WORKDIR/git-bond_options_rewriteff4y5pq2/tests/tasks/create_and_remove_interface.yml for sut TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-bond_options_rewriteff4y5pq2/tests/tasks/create_and_remove_interface.yml:3 Wednesday 14 February 2024 02:37:24 +0000 (0:00:00.023) 0:00:02.969 **** included: /WORKDIR/git-bond_options_rewriteff4y5pq2/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewriteff4y5pq2/tests/tasks/show_interfaces.yml:3 Wednesday 14 February 2024 02:37:24 +0000 (0:00:00.016) 0:00:02.986 **** included: /WORKDIR/git-bond_options_rewriteff4y5pq2/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewriteff4y5pq2/tests/tasks/get_current_interfaces.yml:3 Wednesday 14 February 2024 02:37:24 +0000 (0:00:00.023) 0:00:03.009 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003867", "end": "2024-02-14 02:37:24.403129", "rc": 0, "start": "2024-02-14 02:37:24.399262" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewriteff4y5pq2/tests/tasks/get_current_interfaces.yml:9 Wednesday 14 February 2024 02:37:24 +0000 (0:00:00.231) 0:00:03.240 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewriteff4y5pq2/tests/tasks/show_interfaces.yml:5 Wednesday 14 February 2024 02:37:24 +0000 (0:00:00.010) 0:00:03.250 **** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-bond_options_rewriteff4y5pq2/tests/tasks/create_and_remove_interface.yml:5 Wednesday 14 February 2024 02:37:24 +0000 (0:00:00.010) 0:00:03.261 **** included: /WORKDIR/git-bond_options_rewriteff4y5pq2/tests/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-bond_options_rewriteff4y5pq2/tests/tasks/manage_test_interface.yml:3 Wednesday 14 February 2024 02:37:24 +0000 (0:00:00.015) 0:00:03.277 **** 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_rewriteff4y5pq2/tests/tasks/manage_test_interface.yml:8 Wednesday 14 February 2024 02:37:24 +0000 (0:00:00.008) 0:00:03.286 **** 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_rewriteff4y5pq2/tests/tasks/manage_test_interface.yml:13 Wednesday 14 February 2024 02:37:24 +0000 (0:00:00.009) 0:00:03.295 **** included: /WORKDIR/git-bond_options_rewriteff4y5pq2/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewriteff4y5pq2/tests/tasks/show_interfaces.yml:3 Wednesday 14 February 2024 02:37:24 +0000 (0:00:00.011) 0:00:03.307 **** included: /WORKDIR/git-bond_options_rewriteff4y5pq2/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewriteff4y5pq2/tests/tasks/get_current_interfaces.yml:3 Wednesday 14 February 2024 02:37:24 +0000 (0:00:00.010) 0:00:03.317 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003994", "end": "2024-02-14 02:37:24.695331", "rc": 0, "start": "2024-02-14 02:37:24.691337" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewriteff4y5pq2/tests/tasks/get_current_interfaces.yml:9 Wednesday 14 February 2024 02:37:24 +0000 (0:00:00.215) 0:00:03.533 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewriteff4y5pq2/tests/tasks/show_interfaces.yml:5 Wednesday 14 February 2024 02:37:24 +0000 (0:00:00.011) 0:00:03.545 **** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-bond_options_rewriteff4y5pq2/tests/tasks/manage_test_interface.yml:16 Wednesday 14 February 2024 02:37:24 +0000 (0:00:00.012) 0:00:03.557 **** ok: [sut] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth1298] ****************************************** task path: /WORKDIR/git-bond_options_rewriteff4y5pq2/tests/tasks/manage_test_interface.yml:27 Wednesday 14 February 2024 02:37:27 +0000 (0:00:03.067) 0:00:06.625 **** 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_rewriteff4y5pq2/tests/tasks/manage_test_interface.yml:35 Wednesday 14 February 2024 02:37:27 +0000 (0:00:00.021) 0:00:06.646 **** 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_rewriteff4y5pq2/tests/tasks/manage_test_interface.yml:43 Wednesday 14 February 2024 02:37:27 +0000 (0:00:00.025) 0:00:06.672 **** 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_rewriteff4y5pq2/tests/tasks/manage_test_interface.yml:49 Wednesday 14 February 2024 02:37:27 +0000 (0:00:00.026) 0:00:06.699 **** 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_rewriteff4y5pq2/tests/tasks/manage_test_interface.yml:54 Wednesday 14 February 2024 02:37:27 +0000 (0:00:00.035) 0:00:06.734 **** 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_rewriteff4y5pq2/tests/tasks/manage_test_interface.yml:60 Wednesday 14 February 2024 02:37:27 +0000 (0:00:00.023) 0:00:06.757 **** 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_rewriteff4y5pq2/tests/tasks/manage_test_interface.yml:65 Wednesday 14 February 2024 02:37:27 +0000 (0:00:00.032) 0:00:06.789 **** 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_rewriteff4y5pq2/tests/tasks/create_and_remove_interface.yml:9 Wednesday 14 February 2024 02:37:27 +0000 (0:00:00.015) 0:00:06.804 **** included: /WORKDIR/git-bond_options_rewriteff4y5pq2/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewriteff4y5pq2/tests/tasks/show_interfaces.yml:3 Wednesday 14 February 2024 02:37:28 +0000 (0:00:00.048) 0:00:06.852 **** included: /WORKDIR/git-bond_options_rewriteff4y5pq2/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewriteff4y5pq2/tests/tasks/get_current_interfaces.yml:3 Wednesday 14 February 2024 02:37:28 +0000 (0:00:00.034) 0:00:06.887 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003777", "end": "2024-02-14 02:37:28.326890", "rc": 0, "start": "2024-02-14 02:37:28.323113" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewriteff4y5pq2/tests/tasks/get_current_interfaces.yml:9 Wednesday 14 February 2024 02:37:28 +0000 (0:00:00.281) 0:00:07.169 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewriteff4y5pq2/tests/tasks/show_interfaces.yml:5 Wednesday 14 February 2024 02:37:28 +0000 (0:00:00.021) 0:00:07.190 **** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Include the task 'assert_device_absent.yml'] ***************************** task path: /WORKDIR/git-bond_options_rewriteff4y5pq2/tests/tasks/create_and_remove_interface.yml:11 Wednesday 14 February 2024 02:37:28 +0000 (0:00:00.010) 0:00:07.201 **** included: /WORKDIR/git-bond_options_rewriteff4y5pq2/tests/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewriteff4y5pq2/tests/tasks/assert_device_absent.yml:3 Wednesday 14 February 2024 02:37:28 +0000 (0:00:00.023) 0:00:07.224 **** included: /WORKDIR/git-bond_options_rewriteff4y5pq2/tests/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth1298] ***************************************** task path: /WORKDIR/git-bond_options_rewriteff4y5pq2/tests/tasks/get_interface_stat.yml:3 Wednesday 14 February 2024 02:37:28 +0000 (0:00:00.012) 0:00:07.236 **** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'veth1298'] ************************ task path: /WORKDIR/git-bond_options_rewriteff4y5pq2/tests/tasks/assert_device_absent.yml:5 Wednesday 14 February 2024 02:37:28 +0000 (0:00:00.229) 0:00:07.466 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-bond_options_rewriteff4y5pq2/tests/tasks/create_and_remove_interface.yml:14 Wednesday 14 February 2024 02:37:28 +0000 (0:00:00.015) 0:00:07.481 **** included: /WORKDIR/git-bond_options_rewriteff4y5pq2/tests/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-bond_options_rewriteff4y5pq2/tests/tasks/manage_test_interface.yml:3 Wednesday 14 February 2024 02:37:28 +0000 (0:00:00.018) 0:00:07.499 **** 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_rewriteff4y5pq2/tests/tasks/manage_test_interface.yml:8 Wednesday 14 February 2024 02:37:28 +0000 (0:00:00.008) 0:00:07.508 **** 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_rewriteff4y5pq2/tests/tasks/manage_test_interface.yml:13 Wednesday 14 February 2024 02:37:28 +0000 (0:00:00.009) 0:00:07.517 **** included: /WORKDIR/git-bond_options_rewriteff4y5pq2/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewriteff4y5pq2/tests/tasks/show_interfaces.yml:3 Wednesday 14 February 2024 02:37:28 +0000 (0:00:00.015) 0:00:07.533 **** included: /WORKDIR/git-bond_options_rewriteff4y5pq2/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewriteff4y5pq2/tests/tasks/get_current_interfaces.yml:3 Wednesday 14 February 2024 02:37:28 +0000 (0:00:00.016) 0:00:07.549 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003863", "end": "2024-02-14 02:37:28.937956", "rc": 0, "start": "2024-02-14 02:37:28.934093" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewriteff4y5pq2/tests/tasks/get_current_interfaces.yml:9 Wednesday 14 February 2024 02:37:28 +0000 (0:00:00.234) 0:00:07.784 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewriteff4y5pq2/tests/tasks/show_interfaces.yml:5 Wednesday 14 February 2024 02:37:28 +0000 (0:00:00.016) 0:00:07.801 **** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-bond_options_rewriteff4y5pq2/tests/tasks/manage_test_interface.yml:16 Wednesday 14 February 2024 02:37:28 +0000 (0:00:00.011) 0:00:07.812 **** ok: [sut] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth1298] ****************************************** task path: /WORKDIR/git-bond_options_rewriteff4y5pq2/tests/tasks/manage_test_interface.yml:27 Wednesday 14 February 2024 02:37:31 +0000 (0:00:02.817) 0:00:10.629 **** 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.009707", "end": "2024-02-14 02:37:32.022545", "item": "ip link add veth1298 type veth peer name peerveth1298", "rc": 0, "start": "2024-02-14 02:37:32.012838" } ok: [sut] => (item=ip link set peerveth1298 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peerveth1298", "up" ], "delta": "0:00:00.004421", "end": "2024-02-14 02:37:32.279063", "item": "ip link set peerveth1298 up", "rc": 0, "start": "2024-02-14 02:37:32.274642" } ok: [sut] => (item=ip link set veth1298 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "veth1298", "up" ], "delta": "0:00:00.004945", "end": "2024-02-14 02:37:32.500921", "item": "ip link set veth1298 up", "rc": 0, "start": "2024-02-14 02:37:32.495976" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-bond_options_rewriteff4y5pq2/tests/tasks/manage_test_interface.yml:35 Wednesday 14 February 2024 02:37:32 +0000 (0:00:00.718) 0:00:11.348 **** ok: [sut] => { "changed": false, "cmd": [ "nmcli", "d", "set", "veth1298", "managed", "true" ], "delta": "0:00:00.026800", "end": "2024-02-14 02:37:32.752399", "rc": 0, "start": "2024-02-14 02:37:32.725599" } TASK [Delete veth interface veth1298] ****************************************** task path: /WORKDIR/git-bond_options_rewriteff4y5pq2/tests/tasks/manage_test_interface.yml:43 Wednesday 14 February 2024 02:37:32 +0000 (0:00:00.247) 0:00:11.595 **** 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_rewriteff4y5pq2/tests/tasks/manage_test_interface.yml:49 Wednesday 14 February 2024 02:37:32 +0000 (0:00:00.010) 0:00:11.606 **** 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_rewriteff4y5pq2/tests/tasks/manage_test_interface.yml:54 Wednesday 14 February 2024 02:37:32 +0000 (0:00:00.026) 0:00:11.632 **** 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_rewriteff4y5pq2/tests/tasks/manage_test_interface.yml:60 Wednesday 14 February 2024 02:37:32 +0000 (0:00:00.009) 0:00:11.642 **** 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_rewriteff4y5pq2/tests/tasks/manage_test_interface.yml:65 Wednesday 14 February 2024 02:37:32 +0000 (0:00:00.014) 0:00:11.656 **** 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_rewriteff4y5pq2/tests/tasks/create_and_remove_interface.yml:18 Wednesday 14 February 2024 02:37:32 +0000 (0:00:00.010) 0:00:11.667 **** included: /WORKDIR/git-bond_options_rewriteff4y5pq2/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewriteff4y5pq2/tests/tasks/show_interfaces.yml:3 Wednesday 14 February 2024 02:37:32 +0000 (0:00:00.019) 0:00:11.687 **** included: /WORKDIR/git-bond_options_rewriteff4y5pq2/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewriteff4y5pq2/tests/tasks/get_current_interfaces.yml:3 Wednesday 14 February 2024 02:37:32 +0000 (0:00:00.011) 0:00:11.699 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003819", "end": "2024-02-14 02:37:33.096309", "rc": 0, "start": "2024-02-14 02:37:33.092490" } STDOUT: bonding_masters eth0 lo peerveth1298 veth1298 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewriteff4y5pq2/tests/tasks/get_current_interfaces.yml:9 Wednesday 14 February 2024 02:37:33 +0000 (0:00:00.234) 0:00:11.933 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "peerveth1298", "veth1298" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewriteff4y5pq2/tests/tasks/show_interfaces.yml:5 Wednesday 14 February 2024 02:37:33 +0000 (0:00:00.011) 0:00:11.944 **** 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_rewriteff4y5pq2/tests/tasks/create_and_remove_interface.yml:20 Wednesday 14 February 2024 02:37:33 +0000 (0:00:00.010) 0:00:11.954 **** included: /WORKDIR/git-bond_options_rewriteff4y5pq2/tests/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewriteff4y5pq2/tests/tasks/assert_device_present.yml:3 Wednesday 14 February 2024 02:37:33 +0000 (0:00:00.017) 0:00:11.972 **** included: /WORKDIR/git-bond_options_rewriteff4y5pq2/tests/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth1298] ***************************************** task path: /WORKDIR/git-bond_options_rewriteff4y5pq2/tests/tasks/get_interface_stat.yml:3 Wednesday 14 February 2024 02:37:33 +0000 (0:00:00.011) 0:00:11.984 **** ok: [sut] => { "changed": false, "stat": { "atime": 1707878252.0169847, "block_size": 4096, "blocks": 0, "ctime": 1707878252.0169847, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 28902, "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": 1707878252.0169847, "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_rewriteff4y5pq2/tests/tasks/assert_device_present.yml:5 Wednesday 14 February 2024 02:37:33 +0000 (0:00:00.223) 0:00:12.208 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-bond_options_rewriteff4y5pq2/tests/tasks/create_and_remove_interface.yml:23 Wednesday 14 February 2024 02:37:33 +0000 (0:00:00.013) 0:00:12.221 **** included: /WORKDIR/git-bond_options_rewriteff4y5pq2/tests/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-bond_options_rewriteff4y5pq2/tests/tasks/manage_test_interface.yml:3 Wednesday 14 February 2024 02:37:33 +0000 (0:00:00.025) 0:00:12.246 **** skipping: [sut] => { "changed": false, "false_condition": "state not in [\"present\", \"absent\"]", "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /WORKDIR/git-bond_options_rewriteff4y5pq2/tests/tasks/manage_test_interface.yml:8 Wednesday 14 February 2024 02:37:33 +0000 (0:00:00.008) 0:00:12.255 **** skipping: [sut] => { "changed": false, "false_condition": "type not in [\"dummy\", \"tap\", \"veth\"]", "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-bond_options_rewriteff4y5pq2/tests/tasks/manage_test_interface.yml:13 Wednesday 14 February 2024 02:37:33 +0000 (0:00:00.008) 0:00:12.264 **** included: /WORKDIR/git-bond_options_rewriteff4y5pq2/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewriteff4y5pq2/tests/tasks/show_interfaces.yml:3 Wednesday 14 February 2024 02:37:33 +0000 (0:00:00.013) 0:00:12.277 **** included: /WORKDIR/git-bond_options_rewriteff4y5pq2/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewriteff4y5pq2/tests/tasks/get_current_interfaces.yml:3 Wednesday 14 February 2024 02:37:33 +0000 (0:00:00.010) 0:00:12.288 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.004406", "end": "2024-02-14 02:37:33.674639", "rc": 0, "start": "2024-02-14 02:37:33.670233" } STDOUT: bonding_masters eth0 lo peerveth1298 veth1298 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewriteff4y5pq2/tests/tasks/get_current_interfaces.yml:9 Wednesday 14 February 2024 02:37:33 +0000 (0:00:00.224) 0:00:12.512 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "peerveth1298", "veth1298" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewriteff4y5pq2/tests/tasks/show_interfaces.yml:5 Wednesday 14 February 2024 02:37:33 +0000 (0:00:00.011) 0:00:12.524 **** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'peerveth1298', 'veth1298'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-bond_options_rewriteff4y5pq2/tests/tasks/manage_test_interface.yml:16 Wednesday 14 February 2024 02:37:33 +0000 (0:00:00.009) 0:00:12.533 **** ok: [sut] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth1298] ****************************************** task path: /WORKDIR/git-bond_options_rewriteff4y5pq2/tests/tasks/manage_test_interface.yml:27 Wednesday 14 February 2024 02:37:36 +0000 (0:00:02.807) 0:00:15.341 **** 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_rewriteff4y5pq2/tests/tasks/manage_test_interface.yml:35 Wednesday 14 February 2024 02:37:36 +0000 (0:00:00.023) 0:00:15.364 **** 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_rewriteff4y5pq2/tests/tasks/manage_test_interface.yml:43 Wednesday 14 February 2024 02:37:36 +0000 (0:00:00.011) 0:00:15.376 **** ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "veth1298", "type", "veth" ], "delta": "0:00:00.009449", "end": "2024-02-14 02:37:36.769866", "rc": 0, "start": "2024-02-14 02:37:36.760417" } TASK [Create dummy interface veth1298] ***************************************** task path: /WORKDIR/git-bond_options_rewriteff4y5pq2/tests/tasks/manage_test_interface.yml:49 Wednesday 14 February 2024 02:37:36 +0000 (0:00:00.234) 0:00:15.610 **** 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_rewriteff4y5pq2/tests/tasks/manage_test_interface.yml:54 Wednesday 14 February 2024 02:37:36 +0000 (0:00:00.010) 0:00:15.620 **** 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_rewriteff4y5pq2/tests/tasks/manage_test_interface.yml:60 Wednesday 14 February 2024 02:37:36 +0000 (0:00:00.010) 0:00:15.631 **** 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_rewriteff4y5pq2/tests/tasks/manage_test_interface.yml:65 Wednesday 14 February 2024 02:37:36 +0000 (0:00:00.010) 0:00:15.642 **** 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_rewriteff4y5pq2/tests/tasks/create_and_remove_interface.yml:27 Wednesday 14 February 2024 02:37:36 +0000 (0:00:00.013) 0:00:15.655 **** included: /WORKDIR/git-bond_options_rewriteff4y5pq2/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewriteff4y5pq2/tests/tasks/show_interfaces.yml:3 Wednesday 14 February 2024 02:37:36 +0000 (0:00:00.027) 0:00:15.682 **** included: /WORKDIR/git-bond_options_rewriteff4y5pq2/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewriteff4y5pq2/tests/tasks/get_current_interfaces.yml:3 Wednesday 14 February 2024 02:37:36 +0000 (0:00:00.013) 0:00:15.696 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003927", "end": "2024-02-14 02:37:37.076341", "rc": 0, "start": "2024-02-14 02:37:37.072414" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewriteff4y5pq2/tests/tasks/get_current_interfaces.yml:9 Wednesday 14 February 2024 02:37:37 +0000 (0:00:00.217) 0:00:15.913 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewriteff4y5pq2/tests/tasks/show_interfaces.yml:5 Wednesday 14 February 2024 02:37:37 +0000 (0:00:00.013) 0:00:15.927 **** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Include the task 'assert_device_absent.yml'] ***************************** task path: /WORKDIR/git-bond_options_rewriteff4y5pq2/tests/tasks/create_and_remove_interface.yml:29 Wednesday 14 February 2024 02:37:37 +0000 (0:00:00.016) 0:00:15.943 **** included: /WORKDIR/git-bond_options_rewriteff4y5pq2/tests/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewriteff4y5pq2/tests/tasks/assert_device_absent.yml:3 Wednesday 14 February 2024 02:37:37 +0000 (0:00:00.021) 0:00:15.965 **** included: /WORKDIR/git-bond_options_rewriteff4y5pq2/tests/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth1298] ***************************************** task path: /WORKDIR/git-bond_options_rewriteff4y5pq2/tests/tasks/get_interface_stat.yml:3 Wednesday 14 February 2024 02:37:37 +0000 (0:00:00.015) 0:00:15.980 **** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'veth1298'] ************************ task path: /WORKDIR/git-bond_options_rewriteff4y5pq2/tests/tasks/assert_device_absent.yml:5 Wednesday 14 February 2024 02:37:37 +0000 (0:00:00.234) 0:00:16.214 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test veth interface management] ****************************************** task path: /WORKDIR/git-bond_options_rewriteff4y5pq2/tests/tests_helpers_and_asserts.yml:15 Wednesday 14 February 2024 02:37:37 +0000 (0:00:00.017) 0:00:16.231 **** included: /WORKDIR/git-bond_options_rewriteff4y5pq2/tests/tasks/create_and_remove_interface.yml for sut TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-bond_options_rewriteff4y5pq2/tests/tasks/create_and_remove_interface.yml:3 Wednesday 14 February 2024 02:37:37 +0000 (0:00:00.035) 0:00:16.267 **** included: /WORKDIR/git-bond_options_rewriteff4y5pq2/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewriteff4y5pq2/tests/tasks/show_interfaces.yml:3 Wednesday 14 February 2024 02:37:37 +0000 (0:00:00.030) 0:00:16.297 **** included: /WORKDIR/git-bond_options_rewriteff4y5pq2/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewriteff4y5pq2/tests/tasks/get_current_interfaces.yml:3 Wednesday 14 February 2024 02:37:37 +0000 (0:00:00.030) 0:00:16.327 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003953", "end": "2024-02-14 02:37:37.712082", "rc": 0, "start": "2024-02-14 02:37:37.708129" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewriteff4y5pq2/tests/tasks/get_current_interfaces.yml:9 Wednesday 14 February 2024 02:37:37 +0000 (0:00:00.238) 0:00:16.565 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewriteff4y5pq2/tests/tasks/show_interfaces.yml:5 Wednesday 14 February 2024 02:37:37 +0000 (0:00:00.012) 0:00:16.577 **** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-bond_options_rewriteff4y5pq2/tests/tasks/create_and_remove_interface.yml:5 Wednesday 14 February 2024 02:37:37 +0000 (0:00:00.021) 0:00:16.599 **** included: /WORKDIR/git-bond_options_rewriteff4y5pq2/tests/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-bond_options_rewriteff4y5pq2/tests/tasks/manage_test_interface.yml:3 Wednesday 14 February 2024 02:37:37 +0000 (0:00:00.025) 0:00:16.624 **** 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_rewriteff4y5pq2/tests/tasks/manage_test_interface.yml:8 Wednesday 14 February 2024 02:37:37 +0000 (0:00:00.019) 0:00:16.643 **** 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_rewriteff4y5pq2/tests/tasks/manage_test_interface.yml:13 Wednesday 14 February 2024 02:37:37 +0000 (0:00:00.017) 0:00:16.661 **** included: /WORKDIR/git-bond_options_rewriteff4y5pq2/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewriteff4y5pq2/tests/tasks/show_interfaces.yml:3 Wednesday 14 February 2024 02:37:37 +0000 (0:00:00.027) 0:00:16.688 **** included: /WORKDIR/git-bond_options_rewriteff4y5pq2/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewriteff4y5pq2/tests/tasks/get_current_interfaces.yml:3 Wednesday 14 February 2024 02:37:37 +0000 (0:00:00.037) 0:00:16.726 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.004022", "end": "2024-02-14 02:37:38.157543", "rc": 0, "start": "2024-02-14 02:37:38.153521" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewriteff4y5pq2/tests/tasks/get_current_interfaces.yml:9 Wednesday 14 February 2024 02:37:38 +0000 (0:00:00.280) 0:00:17.007 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewriteff4y5pq2/tests/tasks/show_interfaces.yml:5 Wednesday 14 February 2024 02:37:38 +0000 (0:00:00.013) 0:00:17.020 **** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-bond_options_rewriteff4y5pq2/tests/tasks/manage_test_interface.yml:16 Wednesday 14 February 2024 02:37:38 +0000 (0:00:00.012) 0:00:17.033 **** ok: [sut] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface dummy1298] ***************************************** task path: /WORKDIR/git-bond_options_rewriteff4y5pq2/tests/tasks/manage_test_interface.yml:27 Wednesday 14 February 2024 02:37:41 +0000 (0:00:02.838) 0:00:19.871 **** 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_rewriteff4y5pq2/tests/tasks/manage_test_interface.yml:35 Wednesday 14 February 2024 02:37:41 +0000 (0:00:00.016) 0:00:19.888 **** 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_rewriteff4y5pq2/tests/tasks/manage_test_interface.yml:43 Wednesday 14 February 2024 02:37:41 +0000 (0:00:00.008) 0:00:19.897 **** 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_rewriteff4y5pq2/tests/tasks/manage_test_interface.yml:49 Wednesday 14 February 2024 02:37:41 +0000 (0:00:00.009) 0:00:19.906 **** 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_rewriteff4y5pq2/tests/tasks/manage_test_interface.yml:54 Wednesday 14 February 2024 02:37:41 +0000 (0:00:00.011) 0:00:19.917 **** 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_rewriteff4y5pq2/tests/tasks/manage_test_interface.yml:60 Wednesday 14 February 2024 02:37:41 +0000 (0:00:00.015) 0:00:19.933 **** 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_rewriteff4y5pq2/tests/tasks/manage_test_interface.yml:65 Wednesday 14 February 2024 02:37:41 +0000 (0:00:00.009) 0:00:19.943 **** 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_rewriteff4y5pq2/tests/tasks/create_and_remove_interface.yml:9 Wednesday 14 February 2024 02:37:41 +0000 (0:00:00.010) 0:00:19.953 **** included: /WORKDIR/git-bond_options_rewriteff4y5pq2/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewriteff4y5pq2/tests/tasks/show_interfaces.yml:3 Wednesday 14 February 2024 02:37:41 +0000 (0:00:00.019) 0:00:19.972 **** included: /WORKDIR/git-bond_options_rewriteff4y5pq2/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewriteff4y5pq2/tests/tasks/get_current_interfaces.yml:3 Wednesday 14 February 2024 02:37:41 +0000 (0:00:00.011) 0:00:19.984 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003922", "end": "2024-02-14 02:37:41.368477", "rc": 0, "start": "2024-02-14 02:37:41.364555" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewriteff4y5pq2/tests/tasks/get_current_interfaces.yml:9 Wednesday 14 February 2024 02:37:41 +0000 (0:00:00.220) 0:00:20.205 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewriteff4y5pq2/tests/tasks/show_interfaces.yml:5 Wednesday 14 February 2024 02:37:41 +0000 (0:00:00.012) 0:00:20.218 **** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Include the task 'assert_device_absent.yml'] ***************************** task path: /WORKDIR/git-bond_options_rewriteff4y5pq2/tests/tasks/create_and_remove_interface.yml:11 Wednesday 14 February 2024 02:37:41 +0000 (0:00:00.012) 0:00:20.230 **** included: /WORKDIR/git-bond_options_rewriteff4y5pq2/tests/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewriteff4y5pq2/tests/tasks/assert_device_absent.yml:3 Wednesday 14 February 2024 02:37:41 +0000 (0:00:00.015) 0:00:20.246 **** included: /WORKDIR/git-bond_options_rewriteff4y5pq2/tests/tasks/get_interface_stat.yml for sut TASK [Get stat for interface dummy1298] **************************************** task path: /WORKDIR/git-bond_options_rewriteff4y5pq2/tests/tasks/get_interface_stat.yml:3 Wednesday 14 February 2024 02:37:41 +0000 (0:00:00.018) 0:00:20.265 **** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'dummy1298'] *********************** task path: /WORKDIR/git-bond_options_rewriteff4y5pq2/tests/tasks/assert_device_absent.yml:5 Wednesday 14 February 2024 02:37:41 +0000 (0:00:00.237) 0:00:20.502 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-bond_options_rewriteff4y5pq2/tests/tasks/create_and_remove_interface.yml:14 Wednesday 14 February 2024 02:37:41 +0000 (0:00:00.011) 0:00:20.514 **** included: /WORKDIR/git-bond_options_rewriteff4y5pq2/tests/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-bond_options_rewriteff4y5pq2/tests/tasks/manage_test_interface.yml:3 Wednesday 14 February 2024 02:37:41 +0000 (0:00:00.017) 0:00:20.531 **** skipping: [sut] => { "changed": false, "false_condition": "state not in [\"present\", \"absent\"]", "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /WORKDIR/git-bond_options_rewriteff4y5pq2/tests/tasks/manage_test_interface.yml:8 Wednesday 14 February 2024 02:37:41 +0000 (0:00:00.010) 0:00:20.542 **** 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_rewriteff4y5pq2/tests/tasks/manage_test_interface.yml:13 Wednesday 14 February 2024 02:37:41 +0000 (0:00:00.008) 0:00:20.550 **** included: /WORKDIR/git-bond_options_rewriteff4y5pq2/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewriteff4y5pq2/tests/tasks/show_interfaces.yml:3 Wednesday 14 February 2024 02:37:41 +0000 (0:00:00.012) 0:00:20.562 **** included: /WORKDIR/git-bond_options_rewriteff4y5pq2/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewriteff4y5pq2/tests/tasks/get_current_interfaces.yml:3 Wednesday 14 February 2024 02:37:41 +0000 (0:00:00.009) 0:00:20.572 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003816", "end": "2024-02-14 02:37:41.951381", "rc": 0, "start": "2024-02-14 02:37:41.947565" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewriteff4y5pq2/tests/tasks/get_current_interfaces.yml:9 Wednesday 14 February 2024 02:37:41 +0000 (0:00:00.239) 0:00:20.812 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewriteff4y5pq2/tests/tasks/show_interfaces.yml:5 Wednesday 14 February 2024 02:37:42 +0000 (0:00:00.022) 0:00:20.834 **** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-bond_options_rewriteff4y5pq2/tests/tasks/manage_test_interface.yml:16 Wednesday 14 February 2024 02:37:42 +0000 (0:00:00.012) 0:00:20.847 **** ok: [sut] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface dummy1298] ***************************************** task path: /WORKDIR/git-bond_options_rewriteff4y5pq2/tests/tasks/manage_test_interface.yml:27 Wednesday 14 February 2024 02:37:44 +0000 (0:00:02.844) 0:00:23.692 **** 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_rewriteff4y5pq2/tests/tasks/manage_test_interface.yml:35 Wednesday 14 February 2024 02:37:44 +0000 (0:00:00.018) 0:00:23.710 **** 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_rewriteff4y5pq2/tests/tasks/manage_test_interface.yml:43 Wednesday 14 February 2024 02:37:44 +0000 (0:00:00.011) 0:00:23.721 **** 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_rewriteff4y5pq2/tests/tasks/manage_test_interface.yml:49 Wednesday 14 February 2024 02:37:44 +0000 (0:00:00.010) 0:00:23.732 **** ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "add", "dummy1298", "type", "dummy" ], "delta": "0:00:00.012133", "end": "2024-02-14 02:37:45.121680", "rc": 0, "start": "2024-02-14 02:37:45.109547" } TASK [Delete dummy interface dummy1298] **************************************** task path: /WORKDIR/git-bond_options_rewriteff4y5pq2/tests/tasks/manage_test_interface.yml:54 Wednesday 14 February 2024 02:37:45 +0000 (0:00:00.246) 0:00:23.979 **** 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_rewriteff4y5pq2/tests/tasks/manage_test_interface.yml:60 Wednesday 14 February 2024 02:37:45 +0000 (0:00:00.012) 0:00:23.992 **** 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_rewriteff4y5pq2/tests/tasks/manage_test_interface.yml:65 Wednesday 14 February 2024 02:37:45 +0000 (0:00:00.013) 0:00:24.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_rewriteff4y5pq2/tests/tasks/create_and_remove_interface.yml:18 Wednesday 14 February 2024 02:37:45 +0000 (0:00:00.010) 0:00:24.016 **** included: /WORKDIR/git-bond_options_rewriteff4y5pq2/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewriteff4y5pq2/tests/tasks/show_interfaces.yml:3 Wednesday 14 February 2024 02:37:45 +0000 (0:00:00.023) 0:00:24.039 **** included: /WORKDIR/git-bond_options_rewriteff4y5pq2/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewriteff4y5pq2/tests/tasks/get_current_interfaces.yml:3 Wednesday 14 February 2024 02:37:45 +0000 (0:00:00.015) 0:00:24.054 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003995", "end": "2024-02-14 02:37:45.438544", "rc": 0, "start": "2024-02-14 02:37:45.434549" } STDOUT: bonding_masters dummy1298 eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewriteff4y5pq2/tests/tasks/get_current_interfaces.yml:9 Wednesday 14 February 2024 02:37:45 +0000 (0:00:00.222) 0:00:24.276 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "dummy1298", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewriteff4y5pq2/tests/tasks/show_interfaces.yml:5 Wednesday 14 February 2024 02:37:45 +0000 (0:00:00.010) 0:00:24.287 **** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'dummy1298', 'eth0', 'lo'] TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-bond_options_rewriteff4y5pq2/tests/tasks/create_and_remove_interface.yml:20 Wednesday 14 February 2024 02:37:45 +0000 (0:00:00.011) 0:00:24.298 **** included: /WORKDIR/git-bond_options_rewriteff4y5pq2/tests/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewriteff4y5pq2/tests/tasks/assert_device_present.yml:3 Wednesday 14 February 2024 02:37:45 +0000 (0:00:00.017) 0:00:24.316 **** included: /WORKDIR/git-bond_options_rewriteff4y5pq2/tests/tasks/get_interface_stat.yml for sut TASK [Get stat for interface dummy1298] **************************************** task path: /WORKDIR/git-bond_options_rewriteff4y5pq2/tests/tasks/get_interface_stat.yml:3 Wednesday 14 February 2024 02:37:45 +0000 (0:00:00.013) 0:00:24.329 **** ok: [sut] => { "changed": false, "stat": { "atime": 1707878265.1193795, "block_size": 4096, "blocks": 0, "ctime": 1707878265.1193795, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 29225, "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": 1707878265.1193795, "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_rewriteff4y5pq2/tests/tasks/assert_device_present.yml:5 Wednesday 14 February 2024 02:37:45 +0000 (0:00:00.227) 0:00:24.557 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-bond_options_rewriteff4y5pq2/tests/tasks/create_and_remove_interface.yml:23 Wednesday 14 February 2024 02:37:45 +0000 (0:00:00.013) 0:00:24.571 **** included: /WORKDIR/git-bond_options_rewriteff4y5pq2/tests/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-bond_options_rewriteff4y5pq2/tests/tasks/manage_test_interface.yml:3 Wednesday 14 February 2024 02:37:45 +0000 (0:00:00.030) 0:00:24.601 **** 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_rewriteff4y5pq2/tests/tasks/manage_test_interface.yml:8 Wednesday 14 February 2024 02:37:45 +0000 (0:00:00.009) 0:00:24.611 **** skipping: [sut] => { "changed": false, "false_condition": "type not in [\"dummy\", \"tap\", \"veth\"]", "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-bond_options_rewriteff4y5pq2/tests/tasks/manage_test_interface.yml:13 Wednesday 14 February 2024 02:37:45 +0000 (0:00:00.016) 0:00:24.627 **** included: /WORKDIR/git-bond_options_rewriteff4y5pq2/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewriteff4y5pq2/tests/tasks/show_interfaces.yml:3 Wednesday 14 February 2024 02:37:45 +0000 (0:00:00.019) 0:00:24.647 **** included: /WORKDIR/git-bond_options_rewriteff4y5pq2/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewriteff4y5pq2/tests/tasks/get_current_interfaces.yml:3 Wednesday 14 February 2024 02:37:45 +0000 (0:00:00.011) 0:00:24.658 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003803", "end": "2024-02-14 02:37:46.040893", "rc": 0, "start": "2024-02-14 02:37:46.037090" } STDOUT: bonding_masters dummy1298 eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewriteff4y5pq2/tests/tasks/get_current_interfaces.yml:9 Wednesday 14 February 2024 02:37:46 +0000 (0:00:00.219) 0:00:24.878 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "dummy1298", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewriteff4y5pq2/tests/tasks/show_interfaces.yml:5 Wednesday 14 February 2024 02:37:46 +0000 (0:00:00.012) 0:00:24.890 **** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'dummy1298', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-bond_options_rewriteff4y5pq2/tests/tasks/manage_test_interface.yml:16 Wednesday 14 February 2024 02:37:46 +0000 (0:00:00.011) 0:00:24.901 **** ok: [sut] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface dummy1298] ***************************************** task path: /WORKDIR/git-bond_options_rewriteff4y5pq2/tests/tasks/manage_test_interface.yml:27 Wednesday 14 February 2024 02:37:48 +0000 (0:00:02.839) 0:00:27.741 **** 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_rewriteff4y5pq2/tests/tasks/manage_test_interface.yml:35 Wednesday 14 February 2024 02:37:48 +0000 (0:00:00.021) 0:00:27.763 **** 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_rewriteff4y5pq2/tests/tasks/manage_test_interface.yml:43 Wednesday 14 February 2024 02:37:48 +0000 (0:00:00.011) 0:00:27.774 **** 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_rewriteff4y5pq2/tests/tasks/manage_test_interface.yml:49 Wednesday 14 February 2024 02:37:48 +0000 (0:00:00.014) 0:00:27.789 **** 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_rewriteff4y5pq2/tests/tasks/manage_test_interface.yml:54 Wednesday 14 February 2024 02:37:48 +0000 (0:00:00.022) 0:00:27.811 **** ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "dummy1298", "type", "dummy" ], "delta": "0:00:00.010752", "end": "2024-02-14 02:37:49.206871", "rc": 0, "start": "2024-02-14 02:37:49.196119" } TASK [Create tap interface dummy1298] ****************************************** task path: /WORKDIR/git-bond_options_rewriteff4y5pq2/tests/tasks/manage_test_interface.yml:60 Wednesday 14 February 2024 02:37:49 +0000 (0:00:00.232) 0:00:28.044 **** 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_rewriteff4y5pq2/tests/tasks/manage_test_interface.yml:65 Wednesday 14 February 2024 02:37:49 +0000 (0:00:00.009) 0:00:28.054 **** 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_rewriteff4y5pq2/tests/tasks/create_and_remove_interface.yml:27 Wednesday 14 February 2024 02:37:49 +0000 (0:00:00.009) 0:00:28.063 **** included: /WORKDIR/git-bond_options_rewriteff4y5pq2/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewriteff4y5pq2/tests/tasks/show_interfaces.yml:3 Wednesday 14 February 2024 02:37:49 +0000 (0:00:00.020) 0:00:28.084 **** included: /WORKDIR/git-bond_options_rewriteff4y5pq2/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewriteff4y5pq2/tests/tasks/get_current_interfaces.yml:3 Wednesday 14 February 2024 02:37:49 +0000 (0:00:00.012) 0:00:28.096 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003961", "end": "2024-02-14 02:37:49.478074", "rc": 0, "start": "2024-02-14 02:37:49.474113" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewriteff4y5pq2/tests/tasks/get_current_interfaces.yml:9 Wednesday 14 February 2024 02:37:49 +0000 (0:00:00.219) 0:00:28.316 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewriteff4y5pq2/tests/tasks/show_interfaces.yml:5 Wednesday 14 February 2024 02:37:49 +0000 (0:00:00.031) 0:00:28.347 **** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Include the task 'assert_device_absent.yml'] ***************************** task path: /WORKDIR/git-bond_options_rewriteff4y5pq2/tests/tasks/create_and_remove_interface.yml:29 Wednesday 14 February 2024 02:37:49 +0000 (0:00:00.014) 0:00:28.362 **** included: /WORKDIR/git-bond_options_rewriteff4y5pq2/tests/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewriteff4y5pq2/tests/tasks/assert_device_absent.yml:3 Wednesday 14 February 2024 02:37:49 +0000 (0:00:00.071) 0:00:28.433 **** included: /WORKDIR/git-bond_options_rewriteff4y5pq2/tests/tasks/get_interface_stat.yml for sut TASK [Get stat for interface dummy1298] **************************************** task path: /WORKDIR/git-bond_options_rewriteff4y5pq2/tests/tasks/get_interface_stat.yml:3 Wednesday 14 February 2024 02:37:49 +0000 (0:00:00.019) 0:00:28.452 **** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'dummy1298'] *********************** task path: /WORKDIR/git-bond_options_rewriteff4y5pq2/tests/tasks/assert_device_absent.yml:5 Wednesday 14 February 2024 02:37:49 +0000 (0:00:00.240) 0:00:28.693 **** ok: [sut] => { "changed": false } MSG: All assertions passed PLAY RECAP ********************************************************************* sut : ok=121 changed=0 unreachable=0 failed=0 skipped=53 rescued=0 ignored=0 Wednesday 14 February 2024 02:37:49 +0000 (0:00:00.019) 0:00:28.712 **** =============================================================================== Install iproute --------------------------------------------------------- 3.07s /WORKDIR/git-bond_options_rewriteff4y5pq2/tests/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 2.84s /WORKDIR/git-bond_options_rewriteff4y5pq2/tests/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 2.84s /WORKDIR/git-bond_options_rewriteff4y5pq2/tests/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 2.84s /WORKDIR/git-bond_options_rewriteff4y5pq2/tests/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 2.82s /WORKDIR/git-bond_options_rewriteff4y5pq2/tests/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 2.81s /WORKDIR/git-bond_options_rewriteff4y5pq2/tests/tasks/manage_test_interface.yml:16 Gathering Facts --------------------------------------------------------- 1.23s /WORKDIR/git-bond_options_rewriteff4y5pq2/tests/tests_helpers_and_asserts.yml:3 Create veth interface veth1298 ------------------------------------------ 0.72s /WORKDIR/git-bond_options_rewriteff4y5pq2/tests/tasks/manage_test_interface.yml:27 Enable EPEL 8 ----------------------------------------------------------- 0.49s /WORKDIR/git-bond_options_rewriteff4y5pq2/tests/tasks/enable_epel.yml:35 ------ Gather the minimum subset of ansible_facts required by the network role test --- 0.42s /WORKDIR/git-bond_options_rewriteff4y5pq2/tests/tasks/el_repo_setup.yml:3 ----- Check if system is ostree ----------------------------------------------- 0.32s /WORKDIR/git-bond_options_rewriteff4y5pq2/tests/tasks/el_repo_setup.yml:17 ---- Create EPEL 8 ----------------------------------------------------------- 0.30s /WORKDIR/git-bond_options_rewriteff4y5pq2/tests/tasks/enable_epel.yml:8 ------- Gather current interface info ------------------------------------------- 0.28s /WORKDIR/git-bond_options_rewriteff4y5pq2/tests/tasks/get_current_interfaces.yml:3 Gather current interface info ------------------------------------------- 0.28s /WORKDIR/git-bond_options_rewriteff4y5pq2/tests/tasks/get_current_interfaces.yml:3 Set up veth as managed by NetworkManager -------------------------------- 0.25s /WORKDIR/git-bond_options_rewriteff4y5pq2/tests/tasks/manage_test_interface.yml:35 Create dummy interface dummy1298 ---------------------------------------- 0.25s /WORKDIR/git-bond_options_rewriteff4y5pq2/tests/tasks/manage_test_interface.yml:49 Get stat for interface dummy1298 ---------------------------------------- 0.24s /WORKDIR/git-bond_options_rewriteff4y5pq2/tests/tasks/get_interface_stat.yml:3 Gather current interface info ------------------------------------------- 0.24s /WORKDIR/git-bond_options_rewriteff4y5pq2/tests/tasks/get_current_interfaces.yml:3 Gather current interface info ------------------------------------------- 0.24s /WORKDIR/git-bond_options_rewriteff4y5pq2/tests/tasks/get_current_interfaces.yml:3 Get stat for interface dummy1298 ---------------------------------------- 0.24s /WORKDIR/git-bond_options_rewriteff4y5pq2/tests/tasks/get_interface_stat.yml:3 ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- [DEPRECATION WARNING]: ANSIBLE_COLLECTIONS_PATHS option, does not fit var naming standard, use the singular form ANSIBLE_COLLECTIONS_PATH instead. This feature will be removed from ansible-core in version 2.19. Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg. ---^---^---^---^---^---