# 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-nm_plugin_hotfixw2v6gqoo/.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-nm_plugin_hotfixw2v6gqoo/tests/tests_helpers_and_asserts.yml PLAY [Check that creating and removing test devices and assertions work] ******* TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-nm_plugin_hotfixw2v6gqoo/tests/tests_helpers_and_asserts.yml:3 Tuesday 12 March 2024 21:36:44 +0000 (0:00:00.052) 0:00:00.052 ********* ok: [sut] TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-nm_plugin_hotfixw2v6gqoo/tests/tests_helpers_and_asserts.yml:6 Tuesday 12 March 2024 21:36:45 +0000 (0:00:00.894) 0:00:00.947 ********* included: /WORKDIR/git-nm_plugin_hotfixw2v6gqoo/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-nm_plugin_hotfixw2v6gqoo/tests/tasks/el_repo_setup.yml:3 Tuesday 12 March 2024 21:36:45 +0000 (0:00:00.012) 0:00:00.959 ********* ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-nm_plugin_hotfixw2v6gqoo/tests/tasks/el_repo_setup.yml:17 Tuesday 12 March 2024 21:36:45 +0000 (0:00:00.238) 0:00:01.198 ********* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-nm_plugin_hotfixw2v6gqoo/tests/tasks/el_repo_setup.yml:22 Tuesday 12 March 2024 21:36:45 +0000 (0:00:00.189) 0:00:01.388 ********* ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-nm_plugin_hotfixw2v6gqoo/tests/tasks/el_repo_setup.yml:26 Tuesday 12 March 2024 21:36:45 +0000 (0:00:00.022) 0:00:01.411 ********* 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-nm_plugin_hotfixw2v6gqoo/tests/tasks/el_repo_setup.yml:51 Tuesday 12 March 2024 21:36:45 +0000 (0:00:00.011) 0:00:01.422 ********* included: /WORKDIR/git-nm_plugin_hotfixw2v6gqoo/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 7] *********************************************************** task path: /WORKDIR/git-nm_plugin_hotfixw2v6gqoo/tests/tasks/enable_epel.yml:8 Tuesday 12 March 2024 21:36:45 +0000 (0:00:00.022) 0:00:01.445 ********* ok: [sut] => { "attempts": 1, "changed": false, "cmd": [ "rpm", "-iv", "https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm" ], "delta": null, "end": null, "rc": 0, "start": null } STDOUT: skipped, since /etc/yum.repos.d/epel.repo exists MSG: Did not run command since '/etc/yum.repos.d/epel.repo' exists TASK [Install yum-utils package] *********************************************** task path: /WORKDIR/git-nm_plugin_hotfixw2v6gqoo/tests/tasks/enable_epel.yml:24 Tuesday 12 March 2024 21:36:45 +0000 (0:00:00.189) 0:00:01.634 ********* ok: [sut] => { "changed": false, "rc": 0, "results": [ "yum-utils-1.1.31-54.el7_8.noarch providing yum-utils is already installed" ] } TASK [Enable EPEL 7] *********************************************************** task path: /WORKDIR/git-nm_plugin_hotfixw2v6gqoo/tests/tasks/enable_epel.yml:30 Tuesday 12 March 2024 21:36:46 +0000 (0:00:00.434) 0:00:02.068 ********* ok: [sut] => { "changed": false, "cmd": [ "yum-config-manager", "--enable", "epel" ], "delta": "0:00:00.183568", "end": "2024-03-12 21:36:46.667798", "rc": 0, "start": "2024-03-12 21:36:46.484230" } STDOUT: Loaded plugins: fastestmirror ================================== repo: epel ================================== [epel] async = True bandwidth = 0 base_persistdir = /var/lib/yum/repos/x86_64/7 baseurl = cache = 0 cachedir = /var/cache/yum/x86_64/7/epel check_config_file_age = True compare_providers_priority = 80 cost = 1000 deltarpm_metadata_percentage = 100 deltarpm_percentage = enabled = True enablegroups = True exclude = failovermethod = priority ftp_disable_epsv = False gpgcadir = /var/lib/yum/repos/x86_64/7/epel/gpgcadir gpgcakey = gpgcheck = True gpgdir = /var/lib/yum/repos/x86_64/7/epel/gpgdir gpgkey = file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-7 hdrdir = /var/cache/yum/x86_64/7/epel/headers http_caching = all includepkgs = ip_resolve = keepalive = True keepcache = False mddownloadpolicy = sqlite mdpolicy = group:small mediaid = metadata_expire = 21600 metadata_expire_filter = read-only:present metalink = https://mirrors.fedoraproject.org/metalink?repo=epel-7&arch=x86_64&infra=stock&content=centos minrate = 0 mirrorlist = mirrorlist_expire = 86400 name = Extra Packages for Enterprise Linux 7 - x86_64 old_base_cache_dir = password = persistdir = /var/lib/yum/repos/x86_64/7/epel pkgdir = /var/cache/yum/x86_64/7/epel/packages proxy = False proxy_dict = proxy_password = proxy_username = repo_gpgcheck = False retries = 10 skip_if_unavailable = False ssl_check_cert_permissions = True sslcacert = sslclientcert = sslclientkey = sslverify = True throttle = 0 timeout = 30.0 ui_id = epel/x86_64 ui_repoid_vars = releasever, basearch username = TASK [Enable EPEL 8] *********************************************************** task path: /WORKDIR/git-nm_plugin_hotfixw2v6gqoo/tests/tasks/enable_epel.yml:35 Tuesday 12 March 2024 21:36:46 +0000 (0:00:00.329) 0:00:02.397 ********* skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version == '8'", "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-nm_plugin_hotfixw2v6gqoo/tests/tasks/enable_epel.yml:40 Tuesday 12 March 2024 21:36:46 +0000 (0:00:00.008) 0:00:02.406 ********* 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-nm_plugin_hotfixw2v6gqoo/tests/tests_helpers_and_asserts.yml:9 Tuesday 12 March 2024 21:36:46 +0000 (0:00:00.008) 0:00:02.415 ********* included: /WORKDIR/git-nm_plugin_hotfixw2v6gqoo/tests/tasks/create_and_remove_interface.yml for sut TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-nm_plugin_hotfixw2v6gqoo/tests/tasks/create_and_remove_interface.yml:3 Tuesday 12 March 2024 21:36:46 +0000 (0:00:00.011) 0:00:02.427 ********* included: /WORKDIR/git-nm_plugin_hotfixw2v6gqoo/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfixw2v6gqoo/tests/tasks/show_interfaces.yml:3 Tuesday 12 March 2024 21:36:46 +0000 (0:00:00.010) 0:00:02.437 ********* included: /WORKDIR/git-nm_plugin_hotfixw2v6gqoo/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-nm_plugin_hotfixw2v6gqoo/tests/tasks/get_current_interfaces.yml:3 Tuesday 12 March 2024 21:36:46 +0000 (0:00:00.009) 0:00:02.446 ********* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003893", "end": "2024-03-12 21:36:46.842170", "rc": 0, "start": "2024-03-12 21:36:46.838277" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-nm_plugin_hotfixw2v6gqoo/tests/tasks/get_current_interfaces.yml:9 Tuesday 12 March 2024 21:36:46 +0000 (0:00:00.125) 0:00:02.572 ********* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-nm_plugin_hotfixw2v6gqoo/tests/tasks/show_interfaces.yml:5 Tuesday 12 March 2024 21:36:46 +0000 (0:00:00.011) 0:00:02.583 ********* ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo'] TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-nm_plugin_hotfixw2v6gqoo/tests/tasks/create_and_remove_interface.yml:5 Tuesday 12 March 2024 21:36:46 +0000 (0:00:00.009) 0:00:02.593 ********* included: /WORKDIR/git-nm_plugin_hotfixw2v6gqoo/tests/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-nm_plugin_hotfixw2v6gqoo/tests/tasks/manage_test_interface.yml:3 Tuesday 12 March 2024 21:36:46 +0000 (0:00:00.014) 0:00:02.608 ********* 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-nm_plugin_hotfixw2v6gqoo/tests/tasks/manage_test_interface.yml:8 Tuesday 12 March 2024 21:36:46 +0000 (0:00:00.012) 0:00:02.620 ********* 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-nm_plugin_hotfixw2v6gqoo/tests/tasks/manage_test_interface.yml:13 Tuesday 12 March 2024 21:36:46 +0000 (0:00:00.007) 0:00:02.628 ********* included: /WORKDIR/git-nm_plugin_hotfixw2v6gqoo/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfixw2v6gqoo/tests/tasks/show_interfaces.yml:3 Tuesday 12 March 2024 21:36:46 +0000 (0:00:00.011) 0:00:02.639 ********* included: /WORKDIR/git-nm_plugin_hotfixw2v6gqoo/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-nm_plugin_hotfixw2v6gqoo/tests/tasks/get_current_interfaces.yml:3 Tuesday 12 March 2024 21:36:46 +0000 (0:00:00.011) 0:00:02.650 ********* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003912", "end": "2024-03-12 21:36:47.049692", "rc": 0, "start": "2024-03-12 21:36:47.045780" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-nm_plugin_hotfixw2v6gqoo/tests/tasks/get_current_interfaces.yml:9 Tuesday 12 March 2024 21:36:47 +0000 (0:00:00.129) 0:00:02.779 ********* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-nm_plugin_hotfixw2v6gqoo/tests/tasks/show_interfaces.yml:5 Tuesday 12 March 2024 21:36:47 +0000 (0:00:00.009) 0:00:02.789 ********* ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-nm_plugin_hotfixw2v6gqoo/tests/tasks/manage_test_interface.yml:16 Tuesday 12 March 2024 21:36:47 +0000 (0:00:00.008) 0:00:02.798 ********* ok: [sut] => { "attempts": 1, "changed": false, "rc": 0, "results": [ "iproute-4.11.0-30.el7.x86_64 providing iproute is already installed" ] } TASK [Create veth interface veth1298] ****************************************** task path: /WORKDIR/git-nm_plugin_hotfixw2v6gqoo/tests/tasks/manage_test_interface.yml:27 Tuesday 12 March 2024 21:36:47 +0000 (0:00:00.318) 0:00:03.116 ********* 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-nm_plugin_hotfixw2v6gqoo/tests/tasks/manage_test_interface.yml:35 Tuesday 12 March 2024 21:36:47 +0000 (0:00:00.014) 0:00:03.130 ********* 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-nm_plugin_hotfixw2v6gqoo/tests/tasks/manage_test_interface.yml:43 Tuesday 12 March 2024 21:36:47 +0000 (0:00:00.008) 0:00:03.139 ********* 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-nm_plugin_hotfixw2v6gqoo/tests/tasks/manage_test_interface.yml:49 Tuesday 12 March 2024 21:36:47 +0000 (0:00:00.012) 0:00:03.151 ********* 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-nm_plugin_hotfixw2v6gqoo/tests/tasks/manage_test_interface.yml:54 Tuesday 12 March 2024 21:36:47 +0000 (0:00:00.009) 0:00:03.161 ********* 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-nm_plugin_hotfixw2v6gqoo/tests/tasks/manage_test_interface.yml:60 Tuesday 12 March 2024 21:36:47 +0000 (0:00:00.011) 0:00:03.172 ********* 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-nm_plugin_hotfixw2v6gqoo/tests/tasks/manage_test_interface.yml:65 Tuesday 12 March 2024 21:36:47 +0000 (0:00:00.009) 0:00:03.182 ********* 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-nm_plugin_hotfixw2v6gqoo/tests/tasks/create_and_remove_interface.yml:9 Tuesday 12 March 2024 21:36:47 +0000 (0:00:00.010) 0:00:03.192 ********* included: /WORKDIR/git-nm_plugin_hotfixw2v6gqoo/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfixw2v6gqoo/tests/tasks/show_interfaces.yml:3 Tuesday 12 March 2024 21:36:47 +0000 (0:00:00.012) 0:00:03.205 ********* included: /WORKDIR/git-nm_plugin_hotfixw2v6gqoo/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-nm_plugin_hotfixw2v6gqoo/tests/tasks/get_current_interfaces.yml:3 Tuesday 12 March 2024 21:36:47 +0000 (0:00:00.009) 0:00:03.215 ********* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003874", "end": "2024-03-12 21:36:47.616333", "rc": 0, "start": "2024-03-12 21:36:47.612459" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-nm_plugin_hotfixw2v6gqoo/tests/tasks/get_current_interfaces.yml:9 Tuesday 12 March 2024 21:36:47 +0000 (0:00:00.135) 0:00:03.350 ********* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-nm_plugin_hotfixw2v6gqoo/tests/tasks/show_interfaces.yml:5 Tuesday 12 March 2024 21:36:47 +0000 (0:00:00.016) 0:00:03.366 ********* ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo'] TASK [Include the task 'assert_device_absent.yml'] ***************************** task path: /WORKDIR/git-nm_plugin_hotfixw2v6gqoo/tests/tasks/create_and_remove_interface.yml:11 Tuesday 12 March 2024 21:36:47 +0000 (0:00:00.010) 0:00:03.377 ********* included: /WORKDIR/git-nm_plugin_hotfixw2v6gqoo/tests/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-nm_plugin_hotfixw2v6gqoo/tests/tasks/assert_device_absent.yml:3 Tuesday 12 March 2024 21:36:47 +0000 (0:00:00.014) 0:00:03.392 ********* included: /WORKDIR/git-nm_plugin_hotfixw2v6gqoo/tests/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth1298] ***************************************** task path: /WORKDIR/git-nm_plugin_hotfixw2v6gqoo/tests/tasks/get_interface_stat.yml:3 Tuesday 12 March 2024 21:36:47 +0000 (0:00:00.011) 0:00:03.403 ********* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'veth1298'] ************************ task path: /WORKDIR/git-nm_plugin_hotfixw2v6gqoo/tests/tasks/assert_device_absent.yml:5 Tuesday 12 March 2024 21:36:47 +0000 (0:00:00.132) 0:00:03.535 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-nm_plugin_hotfixw2v6gqoo/tests/tasks/create_and_remove_interface.yml:14 Tuesday 12 March 2024 21:36:47 +0000 (0:00:00.020) 0:00:03.556 ********* included: /WORKDIR/git-nm_plugin_hotfixw2v6gqoo/tests/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-nm_plugin_hotfixw2v6gqoo/tests/tasks/manage_test_interface.yml:3 Tuesday 12 March 2024 21:36:47 +0000 (0:00:00.017) 0:00:03.574 ********* 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-nm_plugin_hotfixw2v6gqoo/tests/tasks/manage_test_interface.yml:8 Tuesday 12 March 2024 21:36:47 +0000 (0:00:00.012) 0:00:03.586 ********* 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-nm_plugin_hotfixw2v6gqoo/tests/tasks/manage_test_interface.yml:13 Tuesday 12 March 2024 21:36:47 +0000 (0:00:00.025) 0:00:03.612 ********* included: /WORKDIR/git-nm_plugin_hotfixw2v6gqoo/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfixw2v6gqoo/tests/tasks/show_interfaces.yml:3 Tuesday 12 March 2024 21:36:47 +0000 (0:00:00.019) 0:00:03.631 ********* included: /WORKDIR/git-nm_plugin_hotfixw2v6gqoo/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-nm_plugin_hotfixw2v6gqoo/tests/tasks/get_current_interfaces.yml:3 Tuesday 12 March 2024 21:36:47 +0000 (0:00:00.011) 0:00:03.642 ********* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003913", "end": "2024-03-12 21:36:48.044979", "rc": 0, "start": "2024-03-12 21:36:48.041066" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-nm_plugin_hotfixw2v6gqoo/tests/tasks/get_current_interfaces.yml:9 Tuesday 12 March 2024 21:36:48 +0000 (0:00:00.138) 0:00:03.780 ********* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-nm_plugin_hotfixw2v6gqoo/tests/tasks/show_interfaces.yml:5 Tuesday 12 March 2024 21:36:48 +0000 (0:00:00.010) 0:00:03.790 ********* ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-nm_plugin_hotfixw2v6gqoo/tests/tasks/manage_test_interface.yml:16 Tuesday 12 March 2024 21:36:48 +0000 (0:00:00.010) 0:00:03.801 ********* ok: [sut] => { "attempts": 1, "changed": false, "rc": 0, "results": [ "iproute-4.11.0-30.el7.x86_64 providing iproute is already installed" ] } TASK [Create veth interface veth1298] ****************************************** task path: /WORKDIR/git-nm_plugin_hotfixw2v6gqoo/tests/tasks/manage_test_interface.yml:27 Tuesday 12 March 2024 21:36:48 +0000 (0:00:00.339) 0:00:04.141 ********* 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.009830", "end": "2024-03-12 21:36:48.549487", "item": "ip link add veth1298 type veth peer name peerveth1298", "rc": 0, "start": "2024-03-12 21:36:48.539657" } ok: [sut] => (item=ip link set peerveth1298 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peerveth1298", "up" ], "delta": "0:00:00.003878", "end": "2024-03-12 21:36:48.680960", "item": "ip link set peerveth1298 up", "rc": 0, "start": "2024-03-12 21:36:48.677082" } ok: [sut] => (item=ip link set veth1298 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "veth1298", "up" ], "delta": "0:00:00.003815", "end": "2024-03-12 21:36:48.802127", "item": "ip link set veth1298 up", "rc": 0, "start": "2024-03-12 21:36:48.798312" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-nm_plugin_hotfixw2v6gqoo/tests/tasks/manage_test_interface.yml:35 Tuesday 12 March 2024 21:36:48 +0000 (0:00:00.392) 0:00:04.533 ********* ok: [sut] => { "changed": false, "cmd": [ "nmcli", "d", "set", "veth1298", "managed", "true" ], "delta": "0:00:00.042169", "end": "2024-03-12 21:36:48.983316", "rc": 0, "start": "2024-03-12 21:36:48.941147" } TASK [Delete veth interface veth1298] ****************************************** task path: /WORKDIR/git-nm_plugin_hotfixw2v6gqoo/tests/tasks/manage_test_interface.yml:43 Tuesday 12 March 2024 21:36:49 +0000 (0:00:00.191) 0:00:04.725 ********* 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-nm_plugin_hotfixw2v6gqoo/tests/tasks/manage_test_interface.yml:49 Tuesday 12 March 2024 21:36:49 +0000 (0:00:00.010) 0:00:04.735 ********* 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-nm_plugin_hotfixw2v6gqoo/tests/tasks/manage_test_interface.yml:54 Tuesday 12 March 2024 21:36:49 +0000 (0:00:00.008) 0:00:04.744 ********* 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-nm_plugin_hotfixw2v6gqoo/tests/tasks/manage_test_interface.yml:60 Tuesday 12 March 2024 21:36:49 +0000 (0:00:00.008) 0:00:04.752 ********* 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-nm_plugin_hotfixw2v6gqoo/tests/tasks/manage_test_interface.yml:65 Tuesday 12 March 2024 21:36:49 +0000 (0:00:00.009) 0:00:04.762 ********* 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-nm_plugin_hotfixw2v6gqoo/tests/tasks/create_and_remove_interface.yml:18 Tuesday 12 March 2024 21:36:49 +0000 (0:00:00.007) 0:00:04.769 ********* included: /WORKDIR/git-nm_plugin_hotfixw2v6gqoo/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfixw2v6gqoo/tests/tasks/show_interfaces.yml:3 Tuesday 12 March 2024 21:36:49 +0000 (0:00:00.016) 0:00:04.785 ********* included: /WORKDIR/git-nm_plugin_hotfixw2v6gqoo/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-nm_plugin_hotfixw2v6gqoo/tests/tasks/get_current_interfaces.yml:3 Tuesday 12 March 2024 21:36:49 +0000 (0:00:00.019) 0:00:04.805 ********* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003867", "end": "2024-03-12 21:36:49.214722", "rc": 0, "start": "2024-03-12 21:36:49.210855" } STDOUT: bond0 bonding_masters eth0 lo peerveth1298 veth1298 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-nm_plugin_hotfixw2v6gqoo/tests/tasks/get_current_interfaces.yml:9 Tuesday 12 March 2024 21:36:49 +0000 (0:00:00.147) 0:00:04.952 ********* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo", "peerveth1298", "veth1298" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-nm_plugin_hotfixw2v6gqoo/tests/tasks/show_interfaces.yml:5 Tuesday 12 March 2024 21:36:49 +0000 (0:00:00.013) 0:00:04.966 ********* ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo', 'peerveth1298', 'veth1298'] TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-nm_plugin_hotfixw2v6gqoo/tests/tasks/create_and_remove_interface.yml:20 Tuesday 12 March 2024 21:36:49 +0000 (0:00:00.010) 0:00:04.976 ********* included: /WORKDIR/git-nm_plugin_hotfixw2v6gqoo/tests/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-nm_plugin_hotfixw2v6gqoo/tests/tasks/assert_device_present.yml:3 Tuesday 12 March 2024 21:36:49 +0000 (0:00:00.028) 0:00:05.005 ********* included: /WORKDIR/git-nm_plugin_hotfixw2v6gqoo/tests/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth1298] ***************************************** task path: /WORKDIR/git-nm_plugin_hotfixw2v6gqoo/tests/tasks/get_interface_stat.yml:3 Tuesday 12 March 2024 21:36:49 +0000 (0:00:00.013) 0:00:05.018 ********* ok: [sut] => { "changed": false, "stat": { "atime": 1710279408.5539114, "block_size": 4096, "blocks": 0, "ctime": 1710279408.5539114, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17721, "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": 1710279408.5539114, "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-nm_plugin_hotfixw2v6gqoo/tests/tasks/assert_device_present.yml:5 Tuesday 12 March 2024 21:36:49 +0000 (0:00:00.133) 0:00:05.152 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-nm_plugin_hotfixw2v6gqoo/tests/tasks/create_and_remove_interface.yml:23 Tuesday 12 March 2024 21:36:49 +0000 (0:00:00.011) 0:00:05.163 ********* included: /WORKDIR/git-nm_plugin_hotfixw2v6gqoo/tests/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-nm_plugin_hotfixw2v6gqoo/tests/tasks/manage_test_interface.yml:3 Tuesday 12 March 2024 21:36:49 +0000 (0:00:00.019) 0:00:05.183 ********* 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-nm_plugin_hotfixw2v6gqoo/tests/tasks/manage_test_interface.yml:8 Tuesday 12 March 2024 21:36:49 +0000 (0:00:00.008) 0:00:05.192 ********* 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-nm_plugin_hotfixw2v6gqoo/tests/tasks/manage_test_interface.yml:13 Tuesday 12 March 2024 21:36:49 +0000 (0:00:00.009) 0:00:05.202 ********* included: /WORKDIR/git-nm_plugin_hotfixw2v6gqoo/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfixw2v6gqoo/tests/tasks/show_interfaces.yml:3 Tuesday 12 March 2024 21:36:49 +0000 (0:00:00.011) 0:00:05.213 ********* included: /WORKDIR/git-nm_plugin_hotfixw2v6gqoo/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-nm_plugin_hotfixw2v6gqoo/tests/tasks/get_current_interfaces.yml:3 Tuesday 12 March 2024 21:36:49 +0000 (0:00:00.033) 0:00:05.247 ********* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003380", "end": "2024-03-12 21:36:49.641090", "rc": 0, "start": "2024-03-12 21:36:49.637710" } STDOUT: bond0 bonding_masters eth0 lo peerveth1298 veth1298 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-nm_plugin_hotfixw2v6gqoo/tests/tasks/get_current_interfaces.yml:9 Tuesday 12 March 2024 21:36:49 +0000 (0:00:00.124) 0:00:05.371 ********* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo", "peerveth1298", "veth1298" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-nm_plugin_hotfixw2v6gqoo/tests/tasks/show_interfaces.yml:5 Tuesday 12 March 2024 21:36:49 +0000 (0:00:00.011) 0:00:05.383 ********* ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo', 'peerveth1298', 'veth1298'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-nm_plugin_hotfixw2v6gqoo/tests/tasks/manage_test_interface.yml:16 Tuesday 12 March 2024 21:36:49 +0000 (0:00:00.010) 0:00:05.393 ********* ok: [sut] => { "attempts": 1, "changed": false, "rc": 0, "results": [ "iproute-4.11.0-30.el7.x86_64 providing iproute is already installed" ] } TASK [Create veth interface veth1298] ****************************************** task path: /WORKDIR/git-nm_plugin_hotfixw2v6gqoo/tests/tasks/manage_test_interface.yml:27 Tuesday 12 March 2024 21:36:49 +0000 (0:00:00.298) 0:00:05.692 ********* skipping: [sut] => (item=ip link add veth1298 type veth peer name peerveth1298) => { "ansible_loop_var": "item", "changed": false, "false_condition": "type == 'veth' and state == 'present' and interface not in current_interfaces", "item": "ip link add veth1298 type veth peer name peerveth1298", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=ip link set peerveth1298 up) => { "ansible_loop_var": "item", "changed": false, "false_condition": "type == 'veth' and state == 'present' and interface not in current_interfaces", "item": "ip link set peerveth1298 up", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=ip link set veth1298 up) => { "ansible_loop_var": "item", "changed": false, "false_condition": "type == 'veth' and state == 'present' and interface not in current_interfaces", "item": "ip link set veth1298 up", "skip_reason": "Conditional result was False" } skipping: [sut] => { "changed": false } MSG: All items skipped TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-nm_plugin_hotfixw2v6gqoo/tests/tasks/manage_test_interface.yml:35 Tuesday 12 March 2024 21:36:49 +0000 (0:00:00.015) 0:00:05.707 ********* 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-nm_plugin_hotfixw2v6gqoo/tests/tasks/manage_test_interface.yml:43 Tuesday 12 March 2024 21:36:50 +0000 (0:00:00.015) 0:00:05.723 ********* ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "veth1298", "type", "veth" ], "delta": "0:00:00.010872", "end": "2024-03-12 21:36:50.125085", "rc": 0, "start": "2024-03-12 21:36:50.114213" } TASK [Create dummy interface veth1298] ***************************************** task path: /WORKDIR/git-nm_plugin_hotfixw2v6gqoo/tests/tasks/manage_test_interface.yml:49 Tuesday 12 March 2024 21:36:50 +0000 (0:00:00.143) 0:00:05.866 ********* 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-nm_plugin_hotfixw2v6gqoo/tests/tasks/manage_test_interface.yml:54 Tuesday 12 March 2024 21:36:50 +0000 (0:00:00.013) 0:00:05.880 ********* 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-nm_plugin_hotfixw2v6gqoo/tests/tasks/manage_test_interface.yml:60 Tuesday 12 March 2024 21:36:50 +0000 (0:00:00.011) 0:00:05.891 ********* 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-nm_plugin_hotfixw2v6gqoo/tests/tasks/manage_test_interface.yml:65 Tuesday 12 March 2024 21:36:50 +0000 (0:00:00.013) 0:00:05.904 ********* 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-nm_plugin_hotfixw2v6gqoo/tests/tasks/create_and_remove_interface.yml:27 Tuesday 12 March 2024 21:36:50 +0000 (0:00:00.010) 0:00:05.914 ********* included: /WORKDIR/git-nm_plugin_hotfixw2v6gqoo/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfixw2v6gqoo/tests/tasks/show_interfaces.yml:3 Tuesday 12 March 2024 21:36:50 +0000 (0:00:00.021) 0:00:05.936 ********* included: /WORKDIR/git-nm_plugin_hotfixw2v6gqoo/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-nm_plugin_hotfixw2v6gqoo/tests/tasks/get_current_interfaces.yml:3 Tuesday 12 March 2024 21:36:50 +0000 (0:00:00.010) 0:00:05.946 ********* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003471", "end": "2024-03-12 21:36:50.338933", "rc": 0, "start": "2024-03-12 21:36:50.335462" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-nm_plugin_hotfixw2v6gqoo/tests/tasks/get_current_interfaces.yml:9 Tuesday 12 March 2024 21:36:50 +0000 (0:00:00.123) 0:00:06.070 ********* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-nm_plugin_hotfixw2v6gqoo/tests/tasks/show_interfaces.yml:5 Tuesday 12 March 2024 21:36:50 +0000 (0:00:00.014) 0:00:06.084 ********* ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo'] TASK [Include the task 'assert_device_absent.yml'] ***************************** task path: /WORKDIR/git-nm_plugin_hotfixw2v6gqoo/tests/tasks/create_and_remove_interface.yml:29 Tuesday 12 March 2024 21:36:50 +0000 (0:00:00.021) 0:00:06.105 ********* included: /WORKDIR/git-nm_plugin_hotfixw2v6gqoo/tests/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-nm_plugin_hotfixw2v6gqoo/tests/tasks/assert_device_absent.yml:3 Tuesday 12 March 2024 21:36:50 +0000 (0:00:00.022) 0:00:06.128 ********* included: /WORKDIR/git-nm_plugin_hotfixw2v6gqoo/tests/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth1298] ***************************************** task path: /WORKDIR/git-nm_plugin_hotfixw2v6gqoo/tests/tasks/get_interface_stat.yml:3 Tuesday 12 March 2024 21:36:50 +0000 (0:00:00.012) 0:00:06.140 ********* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'veth1298'] ************************ task path: /WORKDIR/git-nm_plugin_hotfixw2v6gqoo/tests/tasks/assert_device_absent.yml:5 Tuesday 12 March 2024 21:36:50 +0000 (0:00:00.120) 0:00:06.261 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test veth interface management] ****************************************** task path: /WORKDIR/git-nm_plugin_hotfixw2v6gqoo/tests/tests_helpers_and_asserts.yml:15 Tuesday 12 March 2024 21:36:50 +0000 (0:00:00.012) 0:00:06.274 ********* included: /WORKDIR/git-nm_plugin_hotfixw2v6gqoo/tests/tasks/create_and_remove_interface.yml for sut TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-nm_plugin_hotfixw2v6gqoo/tests/tasks/create_and_remove_interface.yml:3 Tuesday 12 March 2024 21:36:50 +0000 (0:00:00.015) 0:00:06.290 ********* included: /WORKDIR/git-nm_plugin_hotfixw2v6gqoo/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfixw2v6gqoo/tests/tasks/show_interfaces.yml:3 Tuesday 12 March 2024 21:36:50 +0000 (0:00:00.012) 0:00:06.302 ********* included: /WORKDIR/git-nm_plugin_hotfixw2v6gqoo/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-nm_plugin_hotfixw2v6gqoo/tests/tasks/get_current_interfaces.yml:3 Tuesday 12 March 2024 21:36:50 +0000 (0:00:00.016) 0:00:06.318 ********* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003415", "end": "2024-03-12 21:36:50.711371", "rc": 0, "start": "2024-03-12 21:36:50.707956" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-nm_plugin_hotfixw2v6gqoo/tests/tasks/get_current_interfaces.yml:9 Tuesday 12 March 2024 21:36:50 +0000 (0:00:00.122) 0:00:06.441 ********* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-nm_plugin_hotfixw2v6gqoo/tests/tasks/show_interfaces.yml:5 Tuesday 12 March 2024 21:36:50 +0000 (0:00:00.019) 0:00:06.461 ********* ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo'] TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-nm_plugin_hotfixw2v6gqoo/tests/tasks/create_and_remove_interface.yml:5 Tuesday 12 March 2024 21:36:50 +0000 (0:00:00.011) 0:00:06.472 ********* included: /WORKDIR/git-nm_plugin_hotfixw2v6gqoo/tests/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-nm_plugin_hotfixw2v6gqoo/tests/tasks/manage_test_interface.yml:3 Tuesday 12 March 2024 21:36:50 +0000 (0:00:00.013) 0:00:06.485 ********* 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-nm_plugin_hotfixw2v6gqoo/tests/tasks/manage_test_interface.yml:8 Tuesday 12 March 2024 21:36:50 +0000 (0:00:00.008) 0:00:06.493 ********* 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-nm_plugin_hotfixw2v6gqoo/tests/tasks/manage_test_interface.yml:13 Tuesday 12 March 2024 21:36:50 +0000 (0:00:00.009) 0:00:06.503 ********* included: /WORKDIR/git-nm_plugin_hotfixw2v6gqoo/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfixw2v6gqoo/tests/tasks/show_interfaces.yml:3 Tuesday 12 March 2024 21:36:50 +0000 (0:00:00.020) 0:00:06.523 ********* included: /WORKDIR/git-nm_plugin_hotfixw2v6gqoo/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-nm_plugin_hotfixw2v6gqoo/tests/tasks/get_current_interfaces.yml:3 Tuesday 12 March 2024 21:36:50 +0000 (0:00:00.016) 0:00:06.540 ********* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003414", "end": "2024-03-12 21:36:50.937974", "rc": 0, "start": "2024-03-12 21:36:50.934560" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-nm_plugin_hotfixw2v6gqoo/tests/tasks/get_current_interfaces.yml:9 Tuesday 12 March 2024 21:36:50 +0000 (0:00:00.126) 0:00:06.666 ********* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-nm_plugin_hotfixw2v6gqoo/tests/tasks/show_interfaces.yml:5 Tuesday 12 March 2024 21:36:50 +0000 (0:00:00.011) 0:00:06.677 ********* ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-nm_plugin_hotfixw2v6gqoo/tests/tasks/manage_test_interface.yml:16 Tuesday 12 March 2024 21:36:50 +0000 (0:00:00.009) 0:00:06.687 ********* ok: [sut] => { "attempts": 1, "changed": false, "rc": 0, "results": [ "iproute-4.11.0-30.el7.x86_64 providing iproute is already installed" ] } TASK [Create veth interface dummy1298] ***************************************** task path: /WORKDIR/git-nm_plugin_hotfixw2v6gqoo/tests/tasks/manage_test_interface.yml:27 Tuesday 12 March 2024 21:36:51 +0000 (0:00:00.296) 0:00:06.983 ********* 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-nm_plugin_hotfixw2v6gqoo/tests/tasks/manage_test_interface.yml:35 Tuesday 12 March 2024 21:36:51 +0000 (0:00:00.014) 0:00:06.998 ********* 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-nm_plugin_hotfixw2v6gqoo/tests/tasks/manage_test_interface.yml:43 Tuesday 12 March 2024 21:36:51 +0000 (0:00:00.009) 0:00:07.007 ********* 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-nm_plugin_hotfixw2v6gqoo/tests/tasks/manage_test_interface.yml:49 Tuesday 12 March 2024 21:36:51 +0000 (0:00:00.008) 0:00:07.015 ********* 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-nm_plugin_hotfixw2v6gqoo/tests/tasks/manage_test_interface.yml:54 Tuesday 12 March 2024 21:36:51 +0000 (0:00:00.009) 0:00:07.024 ********* 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-nm_plugin_hotfixw2v6gqoo/tests/tasks/manage_test_interface.yml:60 Tuesday 12 March 2024 21:36:51 +0000 (0:00:00.008) 0:00:07.033 ********* 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-nm_plugin_hotfixw2v6gqoo/tests/tasks/manage_test_interface.yml:65 Tuesday 12 March 2024 21:36:51 +0000 (0:00:00.009) 0:00:07.042 ********* 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-nm_plugin_hotfixw2v6gqoo/tests/tasks/create_and_remove_interface.yml:9 Tuesday 12 March 2024 21:36:51 +0000 (0:00:00.008) 0:00:07.051 ********* included: /WORKDIR/git-nm_plugin_hotfixw2v6gqoo/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfixw2v6gqoo/tests/tasks/show_interfaces.yml:3 Tuesday 12 March 2024 21:36:51 +0000 (0:00:00.014) 0:00:07.065 ********* included: /WORKDIR/git-nm_plugin_hotfixw2v6gqoo/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-nm_plugin_hotfixw2v6gqoo/tests/tasks/get_current_interfaces.yml:3 Tuesday 12 March 2024 21:36:51 +0000 (0:00:00.019) 0:00:07.084 ********* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003475", "end": "2024-03-12 21:36:51.477453", "rc": 0, "start": "2024-03-12 21:36:51.473978" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-nm_plugin_hotfixw2v6gqoo/tests/tasks/get_current_interfaces.yml:9 Tuesday 12 March 2024 21:36:51 +0000 (0:00:00.127) 0:00:07.211 ********* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-nm_plugin_hotfixw2v6gqoo/tests/tasks/show_interfaces.yml:5 Tuesday 12 March 2024 21:36:51 +0000 (0:00:00.014) 0:00:07.226 ********* ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo'] TASK [Include the task 'assert_device_absent.yml'] ***************************** task path: /WORKDIR/git-nm_plugin_hotfixw2v6gqoo/tests/tasks/create_and_remove_interface.yml:11 Tuesday 12 March 2024 21:36:51 +0000 (0:00:00.010) 0:00:07.236 ********* included: /WORKDIR/git-nm_plugin_hotfixw2v6gqoo/tests/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-nm_plugin_hotfixw2v6gqoo/tests/tasks/assert_device_absent.yml:3 Tuesday 12 March 2024 21:36:51 +0000 (0:00:00.019) 0:00:07.256 ********* included: /WORKDIR/git-nm_plugin_hotfixw2v6gqoo/tests/tasks/get_interface_stat.yml for sut TASK [Get stat for interface dummy1298] **************************************** task path: /WORKDIR/git-nm_plugin_hotfixw2v6gqoo/tests/tasks/get_interface_stat.yml:3 Tuesday 12 March 2024 21:36:51 +0000 (0:00:00.013) 0:00:07.269 ********* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'dummy1298'] *********************** task path: /WORKDIR/git-nm_plugin_hotfixw2v6gqoo/tests/tasks/assert_device_absent.yml:5 Tuesday 12 March 2024 21:36:51 +0000 (0:00:00.119) 0:00:07.389 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-nm_plugin_hotfixw2v6gqoo/tests/tasks/create_and_remove_interface.yml:14 Tuesday 12 March 2024 21:36:51 +0000 (0:00:00.012) 0:00:07.402 ********* included: /WORKDIR/git-nm_plugin_hotfixw2v6gqoo/tests/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-nm_plugin_hotfixw2v6gqoo/tests/tasks/manage_test_interface.yml:3 Tuesday 12 March 2024 21:36:51 +0000 (0:00:00.018) 0:00:07.421 ********* 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-nm_plugin_hotfixw2v6gqoo/tests/tasks/manage_test_interface.yml:8 Tuesday 12 March 2024 21:36:51 +0000 (0:00:00.010) 0:00:07.431 ********* 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-nm_plugin_hotfixw2v6gqoo/tests/tasks/manage_test_interface.yml:13 Tuesday 12 March 2024 21:36:51 +0000 (0:00:00.008) 0:00:07.440 ********* included: /WORKDIR/git-nm_plugin_hotfixw2v6gqoo/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfixw2v6gqoo/tests/tasks/show_interfaces.yml:3 Tuesday 12 March 2024 21:36:51 +0000 (0:00:00.014) 0:00:07.455 ********* included: /WORKDIR/git-nm_plugin_hotfixw2v6gqoo/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-nm_plugin_hotfixw2v6gqoo/tests/tasks/get_current_interfaces.yml:3 Tuesday 12 March 2024 21:36:51 +0000 (0:00:00.010) 0:00:07.465 ********* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003479", "end": "2024-03-12 21:36:51.858282", "rc": 0, "start": "2024-03-12 21:36:51.854803" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-nm_plugin_hotfixw2v6gqoo/tests/tasks/get_current_interfaces.yml:9 Tuesday 12 March 2024 21:36:51 +0000 (0:00:00.126) 0:00:07.591 ********* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-nm_plugin_hotfixw2v6gqoo/tests/tasks/show_interfaces.yml:5 Tuesday 12 March 2024 21:36:51 +0000 (0:00:00.012) 0:00:07.604 ********* ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-nm_plugin_hotfixw2v6gqoo/tests/tasks/manage_test_interface.yml:16 Tuesday 12 March 2024 21:36:51 +0000 (0:00:00.012) 0:00:07.616 ********* ok: [sut] => { "attempts": 1, "changed": false, "rc": 0, "results": [ "iproute-4.11.0-30.el7.x86_64 providing iproute is already installed" ] } TASK [Create veth interface dummy1298] ***************************************** task path: /WORKDIR/git-nm_plugin_hotfixw2v6gqoo/tests/tasks/manage_test_interface.yml:27 Tuesday 12 March 2024 21:36:52 +0000 (0:00:00.305) 0:00:07.922 ********* 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-nm_plugin_hotfixw2v6gqoo/tests/tasks/manage_test_interface.yml:35 Tuesday 12 March 2024 21:36:52 +0000 (0:00:00.044) 0:00:07.966 ********* 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-nm_plugin_hotfixw2v6gqoo/tests/tasks/manage_test_interface.yml:43 Tuesday 12 March 2024 21:36:52 +0000 (0:00:00.013) 0:00:07.980 ********* 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-nm_plugin_hotfixw2v6gqoo/tests/tasks/manage_test_interface.yml:49 Tuesday 12 March 2024 21:36:52 +0000 (0:00:00.009) 0:00:07.989 ********* ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "add", "dummy1298", "type", "dummy" ], "delta": "0:00:00.009338", "end": "2024-03-12 21:36:52.391421", "rc": 0, "start": "2024-03-12 21:36:52.382083" } TASK [Delete dummy interface dummy1298] **************************************** task path: /WORKDIR/git-nm_plugin_hotfixw2v6gqoo/tests/tasks/manage_test_interface.yml:54 Tuesday 12 March 2024 21:36:52 +0000 (0:00:00.134) 0:00:08.124 ********* 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-nm_plugin_hotfixw2v6gqoo/tests/tasks/manage_test_interface.yml:60 Tuesday 12 March 2024 21:36:52 +0000 (0:00:00.009) 0:00:08.133 ********* 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-nm_plugin_hotfixw2v6gqoo/tests/tasks/manage_test_interface.yml:65 Tuesday 12 March 2024 21:36:52 +0000 (0:00:00.009) 0:00:08.143 ********* 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-nm_plugin_hotfixw2v6gqoo/tests/tasks/create_and_remove_interface.yml:18 Tuesday 12 March 2024 21:36:52 +0000 (0:00:00.007) 0:00:08.150 ********* included: /WORKDIR/git-nm_plugin_hotfixw2v6gqoo/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfixw2v6gqoo/tests/tasks/show_interfaces.yml:3 Tuesday 12 March 2024 21:36:52 +0000 (0:00:00.015) 0:00:08.166 ********* included: /WORKDIR/git-nm_plugin_hotfixw2v6gqoo/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-nm_plugin_hotfixw2v6gqoo/tests/tasks/get_current_interfaces.yml:3 Tuesday 12 March 2024 21:36:52 +0000 (0:00:00.009) 0:00:08.175 ********* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003472", "end": "2024-03-12 21:36:52.566718", "rc": 0, "start": "2024-03-12 21:36:52.563246" } STDOUT: bond0 bonding_masters dummy0 dummy1298 eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-nm_plugin_hotfixw2v6gqoo/tests/tasks/get_current_interfaces.yml:9 Tuesday 12 March 2024 21:36:52 +0000 (0:00:00.120) 0:00:08.296 ********* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "dummy0", "dummy1298", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-nm_plugin_hotfixw2v6gqoo/tests/tasks/show_interfaces.yml:5 Tuesday 12 March 2024 21:36:52 +0000 (0:00:00.009) 0:00:08.305 ********* ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'dummy0', 'dummy1298', 'eth0', 'lo'] TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-nm_plugin_hotfixw2v6gqoo/tests/tasks/create_and_remove_interface.yml:20 Tuesday 12 March 2024 21:36:52 +0000 (0:00:00.019) 0:00:08.325 ********* included: /WORKDIR/git-nm_plugin_hotfixw2v6gqoo/tests/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-nm_plugin_hotfixw2v6gqoo/tests/tasks/assert_device_present.yml:3 Tuesday 12 March 2024 21:36:52 +0000 (0:00:00.016) 0:00:08.341 ********* included: /WORKDIR/git-nm_plugin_hotfixw2v6gqoo/tests/tasks/get_interface_stat.yml for sut TASK [Get stat for interface dummy1298] **************************************** task path: /WORKDIR/git-nm_plugin_hotfixw2v6gqoo/tests/tasks/get_interface_stat.yml:3 Tuesday 12 March 2024 21:36:52 +0000 (0:00:00.012) 0:00:08.354 ********* ok: [sut] => { "changed": false, "stat": { "atime": 1710279412.3919017, "block_size": 4096, "blocks": 0, "ctime": 1710279412.3919017, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17750, "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": 1710279412.3919017, "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-nm_plugin_hotfixw2v6gqoo/tests/tasks/assert_device_present.yml:5 Tuesday 12 March 2024 21:36:52 +0000 (0:00:00.117) 0:00:08.472 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-nm_plugin_hotfixw2v6gqoo/tests/tasks/create_and_remove_interface.yml:23 Tuesday 12 March 2024 21:36:52 +0000 (0:00:00.013) 0:00:08.486 ********* included: /WORKDIR/git-nm_plugin_hotfixw2v6gqoo/tests/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-nm_plugin_hotfixw2v6gqoo/tests/tasks/manage_test_interface.yml:3 Tuesday 12 March 2024 21:36:52 +0000 (0:00:00.032) 0:00:08.518 ********* 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-nm_plugin_hotfixw2v6gqoo/tests/tasks/manage_test_interface.yml:8 Tuesday 12 March 2024 21:36:52 +0000 (0:00:00.009) 0:00:08.528 ********* 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-nm_plugin_hotfixw2v6gqoo/tests/tasks/manage_test_interface.yml:13 Tuesday 12 March 2024 21:36:52 +0000 (0:00:00.012) 0:00:08.541 ********* included: /WORKDIR/git-nm_plugin_hotfixw2v6gqoo/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfixw2v6gqoo/tests/tasks/show_interfaces.yml:3 Tuesday 12 March 2024 21:36:52 +0000 (0:00:00.013) 0:00:08.554 ********* included: /WORKDIR/git-nm_plugin_hotfixw2v6gqoo/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-nm_plugin_hotfixw2v6gqoo/tests/tasks/get_current_interfaces.yml:3 Tuesday 12 March 2024 21:36:52 +0000 (0:00:00.010) 0:00:08.564 ********* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003438", "end": "2024-03-12 21:36:52.958709", "rc": 0, "start": "2024-03-12 21:36:52.955271" } STDOUT: bond0 bonding_masters dummy0 dummy1298 eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-nm_plugin_hotfixw2v6gqoo/tests/tasks/get_current_interfaces.yml:9 Tuesday 12 March 2024 21:36:52 +0000 (0:00:00.122) 0:00:08.687 ********* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "dummy0", "dummy1298", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-nm_plugin_hotfixw2v6gqoo/tests/tasks/show_interfaces.yml:5 Tuesday 12 March 2024 21:36:52 +0000 (0:00:00.011) 0:00:08.698 ********* ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'dummy0', 'dummy1298', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-nm_plugin_hotfixw2v6gqoo/tests/tasks/manage_test_interface.yml:16 Tuesday 12 March 2024 21:36:52 +0000 (0:00:00.011) 0:00:08.709 ********* ok: [sut] => { "attempts": 1, "changed": false, "rc": 0, "results": [ "iproute-4.11.0-30.el7.x86_64 providing iproute is already installed" ] } TASK [Create veth interface dummy1298] ***************************************** task path: /WORKDIR/git-nm_plugin_hotfixw2v6gqoo/tests/tasks/manage_test_interface.yml:27 Tuesday 12 March 2024 21:36:53 +0000 (0:00:00.302) 0:00:09.012 ********* 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-nm_plugin_hotfixw2v6gqoo/tests/tasks/manage_test_interface.yml:35 Tuesday 12 March 2024 21:36:53 +0000 (0:00:00.017) 0:00:09.029 ********* 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-nm_plugin_hotfixw2v6gqoo/tests/tasks/manage_test_interface.yml:43 Tuesday 12 March 2024 21:36:53 +0000 (0:00:00.009) 0:00:09.038 ********* 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-nm_plugin_hotfixw2v6gqoo/tests/tasks/manage_test_interface.yml:49 Tuesday 12 March 2024 21:36:53 +0000 (0:00:00.010) 0:00:09.048 ********* 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-nm_plugin_hotfixw2v6gqoo/tests/tasks/manage_test_interface.yml:54 Tuesday 12 March 2024 21:36:53 +0000 (0:00:00.009) 0:00:09.057 ********* ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "dummy1298", "type", "dummy" ], "delta": "0:00:00.011373", "end": "2024-03-12 21:36:53.461083", "rc": 0, "start": "2024-03-12 21:36:53.449710" } TASK [Create tap interface dummy1298] ****************************************** task path: /WORKDIR/git-nm_plugin_hotfixw2v6gqoo/tests/tasks/manage_test_interface.yml:60 Tuesday 12 March 2024 21:36:53 +0000 (0:00:00.147) 0:00:09.205 ********* 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-nm_plugin_hotfixw2v6gqoo/tests/tasks/manage_test_interface.yml:65 Tuesday 12 March 2024 21:36:53 +0000 (0:00:00.011) 0:00:09.217 ********* 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-nm_plugin_hotfixw2v6gqoo/tests/tasks/create_and_remove_interface.yml:27 Tuesday 12 March 2024 21:36:53 +0000 (0:00:00.013) 0:00:09.230 ********* included: /WORKDIR/git-nm_plugin_hotfixw2v6gqoo/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfixw2v6gqoo/tests/tasks/show_interfaces.yml:3 Tuesday 12 March 2024 21:36:53 +0000 (0:00:00.031) 0:00:09.261 ********* included: /WORKDIR/git-nm_plugin_hotfixw2v6gqoo/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-nm_plugin_hotfixw2v6gqoo/tests/tasks/get_current_interfaces.yml:3 Tuesday 12 March 2024 21:36:53 +0000 (0:00:00.010) 0:00:09.272 ********* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003500", "end": "2024-03-12 21:36:53.663884", "rc": 0, "start": "2024-03-12 21:36:53.660384" } STDOUT: bond0 bonding_masters dummy0 eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-nm_plugin_hotfixw2v6gqoo/tests/tasks/get_current_interfaces.yml:9 Tuesday 12 March 2024 21:36:53 +0000 (0:00:00.122) 0:00:09.395 ********* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "dummy0", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-nm_plugin_hotfixw2v6gqoo/tests/tasks/show_interfaces.yml:5 Tuesday 12 March 2024 21:36:53 +0000 (0:00:00.010) 0:00:09.405 ********* ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'dummy0', 'eth0', 'lo'] TASK [Include the task 'assert_device_absent.yml'] ***************************** task path: /WORKDIR/git-nm_plugin_hotfixw2v6gqoo/tests/tasks/create_and_remove_interface.yml:29 Tuesday 12 March 2024 21:36:53 +0000 (0:00:00.011) 0:00:09.416 ********* included: /WORKDIR/git-nm_plugin_hotfixw2v6gqoo/tests/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-nm_plugin_hotfixw2v6gqoo/tests/tasks/assert_device_absent.yml:3 Tuesday 12 March 2024 21:36:53 +0000 (0:00:00.024) 0:00:09.441 ********* included: /WORKDIR/git-nm_plugin_hotfixw2v6gqoo/tests/tasks/get_interface_stat.yml for sut TASK [Get stat for interface dummy1298] **************************************** task path: /WORKDIR/git-nm_plugin_hotfixw2v6gqoo/tests/tasks/get_interface_stat.yml:3 Tuesday 12 March 2024 21:36:53 +0000 (0:00:00.013) 0:00:09.454 ********* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'dummy1298'] *********************** task path: /WORKDIR/git-nm_plugin_hotfixw2v6gqoo/tests/tasks/assert_device_absent.yml:5 Tuesday 12 March 2024 21:36:53 +0000 (0:00:00.131) 0:00:09.585 ********* ok: [sut] => { "changed": false } MSG: All assertions passed PLAY RECAP ********************************************************************* sut : ok=122 changed=0 unreachable=0 failed=0 skipped=52 rescued=0 ignored=0 Tuesday 12 March 2024 21:36:53 +0000 (0:00:00.031) 0:00:09.617 ********* =============================================================================== Gathering Facts --------------------------------------------------------- 0.89s /WORKDIR/git-nm_plugin_hotfixw2v6gqoo/tests/tests_helpers_and_asserts.yml:3 --- Install yum-utils package ----------------------------------------------- 0.43s /WORKDIR/git-nm_plugin_hotfixw2v6gqoo/tests/tasks/enable_epel.yml:24 ---------- Create veth interface veth1298 ------------------------------------------ 0.39s /WORKDIR/git-nm_plugin_hotfixw2v6gqoo/tests/tasks/manage_test_interface.yml:27 Install iproute --------------------------------------------------------- 0.34s /WORKDIR/git-nm_plugin_hotfixw2v6gqoo/tests/tasks/manage_test_interface.yml:16 Enable EPEL 7 ----------------------------------------------------------- 0.33s /WORKDIR/git-nm_plugin_hotfixw2v6gqoo/tests/tasks/enable_epel.yml:30 ---------- Install iproute --------------------------------------------------------- 0.32s /WORKDIR/git-nm_plugin_hotfixw2v6gqoo/tests/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 0.31s /WORKDIR/git-nm_plugin_hotfixw2v6gqoo/tests/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 0.30s /WORKDIR/git-nm_plugin_hotfixw2v6gqoo/tests/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 0.30s /WORKDIR/git-nm_plugin_hotfixw2v6gqoo/tests/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 0.30s /WORKDIR/git-nm_plugin_hotfixw2v6gqoo/tests/tasks/manage_test_interface.yml:16 Gather the minimum subset of ansible_facts required by the network role test --- 0.24s /WORKDIR/git-nm_plugin_hotfixw2v6gqoo/tests/tasks/el_repo_setup.yml:3 --------- Set up veth as managed by NetworkManager -------------------------------- 0.19s /WORKDIR/git-nm_plugin_hotfixw2v6gqoo/tests/tasks/manage_test_interface.yml:35 Create EPEL 7 ----------------------------------------------------------- 0.19s /WORKDIR/git-nm_plugin_hotfixw2v6gqoo/tests/tasks/enable_epel.yml:8 ----------- Check if system is ostree ----------------------------------------------- 0.19s /WORKDIR/git-nm_plugin_hotfixw2v6gqoo/tests/tasks/el_repo_setup.yml:17 -------- Gather current interface info ------------------------------------------- 0.15s /WORKDIR/git-nm_plugin_hotfixw2v6gqoo/tests/tasks/get_current_interfaces.yml:3 Delete dummy interface dummy1298 ---------------------------------------- 0.15s /WORKDIR/git-nm_plugin_hotfixw2v6gqoo/tests/tasks/manage_test_interface.yml:54 Delete veth interface veth1298 ------------------------------------------ 0.14s /WORKDIR/git-nm_plugin_hotfixw2v6gqoo/tests/tasks/manage_test_interface.yml:43 Gather current interface info ------------------------------------------- 0.14s /WORKDIR/git-nm_plugin_hotfixw2v6gqoo/tests/tasks/get_current_interfaces.yml:3 Gather current interface info ------------------------------------------- 0.14s /WORKDIR/git-nm_plugin_hotfixw2v6gqoo/tests/tasks/get_current_interfaces.yml:3 Create dummy interface dummy1298 ---------------------------------------- 0.13s /WORKDIR/git-nm_plugin_hotfixw2v6gqoo/tests/tasks/manage_test_interface.yml:49 ---^---^---^---^---^--- # 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. ---^---^---^---^---^---