ansible-playbook [core 2.12.6] config file = /etc/ansible/ansible.cfg configured module search path = ['/root/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /usr/lib/python3.9/site-packages/ansible ansible collection location = /tmp/tmp0fvd1p7_ executable location = /usr/bin/ansible-playbook python version = 3.9.13 (main, May 18 2022, 00:00:00) [GCC 11.3.1 20220421 (Red Hat 11.3.1-2)] jinja version = 2.11.3 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: rhel-7_setup.yml ***************************************************** 1 plays in /cache/rhel-7_setup.yml PLAY [Setup repos] ************************************************************* META: ran handlers TASK [set up internal repositories] ******************************************** task path: /cache/rhel-7_setup.yml:5 Wednesday 03 August 2022 16:45:19 +0000 (0:00:00.017) 0:00:00.017 ****** ok: [/cache/rhel-7.qcow2] => (item=None) => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } ok: [/cache/rhel-7.qcow2] => (item=None) => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } ok: [/cache/rhel-7.qcow2] => (item=None) => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } ok: [/cache/rhel-7.qcow2] => (item=None) => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } ok: [/cache/rhel-7.qcow2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/rhel-7.qcow2 : ok=1 changed=0 unreachable=0 failed=0 skipped=0 rescued=0 ignored=0 Wednesday 03 August 2022 16:45:20 +0000 (0:00:01.292) 0:00:01.310 ****** =============================================================================== set up internal repositories -------------------------------------------- 1.29s /cache/rhel-7_setup.yml:5 ----------------------------------------------------- PLAYBOOK: _backup.yml ********************************************************** 1 plays in /tmp/tmpq0_9gvwx/tests/_backup.yml PLAY [all] ********************************************************************* META: ran handlers TASK [Get stats of system files] *********************************************** task path: /tmp/tmpq0_9gvwx/tests/_backup.yml:6 Wednesday 03 August 2022 16:45:20 +0000 (0:00:00.014) 0:00:01.324 ****** ok: [/cache/rhel-7.qcow2] => (item=/etc/resolv.conf) => { "ansible_loop_var": "item", "changed": false, "item": "/etc/resolv.conf", "stat": { "atime": 1659545118.7948246, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "fba82b5b78ea37322e584bf452f6f8e163f0869b", "ctime": 1659545118.7948246, "dev": 64769, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 77, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1659544375.0, "nlink": 1, "path": "/etc/resolv.conf", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 90, "uid": 0, "version": "624082498", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Check if system files exist] ********************************************* task path: /tmp/tmpq0_9gvwx/tests/_backup.yml:13 Wednesday 03 August 2022 16:45:20 +0000 (0:00:00.432) 0:00:01.757 ****** [WARNING]: conditional statements should not include jinja2 templating delimiters such as {{ }} or {% %}. Found: {{ item.stat.exists }} ok: [/cache/rhel-7.qcow2] => (item={'invocation': {'module_args': {'checksum_algorithm': 'sha1', 'get_checksum': True, 'follow': False, 'path': '/etc/resolv.conf', 'get_md5': False, 'get_mime': True, 'get_attributes': True}}, 'stat': {'charset': 'us-ascii', 'uid': 0, 'exists': True, 'attr_flags': '', 'woth': False, 'isreg': True, 'device_type': 0, 'mtime': 1659544375.0, 'block_size': 4096, 'inode': 77, 'isgid': False, 'size': 90, 'executable': False, 'isuid': False, 'readable': True, 'version': '624082498', 'pw_name': 'root', 'gid': 0, 'ischr': False, 'wusr': True, 'writeable': True, 'mimetype': 'text/plain', 'blocks': 8, 'xoth': False, 'islnk': False, 'nlink': 1, 'issock': False, 'rgrp': True, 'gr_name': 'root', 'path': '/etc/resolv.conf', 'xusr': False, 'atime': 1659545118.7948246, 'isdir': False, 'ctime': 1659545118.7948246, 'isblk': False, 'wgrp': False, 'checksum': 'fba82b5b78ea37322e584bf452f6f8e163f0869b', 'dev': 64769, 'roth': True, 'isfifo': False, 'mode': '0644', 'xgrp': False, 'rusr': True, 'attributes': []}, 'changed': False, 'failed': False, 'item': '/etc/resolv.conf', 'ansible_loop_var': 'item'}) => { "ansible_facts": { "_existing_files": " /etc/resolv.conf" }, "ansible_loop_var": "item", "changed": false, "item": { "ansible_loop_var": "item", "changed": false, "failed": false, "invocation": { "module_args": { "checksum_algorithm": "sha1", "follow": false, "get_attributes": true, "get_checksum": true, "get_md5": false, "get_mime": true, "path": "/etc/resolv.conf" } }, "item": "/etc/resolv.conf", "stat": { "atime": 1659545118.7948246, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "fba82b5b78ea37322e584bf452f6f8e163f0869b", "ctime": 1659545118.7948246, "dev": 64769, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 77, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1659544375.0, "nlink": 1, "path": "/etc/resolv.conf", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 90, "uid": 0, "version": "624082498", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } } TASK [Back up system files] **************************************************** task path: /tmp/tmpq0_9gvwx/tests/_backup.yml:19 Wednesday 03 August 2022 16:45:20 +0000 (0:00:00.039) 0:00:01.797 ****** changed: [/cache/rhel-7.qcow2] => { "changed": true, "cmd": [ "tar", "-cf", "/tmp/network.backup.tar", "--same-owner", "--same-permissions", "/etc/resolv.conf" ], "delta": "0:00:00.004419", "end": "2022-08-03 12:45:21.594632", "rc": 0, "start": "2022-08-03 12:45:21.590213" } STDERR: tar: Removing leading `/' from member names META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/rhel-7.qcow2 : ok=4 changed=1 unreachable=0 failed=0 skipped=0 rescued=0 ignored=0 Wednesday 03 August 2022 16:45:21 +0000 (0:00:00.411) 0:00:02.208 ****** =============================================================================== set up internal repositories -------------------------------------------- 1.29s /cache/rhel-7_setup.yml:5 ----------------------------------------------------- Get stats of system files ----------------------------------------------- 0.43s /tmp/tmpq0_9gvwx/tests/_backup.yml:6 ------------------------------------------ Back up system files ---------------------------------------------------- 0.41s /tmp/tmpq0_9gvwx/tests/_backup.yml:19 ----------------------------------------- Check if system files exist --------------------------------------------- 0.04s /tmp/tmpq0_9gvwx/tests/_backup.yml:13 ----------------------------------------- PLAYBOOK: tests_ethtool_coalesce_initscripts.yml ******************************* 2 plays in /tmp/tmpq0_9gvwx/tests/tests_ethtool_coalesce_initscripts.yml PLAY [Run playbook 'playbooks/tests_ethtool_coalesce.yml' with initscripts as provider] *** TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpq0_9gvwx/tests/tests_ethtool_coalesce_initscripts.yml:4 Wednesday 03 August 2022 16:45:21 +0000 (0:00:00.053) 0:00:02.262 ****** ok: [/cache/rhel-7.qcow2] META: ran handlers TASK [include_tasks] *********************************************************** task path: /tmp/tmpq0_9gvwx/tests/tests_ethtool_coalesce_initscripts.yml:7 Wednesday 03 August 2022 16:45:22 +0000 (0:00:00.908) 0:00:03.170 ****** included: /tmp/tmpq0_9gvwx/tests/tasks/el_repo_setup.yml for /cache/rhel-7.qcow2 TASK [Fix CentOS6 Base repo] *************************************************** task path: /tmp/tmpq0_9gvwx/tests/tasks/el_repo_setup.yml:2 Wednesday 03 August 2022 16:45:22 +0000 (0:00:00.026) 0:00:03.197 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [include_tasks] *********************************************************** task path: /tmp/tmpq0_9gvwx/tests/tasks/el_repo_setup.yml:27 Wednesday 03 August 2022 16:45:22 +0000 (0:00:00.020) 0:00:03.218 ****** included: /tmp/tmpq0_9gvwx/tests/tasks/enable_epel.yml for /cache/rhel-7.qcow2 TASK [Create EPEL 7] *********************************************************** task path: /tmp/tmpq0_9gvwx/tests/tasks/enable_epel.yml:4 Wednesday 03 August 2022 16:45:22 +0000 (0:00:00.028) 0:00:03.246 ****** ok: [/cache/rhel-7.qcow2] => { "changed": false, "cmd": [ "yum", "install", "-y", "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 [Enable EPEL 7] *********************************************************** task path: /tmp/tmpq0_9gvwx/tests/tasks/enable_epel.yml:11 Wednesday 03 August 2022 16:45:22 +0000 (0:00:00.286) 0:00:03.532 ****** changed: [/cache/rhel-7.qcow2] => { "changed": true, "cmd": [ "yum-config-manager", "--enable", "epel" ], "delta": "0:00:00.185647", "end": "2022-08-03 12:45:23.391216", "rc": 0, "start": "2022-08-03 12:45:23.205569" } STDOUT: ================================== repo: epel ================================== [epel] async = True bandwidth = 0 base_persistdir = /var/lib/yum/repos/x86_64/7Server baseurl = cache = 0 cachedir = /var/cache/yum/x86_64/7Server/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/7Server/epel/gpgcadir gpgcakey = gpgcheck = True gpgdir = /var/lib/yum/repos/x86_64/7Server/epel/gpgdir gpgkey = file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-7 hdrdir = /var/cache/yum/x86_64/7Server/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=$infra&content=$contentdir 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/7Server/epel pkgdir = /var/cache/yum/x86_64/7Server/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: /tmp/tmpq0_9gvwx/tests/tasks/enable_epel.yml:17 Wednesday 03 August 2022 16:45:23 +0000 (0:00:00.472) 0:00:04.005 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /tmp/tmpq0_9gvwx/tests/tasks/enable_epel.yml:26 Wednesday 03 August 2022 16:45:23 +0000 (0:00:00.021) 0:00:04.027 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'initscripts'] *********************************** task path: /tmp/tmpq0_9gvwx/tests/tests_ethtool_coalesce_initscripts.yml:8 Wednesday 03 August 2022 16:45:23 +0000 (0:00:00.018) 0:00:04.045 ****** ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "network_provider": "initscripts" }, "changed": false } META: ran handlers META: ran handlers PLAY [all] ********************************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpq0_9gvwx/tests/playbooks/tests_ethtool_coalesce.yml:3 Wednesday 03 August 2022 16:45:23 +0000 (0:00:00.067) 0:00:04.113 ****** ok: [/cache/rhel-7.qcow2] META: ran handlers TASK [Show playbook name] ****************************************************** task path: /tmp/tmpq0_9gvwx/tests/playbooks/tests_ethtool_coalesce.yml:8 Wednesday 03 August 2022 16:45:23 +0000 (0:00:00.692) 0:00:04.805 ****** ok: [/cache/rhel-7.qcow2] => {} MSG: this is: playbooks/tests_ethtool_coalesce.yml TASK [INIT: Ethtool coalesce tests] ******************************************** task path: /tmp/tmpq0_9gvwx/tests/playbooks/tests_ethtool_coalesce.yml:14 Wednesday 03 August 2022 16:45:23 +0000 (0:00:00.061) 0:00:04.867 ****** ok: [/cache/rhel-7.qcow2] => {} MSG: ################################################## TASK [include_tasks] *********************************************************** task path: /tmp/tmpq0_9gvwx/tests/playbooks/tests_ethtool_coalesce.yml:17 Wednesday 03 August 2022 16:45:23 +0000 (0:00:00.059) 0:00:04.926 ****** included: /tmp/tmpq0_9gvwx/tests/playbooks/tasks/show_interfaces.yml for /cache/rhel-7.qcow2 TASK [include_tasks] *********************************************************** task path: /tmp/tmpq0_9gvwx/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 03 August 2022 16:45:24 +0000 (0:00:00.039) 0:00:04.965 ****** included: /tmp/tmpq0_9gvwx/tests/playbooks/tasks/get_current_interfaces.yml for /cache/rhel-7.qcow2 TASK [Gather current interface info] ******************************************* task path: /tmp/tmpq0_9gvwx/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 03 August 2022 16:45:24 +0000 (0:00:00.040) 0:00:05.006 ****** ok: [/cache/rhel-7.qcow2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003803", "end": "2022-08-03 12:45:24.717384", "rc": 0, "start": "2022-08-03 12:45:24.713581" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/tmpq0_9gvwx/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 03 August 2022 16:45:24 +0000 (0:00:00.321) 0:00:05.328 ****** ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/tmpq0_9gvwx/tests/playbooks/tasks/show_interfaces.yml:4 Wednesday 03 August 2022 16:45:24 +0000 (0:00:00.040) 0:00:05.368 ****** ok: [/cache/rhel-7.qcow2] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo'] TASK [include_tasks] *********************************************************** task path: /tmp/tmpq0_9gvwx/tests/playbooks/tests_ethtool_coalesce.yml:18 Wednesday 03 August 2022 16:45:24 +0000 (0:00:00.040) 0:00:05.409 ****** included: /tmp/tmpq0_9gvwx/tests/playbooks/tasks/manage_test_interface.yml for /cache/rhel-7.qcow2 TASK [Ensure state in ["present", "absent"]] *********************************** task path: /tmp/tmpq0_9gvwx/tests/playbooks/tasks/manage_test_interface.yml:3 Wednesday 03 August 2022 16:45:24 +0000 (0:00:00.043) 0:00:05.452 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /tmp/tmpq0_9gvwx/tests/playbooks/tasks/manage_test_interface.yml:8 Wednesday 03 August 2022 16:45:24 +0000 (0:00:00.030) 0:00:05.482 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [include_tasks] *********************************************************** task path: /tmp/tmpq0_9gvwx/tests/playbooks/tasks/manage_test_interface.yml:13 Wednesday 03 August 2022 16:45:24 +0000 (0:00:00.031) 0:00:05.513 ****** included: /tmp/tmpq0_9gvwx/tests/playbooks/tasks/show_interfaces.yml for /cache/rhel-7.qcow2 TASK [include_tasks] *********************************************************** task path: /tmp/tmpq0_9gvwx/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 03 August 2022 16:45:24 +0000 (0:00:00.039) 0:00:05.553 ****** included: /tmp/tmpq0_9gvwx/tests/playbooks/tasks/get_current_interfaces.yml for /cache/rhel-7.qcow2 TASK [Gather current interface info] ******************************************* task path: /tmp/tmpq0_9gvwx/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 03 August 2022 16:45:24 +0000 (0:00:00.037) 0:00:05.591 ****** ok: [/cache/rhel-7.qcow2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003764", "end": "2022-08-03 12:45:25.269957", "rc": 0, "start": "2022-08-03 12:45:25.266193" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/tmpq0_9gvwx/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 03 August 2022 16:45:24 +0000 (0:00:00.290) 0:00:05.881 ****** ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/tmpq0_9gvwx/tests/playbooks/tasks/show_interfaces.yml:4 Wednesday 03 August 2022 16:45:24 +0000 (0:00:00.044) 0:00:05.926 ****** ok: [/cache/rhel-7.qcow2] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /tmp/tmpq0_9gvwx/tests/playbooks/tasks/manage_test_interface.yml:15 Wednesday 03 August 2022 16:45:25 +0000 (0:00:00.042) 0:00:05.969 ****** ok: [/cache/rhel-7.qcow2] => { "changed": false, "rc": 0, "results": [ "iproute-4.11.0-30.el7.x86_64 providing iproute is already installed" ] } TASK [Create veth interface testnic1] ****************************************** task path: /tmp/tmpq0_9gvwx/tests/playbooks/tasks/manage_test_interface.yml:21 Wednesday 03 August 2022 16:45:25 +0000 (0:00:00.637) 0:00:06.606 ****** changed: [/cache/rhel-7.qcow2] => (item=ip link add testnic1 type veth peer name peertestnic1) => { "ansible_loop_var": "item", "changed": true, "cmd": [ "ip", "link", "add", "testnic1", "type", "veth", "peer", "name", "peertestnic1" ], "delta": "0:00:00.009780", "end": "2022-08-03 12:45:26.299014", "item": "ip link add testnic1 type veth peer name peertestnic1", "rc": 0, "start": "2022-08-03 12:45:26.289234" } changed: [/cache/rhel-7.qcow2] => (item=ip link set peertestnic1 up) => { "ansible_loop_var": "item", "changed": true, "cmd": [ "ip", "link", "set", "peertestnic1", "up" ], "delta": "0:00:00.007060", "end": "2022-08-03 12:45:26.562275", "item": "ip link set peertestnic1 up", "rc": 0, "start": "2022-08-03 12:45:26.555215" } changed: [/cache/rhel-7.qcow2] => (item=ip link set testnic1 up) => { "ansible_loop_var": "item", "changed": true, "cmd": [ "ip", "link", "set", "testnic1", "up" ], "delta": "0:00:00.010676", "end": "2022-08-03 12:45:26.839355", "item": "ip link set testnic1 up", "rc": 0, "start": "2022-08-03 12:45:26.828679" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /tmp/tmpq0_9gvwx/tests/playbooks/tasks/manage_test_interface.yml:29 Wednesday 03 August 2022 16:45:26 +0000 (0:00:00.845) 0:00:07.452 ****** changed: [/cache/rhel-7.qcow2] => { "changed": true, "cmd": [ "nmcli", "d", "set", "testnic1", "managed", "true" ], "delta": "0:00:00.023025", "end": "2022-08-03 12:45:27.150257", "rc": 0, "start": "2022-08-03 12:45:27.127232" } TASK [Delete veth interface testnic1] ****************************************** task path: /tmp/tmpq0_9gvwx/tests/playbooks/tasks/manage_test_interface.yml:36 Wednesday 03 August 2022 16:45:26 +0000 (0:00:00.309) 0:00:07.761 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create dummy interface testnic1] ***************************************** task path: /tmp/tmpq0_9gvwx/tests/playbooks/tasks/manage_test_interface.yml:42 Wednesday 03 August 2022 16:45:26 +0000 (0:00:00.036) 0:00:07.798 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface testnic1] ***************************************** task path: /tmp/tmpq0_9gvwx/tests/playbooks/tasks/manage_test_interface.yml:47 Wednesday 03 August 2022 16:45:26 +0000 (0:00:00.032) 0:00:07.831 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface testnic1] ******************************************* task path: /tmp/tmpq0_9gvwx/tests/playbooks/tasks/manage_test_interface.yml:53 Wednesday 03 August 2022 16:45:26 +0000 (0:00:00.032) 0:00:07.863 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface testnic1] ******************************************* task path: /tmp/tmpq0_9gvwx/tests/playbooks/tasks/manage_test_interface.yml:58 Wednesday 03 August 2022 16:45:26 +0000 (0:00:00.031) 0:00:07.895 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [include_tasks] *********************************************************** task path: /tmp/tmpq0_9gvwx/tests/playbooks/tests_ethtool_coalesce.yml:21 Wednesday 03 August 2022 16:45:26 +0000 (0:00:00.035) 0:00:07.931 ****** included: /tmp/tmpq0_9gvwx/tests/playbooks/tasks/assert_device_present.yml for /cache/rhel-7.qcow2 TASK [include_tasks] *********************************************************** task path: /tmp/tmpq0_9gvwx/tests/playbooks/tasks/assert_device_present.yml:3 Wednesday 03 August 2022 16:45:27 +0000 (0:00:00.042) 0:00:07.973 ****** included: /tmp/tmpq0_9gvwx/tests/playbooks/tasks/get_interface_stat.yml for /cache/rhel-7.qcow2 TASK [Get stat for interface testnic1] ***************************************** task path: /tmp/tmpq0_9gvwx/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 03 August 2022 16:45:27 +0000 (0:00:00.040) 0:00:08.013 ****** ok: [/cache/rhel-7.qcow2] => { "changed": false, "stat": { "atime": 1659545126.2998247, "block_size": 4096, "blocks": 0, "ctime": 1659545126.2998247, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 13881, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": true, "isreg": false, "issock": false, "isuid": false, "lnk_source": "/sys/devices/virtual/net/testnic1", "lnk_target": "../../devices/virtual/net/testnic1", "mode": "0777", "mtime": 1659545126.2998247, "nlink": 1, "path": "/sys/class/net/testnic1", "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 interface testnic1 is present] ******************************* task path: /tmp/tmpq0_9gvwx/tests/playbooks/tasks/assert_device_present.yml:4 Wednesday 03 August 2022 16:45:27 +0000 (0:00:00.302) 0:00:08.315 ****** ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [Install ethtool (test dependency)] *************************************** task path: /tmp/tmpq0_9gvwx/tests/playbooks/tests_ethtool_coalesce.yml:22 Wednesday 03 August 2022 16:45:27 +0000 (0:00:00.042) 0:00:08.358 ****** ok: [/cache/rhel-7.qcow2] => { "changed": false, "rc": 0, "results": [ "2:ethtool-4.8-10.el7.x86_64 providing ethtool is already installed" ] } TASK [TEST: I can create a profile without any coalescing option.] ************* task path: /tmp/tmpq0_9gvwx/tests/playbooks/tests_ethtool_coalesce.yml:28 Wednesday 03 August 2022 16:45:27 +0000 (0:00:00.485) 0:00:08.843 ****** ok: [/cache/rhel-7.qcow2] => {} MSG: ################################################## TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /tmp/tmpq0_9gvwx/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 03 August 2022 16:45:27 +0000 (0:00:00.049) 0:00:08.892 ****** included: /tmp/tmpq0_9gvwx/tests/roles/linux-system-roles.network/tasks/set_facts.yml for /cache/rhel-7.qcow2 TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/tmpq0_9gvwx/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 03 August 2022 16:45:27 +0000 (0:00:00.061) 0:00:08.954 ****** ok: [/cache/rhel-7.qcow2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which services are running] *********** task path: /tmp/tmpq0_9gvwx/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 Wednesday 03 August 2022 16:45:28 +0000 (0:00:00.385) 0:00:09.339 ****** ok: [/cache/rhel-7.qcow2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /tmp/tmpq0_9gvwx/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 Wednesday 03 August 2022 16:45:29 +0000 (0:00:01.049) 0:00:10.388 ****** ok: [/cache/rhel-7.qcow2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /tmp/tmpq0_9gvwx/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 03 August 2022 16:45:30 +0000 (0:00:00.994) 0:00:11.383 ****** ok: [/cache/rhel-7.qcow2] => {} MSG: Using network provider: initscripts TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/tmpq0_9gvwx/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 03 August 2022 16:45:30 +0000 (0:00:00.052) 0:00:11.435 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/tmpq0_9gvwx/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 03 August 2022 16:45:30 +0000 (0:00:00.045) 0:00:11.481 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /tmp/tmpq0_9gvwx/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 03 August 2022 16:45:30 +0000 (0:00:00.043) 0:00:11.525 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/tmpq0_9gvwx/tests/roles/linux-system-roles.network/tasks/main.yml:38 Wednesday 03 August 2022 16:45:30 +0000 (0:00:00.067) 0:00:11.592 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/tmpq0_9gvwx/tests/roles/linux-system-roles.network/tasks/main.yml:51 Wednesday 03 August 2022 16:45:30 +0000 (0:00:00.046) 0:00:11.638 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/tmpq0_9gvwx/tests/roles/linux-system-roles.network/tasks/main.yml:65 Wednesday 03 August 2022 16:45:30 +0000 (0:00:00.045) 0:00:11.683 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /tmp/tmpq0_9gvwx/tests/roles/linux-system-roles.network/tasks/main.yml:79 Wednesday 03 August 2022 16:45:30 +0000 (0:00:00.048) 0:00:11.732 ****** skipping: [/cache/rhel-7.qcow2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /tmp/tmpq0_9gvwx/tests/roles/linux-system-roles.network/tasks/main.yml:90 Wednesday 03 August 2022 16:45:30 +0000 (0:00:00.044) 0:00:11.777 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /tmp/tmpq0_9gvwx/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 03 August 2022 16:45:30 +0000 (0:00:00.042) 0:00:11.819 ****** ok: [/cache/rhel-7.qcow2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/tmpq0_9gvwx/tests/roles/linux-system-roles.network/tasks/main.yml:107 Wednesday 03 August 2022 16:45:31 +0000 (0:00:00.644) 0:00:12.464 ****** ok: [/cache/rhel-7.qcow2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-1155505kpmb9te/tmp4_vux9_n" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /tmp/tmpq0_9gvwx/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 03 August 2022 16:45:31 +0000 (0:00:00.327) 0:00:12.791 ****** redirecting (type: action) ansible.builtin.network to ansible.netcommon.network changed: [/cache/rhel-7.qcow2] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "testnic1", "state": "up", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [003] #0, state:up persistent_state:present, 'testnic1': add ifcfg-rh profile 'testnic1' [004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1 (is-modified) [005] #0, state:up persistent_state:present, 'testnic1': call 'ifup testnic1': rc=0, out='', err='' TASK [linux-system-roles.network : Configure networking state] ***************** task path: /tmp/tmpq0_9gvwx/tests/roles/linux-system-roles.network/tasks/main.yml:128 Wednesday 03 August 2022 16:45:32 +0000 (0:00:00.737) 0:00:13.528 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /tmp/tmpq0_9gvwx/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 03 August 2022 16:45:32 +0000 (0:00:00.045) 0:00:13.574 ****** ok: [/cache/rhel-7.qcow2] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'testnic1': add ifcfg-rh profile 'testnic1'", "[004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1 (is-modified)", "[005] #0, state:up persistent_state:present, 'testnic1': call 'ifup testnic1': rc=0, out='', err=''" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /tmp/tmpq0_9gvwx/tests/roles/linux-system-roles.network/tasks/main.yml:138 Wednesday 03 August 2022 16:45:32 +0000 (0:00:00.055) 0:00:13.629 ****** ok: [/cache/rhel-7.qcow2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "testnic1", "state": "up", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[003] #0, state:up persistent_state:present, 'testnic1': add ifcfg-rh profile 'testnic1'\n[004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1 (is-modified)\n[005] #0, state:up persistent_state:present, 'testnic1': call 'ifup testnic1': rc=0, out='', err=''\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'testnic1': add ifcfg-rh profile 'testnic1'", "[004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1 (is-modified)", "[005] #0, state:up persistent_state:present, 'testnic1': call 'ifup testnic1': rc=0, out='', err=''" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /tmp/tmpq0_9gvwx/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 03 August 2022 16:45:32 +0000 (0:00:00.054) 0:00:13.684 ****** skipping: [/cache/rhel-7.qcow2] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /tmp/tmpq0_9gvwx/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 03 August 2022 16:45:32 +0000 (0:00:00.043) 0:00:13.728 ****** ok: [/cache/rhel-7.qcow2] => { "changed": false, "ping": "pong" } META: role_complete for /cache/rhel-7.qcow2 TASK [Get profile's coalescing options] **************************************** task path: /tmp/tmpq0_9gvwx/tests/playbooks/tests_ethtool_coalesce.yml:44 Wednesday 03 August 2022 16:45:33 +0000 (0:00:00.412) 0:00:14.140 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [ASSERT: The profile does not contain coalescing options] ***************** task path: /tmp/tmpq0_9gvwx/tests/playbooks/tests_ethtool_coalesce.yml:49 Wednesday 03 August 2022 16:45:33 +0000 (0:00:00.045) 0:00:14.186 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get profile's coalescing options] **************************************** task path: /tmp/tmpq0_9gvwx/tests/playbooks/tests_ethtool_coalesce.yml:54 Wednesday 03 August 2022 16:45:33 +0000 (0:00:00.041) 0:00:14.227 ****** fatal: [/cache/rhel-7.qcow2]: FAILED! => { "changed": true, "cmd": [ "grep", "ETHTOOL", "/etc/sysconfig/network-scripts/ifcfg-testnic1" ], "delta": "0:00:00.003518", "end": "2022-08-03 12:45:33.913968", "rc": 1, "start": "2022-08-03 12:45:33.910450" } MSG: non-zero return code ...ignoring TASK [ASSERT: The profile does not contain coalescing options] ***************** task path: /tmp/tmpq0_9gvwx/tests/playbooks/tests_ethtool_coalesce.yml:61 Wednesday 03 August 2022 16:45:33 +0000 (0:00:00.308) 0:00:14.535 ****** ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [TEST: I can set rx-frames.] ********************************************** task path: /tmp/tmpq0_9gvwx/tests/playbooks/tests_ethtool_coalesce.yml:67 Wednesday 03 August 2022 16:45:33 +0000 (0:00:00.054) 0:00:14.590 ****** ok: [/cache/rhel-7.qcow2] => {} MSG: ################################################## TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /tmp/tmpq0_9gvwx/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 03 August 2022 16:45:33 +0000 (0:00:00.053) 0:00:14.643 ****** included: /tmp/tmpq0_9gvwx/tests/roles/linux-system-roles.network/tasks/set_facts.yml for /cache/rhel-7.qcow2 TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/tmpq0_9gvwx/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 03 August 2022 16:45:33 +0000 (0:00:00.065) 0:00:14.708 ****** ok: [/cache/rhel-7.qcow2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which services are running] *********** task path: /tmp/tmpq0_9gvwx/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 Wednesday 03 August 2022 16:45:34 +0000 (0:00:00.427) 0:00:15.136 ****** ok: [/cache/rhel-7.qcow2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /tmp/tmpq0_9gvwx/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 Wednesday 03 August 2022 16:45:35 +0000 (0:00:00.925) 0:00:16.061 ****** ok: [/cache/rhel-7.qcow2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /tmp/tmpq0_9gvwx/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 03 August 2022 16:45:35 +0000 (0:00:00.676) 0:00:16.738 ****** ok: [/cache/rhel-7.qcow2] => {} MSG: Using network provider: initscripts TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/tmpq0_9gvwx/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 03 August 2022 16:45:35 +0000 (0:00:00.057) 0:00:16.795 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/tmpq0_9gvwx/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 03 August 2022 16:45:35 +0000 (0:00:00.047) 0:00:16.843 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /tmp/tmpq0_9gvwx/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 03 August 2022 16:45:35 +0000 (0:00:00.043) 0:00:16.887 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/tmpq0_9gvwx/tests/roles/linux-system-roles.network/tasks/main.yml:38 Wednesday 03 August 2022 16:45:35 +0000 (0:00:00.068) 0:00:16.955 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/tmpq0_9gvwx/tests/roles/linux-system-roles.network/tasks/main.yml:51 Wednesday 03 August 2022 16:45:36 +0000 (0:00:00.043) 0:00:16.998 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/tmpq0_9gvwx/tests/roles/linux-system-roles.network/tasks/main.yml:65 Wednesday 03 August 2022 16:45:36 +0000 (0:00:00.045) 0:00:17.043 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /tmp/tmpq0_9gvwx/tests/roles/linux-system-roles.network/tasks/main.yml:79 Wednesday 03 August 2022 16:45:36 +0000 (0:00:00.046) 0:00:17.090 ****** skipping: [/cache/rhel-7.qcow2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /tmp/tmpq0_9gvwx/tests/roles/linux-system-roles.network/tasks/main.yml:90 Wednesday 03 August 2022 16:45:36 +0000 (0:00:00.097) 0:00:17.187 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /tmp/tmpq0_9gvwx/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 03 August 2022 16:45:36 +0000 (0:00:00.043) 0:00:17.230 ****** ok: [/cache/rhel-7.qcow2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/tmpq0_9gvwx/tests/roles/linux-system-roles.network/tasks/main.yml:107 Wednesday 03 August 2022 16:45:36 +0000 (0:00:00.402) 0:00:17.633 ****** ok: [/cache/rhel-7.qcow2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-1155505kpmb9te/tmpggvutz8y" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /tmp/tmpq0_9gvwx/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 03 August 2022 16:45:36 +0000 (0:00:00.309) 0:00:17.942 ****** redirecting (type: action) ansible.builtin.network to ansible.netcommon.network changed: [/cache/rhel-7.qcow2] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "ethtool": { "coalesce": { "rx_frames": 128 } }, "ip": { "auto6": false, "dhcp4": false }, "name": "testnic1", "state": "up", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [003] #0, state:up persistent_state:present, 'testnic1': update ifcfg-rh profile 'testnic1' [004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1 (is-modified) [005] #0, state:up persistent_state:present, 'testnic1': call 'ifup testnic1': rc=0, out='', err='Cannot get device coalesce settings: Operation not supported ' TASK [linux-system-roles.network : Configure networking state] ***************** task path: /tmp/tmpq0_9gvwx/tests/roles/linux-system-roles.network/tasks/main.yml:128 Wednesday 03 August 2022 16:45:37 +0000 (0:00:00.491) 0:00:18.433 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /tmp/tmpq0_9gvwx/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 03 August 2022 16:45:37 +0000 (0:00:00.047) 0:00:18.481 ****** ok: [/cache/rhel-7.qcow2] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'testnic1': update ifcfg-rh profile 'testnic1'", "[004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1 (is-modified)", "[005] #0, state:up persistent_state:present, 'testnic1': call 'ifup testnic1': rc=0, out='', err='Cannot get device coalesce settings: Operation not supported", "'" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /tmp/tmpq0_9gvwx/tests/roles/linux-system-roles.network/tasks/main.yml:138 Wednesday 03 August 2022 16:45:37 +0000 (0:00:00.059) 0:00:18.540 ****** ok: [/cache/rhel-7.qcow2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "ethtool": { "coalesce": { "rx_frames": 128 } }, "ip": { "auto6": false, "dhcp4": false }, "name": "testnic1", "state": "up", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[003] #0, state:up persistent_state:present, 'testnic1': update ifcfg-rh profile 'testnic1'\n[004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1 (is-modified)\n[005] #0, state:up persistent_state:present, 'testnic1': call 'ifup testnic1': rc=0, out='', err='Cannot get device coalesce settings: Operation not supported\n'\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'testnic1': update ifcfg-rh profile 'testnic1'", "[004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1 (is-modified)", "[005] #0, state:up persistent_state:present, 'testnic1': call 'ifup testnic1': rc=0, out='', err='Cannot get device coalesce settings: Operation not supported", "'" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /tmp/tmpq0_9gvwx/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 03 August 2022 16:45:37 +0000 (0:00:00.059) 0:00:18.600 ****** skipping: [/cache/rhel-7.qcow2] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /tmp/tmpq0_9gvwx/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 03 August 2022 16:45:37 +0000 (0:00:00.056) 0:00:18.657 ****** ok: [/cache/rhel-7.qcow2] => { "changed": false, "ping": "pong" } META: role_complete for /cache/rhel-7.qcow2 TASK [Get profile's coalescing options] **************************************** task path: /tmp/tmpq0_9gvwx/tests/playbooks/tests_ethtool_coalesce.yml:85 Wednesday 03 August 2022 16:45:38 +0000 (0:00:00.319) 0:00:18.977 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert coalesce options set in profile] ********************************** task path: /tmp/tmpq0_9gvwx/tests/playbooks/tests_ethtool_coalesce.yml:90 Wednesday 03 August 2022 16:45:38 +0000 (0:00:00.043) 0:00:19.020 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get profile's coalescing options] **************************************** task path: /tmp/tmpq0_9gvwx/tests/playbooks/tests_ethtool_coalesce.yml:96 Wednesday 03 August 2022 16:45:38 +0000 (0:00:00.077) 0:00:19.098 ****** changed: [/cache/rhel-7.qcow2] => { "changed": true, "cmd": [ "grep", "ETHTOOL", "/etc/sysconfig/network-scripts/ifcfg-testnic1" ], "delta": "0:00:00.003657", "end": "2022-08-03 12:45:38.782326", "rc": 0, "start": "2022-08-03 12:45:38.778669" } STDOUT: ETHTOOL_OPTS="-C testnic1 rx-frames 128" TASK [Assert coalesce options set in profile] ********************************** task path: /tmp/tmpq0_9gvwx/tests/playbooks/tests_ethtool_coalesce.yml:103 Wednesday 03 August 2022 16:45:38 +0000 (0:00:00.308) 0:00:19.407 ****** ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [TEST: I can clear coalescing options] ************************************ task path: /tmp/tmpq0_9gvwx/tests/playbooks/tests_ethtool_coalesce.yml:109 Wednesday 03 August 2022 16:45:38 +0000 (0:00:00.055) 0:00:19.462 ****** ok: [/cache/rhel-7.qcow2] => {} MSG: ################################################## TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /tmp/tmpq0_9gvwx/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 03 August 2022 16:45:38 +0000 (0:00:00.050) 0:00:19.513 ****** included: /tmp/tmpq0_9gvwx/tests/roles/linux-system-roles.network/tasks/set_facts.yml for /cache/rhel-7.qcow2 TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/tmpq0_9gvwx/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 03 August 2022 16:45:38 +0000 (0:00:00.066) 0:00:19.580 ****** ok: [/cache/rhel-7.qcow2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which services are running] *********** task path: /tmp/tmpq0_9gvwx/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 Wednesday 03 August 2022 16:45:39 +0000 (0:00:00.411) 0:00:19.992 ****** ok: [/cache/rhel-7.qcow2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /tmp/tmpq0_9gvwx/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 Wednesday 03 August 2022 16:45:39 +0000 (0:00:00.903) 0:00:20.895 ****** ok: [/cache/rhel-7.qcow2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /tmp/tmpq0_9gvwx/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 03 August 2022 16:45:40 +0000 (0:00:00.721) 0:00:21.617 ****** ok: [/cache/rhel-7.qcow2] => {} MSG: Using network provider: initscripts TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/tmpq0_9gvwx/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 03 August 2022 16:45:40 +0000 (0:00:00.053) 0:00:21.670 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/tmpq0_9gvwx/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 03 August 2022 16:45:40 +0000 (0:00:00.044) 0:00:21.715 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /tmp/tmpq0_9gvwx/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 03 August 2022 16:45:40 +0000 (0:00:00.052) 0:00:21.768 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/tmpq0_9gvwx/tests/roles/linux-system-roles.network/tasks/main.yml:38 Wednesday 03 August 2022 16:45:40 +0000 (0:00:00.071) 0:00:21.839 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/tmpq0_9gvwx/tests/roles/linux-system-roles.network/tasks/main.yml:51 Wednesday 03 August 2022 16:45:40 +0000 (0:00:00.046) 0:00:21.885 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/tmpq0_9gvwx/tests/roles/linux-system-roles.network/tasks/main.yml:65 Wednesday 03 August 2022 16:45:40 +0000 (0:00:00.043) 0:00:21.929 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /tmp/tmpq0_9gvwx/tests/roles/linux-system-roles.network/tasks/main.yml:79 Wednesday 03 August 2022 16:45:41 +0000 (0:00:00.047) 0:00:21.976 ****** skipping: [/cache/rhel-7.qcow2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /tmp/tmpq0_9gvwx/tests/roles/linux-system-roles.network/tasks/main.yml:90 Wednesday 03 August 2022 16:45:41 +0000 (0:00:00.043) 0:00:22.020 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /tmp/tmpq0_9gvwx/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 03 August 2022 16:45:41 +0000 (0:00:00.042) 0:00:22.063 ****** ok: [/cache/rhel-7.qcow2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/tmpq0_9gvwx/tests/roles/linux-system-roles.network/tasks/main.yml:107 Wednesday 03 August 2022 16:45:41 +0000 (0:00:00.407) 0:00:22.471 ****** ok: [/cache/rhel-7.qcow2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-1155505kpmb9te/tmp6k0uu8b9" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /tmp/tmpq0_9gvwx/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 03 August 2022 16:45:41 +0000 (0:00:00.308) 0:00:22.779 ****** redirecting (type: action) ansible.builtin.network to ansible.netcommon.network changed: [/cache/rhel-7.qcow2] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "testnic1", "state": "up", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [003] #0, state:up persistent_state:present, 'testnic1': update ifcfg-rh profile 'testnic1' [004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1 (is-modified) [005] #0, state:up persistent_state:present, 'testnic1': call 'ifup testnic1': rc=0, out='', err='' TASK [linux-system-roles.network : Configure networking state] ***************** task path: /tmp/tmpq0_9gvwx/tests/roles/linux-system-roles.network/tasks/main.yml:128 Wednesday 03 August 2022 16:45:42 +0000 (0:00:00.554) 0:00:23.334 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /tmp/tmpq0_9gvwx/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 03 August 2022 16:45:42 +0000 (0:00:00.045) 0:00:23.380 ****** ok: [/cache/rhel-7.qcow2] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'testnic1': update ifcfg-rh profile 'testnic1'", "[004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1 (is-modified)", "[005] #0, state:up persistent_state:present, 'testnic1': call 'ifup testnic1': rc=0, out='', err=''" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /tmp/tmpq0_9gvwx/tests/roles/linux-system-roles.network/tasks/main.yml:138 Wednesday 03 August 2022 16:45:42 +0000 (0:00:00.053) 0:00:23.434 ****** ok: [/cache/rhel-7.qcow2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "testnic1", "state": "up", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[003] #0, state:up persistent_state:present, 'testnic1': update ifcfg-rh profile 'testnic1'\n[004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1 (is-modified)\n[005] #0, state:up persistent_state:present, 'testnic1': call 'ifup testnic1': rc=0, out='', err=''\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'testnic1': update ifcfg-rh profile 'testnic1'", "[004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1 (is-modified)", "[005] #0, state:up persistent_state:present, 'testnic1': call 'ifup testnic1': rc=0, out='', err=''" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /tmp/tmpq0_9gvwx/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 03 August 2022 16:45:42 +0000 (0:00:00.052) 0:00:23.486 ****** skipping: [/cache/rhel-7.qcow2] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /tmp/tmpq0_9gvwx/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 03 August 2022 16:45:42 +0000 (0:00:00.049) 0:00:23.536 ****** ok: [/cache/rhel-7.qcow2] => { "changed": false, "ping": "pong" } META: role_complete for /cache/rhel-7.qcow2 TASK [Get profile's coalescing options] **************************************** task path: /tmp/tmpq0_9gvwx/tests/playbooks/tests_ethtool_coalesce.yml:124 Wednesday 03 August 2022 16:45:42 +0000 (0:00:00.327) 0:00:23.863 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [ASSERT: The profile does reset coalescing options] *********************** task path: /tmp/tmpq0_9gvwx/tests/playbooks/tests_ethtool_coalesce.yml:129 Wednesday 03 August 2022 16:45:42 +0000 (0:00:00.042) 0:00:23.906 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get profile's coalescing options] **************************************** task path: /tmp/tmpq0_9gvwx/tests/playbooks/tests_ethtool_coalesce.yml:134 Wednesday 03 August 2022 16:45:42 +0000 (0:00:00.041) 0:00:23.948 ****** fatal: [/cache/rhel-7.qcow2]: FAILED! => { "changed": true, "cmd": [ "grep", "ETHTOOL", "/etc/sysconfig/network-scripts/ifcfg-testnic1" ], "delta": "0:00:01.004660", "end": "2022-08-03 12:45:44.636703", "rc": 1, "start": "2022-08-03 12:45:43.632043" } MSG: non-zero return code ...ignoring TASK [ASSERT: The profile does reset coalescing options] *********************** task path: /tmp/tmpq0_9gvwx/tests/playbooks/tests_ethtool_coalesce.yml:141 Wednesday 03 August 2022 16:45:44 +0000 (0:00:01.312) 0:00:25.261 ****** ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /tmp/tmpq0_9gvwx/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 03 August 2022 16:45:44 +0000 (0:00:00.055) 0:00:25.317 ****** included: /tmp/tmpq0_9gvwx/tests/roles/linux-system-roles.network/tasks/set_facts.yml for /cache/rhel-7.qcow2 TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/tmpq0_9gvwx/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 03 August 2022 16:45:44 +0000 (0:00:00.095) 0:00:25.412 ****** ok: [/cache/rhel-7.qcow2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which services are running] *********** task path: /tmp/tmpq0_9gvwx/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 Wednesday 03 August 2022 16:45:44 +0000 (0:00:00.404) 0:00:25.817 ****** ok: [/cache/rhel-7.qcow2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /tmp/tmpq0_9gvwx/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 Wednesday 03 August 2022 16:45:45 +0000 (0:00:00.919) 0:00:26.737 ****** ok: [/cache/rhel-7.qcow2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /tmp/tmpq0_9gvwx/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 03 August 2022 16:45:46 +0000 (0:00:00.691) 0:00:27.428 ****** ok: [/cache/rhel-7.qcow2] => {} MSG: Using network provider: initscripts TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/tmpq0_9gvwx/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 03 August 2022 16:45:46 +0000 (0:00:00.057) 0:00:27.486 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/tmpq0_9gvwx/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 03 August 2022 16:45:46 +0000 (0:00:00.049) 0:00:27.535 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /tmp/tmpq0_9gvwx/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 03 August 2022 16:45:46 +0000 (0:00:00.047) 0:00:27.583 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/tmpq0_9gvwx/tests/roles/linux-system-roles.network/tasks/main.yml:38 Wednesday 03 August 2022 16:45:46 +0000 (0:00:00.104) 0:00:27.687 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/tmpq0_9gvwx/tests/roles/linux-system-roles.network/tasks/main.yml:51 Wednesday 03 August 2022 16:45:46 +0000 (0:00:00.048) 0:00:27.736 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/tmpq0_9gvwx/tests/roles/linux-system-roles.network/tasks/main.yml:65 Wednesday 03 August 2022 16:45:46 +0000 (0:00:00.046) 0:00:27.783 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /tmp/tmpq0_9gvwx/tests/roles/linux-system-roles.network/tasks/main.yml:79 Wednesday 03 August 2022 16:45:46 +0000 (0:00:00.051) 0:00:27.834 ****** skipping: [/cache/rhel-7.qcow2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /tmp/tmpq0_9gvwx/tests/roles/linux-system-roles.network/tasks/main.yml:90 Wednesday 03 August 2022 16:45:46 +0000 (0:00:00.048) 0:00:27.882 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /tmp/tmpq0_9gvwx/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 03 August 2022 16:45:46 +0000 (0:00:00.045) 0:00:27.927 ****** ok: [/cache/rhel-7.qcow2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/tmpq0_9gvwx/tests/roles/linux-system-roles.network/tasks/main.yml:107 Wednesday 03 August 2022 16:45:47 +0000 (0:00:00.421) 0:00:28.349 ****** ok: [/cache/rhel-7.qcow2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-1155505kpmb9te/tmpwphw2bh5" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /tmp/tmpq0_9gvwx/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 03 August 2022 16:45:47 +0000 (0:00:00.331) 0:00:28.680 ****** redirecting (type: action) ansible.builtin.network to ansible.netcommon.network changed: [/cache/rhel-7.qcow2] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "name": "testnic1", "persistent_state": "absent" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:absent, 'testnic1': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-testnic1' TASK [linux-system-roles.network : Configure networking state] ***************** task path: /tmp/tmpq0_9gvwx/tests/roles/linux-system-roles.network/tasks/main.yml:128 Wednesday 03 August 2022 16:45:48 +0000 (0:00:00.426) 0:00:29.106 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /tmp/tmpq0_9gvwx/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 03 August 2022 16:45:48 +0000 (0:00:00.049) 0:00:29.155 ****** ok: [/cache/rhel-7.qcow2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:absent, 'testnic1': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-testnic1'" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /tmp/tmpq0_9gvwx/tests/roles/linux-system-roles.network/tasks/main.yml:138 Wednesday 03 August 2022 16:45:48 +0000 (0:00:00.059) 0:00:29.215 ****** ok: [/cache/rhel-7.qcow2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "name": "testnic1", "persistent_state": "absent" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:absent, 'testnic1': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-testnic1'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:absent, 'testnic1': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-testnic1'" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /tmp/tmpq0_9gvwx/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 03 August 2022 16:45:48 +0000 (0:00:00.057) 0:00:29.272 ****** skipping: [/cache/rhel-7.qcow2] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /tmp/tmpq0_9gvwx/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 03 August 2022 16:45:48 +0000 (0:00:00.047) 0:00:29.319 ****** ok: [/cache/rhel-7.qcow2] => { "changed": false, "ping": "pong" } META: role_complete for /cache/rhel-7.qcow2 TASK [include_tasks] *********************************************************** task path: /tmp/tmpq0_9gvwx/tests/playbooks/tests_ethtool_coalesce.yml:157 Wednesday 03 August 2022 16:45:48 +0000 (0:00:00.352) 0:00:29.672 ****** included: /tmp/tmpq0_9gvwx/tests/playbooks/tasks/manage_test_interface.yml for /cache/rhel-7.qcow2 TASK [Ensure state in ["present", "absent"]] *********************************** task path: /tmp/tmpq0_9gvwx/tests/playbooks/tasks/manage_test_interface.yml:3 Wednesday 03 August 2022 16:45:48 +0000 (0:00:00.075) 0:00:29.748 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /tmp/tmpq0_9gvwx/tests/playbooks/tasks/manage_test_interface.yml:8 Wednesday 03 August 2022 16:45:48 +0000 (0:00:00.044) 0:00:29.792 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [include_tasks] *********************************************************** task path: /tmp/tmpq0_9gvwx/tests/playbooks/tasks/manage_test_interface.yml:13 Wednesday 03 August 2022 16:45:48 +0000 (0:00:00.043) 0:00:29.835 ****** included: /tmp/tmpq0_9gvwx/tests/playbooks/tasks/show_interfaces.yml for /cache/rhel-7.qcow2 TASK [include_tasks] *********************************************************** task path: /tmp/tmpq0_9gvwx/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 03 August 2022 16:45:48 +0000 (0:00:00.065) 0:00:29.900 ****** included: /tmp/tmpq0_9gvwx/tests/playbooks/tasks/get_current_interfaces.yml for /cache/rhel-7.qcow2 TASK [Gather current interface info] ******************************************* task path: /tmp/tmpq0_9gvwx/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 03 August 2022 16:45:49 +0000 (0:00:00.065) 0:00:29.966 ****** ok: [/cache/rhel-7.qcow2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003862", "end": "2022-08-03 12:45:49.660489", "rc": 0, "start": "2022-08-03 12:45:49.656627" } STDOUT: bond0 bonding_masters eth0 lo peertestnic1 testnic1 TASK [Set current_interfaces] ************************************************** task path: /tmp/tmpq0_9gvwx/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 03 August 2022 16:45:49 +0000 (0:00:00.319) 0:00:30.285 ****** ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo", "peertestnic1", "testnic1" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/tmpq0_9gvwx/tests/playbooks/tasks/show_interfaces.yml:4 Wednesday 03 August 2022 16:45:49 +0000 (0:00:00.053) 0:00:30.339 ****** ok: [/cache/rhel-7.qcow2] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo', 'peertestnic1', 'testnic1'] TASK [Install iproute] ********************************************************* task path: /tmp/tmpq0_9gvwx/tests/playbooks/tasks/manage_test_interface.yml:15 Wednesday 03 August 2022 16:45:49 +0000 (0:00:00.052) 0:00:30.391 ****** ok: [/cache/rhel-7.qcow2] => { "changed": false, "rc": 0, "results": [ "iproute-4.11.0-30.el7.x86_64 providing iproute is already installed" ] } TASK [Create veth interface testnic1] ****************************************** task path: /tmp/tmpq0_9gvwx/tests/playbooks/tasks/manage_test_interface.yml:21 Wednesday 03 August 2022 16:45:49 +0000 (0:00:00.504) 0:00:30.896 ****** skipping: [/cache/rhel-7.qcow2] => (item=ip link add testnic1 type veth peer name peertestnic1) => { "ansible_loop_var": "item", "changed": false, "item": "ip link add testnic1 type veth peer name peertestnic1", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-7.qcow2] => (item=ip link set peertestnic1 up) => { "ansible_loop_var": "item", "changed": false, "item": "ip link set peertestnic1 up", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-7.qcow2] => (item=ip link set testnic1 up) => { "ansible_loop_var": "item", "changed": false, "item": "ip link set testnic1 up", "skip_reason": "Conditional result was False" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /tmp/tmpq0_9gvwx/tests/playbooks/tasks/manage_test_interface.yml:29 Wednesday 03 August 2022 16:45:49 +0000 (0:00:00.060) 0:00:30.957 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete veth interface testnic1] ****************************************** task path: /tmp/tmpq0_9gvwx/tests/playbooks/tasks/manage_test_interface.yml:36 Wednesday 03 August 2022 16:45:50 +0000 (0:00:00.047) 0:00:31.004 ****** changed: [/cache/rhel-7.qcow2] => { "changed": true, "cmd": [ "ip", "link", "del", "testnic1", "type", "veth" ], "delta": "0:00:00.010251", "end": "2022-08-03 12:45:50.745540", "rc": 0, "start": "2022-08-03 12:45:50.735289" } TASK [Create dummy interface testnic1] ***************************************** task path: /tmp/tmpq0_9gvwx/tests/playbooks/tasks/manage_test_interface.yml:42 Wednesday 03 August 2022 16:45:50 +0000 (0:00:00.369) 0:00:31.374 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface testnic1] ***************************************** task path: /tmp/tmpq0_9gvwx/tests/playbooks/tasks/manage_test_interface.yml:47 Wednesday 03 August 2022 16:45:50 +0000 (0:00:00.048) 0:00:31.422 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface testnic1] ******************************************* task path: /tmp/tmpq0_9gvwx/tests/playbooks/tasks/manage_test_interface.yml:53 Wednesday 03 August 2022 16:45:50 +0000 (0:00:00.048) 0:00:31.471 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface testnic1] ******************************************* task path: /tmp/tmpq0_9gvwx/tests/playbooks/tasks/manage_test_interface.yml:58 Wednesday 03 August 2022 16:45:50 +0000 (0:00:00.047) 0:00:31.518 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/rhel-7.qcow2 : ok=93 changed=12 unreachable=0 failed=0 skipped=64 rescued=0 ignored=2 Wednesday 03 August 2022 16:45:50 +0000 (0:00:00.065) 0:00:31.584 ****** =============================================================================== Get profile's coalescing options ---------------------------------------- 1.31s /tmp/tmpq0_9gvwx/tests/playbooks/tests_ethtool_coalesce.yml:134 --------------- set up internal repositories -------------------------------------------- 1.29s /cache/rhel-7_setup.yml:5 ----------------------------------------------------- linux-system-roles.network : Configure networking connection profiles --- 1.29s /tmp/tmpq0_9gvwx/tests/roles/linux-system-roles.network/tasks/main.yml:116 ---- linux-system-roles.network : Enable network service --------------------- 1.05s /tmp/tmpq0_9gvwx/tests/roles/linux-system-roles.network/tasks/main.yml:99 ----- linux-system-roles.network : Check which services are running ----------- 1.05s /tmp/tmpq0_9gvwx/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 linux-system-roles.network : Check which packages are installed --------- 0.99s /tmp/tmpq0_9gvwx/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 linux-system-roles.network : Check which services are running ----------- 0.93s /tmp/tmpq0_9gvwx/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 linux-system-roles.network : Check which services are running ----------- 0.92s /tmp/tmpq0_9gvwx/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 Gathering Facts --------------------------------------------------------- 0.91s /tmp/tmpq0_9gvwx/tests/tests_ethtool_coalesce_initscripts.yml:4 --------------- linux-system-roles.network : Check which services are running ----------- 0.90s /tmp/tmpq0_9gvwx/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 Create veth interface testnic1 ------------------------------------------ 0.85s /tmp/tmpq0_9gvwx/tests/playbooks/tasks/manage_test_interface.yml:21 ----------- linux-system-roles.network : Re-test connectivity ----------------------- 0.74s /tmp/tmpq0_9gvwx/tests/roles/linux-system-roles.network/tasks/main.yml:149 ---- linux-system-roles.network : Check which packages are installed --------- 0.72s /tmp/tmpq0_9gvwx/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 Gathering Facts --------------------------------------------------------- 0.69s /tmp/tmpq0_9gvwx/tests/playbooks/tests_ethtool_coalesce.yml:3 ----------------- linux-system-roles.network : Check which packages are installed --------- 0.69s /tmp/tmpq0_9gvwx/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 linux-system-roles.network : Check which packages are installed --------- 0.68s /tmp/tmpq0_9gvwx/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 Install iproute --------------------------------------------------------- 0.64s /tmp/tmpq0_9gvwx/tests/playbooks/tasks/manage_test_interface.yml:15 ----------- linux-system-roles.network : Ensure initscripts network file dependency is present --- 0.64s /tmp/tmpq0_9gvwx/tests/roles/linux-system-roles.network/tasks/main.yml:107 ---- Install iproute --------------------------------------------------------- 0.50s /tmp/tmpq0_9gvwx/tests/playbooks/tasks/manage_test_interface.yml:15 ----------- linux-system-roles.network : Configure networking connection profiles --- 0.49s /tmp/tmpq0_9gvwx/tests/roles/linux-system-roles.network/tasks/main.yml:116 ---- PLAYBOOK: _restore.yml ********************************************************* 1 plays in /tmp/tmpq0_9gvwx/tests/_restore.yml PLAY [all] ********************************************************************* META: ran handlers TASK [Restore system files] **************************************************** task path: /tmp/tmpq0_9gvwx/tests/_restore.yml:4 Wednesday 03 August 2022 16:45:50 +0000 (0:00:00.039) 0:00:31.623 ****** changed: [/cache/rhel-7.qcow2] => { "changed": true, "cmd": "(cd /; tar -xf /tmp/network.backup.tar)", "delta": "0:00:00.006231", "end": "2022-08-03 12:45:51.310744", "rc": 0, "start": "2022-08-03 12:45:51.304513" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/rhel-7.qcow2 : ok=94 changed=13 unreachable=0 failed=0 skipped=64 rescued=0 ignored=2 Wednesday 03 August 2022 16:45:50 +0000 (0:00:00.327) 0:00:31.951 ****** =============================================================================== Get profile's coalescing options ---------------------------------------- 1.31s /tmp/tmpq0_9gvwx/tests/playbooks/tests_ethtool_coalesce.yml:134 --------------- set up internal repositories -------------------------------------------- 1.29s /cache/rhel-7_setup.yml:5 ----------------------------------------------------- linux-system-roles.network : Configure networking connection profiles --- 1.29s /tmp/tmpq0_9gvwx/tests/roles/linux-system-roles.network/tasks/main.yml:116 ---- linux-system-roles.network : Enable network service --------------------- 1.05s /tmp/tmpq0_9gvwx/tests/roles/linux-system-roles.network/tasks/main.yml:99 ----- linux-system-roles.network : Check which services are running ----------- 1.05s /tmp/tmpq0_9gvwx/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 linux-system-roles.network : Check which packages are installed --------- 0.99s /tmp/tmpq0_9gvwx/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 linux-system-roles.network : Check which services are running ----------- 0.93s /tmp/tmpq0_9gvwx/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 linux-system-roles.network : Check which services are running ----------- 0.92s /tmp/tmpq0_9gvwx/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 Gathering Facts --------------------------------------------------------- 0.91s /tmp/tmpq0_9gvwx/tests/tests_ethtool_coalesce_initscripts.yml:4 --------------- linux-system-roles.network : Check which services are running ----------- 0.90s /tmp/tmpq0_9gvwx/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 Create veth interface testnic1 ------------------------------------------ 0.85s /tmp/tmpq0_9gvwx/tests/playbooks/tasks/manage_test_interface.yml:21 ----------- linux-system-roles.network : Re-test connectivity ----------------------- 0.74s /tmp/tmpq0_9gvwx/tests/roles/linux-system-roles.network/tasks/main.yml:149 ---- linux-system-roles.network : Check which packages are installed --------- 0.72s /tmp/tmpq0_9gvwx/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 Gathering Facts --------------------------------------------------------- 0.69s /tmp/tmpq0_9gvwx/tests/playbooks/tests_ethtool_coalesce.yml:3 ----------------- linux-system-roles.network : Check which packages are installed --------- 0.69s /tmp/tmpq0_9gvwx/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 linux-system-roles.network : Check which packages are installed --------- 0.68s /tmp/tmpq0_9gvwx/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 Install iproute --------------------------------------------------------- 0.64s /tmp/tmpq0_9gvwx/tests/playbooks/tasks/manage_test_interface.yml:15 ----------- linux-system-roles.network : Ensure initscripts network file dependency is present --- 0.64s /tmp/tmpq0_9gvwx/tests/roles/linux-system-roles.network/tasks/main.yml:107 ---- Install iproute --------------------------------------------------------- 0.50s /tmp/tmpq0_9gvwx/tests/playbooks/tasks/manage_test_interface.yml:15 ----------- linux-system-roles.network : Configure networking connection profiles --- 0.49s /tmp/tmpq0_9gvwx/tests/roles/linux-system-roles.network/tasks/main.yml:116 ---- ansible-playbook [core 2.12.6] config file = /etc/ansible/ansible.cfg configured module search path = ['/root/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /usr/lib/python3.9/site-packages/ansible ansible collection location = /tmp/tmp0fvd1p7_ executable location = /usr/bin/ansible-playbook python version = 3.9.13 (main, May 18 2022, 00:00:00) [GCC 11.3.1 20220421 (Red Hat 11.3.1-2)] jinja version = 2.11.3 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: rhel-7_setup.yml ***************************************************** 1 plays in /cache/rhel-7_setup.yml PLAY [Setup repos] ************************************************************* META: ran handlers TASK [set up internal repositories] ******************************************** task path: /cache/rhel-7_setup.yml:5 Wednesday 03 August 2022 17:10:23 +0000 (0:00:00.017) 0:00:00.017 ****** ok: [/cache/rhel-7.qcow2] => (item=None) => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } ok: [/cache/rhel-7.qcow2] => (item=None) => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } ok: [/cache/rhel-7.qcow2] => (item=None) => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } ok: [/cache/rhel-7.qcow2] => (item=None) => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } ok: [/cache/rhel-7.qcow2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/rhel-7.qcow2 : ok=1 changed=0 unreachable=0 failed=0 skipped=0 rescued=0 ignored=0 Wednesday 03 August 2022 17:10:24 +0000 (0:00:01.355) 0:00:01.373 ****** =============================================================================== set up internal repositories -------------------------------------------- 1.36s /cache/rhel-7_setup.yml:5 ----------------------------------------------------- PLAYBOOK: _backup.yml ********************************************************** 1 plays in /tmp/tmp0448nu9w/tests/network/_backup.yml PLAY [all] ********************************************************************* META: ran handlers TASK [Get stats of system files] *********************************************** task path: /tmp/tmp0448nu9w/tests/network/_backup.yml:6 Wednesday 03 August 2022 17:10:24 +0000 (0:00:00.035) 0:00:01.408 ****** ok: [/cache/rhel-7.qcow2] => (item=/etc/resolv.conf) => { "ansible_loop_var": "item", "changed": false, "item": "/etc/resolv.conf", "stat": { "atime": 1659546622.4833019, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "fba82b5b78ea37322e584bf452f6f8e163f0869b", "ctime": 1659546622.4843018, "dev": 64769, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 77, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1659545878.0, "nlink": 1, "path": "/etc/resolv.conf", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 90, "uid": 0, "version": "624082500", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Check if system files exist] ********************************************* task path: /tmp/tmp0448nu9w/tests/network/_backup.yml:13 Wednesday 03 August 2022 17:10:24 +0000 (0:00:00.398) 0:00:01.807 ****** [WARNING]: conditional statements should not include jinja2 templating delimiters such as {{ }} or {% %}. Found: {{ item.stat.exists }} ok: [/cache/rhel-7.qcow2] => (item={'invocation': {'module_args': {'checksum_algorithm': 'sha1', 'get_checksum': True, 'follow': False, 'path': '/etc/resolv.conf', 'get_md5': False, 'get_mime': True, 'get_attributes': True}}, 'stat': {'charset': 'us-ascii', 'uid': 0, 'exists': True, 'attr_flags': '', 'woth': False, 'isreg': True, 'device_type': 0, 'mtime': 1659545878.0, 'block_size': 4096, 'inode': 77, 'isgid': False, 'size': 90, 'executable': False, 'isuid': False, 'readable': True, 'version': '624082500', 'pw_name': 'root', 'gid': 0, 'ischr': False, 'wusr': True, 'writeable': True, 'mimetype': 'text/plain', 'blocks': 8, 'xoth': False, 'islnk': False, 'nlink': 1, 'issock': False, 'rgrp': True, 'gr_name': 'root', 'path': '/etc/resolv.conf', 'xusr': False, 'atime': 1659546622.4833019, 'isdir': False, 'ctime': 1659546622.4843018, 'isblk': False, 'wgrp': False, 'checksum': 'fba82b5b78ea37322e584bf452f6f8e163f0869b', 'dev': 64769, 'roth': True, 'isfifo': False, 'mode': '0644', 'xgrp': False, 'rusr': True, 'attributes': []}, 'changed': False, 'failed': False, 'item': '/etc/resolv.conf', 'ansible_loop_var': 'item'}) => { "ansible_facts": { "_existing_files": " /etc/resolv.conf" }, "ansible_loop_var": "item", "changed": false, "item": { "ansible_loop_var": "item", "changed": false, "failed": false, "invocation": { "module_args": { "checksum_algorithm": "sha1", "follow": false, "get_attributes": true, "get_checksum": true, "get_md5": false, "get_mime": true, "path": "/etc/resolv.conf" } }, "item": "/etc/resolv.conf", "stat": { "atime": 1659546622.4833019, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "fba82b5b78ea37322e584bf452f6f8e163f0869b", "ctime": 1659546622.4843018, "dev": 64769, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 77, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1659545878.0, "nlink": 1, "path": "/etc/resolv.conf", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 90, "uid": 0, "version": "624082500", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } } TASK [Back up system files] **************************************************** task path: /tmp/tmp0448nu9w/tests/network/_backup.yml:19 Wednesday 03 August 2022 17:10:25 +0000 (0:00:00.035) 0:00:01.842 ****** changed: [/cache/rhel-7.qcow2] => { "changed": true, "cmd": [ "tar", "-cf", "/tmp/network.backup.tar", "--same-owner", "--same-permissions", "/etc/resolv.conf" ], "delta": "0:00:00.004264", "end": "2022-08-03 13:10:25.317884", "rc": 0, "start": "2022-08-03 13:10:25.313620" } STDERR: tar: Removing leading `/' from member names META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/rhel-7.qcow2 : ok=4 changed=1 unreachable=0 failed=0 skipped=0 rescued=0 ignored=0 Wednesday 03 August 2022 17:10:25 +0000 (0:00:00.385) 0:00:02.227 ****** =============================================================================== set up internal repositories -------------------------------------------- 1.36s /cache/rhel-7_setup.yml:5 ----------------------------------------------------- Get stats of system files ----------------------------------------------- 0.40s /tmp/tmp0448nu9w/tests/network/_backup.yml:6 ---------------------------------- Back up system files ---------------------------------------------------- 0.39s /tmp/tmp0448nu9w/tests/network/_backup.yml:19 --------------------------------- Check if system files exist --------------------------------------------- 0.04s /tmp/tmp0448nu9w/tests/network/_backup.yml:13 --------------------------------- PLAYBOOK: tests_ethtool_coalesce_initscripts.yml ******************************* 2 plays in /tmp/tmp0448nu9w/tests/network/tests_ethtool_coalesce_initscripts.yml PLAY [Run playbook 'playbooks/tests_ethtool_coalesce.yml' with initscripts as provider] *** TASK [Gathering Facts] ********************************************************* task path: /tmp/tmp0448nu9w/tests/network/tests_ethtool_coalesce_initscripts.yml:4 Wednesday 03 August 2022 17:10:25 +0000 (0:00:00.068) 0:00:02.296 ****** ok: [/cache/rhel-7.qcow2] META: ran handlers TASK [include_tasks] *********************************************************** task path: /tmp/tmp0448nu9w/tests/network/tests_ethtool_coalesce_initscripts.yml:7 Wednesday 03 August 2022 17:10:26 +0000 (0:00:00.953) 0:00:03.249 ****** included: /tmp/tmp0448nu9w/tests/network/tasks/el_repo_setup.yml for /cache/rhel-7.qcow2 TASK [Fix CentOS6 Base repo] *************************************************** task path: /tmp/tmp0448nu9w/tests/network/tasks/el_repo_setup.yml:2 Wednesday 03 August 2022 17:10:26 +0000 (0:00:00.025) 0:00:03.274 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [include_tasks] *********************************************************** task path: /tmp/tmp0448nu9w/tests/network/tasks/el_repo_setup.yml:27 Wednesday 03 August 2022 17:10:26 +0000 (0:00:00.018) 0:00:03.293 ****** included: /tmp/tmp0448nu9w/tests/network/tasks/enable_epel.yml for /cache/rhel-7.qcow2 TASK [Create EPEL 7] *********************************************************** task path: /tmp/tmp0448nu9w/tests/network/tasks/enable_epel.yml:4 Wednesday 03 August 2022 17:10:26 +0000 (0:00:00.025) 0:00:03.319 ****** ok: [/cache/rhel-7.qcow2] => { "changed": false, "cmd": [ "yum", "install", "-y", "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 [Enable EPEL 7] *********************************************************** task path: /tmp/tmp0448nu9w/tests/network/tasks/enable_epel.yml:11 Wednesday 03 August 2022 17:10:26 +0000 (0:00:00.283) 0:00:03.602 ****** changed: [/cache/rhel-7.qcow2] => { "changed": true, "cmd": [ "yum-config-manager", "--enable", "epel" ], "delta": "0:00:00.183955", "end": "2022-08-03 13:10:27.163976", "rc": 0, "start": "2022-08-03 13:10:26.980021" } STDOUT: ================================== repo: epel ================================== [epel] async = True bandwidth = 0 base_persistdir = /var/lib/yum/repos/x86_64/7Server baseurl = cache = 0 cachedir = /var/cache/yum/x86_64/7Server/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/7Server/epel/gpgcadir gpgcakey = gpgcheck = True gpgdir = /var/lib/yum/repos/x86_64/7Server/epel/gpgdir gpgkey = file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-7 hdrdir = /var/cache/yum/x86_64/7Server/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=$infra&content=$contentdir 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/7Server/epel pkgdir = /var/cache/yum/x86_64/7Server/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: /tmp/tmp0448nu9w/tests/network/tasks/enable_epel.yml:17 Wednesday 03 August 2022 17:10:27 +0000 (0:00:00.469) 0:00:04.072 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /tmp/tmp0448nu9w/tests/network/tasks/enable_epel.yml:26 Wednesday 03 August 2022 17:10:27 +0000 (0:00:00.022) 0:00:04.094 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'initscripts'] *********************************** task path: /tmp/tmp0448nu9w/tests/network/tests_ethtool_coalesce_initscripts.yml:8 Wednesday 03 August 2022 17:10:27 +0000 (0:00:00.020) 0:00:04.115 ****** ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "network_provider": "initscripts" }, "changed": false } META: ran handlers META: ran handlers PLAY [all] ********************************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmp0448nu9w/tests/network/playbooks/tests_ethtool_coalesce.yml:3 Wednesday 03 August 2022 17:10:27 +0000 (0:00:00.073) 0:00:04.189 ****** ok: [/cache/rhel-7.qcow2] META: ran handlers TASK [Show playbook name] ****************************************************** task path: /tmp/tmp0448nu9w/tests/network/playbooks/tests_ethtool_coalesce.yml:8 Wednesday 03 August 2022 17:10:28 +0000 (0:00:00.711) 0:00:04.900 ****** ok: [/cache/rhel-7.qcow2] => {} MSG: this is: playbooks/tests_ethtool_coalesce.yml TASK [INIT: Ethtool coalesce tests] ******************************************** task path: /tmp/tmp0448nu9w/tests/network/playbooks/tests_ethtool_coalesce.yml:14 Wednesday 03 August 2022 17:10:28 +0000 (0:00:00.068) 0:00:04.968 ****** ok: [/cache/rhel-7.qcow2] => {} MSG: ################################################## TASK [include_tasks] *********************************************************** task path: /tmp/tmp0448nu9w/tests/network/playbooks/tests_ethtool_coalesce.yml:17 Wednesday 03 August 2022 17:10:28 +0000 (0:00:00.070) 0:00:05.038 ****** included: /tmp/tmp0448nu9w/tests/network/playbooks/tasks/show_interfaces.yml for /cache/rhel-7.qcow2 TASK [include_tasks] *********************************************************** task path: /tmp/tmp0448nu9w/tests/network/playbooks/tasks/show_interfaces.yml:3 Wednesday 03 August 2022 17:10:28 +0000 (0:00:00.042) 0:00:05.081 ****** included: /tmp/tmp0448nu9w/tests/network/playbooks/tasks/get_current_interfaces.yml for /cache/rhel-7.qcow2 TASK [Gather current interface info] ******************************************* task path: /tmp/tmp0448nu9w/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 03 August 2022 17:10:28 +0000 (0:00:00.043) 0:00:05.125 ****** ok: [/cache/rhel-7.qcow2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003686", "end": "2022-08-03 13:10:28.548097", "rc": 0, "start": "2022-08-03 13:10:28.544411" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/tmp0448nu9w/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 03 August 2022 17:10:28 +0000 (0:00:00.328) 0:00:05.453 ****** ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/tmp0448nu9w/tests/network/playbooks/tasks/show_interfaces.yml:4 Wednesday 03 August 2022 17:10:28 +0000 (0:00:00.045) 0:00:05.498 ****** ok: [/cache/rhel-7.qcow2] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo'] TASK [include_tasks] *********************************************************** task path: /tmp/tmp0448nu9w/tests/network/playbooks/tests_ethtool_coalesce.yml:18 Wednesday 03 August 2022 17:10:28 +0000 (0:00:00.045) 0:00:05.544 ****** included: /tmp/tmp0448nu9w/tests/network/playbooks/tasks/manage_test_interface.yml for /cache/rhel-7.qcow2 TASK [Ensure state in ["present", "absent"]] *********************************** task path: /tmp/tmp0448nu9w/tests/network/playbooks/tasks/manage_test_interface.yml:3 Wednesday 03 August 2022 17:10:28 +0000 (0:00:00.048) 0:00:05.593 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /tmp/tmp0448nu9w/tests/network/playbooks/tasks/manage_test_interface.yml:8 Wednesday 03 August 2022 17:10:28 +0000 (0:00:00.033) 0:00:05.627 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [include_tasks] *********************************************************** task path: /tmp/tmp0448nu9w/tests/network/playbooks/tasks/manage_test_interface.yml:13 Wednesday 03 August 2022 17:10:28 +0000 (0:00:00.032) 0:00:05.659 ****** included: /tmp/tmp0448nu9w/tests/network/playbooks/tasks/show_interfaces.yml for /cache/rhel-7.qcow2 TASK [include_tasks] *********************************************************** task path: /tmp/tmp0448nu9w/tests/network/playbooks/tasks/show_interfaces.yml:3 Wednesday 03 August 2022 17:10:28 +0000 (0:00:00.039) 0:00:05.699 ****** included: /tmp/tmp0448nu9w/tests/network/playbooks/tasks/get_current_interfaces.yml for /cache/rhel-7.qcow2 TASK [Gather current interface info] ******************************************* task path: /tmp/tmp0448nu9w/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 03 August 2022 17:10:28 +0000 (0:00:00.040) 0:00:05.740 ****** ok: [/cache/rhel-7.qcow2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003666", "end": "2022-08-03 13:10:29.135517", "rc": 0, "start": "2022-08-03 13:10:29.131851" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/tmp0448nu9w/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 03 August 2022 17:10:29 +0000 (0:00:00.300) 0:00:06.041 ****** ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/tmp0448nu9w/tests/network/playbooks/tasks/show_interfaces.yml:4 Wednesday 03 August 2022 17:10:29 +0000 (0:00:00.044) 0:00:06.085 ****** ok: [/cache/rhel-7.qcow2] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /tmp/tmp0448nu9w/tests/network/playbooks/tasks/manage_test_interface.yml:15 Wednesday 03 August 2022 17:10:29 +0000 (0:00:00.042) 0:00:06.127 ****** ok: [/cache/rhel-7.qcow2] => { "changed": false, "rc": 0, "results": [ "iproute-4.11.0-30.el7.x86_64 providing iproute is already installed" ] } TASK [Create veth interface testnic1] ****************************************** task path: /tmp/tmp0448nu9w/tests/network/playbooks/tasks/manage_test_interface.yml:21 Wednesday 03 August 2022 17:10:29 +0000 (0:00:00.655) 0:00:06.783 ****** changed: [/cache/rhel-7.qcow2] => (item=ip link add testnic1 type veth peer name peertestnic1) => { "ansible_loop_var": "item", "changed": true, "cmd": [ "ip", "link", "add", "testnic1", "type", "veth", "peer", "name", "peertestnic1" ], "delta": "0:00:00.011780", "end": "2022-08-03 13:10:30.203754", "item": "ip link add testnic1 type veth peer name peertestnic1", "rc": 0, "start": "2022-08-03 13:10:30.191974" } changed: [/cache/rhel-7.qcow2] => (item=ip link set peertestnic1 up) => { "ansible_loop_var": "item", "changed": true, "cmd": [ "ip", "link", "set", "peertestnic1", "up" ], "delta": "0:00:00.006952", "end": "2022-08-03 13:10:30.485565", "item": "ip link set peertestnic1 up", "rc": 0, "start": "2022-08-03 13:10:30.478613" } changed: [/cache/rhel-7.qcow2] => (item=ip link set testnic1 up) => { "ansible_loop_var": "item", "changed": true, "cmd": [ "ip", "link", "set", "testnic1", "up" ], "delta": "0:00:00.009728", "end": "2022-08-03 13:10:30.756599", "item": "ip link set testnic1 up", "rc": 0, "start": "2022-08-03 13:10:30.746871" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /tmp/tmp0448nu9w/tests/network/playbooks/tasks/manage_test_interface.yml:28 Wednesday 03 August 2022 17:10:30 +0000 (0:00:00.883) 0:00:07.667 ****** changed: [/cache/rhel-7.qcow2] => { "changed": true, "cmd": [ "nmcli", "d", "set", "testnic1", "managed", "true" ], "delta": "0:00:00.025412", "end": "2022-08-03 13:10:31.090976", "rc": 0, "start": "2022-08-03 13:10:31.065564" } TASK [Delete veth interface testnic1] ****************************************** task path: /tmp/tmp0448nu9w/tests/network/playbooks/tasks/manage_test_interface.yml:35 Wednesday 03 August 2022 17:10:31 +0000 (0:00:00.332) 0:00:07.999 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create dummy interface testnic1] ***************************************** task path: /tmp/tmp0448nu9w/tests/network/playbooks/tasks/manage_test_interface.yml:40 Wednesday 03 August 2022 17:10:31 +0000 (0:00:00.034) 0:00:08.034 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface testnic1] ***************************************** task path: /tmp/tmp0448nu9w/tests/network/playbooks/tasks/manage_test_interface.yml:44 Wednesday 03 August 2022 17:10:31 +0000 (0:00:00.033) 0:00:08.067 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface testnic1] ******************************************* task path: /tmp/tmp0448nu9w/tests/network/playbooks/tasks/manage_test_interface.yml:49 Wednesday 03 August 2022 17:10:31 +0000 (0:00:00.033) 0:00:08.100 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface testnic1] ******************************************* task path: /tmp/tmp0448nu9w/tests/network/playbooks/tasks/manage_test_interface.yml:53 Wednesday 03 August 2022 17:10:31 +0000 (0:00:00.034) 0:00:08.134 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [include_tasks] *********************************************************** task path: /tmp/tmp0448nu9w/tests/network/playbooks/tests_ethtool_coalesce.yml:21 Wednesday 03 August 2022 17:10:31 +0000 (0:00:00.033) 0:00:08.168 ****** included: /tmp/tmp0448nu9w/tests/network/playbooks/tasks/assert_device_present.yml for /cache/rhel-7.qcow2 TASK [include_tasks] *********************************************************** task path: /tmp/tmp0448nu9w/tests/network/playbooks/tasks/assert_device_present.yml:3 Wednesday 03 August 2022 17:10:31 +0000 (0:00:00.043) 0:00:08.212 ****** included: /tmp/tmp0448nu9w/tests/network/playbooks/tasks/get_interface_stat.yml for /cache/rhel-7.qcow2 TASK [Get stat for interface testnic1] ***************************************** task path: /tmp/tmp0448nu9w/tests/network/playbooks/tasks/get_interface_stat.yml:3 Wednesday 03 August 2022 17:10:31 +0000 (0:00:00.042) 0:00:08.255 ****** ok: [/cache/rhel-7.qcow2] => { "changed": false, "stat": { "atime": 1659546630.206302, "block_size": 4096, "blocks": 0, "ctime": 1659546630.206302, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 13881, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": true, "isreg": false, "issock": false, "isuid": false, "lnk_source": "/sys/devices/virtual/net/testnic1", "lnk_target": "../../devices/virtual/net/testnic1", "mode": "0777", "mtime": 1659546630.206302, "nlink": 1, "path": "/sys/class/net/testnic1", "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 interface testnic1 is present] ******************************* task path: /tmp/tmp0448nu9w/tests/network/playbooks/tasks/assert_device_present.yml:4 Wednesday 03 August 2022 17:10:31 +0000 (0:00:00.306) 0:00:08.562 ****** ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [Install ethtool (test dependency)] *************************************** task path: /tmp/tmp0448nu9w/tests/network/playbooks/tests_ethtool_coalesce.yml:22 Wednesday 03 August 2022 17:10:31 +0000 (0:00:00.046) 0:00:08.608 ****** ok: [/cache/rhel-7.qcow2] => { "changed": false, "rc": 0, "results": [ "2:ethtool-4.8-10.el7.x86_64 providing ethtool is already installed" ] } TASK [TEST: I can create a profile without any coalescing option.] ************* task path: /tmp/tmp0448nu9w/tests/network/playbooks/tests_ethtool_coalesce.yml:28 Wednesday 03 August 2022 17:10:32 +0000 (0:00:00.485) 0:00:09.094 ****** ok: [/cache/rhel-7.qcow2] => {} MSG: ################################################## TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/tmp0fvd1p7_/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 03 August 2022 17:10:32 +0000 (0:00:00.042) 0:00:09.137 ****** included: /tmp/tmp0fvd1p7_/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for /cache/rhel-7.qcow2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/tmp0fvd1p7_/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 03 August 2022 17:10:32 +0000 (0:00:00.049) 0:00:09.186 ****** ok: [/cache/rhel-7.qcow2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/tmp0fvd1p7_/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 Wednesday 03 August 2022 17:10:32 +0000 (0:00:00.401) 0:00:09.587 ****** ok: [/cache/rhel-7.qcow2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/tmp0fvd1p7_/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 Wednesday 03 August 2022 17:10:33 +0000 (0:00:01.079) 0:00:10.666 ****** ok: [/cache/rhel-7.qcow2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/tmp0fvd1p7_/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 03 August 2022 17:10:34 +0000 (0:00:01.034) 0:00:11.701 ****** ok: [/cache/rhel-7.qcow2] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/tmp0fvd1p7_/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 03 August 2022 17:10:34 +0000 (0:00:00.056) 0:00:11.757 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/tmp0fvd1p7_/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 03 August 2022 17:10:34 +0000 (0:00:00.045) 0:00:11.803 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/tmp0fvd1p7_/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Wednesday 03 August 2022 17:10:35 +0000 (0:00:00.049) 0:00:11.852 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/tmp0fvd1p7_/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:35 Wednesday 03 August 2022 17:10:35 +0000 (0:00:00.073) 0:00:11.926 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/tmp0fvd1p7_/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:45 Wednesday 03 August 2022 17:10:35 +0000 (0:00:00.051) 0:00:11.977 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/tmp0fvd1p7_/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:56 Wednesday 03 August 2022 17:10:35 +0000 (0:00:00.046) 0:00:12.023 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/tmp0fvd1p7_/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:69 Wednesday 03 August 2022 17:10:35 +0000 (0:00:00.050) 0:00:12.074 ****** skipping: [/cache/rhel-7.qcow2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/tmp0fvd1p7_/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:80 Wednesday 03 August 2022 17:10:35 +0000 (0:00:00.049) 0:00:12.123 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/tmp0fvd1p7_/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:89 Wednesday 03 August 2022 17:10:35 +0000 (0:00:00.045) 0:00:12.169 ****** ok: [/cache/rhel-7.qcow2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/tmp0fvd1p7_/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:97 Wednesday 03 August 2022 17:10:36 +0000 (0:00:00.666) 0:00:12.835 ****** ok: [/cache/rhel-7.qcow2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-161904gjtauim6/tmpx_s0hrxb" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/tmp0fvd1p7_/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 Wednesday 03 August 2022 17:10:36 +0000 (0:00:00.340) 0:00:13.175 ****** changed: [/cache/rhel-7.qcow2] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "testnic1", "state": "up", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [003] #0, state:up persistent_state:present, 'testnic1': add ifcfg-rh profile 'testnic1' [004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1 (is-modified) [005] #0, state:up persistent_state:present, 'testnic1': call 'ifup testnic1': rc=0, out='', err='' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/tmp0fvd1p7_/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:118 Wednesday 03 August 2022 17:10:37 +0000 (0:00:00.748) 0:00:13.924 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/tmp0fvd1p7_/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Wednesday 03 August 2022 17:10:37 +0000 (0:00:00.049) 0:00:13.973 ****** ok: [/cache/rhel-7.qcow2] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'testnic1': add ifcfg-rh profile 'testnic1'", "[004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1 (is-modified)", "[005] #0, state:up persistent_state:present, 'testnic1': call 'ifup testnic1': rc=0, out='', err=''" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/tmp0fvd1p7_/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:128 Wednesday 03 August 2022 17:10:37 +0000 (0:00:00.058) 0:00:14.032 ****** ok: [/cache/rhel-7.qcow2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "testnic1", "state": "up", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[003] #0, state:up persistent_state:present, 'testnic1': add ifcfg-rh profile 'testnic1'\n[004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1 (is-modified)\n[005] #0, state:up persistent_state:present, 'testnic1': call 'ifup testnic1': rc=0, out='', err=''\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'testnic1': add ifcfg-rh profile 'testnic1'", "[004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1 (is-modified)", "[005] #0, state:up persistent_state:present, 'testnic1': call 'ifup testnic1': rc=0, out='', err=''" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/tmp0fvd1p7_/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Wednesday 03 August 2022 17:10:37 +0000 (0:00:00.063) 0:00:14.096 ****** skipping: [/cache/rhel-7.qcow2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/tmp0fvd1p7_/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Wednesday 03 August 2022 17:10:37 +0000 (0:00:00.048) 0:00:14.144 ****** ok: [/cache/rhel-7.qcow2] => { "changed": false, "ping": "pong" } META: role_complete for /cache/rhel-7.qcow2 TASK [Get profile's coalescing options] **************************************** task path: /tmp/tmp0448nu9w/tests/network/playbooks/tests_ethtool_coalesce.yml:44 Wednesday 03 August 2022 17:10:37 +0000 (0:00:00.429) 0:00:14.573 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [ASSERT: The profile does not contain coalescing options] ***************** task path: /tmp/tmp0448nu9w/tests/network/playbooks/tests_ethtool_coalesce.yml:49 Wednesday 03 August 2022 17:10:37 +0000 (0:00:00.045) 0:00:14.619 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get profile's coalescing options] **************************************** task path: /tmp/tmp0448nu9w/tests/network/playbooks/tests_ethtool_coalesce.yml:54 Wednesday 03 August 2022 17:10:37 +0000 (0:00:00.045) 0:00:14.664 ****** fatal: [/cache/rhel-7.qcow2]: FAILED! => { "changed": true, "cmd": [ "grep", "ETHTOOL", "/etc/sysconfig/network-scripts/ifcfg-testnic1" ], "delta": "0:00:00.003553", "end": "2022-08-03 13:10:38.076160", "rc": 1, "start": "2022-08-03 13:10:38.072607" } MSG: non-zero return code ...ignoring TASK [ASSERT: The profile does not contain coalescing options] ***************** task path: /tmp/tmp0448nu9w/tests/network/playbooks/tests_ethtool_coalesce.yml:60 Wednesday 03 August 2022 17:10:38 +0000 (0:00:00.331) 0:00:14.996 ****** ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [TEST: I can set rx-frames.] ********************************************** task path: /tmp/tmp0448nu9w/tests/network/playbooks/tests_ethtool_coalesce.yml:66 Wednesday 03 August 2022 17:10:38 +0000 (0:00:00.058) 0:00:15.055 ****** ok: [/cache/rhel-7.qcow2] => {} MSG: ################################################## TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/tmp0fvd1p7_/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 03 August 2022 17:10:38 +0000 (0:00:00.054) 0:00:15.109 ****** included: /tmp/tmp0fvd1p7_/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for /cache/rhel-7.qcow2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/tmp0fvd1p7_/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 03 August 2022 17:10:38 +0000 (0:00:00.072) 0:00:15.181 ****** ok: [/cache/rhel-7.qcow2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/tmp0fvd1p7_/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 Wednesday 03 August 2022 17:10:38 +0000 (0:00:00.461) 0:00:15.643 ****** ok: [/cache/rhel-7.qcow2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/tmp0fvd1p7_/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 Wednesday 03 August 2022 17:10:39 +0000 (0:00:00.944) 0:00:16.588 ****** ok: [/cache/rhel-7.qcow2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/tmp0fvd1p7_/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 03 August 2022 17:10:40 +0000 (0:00:00.709) 0:00:17.297 ****** ok: [/cache/rhel-7.qcow2] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/tmp0fvd1p7_/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 03 August 2022 17:10:40 +0000 (0:00:00.058) 0:00:17.356 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/tmp0fvd1p7_/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 03 August 2022 17:10:40 +0000 (0:00:00.048) 0:00:17.404 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/tmp0fvd1p7_/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Wednesday 03 August 2022 17:10:40 +0000 (0:00:00.052) 0:00:17.457 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/tmp0fvd1p7_/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:35 Wednesday 03 August 2022 17:10:40 +0000 (0:00:00.071) 0:00:17.528 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/tmp0fvd1p7_/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:45 Wednesday 03 August 2022 17:10:40 +0000 (0:00:00.047) 0:00:17.576 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/tmp0fvd1p7_/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:56 Wednesday 03 August 2022 17:10:40 +0000 (0:00:00.046) 0:00:17.622 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/tmp0fvd1p7_/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:69 Wednesday 03 August 2022 17:10:40 +0000 (0:00:00.106) 0:00:17.728 ****** skipping: [/cache/rhel-7.qcow2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/tmp0fvd1p7_/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:80 Wednesday 03 August 2022 17:10:40 +0000 (0:00:00.050) 0:00:17.779 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/tmp0fvd1p7_/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:89 Wednesday 03 August 2022 17:10:40 +0000 (0:00:00.047) 0:00:17.826 ****** ok: [/cache/rhel-7.qcow2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/tmp0fvd1p7_/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:97 Wednesday 03 August 2022 17:10:41 +0000 (0:00:00.436) 0:00:18.262 ****** ok: [/cache/rhel-7.qcow2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-161904gjtauim6/tmp2ig1tik8" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/tmp0fvd1p7_/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 Wednesday 03 August 2022 17:10:41 +0000 (0:00:00.337) 0:00:18.600 ****** changed: [/cache/rhel-7.qcow2] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "ethtool": { "coalesce": { "rx_frames": 128 } }, "ip": { "auto6": false, "dhcp4": false }, "name": "testnic1", "state": "up", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [003] #0, state:up persistent_state:present, 'testnic1': update ifcfg-rh profile 'testnic1' [004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1 (is-modified) [005] #0, state:up persistent_state:present, 'testnic1': call 'ifup testnic1': rc=0, out='', err='Cannot get device coalesce settings: Operation not supported ' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/tmp0fvd1p7_/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:118 Wednesday 03 August 2022 17:10:42 +0000 (0:00:00.520) 0:00:19.120 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/tmp0fvd1p7_/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Wednesday 03 August 2022 17:10:42 +0000 (0:00:00.048) 0:00:19.169 ****** ok: [/cache/rhel-7.qcow2] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'testnic1': update ifcfg-rh profile 'testnic1'", "[004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1 (is-modified)", "[005] #0, state:up persistent_state:present, 'testnic1': call 'ifup testnic1': rc=0, out='', err='Cannot get device coalesce settings: Operation not supported", "'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/tmp0fvd1p7_/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:128 Wednesday 03 August 2022 17:10:42 +0000 (0:00:00.055) 0:00:19.224 ****** ok: [/cache/rhel-7.qcow2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "ethtool": { "coalesce": { "rx_frames": 128 } }, "ip": { "auto6": false, "dhcp4": false }, "name": "testnic1", "state": "up", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[003] #0, state:up persistent_state:present, 'testnic1': update ifcfg-rh profile 'testnic1'\n[004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1 (is-modified)\n[005] #0, state:up persistent_state:present, 'testnic1': call 'ifup testnic1': rc=0, out='', err='Cannot get device coalesce settings: Operation not supported\n'\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'testnic1': update ifcfg-rh profile 'testnic1'", "[004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1 (is-modified)", "[005] #0, state:up persistent_state:present, 'testnic1': call 'ifup testnic1': rc=0, out='', err='Cannot get device coalesce settings: Operation not supported", "'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/tmp0fvd1p7_/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Wednesday 03 August 2022 17:10:42 +0000 (0:00:00.056) 0:00:19.281 ****** skipping: [/cache/rhel-7.qcow2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/tmp0fvd1p7_/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Wednesday 03 August 2022 17:10:42 +0000 (0:00:00.046) 0:00:19.328 ****** ok: [/cache/rhel-7.qcow2] => { "changed": false, "ping": "pong" } META: role_complete for /cache/rhel-7.qcow2 TASK [Get profile's coalescing options] **************************************** task path: /tmp/tmp0448nu9w/tests/network/playbooks/tests_ethtool_coalesce.yml:84 Wednesday 03 August 2022 17:10:42 +0000 (0:00:00.324) 0:00:19.652 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert coalesce options set in profile] ********************************** task path: /tmp/tmp0448nu9w/tests/network/playbooks/tests_ethtool_coalesce.yml:89 Wednesday 03 August 2022 17:10:42 +0000 (0:00:00.078) 0:00:19.730 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get profile's coalescing options] **************************************** task path: /tmp/tmp0448nu9w/tests/network/playbooks/tests_ethtool_coalesce.yml:95 Wednesday 03 August 2022 17:10:42 +0000 (0:00:00.042) 0:00:19.773 ****** changed: [/cache/rhel-7.qcow2] => { "changed": true, "cmd": [ "grep", "ETHTOOL", "/etc/sysconfig/network-scripts/ifcfg-testnic1" ], "delta": "0:00:00.003687", "end": "2022-08-03 13:10:43.168723", "rc": 0, "start": "2022-08-03 13:10:43.165036" } STDOUT: ETHTOOL_OPTS="-C testnic1 rx-frames 128" TASK [Assert coalesce options set in profile] ********************************** task path: /tmp/tmp0448nu9w/tests/network/playbooks/tests_ethtool_coalesce.yml:101 Wednesday 03 August 2022 17:10:43 +0000 (0:00:00.314) 0:00:20.087 ****** ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [TEST: I can clear coalescing options] ************************************ task path: /tmp/tmp0448nu9w/tests/network/playbooks/tests_ethtool_coalesce.yml:107 Wednesday 03 August 2022 17:10:43 +0000 (0:00:00.054) 0:00:20.142 ****** ok: [/cache/rhel-7.qcow2] => {} MSG: ################################################## TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/tmp0fvd1p7_/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 03 August 2022 17:10:43 +0000 (0:00:00.055) 0:00:20.197 ****** included: /tmp/tmp0fvd1p7_/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for /cache/rhel-7.qcow2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/tmp0fvd1p7_/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 03 August 2022 17:10:43 +0000 (0:00:00.067) 0:00:20.265 ****** ok: [/cache/rhel-7.qcow2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/tmp0fvd1p7_/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 Wednesday 03 August 2022 17:10:43 +0000 (0:00:00.399) 0:00:20.665 ****** ok: [/cache/rhel-7.qcow2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/tmp0fvd1p7_/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 Wednesday 03 August 2022 17:10:44 +0000 (0:00:00.907) 0:00:21.573 ****** ok: [/cache/rhel-7.qcow2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/tmp0fvd1p7_/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 03 August 2022 17:10:45 +0000 (0:00:00.717) 0:00:22.290 ****** ok: [/cache/rhel-7.qcow2] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/tmp0fvd1p7_/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 03 August 2022 17:10:45 +0000 (0:00:00.054) 0:00:22.344 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/tmp0fvd1p7_/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 03 August 2022 17:10:45 +0000 (0:00:00.047) 0:00:22.392 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/tmp0fvd1p7_/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Wednesday 03 August 2022 17:10:45 +0000 (0:00:00.048) 0:00:22.440 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/tmp0fvd1p7_/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:35 Wednesday 03 August 2022 17:10:45 +0000 (0:00:00.074) 0:00:22.514 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/tmp0fvd1p7_/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:45 Wednesday 03 August 2022 17:10:45 +0000 (0:00:00.049) 0:00:22.563 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/tmp0fvd1p7_/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:56 Wednesday 03 August 2022 17:10:45 +0000 (0:00:00.057) 0:00:22.621 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/tmp0fvd1p7_/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:69 Wednesday 03 August 2022 17:10:45 +0000 (0:00:00.051) 0:00:22.672 ****** skipping: [/cache/rhel-7.qcow2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/tmp0fvd1p7_/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:80 Wednesday 03 August 2022 17:10:45 +0000 (0:00:00.050) 0:00:22.722 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/tmp0fvd1p7_/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:89 Wednesday 03 August 2022 17:10:45 +0000 (0:00:00.046) 0:00:22.769 ****** ok: [/cache/rhel-7.qcow2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/tmp0fvd1p7_/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:97 Wednesday 03 August 2022 17:10:46 +0000 (0:00:00.430) 0:00:23.199 ****** ok: [/cache/rhel-7.qcow2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-161904gjtauim6/tmp41atjyan" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/tmp0fvd1p7_/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 Wednesday 03 August 2022 17:10:46 +0000 (0:00:00.318) 0:00:23.518 ****** changed: [/cache/rhel-7.qcow2] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "testnic1", "state": "up", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [003] #0, state:up persistent_state:present, 'testnic1': update ifcfg-rh profile 'testnic1' [004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1 (is-modified) [005] #0, state:up persistent_state:present, 'testnic1': call 'ifup testnic1': rc=0, out='', err='' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/tmp0fvd1p7_/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:118 Wednesday 03 August 2022 17:10:47 +0000 (0:00:00.532) 0:00:24.050 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/tmp0fvd1p7_/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Wednesday 03 August 2022 17:10:47 +0000 (0:00:00.046) 0:00:24.097 ****** ok: [/cache/rhel-7.qcow2] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'testnic1': update ifcfg-rh profile 'testnic1'", "[004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1 (is-modified)", "[005] #0, state:up persistent_state:present, 'testnic1': call 'ifup testnic1': rc=0, out='', err=''" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/tmp0fvd1p7_/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:128 Wednesday 03 August 2022 17:10:47 +0000 (0:00:00.056) 0:00:24.154 ****** ok: [/cache/rhel-7.qcow2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "testnic1", "state": "up", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[003] #0, state:up persistent_state:present, 'testnic1': update ifcfg-rh profile 'testnic1'\n[004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1 (is-modified)\n[005] #0, state:up persistent_state:present, 'testnic1': call 'ifup testnic1': rc=0, out='', err=''\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'testnic1': update ifcfg-rh profile 'testnic1'", "[004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1 (is-modified)", "[005] #0, state:up persistent_state:present, 'testnic1': call 'ifup testnic1': rc=0, out='', err=''" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/tmp0fvd1p7_/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Wednesday 03 August 2022 17:10:47 +0000 (0:00:00.056) 0:00:24.210 ****** skipping: [/cache/rhel-7.qcow2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/tmp0fvd1p7_/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Wednesday 03 August 2022 17:10:47 +0000 (0:00:00.046) 0:00:24.256 ****** ok: [/cache/rhel-7.qcow2] => { "changed": false, "ping": "pong" } META: role_complete for /cache/rhel-7.qcow2 TASK [Get profile's coalescing options] **************************************** task path: /tmp/tmp0448nu9w/tests/network/playbooks/tests_ethtool_coalesce.yml:122 Wednesday 03 August 2022 17:10:47 +0000 (0:00:00.324) 0:00:24.580 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [ASSERT: The profile does reset coalescing options] *********************** task path: /tmp/tmp0448nu9w/tests/network/playbooks/tests_ethtool_coalesce.yml:127 Wednesday 03 August 2022 17:10:47 +0000 (0:00:00.043) 0:00:24.624 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get profile's coalescing options] **************************************** task path: /tmp/tmp0448nu9w/tests/network/playbooks/tests_ethtool_coalesce.yml:132 Wednesday 03 August 2022 17:10:47 +0000 (0:00:00.044) 0:00:24.668 ****** fatal: [/cache/rhel-7.qcow2]: FAILED! => { "changed": true, "cmd": [ "grep", "ETHTOOL", "/etc/sysconfig/network-scripts/ifcfg-testnic1" ], "delta": "0:00:01.005378", "end": "2022-08-03 13:10:49.070286", "rc": 1, "start": "2022-08-03 13:10:48.064908" } MSG: non-zero return code ...ignoring TASK [ASSERT: The profile does reset coalescing options] *********************** task path: /tmp/tmp0448nu9w/tests/network/playbooks/tests_ethtool_coalesce.yml:138 Wednesday 03 August 2022 17:10:49 +0000 (0:00:01.325) 0:00:25.993 ****** ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/tmp0fvd1p7_/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 03 August 2022 17:10:49 +0000 (0:00:00.084) 0:00:26.077 ****** included: /tmp/tmp0fvd1p7_/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for /cache/rhel-7.qcow2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/tmp0fvd1p7_/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 03 August 2022 17:10:49 +0000 (0:00:00.067) 0:00:26.145 ****** ok: [/cache/rhel-7.qcow2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/tmp0fvd1p7_/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 Wednesday 03 August 2022 17:10:49 +0000 (0:00:00.406) 0:00:26.552 ****** ok: [/cache/rhel-7.qcow2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/tmp0fvd1p7_/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 Wednesday 03 August 2022 17:10:50 +0000 (0:00:00.911) 0:00:27.463 ****** ok: [/cache/rhel-7.qcow2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/tmp0fvd1p7_/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 03 August 2022 17:10:51 +0000 (0:00:00.685) 0:00:28.148 ****** ok: [/cache/rhel-7.qcow2] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/tmp0fvd1p7_/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 03 August 2022 17:10:51 +0000 (0:00:00.094) 0:00:28.242 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/tmp0fvd1p7_/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 03 August 2022 17:10:51 +0000 (0:00:00.095) 0:00:28.338 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/tmp0fvd1p7_/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Wednesday 03 August 2022 17:10:51 +0000 (0:00:00.047) 0:00:28.385 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/tmp0fvd1p7_/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:35 Wednesday 03 August 2022 17:10:51 +0000 (0:00:00.069) 0:00:28.455 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/tmp0fvd1p7_/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:45 Wednesday 03 August 2022 17:10:51 +0000 (0:00:00.047) 0:00:28.502 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/tmp0fvd1p7_/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:56 Wednesday 03 August 2022 17:10:51 +0000 (0:00:00.046) 0:00:28.549 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/tmp0fvd1p7_/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:69 Wednesday 03 August 2022 17:10:51 +0000 (0:00:00.050) 0:00:28.599 ****** skipping: [/cache/rhel-7.qcow2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/tmp0fvd1p7_/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:80 Wednesday 03 August 2022 17:10:51 +0000 (0:00:00.046) 0:00:28.646 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/tmp0fvd1p7_/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:89 Wednesday 03 August 2022 17:10:51 +0000 (0:00:00.045) 0:00:28.691 ****** ok: [/cache/rhel-7.qcow2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/tmp0fvd1p7_/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:97 Wednesday 03 August 2022 17:10:52 +0000 (0:00:00.418) 0:00:29.110 ****** ok: [/cache/rhel-7.qcow2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-161904gjtauim6/tmp3ou1x90y" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/tmp0fvd1p7_/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 Wednesday 03 August 2022 17:10:52 +0000 (0:00:00.350) 0:00:29.460 ****** changed: [/cache/rhel-7.qcow2] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "name": "testnic1", "persistent_state": "absent" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:absent, 'testnic1': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-testnic1' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/tmp0fvd1p7_/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:118 Wednesday 03 August 2022 17:10:53 +0000 (0:00:00.436) 0:00:29.897 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/tmp0fvd1p7_/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Wednesday 03 August 2022 17:10:53 +0000 (0:00:00.049) 0:00:29.946 ****** ok: [/cache/rhel-7.qcow2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:absent, 'testnic1': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-testnic1'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/tmp0fvd1p7_/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:128 Wednesday 03 August 2022 17:10:53 +0000 (0:00:00.059) 0:00:30.005 ****** ok: [/cache/rhel-7.qcow2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "name": "testnic1", "persistent_state": "absent" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:absent, 'testnic1': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-testnic1'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:absent, 'testnic1': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-testnic1'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/tmp0fvd1p7_/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Wednesday 03 August 2022 17:10:53 +0000 (0:00:00.090) 0:00:30.096 ****** skipping: [/cache/rhel-7.qcow2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/tmp0fvd1p7_/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Wednesday 03 August 2022 17:10:53 +0000 (0:00:00.108) 0:00:30.204 ****** ok: [/cache/rhel-7.qcow2] => { "changed": false, "ping": "pong" } META: role_complete for /cache/rhel-7.qcow2 TASK [include_tasks] *********************************************************** task path: /tmp/tmp0448nu9w/tests/network/playbooks/tests_ethtool_coalesce.yml:154 Wednesday 03 August 2022 17:10:53 +0000 (0:00:00.339) 0:00:30.544 ****** included: /tmp/tmp0448nu9w/tests/network/playbooks/tasks/manage_test_interface.yml for /cache/rhel-7.qcow2 TASK [Ensure state in ["present", "absent"]] *********************************** task path: /tmp/tmp0448nu9w/tests/network/playbooks/tasks/manage_test_interface.yml:3 Wednesday 03 August 2022 17:10:53 +0000 (0:00:00.071) 0:00:30.615 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /tmp/tmp0448nu9w/tests/network/playbooks/tasks/manage_test_interface.yml:8 Wednesday 03 August 2022 17:10:53 +0000 (0:00:00.045) 0:00:30.661 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [include_tasks] *********************************************************** task path: /tmp/tmp0448nu9w/tests/network/playbooks/tasks/manage_test_interface.yml:13 Wednesday 03 August 2022 17:10:53 +0000 (0:00:00.047) 0:00:30.708 ****** included: /tmp/tmp0448nu9w/tests/network/playbooks/tasks/show_interfaces.yml for /cache/rhel-7.qcow2 TASK [include_tasks] *********************************************************** task path: /tmp/tmp0448nu9w/tests/network/playbooks/tasks/show_interfaces.yml:3 Wednesday 03 August 2022 17:10:53 +0000 (0:00:00.065) 0:00:30.774 ****** included: /tmp/tmp0448nu9w/tests/network/playbooks/tasks/get_current_interfaces.yml for /cache/rhel-7.qcow2 TASK [Gather current interface info] ******************************************* task path: /tmp/tmp0448nu9w/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 03 August 2022 17:10:54 +0000 (0:00:00.064) 0:00:30.838 ****** ok: [/cache/rhel-7.qcow2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.004402", "end": "2022-08-03 13:10:54.237433", "rc": 0, "start": "2022-08-03 13:10:54.233031" } STDOUT: bond0 bonding_masters eth0 lo peertestnic1 testnic1 TASK [Set current_interfaces] ************************************************** task path: /tmp/tmp0448nu9w/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 03 August 2022 17:10:54 +0000 (0:00:00.320) 0:00:31.159 ****** ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo", "peertestnic1", "testnic1" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/tmp0448nu9w/tests/network/playbooks/tasks/show_interfaces.yml:4 Wednesday 03 August 2022 17:10:54 +0000 (0:00:00.058) 0:00:31.217 ****** ok: [/cache/rhel-7.qcow2] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo', 'peertestnic1', 'testnic1'] TASK [Install iproute] ********************************************************* task path: /tmp/tmp0448nu9w/tests/network/playbooks/tasks/manage_test_interface.yml:15 Wednesday 03 August 2022 17:10:54 +0000 (0:00:00.057) 0:00:31.275 ****** ok: [/cache/rhel-7.qcow2] => { "changed": false, "rc": 0, "results": [ "iproute-4.11.0-30.el7.x86_64 providing iproute is already installed" ] } TASK [Create veth interface testnic1] ****************************************** task path: /tmp/tmp0448nu9w/tests/network/playbooks/tasks/manage_test_interface.yml:21 Wednesday 03 August 2022 17:10:55 +0000 (0:00:00.558) 0:00:31.833 ****** skipping: [/cache/rhel-7.qcow2] => (item=ip link add testnic1 type veth peer name peertestnic1) => { "ansible_loop_var": "item", "changed": false, "item": "ip link add testnic1 type veth peer name peertestnic1", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-7.qcow2] => (item=ip link set peertestnic1 up) => { "ansible_loop_var": "item", "changed": false, "item": "ip link set peertestnic1 up", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-7.qcow2] => (item=ip link set testnic1 up) => { "ansible_loop_var": "item", "changed": false, "item": "ip link set testnic1 up", "skip_reason": "Conditional result was False" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /tmp/tmp0448nu9w/tests/network/playbooks/tasks/manage_test_interface.yml:28 Wednesday 03 August 2022 17:10:55 +0000 (0:00:00.060) 0:00:31.894 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete veth interface testnic1] ****************************************** task path: /tmp/tmp0448nu9w/tests/network/playbooks/tasks/manage_test_interface.yml:35 Wednesday 03 August 2022 17:10:55 +0000 (0:00:00.049) 0:00:31.943 ****** changed: [/cache/rhel-7.qcow2] => { "changed": true, "cmd": [ "ip", "link", "del", "testnic1", "type", "veth" ], "delta": "0:00:00.010807", "end": "2022-08-03 13:10:55.362821", "rc": 0, "start": "2022-08-03 13:10:55.352014" } TASK [Create dummy interface testnic1] ***************************************** task path: /tmp/tmp0448nu9w/tests/network/playbooks/tasks/manage_test_interface.yml:40 Wednesday 03 August 2022 17:10:55 +0000 (0:00:00.343) 0:00:32.286 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface testnic1] ***************************************** task path: /tmp/tmp0448nu9w/tests/network/playbooks/tasks/manage_test_interface.yml:44 Wednesday 03 August 2022 17:10:55 +0000 (0:00:00.048) 0:00:32.335 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface testnic1] ******************************************* task path: /tmp/tmp0448nu9w/tests/network/playbooks/tasks/manage_test_interface.yml:49 Wednesday 03 August 2022 17:10:55 +0000 (0:00:00.047) 0:00:32.382 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface testnic1] ******************************************* task path: /tmp/tmp0448nu9w/tests/network/playbooks/tasks/manage_test_interface.yml:53 Wednesday 03 August 2022 17:10:55 +0000 (0:00:00.051) 0:00:32.434 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/rhel-7.qcow2 : ok=93 changed=12 unreachable=0 failed=0 skipped=64 rescued=0 ignored=2 Wednesday 03 August 2022 17:10:55 +0000 (0:00:00.066) 0:00:32.500 ****** =============================================================================== set up internal repositories -------------------------------------------- 1.36s /cache/rhel-7_setup.yml:5 ----------------------------------------------------- Get profile's coalescing options ---------------------------------------- 1.33s /tmp/tmp0448nu9w/tests/network/playbooks/tests_ethtool_coalesce.yml:132 ------- fedora.linux_system_roles.network : Configure networking connection profiles --- 1.28s /tmp/tmp0fvd1p7_/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 fedora.linux_system_roles.network : Enable network service -------------- 1.10s /tmp/tmp0fvd1p7_/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:89 fedora.linux_system_roles.network : Check which services are running ---- 1.08s /tmp/tmp0fvd1p7_/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 fedora.linux_system_roles.network : Check which packages are installed --- 1.03s /tmp/tmp0fvd1p7_/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 Gathering Facts --------------------------------------------------------- 0.95s /tmp/tmp0448nu9w/tests/network/tests_ethtool_coalesce_initscripts.yml:4 ------- fedora.linux_system_roles.network : Check which services are running ---- 0.94s /tmp/tmp0fvd1p7_/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 fedora.linux_system_roles.network : Check which services are running ---- 0.91s /tmp/tmp0fvd1p7_/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 fedora.linux_system_roles.network : Check which services are running ---- 0.91s /tmp/tmp0fvd1p7_/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 Create veth interface testnic1 ------------------------------------------ 0.88s /tmp/tmp0448nu9w/tests/network/playbooks/tasks/manage_test_interface.yml:21 --- fedora.linux_system_roles.network : Re-test connectivity ---------------- 0.75s /tmp/tmp0fvd1p7_/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 fedora.linux_system_roles.network : Check which packages are installed --- 0.72s /tmp/tmp0fvd1p7_/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 Gathering Facts --------------------------------------------------------- 0.71s /tmp/tmp0448nu9w/tests/network/playbooks/tests_ethtool_coalesce.yml:3 --------- fedora.linux_system_roles.network : Check which packages are installed --- 0.71s /tmp/tmp0fvd1p7_/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 fedora.linux_system_roles.network : Check which packages are installed --- 0.69s /tmp/tmp0fvd1p7_/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 fedora.linux_system_roles.network : Ensure initscripts network file dependency is present --- 0.66s /tmp/tmp0fvd1p7_/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:97 Install iproute --------------------------------------------------------- 0.66s /tmp/tmp0448nu9w/tests/network/playbooks/tasks/manage_test_interface.yml:15 --- Install iproute --------------------------------------------------------- 0.56s /tmp/tmp0448nu9w/tests/network/playbooks/tasks/manage_test_interface.yml:15 --- fedora.linux_system_roles.network : Configure networking connection profiles --- 0.52s /tmp/tmp0fvd1p7_/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 PLAYBOOK: _restore.yml ********************************************************* 1 plays in /tmp/tmp0448nu9w/tests/network/_restore.yml PLAY [all] ********************************************************************* META: ran handlers TASK [Restore system files] **************************************************** task path: /tmp/tmp0448nu9w/tests/network/_restore.yml:4 Wednesday 03 August 2022 17:10:55 +0000 (0:00:00.040) 0:00:32.541 ****** changed: [/cache/rhel-7.qcow2] => { "changed": true, "cmd": "(cd /; tar -xf /tmp/network.backup.tar)", "delta": "0:00:00.007287", "end": "2022-08-03 13:10:55.932782", "rc": 0, "start": "2022-08-03 13:10:55.925495" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/rhel-7.qcow2 : ok=94 changed=13 unreachable=0 failed=0 skipped=64 rescued=0 ignored=2 Wednesday 03 August 2022 17:10:56 +0000 (0:00:00.328) 0:00:32.870 ****** =============================================================================== set up internal repositories -------------------------------------------- 1.36s /cache/rhel-7_setup.yml:5 ----------------------------------------------------- Get profile's coalescing options ---------------------------------------- 1.33s /tmp/tmp0448nu9w/tests/network/playbooks/tests_ethtool_coalesce.yml:132 ------- fedora.linux_system_roles.network : Configure networking connection profiles --- 1.28s /tmp/tmp0fvd1p7_/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 fedora.linux_system_roles.network : Enable network service -------------- 1.10s /tmp/tmp0fvd1p7_/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:89 fedora.linux_system_roles.network : Check which services are running ---- 1.08s /tmp/tmp0fvd1p7_/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 fedora.linux_system_roles.network : Check which packages are installed --- 1.03s /tmp/tmp0fvd1p7_/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 Gathering Facts --------------------------------------------------------- 0.95s /tmp/tmp0448nu9w/tests/network/tests_ethtool_coalesce_initscripts.yml:4 ------- fedora.linux_system_roles.network : Check which services are running ---- 0.94s /tmp/tmp0fvd1p7_/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 fedora.linux_system_roles.network : Check which services are running ---- 0.91s /tmp/tmp0fvd1p7_/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 fedora.linux_system_roles.network : Check which services are running ---- 0.91s /tmp/tmp0fvd1p7_/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 Create veth interface testnic1 ------------------------------------------ 0.88s /tmp/tmp0448nu9w/tests/network/playbooks/tasks/manage_test_interface.yml:21 --- fedora.linux_system_roles.network : Re-test connectivity ---------------- 0.75s /tmp/tmp0fvd1p7_/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 fedora.linux_system_roles.network : Check which packages are installed --- 0.72s /tmp/tmp0fvd1p7_/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 Gathering Facts --------------------------------------------------------- 0.71s /tmp/tmp0448nu9w/tests/network/playbooks/tests_ethtool_coalesce.yml:3 --------- fedora.linux_system_roles.network : Check which packages are installed --- 0.71s /tmp/tmp0fvd1p7_/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 fedora.linux_system_roles.network : Check which packages are installed --- 0.69s /tmp/tmp0fvd1p7_/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 fedora.linux_system_roles.network : Ensure initscripts network file dependency is present --- 0.66s /tmp/tmp0fvd1p7_/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:97 Install iproute --------------------------------------------------------- 0.66s /tmp/tmp0448nu9w/tests/network/playbooks/tasks/manage_test_interface.yml:15 --- Install iproute --------------------------------------------------------- 0.56s /tmp/tmp0448nu9w/tests/network/playbooks/tasks/manage_test_interface.yml:15 --- fedora.linux_system_roles.network : Configure networking connection profiles --- 0.52s /tmp/tmp0fvd1p7_/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106