# 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_rewrite3nd7uimy/.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_rewrite3nd7uimy/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_rewrite3nd7uimy/tests/tests_helpers_and_asserts.yml:3 Tuesday 13 February 2024 14:03:26 +0000 (0:00:00.064) 0:00:00.064 ****** ok: [sut] TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-bond_options_rewrite3nd7uimy/tests/tests_helpers_and_asserts.yml:6 Tuesday 13 February 2024 14:03:27 +0000 (0:00:00.970) 0:00:01.034 ****** included: /WORKDIR/git-bond_options_rewrite3nd7uimy/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_rewrite3nd7uimy/tests/tasks/el_repo_setup.yml:3 Tuesday 13 February 2024 14:03:27 +0000 (0:00:00.013) 0:00:01.048 ****** skipping: [sut] => { "changed": false, "false_condition": "not ansible_facts.keys() | list | intersect(network_test_required_facts) == network_test_required_facts", "skip_reason": "Conditional result was False" } TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-bond_options_rewrite3nd7uimy/tests/tasks/el_repo_setup.yml:17 Tuesday 13 February 2024 14:03:27 +0000 (0:00:00.020) 0:00:01.069 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-bond_options_rewrite3nd7uimy/tests/tasks/el_repo_setup.yml:22 Tuesday 13 February 2024 14:03:28 +0000 (0:00:00.304) 0:00:01.373 ****** ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-bond_options_rewrite3nd7uimy/tests/tasks/el_repo_setup.yml:26 Tuesday 13 February 2024 14:03:28 +0000 (0:00:00.028) 0:00:01.402 ****** 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_rewrite3nd7uimy/tests/tasks/el_repo_setup.yml:51 Tuesday 13 February 2024 14:03:28 +0000 (0:00:00.032) 0:00:01.435 ****** included: /WORKDIR/git-bond_options_rewrite3nd7uimy/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 9] *********************************************************** task path: /WORKDIR/git-bond_options_rewrite3nd7uimy/tests/tasks/enable_epel.yml:8 Tuesday 13 February 2024 14:03:28 +0000 (0:00:00.052) 0:00:01.487 ****** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version in ['7', '8']", "skip_reason": "Conditional result was False" } TASK [Install yum-utils package] *********************************************** task path: /WORKDIR/git-bond_options_rewrite3nd7uimy/tests/tasks/enable_epel.yml:24 Tuesday 13 February 2024 14:03:28 +0000 (0:00:00.028) 0:00:01.516 ****** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version in ['7', '8']", "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /WORKDIR/git-bond_options_rewrite3nd7uimy/tests/tasks/enable_epel.yml:30 Tuesday 13 February 2024 14:03:28 +0000 (0:00:00.048) 0:00:01.565 ****** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version in ['7', '8']", "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /WORKDIR/git-bond_options_rewrite3nd7uimy/tests/tasks/enable_epel.yml:35 Tuesday 13 February 2024 14:03:28 +0000 (0:00:00.031) 0:00:01.596 ****** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version in ['7', '8']", "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-bond_options_rewrite3nd7uimy/tests/tasks/enable_epel.yml:40 Tuesday 13 February 2024 14:03:28 +0000 (0:00:00.035) 0:00:01.632 ****** 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_rewrite3nd7uimy/tests/tests_helpers_and_asserts.yml:9 Tuesday 13 February 2024 14:03:28 +0000 (0:00:00.025) 0:00:01.658 ****** included: /WORKDIR/git-bond_options_rewrite3nd7uimy/tests/tasks/create_and_remove_interface.yml for sut TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-bond_options_rewrite3nd7uimy/tests/tasks/create_and_remove_interface.yml:3 Tuesday 13 February 2024 14:03:28 +0000 (0:00:00.039) 0:00:01.697 ****** included: /WORKDIR/git-bond_options_rewrite3nd7uimy/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewrite3nd7uimy/tests/tasks/show_interfaces.yml:3 Tuesday 13 February 2024 14:03:28 +0000 (0:00:00.013) 0:00:01.711 ****** included: /WORKDIR/git-bond_options_rewrite3nd7uimy/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewrite3nd7uimy/tests/tasks/get_current_interfaces.yml:3 Tuesday 13 February 2024 14:03:28 +0000 (0:00:00.010) 0:00:01.721 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003335", "end": "2024-02-13 14:03:28.694264", "rc": 0, "start": "2024-02-13 14:03:28.690929" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewrite3nd7uimy/tests/tasks/get_current_interfaces.yml:9 Tuesday 13 February 2024 14:03:28 +0000 (0:00:00.279) 0:00:02.001 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewrite3nd7uimy/tests/tasks/show_interfaces.yml:5 Tuesday 13 February 2024 14:03:28 +0000 (0:00:00.018) 0:00:02.020 ****** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-bond_options_rewrite3nd7uimy/tests/tasks/create_and_remove_interface.yml:5 Tuesday 13 February 2024 14:03:28 +0000 (0:00:00.019) 0:00:02.040 ****** included: /WORKDIR/git-bond_options_rewrite3nd7uimy/tests/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-bond_options_rewrite3nd7uimy/tests/tasks/manage_test_interface.yml:3 Tuesday 13 February 2024 14:03:28 +0000 (0:00:00.039) 0:00:02.079 ****** 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_rewrite3nd7uimy/tests/tasks/manage_test_interface.yml:8 Tuesday 13 February 2024 14:03:28 +0000 (0:00:00.018) 0:00:02.097 ****** 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_rewrite3nd7uimy/tests/tasks/manage_test_interface.yml:13 Tuesday 13 February 2024 14:03:28 +0000 (0:00:00.019) 0:00:02.117 ****** included: /WORKDIR/git-bond_options_rewrite3nd7uimy/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewrite3nd7uimy/tests/tasks/show_interfaces.yml:3 Tuesday 13 February 2024 14:03:28 +0000 (0:00:00.029) 0:00:02.146 ****** included: /WORKDIR/git-bond_options_rewrite3nd7uimy/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewrite3nd7uimy/tests/tasks/get_current_interfaces.yml:3 Tuesday 13 February 2024 14:03:28 +0000 (0:00:00.017) 0:00:02.164 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003311", "end": "2024-02-13 14:03:29.094262", "rc": 0, "start": "2024-02-13 14:03:29.090951" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewrite3nd7uimy/tests/tasks/get_current_interfaces.yml:9 Tuesday 13 February 2024 14:03:29 +0000 (0:00:00.233) 0:00:02.398 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewrite3nd7uimy/tests/tasks/show_interfaces.yml:5 Tuesday 13 February 2024 14:03:29 +0000 (0:00:00.018) 0:00:02.416 ****** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-bond_options_rewrite3nd7uimy/tests/tasks/manage_test_interface.yml:16 Tuesday 13 February 2024 14:03:29 +0000 (0:00:00.023) 0:00:02.440 ****** ok: [sut] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth1298] ****************************************** task path: /WORKDIR/git-bond_options_rewrite3nd7uimy/tests/tasks/manage_test_interface.yml:27 Tuesday 13 February 2024 14:03:30 +0000 (0:00:01.094) 0:00:03.534 ****** 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_rewrite3nd7uimy/tests/tasks/manage_test_interface.yml:35 Tuesday 13 February 2024 14:03:30 +0000 (0:00:00.027) 0:00:03.562 ****** 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_rewrite3nd7uimy/tests/tasks/manage_test_interface.yml:43 Tuesday 13 February 2024 14:03:30 +0000 (0:00:00.012) 0:00:03.574 ****** 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_rewrite3nd7uimy/tests/tasks/manage_test_interface.yml:49 Tuesday 13 February 2024 14:03:30 +0000 (0:00:00.013) 0:00:03.588 ****** 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_rewrite3nd7uimy/tests/tasks/manage_test_interface.yml:54 Tuesday 13 February 2024 14:03:30 +0000 (0:00:00.022) 0:00:03.610 ****** 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_rewrite3nd7uimy/tests/tasks/manage_test_interface.yml:60 Tuesday 13 February 2024 14:03:30 +0000 (0:00:00.018) 0:00:03.629 ****** 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_rewrite3nd7uimy/tests/tasks/manage_test_interface.yml:65 Tuesday 13 February 2024 14:03:30 +0000 (0:00:00.025) 0:00:03.654 ****** 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_rewrite3nd7uimy/tests/tasks/create_and_remove_interface.yml:9 Tuesday 13 February 2024 14:03:30 +0000 (0:00:00.014) 0:00:03.669 ****** included: /WORKDIR/git-bond_options_rewrite3nd7uimy/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewrite3nd7uimy/tests/tasks/show_interfaces.yml:3 Tuesday 13 February 2024 14:03:30 +0000 (0:00:00.016) 0:00:03.685 ****** included: /WORKDIR/git-bond_options_rewrite3nd7uimy/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewrite3nd7uimy/tests/tasks/get_current_interfaces.yml:3 Tuesday 13 February 2024 14:03:30 +0000 (0:00:00.014) 0:00:03.699 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003406", "end": "2024-02-13 14:03:30.617991", "rc": 0, "start": "2024-02-13 14:03:30.614585" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewrite3nd7uimy/tests/tasks/get_current_interfaces.yml:9 Tuesday 13 February 2024 14:03:30 +0000 (0:00:00.208) 0:00:03.908 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewrite3nd7uimy/tests/tasks/show_interfaces.yml:5 Tuesday 13 February 2024 14:03:30 +0000 (0:00:00.009) 0:00:03.918 ****** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Include the task 'assert_device_absent.yml'] ***************************** task path: /WORKDIR/git-bond_options_rewrite3nd7uimy/tests/tasks/create_and_remove_interface.yml:11 Tuesday 13 February 2024 14:03:30 +0000 (0:00:00.009) 0:00:03.927 ****** included: /WORKDIR/git-bond_options_rewrite3nd7uimy/tests/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewrite3nd7uimy/tests/tasks/assert_device_absent.yml:3 Tuesday 13 February 2024 14:03:30 +0000 (0:00:00.014) 0:00:03.942 ****** included: /WORKDIR/git-bond_options_rewrite3nd7uimy/tests/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth1298] ***************************************** task path: /WORKDIR/git-bond_options_rewrite3nd7uimy/tests/tasks/get_interface_stat.yml:3 Tuesday 13 February 2024 14:03:30 +0000 (0:00:00.017) 0:00:03.959 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'veth1298'] ************************ task path: /WORKDIR/git-bond_options_rewrite3nd7uimy/tests/tasks/assert_device_absent.yml:5 Tuesday 13 February 2024 14:03:30 +0000 (0:00:00.204) 0:00:04.164 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-bond_options_rewrite3nd7uimy/tests/tasks/create_and_remove_interface.yml:14 Tuesday 13 February 2024 14:03:30 +0000 (0:00:00.048) 0:00:04.212 ****** included: /WORKDIR/git-bond_options_rewrite3nd7uimy/tests/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-bond_options_rewrite3nd7uimy/tests/tasks/manage_test_interface.yml:3 Tuesday 13 February 2024 14:03:30 +0000 (0:00:00.016) 0:00:04.229 ****** 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_rewrite3nd7uimy/tests/tasks/manage_test_interface.yml:8 Tuesday 13 February 2024 14:03:30 +0000 (0:00:00.007) 0:00:04.237 ****** 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_rewrite3nd7uimy/tests/tasks/manage_test_interface.yml:13 Tuesday 13 February 2024 14:03:31 +0000 (0:00:00.039) 0:00:04.277 ****** included: /WORKDIR/git-bond_options_rewrite3nd7uimy/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewrite3nd7uimy/tests/tasks/show_interfaces.yml:3 Tuesday 13 February 2024 14:03:31 +0000 (0:00:00.031) 0:00:04.309 ****** included: /WORKDIR/git-bond_options_rewrite3nd7uimy/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewrite3nd7uimy/tests/tasks/get_current_interfaces.yml:3 Tuesday 13 February 2024 14:03:31 +0000 (0:00:00.027) 0:00:04.336 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003295", "end": "2024-02-13 14:03:31.261570", "rc": 0, "start": "2024-02-13 14:03:31.258275" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewrite3nd7uimy/tests/tasks/get_current_interfaces.yml:9 Tuesday 13 February 2024 14:03:31 +0000 (0:00:00.228) 0:00:04.565 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewrite3nd7uimy/tests/tasks/show_interfaces.yml:5 Tuesday 13 February 2024 14:03:31 +0000 (0:00:00.032) 0:00:04.597 ****** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-bond_options_rewrite3nd7uimy/tests/tasks/manage_test_interface.yml:16 Tuesday 13 February 2024 14:03:31 +0000 (0:00:00.047) 0:00:04.644 ****** ok: [sut] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth1298] ****************************************** task path: /WORKDIR/git-bond_options_rewrite3nd7uimy/tests/tasks/manage_test_interface.yml:27 Tuesday 13 February 2024 14:03:32 +0000 (0:00:00.922) 0:00:05.567 ****** 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.009197", "end": "2024-02-13 14:03:32.543842", "item": "ip link add veth1298 type veth peer name peerveth1298", "rc": 0, "start": "2024-02-13 14:03:32.534645" } ok: [sut] => (item=ip link set peerveth1298 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peerveth1298", "up" ], "delta": "0:00:00.003687", "end": "2024-02-13 14:03:32.765637", "item": "ip link set peerveth1298 up", "rc": 0, "start": "2024-02-13 14:03:32.761950" } ok: [sut] => (item=ip link set veth1298 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "veth1298", "up" ], "delta": "0:00:00.003712", "end": "2024-02-13 14:03:32.956464", "item": "ip link set veth1298 up", "rc": 0, "start": "2024-02-13 14:03:32.952752" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-bond_options_rewrite3nd7uimy/tests/tasks/manage_test_interface.yml:35 Tuesday 13 February 2024 14:03:32 +0000 (0:00:00.680) 0:00:06.248 ****** ok: [sut] => { "changed": false, "cmd": [ "nmcli", "d", "set", "veth1298", "managed", "true" ], "delta": "0:00:00.023006", "end": "2024-02-13 14:03:33.172312", "rc": 0, "start": "2024-02-13 14:03:33.149306" } TASK [Delete veth interface veth1298] ****************************************** task path: /WORKDIR/git-bond_options_rewrite3nd7uimy/tests/tasks/manage_test_interface.yml:43 Tuesday 13 February 2024 14:03:33 +0000 (0:00:00.216) 0:00:06.464 ****** 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_rewrite3nd7uimy/tests/tasks/manage_test_interface.yml:49 Tuesday 13 February 2024 14:03:33 +0000 (0:00:00.012) 0:00:06.477 ****** 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_rewrite3nd7uimy/tests/tasks/manage_test_interface.yml:54 Tuesday 13 February 2024 14:03:33 +0000 (0:00:00.009) 0:00:06.486 ****** 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_rewrite3nd7uimy/tests/tasks/manage_test_interface.yml:60 Tuesday 13 February 2024 14:03:33 +0000 (0:00:00.028) 0:00:06.515 ****** 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_rewrite3nd7uimy/tests/tasks/manage_test_interface.yml:65 Tuesday 13 February 2024 14:03:33 +0000 (0:00:00.028) 0:00:06.544 ****** 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_rewrite3nd7uimy/tests/tasks/create_and_remove_interface.yml:18 Tuesday 13 February 2024 14:03:33 +0000 (0:00:00.015) 0:00:06.560 ****** included: /WORKDIR/git-bond_options_rewrite3nd7uimy/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewrite3nd7uimy/tests/tasks/show_interfaces.yml:3 Tuesday 13 February 2024 14:03:33 +0000 (0:00:00.018) 0:00:06.579 ****** included: /WORKDIR/git-bond_options_rewrite3nd7uimy/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewrite3nd7uimy/tests/tasks/get_current_interfaces.yml:3 Tuesday 13 February 2024 14:03:33 +0000 (0:00:00.021) 0:00:06.600 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003477", "end": "2024-02-13 14:03:33.499488", "rc": 0, "start": "2024-02-13 14:03:33.496011" } STDOUT: bonding_masters eth0 lo peerveth1298 veth1298 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewrite3nd7uimy/tests/tasks/get_current_interfaces.yml:9 Tuesday 13 February 2024 14:03:33 +0000 (0:00:00.194) 0:00:06.795 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "peerveth1298", "veth1298" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewrite3nd7uimy/tests/tasks/show_interfaces.yml:5 Tuesday 13 February 2024 14:03:33 +0000 (0:00:00.012) 0:00:06.807 ****** 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_rewrite3nd7uimy/tests/tasks/create_and_remove_interface.yml:20 Tuesday 13 February 2024 14:03:33 +0000 (0:00:00.029) 0:00:06.837 ****** included: /WORKDIR/git-bond_options_rewrite3nd7uimy/tests/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewrite3nd7uimy/tests/tasks/assert_device_present.yml:3 Tuesday 13 February 2024 14:03:33 +0000 (0:00:00.028) 0:00:06.865 ****** included: /WORKDIR/git-bond_options_rewrite3nd7uimy/tests/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth1298] ***************************************** task path: /WORKDIR/git-bond_options_rewrite3nd7uimy/tests/tasks/get_interface_stat.yml:3 Tuesday 13 February 2024 14:03:33 +0000 (0:00:00.013) 0:00:06.878 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1707833012.5381944, "block_size": 4096, "blocks": 0, "ctime": 1707833012.5381944, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 29180, "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": 1707833012.5381944, "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_rewrite3nd7uimy/tests/tasks/assert_device_present.yml:5 Tuesday 13 February 2024 14:03:33 +0000 (0:00:00.219) 0:00:07.097 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-bond_options_rewrite3nd7uimy/tests/tasks/create_and_remove_interface.yml:23 Tuesday 13 February 2024 14:03:33 +0000 (0:00:00.013) 0:00:07.111 ****** included: /WORKDIR/git-bond_options_rewrite3nd7uimy/tests/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-bond_options_rewrite3nd7uimy/tests/tasks/manage_test_interface.yml:3 Tuesday 13 February 2024 14:03:33 +0000 (0:00:00.030) 0:00:07.141 ****** 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_rewrite3nd7uimy/tests/tasks/manage_test_interface.yml:8 Tuesday 13 February 2024 14:03:33 +0000 (0:00:00.011) 0:00:07.153 ****** 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_rewrite3nd7uimy/tests/tasks/manage_test_interface.yml:13 Tuesday 13 February 2024 14:03:33 +0000 (0:00:00.018) 0:00:07.171 ****** included: /WORKDIR/git-bond_options_rewrite3nd7uimy/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewrite3nd7uimy/tests/tasks/show_interfaces.yml:3 Tuesday 13 February 2024 14:03:33 +0000 (0:00:00.021) 0:00:07.193 ****** included: /WORKDIR/git-bond_options_rewrite3nd7uimy/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewrite3nd7uimy/tests/tasks/get_current_interfaces.yml:3 Tuesday 13 February 2024 14:03:33 +0000 (0:00:00.039) 0:00:07.232 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003302", "end": "2024-02-13 14:03:34.178024", "rc": 0, "start": "2024-02-13 14:03:34.174722" } STDOUT: bonding_masters eth0 lo peerveth1298 veth1298 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewrite3nd7uimy/tests/tasks/get_current_interfaces.yml:9 Tuesday 13 February 2024 14:03:34 +0000 (0:00:00.237) 0:00:07.470 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "peerveth1298", "veth1298" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewrite3nd7uimy/tests/tasks/show_interfaces.yml:5 Tuesday 13 February 2024 14:03:34 +0000 (0:00:00.013) 0:00:07.484 ****** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'peerveth1298', 'veth1298'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-bond_options_rewrite3nd7uimy/tests/tasks/manage_test_interface.yml:16 Tuesday 13 February 2024 14:03:34 +0000 (0:00:00.019) 0:00:07.503 ****** ok: [sut] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth1298] ****************************************** task path: /WORKDIR/git-bond_options_rewrite3nd7uimy/tests/tasks/manage_test_interface.yml:27 Tuesday 13 February 2024 14:03:35 +0000 (0:00:00.953) 0:00:08.456 ****** 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_rewrite3nd7uimy/tests/tasks/manage_test_interface.yml:35 Tuesday 13 February 2024 14:03:35 +0000 (0:00:00.019) 0:00:08.475 ****** 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_rewrite3nd7uimy/tests/tasks/manage_test_interface.yml:43 Tuesday 13 February 2024 14:03:35 +0000 (0:00:00.015) 0:00:08.491 ****** ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "veth1298", "type", "veth" ], "delta": "0:00:00.011162", "end": "2024-02-13 14:03:35.419910", "rc": 0, "start": "2024-02-13 14:03:35.408748" } TASK [Create dummy interface veth1298] ***************************************** task path: /WORKDIR/git-bond_options_rewrite3nd7uimy/tests/tasks/manage_test_interface.yml:49 Tuesday 13 February 2024 14:03:35 +0000 (0:00:00.230) 0:00:08.722 ****** 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_rewrite3nd7uimy/tests/tasks/manage_test_interface.yml:54 Tuesday 13 February 2024 14:03:35 +0000 (0:00:00.034) 0:00:08.756 ****** 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_rewrite3nd7uimy/tests/tasks/manage_test_interface.yml:60 Tuesday 13 February 2024 14:03:35 +0000 (0:00:00.043) 0:00:08.800 ****** 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_rewrite3nd7uimy/tests/tasks/manage_test_interface.yml:65 Tuesday 13 February 2024 14:03:35 +0000 (0:00:00.033) 0:00:08.833 ****** 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_rewrite3nd7uimy/tests/tasks/create_and_remove_interface.yml:27 Tuesday 13 February 2024 14:03:35 +0000 (0:00:00.022) 0:00:08.856 ****** included: /WORKDIR/git-bond_options_rewrite3nd7uimy/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewrite3nd7uimy/tests/tasks/show_interfaces.yml:3 Tuesday 13 February 2024 14:03:35 +0000 (0:00:00.054) 0:00:08.910 ****** included: /WORKDIR/git-bond_options_rewrite3nd7uimy/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewrite3nd7uimy/tests/tasks/get_current_interfaces.yml:3 Tuesday 13 February 2024 14:03:35 +0000 (0:00:00.029) 0:00:08.940 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003383", "end": "2024-02-13 14:03:35.901148", "rc": 0, "start": "2024-02-13 14:03:35.897765" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewrite3nd7uimy/tests/tasks/get_current_interfaces.yml:9 Tuesday 13 February 2024 14:03:35 +0000 (0:00:00.287) 0:00:09.227 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewrite3nd7uimy/tests/tasks/show_interfaces.yml:5 Tuesday 13 February 2024 14:03:36 +0000 (0:00:00.055) 0:00:09.283 ****** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Include the task 'assert_device_absent.yml'] ***************************** task path: /WORKDIR/git-bond_options_rewrite3nd7uimy/tests/tasks/create_and_remove_interface.yml:29 Tuesday 13 February 2024 14:03:36 +0000 (0:00:00.021) 0:00:09.304 ****** included: /WORKDIR/git-bond_options_rewrite3nd7uimy/tests/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewrite3nd7uimy/tests/tasks/assert_device_absent.yml:3 Tuesday 13 February 2024 14:03:36 +0000 (0:00:00.035) 0:00:09.340 ****** included: /WORKDIR/git-bond_options_rewrite3nd7uimy/tests/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth1298] ***************************************** task path: /WORKDIR/git-bond_options_rewrite3nd7uimy/tests/tasks/get_interface_stat.yml:3 Tuesday 13 February 2024 14:03:36 +0000 (0:00:00.023) 0:00:09.363 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'veth1298'] ************************ task path: /WORKDIR/git-bond_options_rewrite3nd7uimy/tests/tasks/assert_device_absent.yml:5 Tuesday 13 February 2024 14:03:36 +0000 (0:00:00.235) 0:00:09.599 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test veth interface management] ****************************************** task path: /WORKDIR/git-bond_options_rewrite3nd7uimy/tests/tests_helpers_and_asserts.yml:15 Tuesday 13 February 2024 14:03:36 +0000 (0:00:00.010) 0:00:09.609 ****** included: /WORKDIR/git-bond_options_rewrite3nd7uimy/tests/tasks/create_and_remove_interface.yml for sut TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-bond_options_rewrite3nd7uimy/tests/tasks/create_and_remove_interface.yml:3 Tuesday 13 February 2024 14:03:36 +0000 (0:00:00.017) 0:00:09.626 ****** included: /WORKDIR/git-bond_options_rewrite3nd7uimy/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewrite3nd7uimy/tests/tasks/show_interfaces.yml:3 Tuesday 13 February 2024 14:03:36 +0000 (0:00:00.011) 0:00:09.638 ****** included: /WORKDIR/git-bond_options_rewrite3nd7uimy/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewrite3nd7uimy/tests/tasks/get_current_interfaces.yml:3 Tuesday 13 February 2024 14:03:36 +0000 (0:00:00.009) 0:00:09.647 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003317", "end": "2024-02-13 14:03:36.547317", "rc": 0, "start": "2024-02-13 14:03:36.544000" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewrite3nd7uimy/tests/tasks/get_current_interfaces.yml:9 Tuesday 13 February 2024 14:03:36 +0000 (0:00:00.191) 0:00:09.839 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewrite3nd7uimy/tests/tasks/show_interfaces.yml:5 Tuesday 13 February 2024 14:03:36 +0000 (0:00:00.036) 0:00:09.875 ****** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-bond_options_rewrite3nd7uimy/tests/tasks/create_and_remove_interface.yml:5 Tuesday 13 February 2024 14:03:36 +0000 (0:00:00.036) 0:00:09.911 ****** included: /WORKDIR/git-bond_options_rewrite3nd7uimy/tests/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-bond_options_rewrite3nd7uimy/tests/tasks/manage_test_interface.yml:3 Tuesday 13 February 2024 14:03:36 +0000 (0:00:00.016) 0:00:09.928 ****** 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_rewrite3nd7uimy/tests/tasks/manage_test_interface.yml:8 Tuesday 13 February 2024 14:03:36 +0000 (0:00:00.021) 0:00:09.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_rewrite3nd7uimy/tests/tasks/manage_test_interface.yml:13 Tuesday 13 February 2024 14:03:36 +0000 (0:00:00.021) 0:00:09.971 ****** included: /WORKDIR/git-bond_options_rewrite3nd7uimy/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewrite3nd7uimy/tests/tasks/show_interfaces.yml:3 Tuesday 13 February 2024 14:03:36 +0000 (0:00:00.015) 0:00:09.987 ****** included: /WORKDIR/git-bond_options_rewrite3nd7uimy/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewrite3nd7uimy/tests/tasks/get_current_interfaces.yml:3 Tuesday 13 February 2024 14:03:36 +0000 (0:00:00.017) 0:00:10.004 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003316", "end": "2024-02-13 14:03:36.915775", "rc": 0, "start": "2024-02-13 14:03:36.912459" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewrite3nd7uimy/tests/tasks/get_current_interfaces.yml:9 Tuesday 13 February 2024 14:03:36 +0000 (0:00:00.242) 0:00:10.247 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewrite3nd7uimy/tests/tasks/show_interfaces.yml:5 Tuesday 13 February 2024 14:03:37 +0000 (0:00:00.027) 0:00:10.274 ****** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-bond_options_rewrite3nd7uimy/tests/tasks/manage_test_interface.yml:16 Tuesday 13 February 2024 14:03:37 +0000 (0:00:00.049) 0:00:10.324 ****** ok: [sut] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface dummy1298] ***************************************** task path: /WORKDIR/git-bond_options_rewrite3nd7uimy/tests/tasks/manage_test_interface.yml:27 Tuesday 13 February 2024 14:03:37 +0000 (0:00:00.933) 0:00:11.258 ****** 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_rewrite3nd7uimy/tests/tasks/manage_test_interface.yml:35 Tuesday 13 February 2024 14:03:38 +0000 (0:00:00.042) 0:00:11.300 ****** 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_rewrite3nd7uimy/tests/tasks/manage_test_interface.yml:43 Tuesday 13 February 2024 14:03:38 +0000 (0:00:00.012) 0:00:11.312 ****** 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_rewrite3nd7uimy/tests/tasks/manage_test_interface.yml:49 Tuesday 13 February 2024 14:03:38 +0000 (0:00:00.016) 0:00:11.329 ****** 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_rewrite3nd7uimy/tests/tasks/manage_test_interface.yml:54 Tuesday 13 February 2024 14:03:38 +0000 (0:00:00.029) 0:00:11.358 ****** 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_rewrite3nd7uimy/tests/tasks/manage_test_interface.yml:60 Tuesday 13 February 2024 14:03:38 +0000 (0:00:00.008) 0:00:11.367 ****** 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_rewrite3nd7uimy/tests/tasks/manage_test_interface.yml:65 Tuesday 13 February 2024 14:03:38 +0000 (0:00:00.008) 0:00:11.375 ****** 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_rewrite3nd7uimy/tests/tasks/create_and_remove_interface.yml:9 Tuesday 13 February 2024 14:03:38 +0000 (0:00:00.011) 0:00:11.386 ****** included: /WORKDIR/git-bond_options_rewrite3nd7uimy/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewrite3nd7uimy/tests/tasks/show_interfaces.yml:3 Tuesday 13 February 2024 14:03:38 +0000 (0:00:00.013) 0:00:11.400 ****** included: /WORKDIR/git-bond_options_rewrite3nd7uimy/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewrite3nd7uimy/tests/tasks/get_current_interfaces.yml:3 Tuesday 13 February 2024 14:03:38 +0000 (0:00:00.017) 0:00:11.417 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003378", "end": "2024-02-13 14:03:38.327757", "rc": 0, "start": "2024-02-13 14:03:38.324379" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewrite3nd7uimy/tests/tasks/get_current_interfaces.yml:9 Tuesday 13 February 2024 14:03:38 +0000 (0:00:00.209) 0:00:11.626 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewrite3nd7uimy/tests/tasks/show_interfaces.yml:5 Tuesday 13 February 2024 14:03:38 +0000 (0:00:00.016) 0:00:11.643 ****** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Include the task 'assert_device_absent.yml'] ***************************** task path: /WORKDIR/git-bond_options_rewrite3nd7uimy/tests/tasks/create_and_remove_interface.yml:11 Tuesday 13 February 2024 14:03:38 +0000 (0:00:00.019) 0:00:11.662 ****** included: /WORKDIR/git-bond_options_rewrite3nd7uimy/tests/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewrite3nd7uimy/tests/tasks/assert_device_absent.yml:3 Tuesday 13 February 2024 14:03:38 +0000 (0:00:00.018) 0:00:11.681 ****** included: /WORKDIR/git-bond_options_rewrite3nd7uimy/tests/tasks/get_interface_stat.yml for sut TASK [Get stat for interface dummy1298] **************************************** task path: /WORKDIR/git-bond_options_rewrite3nd7uimy/tests/tasks/get_interface_stat.yml:3 Tuesday 13 February 2024 14:03:38 +0000 (0:00:00.038) 0:00:11.719 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'dummy1298'] *********************** task path: /WORKDIR/git-bond_options_rewrite3nd7uimy/tests/tasks/assert_device_absent.yml:5 Tuesday 13 February 2024 14:03:38 +0000 (0:00:00.248) 0:00:11.968 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-bond_options_rewrite3nd7uimy/tests/tasks/create_and_remove_interface.yml:14 Tuesday 13 February 2024 14:03:38 +0000 (0:00:00.052) 0:00:12.021 ****** included: /WORKDIR/git-bond_options_rewrite3nd7uimy/tests/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-bond_options_rewrite3nd7uimy/tests/tasks/manage_test_interface.yml:3 Tuesday 13 February 2024 14:03:38 +0000 (0:00:00.070) 0:00:12.092 ****** 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_rewrite3nd7uimy/tests/tasks/manage_test_interface.yml:8 Tuesday 13 February 2024 14:03:38 +0000 (0:00:00.084) 0:00:12.176 ****** 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_rewrite3nd7uimy/tests/tasks/manage_test_interface.yml:13 Tuesday 13 February 2024 14:03:38 +0000 (0:00:00.034) 0:00:12.211 ****** included: /WORKDIR/git-bond_options_rewrite3nd7uimy/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewrite3nd7uimy/tests/tasks/show_interfaces.yml:3 Tuesday 13 February 2024 14:03:38 +0000 (0:00:00.025) 0:00:12.236 ****** included: /WORKDIR/git-bond_options_rewrite3nd7uimy/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewrite3nd7uimy/tests/tasks/get_current_interfaces.yml:3 Tuesday 13 February 2024 14:03:38 +0000 (0:00:00.011) 0:00:12.248 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003351", "end": "2024-02-13 14:03:39.200793", "rc": 0, "start": "2024-02-13 14:03:39.197442" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewrite3nd7uimy/tests/tasks/get_current_interfaces.yml:9 Tuesday 13 February 2024 14:03:39 +0000 (0:00:00.259) 0:00:12.507 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewrite3nd7uimy/tests/tasks/show_interfaces.yml:5 Tuesday 13 February 2024 14:03:39 +0000 (0:00:00.021) 0:00:12.529 ****** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-bond_options_rewrite3nd7uimy/tests/tasks/manage_test_interface.yml:16 Tuesday 13 February 2024 14:03:39 +0000 (0:00:00.026) 0:00:12.555 ****** ok: [sut] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface dummy1298] ***************************************** task path: /WORKDIR/git-bond_options_rewrite3nd7uimy/tests/tasks/manage_test_interface.yml:27 Tuesday 13 February 2024 14:03:40 +0000 (0:00:01.075) 0:00:13.631 ****** 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_rewrite3nd7uimy/tests/tasks/manage_test_interface.yml:35 Tuesday 13 February 2024 14:03:40 +0000 (0:00:00.033) 0:00:13.664 ****** 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_rewrite3nd7uimy/tests/tasks/manage_test_interface.yml:43 Tuesday 13 February 2024 14:03:40 +0000 (0:00:00.021) 0:00:13.685 ****** 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_rewrite3nd7uimy/tests/tasks/manage_test_interface.yml:49 Tuesday 13 February 2024 14:03:40 +0000 (0:00:00.014) 0:00:13.700 ****** ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "add", "dummy1298", "type", "dummy" ], "delta": "0:00:00.005910", "end": "2024-02-13 14:03:40.619493", "rc": 0, "start": "2024-02-13 14:03:40.613583" } TASK [Delete dummy interface dummy1298] **************************************** task path: /WORKDIR/git-bond_options_rewrite3nd7uimy/tests/tasks/manage_test_interface.yml:54 Tuesday 13 February 2024 14:03:40 +0000 (0:00:00.227) 0:00:13.927 ****** 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_rewrite3nd7uimy/tests/tasks/manage_test_interface.yml:60 Tuesday 13 February 2024 14:03:40 +0000 (0:00:00.015) 0:00:13.943 ****** 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_rewrite3nd7uimy/tests/tasks/manage_test_interface.yml:65 Tuesday 13 February 2024 14:03:40 +0000 (0:00:00.014) 0:00:13.957 ****** 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_rewrite3nd7uimy/tests/tasks/create_and_remove_interface.yml:18 Tuesday 13 February 2024 14:03:40 +0000 (0:00:00.021) 0:00:13.979 ****** included: /WORKDIR/git-bond_options_rewrite3nd7uimy/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewrite3nd7uimy/tests/tasks/show_interfaces.yml:3 Tuesday 13 February 2024 14:03:40 +0000 (0:00:00.024) 0:00:14.004 ****** included: /WORKDIR/git-bond_options_rewrite3nd7uimy/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewrite3nd7uimy/tests/tasks/get_current_interfaces.yml:3 Tuesday 13 February 2024 14:03:40 +0000 (0:00:00.012) 0:00:14.016 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003421", "end": "2024-02-13 14:03:40.934162", "rc": 0, "start": "2024-02-13 14:03:40.930741" } STDOUT: bonding_masters dummy1298 eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewrite3nd7uimy/tests/tasks/get_current_interfaces.yml:9 Tuesday 13 February 2024 14:03:40 +0000 (0:00:00.236) 0:00:14.253 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "dummy1298", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewrite3nd7uimy/tests/tasks/show_interfaces.yml:5 Tuesday 13 February 2024 14:03:40 +0000 (0:00:00.016) 0:00:14.270 ****** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'dummy1298', 'eth0', 'lo'] TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-bond_options_rewrite3nd7uimy/tests/tasks/create_and_remove_interface.yml:20 Tuesday 13 February 2024 14:03:41 +0000 (0:00:00.039) 0:00:14.309 ****** included: /WORKDIR/git-bond_options_rewrite3nd7uimy/tests/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewrite3nd7uimy/tests/tasks/assert_device_present.yml:3 Tuesday 13 February 2024 14:03:41 +0000 (0:00:00.055) 0:00:14.365 ****** included: /WORKDIR/git-bond_options_rewrite3nd7uimy/tests/tasks/get_interface_stat.yml for sut TASK [Get stat for interface dummy1298] **************************************** task path: /WORKDIR/git-bond_options_rewrite3nd7uimy/tests/tasks/get_interface_stat.yml:3 Tuesday 13 February 2024 14:03:41 +0000 (0:00:00.031) 0:00:14.396 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1707833020.6167157, "block_size": 4096, "blocks": 0, "ctime": 1707833020.6167157, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 29473, "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": 1707833020.6167157, "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_rewrite3nd7uimy/tests/tasks/assert_device_present.yml:5 Tuesday 13 February 2024 14:03:41 +0000 (0:00:00.215) 0:00:14.612 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-bond_options_rewrite3nd7uimy/tests/tasks/create_and_remove_interface.yml:23 Tuesday 13 February 2024 14:03:41 +0000 (0:00:00.017) 0:00:14.630 ****** included: /WORKDIR/git-bond_options_rewrite3nd7uimy/tests/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-bond_options_rewrite3nd7uimy/tests/tasks/manage_test_interface.yml:3 Tuesday 13 February 2024 14:03:41 +0000 (0:00:00.049) 0:00:14.679 ****** 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_rewrite3nd7uimy/tests/tasks/manage_test_interface.yml:8 Tuesday 13 February 2024 14:03:41 +0000 (0:00:00.025) 0:00:14.704 ****** 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_rewrite3nd7uimy/tests/tasks/manage_test_interface.yml:13 Tuesday 13 February 2024 14:03:41 +0000 (0:00:00.033) 0:00:14.737 ****** included: /WORKDIR/git-bond_options_rewrite3nd7uimy/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewrite3nd7uimy/tests/tasks/show_interfaces.yml:3 Tuesday 13 February 2024 14:03:41 +0000 (0:00:00.030) 0:00:14.768 ****** included: /WORKDIR/git-bond_options_rewrite3nd7uimy/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewrite3nd7uimy/tests/tasks/get_current_interfaces.yml:3 Tuesday 13 February 2024 14:03:41 +0000 (0:00:00.028) 0:00:14.796 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003513", "end": "2024-02-13 14:03:41.706250", "rc": 0, "start": "2024-02-13 14:03:41.702737" } STDOUT: bonding_masters dummy1298 eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewrite3nd7uimy/tests/tasks/get_current_interfaces.yml:9 Tuesday 13 February 2024 14:03:41 +0000 (0:00:00.209) 0:00:15.005 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "dummy1298", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewrite3nd7uimy/tests/tasks/show_interfaces.yml:5 Tuesday 13 February 2024 14:03:41 +0000 (0:00:00.023) 0:00:15.029 ****** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'dummy1298', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-bond_options_rewrite3nd7uimy/tests/tasks/manage_test_interface.yml:16 Tuesday 13 February 2024 14:03:41 +0000 (0:00:00.011) 0:00:15.040 ****** ok: [sut] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface dummy1298] ***************************************** task path: /WORKDIR/git-bond_options_rewrite3nd7uimy/tests/tasks/manage_test_interface.yml:27 Tuesday 13 February 2024 14:03:42 +0000 (0:00:00.910) 0:00:15.951 ****** 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_rewrite3nd7uimy/tests/tasks/manage_test_interface.yml:35 Tuesday 13 February 2024 14:03:42 +0000 (0:00:00.036) 0:00:15.988 ****** 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_rewrite3nd7uimy/tests/tasks/manage_test_interface.yml:43 Tuesday 13 February 2024 14:03:42 +0000 (0:00:00.017) 0:00:16.005 ****** 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_rewrite3nd7uimy/tests/tasks/manage_test_interface.yml:49 Tuesday 13 February 2024 14:03:42 +0000 (0:00:00.019) 0:00:16.025 ****** 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_rewrite3nd7uimy/tests/tasks/manage_test_interface.yml:54 Tuesday 13 February 2024 14:03:42 +0000 (0:00:00.030) 0:00:16.056 ****** ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "dummy1298", "type", "dummy" ], "delta": "0:00:00.010652", "end": "2024-02-13 14:03:42.985850", "rc": 0, "start": "2024-02-13 14:03:42.975198" } TASK [Create tap interface dummy1298] ****************************************** task path: /WORKDIR/git-bond_options_rewrite3nd7uimy/tests/tasks/manage_test_interface.yml:60 Tuesday 13 February 2024 14:03:43 +0000 (0:00:00.230) 0:00:16.287 ****** 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_rewrite3nd7uimy/tests/tasks/manage_test_interface.yml:65 Tuesday 13 February 2024 14:03:43 +0000 (0:00:00.015) 0:00:16.303 ****** 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_rewrite3nd7uimy/tests/tasks/create_and_remove_interface.yml:27 Tuesday 13 February 2024 14:03:43 +0000 (0:00:00.025) 0:00:16.328 ****** included: /WORKDIR/git-bond_options_rewrite3nd7uimy/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewrite3nd7uimy/tests/tasks/show_interfaces.yml:3 Tuesday 13 February 2024 14:03:43 +0000 (0:00:00.061) 0:00:16.389 ****** included: /WORKDIR/git-bond_options_rewrite3nd7uimy/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewrite3nd7uimy/tests/tasks/get_current_interfaces.yml:3 Tuesday 13 February 2024 14:03:43 +0000 (0:00:00.024) 0:00:16.414 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003340", "end": "2024-02-13 14:03:43.330634", "rc": 0, "start": "2024-02-13 14:03:43.327294" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewrite3nd7uimy/tests/tasks/get_current_interfaces.yml:9 Tuesday 13 February 2024 14:03:43 +0000 (0:00:00.212) 0:00:16.626 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewrite3nd7uimy/tests/tasks/show_interfaces.yml:5 Tuesday 13 February 2024 14:03:43 +0000 (0:00:00.028) 0:00:16.655 ****** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Include the task 'assert_device_absent.yml'] ***************************** task path: /WORKDIR/git-bond_options_rewrite3nd7uimy/tests/tasks/create_and_remove_interface.yml:29 Tuesday 13 February 2024 14:03:43 +0000 (0:00:00.020) 0:00:16.675 ****** included: /WORKDIR/git-bond_options_rewrite3nd7uimy/tests/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewrite3nd7uimy/tests/tasks/assert_device_absent.yml:3 Tuesday 13 February 2024 14:03:43 +0000 (0:00:00.049) 0:00:16.725 ****** included: /WORKDIR/git-bond_options_rewrite3nd7uimy/tests/tasks/get_interface_stat.yml for sut TASK [Get stat for interface dummy1298] **************************************** task path: /WORKDIR/git-bond_options_rewrite3nd7uimy/tests/tasks/get_interface_stat.yml:3 Tuesday 13 February 2024 14:03:43 +0000 (0:00:00.022) 0:00:16.747 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'dummy1298'] *********************** task path: /WORKDIR/git-bond_options_rewrite3nd7uimy/tests/tasks/assert_device_absent.yml:5 Tuesday 13 February 2024 14:03:43 +0000 (0:00:00.214) 0:00:16.962 ****** ok: [sut] => { "changed": false } MSG: All assertions passed PLAY RECAP ********************************************************************* sut : ok=118 changed=0 unreachable=0 failed=0 skipped=56 rescued=0 ignored=0 Tuesday 13 February 2024 14:03:43 +0000 (0:00:00.033) 0:00:16.996 ****** =============================================================================== Install iproute --------------------------------------------------------- 1.09s /WORKDIR/git-bond_options_rewrite3nd7uimy/tests/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 1.08s /WORKDIR/git-bond_options_rewrite3nd7uimy/tests/tasks/manage_test_interface.yml:16 Gathering Facts --------------------------------------------------------- 0.97s /WORKDIR/git-bond_options_rewrite3nd7uimy/tests/tests_helpers_and_asserts.yml:3 Install iproute --------------------------------------------------------- 0.95s /WORKDIR/git-bond_options_rewrite3nd7uimy/tests/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 0.93s /WORKDIR/git-bond_options_rewrite3nd7uimy/tests/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 0.92s /WORKDIR/git-bond_options_rewrite3nd7uimy/tests/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 0.91s /WORKDIR/git-bond_options_rewrite3nd7uimy/tests/tasks/manage_test_interface.yml:16 Create veth interface veth1298 ------------------------------------------ 0.68s /WORKDIR/git-bond_options_rewrite3nd7uimy/tests/tasks/manage_test_interface.yml:27 Check if system is ostree ----------------------------------------------- 0.30s /WORKDIR/git-bond_options_rewrite3nd7uimy/tests/tasks/el_repo_setup.yml:17 ---- Gather current interface info ------------------------------------------- 0.29s /WORKDIR/git-bond_options_rewrite3nd7uimy/tests/tasks/get_current_interfaces.yml:3 Gather current interface info ------------------------------------------- 0.28s /WORKDIR/git-bond_options_rewrite3nd7uimy/tests/tasks/get_current_interfaces.yml:3 Gather current interface info ------------------------------------------- 0.26s /WORKDIR/git-bond_options_rewrite3nd7uimy/tests/tasks/get_current_interfaces.yml:3 Get stat for interface dummy1298 ---------------------------------------- 0.25s /WORKDIR/git-bond_options_rewrite3nd7uimy/tests/tasks/get_interface_stat.yml:3 Gather current interface info ------------------------------------------- 0.24s /WORKDIR/git-bond_options_rewrite3nd7uimy/tests/tasks/get_current_interfaces.yml:3 Gather current interface info ------------------------------------------- 0.24s /WORKDIR/git-bond_options_rewrite3nd7uimy/tests/tasks/get_current_interfaces.yml:3 Gather current interface info ------------------------------------------- 0.24s /WORKDIR/git-bond_options_rewrite3nd7uimy/tests/tasks/get_current_interfaces.yml:3 Get stat for interface veth1298 ----------------------------------------- 0.24s /WORKDIR/git-bond_options_rewrite3nd7uimy/tests/tasks/get_interface_stat.yml:3 Gather current interface info ------------------------------------------- 0.23s /WORKDIR/git-bond_options_rewrite3nd7uimy/tests/tasks/get_current_interfaces.yml:3 Delete veth interface veth1298 ------------------------------------------ 0.23s /WORKDIR/git-bond_options_rewrite3nd7uimy/tests/tasks/manage_test_interface.yml:43 Delete dummy interface dummy1298 ---------------------------------------- 0.23s /WORKDIR/git-bond_options_rewrite3nd7uimy/tests/tasks/manage_test_interface.yml:54 ---^---^---^---^---^--- # 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. ---^---^---^---^---^---