# 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_rewritevqsovjkk/.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_rewritevqsovjkk/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_rewritevqsovjkk/tests/tests_helpers_and_asserts.yml:3 Wednesday 14 February 2024 17:14:53 +0000 (0:00:00.037) 0:00:00.037 **** ok: [sut] TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-bond_options_rewritevqsovjkk/tests/tests_helpers_and_asserts.yml:6 Wednesday 14 February 2024 17:14:54 +0000 (0:00:00.919) 0:00:00.956 **** included: /WORKDIR/git-bond_options_rewritevqsovjkk/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_rewritevqsovjkk/tests/tasks/el_repo_setup.yml:3 Wednesday 14 February 2024 17:14:54 +0000 (0:00:00.014) 0:00:00.971 **** ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-bond_options_rewritevqsovjkk/tests/tasks/el_repo_setup.yml:17 Wednesday 14 February 2024 17:14:55 +0000 (0:00:00.408) 0:00:01.379 **** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-bond_options_rewritevqsovjkk/tests/tasks/el_repo_setup.yml:22 Wednesday 14 February 2024 17:14:55 +0000 (0:00:00.267) 0:00:01.647 **** ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-bond_options_rewritevqsovjkk/tests/tasks/el_repo_setup.yml:26 Wednesday 14 February 2024 17:14:55 +0000 (0:00:00.015) 0:00:01.662 **** 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_rewritevqsovjkk/tests/tasks/el_repo_setup.yml:51 Wednesday 14 February 2024 17:14:55 +0000 (0:00:00.009) 0:00:01.671 **** included: /WORKDIR/git-bond_options_rewritevqsovjkk/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 8] *********************************************************** task path: /WORKDIR/git-bond_options_rewritevqsovjkk/tests/tasks/enable_epel.yml:8 Wednesday 14 February 2024 17:14:55 +0000 (0:00:00.021) 0:00:01.692 **** 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_rewritevqsovjkk/tests/tasks/enable_epel.yml:24 Wednesday 14 February 2024 17:14:55 +0000 (0:00:00.267) 0:00:01.959 **** 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_rewritevqsovjkk/tests/tasks/enable_epel.yml:30 Wednesday 14 February 2024 17:14:55 +0000 (0:00:00.010) 0:00:01.970 **** 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_rewritevqsovjkk/tests/tasks/enable_epel.yml:35 Wednesday 14 February 2024 17:14:55 +0000 (0:00:00.008) 0:00:01.978 **** ok: [sut] => { "changed": false, "cmd": [ "dnf", "config-manager", "--set-enabled", "epel" ], "delta": "0:00:01.269564", "end": "2024-02-14 17:14:57.077439", "rc": 0, "start": "2024-02-14 17:14:55.807875" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-bond_options_rewritevqsovjkk/tests/tasks/enable_epel.yml:40 Wednesday 14 February 2024 17:14:57 +0000 (0:00:01.478) 0:00:03.457 **** 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_rewritevqsovjkk/tests/tests_helpers_and_asserts.yml:9 Wednesday 14 February 2024 17:14:57 +0000 (0:00:00.009) 0:00:03.467 **** included: /WORKDIR/git-bond_options_rewritevqsovjkk/tests/tasks/create_and_remove_interface.yml for sut TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-bond_options_rewritevqsovjkk/tests/tasks/create_and_remove_interface.yml:3 Wednesday 14 February 2024 17:14:57 +0000 (0:00:00.012) 0:00:03.479 **** included: /WORKDIR/git-bond_options_rewritevqsovjkk/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritevqsovjkk/tests/tasks/show_interfaces.yml:3 Wednesday 14 February 2024 17:14:57 +0000 (0:00:00.010) 0:00:03.489 **** included: /WORKDIR/git-bond_options_rewritevqsovjkk/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritevqsovjkk/tests/tasks/get_current_interfaces.yml:3 Wednesday 14 February 2024 17:14:57 +0000 (0:00:00.009) 0:00:03.499 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003850", "end": "2024-02-14 17:14:57.332289", "rc": 0, "start": "2024-02-14 17:14:57.328439" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritevqsovjkk/tests/tasks/get_current_interfaces.yml:9 Wednesday 14 February 2024 17:14:57 +0000 (0:00:00.212) 0:00:03.712 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritevqsovjkk/tests/tasks/show_interfaces.yml:5 Wednesday 14 February 2024 17:14:57 +0000 (0:00:00.012) 0:00:03.724 **** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-bond_options_rewritevqsovjkk/tests/tasks/create_and_remove_interface.yml:5 Wednesday 14 February 2024 17:14:57 +0000 (0:00:00.016) 0:00:03.741 **** included: /WORKDIR/git-bond_options_rewritevqsovjkk/tests/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-bond_options_rewritevqsovjkk/tests/tasks/manage_test_interface.yml:3 Wednesday 14 February 2024 17:14:57 +0000 (0:00:00.015) 0:00:03.756 **** 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_rewritevqsovjkk/tests/tasks/manage_test_interface.yml:8 Wednesday 14 February 2024 17:14:57 +0000 (0:00:00.008) 0:00:03.764 **** 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_rewritevqsovjkk/tests/tasks/manage_test_interface.yml:13 Wednesday 14 February 2024 17:14:57 +0000 (0:00:00.009) 0:00:03.774 **** included: /WORKDIR/git-bond_options_rewritevqsovjkk/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritevqsovjkk/tests/tasks/show_interfaces.yml:3 Wednesday 14 February 2024 17:14:57 +0000 (0:00:00.011) 0:00:03.785 **** included: /WORKDIR/git-bond_options_rewritevqsovjkk/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritevqsovjkk/tests/tasks/get_current_interfaces.yml:3 Wednesday 14 February 2024 17:14:57 +0000 (0:00:00.009) 0:00:03.795 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003819", "end": "2024-02-14 17:14:57.629085", "rc": 0, "start": "2024-02-14 17:14:57.625266" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritevqsovjkk/tests/tasks/get_current_interfaces.yml:9 Wednesday 14 February 2024 17:14:57 +0000 (0:00:00.213) 0:00:04.009 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritevqsovjkk/tests/tasks/show_interfaces.yml:5 Wednesday 14 February 2024 17:14:57 +0000 (0:00:00.012) 0:00:04.022 **** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-bond_options_rewritevqsovjkk/tests/tasks/manage_test_interface.yml:16 Wednesday 14 February 2024 17:14:57 +0000 (0:00:00.010) 0:00:04.032 **** ok: [sut] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth1298] ****************************************** task path: /WORKDIR/git-bond_options_rewritevqsovjkk/tests/tasks/manage_test_interface.yml:27 Wednesday 14 February 2024 17:15:00 +0000 (0:00:03.302) 0:00:07.334 **** 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_rewritevqsovjkk/tests/tasks/manage_test_interface.yml:35 Wednesday 14 February 2024 17:15:00 +0000 (0:00:00.016) 0:00:07.351 **** 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_rewritevqsovjkk/tests/tasks/manage_test_interface.yml:43 Wednesday 14 February 2024 17:15:01 +0000 (0:00:00.008) 0:00:07.360 **** 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_rewritevqsovjkk/tests/tasks/manage_test_interface.yml:49 Wednesday 14 February 2024 17:15:01 +0000 (0:00:00.009) 0:00:07.369 **** 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_rewritevqsovjkk/tests/tasks/manage_test_interface.yml:54 Wednesday 14 February 2024 17:15:01 +0000 (0:00:00.009) 0:00:07.379 **** 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_rewritevqsovjkk/tests/tasks/manage_test_interface.yml:60 Wednesday 14 February 2024 17:15:01 +0000 (0:00:00.009) 0:00:07.388 **** 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_rewritevqsovjkk/tests/tasks/manage_test_interface.yml:65 Wednesday 14 February 2024 17:15:01 +0000 (0:00:00.010) 0:00:07.399 **** 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_rewritevqsovjkk/tests/tasks/create_and_remove_interface.yml:9 Wednesday 14 February 2024 17:15:01 +0000 (0:00:00.008) 0:00:07.408 **** included: /WORKDIR/git-bond_options_rewritevqsovjkk/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritevqsovjkk/tests/tasks/show_interfaces.yml:3 Wednesday 14 February 2024 17:15:01 +0000 (0:00:00.013) 0:00:07.421 **** included: /WORKDIR/git-bond_options_rewritevqsovjkk/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritevqsovjkk/tests/tasks/get_current_interfaces.yml:3 Wednesday 14 February 2024 17:15:01 +0000 (0:00:00.010) 0:00:07.432 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003839", "end": "2024-02-14 17:15:01.267205", "rc": 0, "start": "2024-02-14 17:15:01.263366" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritevqsovjkk/tests/tasks/get_current_interfaces.yml:9 Wednesday 14 February 2024 17:15:01 +0000 (0:00:00.214) 0:00:07.646 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritevqsovjkk/tests/tasks/show_interfaces.yml:5 Wednesday 14 February 2024 17:15:01 +0000 (0:00:00.011) 0:00:07.658 **** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Include the task 'assert_device_absent.yml'] ***************************** task path: /WORKDIR/git-bond_options_rewritevqsovjkk/tests/tasks/create_and_remove_interface.yml:11 Wednesday 14 February 2024 17:15:01 +0000 (0:00:00.011) 0:00:07.669 **** included: /WORKDIR/git-bond_options_rewritevqsovjkk/tests/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewritevqsovjkk/tests/tasks/assert_device_absent.yml:3 Wednesday 14 February 2024 17:15:01 +0000 (0:00:00.016) 0:00:07.685 **** included: /WORKDIR/git-bond_options_rewritevqsovjkk/tests/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth1298] ***************************************** task path: /WORKDIR/git-bond_options_rewritevqsovjkk/tests/tasks/get_interface_stat.yml:3 Wednesday 14 February 2024 17:15:01 +0000 (0:00:00.011) 0:00:07.697 **** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'veth1298'] ************************ task path: /WORKDIR/git-bond_options_rewritevqsovjkk/tests/tasks/assert_device_absent.yml:5 Wednesday 14 February 2024 17:15:01 +0000 (0:00:00.212) 0:00:07.909 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-bond_options_rewritevqsovjkk/tests/tasks/create_and_remove_interface.yml:14 Wednesday 14 February 2024 17:15:01 +0000 (0:00:00.012) 0:00:07.922 **** included: /WORKDIR/git-bond_options_rewritevqsovjkk/tests/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-bond_options_rewritevqsovjkk/tests/tasks/manage_test_interface.yml:3 Wednesday 14 February 2024 17:15:01 +0000 (0:00:00.020) 0:00:07.942 **** 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_rewritevqsovjkk/tests/tasks/manage_test_interface.yml:8 Wednesday 14 February 2024 17:15:01 +0000 (0:00:00.008) 0:00:07.950 **** 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_rewritevqsovjkk/tests/tasks/manage_test_interface.yml:13 Wednesday 14 February 2024 17:15:01 +0000 (0:00:00.008) 0:00:07.959 **** included: /WORKDIR/git-bond_options_rewritevqsovjkk/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritevqsovjkk/tests/tasks/show_interfaces.yml:3 Wednesday 14 February 2024 17:15:01 +0000 (0:00:00.011) 0:00:07.971 **** included: /WORKDIR/git-bond_options_rewritevqsovjkk/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritevqsovjkk/tests/tasks/get_current_interfaces.yml:3 Wednesday 14 February 2024 17:15:01 +0000 (0:00:00.010) 0:00:07.981 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003800", "end": "2024-02-14 17:15:01.812579", "rc": 0, "start": "2024-02-14 17:15:01.808779" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritevqsovjkk/tests/tasks/get_current_interfaces.yml:9 Wednesday 14 February 2024 17:15:01 +0000 (0:00:00.211) 0:00:08.193 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritevqsovjkk/tests/tasks/show_interfaces.yml:5 Wednesday 14 February 2024 17:15:01 +0000 (0:00:00.013) 0:00:08.206 **** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-bond_options_rewritevqsovjkk/tests/tasks/manage_test_interface.yml:16 Wednesday 14 February 2024 17:15:01 +0000 (0:00:00.012) 0:00:08.219 **** ok: [sut] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth1298] ****************************************** task path: /WORKDIR/git-bond_options_rewritevqsovjkk/tests/tasks/manage_test_interface.yml:27 Wednesday 14 February 2024 17:15:04 +0000 (0:00:02.863) 0:00:11.083 **** 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.013623", "end": "2024-02-14 17:15:04.928431", "item": "ip link add veth1298 type veth peer name peerveth1298", "rc": 0, "start": "2024-02-14 17:15:04.914808" } ok: [sut] => (item=ip link set peerveth1298 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peerveth1298", "up" ], "delta": "0:00:00.004513", "end": "2024-02-14 17:15:05.172593", "item": "ip link set peerveth1298 up", "rc": 0, "start": "2024-02-14 17:15:05.168080" } ok: [sut] => (item=ip link set veth1298 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "veth1298", "up" ], "delta": "0:00:00.004675", "end": "2024-02-14 17:15:05.376130", "item": "ip link set veth1298 up", "rc": 0, "start": "2024-02-14 17:15:05.371455" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-bond_options_rewritevqsovjkk/tests/tasks/manage_test_interface.yml:35 Wednesday 14 February 2024 17:15:05 +0000 (0:00:00.672) 0:00:11.755 **** ok: [sut] => { "changed": false, "cmd": [ "nmcli", "d", "set", "veth1298", "managed", "true" ], "delta": "0:00:00.025070", "end": "2024-02-14 17:15:05.609639", "rc": 0, "start": "2024-02-14 17:15:05.584569" } TASK [Delete veth interface veth1298] ****************************************** task path: /WORKDIR/git-bond_options_rewritevqsovjkk/tests/tasks/manage_test_interface.yml:43 Wednesday 14 February 2024 17:15:05 +0000 (0:00:00.234) 0:00:11.989 **** 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_rewritevqsovjkk/tests/tasks/manage_test_interface.yml:49 Wednesday 14 February 2024 17:15:05 +0000 (0:00:00.009) 0:00:11.999 **** 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_rewritevqsovjkk/tests/tasks/manage_test_interface.yml:54 Wednesday 14 February 2024 17:15:05 +0000 (0:00:00.008) 0:00:12.007 **** 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_rewritevqsovjkk/tests/tasks/manage_test_interface.yml:60 Wednesday 14 February 2024 17:15:05 +0000 (0:00:00.008) 0:00:12.016 **** 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_rewritevqsovjkk/tests/tasks/manage_test_interface.yml:65 Wednesday 14 February 2024 17:15:05 +0000 (0:00:00.009) 0:00:12.025 **** 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_rewritevqsovjkk/tests/tasks/create_and_remove_interface.yml:18 Wednesday 14 February 2024 17:15:05 +0000 (0:00:00.008) 0:00:12.033 **** included: /WORKDIR/git-bond_options_rewritevqsovjkk/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritevqsovjkk/tests/tasks/show_interfaces.yml:3 Wednesday 14 February 2024 17:15:05 +0000 (0:00:00.016) 0:00:12.050 **** included: /WORKDIR/git-bond_options_rewritevqsovjkk/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritevqsovjkk/tests/tasks/get_current_interfaces.yml:3 Wednesday 14 February 2024 17:15:05 +0000 (0:00:00.009) 0:00:12.060 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.004192", "end": "2024-02-14 17:15:05.891498", "rc": 0, "start": "2024-02-14 17:15:05.887306" } STDOUT: bonding_masters eth0 lo peerveth1298 veth1298 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritevqsovjkk/tests/tasks/get_current_interfaces.yml:9 Wednesday 14 February 2024 17:15:05 +0000 (0:00:00.210) 0:00:12.270 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "peerveth1298", "veth1298" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritevqsovjkk/tests/tasks/show_interfaces.yml:5 Wednesday 14 February 2024 17:15:05 +0000 (0:00:00.012) 0:00:12.283 **** 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_rewritevqsovjkk/tests/tasks/create_and_remove_interface.yml:20 Wednesday 14 February 2024 17:15:05 +0000 (0:00:00.011) 0:00:12.294 **** included: /WORKDIR/git-bond_options_rewritevqsovjkk/tests/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewritevqsovjkk/tests/tasks/assert_device_present.yml:3 Wednesday 14 February 2024 17:15:05 +0000 (0:00:00.017) 0:00:12.312 **** included: /WORKDIR/git-bond_options_rewritevqsovjkk/tests/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth1298] ***************************************** task path: /WORKDIR/git-bond_options_rewritevqsovjkk/tests/tasks/get_interface_stat.yml:3 Wednesday 14 February 2024 17:15:05 +0000 (0:00:00.010) 0:00:12.322 **** ok: [sut] => { "changed": false, "stat": { "atime": 1707930904.9188466, "block_size": 4096, "blocks": 0, "ctime": 1707930904.9188466, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 31233, "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": 1707930904.9188466, "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_rewritevqsovjkk/tests/tasks/assert_device_present.yml:5 Wednesday 14 February 2024 17:15:06 +0000 (0:00:00.206) 0:00:12.529 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-bond_options_rewritevqsovjkk/tests/tasks/create_and_remove_interface.yml:23 Wednesday 14 February 2024 17:15:06 +0000 (0:00:00.013) 0:00:12.542 **** included: /WORKDIR/git-bond_options_rewritevqsovjkk/tests/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-bond_options_rewritevqsovjkk/tests/tasks/manage_test_interface.yml:3 Wednesday 14 February 2024 17:15:06 +0000 (0:00:00.021) 0:00:12.563 **** 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_rewritevqsovjkk/tests/tasks/manage_test_interface.yml:8 Wednesday 14 February 2024 17:15:06 +0000 (0:00:00.014) 0:00:12.578 **** 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_rewritevqsovjkk/tests/tasks/manage_test_interface.yml:13 Wednesday 14 February 2024 17:15:06 +0000 (0:00:00.008) 0:00:12.586 **** included: /WORKDIR/git-bond_options_rewritevqsovjkk/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritevqsovjkk/tests/tasks/show_interfaces.yml:3 Wednesday 14 February 2024 17:15:06 +0000 (0:00:00.011) 0:00:12.597 **** included: /WORKDIR/git-bond_options_rewritevqsovjkk/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritevqsovjkk/tests/tasks/get_current_interfaces.yml:3 Wednesday 14 February 2024 17:15:06 +0000 (0:00:00.009) 0:00:12.607 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003672", "end": "2024-02-14 17:15:06.437931", "rc": 0, "start": "2024-02-14 17:15:06.434259" } STDOUT: bonding_masters eth0 lo peerveth1298 veth1298 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritevqsovjkk/tests/tasks/get_current_interfaces.yml:9 Wednesday 14 February 2024 17:15:06 +0000 (0:00:00.208) 0:00:12.816 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "peerveth1298", "veth1298" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritevqsovjkk/tests/tasks/show_interfaces.yml:5 Wednesday 14 February 2024 17:15:06 +0000 (0:00:00.017) 0:00:12.833 **** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'peerveth1298', 'veth1298'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-bond_options_rewritevqsovjkk/tests/tasks/manage_test_interface.yml:16 Wednesday 14 February 2024 17:15:06 +0000 (0:00:00.030) 0:00:12.864 **** ok: [sut] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth1298] ****************************************** task path: /WORKDIR/git-bond_options_rewritevqsovjkk/tests/tasks/manage_test_interface.yml:27 Wednesday 14 February 2024 17:15:09 +0000 (0:00:02.828) 0:00:15.692 **** 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_rewritevqsovjkk/tests/tasks/manage_test_interface.yml:35 Wednesday 14 February 2024 17:15:09 +0000 (0:00:00.015) 0:00:15.708 **** 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_rewritevqsovjkk/tests/tasks/manage_test_interface.yml:43 Wednesday 14 February 2024 17:15:09 +0000 (0:00:00.009) 0:00:15.717 **** ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "veth1298", "type", "veth" ], "delta": "0:00:00.013324", "end": "2024-02-14 17:15:09.563638", "rc": 0, "start": "2024-02-14 17:15:09.550314" } TASK [Create dummy interface veth1298] ***************************************** task path: /WORKDIR/git-bond_options_rewritevqsovjkk/tests/tasks/manage_test_interface.yml:49 Wednesday 14 February 2024 17:15:09 +0000 (0:00:00.233) 0:00:15.951 **** 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_rewritevqsovjkk/tests/tasks/manage_test_interface.yml:54 Wednesday 14 February 2024 17:15:09 +0000 (0:00:00.010) 0:00:15.961 **** 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_rewritevqsovjkk/tests/tasks/manage_test_interface.yml:60 Wednesday 14 February 2024 17:15:09 +0000 (0:00:00.011) 0:00:15.972 **** 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_rewritevqsovjkk/tests/tasks/manage_test_interface.yml:65 Wednesday 14 February 2024 17:15:09 +0000 (0:00:00.009) 0:00:15.982 **** skipping: [sut] => { "changed": false, "false_condition": "type == 'tap' and state == 'absent' and interface in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-bond_options_rewritevqsovjkk/tests/tasks/create_and_remove_interface.yml:27 Wednesday 14 February 2024 17:15:09 +0000 (0:00:00.008) 0:00:15.991 **** included: /WORKDIR/git-bond_options_rewritevqsovjkk/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritevqsovjkk/tests/tasks/show_interfaces.yml:3 Wednesday 14 February 2024 17:15:09 +0000 (0:00:00.022) 0:00:16.014 **** included: /WORKDIR/git-bond_options_rewritevqsovjkk/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritevqsovjkk/tests/tasks/get_current_interfaces.yml:3 Wednesday 14 February 2024 17:15:09 +0000 (0:00:00.011) 0:00:16.026 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003787", "end": "2024-02-14 17:15:09.880400", "rc": 0, "start": "2024-02-14 17:15:09.876613" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritevqsovjkk/tests/tasks/get_current_interfaces.yml:9 Wednesday 14 February 2024 17:15:09 +0000 (0:00:00.232) 0:00:16.258 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritevqsovjkk/tests/tasks/show_interfaces.yml:5 Wednesday 14 February 2024 17:15:09 +0000 (0:00:00.034) 0:00:16.293 **** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Include the task 'assert_device_absent.yml'] ***************************** task path: /WORKDIR/git-bond_options_rewritevqsovjkk/tests/tasks/create_and_remove_interface.yml:29 Wednesday 14 February 2024 17:15:09 +0000 (0:00:00.013) 0:00:16.306 **** included: /WORKDIR/git-bond_options_rewritevqsovjkk/tests/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewritevqsovjkk/tests/tasks/assert_device_absent.yml:3 Wednesday 14 February 2024 17:15:09 +0000 (0:00:00.022) 0:00:16.329 **** included: /WORKDIR/git-bond_options_rewritevqsovjkk/tests/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth1298] ***************************************** task path: /WORKDIR/git-bond_options_rewritevqsovjkk/tests/tasks/get_interface_stat.yml:3 Wednesday 14 February 2024 17:15:09 +0000 (0:00:00.013) 0:00:16.342 **** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'veth1298'] ************************ task path: /WORKDIR/git-bond_options_rewritevqsovjkk/tests/tasks/assert_device_absent.yml:5 Wednesday 14 February 2024 17:15:10 +0000 (0:00:00.207) 0:00:16.550 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test veth interface management] ****************************************** task path: /WORKDIR/git-bond_options_rewritevqsovjkk/tests/tests_helpers_and_asserts.yml:15 Wednesday 14 February 2024 17:15:10 +0000 (0:00:00.011) 0:00:16.561 **** included: /WORKDIR/git-bond_options_rewritevqsovjkk/tests/tasks/create_and_remove_interface.yml for sut TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-bond_options_rewritevqsovjkk/tests/tasks/create_and_remove_interface.yml:3 Wednesday 14 February 2024 17:15:10 +0000 (0:00:00.015) 0:00:16.577 **** included: /WORKDIR/git-bond_options_rewritevqsovjkk/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritevqsovjkk/tests/tasks/show_interfaces.yml:3 Wednesday 14 February 2024 17:15:10 +0000 (0:00:00.015) 0:00:16.592 **** included: /WORKDIR/git-bond_options_rewritevqsovjkk/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritevqsovjkk/tests/tasks/get_current_interfaces.yml:3 Wednesday 14 February 2024 17:15:10 +0000 (0:00:00.010) 0:00:16.602 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003843", "end": "2024-02-14 17:15:10.434371", "rc": 0, "start": "2024-02-14 17:15:10.430528" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritevqsovjkk/tests/tasks/get_current_interfaces.yml:9 Wednesday 14 February 2024 17:15:10 +0000 (0:00:00.212) 0:00:16.815 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritevqsovjkk/tests/tasks/show_interfaces.yml:5 Wednesday 14 February 2024 17:15:10 +0000 (0:00:00.011) 0:00:16.826 **** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-bond_options_rewritevqsovjkk/tests/tasks/create_and_remove_interface.yml:5 Wednesday 14 February 2024 17:15:10 +0000 (0:00:00.010) 0:00:16.836 **** included: /WORKDIR/git-bond_options_rewritevqsovjkk/tests/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-bond_options_rewritevqsovjkk/tests/tasks/manage_test_interface.yml:3 Wednesday 14 February 2024 17:15:10 +0000 (0:00:00.012) 0:00:16.849 **** 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_rewritevqsovjkk/tests/tasks/manage_test_interface.yml:8 Wednesday 14 February 2024 17:15:10 +0000 (0:00:00.009) 0:00:16.859 **** 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_rewritevqsovjkk/tests/tasks/manage_test_interface.yml:13 Wednesday 14 February 2024 17:15:10 +0000 (0:00:00.008) 0:00:16.868 **** included: /WORKDIR/git-bond_options_rewritevqsovjkk/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritevqsovjkk/tests/tasks/show_interfaces.yml:3 Wednesday 14 February 2024 17:15:10 +0000 (0:00:00.012) 0:00:16.880 **** included: /WORKDIR/git-bond_options_rewritevqsovjkk/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritevqsovjkk/tests/tasks/get_current_interfaces.yml:3 Wednesday 14 February 2024 17:15:10 +0000 (0:00:00.011) 0:00:16.892 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003812", "end": "2024-02-14 17:15:10.725047", "rc": 0, "start": "2024-02-14 17:15:10.721235" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritevqsovjkk/tests/tasks/get_current_interfaces.yml:9 Wednesday 14 February 2024 17:15:10 +0000 (0:00:00.212) 0:00:17.104 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritevqsovjkk/tests/tasks/show_interfaces.yml:5 Wednesday 14 February 2024 17:15:10 +0000 (0:00:00.011) 0:00:17.115 **** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-bond_options_rewritevqsovjkk/tests/tasks/manage_test_interface.yml:16 Wednesday 14 February 2024 17:15:10 +0000 (0:00:00.011) 0:00:17.126 **** ok: [sut] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface dummy1298] ***************************************** task path: /WORKDIR/git-bond_options_rewritevqsovjkk/tests/tasks/manage_test_interface.yml:27 Wednesday 14 February 2024 17:15:13 +0000 (0:00:02.834) 0:00:19.961 **** 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_rewritevqsovjkk/tests/tasks/manage_test_interface.yml:35 Wednesday 14 February 2024 17:15:13 +0000 (0:00:00.015) 0:00:19.976 **** 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_rewritevqsovjkk/tests/tasks/manage_test_interface.yml:43 Wednesday 14 February 2024 17:15:13 +0000 (0:00:00.008) 0:00:19.985 **** 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_rewritevqsovjkk/tests/tasks/manage_test_interface.yml:49 Wednesday 14 February 2024 17:15:13 +0000 (0:00:00.009) 0:00:19.994 **** 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_rewritevqsovjkk/tests/tasks/manage_test_interface.yml:54 Wednesday 14 February 2024 17:15:13 +0000 (0:00:00.009) 0:00:20.004 **** 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_rewritevqsovjkk/tests/tasks/manage_test_interface.yml:60 Wednesday 14 February 2024 17:15:13 +0000 (0:00:00.009) 0:00:20.013 **** 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_rewritevqsovjkk/tests/tasks/manage_test_interface.yml:65 Wednesday 14 February 2024 17:15:13 +0000 (0:00:00.008) 0:00:20.022 **** 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_rewritevqsovjkk/tests/tasks/create_and_remove_interface.yml:9 Wednesday 14 February 2024 17:15:13 +0000 (0:00:00.011) 0:00:20.033 **** included: /WORKDIR/git-bond_options_rewritevqsovjkk/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritevqsovjkk/tests/tasks/show_interfaces.yml:3 Wednesday 14 February 2024 17:15:13 +0000 (0:00:00.013) 0:00:20.046 **** included: /WORKDIR/git-bond_options_rewritevqsovjkk/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritevqsovjkk/tests/tasks/get_current_interfaces.yml:3 Wednesday 14 February 2024 17:15:13 +0000 (0:00:00.009) 0:00:20.056 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003765", "end": "2024-02-14 17:15:13.890422", "rc": 0, "start": "2024-02-14 17:15:13.886657" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritevqsovjkk/tests/tasks/get_current_interfaces.yml:9 Wednesday 14 February 2024 17:15:13 +0000 (0:00:00.213) 0:00:20.269 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritevqsovjkk/tests/tasks/show_interfaces.yml:5 Wednesday 14 February 2024 17:15:13 +0000 (0:00:00.011) 0:00:20.281 **** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Include the task 'assert_device_absent.yml'] ***************************** task path: /WORKDIR/git-bond_options_rewritevqsovjkk/tests/tasks/create_and_remove_interface.yml:11 Wednesday 14 February 2024 17:15:13 +0000 (0:00:00.010) 0:00:20.291 **** included: /WORKDIR/git-bond_options_rewritevqsovjkk/tests/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewritevqsovjkk/tests/tasks/assert_device_absent.yml:3 Wednesday 14 February 2024 17:15:13 +0000 (0:00:00.014) 0:00:20.305 **** included: /WORKDIR/git-bond_options_rewritevqsovjkk/tests/tasks/get_interface_stat.yml for sut TASK [Get stat for interface dummy1298] **************************************** task path: /WORKDIR/git-bond_options_rewritevqsovjkk/tests/tasks/get_interface_stat.yml:3 Wednesday 14 February 2024 17:15:13 +0000 (0:00:00.010) 0:00:20.316 **** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'dummy1298'] *********************** task path: /WORKDIR/git-bond_options_rewritevqsovjkk/tests/tasks/assert_device_absent.yml:5 Wednesday 14 February 2024 17:15:14 +0000 (0:00:00.210) 0:00:20.526 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-bond_options_rewritevqsovjkk/tests/tasks/create_and_remove_interface.yml:14 Wednesday 14 February 2024 17:15:14 +0000 (0:00:00.011) 0:00:20.538 **** included: /WORKDIR/git-bond_options_rewritevqsovjkk/tests/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-bond_options_rewritevqsovjkk/tests/tasks/manage_test_interface.yml:3 Wednesday 14 February 2024 17:15:14 +0000 (0:00:00.016) 0:00:20.554 **** 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_rewritevqsovjkk/tests/tasks/manage_test_interface.yml:8 Wednesday 14 February 2024 17:15:14 +0000 (0:00:00.009) 0:00:20.564 **** 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_rewritevqsovjkk/tests/tasks/manage_test_interface.yml:13 Wednesday 14 February 2024 17:15:14 +0000 (0:00:00.009) 0:00:20.573 **** included: /WORKDIR/git-bond_options_rewritevqsovjkk/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritevqsovjkk/tests/tasks/show_interfaces.yml:3 Wednesday 14 February 2024 17:15:14 +0000 (0:00:00.013) 0:00:20.586 **** included: /WORKDIR/git-bond_options_rewritevqsovjkk/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritevqsovjkk/tests/tasks/get_current_interfaces.yml:3 Wednesday 14 February 2024 17:15:14 +0000 (0:00:00.010) 0:00:20.597 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003836", "end": "2024-02-14 17:15:14.433365", "rc": 0, "start": "2024-02-14 17:15:14.429529" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritevqsovjkk/tests/tasks/get_current_interfaces.yml:9 Wednesday 14 February 2024 17:15:14 +0000 (0:00:00.225) 0:00:20.823 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritevqsovjkk/tests/tasks/show_interfaces.yml:5 Wednesday 14 February 2024 17:15:14 +0000 (0:00:00.019) 0:00:20.842 **** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-bond_options_rewritevqsovjkk/tests/tasks/manage_test_interface.yml:16 Wednesday 14 February 2024 17:15:14 +0000 (0:00:00.027) 0:00:20.870 **** ok: [sut] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface dummy1298] ***************************************** task path: /WORKDIR/git-bond_options_rewritevqsovjkk/tests/tasks/manage_test_interface.yml:27 Wednesday 14 February 2024 17:15:17 +0000 (0:00:02.826) 0:00:23.696 **** 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_rewritevqsovjkk/tests/tasks/manage_test_interface.yml:35 Wednesday 14 February 2024 17:15:17 +0000 (0:00:00.017) 0:00:23.714 **** 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_rewritevqsovjkk/tests/tasks/manage_test_interface.yml:43 Wednesday 14 February 2024 17:15:17 +0000 (0:00:00.009) 0:00:23.724 **** 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_rewritevqsovjkk/tests/tasks/manage_test_interface.yml:49 Wednesday 14 February 2024 17:15:17 +0000 (0:00:00.010) 0:00:23.735 **** ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "add", "dummy1298", "type", "dummy" ], "delta": "0:00:00.012297", "end": "2024-02-14 17:15:17.579594", "rc": 0, "start": "2024-02-14 17:15:17.567297" } TASK [Delete dummy interface dummy1298] **************************************** task path: /WORKDIR/git-bond_options_rewritevqsovjkk/tests/tasks/manage_test_interface.yml:54 Wednesday 14 February 2024 17:15:17 +0000 (0:00:00.236) 0:00:23.971 **** 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_rewritevqsovjkk/tests/tasks/manage_test_interface.yml:60 Wednesday 14 February 2024 17:15:17 +0000 (0:00:00.010) 0:00:23.982 **** 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_rewritevqsovjkk/tests/tasks/manage_test_interface.yml:65 Wednesday 14 February 2024 17:15:17 +0000 (0:00:00.009) 0:00:23.992 **** 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_rewritevqsovjkk/tests/tasks/create_and_remove_interface.yml:18 Wednesday 14 February 2024 17:15:17 +0000 (0:00:00.010) 0:00:24.002 **** included: /WORKDIR/git-bond_options_rewritevqsovjkk/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritevqsovjkk/tests/tasks/show_interfaces.yml:3 Wednesday 14 February 2024 17:15:17 +0000 (0:00:00.017) 0:00:24.020 **** included: /WORKDIR/git-bond_options_rewritevqsovjkk/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritevqsovjkk/tests/tasks/get_current_interfaces.yml:3 Wednesday 14 February 2024 17:15:17 +0000 (0:00:00.011) 0:00:24.032 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.004082", "end": "2024-02-14 17:15:17.869050", "rc": 0, "start": "2024-02-14 17:15:17.864968" } STDOUT: bonding_masters dummy1298 eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritevqsovjkk/tests/tasks/get_current_interfaces.yml:9 Wednesday 14 February 2024 17:15:17 +0000 (0:00:00.218) 0:00:24.251 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "dummy1298", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritevqsovjkk/tests/tasks/show_interfaces.yml:5 Wednesday 14 February 2024 17:15:17 +0000 (0:00:00.011) 0:00:24.263 **** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'dummy1298', 'eth0', 'lo'] TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-bond_options_rewritevqsovjkk/tests/tasks/create_and_remove_interface.yml:20 Wednesday 14 February 2024 17:15:17 +0000 (0:00:00.010) 0:00:24.273 **** included: /WORKDIR/git-bond_options_rewritevqsovjkk/tests/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewritevqsovjkk/tests/tasks/assert_device_present.yml:3 Wednesday 14 February 2024 17:15:17 +0000 (0:00:00.018) 0:00:24.292 **** included: /WORKDIR/git-bond_options_rewritevqsovjkk/tests/tasks/get_interface_stat.yml for sut TASK [Get stat for interface dummy1298] **************************************** task path: /WORKDIR/git-bond_options_rewritevqsovjkk/tests/tasks/get_interface_stat.yml:3 Wednesday 14 February 2024 17:15:17 +0000 (0:00:00.010) 0:00:24.303 **** ok: [sut] => { "changed": false, "stat": { "atime": 1707930917.57737, "block_size": 4096, "blocks": 0, "ctime": 1707930917.57737, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 31556, "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": 1707930917.57737, "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_rewritevqsovjkk/tests/tasks/assert_device_present.yml:5 Wednesday 14 February 2024 17:15:18 +0000 (0:00:00.212) 0:00:24.515 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-bond_options_rewritevqsovjkk/tests/tasks/create_and_remove_interface.yml:23 Wednesday 14 February 2024 17:15:18 +0000 (0:00:00.013) 0:00:24.529 **** included: /WORKDIR/git-bond_options_rewritevqsovjkk/tests/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-bond_options_rewritevqsovjkk/tests/tasks/manage_test_interface.yml:3 Wednesday 14 February 2024 17:15:18 +0000 (0:00:00.022) 0:00:24.552 **** 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_rewritevqsovjkk/tests/tasks/manage_test_interface.yml:8 Wednesday 14 February 2024 17:15:18 +0000 (0:00:00.009) 0:00:24.561 **** 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_rewritevqsovjkk/tests/tasks/manage_test_interface.yml:13 Wednesday 14 February 2024 17:15:18 +0000 (0:00:00.011) 0:00:24.573 **** included: /WORKDIR/git-bond_options_rewritevqsovjkk/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritevqsovjkk/tests/tasks/show_interfaces.yml:3 Wednesday 14 February 2024 17:15:18 +0000 (0:00:00.013) 0:00:24.586 **** included: /WORKDIR/git-bond_options_rewritevqsovjkk/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritevqsovjkk/tests/tasks/get_current_interfaces.yml:3 Wednesday 14 February 2024 17:15:18 +0000 (0:00:00.011) 0:00:24.598 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.004181", "end": "2024-02-14 17:15:18.436234", "rc": 0, "start": "2024-02-14 17:15:18.432053" } STDOUT: bonding_masters dummy1298 eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritevqsovjkk/tests/tasks/get_current_interfaces.yml:9 Wednesday 14 February 2024 17:15:18 +0000 (0:00:00.219) 0:00:24.818 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "dummy1298", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritevqsovjkk/tests/tasks/show_interfaces.yml:5 Wednesday 14 February 2024 17:15:18 +0000 (0:00:00.011) 0:00:24.830 **** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'dummy1298', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-bond_options_rewritevqsovjkk/tests/tasks/manage_test_interface.yml:16 Wednesday 14 February 2024 17:15:18 +0000 (0:00:00.011) 0:00:24.841 **** ok: [sut] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface dummy1298] ***************************************** task path: /WORKDIR/git-bond_options_rewritevqsovjkk/tests/tasks/manage_test_interface.yml:27 Wednesday 14 February 2024 17:15:21 +0000 (0:00:02.830) 0:00:27.671 **** 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_rewritevqsovjkk/tests/tasks/manage_test_interface.yml:35 Wednesday 14 February 2024 17:15:21 +0000 (0:00:00.015) 0:00:27.687 **** 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_rewritevqsovjkk/tests/tasks/manage_test_interface.yml:43 Wednesday 14 February 2024 17:15:21 +0000 (0:00:00.009) 0:00:27.696 **** 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_rewritevqsovjkk/tests/tasks/manage_test_interface.yml:49 Wednesday 14 February 2024 17:15:21 +0000 (0:00:00.009) 0:00:27.705 **** 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_rewritevqsovjkk/tests/tasks/manage_test_interface.yml:54 Wednesday 14 February 2024 17:15:21 +0000 (0:00:00.009) 0:00:27.715 **** ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "dummy1298", "type", "dummy" ], "delta": "0:00:00.010097", "end": "2024-02-14 17:15:21.557448", "rc": 0, "start": "2024-02-14 17:15:21.547351" } TASK [Create tap interface dummy1298] ****************************************** task path: /WORKDIR/git-bond_options_rewritevqsovjkk/tests/tasks/manage_test_interface.yml:60 Wednesday 14 February 2024 17:15:21 +0000 (0:00:00.222) 0:00:27.938 **** 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_rewritevqsovjkk/tests/tasks/manage_test_interface.yml:65 Wednesday 14 February 2024 17:15:21 +0000 (0:00:00.009) 0:00:27.947 **** 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_rewritevqsovjkk/tests/tasks/create_and_remove_interface.yml:27 Wednesday 14 February 2024 17:15:21 +0000 (0:00:00.009) 0:00:27.957 **** included: /WORKDIR/git-bond_options_rewritevqsovjkk/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritevqsovjkk/tests/tasks/show_interfaces.yml:3 Wednesday 14 February 2024 17:15:21 +0000 (0:00:00.019) 0:00:27.976 **** included: /WORKDIR/git-bond_options_rewritevqsovjkk/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritevqsovjkk/tests/tasks/get_current_interfaces.yml:3 Wednesday 14 February 2024 17:15:21 +0000 (0:00:00.010) 0:00:27.986 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.004044", "end": "2024-02-14 17:15:21.820996", "rc": 0, "start": "2024-02-14 17:15:21.816952" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritevqsovjkk/tests/tasks/get_current_interfaces.yml:9 Wednesday 14 February 2024 17:15:21 +0000 (0:00:00.221) 0:00:28.208 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritevqsovjkk/tests/tasks/show_interfaces.yml:5 Wednesday 14 February 2024 17:15:21 +0000 (0:00:00.016) 0:00:28.224 **** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Include the task 'assert_device_absent.yml'] ***************************** task path: /WORKDIR/git-bond_options_rewritevqsovjkk/tests/tasks/create_and_remove_interface.yml:29 Wednesday 14 February 2024 17:15:21 +0000 (0:00:00.011) 0:00:28.236 **** included: /WORKDIR/git-bond_options_rewritevqsovjkk/tests/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewritevqsovjkk/tests/tasks/assert_device_absent.yml:3 Wednesday 14 February 2024 17:15:21 +0000 (0:00:00.021) 0:00:28.257 **** included: /WORKDIR/git-bond_options_rewritevqsovjkk/tests/tasks/get_interface_stat.yml for sut TASK [Get stat for interface dummy1298] **************************************** task path: /WORKDIR/git-bond_options_rewritevqsovjkk/tests/tasks/get_interface_stat.yml:3 Wednesday 14 February 2024 17:15:21 +0000 (0:00:00.014) 0:00:28.272 **** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'dummy1298'] *********************** task path: /WORKDIR/git-bond_options_rewritevqsovjkk/tests/tasks/assert_device_absent.yml:5 Wednesday 14 February 2024 17:15:22 +0000 (0:00:00.207) 0:00:28.479 **** 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 17:15:22 +0000 (0:00:00.026) 0:00:28.505 **** =============================================================================== Install iproute --------------------------------------------------------- 3.30s /WORKDIR/git-bond_options_rewritevqsovjkk/tests/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 2.86s /WORKDIR/git-bond_options_rewritevqsovjkk/tests/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 2.83s /WORKDIR/git-bond_options_rewritevqsovjkk/tests/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 2.83s /WORKDIR/git-bond_options_rewritevqsovjkk/tests/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 2.83s /WORKDIR/git-bond_options_rewritevqsovjkk/tests/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 2.83s /WORKDIR/git-bond_options_rewritevqsovjkk/tests/tasks/manage_test_interface.yml:16 Enable EPEL 8 ----------------------------------------------------------- 1.48s /WORKDIR/git-bond_options_rewritevqsovjkk/tests/tasks/enable_epel.yml:35 ------ Gathering Facts --------------------------------------------------------- 0.92s /WORKDIR/git-bond_options_rewritevqsovjkk/tests/tests_helpers_and_asserts.yml:3 Create veth interface veth1298 ------------------------------------------ 0.67s /WORKDIR/git-bond_options_rewritevqsovjkk/tests/tasks/manage_test_interface.yml:27 Gather the minimum subset of ansible_facts required by the network role test --- 0.41s /WORKDIR/git-bond_options_rewritevqsovjkk/tests/tasks/el_repo_setup.yml:3 ----- Check if system is ostree ----------------------------------------------- 0.27s /WORKDIR/git-bond_options_rewritevqsovjkk/tests/tasks/el_repo_setup.yml:17 ---- Create EPEL 8 ----------------------------------------------------------- 0.27s /WORKDIR/git-bond_options_rewritevqsovjkk/tests/tasks/enable_epel.yml:8 ------- Create dummy interface dummy1298 ---------------------------------------- 0.24s /WORKDIR/git-bond_options_rewritevqsovjkk/tests/tasks/manage_test_interface.yml:49 Set up veth as managed by NetworkManager -------------------------------- 0.23s /WORKDIR/git-bond_options_rewritevqsovjkk/tests/tasks/manage_test_interface.yml:35 Delete veth interface veth1298 ------------------------------------------ 0.23s /WORKDIR/git-bond_options_rewritevqsovjkk/tests/tasks/manage_test_interface.yml:43 Gather current interface info ------------------------------------------- 0.23s /WORKDIR/git-bond_options_rewritevqsovjkk/tests/tasks/get_current_interfaces.yml:3 Gather current interface info ------------------------------------------- 0.23s /WORKDIR/git-bond_options_rewritevqsovjkk/tests/tasks/get_current_interfaces.yml:3 Delete dummy interface dummy1298 ---------------------------------------- 0.22s /WORKDIR/git-bond_options_rewritevqsovjkk/tests/tasks/manage_test_interface.yml:54 Gather current interface info ------------------------------------------- 0.22s /WORKDIR/git-bond_options_rewritevqsovjkk/tests/tasks/get_current_interfaces.yml:3 Gather current interface info ------------------------------------------- 0.22s /WORKDIR/git-bond_options_rewritevqsovjkk/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. ---^---^---^---^---^---