# 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_rewritem7luhouy/.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_rewritem7luhouy/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_rewritem7luhouy/tests/tests_helpers_and_asserts.yml:3 Wednesday 31 January 2024 23:40:05 +0000 (0:00:00.042) 0:00:00.042 ***** ok: [sut] TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-bond_options_rewritem7luhouy/tests/tests_helpers_and_asserts.yml:6 Wednesday 31 January 2024 23:40:05 +0000 (0:00:00.830) 0:00:00.872 ***** included: /WORKDIR/git-bond_options_rewritem7luhouy/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_rewritem7luhouy/tests/tasks/el_repo_setup.yml:3 Wednesday 31 January 2024 23:40:05 +0000 (0:00:00.012) 0:00:00.885 ***** ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-bond_options_rewritem7luhouy/tests/tasks/el_repo_setup.yml:17 Wednesday 31 January 2024 23:40:06 +0000 (0:00:00.347) 0:00:01.232 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-bond_options_rewritem7luhouy/tests/tasks/el_repo_setup.yml:22 Wednesday 31 January 2024 23:40:06 +0000 (0:00:00.255) 0:00:01.488 ***** ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-bond_options_rewritem7luhouy/tests/tasks/el_repo_setup.yml:26 Wednesday 31 January 2024 23:40:06 +0000 (0:00:00.014) 0:00:01.502 ***** 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_rewritem7luhouy/tests/tasks/el_repo_setup.yml:51 Wednesday 31 January 2024 23:40:06 +0000 (0:00:00.008) 0:00:01.511 ***** included: /WORKDIR/git-bond_options_rewritem7luhouy/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 8] *********************************************************** task path: /WORKDIR/git-bond_options_rewritem7luhouy/tests/tasks/enable_epel.yml:8 Wednesday 31 January 2024 23:40:06 +0000 (0:00:00.023) 0:00:01.534 ***** 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_rewritem7luhouy/tests/tasks/enable_epel.yml:24 Wednesday 31 January 2024 23:40:06 +0000 (0:00:00.258) 0:00:01.792 ***** 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_rewritem7luhouy/tests/tasks/enable_epel.yml:30 Wednesday 31 January 2024 23:40:06 +0000 (0:00:00.009) 0:00:01.802 ***** 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_rewritem7luhouy/tests/tasks/enable_epel.yml:35 Wednesday 31 January 2024 23:40:06 +0000 (0:00:00.008) 0:00:01.811 ***** ok: [sut] => { "changed": false, "cmd": [ "dnf", "config-manager", "--set-enabled", "epel" ], "delta": "0:00:00.243606", "end": "2024-01-31 23:40:07.314300", "rc": 0, "start": "2024-01-31 23:40:07.070694" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-bond_options_rewritem7luhouy/tests/tasks/enable_epel.yml:40 Wednesday 31 January 2024 23:40:07 +0000 (0:00:00.431) 0:00:02.243 ***** 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_rewritem7luhouy/tests/tests_helpers_and_asserts.yml:9 Wednesday 31 January 2024 23:40:07 +0000 (0:00:00.009) 0:00:02.252 ***** included: /WORKDIR/git-bond_options_rewritem7luhouy/tests/tasks/create_and_remove_interface.yml for sut TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-bond_options_rewritem7luhouy/tests/tasks/create_and_remove_interface.yml:3 Wednesday 31 January 2024 23:40:07 +0000 (0:00:00.013) 0:00:02.266 ***** included: /WORKDIR/git-bond_options_rewritem7luhouy/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritem7luhouy/tests/tasks/show_interfaces.yml:3 Wednesday 31 January 2024 23:40:07 +0000 (0:00:00.011) 0:00:02.277 ***** included: /WORKDIR/git-bond_options_rewritem7luhouy/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritem7luhouy/tests/tasks/get_current_interfaces.yml:3 Wednesday 31 January 2024 23:40:07 +0000 (0:00:00.010) 0:00:02.288 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003414", "end": "2024-01-31 23:40:07.549328", "rc": 0, "start": "2024-01-31 23:40:07.545914" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritem7luhouy/tests/tasks/get_current_interfaces.yml:9 Wednesday 31 January 2024 23:40:07 +0000 (0:00:00.189) 0:00:02.477 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritem7luhouy/tests/tasks/show_interfaces.yml:5 Wednesday 31 January 2024 23:40:07 +0000 (0:00:00.010) 0:00:02.487 ***** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-bond_options_rewritem7luhouy/tests/tasks/create_and_remove_interface.yml:5 Wednesday 31 January 2024 23:40:07 +0000 (0:00:00.010) 0:00:02.498 ***** included: /WORKDIR/git-bond_options_rewritem7luhouy/tests/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-bond_options_rewritem7luhouy/tests/tasks/manage_test_interface.yml:3 Wednesday 31 January 2024 23:40:07 +0000 (0:00:00.016) 0:00:02.514 ***** 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_rewritem7luhouy/tests/tasks/manage_test_interface.yml:8 Wednesday 31 January 2024 23:40:07 +0000 (0:00:00.007) 0:00:02.521 ***** 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_rewritem7luhouy/tests/tasks/manage_test_interface.yml:13 Wednesday 31 January 2024 23:40:07 +0000 (0:00:00.008) 0:00:02.529 ***** included: /WORKDIR/git-bond_options_rewritem7luhouy/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritem7luhouy/tests/tasks/show_interfaces.yml:3 Wednesday 31 January 2024 23:40:07 +0000 (0:00:00.012) 0:00:02.541 ***** included: /WORKDIR/git-bond_options_rewritem7luhouy/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritem7luhouy/tests/tasks/get_current_interfaces.yml:3 Wednesday 31 January 2024 23:40:07 +0000 (0:00:00.010) 0:00:02.551 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003568", "end": "2024-01-31 23:40:07.814078", "rc": 0, "start": "2024-01-31 23:40:07.810510" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritem7luhouy/tests/tasks/get_current_interfaces.yml:9 Wednesday 31 January 2024 23:40:07 +0000 (0:00:00.190) 0:00:02.742 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritem7luhouy/tests/tasks/show_interfaces.yml:5 Wednesday 31 January 2024 23:40:07 +0000 (0:00:00.010) 0:00:02.752 ***** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-bond_options_rewritem7luhouy/tests/tasks/manage_test_interface.yml:16 Wednesday 31 January 2024 23:40:07 +0000 (0:00:00.009) 0:00:02.762 ***** ok: [sut] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth1298] ****************************************** task path: /WORKDIR/git-bond_options_rewritem7luhouy/tests/tasks/manage_test_interface.yml:27 Wednesday 31 January 2024 23:40:10 +0000 (0:00:03.026) 0:00:05.788 ***** 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_rewritem7luhouy/tests/tasks/manage_test_interface.yml:35 Wednesday 31 January 2024 23:40:10 +0000 (0:00:00.015) 0:00:05.804 ***** 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_rewritem7luhouy/tests/tasks/manage_test_interface.yml:43 Wednesday 31 January 2024 23:40:10 +0000 (0:00:00.008) 0:00:05.812 ***** 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_rewritem7luhouy/tests/tasks/manage_test_interface.yml:49 Wednesday 31 January 2024 23:40:10 +0000 (0:00:00.008) 0:00:05.821 ***** 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_rewritem7luhouy/tests/tasks/manage_test_interface.yml:54 Wednesday 31 January 2024 23:40:10 +0000 (0:00:00.008) 0:00:05.829 ***** 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_rewritem7luhouy/tests/tasks/manage_test_interface.yml:60 Wednesday 31 January 2024 23:40:10 +0000 (0:00:00.009) 0:00:05.838 ***** 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_rewritem7luhouy/tests/tasks/manage_test_interface.yml:65 Wednesday 31 January 2024 23:40:10 +0000 (0:00:00.009) 0:00:05.848 ***** 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_rewritem7luhouy/tests/tasks/create_and_remove_interface.yml:9 Wednesday 31 January 2024 23:40:10 +0000 (0:00:00.007) 0:00:05.856 ***** included: /WORKDIR/git-bond_options_rewritem7luhouy/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritem7luhouy/tests/tasks/show_interfaces.yml:3 Wednesday 31 January 2024 23:40:10 +0000 (0:00:00.014) 0:00:05.870 ***** included: /WORKDIR/git-bond_options_rewritem7luhouy/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritem7luhouy/tests/tasks/get_current_interfaces.yml:3 Wednesday 31 January 2024 23:40:10 +0000 (0:00:00.009) 0:00:05.880 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003763", "end": "2024-01-31 23:40:11.143667", "rc": 0, "start": "2024-01-31 23:40:11.139904" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritem7luhouy/tests/tasks/get_current_interfaces.yml:9 Wednesday 31 January 2024 23:40:11 +0000 (0:00:00.191) 0:00:06.071 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritem7luhouy/tests/tasks/show_interfaces.yml:5 Wednesday 31 January 2024 23:40:11 +0000 (0:00:00.010) 0:00:06.082 ***** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Include the task 'assert_device_absent.yml'] ***************************** task path: /WORKDIR/git-bond_options_rewritem7luhouy/tests/tasks/create_and_remove_interface.yml:11 Wednesday 31 January 2024 23:40:11 +0000 (0:00:00.009) 0:00:06.092 ***** included: /WORKDIR/git-bond_options_rewritem7luhouy/tests/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewritem7luhouy/tests/tasks/assert_device_absent.yml:3 Wednesday 31 January 2024 23:40:11 +0000 (0:00:00.016) 0:00:06.109 ***** included: /WORKDIR/git-bond_options_rewritem7luhouy/tests/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth1298] ***************************************** task path: /WORKDIR/git-bond_options_rewritem7luhouy/tests/tasks/get_interface_stat.yml:3 Wednesday 31 January 2024 23:40:11 +0000 (0:00:00.011) 0:00:06.120 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'veth1298'] ************************ task path: /WORKDIR/git-bond_options_rewritem7luhouy/tests/tasks/assert_device_absent.yml:5 Wednesday 31 January 2024 23:40:11 +0000 (0:00:00.186) 0:00:06.307 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-bond_options_rewritem7luhouy/tests/tasks/create_and_remove_interface.yml:14 Wednesday 31 January 2024 23:40:11 +0000 (0:00:00.011) 0:00:06.318 ***** included: /WORKDIR/git-bond_options_rewritem7luhouy/tests/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-bond_options_rewritem7luhouy/tests/tasks/manage_test_interface.yml:3 Wednesday 31 January 2024 23:40:11 +0000 (0:00:00.019) 0:00:06.337 ***** 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_rewritem7luhouy/tests/tasks/manage_test_interface.yml:8 Wednesday 31 January 2024 23:40:11 +0000 (0:00:00.008) 0:00:06.346 ***** 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_rewritem7luhouy/tests/tasks/manage_test_interface.yml:13 Wednesday 31 January 2024 23:40:11 +0000 (0:00:00.008) 0:00:06.354 ***** included: /WORKDIR/git-bond_options_rewritem7luhouy/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritem7luhouy/tests/tasks/show_interfaces.yml:3 Wednesday 31 January 2024 23:40:11 +0000 (0:00:00.013) 0:00:06.368 ***** included: /WORKDIR/git-bond_options_rewritem7luhouy/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritem7luhouy/tests/tasks/get_current_interfaces.yml:3 Wednesday 31 January 2024 23:40:11 +0000 (0:00:00.010) 0:00:06.378 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003448", "end": "2024-01-31 23:40:11.640838", "rc": 0, "start": "2024-01-31 23:40:11.637390" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritem7luhouy/tests/tasks/get_current_interfaces.yml:9 Wednesday 31 January 2024 23:40:11 +0000 (0:00:00.190) 0:00:06.569 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritem7luhouy/tests/tasks/show_interfaces.yml:5 Wednesday 31 January 2024 23:40:11 +0000 (0:00:00.011) 0:00:06.581 ***** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-bond_options_rewritem7luhouy/tests/tasks/manage_test_interface.yml:16 Wednesday 31 January 2024 23:40:11 +0000 (0:00:00.010) 0:00:06.591 ***** ok: [sut] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth1298] ****************************************** task path: /WORKDIR/git-bond_options_rewritem7luhouy/tests/tasks/manage_test_interface.yml:27 Wednesday 31 January 2024 23:40:14 +0000 (0:00:02.583) 0:00:09.174 ***** 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.014055", "end": "2024-01-31 23:40:14.452956", "item": "ip link add veth1298 type veth peer name peerveth1298", "rc": 0, "start": "2024-01-31 23:40:14.438901" } ok: [sut] => (item=ip link set peerveth1298 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peerveth1298", "up" ], "delta": "0:00:00.004343", "end": "2024-01-31 23:40:14.679529", "item": "ip link set peerveth1298 up", "rc": 0, "start": "2024-01-31 23:40:14.675186" } ok: [sut] => (item=ip link set veth1298 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "veth1298", "up" ], "delta": "0:00:00.004320", "end": "2024-01-31 23:40:14.861878", "item": "ip link set veth1298 up", "rc": 0, "start": "2024-01-31 23:40:14.857558" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-bond_options_rewritem7luhouy/tests/tasks/manage_test_interface.yml:35 Wednesday 31 January 2024 23:40:14 +0000 (0:00:00.615) 0:00:09.790 ***** ok: [sut] => { "changed": false, "cmd": [ "nmcli", "d", "set", "veth1298", "managed", "true" ], "delta": "0:00:00.024054", "end": "2024-01-31 23:40:15.072742", "rc": 0, "start": "2024-01-31 23:40:15.048688" } TASK [Delete veth interface veth1298] ****************************************** task path: /WORKDIR/git-bond_options_rewritem7luhouy/tests/tasks/manage_test_interface.yml:43 Wednesday 31 January 2024 23:40:15 +0000 (0:00:00.211) 0:00:10.001 ***** 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_rewritem7luhouy/tests/tasks/manage_test_interface.yml:49 Wednesday 31 January 2024 23:40:15 +0000 (0:00:00.009) 0:00:10.011 ***** 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_rewritem7luhouy/tests/tasks/manage_test_interface.yml:54 Wednesday 31 January 2024 23:40:15 +0000 (0:00:00.008) 0:00:10.020 ***** 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_rewritem7luhouy/tests/tasks/manage_test_interface.yml:60 Wednesday 31 January 2024 23:40:15 +0000 (0:00:00.008) 0:00:10.028 ***** 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_rewritem7luhouy/tests/tasks/manage_test_interface.yml:65 Wednesday 31 January 2024 23:40:15 +0000 (0:00:00.009) 0:00:10.038 ***** 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_rewritem7luhouy/tests/tasks/create_and_remove_interface.yml:18 Wednesday 31 January 2024 23:40:15 +0000 (0:00:00.007) 0:00:10.046 ***** included: /WORKDIR/git-bond_options_rewritem7luhouy/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritem7luhouy/tests/tasks/show_interfaces.yml:3 Wednesday 31 January 2024 23:40:15 +0000 (0:00:00.019) 0:00:10.065 ***** included: /WORKDIR/git-bond_options_rewritem7luhouy/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritem7luhouy/tests/tasks/get_current_interfaces.yml:3 Wednesday 31 January 2024 23:40:15 +0000 (0:00:00.009) 0:00:10.075 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003361", "end": "2024-01-31 23:40:15.337238", "rc": 0, "start": "2024-01-31 23:40:15.333877" } STDOUT: bonding_masters eth0 lo peerveth1298 veth1298 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritem7luhouy/tests/tasks/get_current_interfaces.yml:9 Wednesday 31 January 2024 23:40:15 +0000 (0:00:00.189) 0:00:10.265 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "peerveth1298", "veth1298" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritem7luhouy/tests/tasks/show_interfaces.yml:5 Wednesday 31 January 2024 23:40:15 +0000 (0:00:00.010) 0:00:10.275 ***** 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_rewritem7luhouy/tests/tasks/create_and_remove_interface.yml:20 Wednesday 31 January 2024 23:40:15 +0000 (0:00:00.010) 0:00:10.285 ***** included: /WORKDIR/git-bond_options_rewritem7luhouy/tests/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewritem7luhouy/tests/tasks/assert_device_present.yml:3 Wednesday 31 January 2024 23:40:15 +0000 (0:00:00.019) 0:00:10.304 ***** included: /WORKDIR/git-bond_options_rewritem7luhouy/tests/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth1298] ***************************************** task path: /WORKDIR/git-bond_options_rewritem7luhouy/tests/tasks/get_interface_stat.yml:3 Wednesday 31 January 2024 23:40:15 +0000 (0:00:00.010) 0:00:10.314 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1706744414.4428182, "block_size": 4096, "blocks": 0, "ctime": 1706744414.4428182, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 34612, "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": 1706744414.4428182, "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_rewritem7luhouy/tests/tasks/assert_device_present.yml:5 Wednesday 31 January 2024 23:40:15 +0000 (0:00:00.187) 0:00:10.502 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-bond_options_rewritem7luhouy/tests/tasks/create_and_remove_interface.yml:23 Wednesday 31 January 2024 23:40:15 +0000 (0:00:00.011) 0:00:10.513 ***** included: /WORKDIR/git-bond_options_rewritem7luhouy/tests/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-bond_options_rewritem7luhouy/tests/tasks/manage_test_interface.yml:3 Wednesday 31 January 2024 23:40:15 +0000 (0:00:00.021) 0:00:10.534 ***** 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_rewritem7luhouy/tests/tasks/manage_test_interface.yml:8 Wednesday 31 January 2024 23:40:15 +0000 (0:00:00.008) 0:00:10.543 ***** 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_rewritem7luhouy/tests/tasks/manage_test_interface.yml:13 Wednesday 31 January 2024 23:40:15 +0000 (0:00:00.008) 0:00:10.551 ***** included: /WORKDIR/git-bond_options_rewritem7luhouy/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritem7luhouy/tests/tasks/show_interfaces.yml:3 Wednesday 31 January 2024 23:40:15 +0000 (0:00:00.012) 0:00:10.563 ***** included: /WORKDIR/git-bond_options_rewritem7luhouy/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritem7luhouy/tests/tasks/get_current_interfaces.yml:3 Wednesday 31 January 2024 23:40:15 +0000 (0:00:00.010) 0:00:10.574 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003446", "end": "2024-01-31 23:40:15.835760", "rc": 0, "start": "2024-01-31 23:40:15.832314" } STDOUT: bonding_masters eth0 lo peerveth1298 veth1298 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritem7luhouy/tests/tasks/get_current_interfaces.yml:9 Wednesday 31 January 2024 23:40:15 +0000 (0:00:00.190) 0:00:10.764 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "peerveth1298", "veth1298" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritem7luhouy/tests/tasks/show_interfaces.yml:5 Wednesday 31 January 2024 23:40:15 +0000 (0:00:00.012) 0:00:10.776 ***** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'peerveth1298', 'veth1298'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-bond_options_rewritem7luhouy/tests/tasks/manage_test_interface.yml:16 Wednesday 31 January 2024 23:40:15 +0000 (0:00:00.010) 0:00:10.787 ***** ok: [sut] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth1298] ****************************************** task path: /WORKDIR/git-bond_options_rewritem7luhouy/tests/tasks/manage_test_interface.yml:27 Wednesday 31 January 2024 23:40:18 +0000 (0:00:02.591) 0:00:13.378 ***** 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_rewritem7luhouy/tests/tasks/manage_test_interface.yml:35 Wednesday 31 January 2024 23:40:18 +0000 (0:00:00.016) 0:00:13.395 ***** 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_rewritem7luhouy/tests/tasks/manage_test_interface.yml:43 Wednesday 31 January 2024 23:40:18 +0000 (0:00:00.009) 0:00:13.404 ***** ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "veth1298", "type", "veth" ], "delta": "0:00:00.010917", "end": "2024-01-31 23:40:18.675641", "rc": 0, "start": "2024-01-31 23:40:18.664724" } TASK [Create dummy interface veth1298] ***************************************** task path: /WORKDIR/git-bond_options_rewritem7luhouy/tests/tasks/manage_test_interface.yml:49 Wednesday 31 January 2024 23:40:18 +0000 (0:00:00.200) 0:00:13.605 ***** 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_rewritem7luhouy/tests/tasks/manage_test_interface.yml:54 Wednesday 31 January 2024 23:40:18 +0000 (0:00:00.009) 0:00:13.615 ***** 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_rewritem7luhouy/tests/tasks/manage_test_interface.yml:60 Wednesday 31 January 2024 23:40:18 +0000 (0:00:00.009) 0:00:13.625 ***** 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_rewritem7luhouy/tests/tasks/manage_test_interface.yml:65 Wednesday 31 January 2024 23:40:18 +0000 (0:00:00.009) 0:00:13.635 ***** 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_rewritem7luhouy/tests/tasks/create_and_remove_interface.yml:27 Wednesday 31 January 2024 23:40:18 +0000 (0:00:00.008) 0:00:13.643 ***** included: /WORKDIR/git-bond_options_rewritem7luhouy/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritem7luhouy/tests/tasks/show_interfaces.yml:3 Wednesday 31 January 2024 23:40:18 +0000 (0:00:00.021) 0:00:13.665 ***** included: /WORKDIR/git-bond_options_rewritem7luhouy/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritem7luhouy/tests/tasks/get_current_interfaces.yml:3 Wednesday 31 January 2024 23:40:18 +0000 (0:00:00.010) 0:00:13.675 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003481", "end": "2024-01-31 23:40:18.936292", "rc": 0, "start": "2024-01-31 23:40:18.932811" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritem7luhouy/tests/tasks/get_current_interfaces.yml:9 Wednesday 31 January 2024 23:40:18 +0000 (0:00:00.188) 0:00:13.864 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritem7luhouy/tests/tasks/show_interfaces.yml:5 Wednesday 31 January 2024 23:40:18 +0000 (0:00:00.011) 0:00:13.875 ***** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Include the task 'assert_device_absent.yml'] ***************************** task path: /WORKDIR/git-bond_options_rewritem7luhouy/tests/tasks/create_and_remove_interface.yml:29 Wednesday 31 January 2024 23:40:18 +0000 (0:00:00.009) 0:00:13.885 ***** included: /WORKDIR/git-bond_options_rewritem7luhouy/tests/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewritem7luhouy/tests/tasks/assert_device_absent.yml:3 Wednesday 31 January 2024 23:40:18 +0000 (0:00:00.023) 0:00:13.908 ***** included: /WORKDIR/git-bond_options_rewritem7luhouy/tests/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth1298] ***************************************** task path: /WORKDIR/git-bond_options_rewritem7luhouy/tests/tasks/get_interface_stat.yml:3 Wednesday 31 January 2024 23:40:19 +0000 (0:00:00.010) 0:00:13.919 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'veth1298'] ************************ task path: /WORKDIR/git-bond_options_rewritem7luhouy/tests/tasks/assert_device_absent.yml:5 Wednesday 31 January 2024 23:40:19 +0000 (0:00:00.185) 0:00:14.105 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test veth interface management] ****************************************** task path: /WORKDIR/git-bond_options_rewritem7luhouy/tests/tests_helpers_and_asserts.yml:15 Wednesday 31 January 2024 23:40:19 +0000 (0:00:00.011) 0:00:14.116 ***** included: /WORKDIR/git-bond_options_rewritem7luhouy/tests/tasks/create_and_remove_interface.yml for sut TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-bond_options_rewritem7luhouy/tests/tasks/create_and_remove_interface.yml:3 Wednesday 31 January 2024 23:40:19 +0000 (0:00:00.015) 0:00:14.132 ***** included: /WORKDIR/git-bond_options_rewritem7luhouy/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritem7luhouy/tests/tasks/show_interfaces.yml:3 Wednesday 31 January 2024 23:40:19 +0000 (0:00:00.010) 0:00:14.143 ***** included: /WORKDIR/git-bond_options_rewritem7luhouy/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritem7luhouy/tests/tasks/get_current_interfaces.yml:3 Wednesday 31 January 2024 23:40:19 +0000 (0:00:00.009) 0:00:14.153 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003451", "end": "2024-01-31 23:40:19.413744", "rc": 0, "start": "2024-01-31 23:40:19.410293" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritem7luhouy/tests/tasks/get_current_interfaces.yml:9 Wednesday 31 January 2024 23:40:19 +0000 (0:00:00.189) 0:00:14.342 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritem7luhouy/tests/tasks/show_interfaces.yml:5 Wednesday 31 January 2024 23:40:19 +0000 (0:00:00.012) 0:00:14.354 ***** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-bond_options_rewritem7luhouy/tests/tasks/create_and_remove_interface.yml:5 Wednesday 31 January 2024 23:40:19 +0000 (0:00:00.010) 0:00:14.365 ***** included: /WORKDIR/git-bond_options_rewritem7luhouy/tests/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-bond_options_rewritem7luhouy/tests/tasks/manage_test_interface.yml:3 Wednesday 31 January 2024 23:40:19 +0000 (0:00:00.014) 0:00:14.379 ***** 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_rewritem7luhouy/tests/tasks/manage_test_interface.yml:8 Wednesday 31 January 2024 23:40:19 +0000 (0:00:00.008) 0:00:14.388 ***** 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_rewritem7luhouy/tests/tasks/manage_test_interface.yml:13 Wednesday 31 January 2024 23:40:19 +0000 (0:00:00.008) 0:00:14.396 ***** included: /WORKDIR/git-bond_options_rewritem7luhouy/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritem7luhouy/tests/tasks/show_interfaces.yml:3 Wednesday 31 January 2024 23:40:19 +0000 (0:00:00.013) 0:00:14.409 ***** included: /WORKDIR/git-bond_options_rewritem7luhouy/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritem7luhouy/tests/tasks/get_current_interfaces.yml:3 Wednesday 31 January 2024 23:40:19 +0000 (0:00:00.010) 0:00:14.420 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003551", "end": "2024-01-31 23:40:19.687167", "rc": 0, "start": "2024-01-31 23:40:19.683616" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritem7luhouy/tests/tasks/get_current_interfaces.yml:9 Wednesday 31 January 2024 23:40:19 +0000 (0:00:00.195) 0:00:14.615 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritem7luhouy/tests/tasks/show_interfaces.yml:5 Wednesday 31 January 2024 23:40:19 +0000 (0:00:00.011) 0:00:14.626 ***** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-bond_options_rewritem7luhouy/tests/tasks/manage_test_interface.yml:16 Wednesday 31 January 2024 23:40:19 +0000 (0:00:00.011) 0:00:14.638 ***** ok: [sut] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface dummy1298] ***************************************** task path: /WORKDIR/git-bond_options_rewritem7luhouy/tests/tasks/manage_test_interface.yml:27 Wednesday 31 January 2024 23:40:22 +0000 (0:00:02.606) 0:00:17.244 ***** 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_rewritem7luhouy/tests/tasks/manage_test_interface.yml:35 Wednesday 31 January 2024 23:40:22 +0000 (0:00:00.016) 0:00:17.260 ***** 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_rewritem7luhouy/tests/tasks/manage_test_interface.yml:43 Wednesday 31 January 2024 23:40:22 +0000 (0:00:00.008) 0:00:17.269 ***** 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_rewritem7luhouy/tests/tasks/manage_test_interface.yml:49 Wednesday 31 January 2024 23:40:22 +0000 (0:00:00.008) 0:00:17.278 ***** 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_rewritem7luhouy/tests/tasks/manage_test_interface.yml:54 Wednesday 31 January 2024 23:40:22 +0000 (0:00:00.009) 0:00:17.288 ***** 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_rewritem7luhouy/tests/tasks/manage_test_interface.yml:60 Wednesday 31 January 2024 23:40:22 +0000 (0:00:00.008) 0:00:17.296 ***** 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_rewritem7luhouy/tests/tasks/manage_test_interface.yml:65 Wednesday 31 January 2024 23:40:22 +0000 (0:00:00.008) 0:00:17.305 ***** 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_rewritem7luhouy/tests/tasks/create_and_remove_interface.yml:9 Wednesday 31 January 2024 23:40:22 +0000 (0:00:00.011) 0:00:17.316 ***** included: /WORKDIR/git-bond_options_rewritem7luhouy/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritem7luhouy/tests/tasks/show_interfaces.yml:3 Wednesday 31 January 2024 23:40:22 +0000 (0:00:00.014) 0:00:17.331 ***** included: /WORKDIR/git-bond_options_rewritem7luhouy/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritem7luhouy/tests/tasks/get_current_interfaces.yml:3 Wednesday 31 January 2024 23:40:22 +0000 (0:00:00.010) 0:00:17.342 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003461", "end": "2024-01-31 23:40:22.605239", "rc": 0, "start": "2024-01-31 23:40:22.601778" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritem7luhouy/tests/tasks/get_current_interfaces.yml:9 Wednesday 31 January 2024 23:40:22 +0000 (0:00:00.191) 0:00:17.533 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritem7luhouy/tests/tasks/show_interfaces.yml:5 Wednesday 31 January 2024 23:40:22 +0000 (0:00:00.011) 0:00:17.545 ***** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Include the task 'assert_device_absent.yml'] ***************************** task path: /WORKDIR/git-bond_options_rewritem7luhouy/tests/tasks/create_and_remove_interface.yml:11 Wednesday 31 January 2024 23:40:22 +0000 (0:00:00.010) 0:00:17.555 ***** included: /WORKDIR/git-bond_options_rewritem7luhouy/tests/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewritem7luhouy/tests/tasks/assert_device_absent.yml:3 Wednesday 31 January 2024 23:40:22 +0000 (0:00:00.014) 0:00:17.570 ***** included: /WORKDIR/git-bond_options_rewritem7luhouy/tests/tasks/get_interface_stat.yml for sut TASK [Get stat for interface dummy1298] **************************************** task path: /WORKDIR/git-bond_options_rewritem7luhouy/tests/tasks/get_interface_stat.yml:3 Wednesday 31 January 2024 23:40:22 +0000 (0:00:00.010) 0:00:17.580 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'dummy1298'] *********************** task path: /WORKDIR/git-bond_options_rewritem7luhouy/tests/tasks/assert_device_absent.yml:5 Wednesday 31 January 2024 23:40:22 +0000 (0:00:00.186) 0:00:17.767 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-bond_options_rewritem7luhouy/tests/tasks/create_and_remove_interface.yml:14 Wednesday 31 January 2024 23:40:22 +0000 (0:00:00.011) 0:00:17.778 ***** included: /WORKDIR/git-bond_options_rewritem7luhouy/tests/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-bond_options_rewritem7luhouy/tests/tasks/manage_test_interface.yml:3 Wednesday 31 January 2024 23:40:22 +0000 (0:00:00.018) 0:00:17.797 ***** 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_rewritem7luhouy/tests/tasks/manage_test_interface.yml:8 Wednesday 31 January 2024 23:40:22 +0000 (0:00:00.007) 0:00:17.804 ***** 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_rewritem7luhouy/tests/tasks/manage_test_interface.yml:13 Wednesday 31 January 2024 23:40:22 +0000 (0:00:00.007) 0:00:17.812 ***** included: /WORKDIR/git-bond_options_rewritem7luhouy/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritem7luhouy/tests/tasks/show_interfaces.yml:3 Wednesday 31 January 2024 23:40:22 +0000 (0:00:00.012) 0:00:17.824 ***** included: /WORKDIR/git-bond_options_rewritem7luhouy/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritem7luhouy/tests/tasks/get_current_interfaces.yml:3 Wednesday 31 January 2024 23:40:22 +0000 (0:00:00.010) 0:00:17.835 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003470", "end": "2024-01-31 23:40:23.097356", "rc": 0, "start": "2024-01-31 23:40:23.093886" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritem7luhouy/tests/tasks/get_current_interfaces.yml:9 Wednesday 31 January 2024 23:40:23 +0000 (0:00:00.190) 0:00:18.025 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritem7luhouy/tests/tasks/show_interfaces.yml:5 Wednesday 31 January 2024 23:40:23 +0000 (0:00:00.010) 0:00:18.036 ***** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-bond_options_rewritem7luhouy/tests/tasks/manage_test_interface.yml:16 Wednesday 31 January 2024 23:40:23 +0000 (0:00:00.012) 0:00:18.048 ***** ok: [sut] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface dummy1298] ***************************************** task path: /WORKDIR/git-bond_options_rewritem7luhouy/tests/tasks/manage_test_interface.yml:27 Wednesday 31 January 2024 23:40:25 +0000 (0:00:02.564) 0:00:20.613 ***** 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_rewritem7luhouy/tests/tasks/manage_test_interface.yml:35 Wednesday 31 January 2024 23:40:25 +0000 (0:00:00.016) 0:00:20.629 ***** 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_rewritem7luhouy/tests/tasks/manage_test_interface.yml:43 Wednesday 31 January 2024 23:40:25 +0000 (0:00:00.009) 0:00:20.638 ***** 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_rewritem7luhouy/tests/tasks/manage_test_interface.yml:49 Wednesday 31 January 2024 23:40:25 +0000 (0:00:00.008) 0:00:20.646 ***** ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "add", "dummy1298", "type", "dummy" ], "delta": "0:00:00.009031", "end": "2024-01-31 23:40:25.915390", "rc": 0, "start": "2024-01-31 23:40:25.906359" } TASK [Delete dummy interface dummy1298] **************************************** task path: /WORKDIR/git-bond_options_rewritem7luhouy/tests/tasks/manage_test_interface.yml:54 Wednesday 31 January 2024 23:40:25 +0000 (0:00:00.208) 0:00:20.855 ***** 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_rewritem7luhouy/tests/tasks/manage_test_interface.yml:60 Wednesday 31 January 2024 23:40:25 +0000 (0:00:00.009) 0:00:20.864 ***** 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_rewritem7luhouy/tests/tasks/manage_test_interface.yml:65 Wednesday 31 January 2024 23:40:25 +0000 (0:00:00.008) 0:00:20.873 ***** 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_rewritem7luhouy/tests/tasks/create_and_remove_interface.yml:18 Wednesday 31 January 2024 23:40:25 +0000 (0:00:00.009) 0:00:20.883 ***** included: /WORKDIR/git-bond_options_rewritem7luhouy/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritem7luhouy/tests/tasks/show_interfaces.yml:3 Wednesday 31 January 2024 23:40:25 +0000 (0:00:00.017) 0:00:20.901 ***** included: /WORKDIR/git-bond_options_rewritem7luhouy/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritem7luhouy/tests/tasks/get_current_interfaces.yml:3 Wednesday 31 January 2024 23:40:25 +0000 (0:00:00.009) 0:00:20.910 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003715", "end": "2024-01-31 23:40:26.175183", "rc": 0, "start": "2024-01-31 23:40:26.171468" } STDOUT: bonding_masters dummy1298 eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritem7luhouy/tests/tasks/get_current_interfaces.yml:9 Wednesday 31 January 2024 23:40:26 +0000 (0:00:00.192) 0:00:21.103 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "dummy1298", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritem7luhouy/tests/tasks/show_interfaces.yml:5 Wednesday 31 January 2024 23:40:26 +0000 (0:00:00.011) 0:00:21.115 ***** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'dummy1298', 'eth0', 'lo'] TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-bond_options_rewritem7luhouy/tests/tasks/create_and_remove_interface.yml:20 Wednesday 31 January 2024 23:40:26 +0000 (0:00:00.010) 0:00:21.125 ***** included: /WORKDIR/git-bond_options_rewritem7luhouy/tests/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewritem7luhouy/tests/tasks/assert_device_present.yml:3 Wednesday 31 January 2024 23:40:26 +0000 (0:00:00.020) 0:00:21.145 ***** included: /WORKDIR/git-bond_options_rewritem7luhouy/tests/tasks/get_interface_stat.yml for sut TASK [Get stat for interface dummy1298] **************************************** task path: /WORKDIR/git-bond_options_rewritem7luhouy/tests/tasks/get_interface_stat.yml:3 Wednesday 31 January 2024 23:40:26 +0000 (0:00:00.010) 0:00:21.156 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1706744425.9147642, "block_size": 4096, "blocks": 0, "ctime": 1706744425.9147642, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 34935, "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": 1706744425.9147642, "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_rewritem7luhouy/tests/tasks/assert_device_present.yml:5 Wednesday 31 January 2024 23:40:26 +0000 (0:00:00.187) 0:00:21.343 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-bond_options_rewritem7luhouy/tests/tasks/create_and_remove_interface.yml:23 Wednesday 31 January 2024 23:40:26 +0000 (0:00:00.013) 0:00:21.356 ***** included: /WORKDIR/git-bond_options_rewritem7luhouy/tests/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-bond_options_rewritem7luhouy/tests/tasks/manage_test_interface.yml:3 Wednesday 31 January 2024 23:40:26 +0000 (0:00:00.023) 0:00:21.380 ***** 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_rewritem7luhouy/tests/tasks/manage_test_interface.yml:8 Wednesday 31 January 2024 23:40:26 +0000 (0:00:00.009) 0:00:21.389 ***** 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_rewritem7luhouy/tests/tasks/manage_test_interface.yml:13 Wednesday 31 January 2024 23:40:26 +0000 (0:00:00.009) 0:00:21.399 ***** included: /WORKDIR/git-bond_options_rewritem7luhouy/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritem7luhouy/tests/tasks/show_interfaces.yml:3 Wednesday 31 January 2024 23:40:26 +0000 (0:00:00.013) 0:00:21.413 ***** included: /WORKDIR/git-bond_options_rewritem7luhouy/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritem7luhouy/tests/tasks/get_current_interfaces.yml:3 Wednesday 31 January 2024 23:40:26 +0000 (0:00:00.011) 0:00:21.424 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003342", "end": "2024-01-31 23:40:26.685410", "rc": 0, "start": "2024-01-31 23:40:26.682068" } STDOUT: bonding_masters dummy1298 eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritem7luhouy/tests/tasks/get_current_interfaces.yml:9 Wednesday 31 January 2024 23:40:26 +0000 (0:00:00.190) 0:00:21.615 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "dummy1298", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritem7luhouy/tests/tasks/show_interfaces.yml:5 Wednesday 31 January 2024 23:40:26 +0000 (0:00:00.011) 0:00:21.626 ***** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'dummy1298', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-bond_options_rewritem7luhouy/tests/tasks/manage_test_interface.yml:16 Wednesday 31 January 2024 23:40:26 +0000 (0:00:00.011) 0:00:21.637 ***** ok: [sut] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface dummy1298] ***************************************** task path: /WORKDIR/git-bond_options_rewritem7luhouy/tests/tasks/manage_test_interface.yml:27 Wednesday 31 January 2024 23:40:29 +0000 (0:00:02.575) 0:00:24.212 ***** 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_rewritem7luhouy/tests/tasks/manage_test_interface.yml:35 Wednesday 31 January 2024 23:40:29 +0000 (0:00:00.016) 0:00:24.229 ***** 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_rewritem7luhouy/tests/tasks/manage_test_interface.yml:43 Wednesday 31 January 2024 23:40:29 +0000 (0:00:00.008) 0:00:24.237 ***** 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_rewritem7luhouy/tests/tasks/manage_test_interface.yml:49 Wednesday 31 January 2024 23:40:29 +0000 (0:00:00.008) 0:00:24.246 ***** 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_rewritem7luhouy/tests/tasks/manage_test_interface.yml:54 Wednesday 31 January 2024 23:40:29 +0000 (0:00:00.009) 0:00:24.256 ***** ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "dummy1298", "type", "dummy" ], "delta": "0:00:00.007564", "end": "2024-01-31 23:40:29.523304", "rc": 0, "start": "2024-01-31 23:40:29.515740" } TASK [Create tap interface dummy1298] ****************************************** task path: /WORKDIR/git-bond_options_rewritem7luhouy/tests/tasks/manage_test_interface.yml:60 Wednesday 31 January 2024 23:40:29 +0000 (0:00:00.196) 0:00:24.452 ***** 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_rewritem7luhouy/tests/tasks/manage_test_interface.yml:65 Wednesday 31 January 2024 23:40:29 +0000 (0:00:00.009) 0:00:24.462 ***** 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_rewritem7luhouy/tests/tasks/create_and_remove_interface.yml:27 Wednesday 31 January 2024 23:40:29 +0000 (0:00:00.011) 0:00:24.473 ***** included: /WORKDIR/git-bond_options_rewritem7luhouy/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritem7luhouy/tests/tasks/show_interfaces.yml:3 Wednesday 31 January 2024 23:40:29 +0000 (0:00:00.034) 0:00:24.508 ***** included: /WORKDIR/git-bond_options_rewritem7luhouy/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritem7luhouy/tests/tasks/get_current_interfaces.yml:3 Wednesday 31 January 2024 23:40:29 +0000 (0:00:00.011) 0:00:24.520 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003463", "end": "2024-01-31 23:40:29.781015", "rc": 0, "start": "2024-01-31 23:40:29.777552" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritem7luhouy/tests/tasks/get_current_interfaces.yml:9 Wednesday 31 January 2024 23:40:29 +0000 (0:00:00.188) 0:00:24.708 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritem7luhouy/tests/tasks/show_interfaces.yml:5 Wednesday 31 January 2024 23:40:29 +0000 (0:00:00.010) 0:00:24.719 ***** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Include the task 'assert_device_absent.yml'] ***************************** task path: /WORKDIR/git-bond_options_rewritem7luhouy/tests/tasks/create_and_remove_interface.yml:29 Wednesday 31 January 2024 23:40:29 +0000 (0:00:00.010) 0:00:24.729 ***** included: /WORKDIR/git-bond_options_rewritem7luhouy/tests/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewritem7luhouy/tests/tasks/assert_device_absent.yml:3 Wednesday 31 January 2024 23:40:29 +0000 (0:00:00.024) 0:00:24.753 ***** included: /WORKDIR/git-bond_options_rewritem7luhouy/tests/tasks/get_interface_stat.yml for sut TASK [Get stat for interface dummy1298] **************************************** task path: /WORKDIR/git-bond_options_rewritem7luhouy/tests/tasks/get_interface_stat.yml:3 Wednesday 31 January 2024 23:40:29 +0000 (0:00:00.011) 0:00:24.765 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'dummy1298'] *********************** task path: /WORKDIR/git-bond_options_rewritem7luhouy/tests/tasks/assert_device_absent.yml:5 Wednesday 31 January 2024 23:40:30 +0000 (0:00:00.186) 0:00:24.952 ***** 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 31 January 2024 23:40:30 +0000 (0:00:00.016) 0:00:24.968 ***** =============================================================================== Install iproute --------------------------------------------------------- 3.03s /WORKDIR/git-bond_options_rewritem7luhouy/tests/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 2.61s /WORKDIR/git-bond_options_rewritem7luhouy/tests/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 2.59s /WORKDIR/git-bond_options_rewritem7luhouy/tests/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 2.58s /WORKDIR/git-bond_options_rewritem7luhouy/tests/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 2.58s /WORKDIR/git-bond_options_rewritem7luhouy/tests/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 2.56s /WORKDIR/git-bond_options_rewritem7luhouy/tests/tasks/manage_test_interface.yml:16 Gathering Facts --------------------------------------------------------- 0.83s /WORKDIR/git-bond_options_rewritem7luhouy/tests/tests_helpers_and_asserts.yml:3 Create veth interface veth1298 ------------------------------------------ 0.62s /WORKDIR/git-bond_options_rewritem7luhouy/tests/tasks/manage_test_interface.yml:27 Enable EPEL 8 ----------------------------------------------------------- 0.43s /WORKDIR/git-bond_options_rewritem7luhouy/tests/tasks/enable_epel.yml:35 ------ Gather the minimum subset of ansible_facts required by the network role test --- 0.35s /WORKDIR/git-bond_options_rewritem7luhouy/tests/tasks/el_repo_setup.yml:3 ----- Create EPEL 8 ----------------------------------------------------------- 0.26s /WORKDIR/git-bond_options_rewritem7luhouy/tests/tasks/enable_epel.yml:8 ------- Check if system is ostree ----------------------------------------------- 0.26s /WORKDIR/git-bond_options_rewritem7luhouy/tests/tasks/el_repo_setup.yml:17 ---- Set up veth as managed by NetworkManager -------------------------------- 0.21s /WORKDIR/git-bond_options_rewritem7luhouy/tests/tasks/manage_test_interface.yml:35 Create dummy interface dummy1298 ---------------------------------------- 0.21s /WORKDIR/git-bond_options_rewritem7luhouy/tests/tasks/manage_test_interface.yml:49 Delete veth interface veth1298 ------------------------------------------ 0.20s /WORKDIR/git-bond_options_rewritem7luhouy/tests/tasks/manage_test_interface.yml:43 Delete dummy interface dummy1298 ---------------------------------------- 0.20s /WORKDIR/git-bond_options_rewritem7luhouy/tests/tasks/manage_test_interface.yml:54 Gather current interface info ------------------------------------------- 0.20s /WORKDIR/git-bond_options_rewritem7luhouy/tests/tasks/get_current_interfaces.yml:3 Gather current interface info ------------------------------------------- 0.19s /WORKDIR/git-bond_options_rewritem7luhouy/tests/tasks/get_current_interfaces.yml:3 Gather current interface info ------------------------------------------- 0.19s /WORKDIR/git-bond_options_rewritem7luhouy/tests/tasks/get_current_interfaces.yml:3 Gather current interface info ------------------------------------------- 0.19s /WORKDIR/git-bond_options_rewritem7luhouy/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. ---^---^---^---^---^---