# 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_rewrite7_2k7y02/.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_rewrite7_2k7y02/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_rewrite7_2k7y02/tests/tests_helpers_and_asserts.yml:3 Wednesday 14 February 2024 00:01:41 +0000 (0:00:00.039) 0:00:00.039 **** ok: [sut] TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-bond_options_rewrite7_2k7y02/tests/tests_helpers_and_asserts.yml:6 Wednesday 14 February 2024 00:01:42 +0000 (0:00:01.001) 0:00:01.041 **** included: /WORKDIR/git-bond_options_rewrite7_2k7y02/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_rewrite7_2k7y02/tests/tasks/el_repo_setup.yml:3 Wednesday 14 February 2024 00:01:42 +0000 (0:00:00.053) 0:00:01.094 **** ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-bond_options_rewrite7_2k7y02/tests/tasks/el_repo_setup.yml:17 Wednesday 14 February 2024 00:01:43 +0000 (0:00:00.417) 0:00:01.512 **** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-bond_options_rewrite7_2k7y02/tests/tasks/el_repo_setup.yml:22 Wednesday 14 February 2024 00:01:43 +0000 (0:00:00.268) 0:00:01.781 **** ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-bond_options_rewrite7_2k7y02/tests/tasks/el_repo_setup.yml:26 Wednesday 14 February 2024 00:01:43 +0000 (0:00:00.022) 0:00:01.803 **** 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_rewrite7_2k7y02/tests/tasks/el_repo_setup.yml:51 Wednesday 14 February 2024 00:01:43 +0000 (0:00:00.009) 0:00:01.813 **** included: /WORKDIR/git-bond_options_rewrite7_2k7y02/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 9] *********************************************************** task path: /WORKDIR/git-bond_options_rewrite7_2k7y02/tests/tasks/enable_epel.yml:8 Wednesday 14 February 2024 00:01:43 +0000 (0:00:00.024) 0:00:01.837 **** 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_rewrite7_2k7y02/tests/tasks/enable_epel.yml:24 Wednesday 14 February 2024 00:01:43 +0000 (0:00:00.010) 0:00:01.847 **** 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_rewrite7_2k7y02/tests/tasks/enable_epel.yml:30 Wednesday 14 February 2024 00:01:43 +0000 (0:00:00.009) 0:00:01.857 **** 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_rewrite7_2k7y02/tests/tasks/enable_epel.yml:35 Wednesday 14 February 2024 00:01:43 +0000 (0:00:00.009) 0:00:01.867 **** 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_rewrite7_2k7y02/tests/tasks/enable_epel.yml:40 Wednesday 14 February 2024 00:01:43 +0000 (0:00:00.009) 0:00:01.876 **** 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_rewrite7_2k7y02/tests/tests_helpers_and_asserts.yml:9 Wednesday 14 February 2024 00:01:43 +0000 (0:00:00.009) 0:00:01.885 **** included: /WORKDIR/git-bond_options_rewrite7_2k7y02/tests/tasks/create_and_remove_interface.yml for sut TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-bond_options_rewrite7_2k7y02/tests/tasks/create_and_remove_interface.yml:3 Wednesday 14 February 2024 00:01:43 +0000 (0:00:00.011) 0:00:01.897 **** included: /WORKDIR/git-bond_options_rewrite7_2k7y02/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewrite7_2k7y02/tests/tasks/show_interfaces.yml:3 Wednesday 14 February 2024 00:01:43 +0000 (0:00:00.015) 0:00:01.912 **** included: /WORKDIR/git-bond_options_rewrite7_2k7y02/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewrite7_2k7y02/tests/tasks/get_current_interfaces.yml:3 Wednesday 14 February 2024 00:01:43 +0000 (0:00:00.014) 0:00:01.926 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003740", "end": "2024-02-14 00:01:43.694400", "rc": 0, "start": "2024-02-14 00:01:43.690660" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewrite7_2k7y02/tests/tasks/get_current_interfaces.yml:9 Wednesday 14 February 2024 00:01:43 +0000 (0:00:00.273) 0:00:02.199 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewrite7_2k7y02/tests/tasks/show_interfaces.yml:5 Wednesday 14 February 2024 00:01:43 +0000 (0:00:00.010) 0:00:02.210 **** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-bond_options_rewrite7_2k7y02/tests/tasks/create_and_remove_interface.yml:5 Wednesday 14 February 2024 00:01:43 +0000 (0:00:00.009) 0:00:02.220 **** included: /WORKDIR/git-bond_options_rewrite7_2k7y02/tests/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-bond_options_rewrite7_2k7y02/tests/tasks/manage_test_interface.yml:3 Wednesday 14 February 2024 00:01:43 +0000 (0:00:00.015) 0:00:02.236 **** 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_rewrite7_2k7y02/tests/tasks/manage_test_interface.yml:8 Wednesday 14 February 2024 00:01:43 +0000 (0:00:00.009) 0:00:02.245 **** 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_rewrite7_2k7y02/tests/tasks/manage_test_interface.yml:13 Wednesday 14 February 2024 00:01:43 +0000 (0:00:00.008) 0:00:02.254 **** included: /WORKDIR/git-bond_options_rewrite7_2k7y02/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewrite7_2k7y02/tests/tasks/show_interfaces.yml:3 Wednesday 14 February 2024 00:01:43 +0000 (0:00:00.017) 0:00:02.272 **** included: /WORKDIR/git-bond_options_rewrite7_2k7y02/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewrite7_2k7y02/tests/tasks/get_current_interfaces.yml:3 Wednesday 14 February 2024 00:01:43 +0000 (0:00:00.011) 0:00:02.284 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.004042", "end": "2024-02-14 00:01:44.006166", "rc": 0, "start": "2024-02-14 00:01:44.002124" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewrite7_2k7y02/tests/tasks/get_current_interfaces.yml:9 Wednesday 14 February 2024 00:01:44 +0000 (0:00:00.227) 0:00:02.511 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewrite7_2k7y02/tests/tasks/show_interfaces.yml:5 Wednesday 14 February 2024 00:01:44 +0000 (0:00:00.009) 0:00:02.521 **** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-bond_options_rewrite7_2k7y02/tests/tasks/manage_test_interface.yml:16 Wednesday 14 February 2024 00:01:44 +0000 (0:00:00.009) 0:00:02.530 **** ok: [sut] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth1298] ****************************************** task path: /WORKDIR/git-bond_options_rewrite7_2k7y02/tests/tasks/manage_test_interface.yml:27 Wednesday 14 February 2024 00:01:45 +0000 (0:00:01.179) 0:00:03.710 **** 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_rewrite7_2k7y02/tests/tasks/manage_test_interface.yml:35 Wednesday 14 February 2024 00:01:45 +0000 (0:00:00.014) 0:00:03.724 **** 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_rewrite7_2k7y02/tests/tasks/manage_test_interface.yml:43 Wednesday 14 February 2024 00:01:45 +0000 (0:00:00.009) 0:00:03.734 **** 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_rewrite7_2k7y02/tests/tasks/manage_test_interface.yml:49 Wednesday 14 February 2024 00:01:45 +0000 (0:00:00.016) 0:00:03.750 **** 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_rewrite7_2k7y02/tests/tasks/manage_test_interface.yml:54 Wednesday 14 February 2024 00:01:45 +0000 (0:00:00.008) 0:00:03.759 **** skipping: [sut] => { "changed": false, "false_condition": "type == 'dummy' and state == 'absent' and interface in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Create tap interface veth1298] ******************************************* task path: /WORKDIR/git-bond_options_rewrite7_2k7y02/tests/tasks/manage_test_interface.yml:60 Wednesday 14 February 2024 00:01:45 +0000 (0:00:00.021) 0:00:03.780 **** 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_rewrite7_2k7y02/tests/tasks/manage_test_interface.yml:65 Wednesday 14 February 2024 00:01:45 +0000 (0:00:00.008) 0:00:03.789 **** skipping: [sut] => { "changed": false, "false_condition": "type == 'tap' and state == 'absent' and interface in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-bond_options_rewrite7_2k7y02/tests/tasks/create_and_remove_interface.yml:9 Wednesday 14 February 2024 00:01:45 +0000 (0:00:00.009) 0:00:03.798 **** included: /WORKDIR/git-bond_options_rewrite7_2k7y02/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewrite7_2k7y02/tests/tasks/show_interfaces.yml:3 Wednesday 14 February 2024 00:01:45 +0000 (0:00:00.014) 0:00:03.812 **** included: /WORKDIR/git-bond_options_rewrite7_2k7y02/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewrite7_2k7y02/tests/tasks/get_current_interfaces.yml:3 Wednesday 14 February 2024 00:01:45 +0000 (0:00:00.010) 0:00:03.823 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003814", "end": "2024-02-14 00:01:45.531853", "rc": 0, "start": "2024-02-14 00:01:45.528039" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewrite7_2k7y02/tests/tasks/get_current_interfaces.yml:9 Wednesday 14 February 2024 00:01:45 +0000 (0:00:00.214) 0:00:04.038 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewrite7_2k7y02/tests/tasks/show_interfaces.yml:5 Wednesday 14 February 2024 00:01:45 +0000 (0:00:00.010) 0:00:04.048 **** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Include the task 'assert_device_absent.yml'] ***************************** task path: /WORKDIR/git-bond_options_rewrite7_2k7y02/tests/tasks/create_and_remove_interface.yml:11 Wednesday 14 February 2024 00:01:45 +0000 (0:00:00.009) 0:00:04.058 **** included: /WORKDIR/git-bond_options_rewrite7_2k7y02/tests/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewrite7_2k7y02/tests/tasks/assert_device_absent.yml:3 Wednesday 14 February 2024 00:01:45 +0000 (0:00:00.014) 0:00:04.072 **** included: /WORKDIR/git-bond_options_rewrite7_2k7y02/tests/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth1298] ***************************************** task path: /WORKDIR/git-bond_options_rewrite7_2k7y02/tests/tasks/get_interface_stat.yml:3 Wednesday 14 February 2024 00:01:45 +0000 (0:00:00.010) 0:00:04.083 **** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'veth1298'] ************************ task path: /WORKDIR/git-bond_options_rewrite7_2k7y02/tests/tasks/assert_device_absent.yml:5 Wednesday 14 February 2024 00:01:45 +0000 (0:00:00.210) 0:00:04.293 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-bond_options_rewrite7_2k7y02/tests/tasks/create_and_remove_interface.yml:14 Wednesday 14 February 2024 00:01:45 +0000 (0:00:00.018) 0:00:04.312 **** included: /WORKDIR/git-bond_options_rewrite7_2k7y02/tests/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-bond_options_rewrite7_2k7y02/tests/tasks/manage_test_interface.yml:3 Wednesday 14 February 2024 00:01:45 +0000 (0:00:00.017) 0:00:04.329 **** 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_rewrite7_2k7y02/tests/tasks/manage_test_interface.yml:8 Wednesday 14 February 2024 00:01:45 +0000 (0:00:00.010) 0:00:04.339 **** 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_rewrite7_2k7y02/tests/tasks/manage_test_interface.yml:13 Wednesday 14 February 2024 00:01:45 +0000 (0:00:00.016) 0:00:04.356 **** included: /WORKDIR/git-bond_options_rewrite7_2k7y02/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewrite7_2k7y02/tests/tasks/show_interfaces.yml:3 Wednesday 14 February 2024 00:01:45 +0000 (0:00:00.013) 0:00:04.369 **** included: /WORKDIR/git-bond_options_rewrite7_2k7y02/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewrite7_2k7y02/tests/tasks/get_current_interfaces.yml:3 Wednesday 14 February 2024 00:01:45 +0000 (0:00:00.010) 0:00:04.379 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003878", "end": "2024-02-14 00:01:46.088849", "rc": 0, "start": "2024-02-14 00:01:46.084971" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewrite7_2k7y02/tests/tasks/get_current_interfaces.yml:9 Wednesday 14 February 2024 00:01:46 +0000 (0:00:00.215) 0:00:04.595 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewrite7_2k7y02/tests/tasks/show_interfaces.yml:5 Wednesday 14 February 2024 00:01:46 +0000 (0:00:00.009) 0:00:04.605 **** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-bond_options_rewrite7_2k7y02/tests/tasks/manage_test_interface.yml:16 Wednesday 14 February 2024 00:01:46 +0000 (0:00:00.009) 0:00:04.614 **** ok: [sut] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth1298] ****************************************** task path: /WORKDIR/git-bond_options_rewrite7_2k7y02/tests/tasks/manage_test_interface.yml:27 Wednesday 14 February 2024 00:01:47 +0000 (0:00:01.004) 0:00:05.619 **** 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.011574", "end": "2024-02-14 00:01:47.336813", "item": "ip link add veth1298 type veth peer name peerveth1298", "rc": 0, "start": "2024-02-14 00:01:47.325239" } ok: [sut] => (item=ip link set peerveth1298 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peerveth1298", "up" ], "delta": "0:00:00.004322", "end": "2024-02-14 00:01:47.580786", "item": "ip link set peerveth1298 up", "rc": 0, "start": "2024-02-14 00:01:47.576464" } ok: [sut] => (item=ip link set veth1298 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "veth1298", "up" ], "delta": "0:00:00.004134", "end": "2024-02-14 00:01:47.792525", "item": "ip link set veth1298 up", "rc": 0, "start": "2024-02-14 00:01:47.788391" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-bond_options_rewrite7_2k7y02/tests/tasks/manage_test_interface.yml:35 Wednesday 14 February 2024 00:01:47 +0000 (0:00:00.681) 0:00:06.300 **** ok: [sut] => { "changed": false, "cmd": [ "nmcli", "d", "set", "veth1298", "managed", "true" ], "delta": "0:00:00.024148", "end": "2024-02-14 00:01:48.030595", "rc": 0, "start": "2024-02-14 00:01:48.006447" } TASK [Delete veth interface veth1298] ****************************************** task path: /WORKDIR/git-bond_options_rewrite7_2k7y02/tests/tasks/manage_test_interface.yml:43 Wednesday 14 February 2024 00:01:48 +0000 (0:00:00.239) 0:00:06.540 **** 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_rewrite7_2k7y02/tests/tasks/manage_test_interface.yml:49 Wednesday 14 February 2024 00:01:48 +0000 (0:00:00.011) 0:00:06.551 **** 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_rewrite7_2k7y02/tests/tasks/manage_test_interface.yml:54 Wednesday 14 February 2024 00:01:48 +0000 (0:00:00.011) 0:00:06.563 **** 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_rewrite7_2k7y02/tests/tasks/manage_test_interface.yml:60 Wednesday 14 February 2024 00:01:48 +0000 (0:00:00.016) 0:00:06.580 **** 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_rewrite7_2k7y02/tests/tasks/manage_test_interface.yml:65 Wednesday 14 February 2024 00:01:48 +0000 (0:00:00.026) 0:00:06.606 **** 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_rewrite7_2k7y02/tests/tasks/create_and_remove_interface.yml:18 Wednesday 14 February 2024 00:01:48 +0000 (0:00:00.023) 0:00:06.630 **** included: /WORKDIR/git-bond_options_rewrite7_2k7y02/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewrite7_2k7y02/tests/tasks/show_interfaces.yml:3 Wednesday 14 February 2024 00:01:48 +0000 (0:00:00.042) 0:00:06.672 **** included: /WORKDIR/git-bond_options_rewrite7_2k7y02/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewrite7_2k7y02/tests/tasks/get_current_interfaces.yml:3 Wednesday 14 February 2024 00:01:48 +0000 (0:00:00.011) 0:00:06.684 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003733", "end": "2024-02-14 00:01:48.399889", "rc": 0, "start": "2024-02-14 00:01:48.396156" } STDOUT: bonding_masters eth0 lo peerveth1298 veth1298 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewrite7_2k7y02/tests/tasks/get_current_interfaces.yml:9 Wednesday 14 February 2024 00:01:48 +0000 (0:00:00.229) 0:00:06.913 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "peerveth1298", "veth1298" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewrite7_2k7y02/tests/tasks/show_interfaces.yml:5 Wednesday 14 February 2024 00:01:48 +0000 (0:00:00.018) 0:00:06.932 **** 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_rewrite7_2k7y02/tests/tasks/create_and_remove_interface.yml:20 Wednesday 14 February 2024 00:01:48 +0000 (0:00:00.013) 0:00:06.946 **** included: /WORKDIR/git-bond_options_rewrite7_2k7y02/tests/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewrite7_2k7y02/tests/tasks/assert_device_present.yml:3 Wednesday 14 February 2024 00:01:48 +0000 (0:00:00.026) 0:00:06.973 **** included: /WORKDIR/git-bond_options_rewrite7_2k7y02/tests/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth1298] ***************************************** task path: /WORKDIR/git-bond_options_rewrite7_2k7y02/tests/tasks/get_interface_stat.yml:3 Wednesday 14 February 2024 00:01:48 +0000 (0:00:00.011) 0:00:06.984 **** ok: [sut] => { "changed": false, "stat": { "atime": 1707868907.3296258, "block_size": 4096, "blocks": 0, "ctime": 1707868907.3296258, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 29470, "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": 1707868907.3296258, "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_rewrite7_2k7y02/tests/tasks/assert_device_present.yml:5 Wednesday 14 February 2024 00:01:48 +0000 (0:00:00.230) 0:00:07.214 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-bond_options_rewrite7_2k7y02/tests/tasks/create_and_remove_interface.yml:23 Wednesday 14 February 2024 00:01:48 +0000 (0:00:00.011) 0:00:07.226 **** included: /WORKDIR/git-bond_options_rewrite7_2k7y02/tests/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-bond_options_rewrite7_2k7y02/tests/tasks/manage_test_interface.yml:3 Wednesday 14 February 2024 00:01:48 +0000 (0:00:00.018) 0:00:07.245 **** 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_rewrite7_2k7y02/tests/tasks/manage_test_interface.yml:8 Wednesday 14 February 2024 00:01:48 +0000 (0:00:00.046) 0:00:07.291 **** 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_rewrite7_2k7y02/tests/tasks/manage_test_interface.yml:13 Wednesday 14 February 2024 00:01:48 +0000 (0:00:00.015) 0:00:07.307 **** included: /WORKDIR/git-bond_options_rewrite7_2k7y02/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewrite7_2k7y02/tests/tasks/show_interfaces.yml:3 Wednesday 14 February 2024 00:01:48 +0000 (0:00:00.011) 0:00:07.318 **** included: /WORKDIR/git-bond_options_rewrite7_2k7y02/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewrite7_2k7y02/tests/tasks/get_current_interfaces.yml:3 Wednesday 14 February 2024 00:01:48 +0000 (0:00:00.023) 0:00:07.342 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003765", "end": "2024-02-14 00:01:49.048586", "rc": 0, "start": "2024-02-14 00:01:49.044821" } STDOUT: bonding_masters eth0 lo peerveth1298 veth1298 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewrite7_2k7y02/tests/tasks/get_current_interfaces.yml:9 Wednesday 14 February 2024 00:01:49 +0000 (0:00:00.212) 0:00:07.554 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "peerveth1298", "veth1298" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewrite7_2k7y02/tests/tasks/show_interfaces.yml:5 Wednesday 14 February 2024 00:01:49 +0000 (0:00:00.020) 0:00:07.575 **** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'peerveth1298', 'veth1298'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-bond_options_rewrite7_2k7y02/tests/tasks/manage_test_interface.yml:16 Wednesday 14 February 2024 00:01:49 +0000 (0:00:00.022) 0:00:07.597 **** ok: [sut] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth1298] ****************************************** task path: /WORKDIR/git-bond_options_rewrite7_2k7y02/tests/tasks/manage_test_interface.yml:27 Wednesday 14 February 2024 00:01:50 +0000 (0:00:01.035) 0:00:08.633 **** 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_rewrite7_2k7y02/tests/tasks/manage_test_interface.yml:35 Wednesday 14 February 2024 00:01:50 +0000 (0:00:00.041) 0:00:08.675 **** 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_rewrite7_2k7y02/tests/tasks/manage_test_interface.yml:43 Wednesday 14 February 2024 00:01:50 +0000 (0:00:00.014) 0:00:08.689 **** ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "veth1298", "type", "veth" ], "delta": "0:00:00.018824", "end": "2024-02-14 00:01:50.438709", "rc": 0, "start": "2024-02-14 00:01:50.419885" } TASK [Create dummy interface veth1298] ***************************************** task path: /WORKDIR/git-bond_options_rewrite7_2k7y02/tests/tasks/manage_test_interface.yml:49 Wednesday 14 February 2024 00:01:50 +0000 (0:00:00.267) 0:00:08.957 **** 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_rewrite7_2k7y02/tests/tasks/manage_test_interface.yml:54 Wednesday 14 February 2024 00:01:50 +0000 (0:00:00.026) 0:00:08.984 **** 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_rewrite7_2k7y02/tests/tasks/manage_test_interface.yml:60 Wednesday 14 February 2024 00:01:50 +0000 (0:00:00.014) 0:00:08.999 **** 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_rewrite7_2k7y02/tests/tasks/manage_test_interface.yml:65 Wednesday 14 February 2024 00:01:50 +0000 (0:00:00.027) 0:00:09.026 **** 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_rewrite7_2k7y02/tests/tasks/create_and_remove_interface.yml:27 Wednesday 14 February 2024 00:01:50 +0000 (0:00:00.014) 0:00:09.041 **** included: /WORKDIR/git-bond_options_rewrite7_2k7y02/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewrite7_2k7y02/tests/tasks/show_interfaces.yml:3 Wednesday 14 February 2024 00:01:50 +0000 (0:00:00.035) 0:00:09.076 **** included: /WORKDIR/git-bond_options_rewrite7_2k7y02/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewrite7_2k7y02/tests/tasks/get_current_interfaces.yml:3 Wednesday 14 February 2024 00:01:50 +0000 (0:00:00.019) 0:00:09.095 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003851", "end": "2024-02-14 00:01:50.814471", "rc": 0, "start": "2024-02-14 00:01:50.810620" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewrite7_2k7y02/tests/tasks/get_current_interfaces.yml:9 Wednesday 14 February 2024 00:01:50 +0000 (0:00:00.237) 0:00:09.333 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewrite7_2k7y02/tests/tasks/show_interfaces.yml:5 Wednesday 14 February 2024 00:01:50 +0000 (0:00:00.012) 0:00:09.346 **** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Include the task 'assert_device_absent.yml'] ***************************** task path: /WORKDIR/git-bond_options_rewrite7_2k7y02/tests/tasks/create_and_remove_interface.yml:29 Wednesday 14 February 2024 00:01:50 +0000 (0:00:00.012) 0:00:09.358 **** included: /WORKDIR/git-bond_options_rewrite7_2k7y02/tests/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewrite7_2k7y02/tests/tasks/assert_device_absent.yml:3 Wednesday 14 February 2024 00:01:50 +0000 (0:00:00.019) 0:00:09.378 **** included: /WORKDIR/git-bond_options_rewrite7_2k7y02/tests/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth1298] ***************************************** task path: /WORKDIR/git-bond_options_rewrite7_2k7y02/tests/tasks/get_interface_stat.yml:3 Wednesday 14 February 2024 00:01:50 +0000 (0:00:00.013) 0:00:09.391 **** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'veth1298'] ************************ task path: /WORKDIR/git-bond_options_rewrite7_2k7y02/tests/tasks/assert_device_absent.yml:5 Wednesday 14 February 2024 00:01:51 +0000 (0:00:00.217) 0:00:09.609 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test veth interface management] ****************************************** task path: /WORKDIR/git-bond_options_rewrite7_2k7y02/tests/tests_helpers_and_asserts.yml:15 Wednesday 14 February 2024 00:01:51 +0000 (0:00:00.017) 0:00:09.627 **** included: /WORKDIR/git-bond_options_rewrite7_2k7y02/tests/tasks/create_and_remove_interface.yml for sut TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-bond_options_rewrite7_2k7y02/tests/tasks/create_and_remove_interface.yml:3 Wednesday 14 February 2024 00:01:51 +0000 (0:00:00.032) 0:00:09.659 **** included: /WORKDIR/git-bond_options_rewrite7_2k7y02/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewrite7_2k7y02/tests/tasks/show_interfaces.yml:3 Wednesday 14 February 2024 00:01:51 +0000 (0:00:00.039) 0:00:09.699 **** included: /WORKDIR/git-bond_options_rewrite7_2k7y02/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewrite7_2k7y02/tests/tasks/get_current_interfaces.yml:3 Wednesday 14 February 2024 00:01:51 +0000 (0:00:00.023) 0:00:09.723 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003986", "end": "2024-02-14 00:01:51.473853", "rc": 0, "start": "2024-02-14 00:01:51.469867" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewrite7_2k7y02/tests/tasks/get_current_interfaces.yml:9 Wednesday 14 February 2024 00:01:51 +0000 (0:00:00.259) 0:00:09.982 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewrite7_2k7y02/tests/tasks/show_interfaces.yml:5 Wednesday 14 February 2024 00:01:51 +0000 (0:00:00.012) 0:00:09.995 **** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-bond_options_rewrite7_2k7y02/tests/tasks/create_and_remove_interface.yml:5 Wednesday 14 February 2024 00:01:51 +0000 (0:00:00.015) 0:00:10.010 **** included: /WORKDIR/git-bond_options_rewrite7_2k7y02/tests/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-bond_options_rewrite7_2k7y02/tests/tasks/manage_test_interface.yml:3 Wednesday 14 February 2024 00:01:51 +0000 (0:00:00.013) 0:00:10.024 **** 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_rewrite7_2k7y02/tests/tasks/manage_test_interface.yml:8 Wednesday 14 February 2024 00:01:51 +0000 (0:00:00.010) 0:00:10.034 **** 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_rewrite7_2k7y02/tests/tasks/manage_test_interface.yml:13 Wednesday 14 February 2024 00:01:51 +0000 (0:00:00.008) 0:00:10.043 **** included: /WORKDIR/git-bond_options_rewrite7_2k7y02/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewrite7_2k7y02/tests/tasks/show_interfaces.yml:3 Wednesday 14 February 2024 00:01:51 +0000 (0:00:00.011) 0:00:10.055 **** included: /WORKDIR/git-bond_options_rewrite7_2k7y02/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewrite7_2k7y02/tests/tasks/get_current_interfaces.yml:3 Wednesday 14 February 2024 00:01:51 +0000 (0:00:00.010) 0:00:10.066 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.004043", "end": "2024-02-14 00:01:51.773388", "rc": 0, "start": "2024-02-14 00:01:51.769345" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewrite7_2k7y02/tests/tasks/get_current_interfaces.yml:9 Wednesday 14 February 2024 00:01:51 +0000 (0:00:00.214) 0:00:10.280 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewrite7_2k7y02/tests/tasks/show_interfaces.yml:5 Wednesday 14 February 2024 00:01:51 +0000 (0:00:00.016) 0:00:10.297 **** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-bond_options_rewrite7_2k7y02/tests/tasks/manage_test_interface.yml:16 Wednesday 14 February 2024 00:01:51 +0000 (0:00:00.012) 0:00:10.309 **** ok: [sut] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface dummy1298] ***************************************** task path: /WORKDIR/git-bond_options_rewrite7_2k7y02/tests/tasks/manage_test_interface.yml:27 Wednesday 14 February 2024 00:01:52 +0000 (0:00:01.013) 0:00:11.323 **** 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_rewrite7_2k7y02/tests/tasks/manage_test_interface.yml:35 Wednesday 14 February 2024 00:01:52 +0000 (0:00:00.018) 0:00:11.342 **** 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_rewrite7_2k7y02/tests/tasks/manage_test_interface.yml:43 Wednesday 14 February 2024 00:01:52 +0000 (0:00:00.009) 0:00:11.351 **** 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_rewrite7_2k7y02/tests/tasks/manage_test_interface.yml:49 Wednesday 14 February 2024 00:01:52 +0000 (0:00:00.009) 0:00:11.361 **** 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_rewrite7_2k7y02/tests/tasks/manage_test_interface.yml:54 Wednesday 14 February 2024 00:01:52 +0000 (0:00:00.012) 0:00:11.373 **** 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_rewrite7_2k7y02/tests/tasks/manage_test_interface.yml:60 Wednesday 14 February 2024 00:01:52 +0000 (0:00:00.018) 0:00:11.392 **** 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_rewrite7_2k7y02/tests/tasks/manage_test_interface.yml:65 Wednesday 14 February 2024 00:01:52 +0000 (0:00:00.019) 0:00:11.411 **** 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_rewrite7_2k7y02/tests/tasks/create_and_remove_interface.yml:9 Wednesday 14 February 2024 00:01:52 +0000 (0:00:00.022) 0:00:11.433 **** included: /WORKDIR/git-bond_options_rewrite7_2k7y02/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewrite7_2k7y02/tests/tasks/show_interfaces.yml:3 Wednesday 14 February 2024 00:01:52 +0000 (0:00:00.021) 0:00:11.454 **** included: /WORKDIR/git-bond_options_rewrite7_2k7y02/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewrite7_2k7y02/tests/tasks/get_current_interfaces.yml:3 Wednesday 14 February 2024 00:01:52 +0000 (0:00:00.020) 0:00:11.475 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003837", "end": "2024-02-14 00:01:53.187933", "rc": 0, "start": "2024-02-14 00:01:53.184096" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewrite7_2k7y02/tests/tasks/get_current_interfaces.yml:9 Wednesday 14 February 2024 00:01:53 +0000 (0:00:00.219) 0:00:11.695 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewrite7_2k7y02/tests/tasks/show_interfaces.yml:5 Wednesday 14 February 2024 00:01:53 +0000 (0:00:00.013) 0:00:11.709 **** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Include the task 'assert_device_absent.yml'] ***************************** task path: /WORKDIR/git-bond_options_rewrite7_2k7y02/tests/tasks/create_and_remove_interface.yml:11 Wednesday 14 February 2024 00:01:53 +0000 (0:00:00.011) 0:00:11.720 **** included: /WORKDIR/git-bond_options_rewrite7_2k7y02/tests/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewrite7_2k7y02/tests/tasks/assert_device_absent.yml:3 Wednesday 14 February 2024 00:01:53 +0000 (0:00:00.013) 0:00:11.734 **** included: /WORKDIR/git-bond_options_rewrite7_2k7y02/tests/tasks/get_interface_stat.yml for sut TASK [Get stat for interface dummy1298] **************************************** task path: /WORKDIR/git-bond_options_rewrite7_2k7y02/tests/tasks/get_interface_stat.yml:3 Wednesday 14 February 2024 00:01:53 +0000 (0:00:00.015) 0:00:11.749 **** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'dummy1298'] *********************** task path: /WORKDIR/git-bond_options_rewrite7_2k7y02/tests/tasks/assert_device_absent.yml:5 Wednesday 14 February 2024 00:01:53 +0000 (0:00:00.225) 0:00:11.975 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-bond_options_rewrite7_2k7y02/tests/tasks/create_and_remove_interface.yml:14 Wednesday 14 February 2024 00:01:53 +0000 (0:00:00.011) 0:00:11.986 **** included: /WORKDIR/git-bond_options_rewrite7_2k7y02/tests/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-bond_options_rewrite7_2k7y02/tests/tasks/manage_test_interface.yml:3 Wednesday 14 February 2024 00:01:53 +0000 (0:00:00.015) 0:00:12.001 **** 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_rewrite7_2k7y02/tests/tasks/manage_test_interface.yml:8 Wednesday 14 February 2024 00:01:53 +0000 (0:00:00.010) 0:00:12.012 **** 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_rewrite7_2k7y02/tests/tasks/manage_test_interface.yml:13 Wednesday 14 February 2024 00:01:53 +0000 (0:00:00.008) 0:00:12.021 **** included: /WORKDIR/git-bond_options_rewrite7_2k7y02/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewrite7_2k7y02/tests/tasks/show_interfaces.yml:3 Wednesday 14 February 2024 00:01:53 +0000 (0:00:00.012) 0:00:12.033 **** included: /WORKDIR/git-bond_options_rewrite7_2k7y02/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewrite7_2k7y02/tests/tasks/get_current_interfaces.yml:3 Wednesday 14 February 2024 00:01:53 +0000 (0:00:00.015) 0:00:12.048 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003976", "end": "2024-02-14 00:01:53.755126", "rc": 0, "start": "2024-02-14 00:01:53.751150" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewrite7_2k7y02/tests/tasks/get_current_interfaces.yml:9 Wednesday 14 February 2024 00:01:53 +0000 (0:00:00.216) 0:00:12.265 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewrite7_2k7y02/tests/tasks/show_interfaces.yml:5 Wednesday 14 February 2024 00:01:53 +0000 (0:00:00.012) 0:00:12.277 **** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-bond_options_rewrite7_2k7y02/tests/tasks/manage_test_interface.yml:16 Wednesday 14 February 2024 00:01:53 +0000 (0:00:00.011) 0:00:12.288 **** ok: [sut] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface dummy1298] ***************************************** task path: /WORKDIR/git-bond_options_rewrite7_2k7y02/tests/tasks/manage_test_interface.yml:27 Wednesday 14 February 2024 00:01:54 +0000 (0:00:01.079) 0:00:13.368 **** 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_rewrite7_2k7y02/tests/tasks/manage_test_interface.yml:35 Wednesday 14 February 2024 00:01:54 +0000 (0:00:00.025) 0:00:13.394 **** 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_rewrite7_2k7y02/tests/tasks/manage_test_interface.yml:43 Wednesday 14 February 2024 00:01:54 +0000 (0:00:00.012) 0:00:13.407 **** 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_rewrite7_2k7y02/tests/tasks/manage_test_interface.yml:49 Wednesday 14 February 2024 00:01:54 +0000 (0:00:00.024) 0:00:13.432 **** ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "add", "dummy1298", "type", "dummy" ], "delta": "0:00:00.057468", "end": "2024-02-14 00:01:55.243071", "rc": 0, "start": "2024-02-14 00:01:55.185603" } TASK [Delete dummy interface dummy1298] **************************************** task path: /WORKDIR/git-bond_options_rewrite7_2k7y02/tests/tasks/manage_test_interface.yml:54 Wednesday 14 February 2024 00:01:55 +0000 (0:00:00.330) 0:00:13.762 **** 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_rewrite7_2k7y02/tests/tasks/manage_test_interface.yml:60 Wednesday 14 February 2024 00:01:55 +0000 (0:00:00.019) 0:00:13.782 **** 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_rewrite7_2k7y02/tests/tasks/manage_test_interface.yml:65 Wednesday 14 February 2024 00:01:55 +0000 (0:00:00.022) 0:00:13.805 **** 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_rewrite7_2k7y02/tests/tasks/create_and_remove_interface.yml:18 Wednesday 14 February 2024 00:01:55 +0000 (0:00:00.020) 0:00:13.826 **** included: /WORKDIR/git-bond_options_rewrite7_2k7y02/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewrite7_2k7y02/tests/tasks/show_interfaces.yml:3 Wednesday 14 February 2024 00:01:55 +0000 (0:00:00.034) 0:00:13.861 **** included: /WORKDIR/git-bond_options_rewrite7_2k7y02/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewrite7_2k7y02/tests/tasks/get_current_interfaces.yml:3 Wednesday 14 February 2024 00:01:55 +0000 (0:00:00.017) 0:00:13.878 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003810", "end": "2024-02-14 00:01:55.593162", "rc": 0, "start": "2024-02-14 00:01:55.589352" } STDOUT: bonding_masters dummy1298 eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewrite7_2k7y02/tests/tasks/get_current_interfaces.yml:9 Wednesday 14 February 2024 00:01:55 +0000 (0:00:00.235) 0:00:14.114 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "dummy1298", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewrite7_2k7y02/tests/tasks/show_interfaces.yml:5 Wednesday 14 February 2024 00:01:55 +0000 (0:00:00.019) 0:00:14.133 **** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'dummy1298', 'eth0', 'lo'] TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-bond_options_rewrite7_2k7y02/tests/tasks/create_and_remove_interface.yml:20 Wednesday 14 February 2024 00:01:55 +0000 (0:00:00.014) 0:00:14.148 **** included: /WORKDIR/git-bond_options_rewrite7_2k7y02/tests/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewrite7_2k7y02/tests/tasks/assert_device_present.yml:3 Wednesday 14 February 2024 00:01:55 +0000 (0:00:00.018) 0:00:14.167 **** included: /WORKDIR/git-bond_options_rewrite7_2k7y02/tests/tasks/get_interface_stat.yml for sut TASK [Get stat for interface dummy1298] **************************************** task path: /WORKDIR/git-bond_options_rewrite7_2k7y02/tests/tasks/get_interface_stat.yml:3 Wednesday 14 February 2024 00:01:55 +0000 (0:00:00.018) 0:00:14.185 **** ok: [sut] => { "changed": false, "stat": { "atime": 1707868915.238683, "block_size": 4096, "blocks": 0, "ctime": 1707868915.238683, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 29798, "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": 1707868915.238683, "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_rewrite7_2k7y02/tests/tasks/assert_device_present.yml:5 Wednesday 14 February 2024 00:01:55 +0000 (0:00:00.231) 0:00:14.417 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-bond_options_rewrite7_2k7y02/tests/tasks/create_and_remove_interface.yml:23 Wednesday 14 February 2024 00:01:55 +0000 (0:00:00.021) 0:00:14.438 **** included: /WORKDIR/git-bond_options_rewrite7_2k7y02/tests/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-bond_options_rewrite7_2k7y02/tests/tasks/manage_test_interface.yml:3 Wednesday 14 February 2024 00:01:55 +0000 (0:00:00.032) 0:00:14.471 **** 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_rewrite7_2k7y02/tests/tasks/manage_test_interface.yml:8 Wednesday 14 February 2024 00:01:56 +0000 (0:00:00.018) 0:00:14.489 **** 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_rewrite7_2k7y02/tests/tasks/manage_test_interface.yml:13 Wednesday 14 February 2024 00:01:56 +0000 (0:00:00.029) 0:00:14.518 **** included: /WORKDIR/git-bond_options_rewrite7_2k7y02/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewrite7_2k7y02/tests/tasks/show_interfaces.yml:3 Wednesday 14 February 2024 00:01:56 +0000 (0:00:00.013) 0:00:14.531 **** included: /WORKDIR/git-bond_options_rewrite7_2k7y02/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewrite7_2k7y02/tests/tasks/get_current_interfaces.yml:3 Wednesday 14 February 2024 00:01:56 +0000 (0:00:00.010) 0:00:14.542 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003917", "end": "2024-02-14 00:01:56.254487", "rc": 0, "start": "2024-02-14 00:01:56.250570" } STDOUT: bonding_masters dummy1298 eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewrite7_2k7y02/tests/tasks/get_current_interfaces.yml:9 Wednesday 14 February 2024 00:01:56 +0000 (0:00:00.218) 0:00:14.760 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "dummy1298", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewrite7_2k7y02/tests/tasks/show_interfaces.yml:5 Wednesday 14 February 2024 00:01:56 +0000 (0:00:00.009) 0:00:14.770 **** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'dummy1298', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-bond_options_rewrite7_2k7y02/tests/tasks/manage_test_interface.yml:16 Wednesday 14 February 2024 00:01:56 +0000 (0:00:00.009) 0:00:14.780 **** ok: [sut] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface dummy1298] ***************************************** task path: /WORKDIR/git-bond_options_rewrite7_2k7y02/tests/tasks/manage_test_interface.yml:27 Wednesday 14 February 2024 00:01:57 +0000 (0:00:01.019) 0:00:15.800 **** 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_rewrite7_2k7y02/tests/tasks/manage_test_interface.yml:35 Wednesday 14 February 2024 00:01:57 +0000 (0:00:00.022) 0:00:15.822 **** 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_rewrite7_2k7y02/tests/tasks/manage_test_interface.yml:43 Wednesday 14 February 2024 00:01:57 +0000 (0:00:00.017) 0:00:15.839 **** 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_rewrite7_2k7y02/tests/tasks/manage_test_interface.yml:49 Wednesday 14 February 2024 00:01:57 +0000 (0:00:00.010) 0:00:15.849 **** 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_rewrite7_2k7y02/tests/tasks/manage_test_interface.yml:54 Wednesday 14 February 2024 00:01:57 +0000 (0:00:00.010) 0:00:15.860 **** ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "dummy1298", "type", "dummy" ], "delta": "0:00:00.011672", "end": "2024-02-14 00:01:57.591180", "rc": 0, "start": "2024-02-14 00:01:57.579508" } TASK [Create tap interface dummy1298] ****************************************** task path: /WORKDIR/git-bond_options_rewrite7_2k7y02/tests/tasks/manage_test_interface.yml:60 Wednesday 14 February 2024 00:01:57 +0000 (0:00:00.237) 0:00:16.098 **** 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_rewrite7_2k7y02/tests/tasks/manage_test_interface.yml:65 Wednesday 14 February 2024 00:01:57 +0000 (0:00:00.009) 0:00:16.107 **** 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_rewrite7_2k7y02/tests/tasks/create_and_remove_interface.yml:27 Wednesday 14 February 2024 00:01:57 +0000 (0:00:00.009) 0:00:16.116 **** included: /WORKDIR/git-bond_options_rewrite7_2k7y02/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewrite7_2k7y02/tests/tasks/show_interfaces.yml:3 Wednesday 14 February 2024 00:01:57 +0000 (0:00:00.019) 0:00:16.136 **** included: /WORKDIR/git-bond_options_rewrite7_2k7y02/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewrite7_2k7y02/tests/tasks/get_current_interfaces.yml:3 Wednesday 14 February 2024 00:01:57 +0000 (0:00:00.010) 0:00:16.146 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003994", "end": "2024-02-14 00:01:57.854191", "rc": 0, "start": "2024-02-14 00:01:57.850197" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewrite7_2k7y02/tests/tasks/get_current_interfaces.yml:9 Wednesday 14 February 2024 00:01:57 +0000 (0:00:00.216) 0:00:16.362 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewrite7_2k7y02/tests/tasks/show_interfaces.yml:5 Wednesday 14 February 2024 00:01:57 +0000 (0:00:00.010) 0:00:16.373 **** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Include the task 'assert_device_absent.yml'] ***************************** task path: /WORKDIR/git-bond_options_rewrite7_2k7y02/tests/tasks/create_and_remove_interface.yml:29 Wednesday 14 February 2024 00:01:57 +0000 (0:00:00.014) 0:00:16.388 **** included: /WORKDIR/git-bond_options_rewrite7_2k7y02/tests/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewrite7_2k7y02/tests/tasks/assert_device_absent.yml:3 Wednesday 14 February 2024 00:01:57 +0000 (0:00:00.022) 0:00:16.410 **** included: /WORKDIR/git-bond_options_rewrite7_2k7y02/tests/tasks/get_interface_stat.yml for sut TASK [Get stat for interface dummy1298] **************************************** task path: /WORKDIR/git-bond_options_rewrite7_2k7y02/tests/tasks/get_interface_stat.yml:3 Wednesday 14 February 2024 00:01:57 +0000 (0:00:00.012) 0:00:16.422 **** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'dummy1298'] *********************** task path: /WORKDIR/git-bond_options_rewrite7_2k7y02/tests/tasks/assert_device_absent.yml:5 Wednesday 14 February 2024 00:01:58 +0000 (0:00:00.215) 0:00:16.638 **** ok: [sut] => { "changed": false } MSG: All assertions passed PLAY RECAP ********************************************************************* sut : ok=119 changed=0 unreachable=0 failed=0 skipped=55 rescued=0 ignored=0 Wednesday 14 February 2024 00:01:58 +0000 (0:00:00.040) 0:00:16.678 **** =============================================================================== Install iproute --------------------------------------------------------- 1.18s /WORKDIR/git-bond_options_rewrite7_2k7y02/tests/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 1.08s /WORKDIR/git-bond_options_rewrite7_2k7y02/tests/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 1.04s /WORKDIR/git-bond_options_rewrite7_2k7y02/tests/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 1.02s /WORKDIR/git-bond_options_rewrite7_2k7y02/tests/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 1.01s /WORKDIR/git-bond_options_rewrite7_2k7y02/tests/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 1.00s /WORKDIR/git-bond_options_rewrite7_2k7y02/tests/tasks/manage_test_interface.yml:16 Gathering Facts --------------------------------------------------------- 1.00s /WORKDIR/git-bond_options_rewrite7_2k7y02/tests/tests_helpers_and_asserts.yml:3 Create veth interface veth1298 ------------------------------------------ 0.68s /WORKDIR/git-bond_options_rewrite7_2k7y02/tests/tasks/manage_test_interface.yml:27 Gather the minimum subset of ansible_facts required by the network role test --- 0.42s /WORKDIR/git-bond_options_rewrite7_2k7y02/tests/tasks/el_repo_setup.yml:3 ----- Create dummy interface dummy1298 ---------------------------------------- 0.33s /WORKDIR/git-bond_options_rewrite7_2k7y02/tests/tasks/manage_test_interface.yml:49 Gather current interface info ------------------------------------------- 0.27s /WORKDIR/git-bond_options_rewrite7_2k7y02/tests/tasks/get_current_interfaces.yml:3 Check if system is ostree ----------------------------------------------- 0.27s /WORKDIR/git-bond_options_rewrite7_2k7y02/tests/tasks/el_repo_setup.yml:17 ---- Delete veth interface veth1298 ------------------------------------------ 0.27s /WORKDIR/git-bond_options_rewrite7_2k7y02/tests/tasks/manage_test_interface.yml:43 Gather current interface info ------------------------------------------- 0.26s /WORKDIR/git-bond_options_rewrite7_2k7y02/tests/tasks/get_current_interfaces.yml:3 Set up veth as managed by NetworkManager -------------------------------- 0.24s /WORKDIR/git-bond_options_rewrite7_2k7y02/tests/tasks/manage_test_interface.yml:35 Delete dummy interface dummy1298 ---------------------------------------- 0.24s /WORKDIR/git-bond_options_rewrite7_2k7y02/tests/tasks/manage_test_interface.yml:54 Gather current interface info ------------------------------------------- 0.24s /WORKDIR/git-bond_options_rewrite7_2k7y02/tests/tasks/get_current_interfaces.yml:3 Gather current interface info ------------------------------------------- 0.24s /WORKDIR/git-bond_options_rewrite7_2k7y02/tests/tasks/get_current_interfaces.yml:3 Get stat for interface dummy1298 ---------------------------------------- 0.23s /WORKDIR/git-bond_options_rewrite7_2k7y02/tests/tasks/get_interface_stat.yml:3 Get stat for interface veth1298 ----------------------------------------- 0.23s /WORKDIR/git-bond_options_rewrite7_2k7y02/tests/tasks/get_interface_stat.yml:3 ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- [DEPRECATION WARNING]: ANSIBLE_COLLECTIONS_PATHS option, does not fit var naming standard, use the singular form ANSIBLE_COLLECTIONS_PATH instead. This feature will be removed from ansible-core in version 2.19. Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg. ---^---^---^---^---^---