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/tmpe4dwqm__ 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: _backup.yml ********************************************************** 1 plays in /tmp/tmplbj_o459/tests/_backup.yml PLAY [all] ********************************************************************* META: ran handlers TASK [Get stats of system files] *********************************************** task path: /tmp/tmplbj_o459/tests/_backup.yml:6 Wednesday 03 August 2022 17:22:10 +0000 (0:00:00.018) 0:00:00.018 ****** ok: [/cache/centos-7.qcow2c.snap] => (item=/etc/resolv.conf) => { "ansible_facts": { "discovered_interpreter_python": "/usr/bin/python" }, "ansible_loop_var": "item", "changed": false, "item": "/etc/resolv.conf", "stat": { "atime": 1659547329.7794898, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "58d0b40c7f3b3443c40de4c19aee35ddf579fd17", "ctime": 1659547329.7794898, "dev": 64769, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 8331, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1659546490.0, "nlink": 1, "path": "/etc/resolv.conf", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 61, "uid": 0, "version": "18446744072634941332", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Check if system files exist] ********************************************* task path: /tmp/tmplbj_o459/tests/_backup.yml:13 Wednesday 03 August 2022 17:22:11 +0000 (0:00:00.517) 0:00:00.535 ****** [WARNING]: conditional statements should not include jinja2 templating delimiters such as {{ }} or {% %}. Found: {{ item.stat.exists }} ok: [/cache/centos-7.qcow2c.snap] => (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': 1659546490.0, 'block_size': 4096, 'inode': 8331, 'isgid': False, 'size': 61, 'executable': False, 'isuid': False, 'readable': True, 'version': '18446744072634941332', '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': 1659547329.7794898, 'isdir': False, 'ctime': 1659547329.7794898, 'isblk': False, 'wgrp': False, 'checksum': '58d0b40c7f3b3443c40de4c19aee35ddf579fd17', 'dev': 64769, 'roth': True, 'isfifo': False, 'mode': '0644', 'xgrp': False, 'rusr': True, 'attributes': []}, 'changed': False, 'ansible_facts': {'discovered_interpreter_python': '/usr/bin/python'}, '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_facts": { "discovered_interpreter_python": "/usr/bin/python" }, "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": 1659547329.7794898, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "58d0b40c7f3b3443c40de4c19aee35ddf579fd17", "ctime": 1659547329.7794898, "dev": 64769, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 8331, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1659546490.0, "nlink": 1, "path": "/etc/resolv.conf", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 61, "uid": 0, "version": "18446744072634941332", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } } TASK [Back up system files] **************************************************** task path: /tmp/tmplbj_o459/tests/_backup.yml:19 Wednesday 03 August 2022 17:22:11 +0000 (0:00:00.034) 0:00:00.570 ****** changed: [/cache/centos-7.qcow2c.snap] => { "changed": true, "cmd": [ "tar", "-cf", "/tmp/network.backup.tar", "--same-owner", "--same-permissions", "/etc/resolv.conf" ], "delta": "0:00:00.004455", "end": "2022-08-03 17:22:11.400105", "rc": 0, "start": "2022-08-03 17:22:11.395650" } STDERR: tar: Removing leading `/' from member names META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/centos-7.qcow2c.snap : ok=3 changed=1 unreachable=0 failed=0 skipped=0 rescued=0 ignored=0 Wednesday 03 August 2022 17:22:11 +0000 (0:00:00.452) 0:00:01.023 ****** =============================================================================== Get stats of system files ----------------------------------------------- 0.52s /tmp/tmplbj_o459/tests/_backup.yml:6 ------------------------------------------ Back up system files ---------------------------------------------------- 0.45s /tmp/tmplbj_o459/tests/_backup.yml:19 ----------------------------------------- Check if system files exist --------------------------------------------- 0.03s /tmp/tmplbj_o459/tests/_backup.yml:13 ----------------------------------------- PLAYBOOK: tests_ethtool_ring_initscripts.yml *********************************** 2 plays in /tmp/tmplbj_o459/tests/tests_ethtool_ring_initscripts.yml PLAY [Run playbook 'playbooks/tests_ethtool_ring.yml' with initscripts as provider] *** TASK [Gathering Facts] ********************************************************* task path: /tmp/tmplbj_o459/tests/tests_ethtool_ring_initscripts.yml:4 Wednesday 03 August 2022 17:22:11 +0000 (0:00:00.079) 0:00:01.102 ****** ok: [/cache/centos-7.qcow2c.snap] META: ran handlers TASK [include_tasks] *********************************************************** task path: /tmp/tmplbj_o459/tests/tests_ethtool_ring_initscripts.yml:7 Wednesday 03 August 2022 17:22:13 +0000 (0:00:01.967) 0:00:03.070 ****** included: /tmp/tmplbj_o459/tests/tasks/el_repo_setup.yml for /cache/centos-7.qcow2c.snap TASK [Fix CentOS6 Base repo] *************************************************** task path: /tmp/tmplbj_o459/tests/tasks/el_repo_setup.yml:2 Wednesday 03 August 2022 17:22:13 +0000 (0:00:00.026) 0:00:03.096 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [include_tasks] *********************************************************** task path: /tmp/tmplbj_o459/tests/tasks/el_repo_setup.yml:27 Wednesday 03 August 2022 17:22:13 +0000 (0:00:00.021) 0:00:03.118 ****** included: /tmp/tmplbj_o459/tests/tasks/enable_epel.yml for /cache/centos-7.qcow2c.snap TASK [Create EPEL 7] *********************************************************** task path: /tmp/tmplbj_o459/tests/tasks/enable_epel.yml:4 Wednesday 03 August 2022 17:22:14 +0000 (0:00:00.027) 0:00:03.146 ****** ok: [/cache/centos-7.qcow2c.snap] => { "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/tmplbj_o459/tests/tasks/enable_epel.yml:11 Wednesday 03 August 2022 17:22:14 +0000 (0:00:00.305) 0:00:03.451 ****** changed: [/cache/centos-7.qcow2c.snap] => { "changed": true, "cmd": [ "yum-config-manager", "--enable", "epel" ], "delta": "0:00:00.168494", "end": "2022-08-03 17:22:14.313267", "rc": 0, "start": "2022-08-03 17:22:14.144773" } STDOUT: Loaded plugins: fastestmirror ================================== repo: epel ================================== [epel] async = True bandwidth = 0 base_persistdir = /var/lib/yum/repos/x86_64/7 baseurl = cache = 0 cachedir = /var/cache/yum/x86_64/7/epel check_config_file_age = True compare_providers_priority = 80 cost = 1000 deltarpm_metadata_percentage = 100 deltarpm_percentage = enabled = True enablegroups = True exclude = failovermethod = priority ftp_disable_epsv = False gpgcadir = /var/lib/yum/repos/x86_64/7/epel/gpgcadir gpgcakey = gpgcheck = True gpgdir = /var/lib/yum/repos/x86_64/7/epel/gpgdir gpgkey = file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-7 hdrdir = /var/cache/yum/x86_64/7/epel/headers http_caching = all includepkgs = ip_resolve = keepalive = True keepcache = True 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=genclo&content=centos minrate = 0 mirrorlist = mirrorlist_expire = 86400 name = Extra Packages for Enterprise Linux 7 - x86_64 old_base_cache_dir = password = persistdir = /var/lib/yum/repos/x86_64/7/epel pkgdir = /var/cache/yum/x86_64/7/epel/packages proxy = False proxy_dict = proxy_password = proxy_username = repo_gpgcheck = False retries = 10 skip_if_unavailable = False ssl_check_cert_permissions = True sslcacert = sslclientcert = sslclientkey = sslverify = True throttle = 0 timeout = 30.0 ui_id = epel/x86_64 ui_repoid_vars = releasever, basearch username = TASK [Enable EPEL 8] *********************************************************** task path: /tmp/tmplbj_o459/tests/tasks/enable_epel.yml:17 Wednesday 03 August 2022 17:22:14 +0000 (0:00:00.485) 0:00:03.936 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /tmp/tmplbj_o459/tests/tasks/enable_epel.yml:26 Wednesday 03 August 2022 17:22:14 +0000 (0:00:00.022) 0:00:03.959 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'initscripts'] *********************************** task path: /tmp/tmplbj_o459/tests/tests_ethtool_ring_initscripts.yml:8 Wednesday 03 August 2022 17:22:14 +0000 (0:00:00.021) 0:00:03.980 ****** ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "network_provider": "initscripts" }, "changed": false } META: ran handlers META: ran handlers PLAY [all] ********************************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmplbj_o459/tests/playbooks/tests_ethtool_ring.yml:3 Wednesday 03 August 2022 17:22:14 +0000 (0:00:00.050) 0:00:04.031 ****** ok: [/cache/centos-7.qcow2c.snap] META: ran handlers TASK [Show playbook name] ****************************************************** task path: /tmp/tmplbj_o459/tests/playbooks/tests_ethtool_ring.yml:8 Wednesday 03 August 2022 17:22:15 +0000 (0:00:00.733) 0:00:04.764 ****** ok: [/cache/centos-7.qcow2c.snap] => {} MSG: this is: playbooks/tests_ethtool_ring.yml TASK [INIT: Ethtool ring tests] ************************************************ task path: /tmp/tmplbj_o459/tests/playbooks/tests_ethtool_ring.yml:14 Wednesday 03 August 2022 17:22:15 +0000 (0:00:00.045) 0:00:04.810 ****** ok: [/cache/centos-7.qcow2c.snap] => {} MSG: ################################################## TASK [include_tasks] *********************************************************** task path: /tmp/tmplbj_o459/tests/playbooks/tests_ethtool_ring.yml:17 Wednesday 03 August 2022 17:22:15 +0000 (0:00:00.060) 0:00:04.871 ****** included: /tmp/tmplbj_o459/tests/playbooks/tasks/show_interfaces.yml for /cache/centos-7.qcow2c.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmplbj_o459/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 03 August 2022 17:22:15 +0000 (0:00:00.047) 0:00:04.919 ****** included: /tmp/tmplbj_o459/tests/playbooks/tasks/get_current_interfaces.yml for /cache/centos-7.qcow2c.snap TASK [Gather current interface info] ******************************************* task path: /tmp/tmplbj_o459/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 03 August 2022 17:22:15 +0000 (0:00:00.043) 0:00:04.962 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.004173", "end": "2022-08-03 17:22:15.671097", "rc": 0, "start": "2022-08-03 17:22:15.666924" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/tmplbj_o459/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 03 August 2022 17:22:16 +0000 (0:00:00.330) 0:00:05.292 ****** ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/tmplbj_o459/tests/playbooks/tasks/show_interfaces.yml:4 Wednesday 03 August 2022 17:22:16 +0000 (0:00:00.045) 0:00:05.338 ****** ok: [/cache/centos-7.qcow2c.snap] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo'] TASK [include_tasks] *********************************************************** task path: /tmp/tmplbj_o459/tests/playbooks/tests_ethtool_ring.yml:18 Wednesday 03 August 2022 17:22:16 +0000 (0:00:00.046) 0:00:05.384 ****** included: /tmp/tmplbj_o459/tests/playbooks/tasks/manage_test_interface.yml for /cache/centos-7.qcow2c.snap TASK [Ensure state in ["present", "absent"]] *********************************** task path: /tmp/tmplbj_o459/tests/playbooks/tasks/manage_test_interface.yml:3 Wednesday 03 August 2022 17:22:16 +0000 (0:00:00.047) 0:00:05.431 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /tmp/tmplbj_o459/tests/playbooks/tasks/manage_test_interface.yml:8 Wednesday 03 August 2022 17:22:16 +0000 (0:00:00.033) 0:00:05.465 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [include_tasks] *********************************************************** task path: /tmp/tmplbj_o459/tests/playbooks/tasks/manage_test_interface.yml:13 Wednesday 03 August 2022 17:22:16 +0000 (0:00:00.039) 0:00:05.505 ****** included: /tmp/tmplbj_o459/tests/playbooks/tasks/show_interfaces.yml for /cache/centos-7.qcow2c.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmplbj_o459/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 03 August 2022 17:22:16 +0000 (0:00:00.045) 0:00:05.550 ****** included: /tmp/tmplbj_o459/tests/playbooks/tasks/get_current_interfaces.yml for /cache/centos-7.qcow2c.snap TASK [Gather current interface info] ******************************************* task path: /tmp/tmplbj_o459/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 03 August 2022 17:22:16 +0000 (0:00:00.041) 0:00:05.592 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.004035", "end": "2022-08-03 17:22:16.299506", "rc": 0, "start": "2022-08-03 17:22:16.295471" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/tmplbj_o459/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 03 August 2022 17:22:16 +0000 (0:00:00.331) 0:00:05.923 ****** ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/tmplbj_o459/tests/playbooks/tasks/show_interfaces.yml:4 Wednesday 03 August 2022 17:22:16 +0000 (0:00:00.045) 0:00:05.968 ****** ok: [/cache/centos-7.qcow2c.snap] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /tmp/tmplbj_o459/tests/playbooks/tasks/manage_test_interface.yml:15 Wednesday 03 August 2022 17:22:16 +0000 (0:00:00.045) 0:00:06.014 ****** ok: [/cache/centos-7.qcow2c.snap] => { "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/tmplbj_o459/tests/playbooks/tasks/manage_test_interface.yml:21 Wednesday 03 August 2022 17:22:17 +0000 (0:00:00.730) 0:00:06.744 ****** changed: [/cache/centos-7.qcow2c.snap] => (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.008322", "end": "2022-08-03 17:22:17.500226", "item": "ip link add testnic1 type veth peer name peertestnic1", "rc": 0, "start": "2022-08-03 17:22:17.491904" } changed: [/cache/centos-7.qcow2c.snap] => (item=ip link set peertestnic1 up) => { "ansible_loop_var": "item", "changed": true, "cmd": [ "ip", "link", "set", "peertestnic1", "up" ], "delta": "0:00:00.018542", "end": "2022-08-03 17:22:17.806053", "item": "ip link set peertestnic1 up", "rc": 0, "start": "2022-08-03 17:22:17.787511" } changed: [/cache/centos-7.qcow2c.snap] => (item=ip link set testnic1 up) => { "ansible_loop_var": "item", "changed": true, "cmd": [ "ip", "link", "set", "testnic1", "up" ], "delta": "0:00:00.005651", "end": "2022-08-03 17:22:18.119026", "item": "ip link set testnic1 up", "rc": 0, "start": "2022-08-03 17:22:18.113375" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /tmp/tmplbj_o459/tests/playbooks/tasks/manage_test_interface.yml:29 Wednesday 03 August 2022 17:22:18 +0000 (0:00:00.996) 0:00:07.741 ****** changed: [/cache/centos-7.qcow2c.snap] => { "changed": true, "cmd": [ "nmcli", "d", "set", "testnic1", "managed", "true" ], "delta": "0:00:00.023833", "end": "2022-08-03 17:22:18.510771", "rc": 0, "start": "2022-08-03 17:22:18.486938" } TASK [Delete veth interface testnic1] ****************************************** task path: /tmp/tmplbj_o459/tests/playbooks/tasks/manage_test_interface.yml:36 Wednesday 03 August 2022 17:22:19 +0000 (0:00:00.394) 0:00:08.135 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create dummy interface testnic1] ***************************************** task path: /tmp/tmplbj_o459/tests/playbooks/tasks/manage_test_interface.yml:42 Wednesday 03 August 2022 17:22:19 +0000 (0:00:00.034) 0:00:08.170 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface testnic1] ***************************************** task path: /tmp/tmplbj_o459/tests/playbooks/tasks/manage_test_interface.yml:47 Wednesday 03 August 2022 17:22:19 +0000 (0:00:00.036) 0:00:08.207 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface testnic1] ******************************************* task path: /tmp/tmplbj_o459/tests/playbooks/tasks/manage_test_interface.yml:53 Wednesday 03 August 2022 17:22:19 +0000 (0:00:00.036) 0:00:08.243 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface testnic1] ******************************************* task path: /tmp/tmplbj_o459/tests/playbooks/tasks/manage_test_interface.yml:58 Wednesday 03 August 2022 17:22:19 +0000 (0:00:00.034) 0:00:08.277 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [include_tasks] *********************************************************** task path: /tmp/tmplbj_o459/tests/playbooks/tests_ethtool_ring.yml:21 Wednesday 03 August 2022 17:22:19 +0000 (0:00:00.036) 0:00:08.314 ****** included: /tmp/tmplbj_o459/tests/playbooks/tasks/assert_device_present.yml for /cache/centos-7.qcow2c.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmplbj_o459/tests/playbooks/tasks/assert_device_present.yml:3 Wednesday 03 August 2022 17:22:19 +0000 (0:00:00.048) 0:00:08.362 ****** included: /tmp/tmplbj_o459/tests/playbooks/tasks/get_interface_stat.yml for /cache/centos-7.qcow2c.snap TASK [Get stat for interface testnic1] ***************************************** task path: /tmp/tmplbj_o459/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 03 August 2022 17:22:19 +0000 (0:00:00.044) 0:00:08.407 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "stat": { "atime": 1659547337.5014896, "block_size": 4096, "blocks": 0, "ctime": 1659547337.5004897, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 14828, "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": 1659547337.5004897, "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/tmplbj_o459/tests/playbooks/tasks/assert_device_present.yml:4 Wednesday 03 August 2022 17:22:19 +0000 (0:00:00.352) 0:00:08.759 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [Install ethtool (test dependency)] *************************************** task path: /tmp/tmplbj_o459/tests/playbooks/tests_ethtool_ring.yml:22 Wednesday 03 August 2022 17:22:19 +0000 (0:00:00.078) 0:00:08.838 ****** ok: [/cache/centos-7.qcow2c.snap] => { "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 ring option.] ******************* task path: /tmp/tmplbj_o459/tests/playbooks/tests_ethtool_ring.yml:28 Wednesday 03 August 2022 17:22:20 +0000 (0:00:00.554) 0:00:09.393 ****** ok: [/cache/centos-7.qcow2c.snap] => {} MSG: ################################################## TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 03 August 2022 17:22:20 +0000 (0:00:00.043) 0:00:09.436 ****** included: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/set_facts.yml for /cache/centos-7.qcow2c.snap TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 03 August 2022 17:22:20 +0000 (0:00:00.046) 0:00:09.483 ****** ok: [/cache/centos-7.qcow2c.snap] => { "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/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 Wednesday 03 August 2022 17:22:20 +0000 (0:00:00.403) 0:00:09.886 ****** ok: [/cache/centos-7.qcow2c.snap] => { "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/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 Wednesday 03 August 2022 17:22:21 +0000 (0:00:01.083) 0:00:10.970 ****** ok: [/cache/centos-7.qcow2c.snap] => { "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/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 03 August 2022 17:22:23 +0000 (0:00:01.200) 0:00:12.170 ****** ok: [/cache/centos-7.qcow2c.snap] => {} 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/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 03 August 2022 17:22:23 +0000 (0:00:00.089) 0:00:12.260 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "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/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 03 August 2022 17:22:23 +0000 (0:00:00.079) 0:00:12.340 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 03 August 2022 17:22:23 +0000 (0:00:00.069) 0:00:12.409 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "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/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:38 Wednesday 03 August 2022 17:22:23 +0000 (0:00:00.162) 0:00:12.571 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:51 Wednesday 03 August 2022 17:22:23 +0000 (0:00:00.049) 0:00:12.621 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:65 Wednesday 03 August 2022 17:22:23 +0000 (0:00:00.046) 0:00:12.667 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:79 Wednesday 03 August 2022 17:22:23 +0000 (0:00:00.053) 0:00:12.721 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "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/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:90 Wednesday 03 August 2022 17:22:23 +0000 (0:00:00.048) 0:00:12.770 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 03 August 2022 17:22:23 +0000 (0:00:00.047) 0:00:12.817 ****** ok: [/cache/centos-7.qcow2c.snap] => { "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/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:107 Wednesday 03 August 2022 17:22:24 +0000 (0:00:00.700) 0:00:13.517 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-193215tulbs85o/tmp2073n_2g" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 03 August 2022 17:22:24 +0000 (0:00:00.345) 0:00:13.862 ****** redirecting (type: action) ansible.builtin.network to ansible.netcommon.network changed: [/cache/centos-7.qcow2c.snap] => { "_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/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:128 Wednesday 03 August 2022 17:22:25 +0000 (0:00:00.716) 0:00:14.579 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 03 August 2022 17:22:25 +0000 (0:00:00.046) 0:00:14.625 ****** ok: [/cache/centos-7.qcow2c.snap] => { "__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/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:138 Wednesday 03 August 2022 17:22:25 +0000 (0:00:00.117) 0:00:14.742 ****** ok: [/cache/centos-7.qcow2c.snap] => { "__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/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 03 August 2022 17:22:25 +0000 (0:00:00.054) 0:00:14.797 ****** skipping: [/cache/centos-7.qcow2c.snap] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 03 August 2022 17:22:25 +0000 (0:00:00.055) 0:00:14.852 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "ping": "pong" } META: role_complete for /cache/centos-7.qcow2c.snap TASK [Get profile's ring options] ********************************************** task path: /tmp/tmplbj_o459/tests/playbooks/tests_ethtool_ring.yml:44 Wednesday 03 August 2022 17:22:26 +0000 (0:00:00.443) 0:00:15.297 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [ASSERT: The profile does not contain ring options] *********************** task path: /tmp/tmplbj_o459/tests/playbooks/tests_ethtool_ring.yml:49 Wednesday 03 August 2022 17:22:26 +0000 (0:00:00.045) 0:00:15.342 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get profile's ring options] ********************************************** task path: /tmp/tmplbj_o459/tests/playbooks/tests_ethtool_ring.yml:54 Wednesday 03 August 2022 17:22:26 +0000 (0:00:00.046) 0:00:15.389 ****** fatal: [/cache/centos-7.qcow2c.snap]: FAILED! => { "changed": true, "cmd": [ "grep", "ETHTOOL", "/etc/sysconfig/network-scripts/ifcfg-testnic1" ], "delta": "0:00:00.003738", "end": "2022-08-03 17:22:26.086449", "rc": 1, "start": "2022-08-03 17:22:26.082711" } MSG: non-zero return code ...ignoring TASK [ASSERT: The profile does not contain ring options] *********************** task path: /tmp/tmplbj_o459/tests/playbooks/tests_ethtool_ring.yml:61 Wednesday 03 August 2022 17:22:26 +0000 (0:00:00.327) 0:00:15.717 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [TEST: I can set rx.] ***************************************************** task path: /tmp/tmplbj_o459/tests/playbooks/tests_ethtool_ring.yml:67 Wednesday 03 August 2022 17:22:26 +0000 (0:00:00.060) 0:00:15.777 ****** ok: [/cache/centos-7.qcow2c.snap] => {} MSG: ################################################## TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 03 August 2022 17:22:26 +0000 (0:00:00.054) 0:00:15.832 ****** included: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/set_facts.yml for /cache/centos-7.qcow2c.snap TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 03 August 2022 17:22:26 +0000 (0:00:00.071) 0:00:15.904 ****** ok: [/cache/centos-7.qcow2c.snap] => { "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/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 Wednesday 03 August 2022 17:22:27 +0000 (0:00:00.432) 0:00:16.336 ****** ok: [/cache/centos-7.qcow2c.snap] => { "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/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 Wednesday 03 August 2022 17:22:28 +0000 (0:00:00.916) 0:00:17.252 ****** ok: [/cache/centos-7.qcow2c.snap] => { "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/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 03 August 2022 17:22:28 +0000 (0:00:00.841) 0:00:18.094 ****** ok: [/cache/centos-7.qcow2c.snap] => {} 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/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 03 August 2022 17:22:29 +0000 (0:00:00.055) 0:00:18.149 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "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/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 03 August 2022 17:22:29 +0000 (0:00:00.048) 0:00:18.197 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 03 August 2022 17:22:29 +0000 (0:00:00.047) 0:00:18.245 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "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/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:38 Wednesday 03 August 2022 17:22:29 +0000 (0:00:00.071) 0:00:18.316 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:51 Wednesday 03 August 2022 17:22:29 +0000 (0:00:00.047) 0:00:18.364 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:65 Wednesday 03 August 2022 17:22:29 +0000 (0:00:00.046) 0:00:18.411 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:79 Wednesday 03 August 2022 17:22:29 +0000 (0:00:00.058) 0:00:18.470 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "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/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:90 Wednesday 03 August 2022 17:22:29 +0000 (0:00:00.061) 0:00:18.531 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 03 August 2022 17:22:29 +0000 (0:00:00.046) 0:00:18.578 ****** ok: [/cache/centos-7.qcow2c.snap] => { "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/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:107 Wednesday 03 August 2022 17:22:29 +0000 (0:00:00.479) 0:00:19.057 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-193215tulbs85o/tmpn8h5ry0g" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 03 August 2022 17:22:30 +0000 (0:00:00.342) 0:00:19.400 ****** redirecting (type: action) ansible.builtin.network to ansible.netcommon.network changed: [/cache/centos-7.qcow2c.snap] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "ethtool": { "ring": { "rx": 128, "rx_jumbo": 128, "rx_mini": 128, "tx": 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 ring settings: Operation not supported ' TASK [linux-system-roles.network : Configure networking state] ***************** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:128 Wednesday 03 August 2022 17:22:30 +0000 (0:00:00.526) 0:00:19.926 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 03 August 2022 17:22:30 +0000 (0:00:00.048) 0:00:19.974 ****** ok: [/cache/centos-7.qcow2c.snap] => { "__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 ring settings: Operation not supported", "'" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:138 Wednesday 03 August 2022 17:22:30 +0000 (0:00:00.060) 0:00:20.035 ****** ok: [/cache/centos-7.qcow2c.snap] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "ethtool": { "ring": { "rx": 128, "rx_jumbo": 128, "rx_mini": 128, "tx": 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 ring 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 ring settings: Operation not supported", "'" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 03 August 2022 17:22:30 +0000 (0:00:00.059) 0:00:20.094 ****** skipping: [/cache/centos-7.qcow2c.snap] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 03 August 2022 17:22:31 +0000 (0:00:00.049) 0:00:20.144 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "ping": "pong" } META: role_complete for /cache/centos-7.qcow2c.snap TASK [Get profile's ethtool.ring-rx options] *********************************** task path: /tmp/tmplbj_o459/tests/playbooks/tests_ethtool_ring.yml:89 Wednesday 03 August 2022 17:22:31 +0000 (0:00:00.355) 0:00:20.500 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert ethtool.ring-rx option set in profile] **************************** task path: /tmp/tmplbj_o459/tests/playbooks/tests_ethtool_ring.yml:94 Wednesday 03 August 2022 17:22:31 +0000 (0:00:00.046) 0:00:20.546 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get profile's ethtool.ring-rx-jumbo options] ***************************** task path: /tmp/tmplbj_o459/tests/playbooks/tests_ethtool_ring.yml:99 Wednesday 03 August 2022 17:22:31 +0000 (0:00:00.048) 0:00:20.594 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert ethtool.ring-rx-jumbo option set in profile] ********************** task path: /tmp/tmplbj_o459/tests/playbooks/tests_ethtool_ring.yml:104 Wednesday 03 August 2022 17:22:31 +0000 (0:00:00.044) 0:00:20.639 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get profile's ethtool.ring-rx-mini options] ****************************** task path: /tmp/tmplbj_o459/tests/playbooks/tests_ethtool_ring.yml:109 Wednesday 03 August 2022 17:22:31 +0000 (0:00:00.075) 0:00:20.715 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert ethtool.ring-rx-mini option set in profile] *********************** task path: /tmp/tmplbj_o459/tests/playbooks/tests_ethtool_ring.yml:114 Wednesday 03 August 2022 17:22:31 +0000 (0:00:00.052) 0:00:20.767 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get profile's ethtool.ring-tx options] *********************************** task path: /tmp/tmplbj_o459/tests/playbooks/tests_ethtool_ring.yml:119 Wednesday 03 August 2022 17:22:31 +0000 (0:00:00.047) 0:00:20.814 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert ethtool.ring-tx option set in profile] **************************** task path: /tmp/tmplbj_o459/tests/playbooks/tests_ethtool_ring.yml:124 Wednesday 03 August 2022 17:22:31 +0000 (0:00:00.044) 0:00:20.859 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get profile's ethtool.ring options] ************************************** task path: /tmp/tmplbj_o459/tests/playbooks/tests_ethtool_ring.yml:130 Wednesday 03 August 2022 17:22:31 +0000 (0:00:00.048) 0:00:20.908 ****** changed: [/cache/centos-7.qcow2c.snap] => { "changed": true, "cmd": [ "grep", "ETHTOOL", "/etc/sysconfig/network-scripts/ifcfg-testnic1" ], "delta": "0:00:00.003883", "end": "2022-08-03 17:22:31.616514", "rc": 0, "start": "2022-08-03 17:22:31.612631" } STDOUT: ETHTOOL_OPTS="-G testnic1 rx 128 rx-jumbo 128 tx 128 rx-mini 128" TASK [Assert ethtool.ring option set in profile] ******************************* task path: /tmp/tmplbj_o459/tests/playbooks/tests_ethtool_ring.yml:137 Wednesday 03 August 2022 17:22:32 +0000 (0:00:00.343) 0:00:21.251 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [TEST: I can clear ring options] ****************************************** task path: /tmp/tmplbj_o459/tests/playbooks/tests_ethtool_ring.yml:147 Wednesday 03 August 2022 17:22:32 +0000 (0:00:00.061) 0:00:21.312 ****** ok: [/cache/centos-7.qcow2c.snap] => {} MSG: ################################################## TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 03 August 2022 17:22:32 +0000 (0:00:00.052) 0:00:21.365 ****** included: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/set_facts.yml for /cache/centos-7.qcow2c.snap TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 03 August 2022 17:22:32 +0000 (0:00:00.065) 0:00:21.430 ****** ok: [/cache/centos-7.qcow2c.snap] => { "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/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 Wednesday 03 August 2022 17:22:32 +0000 (0:00:00.430) 0:00:21.861 ****** ok: [/cache/centos-7.qcow2c.snap] => { "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/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 Wednesday 03 August 2022 17:22:33 +0000 (0:00:00.923) 0:00:22.784 ****** ok: [/cache/centos-7.qcow2c.snap] => { "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/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 03 August 2022 17:22:34 +0000 (0:00:00.858) 0:00:23.642 ****** ok: [/cache/centos-7.qcow2c.snap] => {} 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/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 03 August 2022 17:22:34 +0000 (0:00:00.058) 0:00:23.700 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "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/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 03 August 2022 17:22:34 +0000 (0:00:00.046) 0:00:23.747 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 03 August 2022 17:22:34 +0000 (0:00:00.054) 0:00:23.801 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "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/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:38 Wednesday 03 August 2022 17:22:34 +0000 (0:00:00.084) 0:00:23.885 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:51 Wednesday 03 August 2022 17:22:34 +0000 (0:00:00.051) 0:00:23.937 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:65 Wednesday 03 August 2022 17:22:34 +0000 (0:00:00.049) 0:00:23.987 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:79 Wednesday 03 August 2022 17:22:34 +0000 (0:00:00.051) 0:00:24.038 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "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/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:90 Wednesday 03 August 2022 17:22:34 +0000 (0:00:00.048) 0:00:24.087 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 03 August 2022 17:22:35 +0000 (0:00:00.046) 0:00:24.133 ****** ok: [/cache/centos-7.qcow2c.snap] => { "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/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:107 Wednesday 03 August 2022 17:22:35 +0000 (0:00:00.436) 0:00:24.570 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-193215tulbs85o/tmp9kxdk13c" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 03 August 2022 17:22:35 +0000 (0:00:00.387) 0:00:24.957 ****** redirecting (type: action) ansible.builtin.network to ansible.netcommon.network changed: [/cache/centos-7.qcow2c.snap] => { "_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/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:128 Wednesday 03 August 2022 17:22:36 +0000 (0:00:00.537) 0:00:25.494 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 03 August 2022 17:22:36 +0000 (0:00:00.045) 0:00:25.540 ****** ok: [/cache/centos-7.qcow2c.snap] => { "__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/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:138 Wednesday 03 August 2022 17:22:36 +0000 (0:00:00.060) 0:00:25.600 ****** ok: [/cache/centos-7.qcow2c.snap] => { "__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/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 03 August 2022 17:22:36 +0000 (0:00:00.058) 0:00:25.658 ****** skipping: [/cache/centos-7.qcow2c.snap] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 03 August 2022 17:22:36 +0000 (0:00:00.049) 0:00:25.708 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "ping": "pong" } META: role_complete for /cache/centos-7.qcow2c.snap TASK [Get profile's ring options] ********************************************** task path: /tmp/tmplbj_o459/tests/playbooks/tests_ethtool_ring.yml:162 Wednesday 03 August 2022 17:22:36 +0000 (0:00:00.356) 0:00:26.064 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [ASSERT: The profile does reset ring options] ***************************** task path: /tmp/tmplbj_o459/tests/playbooks/tests_ethtool_ring.yml:167 Wednesday 03 August 2022 17:22:36 +0000 (0:00:00.049) 0:00:26.113 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get profile's ring options] ********************************************** task path: /tmp/tmplbj_o459/tests/playbooks/tests_ethtool_ring.yml:172 Wednesday 03 August 2022 17:22:37 +0000 (0:00:00.049) 0:00:26.163 ****** fatal: [/cache/centos-7.qcow2c.snap]: FAILED! => { "changed": true, "cmd": [ "grep", "ETHTOOL", "/etc/sysconfig/network-scripts/ifcfg-testnic1" ], "delta": "0:00:00.003548", "end": "2022-08-03 17:22:36.873665", "rc": 1, "start": "2022-08-03 17:22:36.870117" } MSG: non-zero return code ...ignoring TASK [ASSERT: The profile does reset ring options] ***************************** task path: /tmp/tmplbj_o459/tests/playbooks/tests_ethtool_ring.yml:179 Wednesday 03 August 2022 17:22:37 +0000 (0:00:00.340) 0:00:26.503 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 03 August 2022 17:22:37 +0000 (0:00:00.060) 0:00:26.564 ****** included: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/set_facts.yml for /cache/centos-7.qcow2c.snap TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 03 August 2022 17:22:37 +0000 (0:00:00.110) 0:00:26.675 ****** ok: [/cache/centos-7.qcow2c.snap] => { "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/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 Wednesday 03 August 2022 17:22:37 +0000 (0:00:00.429) 0:00:27.104 ****** ok: [/cache/centos-7.qcow2c.snap] => { "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/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 Wednesday 03 August 2022 17:22:38 +0000 (0:00:00.917) 0:00:28.021 ****** ok: [/cache/centos-7.qcow2c.snap] => { "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/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 03 August 2022 17:22:39 +0000 (0:00:00.839) 0:00:28.860 ****** ok: [/cache/centos-7.qcow2c.snap] => {} 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/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 03 August 2022 17:22:39 +0000 (0:00:00.060) 0:00:28.921 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "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/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 03 August 2022 17:22:39 +0000 (0:00:00.048) 0:00:28.969 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 03 August 2022 17:22:39 +0000 (0:00:00.047) 0:00:29.017 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "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/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:38 Wednesday 03 August 2022 17:22:39 +0000 (0:00:00.100) 0:00:29.118 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:51 Wednesday 03 August 2022 17:22:40 +0000 (0:00:00.051) 0:00:29.170 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:65 Wednesday 03 August 2022 17:22:40 +0000 (0:00:00.053) 0:00:29.223 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:79 Wednesday 03 August 2022 17:22:40 +0000 (0:00:00.053) 0:00:29.276 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "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/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:90 Wednesday 03 August 2022 17:22:40 +0000 (0:00:00.045) 0:00:29.321 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 03 August 2022 17:22:40 +0000 (0:00:00.043) 0:00:29.365 ****** ok: [/cache/centos-7.qcow2c.snap] => { "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/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:107 Wednesday 03 August 2022 17:22:40 +0000 (0:00:00.446) 0:00:29.812 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-193215tulbs85o/tmp08z61y6u" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 03 August 2022 17:22:41 +0000 (0:00:00.347) 0:00:30.159 ****** redirecting (type: action) ansible.builtin.network to ansible.netcommon.network changed: [/cache/centos-7.qcow2c.snap] => { "_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/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:128 Wednesday 03 August 2022 17:22:41 +0000 (0:00:00.429) 0:00:30.589 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 03 August 2022 17:22:41 +0000 (0:00:00.047) 0:00:30.637 ****** ok: [/cache/centos-7.qcow2c.snap] => { "__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/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:138 Wednesday 03 August 2022 17:22:41 +0000 (0:00:00.058) 0:00:30.695 ****** ok: [/cache/centos-7.qcow2c.snap] => { "__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/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 03 August 2022 17:22:41 +0000 (0:00:00.066) 0:00:30.762 ****** skipping: [/cache/centos-7.qcow2c.snap] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 03 August 2022 17:22:41 +0000 (0:00:00.050) 0:00:30.813 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "ping": "pong" } META: role_complete for /cache/centos-7.qcow2c.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmplbj_o459/tests/playbooks/tests_ethtool_ring.yml:195 Wednesday 03 August 2022 17:22:42 +0000 (0:00:00.394) 0:00:31.208 ****** included: /tmp/tmplbj_o459/tests/playbooks/tasks/manage_test_interface.yml for /cache/centos-7.qcow2c.snap TASK [Ensure state in ["present", "absent"]] *********************************** task path: /tmp/tmplbj_o459/tests/playbooks/tasks/manage_test_interface.yml:3 Wednesday 03 August 2022 17:22:42 +0000 (0:00:00.071) 0:00:31.279 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /tmp/tmplbj_o459/tests/playbooks/tasks/manage_test_interface.yml:8 Wednesday 03 August 2022 17:22:42 +0000 (0:00:00.046) 0:00:31.326 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [include_tasks] *********************************************************** task path: /tmp/tmplbj_o459/tests/playbooks/tasks/manage_test_interface.yml:13 Wednesday 03 August 2022 17:22:42 +0000 (0:00:00.049) 0:00:31.376 ****** included: /tmp/tmplbj_o459/tests/playbooks/tasks/show_interfaces.yml for /cache/centos-7.qcow2c.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmplbj_o459/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 03 August 2022 17:22:42 +0000 (0:00:00.066) 0:00:31.442 ****** included: /tmp/tmplbj_o459/tests/playbooks/tasks/get_current_interfaces.yml for /cache/centos-7.qcow2c.snap TASK [Gather current interface info] ******************************************* task path: /tmp/tmplbj_o459/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 03 August 2022 17:22:42 +0000 (0:00:00.060) 0:00:31.503 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.004042", "end": "2022-08-03 17:22:42.210440", "rc": 0, "start": "2022-08-03 17:22:42.206398" } STDOUT: bond0 bonding_masters eth0 lo peertestnic1 testnic1 TASK [Set current_interfaces] ************************************************** task path: /tmp/tmplbj_o459/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 03 August 2022 17:22:42 +0000 (0:00:00.337) 0:00:31.840 ****** ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo", "peertestnic1", "testnic1" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/tmplbj_o459/tests/playbooks/tasks/show_interfaces.yml:4 Wednesday 03 August 2022 17:22:42 +0000 (0:00:00.056) 0:00:31.897 ****** ok: [/cache/centos-7.qcow2c.snap] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo', 'peertestnic1', 'testnic1'] TASK [Install iproute] ********************************************************* task path: /tmp/tmplbj_o459/tests/playbooks/tasks/manage_test_interface.yml:15 Wednesday 03 August 2022 17:22:42 +0000 (0:00:00.056) 0:00:31.954 ****** ok: [/cache/centos-7.qcow2c.snap] => { "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/tmplbj_o459/tests/playbooks/tasks/manage_test_interface.yml:21 Wednesday 03 August 2022 17:22:43 +0000 (0:00:00.536) 0:00:32.491 ****** skipping: [/cache/centos-7.qcow2c.snap] => (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/centos-7.qcow2c.snap] => (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/centos-7.qcow2c.snap] => (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/tmplbj_o459/tests/playbooks/tasks/manage_test_interface.yml:29 Wednesday 03 August 2022 17:22:43 +0000 (0:00:00.060) 0:00:32.551 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete veth interface testnic1] ****************************************** task path: /tmp/tmplbj_o459/tests/playbooks/tasks/manage_test_interface.yml:36 Wednesday 03 August 2022 17:22:43 +0000 (0:00:00.078) 0:00:32.630 ****** changed: [/cache/centos-7.qcow2c.snap] => { "changed": true, "cmd": [ "ip", "link", "del", "testnic1", "type", "veth" ], "delta": "0:00:00.009292", "end": "2022-08-03 17:22:43.334563", "rc": 0, "start": "2022-08-03 17:22:43.325271" } TASK [Create dummy interface testnic1] ***************************************** task path: /tmp/tmplbj_o459/tests/playbooks/tasks/manage_test_interface.yml:42 Wednesday 03 August 2022 17:22:43 +0000 (0:00:00.336) 0:00:32.966 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface testnic1] ***************************************** task path: /tmp/tmplbj_o459/tests/playbooks/tasks/manage_test_interface.yml:47 Wednesday 03 August 2022 17:22:43 +0000 (0:00:00.046) 0:00:33.013 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface testnic1] ******************************************* task path: /tmp/tmplbj_o459/tests/playbooks/tasks/manage_test_interface.yml:53 Wednesday 03 August 2022 17:22:43 +0000 (0:00:00.045) 0:00:33.058 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface testnic1] ******************************************* task path: /tmp/tmplbj_o459/tests/playbooks/tasks/manage_test_interface.yml:58 Wednesday 03 August 2022 17:22:43 +0000 (0:00:00.044) 0:00:33.103 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/centos-7.qcow2c.snap : ok=92 changed=12 unreachable=0 failed=0 skipped=70 rescued=0 ignored=2 Wednesday 03 August 2022 17:22:44 +0000 (0:00:00.068) 0:00:33.171 ****** =============================================================================== Gathering Facts --------------------------------------------------------- 1.97s /tmp/tmplbj_o459/tests/tests_ethtool_ring_initscripts.yml:4 ------------------- linux-system-roles.network : Configure networking connection profiles --- 1.25s /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:116 ---- linux-system-roles.network : Check which packages are installed --------- 1.20s /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 linux-system-roles.network : Enable network service --------------------- 1.14s /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:99 ----- linux-system-roles.network : Check which services are running ----------- 1.08s /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 Create veth interface testnic1 ------------------------------------------ 1.00s /tmp/tmplbj_o459/tests/playbooks/tasks/manage_test_interface.yml:21 ----------- linux-system-roles.network : Check which services are running ----------- 0.92s /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 linux-system-roles.network : Check which services are running ----------- 0.92s /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 linux-system-roles.network : Check which services are running ----------- 0.92s /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 linux-system-roles.network : Check which packages are installed --------- 0.86s /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 linux-system-roles.network : Check which packages are installed --------- 0.84s /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 linux-system-roles.network : Check which packages are installed --------- 0.84s /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 linux-system-roles.network : Re-test connectivity ----------------------- 0.80s /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:149 ---- Gathering Facts --------------------------------------------------------- 0.73s /tmp/tmplbj_o459/tests/playbooks/tests_ethtool_ring.yml:3 --------------------- linux-system-roles.network : Ensure initscripts network file dependency is present --- 0.73s /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:107 ---- Install iproute --------------------------------------------------------- 0.73s /tmp/tmplbj_o459/tests/playbooks/tasks/manage_test_interface.yml:15 ----------- Install ethtool (test dependency) --------------------------------------- 0.55s /tmp/tmplbj_o459/tests/playbooks/tests_ethtool_ring.yml:22 -------------------- Install iproute --------------------------------------------------------- 0.54s /tmp/tmplbj_o459/tests/playbooks/tasks/manage_test_interface.yml:15 ----------- linux-system-roles.network : Configure networking connection profiles --- 0.53s /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:116 ---- Get stats of system files ----------------------------------------------- 0.52s /tmp/tmplbj_o459/tests/_backup.yml:6 ------------------------------------------ PLAYBOOK: _restore.yml ********************************************************* 1 plays in /tmp/tmplbj_o459/tests/_restore.yml PLAY [all] ********************************************************************* META: ran handlers TASK [Restore system files] **************************************************** task path: /tmp/tmplbj_o459/tests/_restore.yml:4 Wednesday 03 August 2022 17:22:44 +0000 (0:00:00.038) 0:00:33.210 ****** changed: [/cache/centos-7.qcow2c.snap] => { "changed": true, "cmd": "(cd /; tar -xf /tmp/network.backup.tar)", "delta": "0:00:00.007261", "end": "2022-08-03 17:22:43.918131", "rc": 0, "start": "2022-08-03 17:22:43.910870" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/centos-7.qcow2c.snap : ok=93 changed=13 unreachable=0 failed=0 skipped=70 rescued=0 ignored=2 Wednesday 03 August 2022 17:22:44 +0000 (0:00:00.360) 0:00:33.570 ****** =============================================================================== Gathering Facts --------------------------------------------------------- 1.97s /tmp/tmplbj_o459/tests/tests_ethtool_ring_initscripts.yml:4 ------------------- linux-system-roles.network : Configure networking connection profiles --- 1.25s /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:116 ---- linux-system-roles.network : Check which packages are installed --------- 1.20s /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 linux-system-roles.network : Enable network service --------------------- 1.14s /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:99 ----- linux-system-roles.network : Check which services are running ----------- 1.08s /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 Create veth interface testnic1 ------------------------------------------ 1.00s /tmp/tmplbj_o459/tests/playbooks/tasks/manage_test_interface.yml:21 ----------- linux-system-roles.network : Check which services are running ----------- 0.92s /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 linux-system-roles.network : Check which services are running ----------- 0.92s /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 linux-system-roles.network : Check which services are running ----------- 0.92s /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 linux-system-roles.network : Check which packages are installed --------- 0.86s /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 linux-system-roles.network : Check which packages are installed --------- 0.84s /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 linux-system-roles.network : Check which packages are installed --------- 0.84s /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 linux-system-roles.network : Re-test connectivity ----------------------- 0.80s /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:149 ---- Gathering Facts --------------------------------------------------------- 0.73s /tmp/tmplbj_o459/tests/playbooks/tests_ethtool_ring.yml:3 --------------------- linux-system-roles.network : Ensure initscripts network file dependency is present --- 0.73s /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:107 ---- Install iproute --------------------------------------------------------- 0.73s /tmp/tmplbj_o459/tests/playbooks/tasks/manage_test_interface.yml:15 ----------- Install ethtool (test dependency) --------------------------------------- 0.55s /tmp/tmplbj_o459/tests/playbooks/tests_ethtool_ring.yml:22 -------------------- Install iproute --------------------------------------------------------- 0.54s /tmp/tmplbj_o459/tests/playbooks/tasks/manage_test_interface.yml:15 ----------- linux-system-roles.network : Configure networking connection profiles --- 0.53s /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:116 ---- Get stats of system files ----------------------------------------------- 0.52s /tmp/tmplbj_o459/tests/_backup.yml:6 ------------------------------------------ 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/tmpe4dwqm__ 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: _backup.yml ********************************************************** 1 plays in /tmp/tmppolohs8h/tests/network/_backup.yml PLAY [all] ********************************************************************* META: ran handlers TASK [Get stats of system files] *********************************************** task path: /tmp/tmppolohs8h/tests/network/_backup.yml:6 Wednesday 03 August 2022 17:47:28 +0000 (0:00:00.017) 0:00:00.017 ****** ok: [/cache/centos-7.qcow2c.snap] => (item=/etc/resolv.conf) => { "ansible_facts": { "discovered_interpreter_python": "/usr/bin/python" }, "ansible_loop_var": "item", "changed": false, "item": "/etc/resolv.conf", "stat": { "atime": 1659548847.6003065, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "58d0b40c7f3b3443c40de4c19aee35ddf579fd17", "ctime": 1659548847.6003065, "dev": 64769, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 8330, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1659548002.0, "nlink": 1, "path": "/etc/resolv.conf", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 61, "uid": 0, "version": "18446744071872758374", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Check if system files exist] ********************************************* task path: /tmp/tmppolohs8h/tests/network/_backup.yml:13 Wednesday 03 August 2022 17:47:29 +0000 (0:00:00.496) 0:00:00.514 ****** [WARNING]: conditional statements should not include jinja2 templating delimiters such as {{ }} or {% %}. Found: {{ item.stat.exists }} ok: [/cache/centos-7.qcow2c.snap] => (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': 1659548002.0, 'block_size': 4096, 'inode': 8330, 'isgid': False, 'size': 61, 'executable': False, 'isuid': False, 'readable': True, 'version': '18446744071872758374', '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': 1659548847.6003065, 'isdir': False, 'ctime': 1659548847.6003065, 'isblk': False, 'wgrp': False, 'checksum': '58d0b40c7f3b3443c40de4c19aee35ddf579fd17', 'dev': 64769, 'roth': True, 'isfifo': False, 'mode': '0644', 'xgrp': False, 'rusr': True, 'attributes': []}, 'changed': False, 'ansible_facts': {'discovered_interpreter_python': '/usr/bin/python'}, '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_facts": { "discovered_interpreter_python": "/usr/bin/python" }, "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": 1659548847.6003065, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "58d0b40c7f3b3443c40de4c19aee35ddf579fd17", "ctime": 1659548847.6003065, "dev": 64769, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 8330, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1659548002.0, "nlink": 1, "path": "/etc/resolv.conf", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 61, "uid": 0, "version": "18446744071872758374", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } } TASK [Back up system files] **************************************************** task path: /tmp/tmppolohs8h/tests/network/_backup.yml:19 Wednesday 03 August 2022 17:47:29 +0000 (0:00:00.035) 0:00:00.550 ****** changed: [/cache/centos-7.qcow2c.snap] => { "changed": true, "cmd": [ "tar", "-cf", "/tmp/network.backup.tar", "--same-owner", "--same-permissions", "/etc/resolv.conf" ], "delta": "0:00:00.004590", "end": "2022-08-03 17:47:29.158768", "rc": 0, "start": "2022-08-03 17:47:29.154178" } STDERR: tar: Removing leading `/' from member names META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/centos-7.qcow2c.snap : ok=3 changed=1 unreachable=0 failed=0 skipped=0 rescued=0 ignored=0 Wednesday 03 August 2022 17:47:29 +0000 (0:00:00.419) 0:00:00.970 ****** =============================================================================== Get stats of system files ----------------------------------------------- 0.50s /tmp/tmppolohs8h/tests/network/_backup.yml:6 ---------------------------------- Back up system files ---------------------------------------------------- 0.42s /tmp/tmppolohs8h/tests/network/_backup.yml:19 --------------------------------- Check if system files exist --------------------------------------------- 0.04s /tmp/tmppolohs8h/tests/network/_backup.yml:13 --------------------------------- PLAYBOOK: tests_ethtool_ring_initscripts.yml *********************************** 2 plays in /tmp/tmppolohs8h/tests/network/tests_ethtool_ring_initscripts.yml PLAY [Run playbook 'playbooks/tests_ethtool_ring.yml' with initscripts as provider] *** TASK [Gathering Facts] ********************************************************* task path: /tmp/tmppolohs8h/tests/network/tests_ethtool_ring_initscripts.yml:4 Wednesday 03 August 2022 17:47:29 +0000 (0:00:00.096) 0:00:01.066 ****** ok: [/cache/centos-7.qcow2c.snap] META: ran handlers TASK [include_tasks] *********************************************************** task path: /tmp/tmppolohs8h/tests/network/tests_ethtool_ring_initscripts.yml:7 Wednesday 03 August 2022 17:47:30 +0000 (0:00:00.964) 0:00:02.030 ****** included: /tmp/tmppolohs8h/tests/network/tasks/el_repo_setup.yml for /cache/centos-7.qcow2c.snap TASK [Fix CentOS6 Base repo] *************************************************** task path: /tmp/tmppolohs8h/tests/network/tasks/el_repo_setup.yml:2 Wednesday 03 August 2022 17:47:30 +0000 (0:00:00.028) 0:00:02.059 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [include_tasks] *********************************************************** task path: /tmp/tmppolohs8h/tests/network/tasks/el_repo_setup.yml:27 Wednesday 03 August 2022 17:47:30 +0000 (0:00:00.022) 0:00:02.082 ****** included: /tmp/tmppolohs8h/tests/network/tasks/enable_epel.yml for /cache/centos-7.qcow2c.snap TASK [Create EPEL 7] *********************************************************** task path: /tmp/tmppolohs8h/tests/network/tasks/enable_epel.yml:4 Wednesday 03 August 2022 17:47:30 +0000 (0:00:00.030) 0:00:02.112 ****** ok: [/cache/centos-7.qcow2c.snap] => { "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/tmppolohs8h/tests/network/tasks/enable_epel.yml:11 Wednesday 03 August 2022 17:47:30 +0000 (0:00:00.307) 0:00:02.420 ****** changed: [/cache/centos-7.qcow2c.snap] => { "changed": true, "cmd": [ "yum-config-manager", "--enable", "epel" ], "delta": "0:00:00.177238", "end": "2022-08-03 17:47:31.111032", "rc": 0, "start": "2022-08-03 17:47:30.933794" } STDOUT: Loaded plugins: fastestmirror ================================== repo: epel ================================== [epel] async = True bandwidth = 0 base_persistdir = /var/lib/yum/repos/x86_64/7 baseurl = cache = 0 cachedir = /var/cache/yum/x86_64/7/epel check_config_file_age = True compare_providers_priority = 80 cost = 1000 deltarpm_metadata_percentage = 100 deltarpm_percentage = enabled = True enablegroups = True exclude = failovermethod = priority ftp_disable_epsv = False gpgcadir = /var/lib/yum/repos/x86_64/7/epel/gpgcadir gpgcakey = gpgcheck = True gpgdir = /var/lib/yum/repos/x86_64/7/epel/gpgdir gpgkey = file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-7 hdrdir = /var/cache/yum/x86_64/7/epel/headers http_caching = all includepkgs = ip_resolve = keepalive = True keepcache = True 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=genclo&content=centos minrate = 0 mirrorlist = mirrorlist_expire = 86400 name = Extra Packages for Enterprise Linux 7 - x86_64 old_base_cache_dir = password = persistdir = /var/lib/yum/repos/x86_64/7/epel pkgdir = /var/cache/yum/x86_64/7/epel/packages proxy = False proxy_dict = proxy_password = proxy_username = repo_gpgcheck = False retries = 10 skip_if_unavailable = False ssl_check_cert_permissions = True sslcacert = sslclientcert = sslclientkey = sslverify = True throttle = 0 timeout = 30.0 ui_id = epel/x86_64 ui_repoid_vars = releasever, basearch username = TASK [Enable EPEL 8] *********************************************************** task path: /tmp/tmppolohs8h/tests/network/tasks/enable_epel.yml:17 Wednesday 03 August 2022 17:47:31 +0000 (0:00:00.503) 0:00:02.923 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /tmp/tmppolohs8h/tests/network/tasks/enable_epel.yml:26 Wednesday 03 August 2022 17:47:31 +0000 (0:00:00.023) 0:00:02.947 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'initscripts'] *********************************** task path: /tmp/tmppolohs8h/tests/network/tests_ethtool_ring_initscripts.yml:8 Wednesday 03 August 2022 17:47:31 +0000 (0:00:00.021) 0:00:02.968 ****** ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "network_provider": "initscripts" }, "changed": false } META: ran handlers META: ran handlers PLAY [all] ********************************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmppolohs8h/tests/network/playbooks/tests_ethtool_ring.yml:3 Wednesday 03 August 2022 17:47:31 +0000 (0:00:00.047) 0:00:03.016 ****** ok: [/cache/centos-7.qcow2c.snap] META: ran handlers TASK [Show playbook name] ****************************************************** task path: /tmp/tmppolohs8h/tests/network/playbooks/tests_ethtool_ring.yml:8 Wednesday 03 August 2022 17:47:32 +0000 (0:00:00.770) 0:00:03.787 ****** ok: [/cache/centos-7.qcow2c.snap] => {} MSG: this is: playbooks/tests_ethtool_ring.yml TASK [INIT: Ethtool ring tests] ************************************************ task path: /tmp/tmppolohs8h/tests/network/playbooks/tests_ethtool_ring.yml:14 Wednesday 03 August 2022 17:47:32 +0000 (0:00:00.046) 0:00:03.833 ****** ok: [/cache/centos-7.qcow2c.snap] => {} MSG: ################################################## TASK [include_tasks] *********************************************************** task path: /tmp/tmppolohs8h/tests/network/playbooks/tests_ethtool_ring.yml:17 Wednesday 03 August 2022 17:47:32 +0000 (0:00:00.041) 0:00:03.875 ****** included: /tmp/tmppolohs8h/tests/network/playbooks/tasks/show_interfaces.yml for /cache/centos-7.qcow2c.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmppolohs8h/tests/network/playbooks/tasks/show_interfaces.yml:3 Wednesday 03 August 2022 17:47:32 +0000 (0:00:00.057) 0:00:03.932 ****** included: /tmp/tmppolohs8h/tests/network/playbooks/tasks/get_current_interfaces.yml for /cache/centos-7.qcow2c.snap TASK [Gather current interface info] ******************************************* task path: /tmp/tmppolohs8h/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 03 August 2022 17:47:32 +0000 (0:00:00.050) 0:00:03.983 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.035809", "end": "2022-08-03 17:47:32.542129", "rc": 0, "start": "2022-08-03 17:47:32.506320" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/tmppolohs8h/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 03 August 2022 17:47:32 +0000 (0:00:00.374) 0:00:04.357 ****** ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/tmppolohs8h/tests/network/playbooks/tasks/show_interfaces.yml:4 Wednesday 03 August 2022 17:47:32 +0000 (0:00:00.045) 0:00:04.403 ****** ok: [/cache/centos-7.qcow2c.snap] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo'] TASK [include_tasks] *********************************************************** task path: /tmp/tmppolohs8h/tests/network/playbooks/tests_ethtool_ring.yml:18 Wednesday 03 August 2022 17:47:32 +0000 (0:00:00.045) 0:00:04.448 ****** included: /tmp/tmppolohs8h/tests/network/playbooks/tasks/manage_test_interface.yml for /cache/centos-7.qcow2c.snap TASK [Ensure state in ["present", "absent"]] *********************************** task path: /tmp/tmppolohs8h/tests/network/playbooks/tasks/manage_test_interface.yml:3 Wednesday 03 August 2022 17:47:33 +0000 (0:00:00.048) 0:00:04.497 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /tmp/tmppolohs8h/tests/network/playbooks/tasks/manage_test_interface.yml:8 Wednesday 03 August 2022 17:47:33 +0000 (0:00:00.034) 0:00:04.532 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [include_tasks] *********************************************************** task path: /tmp/tmppolohs8h/tests/network/playbooks/tasks/manage_test_interface.yml:13 Wednesday 03 August 2022 17:47:33 +0000 (0:00:00.034) 0:00:04.566 ****** included: /tmp/tmppolohs8h/tests/network/playbooks/tasks/show_interfaces.yml for /cache/centos-7.qcow2c.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmppolohs8h/tests/network/playbooks/tasks/show_interfaces.yml:3 Wednesday 03 August 2022 17:47:33 +0000 (0:00:00.046) 0:00:04.613 ****** included: /tmp/tmppolohs8h/tests/network/playbooks/tasks/get_current_interfaces.yml for /cache/centos-7.qcow2c.snap TASK [Gather current interface info] ******************************************* task path: /tmp/tmppolohs8h/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 03 August 2022 17:47:33 +0000 (0:00:00.040) 0:00:04.653 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003754", "end": "2022-08-03 17:47:33.183374", "rc": 0, "start": "2022-08-03 17:47:33.179620" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/tmppolohs8h/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 03 August 2022 17:47:33 +0000 (0:00:00.336) 0:00:04.989 ****** ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/tmppolohs8h/tests/network/playbooks/tasks/show_interfaces.yml:4 Wednesday 03 August 2022 17:47:33 +0000 (0:00:00.068) 0:00:05.058 ****** ok: [/cache/centos-7.qcow2c.snap] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /tmp/tmppolohs8h/tests/network/playbooks/tasks/manage_test_interface.yml:15 Wednesday 03 August 2022 17:47:33 +0000 (0:00:00.041) 0:00:05.100 ****** ok: [/cache/centos-7.qcow2c.snap] => { "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/tmppolohs8h/tests/network/playbooks/tasks/manage_test_interface.yml:21 Wednesday 03 August 2022 17:47:34 +0000 (0:00:00.659) 0:00:05.759 ****** changed: [/cache/centos-7.qcow2c.snap] => (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.006824", "end": "2022-08-03 17:47:34.290134", "item": "ip link add testnic1 type veth peer name peertestnic1", "rc": 0, "start": "2022-08-03 17:47:34.283310" } changed: [/cache/centos-7.qcow2c.snap] => (item=ip link set peertestnic1 up) => { "ansible_loop_var": "item", "changed": true, "cmd": [ "ip", "link", "set", "peertestnic1", "up" ], "delta": "0:00:00.013134", "end": "2022-08-03 17:47:34.574122", "item": "ip link set peertestnic1 up", "rc": 0, "start": "2022-08-03 17:47:34.560988" } changed: [/cache/centos-7.qcow2c.snap] => (item=ip link set testnic1 up) => { "ansible_loop_var": "item", "changed": true, "cmd": [ "ip", "link", "set", "testnic1", "up" ], "delta": "0:00:00.012578", "end": "2022-08-03 17:47:34.869386", "item": "ip link set testnic1 up", "rc": 0, "start": "2022-08-03 17:47:34.856808" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /tmp/tmppolohs8h/tests/network/playbooks/tasks/manage_test_interface.yml:28 Wednesday 03 August 2022 17:47:35 +0000 (0:00:00.925) 0:00:06.685 ****** changed: [/cache/centos-7.qcow2c.snap] => { "changed": true, "cmd": [ "nmcli", "d", "set", "testnic1", "managed", "true" ], "delta": "0:00:00.025000", "end": "2022-08-03 17:47:35.254082", "rc": 0, "start": "2022-08-03 17:47:35.229082" } TASK [Delete veth interface testnic1] ****************************************** task path: /tmp/tmppolohs8h/tests/network/playbooks/tasks/manage_test_interface.yml:35 Wednesday 03 August 2022 17:47:35 +0000 (0:00:00.379) 0:00:07.064 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create dummy interface testnic1] ***************************************** task path: /tmp/tmppolohs8h/tests/network/playbooks/tasks/manage_test_interface.yml:40 Wednesday 03 August 2022 17:47:35 +0000 (0:00:00.037) 0:00:07.101 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface testnic1] ***************************************** task path: /tmp/tmppolohs8h/tests/network/playbooks/tasks/manage_test_interface.yml:44 Wednesday 03 August 2022 17:47:35 +0000 (0:00:00.036) 0:00:07.138 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface testnic1] ******************************************* task path: /tmp/tmppolohs8h/tests/network/playbooks/tasks/manage_test_interface.yml:49 Wednesday 03 August 2022 17:47:35 +0000 (0:00:00.034) 0:00:07.172 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface testnic1] ******************************************* task path: /tmp/tmppolohs8h/tests/network/playbooks/tasks/manage_test_interface.yml:53 Wednesday 03 August 2022 17:47:35 +0000 (0:00:00.042) 0:00:07.214 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [include_tasks] *********************************************************** task path: /tmp/tmppolohs8h/tests/network/playbooks/tests_ethtool_ring.yml:21 Wednesday 03 August 2022 17:47:35 +0000 (0:00:00.036) 0:00:07.251 ****** included: /tmp/tmppolohs8h/tests/network/playbooks/tasks/assert_device_present.yml for /cache/centos-7.qcow2c.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmppolohs8h/tests/network/playbooks/tasks/assert_device_present.yml:3 Wednesday 03 August 2022 17:47:35 +0000 (0:00:00.044) 0:00:07.295 ****** included: /tmp/tmppolohs8h/tests/network/playbooks/tasks/get_interface_stat.yml for /cache/centos-7.qcow2c.snap TASK [Get stat for interface testnic1] ***************************************** task path: /tmp/tmppolohs8h/tests/network/playbooks/tasks/get_interface_stat.yml:3 Wednesday 03 August 2022 17:47:35 +0000 (0:00:00.042) 0:00:07.338 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "stat": { "atime": 1659548854.2913065, "block_size": 4096, "blocks": 0, "ctime": 1659548854.2903066, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 14828, "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": 1659548854.2903066, "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/tmppolohs8h/tests/network/playbooks/tasks/assert_device_present.yml:4 Wednesday 03 August 2022 17:47:36 +0000 (0:00:00.346) 0:00:07.685 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [Install ethtool (test dependency)] *************************************** task path: /tmp/tmppolohs8h/tests/network/playbooks/tests_ethtool_ring.yml:22 Wednesday 03 August 2022 17:47:36 +0000 (0:00:00.045) 0:00:07.730 ****** ok: [/cache/centos-7.qcow2c.snap] => { "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 ring option.] ******************* task path: /tmp/tmppolohs8h/tests/network/playbooks/tests_ethtool_ring.yml:28 Wednesday 03 August 2022 17:47:36 +0000 (0:00:00.549) 0:00:08.279 ****** ok: [/cache/centos-7.qcow2c.snap] => {} MSG: ################################################## TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 03 August 2022 17:47:36 +0000 (0:00:00.042) 0:00:08.322 ****** included: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for /cache/centos-7.qcow2c.snap TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 03 August 2022 17:47:36 +0000 (0:00:00.047) 0:00:08.370 ****** ok: [/cache/centos-7.qcow2c.snap] => { "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/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 Wednesday 03 August 2022 17:47:37 +0000 (0:00:00.431) 0:00:08.802 ****** ok: [/cache/centos-7.qcow2c.snap] => { "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/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 Wednesday 03 August 2022 17:47:38 +0000 (0:00:01.027) 0:00:09.829 ****** ok: [/cache/centos-7.qcow2c.snap] => { "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/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 03 August 2022 17:47:39 +0000 (0:00:01.102) 0:00:10.931 ****** ok: [/cache/centos-7.qcow2c.snap] => {} 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/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 03 August 2022 17:47:39 +0000 (0:00:00.053) 0:00:10.985 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "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/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 03 August 2022 17:47:39 +0000 (0:00:00.068) 0:00:11.053 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Wednesday 03 August 2022 17:47:39 +0000 (0:00:00.050) 0:00:11.104 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "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/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:35 Wednesday 03 August 2022 17:47:39 +0000 (0:00:00.075) 0:00:11.179 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "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/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:45 Wednesday 03 August 2022 17:47:39 +0000 (0:00:00.047) 0:00:11.227 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "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/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:56 Wednesday 03 August 2022 17:47:39 +0000 (0:00:00.049) 0:00:11.276 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:69 Wednesday 03 August 2022 17:47:39 +0000 (0:00:00.052) 0:00:11.329 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "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/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:80 Wednesday 03 August 2022 17:47:39 +0000 (0:00:00.051) 0:00:11.380 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:89 Wednesday 03 August 2022 17:47:39 +0000 (0:00:00.043) 0:00:11.424 ****** ok: [/cache/centos-7.qcow2c.snap] => { "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/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:97 Wednesday 03 August 2022 17:47:40 +0000 (0:00:00.679) 0:00:12.103 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-236640x5wt0zg2/tmpwrbsygjk" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 Wednesday 03 August 2022 17:47:40 +0000 (0:00:00.338) 0:00:12.442 ****** changed: [/cache/centos-7.qcow2c.snap] => { "_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/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:118 Wednesday 03 August 2022 17:47:41 +0000 (0:00:00.739) 0:00:13.181 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Wednesday 03 August 2022 17:47:41 +0000 (0:00:00.050) 0:00:13.232 ****** ok: [/cache/centos-7.qcow2c.snap] => { "__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/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:128 Wednesday 03 August 2022 17:47:41 +0000 (0:00:00.086) 0:00:13.318 ****** ok: [/cache/centos-7.qcow2c.snap] => { "__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/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Wednesday 03 August 2022 17:47:41 +0000 (0:00:00.060) 0:00:13.379 ****** skipping: [/cache/centos-7.qcow2c.snap] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Wednesday 03 August 2022 17:47:41 +0000 (0:00:00.049) 0:00:13.428 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "ping": "pong" } META: role_complete for /cache/centos-7.qcow2c.snap TASK [Get profile's ring options] ********************************************** task path: /tmp/tmppolohs8h/tests/network/playbooks/tests_ethtool_ring.yml:44 Wednesday 03 August 2022 17:47:42 +0000 (0:00:00.433) 0:00:13.862 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [ASSERT: The profile does not contain ring options] *********************** task path: /tmp/tmppolohs8h/tests/network/playbooks/tests_ethtool_ring.yml:49 Wednesday 03 August 2022 17:47:42 +0000 (0:00:00.046) 0:00:13.908 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get profile's ring options] ********************************************** task path: /tmp/tmppolohs8h/tests/network/playbooks/tests_ethtool_ring.yml:54 Wednesday 03 August 2022 17:47:42 +0000 (0:00:00.045) 0:00:13.954 ****** fatal: [/cache/centos-7.qcow2c.snap]: FAILED! => { "changed": true, "cmd": [ "grep", "ETHTOOL", "/etc/sysconfig/network-scripts/ifcfg-testnic1" ], "delta": "0:00:01.004912", "end": "2022-08-03 17:47:43.476538", "rc": 1, "start": "2022-08-03 17:47:42.471626" } MSG: non-zero return code ...ignoring TASK [ASSERT: The profile does not contain ring options] *********************** task path: /tmp/tmppolohs8h/tests/network/playbooks/tests_ethtool_ring.yml:60 Wednesday 03 August 2022 17:47:43 +0000 (0:00:01.341) 0:00:15.296 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [TEST: I can set rx.] ***************************************************** task path: /tmp/tmppolohs8h/tests/network/playbooks/tests_ethtool_ring.yml:66 Wednesday 03 August 2022 17:47:43 +0000 (0:00:00.058) 0:00:15.354 ****** ok: [/cache/centos-7.qcow2c.snap] => {} MSG: ################################################## TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 03 August 2022 17:47:43 +0000 (0:00:00.054) 0:00:15.408 ****** included: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for /cache/centos-7.qcow2c.snap TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 03 August 2022 17:47:44 +0000 (0:00:00.095) 0:00:15.504 ****** ok: [/cache/centos-7.qcow2c.snap] => { "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/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 Wednesday 03 August 2022 17:47:44 +0000 (0:00:00.438) 0:00:15.943 ****** ok: [/cache/centos-7.qcow2c.snap] => { "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/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 Wednesday 03 August 2022 17:47:45 +0000 (0:00:00.913) 0:00:16.856 ****** ok: [/cache/centos-7.qcow2c.snap] => { "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/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 03 August 2022 17:47:46 +0000 (0:00:00.843) 0:00:17.699 ****** ok: [/cache/centos-7.qcow2c.snap] => {} 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/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 03 August 2022 17:47:46 +0000 (0:00:00.056) 0:00:17.756 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "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/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 03 August 2022 17:47:46 +0000 (0:00:00.047) 0:00:17.804 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Wednesday 03 August 2022 17:47:46 +0000 (0:00:00.080) 0:00:17.884 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "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/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:35 Wednesday 03 August 2022 17:47:46 +0000 (0:00:00.068) 0:00:17.953 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "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/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:45 Wednesday 03 August 2022 17:47:46 +0000 (0:00:00.044) 0:00:17.997 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "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/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:56 Wednesday 03 August 2022 17:47:46 +0000 (0:00:00.049) 0:00:18.047 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:69 Wednesday 03 August 2022 17:47:46 +0000 (0:00:00.049) 0:00:18.096 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "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/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:80 Wednesday 03 August 2022 17:47:46 +0000 (0:00:00.046) 0:00:18.143 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:89 Wednesday 03 August 2022 17:47:46 +0000 (0:00:00.050) 0:00:18.193 ****** ok: [/cache/centos-7.qcow2c.snap] => { "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/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:97 Wednesday 03 August 2022 17:47:47 +0000 (0:00:00.463) 0:00:18.657 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-236640x5wt0zg2/tmpkw70630n" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 Wednesday 03 August 2022 17:47:47 +0000 (0:00:00.337) 0:00:18.994 ****** changed: [/cache/centos-7.qcow2c.snap] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "ethtool": { "ring": { "rx": 128, "rx_jumbo": 128, "rx_mini": 128, "tx": 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 ring settings: Operation not supported ' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:118 Wednesday 03 August 2022 17:47:48 +0000 (0:00:00.529) 0:00:19.524 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Wednesday 03 August 2022 17:47:48 +0000 (0:00:00.050) 0:00:19.574 ****** ok: [/cache/centos-7.qcow2c.snap] => { "__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 ring settings: Operation not supported", "'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:128 Wednesday 03 August 2022 17:47:48 +0000 (0:00:00.058) 0:00:19.632 ****** ok: [/cache/centos-7.qcow2c.snap] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "ethtool": { "ring": { "rx": 128, "rx_jumbo": 128, "rx_mini": 128, "tx": 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 ring 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 ring settings: Operation not supported", "'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Wednesday 03 August 2022 17:47:48 +0000 (0:00:00.059) 0:00:19.691 ****** skipping: [/cache/centos-7.qcow2c.snap] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Wednesday 03 August 2022 17:47:48 +0000 (0:00:00.098) 0:00:19.789 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "ping": "pong" } META: role_complete for /cache/centos-7.qcow2c.snap TASK [Get profile's ethtool.ring-rx options] *********************************** task path: /tmp/tmppolohs8h/tests/network/playbooks/tests_ethtool_ring.yml:88 Wednesday 03 August 2022 17:47:48 +0000 (0:00:00.338) 0:00:20.128 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert ethtool.ring-rx option set in profile] **************************** task path: /tmp/tmppolohs8h/tests/network/playbooks/tests_ethtool_ring.yml:93 Wednesday 03 August 2022 17:47:48 +0000 (0:00:00.047) 0:00:20.176 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get profile's ethtool.ring-rx-jumbo options] ***************************** task path: /tmp/tmppolohs8h/tests/network/playbooks/tests_ethtool_ring.yml:98 Wednesday 03 August 2022 17:47:48 +0000 (0:00:00.044) 0:00:20.221 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert ethtool.ring-rx-jumbo option set in profile] ********************** task path: /tmp/tmppolohs8h/tests/network/playbooks/tests_ethtool_ring.yml:103 Wednesday 03 August 2022 17:47:48 +0000 (0:00:00.046) 0:00:20.268 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get profile's ethtool.ring-rx-mini options] ****************************** task path: /tmp/tmppolohs8h/tests/network/playbooks/tests_ethtool_ring.yml:108 Wednesday 03 August 2022 17:47:48 +0000 (0:00:00.045) 0:00:20.313 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert ethtool.ring-rx-mini option set in profile] *********************** task path: /tmp/tmppolohs8h/tests/network/playbooks/tests_ethtool_ring.yml:113 Wednesday 03 August 2022 17:47:48 +0000 (0:00:00.046) 0:00:20.360 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get profile's ethtool.ring-tx options] *********************************** task path: /tmp/tmppolohs8h/tests/network/playbooks/tests_ethtool_ring.yml:118 Wednesday 03 August 2022 17:47:48 +0000 (0:00:00.044) 0:00:20.404 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert ethtool.ring-tx option set in profile] **************************** task path: /tmp/tmppolohs8h/tests/network/playbooks/tests_ethtool_ring.yml:123 Wednesday 03 August 2022 17:47:48 +0000 (0:00:00.045) 0:00:20.450 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get profile's ethtool.ring options] ************************************** task path: /tmp/tmppolohs8h/tests/network/playbooks/tests_ethtool_ring.yml:129 Wednesday 03 August 2022 17:47:48 +0000 (0:00:00.042) 0:00:20.492 ****** changed: [/cache/centos-7.qcow2c.snap] => { "changed": true, "cmd": [ "grep", "ETHTOOL", "/etc/sysconfig/network-scripts/ifcfg-testnic1" ], "delta": "0:00:00.003531", "end": "2022-08-03 17:47:49.005358", "rc": 0, "start": "2022-08-03 17:47:49.001827" } STDOUT: ETHTOOL_OPTS="-G testnic1 rx 128 rx-jumbo 128 tx 128 rx-mini 128" TASK [Assert ethtool.ring option set in profile] ******************************* task path: /tmp/tmppolohs8h/tests/network/playbooks/tests_ethtool_ring.yml:135 Wednesday 03 August 2022 17:47:49 +0000 (0:00:00.330) 0:00:20.823 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [TEST: I can clear ring options] ****************************************** task path: /tmp/tmppolohs8h/tests/network/playbooks/tests_ethtool_ring.yml:145 Wednesday 03 August 2022 17:47:49 +0000 (0:00:00.058) 0:00:20.882 ****** ok: [/cache/centos-7.qcow2c.snap] => {} MSG: ################################################## TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 03 August 2022 17:47:49 +0000 (0:00:00.056) 0:00:20.938 ****** included: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for /cache/centos-7.qcow2c.snap TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 03 August 2022 17:47:49 +0000 (0:00:00.069) 0:00:21.008 ****** ok: [/cache/centos-7.qcow2c.snap] => { "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/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 Wednesday 03 August 2022 17:47:49 +0000 (0:00:00.481) 0:00:21.489 ****** ok: [/cache/centos-7.qcow2c.snap] => { "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/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 Wednesday 03 August 2022 17:47:50 +0000 (0:00:00.911) 0:00:22.401 ****** ok: [/cache/centos-7.qcow2c.snap] => { "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/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 03 August 2022 17:47:51 +0000 (0:00:00.851) 0:00:23.252 ****** ok: [/cache/centos-7.qcow2c.snap] => {} 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/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 03 August 2022 17:47:51 +0000 (0:00:00.056) 0:00:23.309 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "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/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 03 August 2022 17:47:51 +0000 (0:00:00.046) 0:00:23.355 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Wednesday 03 August 2022 17:47:51 +0000 (0:00:00.052) 0:00:23.407 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "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/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:35 Wednesday 03 August 2022 17:47:51 +0000 (0:00:00.079) 0:00:23.486 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "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/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:45 Wednesday 03 August 2022 17:47:52 +0000 (0:00:00.050) 0:00:23.537 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "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/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:56 Wednesday 03 August 2022 17:47:52 +0000 (0:00:00.048) 0:00:23.585 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:69 Wednesday 03 August 2022 17:47:52 +0000 (0:00:00.105) 0:00:23.690 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "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/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:80 Wednesday 03 August 2022 17:47:52 +0000 (0:00:00.051) 0:00:23.742 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:89 Wednesday 03 August 2022 17:47:52 +0000 (0:00:00.046) 0:00:23.788 ****** ok: [/cache/centos-7.qcow2c.snap] => { "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/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:97 Wednesday 03 August 2022 17:47:52 +0000 (0:00:00.443) 0:00:24.232 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-236640x5wt0zg2/tmp6i_1sc__" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 Wednesday 03 August 2022 17:47:53 +0000 (0:00:00.345) 0:00:24.578 ****** changed: [/cache/centos-7.qcow2c.snap] => { "_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/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:118 Wednesday 03 August 2022 17:47:53 +0000 (0:00:00.529) 0:00:25.107 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Wednesday 03 August 2022 17:47:53 +0000 (0:00:00.047) 0:00:25.155 ****** ok: [/cache/centos-7.qcow2c.snap] => { "__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/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:128 Wednesday 03 August 2022 17:47:53 +0000 (0:00:00.059) 0:00:25.215 ****** ok: [/cache/centos-7.qcow2c.snap] => { "__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/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Wednesday 03 August 2022 17:47:53 +0000 (0:00:00.057) 0:00:25.272 ****** skipping: [/cache/centos-7.qcow2c.snap] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Wednesday 03 August 2022 17:47:53 +0000 (0:00:00.048) 0:00:25.320 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "ping": "pong" } META: role_complete for /cache/centos-7.qcow2c.snap TASK [Get profile's ring options] ********************************************** task path: /tmp/tmppolohs8h/tests/network/playbooks/tests_ethtool_ring.yml:160 Wednesday 03 August 2022 17:47:54 +0000 (0:00:00.341) 0:00:25.662 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [ASSERT: The profile does reset ring options] ***************************** task path: /tmp/tmppolohs8h/tests/network/playbooks/tests_ethtool_ring.yml:165 Wednesday 03 August 2022 17:47:54 +0000 (0:00:00.103) 0:00:25.765 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get profile's ring options] ********************************************** task path: /tmp/tmppolohs8h/tests/network/playbooks/tests_ethtool_ring.yml:170 Wednesday 03 August 2022 17:47:54 +0000 (0:00:00.044) 0:00:25.810 ****** fatal: [/cache/centos-7.qcow2c.snap]: FAILED! => { "changed": true, "cmd": [ "grep", "ETHTOOL", "/etc/sysconfig/network-scripts/ifcfg-testnic1" ], "delta": "0:00:00.003735", "end": "2022-08-03 17:47:54.327047", "rc": 1, "start": "2022-08-03 17:47:54.323312" } MSG: non-zero return code ...ignoring TASK [ASSERT: The profile does reset ring options] ***************************** task path: /tmp/tmppolohs8h/tests/network/playbooks/tests_ethtool_ring.yml:176 Wednesday 03 August 2022 17:47:54 +0000 (0:00:00.336) 0:00:26.146 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 03 August 2022 17:47:54 +0000 (0:00:00.060) 0:00:26.207 ****** included: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for /cache/centos-7.qcow2c.snap TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 03 August 2022 17:47:54 +0000 (0:00:00.073) 0:00:26.281 ****** ok: [/cache/centos-7.qcow2c.snap] => { "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/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 Wednesday 03 August 2022 17:47:55 +0000 (0:00:00.427) 0:00:26.708 ****** ok: [/cache/centos-7.qcow2c.snap] => { "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/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 Wednesday 03 August 2022 17:47:56 +0000 (0:00:00.937) 0:00:27.646 ****** ok: [/cache/centos-7.qcow2c.snap] => { "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/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 03 August 2022 17:47:57 +0000 (0:00:00.916) 0:00:28.562 ****** ok: [/cache/centos-7.qcow2c.snap] => {} 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/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 03 August 2022 17:47:57 +0000 (0:00:00.058) 0:00:28.621 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "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/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 03 August 2022 17:47:57 +0000 (0:00:00.045) 0:00:28.667 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Wednesday 03 August 2022 17:47:57 +0000 (0:00:00.047) 0:00:28.715 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "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/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:35 Wednesday 03 August 2022 17:47:57 +0000 (0:00:00.072) 0:00:28.787 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "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/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:45 Wednesday 03 August 2022 17:47:57 +0000 (0:00:00.051) 0:00:28.838 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "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/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:56 Wednesday 03 August 2022 17:47:57 +0000 (0:00:00.048) 0:00:28.886 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:69 Wednesday 03 August 2022 17:47:57 +0000 (0:00:00.054) 0:00:28.941 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "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/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:80 Wednesday 03 August 2022 17:47:57 +0000 (0:00:00.050) 0:00:28.991 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:89 Wednesday 03 August 2022 17:47:57 +0000 (0:00:00.047) 0:00:29.039 ****** ok: [/cache/centos-7.qcow2c.snap] => { "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/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:97 Wednesday 03 August 2022 17:47:58 +0000 (0:00:00.464) 0:00:29.503 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-236640x5wt0zg2/tmprukthsg0" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 Wednesday 03 August 2022 17:47:58 +0000 (0:00:00.346) 0:00:29.849 ****** changed: [/cache/centos-7.qcow2c.snap] => { "_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/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:118 Wednesday 03 August 2022 17:47:58 +0000 (0:00:00.462) 0:00:30.312 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Wednesday 03 August 2022 17:47:58 +0000 (0:00:00.048) 0:00:30.361 ****** ok: [/cache/centos-7.qcow2c.snap] => { "__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/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:128 Wednesday 03 August 2022 17:47:58 +0000 (0:00:00.058) 0:00:30.419 ****** ok: [/cache/centos-7.qcow2c.snap] => { "__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/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Wednesday 03 August 2022 17:47:58 +0000 (0:00:00.060) 0:00:30.480 ****** skipping: [/cache/centos-7.qcow2c.snap] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Wednesday 03 August 2022 17:47:59 +0000 (0:00:00.048) 0:00:30.529 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "ping": "pong" } META: role_complete for /cache/centos-7.qcow2c.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmppolohs8h/tests/network/playbooks/tests_ethtool_ring.yml:192 Wednesday 03 August 2022 17:47:59 +0000 (0:00:00.338) 0:00:30.867 ****** included: /tmp/tmppolohs8h/tests/network/playbooks/tasks/manage_test_interface.yml for /cache/centos-7.qcow2c.snap TASK [Ensure state in ["present", "absent"]] *********************************** task path: /tmp/tmppolohs8h/tests/network/playbooks/tasks/manage_test_interface.yml:3 Wednesday 03 August 2022 17:47:59 +0000 (0:00:00.074) 0:00:30.941 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /tmp/tmppolohs8h/tests/network/playbooks/tasks/manage_test_interface.yml:8 Wednesday 03 August 2022 17:47:59 +0000 (0:00:00.044) 0:00:30.986 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [include_tasks] *********************************************************** task path: /tmp/tmppolohs8h/tests/network/playbooks/tasks/manage_test_interface.yml:13 Wednesday 03 August 2022 17:47:59 +0000 (0:00:00.045) 0:00:31.032 ****** included: /tmp/tmppolohs8h/tests/network/playbooks/tasks/show_interfaces.yml for /cache/centos-7.qcow2c.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmppolohs8h/tests/network/playbooks/tasks/show_interfaces.yml:3 Wednesday 03 August 2022 17:47:59 +0000 (0:00:00.066) 0:00:31.098 ****** included: /tmp/tmppolohs8h/tests/network/playbooks/tasks/get_current_interfaces.yml for /cache/centos-7.qcow2c.snap TASK [Gather current interface info] ******************************************* task path: /tmp/tmppolohs8h/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 03 August 2022 17:47:59 +0000 (0:00:00.063) 0:00:31.162 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.004312", "end": "2022-08-03 17:47:59.671111", "rc": 0, "start": "2022-08-03 17:47:59.666799" } STDOUT: bond0 bonding_masters eth0 lo peertestnic1 testnic1 TASK [Set current_interfaces] ************************************************** task path: /tmp/tmppolohs8h/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 03 August 2022 17:48:00 +0000 (0:00:00.360) 0:00:31.522 ****** ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo", "peertestnic1", "testnic1" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/tmppolohs8h/tests/network/playbooks/tasks/show_interfaces.yml:4 Wednesday 03 August 2022 17:48:00 +0000 (0:00:00.052) 0:00:31.575 ****** ok: [/cache/centos-7.qcow2c.snap] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo', 'peertestnic1', 'testnic1'] TASK [Install iproute] ********************************************************* task path: /tmp/tmppolohs8h/tests/network/playbooks/tasks/manage_test_interface.yml:15 Wednesday 03 August 2022 17:48:00 +0000 (0:00:00.055) 0:00:31.630 ****** ok: [/cache/centos-7.qcow2c.snap] => { "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/tmppolohs8h/tests/network/playbooks/tasks/manage_test_interface.yml:21 Wednesday 03 August 2022 17:48:00 +0000 (0:00:00.547) 0:00:32.178 ****** skipping: [/cache/centos-7.qcow2c.snap] => (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/centos-7.qcow2c.snap] => (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/centos-7.qcow2c.snap] => (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/tmppolohs8h/tests/network/playbooks/tasks/manage_test_interface.yml:28 Wednesday 03 August 2022 17:48:00 +0000 (0:00:00.059) 0:00:32.237 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete veth interface testnic1] ****************************************** task path: /tmp/tmppolohs8h/tests/network/playbooks/tasks/manage_test_interface.yml:35 Wednesday 03 August 2022 17:48:00 +0000 (0:00:00.051) 0:00:32.289 ****** changed: [/cache/centos-7.qcow2c.snap] => { "changed": true, "cmd": [ "ip", "link", "del", "testnic1", "type", "veth" ], "delta": "0:00:00.013799", "end": "2022-08-03 17:48:00.837964", "rc": 0, "start": "2022-08-03 17:48:00.824165" } TASK [Create dummy interface testnic1] ***************************************** task path: /tmp/tmppolohs8h/tests/network/playbooks/tasks/manage_test_interface.yml:40 Wednesday 03 August 2022 17:48:01 +0000 (0:00:00.370) 0:00:32.660 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface testnic1] ***************************************** task path: /tmp/tmppolohs8h/tests/network/playbooks/tasks/manage_test_interface.yml:44 Wednesday 03 August 2022 17:48:01 +0000 (0:00:00.046) 0:00:32.707 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface testnic1] ******************************************* task path: /tmp/tmppolohs8h/tests/network/playbooks/tasks/manage_test_interface.yml:49 Wednesday 03 August 2022 17:48:01 +0000 (0:00:00.048) 0:00:32.755 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface testnic1] ******************************************* task path: /tmp/tmppolohs8h/tests/network/playbooks/tasks/manage_test_interface.yml:53 Wednesday 03 August 2022 17:48:01 +0000 (0:00:00.045) 0:00:32.800 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/centos-7.qcow2c.snap : ok=92 changed=12 unreachable=0 failed=0 skipped=70 rescued=0 ignored=2 Wednesday 03 August 2022 17:48:01 +0000 (0:00:00.071) 0:00:32.871 ****** =============================================================================== Get profile's ring options ---------------------------------------------- 1.34s /tmp/tmppolohs8h/tests/network/playbooks/tests_ethtool_ring.yml:54 ------------ fedora.linux_system_roles.network : Configure networking connection profiles --- 1.27s /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 fedora.linux_system_roles.network : Enable network service -------------- 1.12s /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:89 fedora.linux_system_roles.network : Check which packages are installed --- 1.10s /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 fedora.linux_system_roles.network : Check which services are running ---- 1.03s /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 Gathering Facts --------------------------------------------------------- 0.96s /tmp/tmppolohs8h/tests/network/tests_ethtool_ring_initscripts.yml:4 ----------- fedora.linux_system_roles.network : Check which services are running ---- 0.94s /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 Create veth interface testnic1 ------------------------------------------ 0.93s /tmp/tmppolohs8h/tests/network/playbooks/tasks/manage_test_interface.yml:21 --- fedora.linux_system_roles.network : Check which packages are installed --- 0.92s /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 fedora.linux_system_roles.network : Check which services are running ---- 0.91s /tmp/tmpe4dwqm__/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/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 fedora.linux_system_roles.network : Check which packages are installed --- 0.85s /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 fedora.linux_system_roles.network : Check which packages are installed --- 0.84s /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 fedora.linux_system_roles.network : Re-test connectivity ---------------- 0.77s /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Gathering Facts --------------------------------------------------------- 0.77s /tmp/tmppolohs8h/tests/network/playbooks/tests_ethtool_ring.yml:3 ------------- fedora.linux_system_roles.network : Ensure initscripts network file dependency is present --- 0.68s /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:97 Install iproute --------------------------------------------------------- 0.66s /tmp/tmppolohs8h/tests/network/playbooks/tasks/manage_test_interface.yml:15 --- Install ethtool (test dependency) --------------------------------------- 0.55s /tmp/tmppolohs8h/tests/network/playbooks/tests_ethtool_ring.yml:22 ------------ Install iproute --------------------------------------------------------- 0.55s /tmp/tmppolohs8h/tests/network/playbooks/tasks/manage_test_interface.yml:15 --- fedora.linux_system_roles.network : Configure networking connection profiles --- 0.53s /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 PLAYBOOK: _restore.yml ********************************************************* 1 plays in /tmp/tmppolohs8h/tests/network/_restore.yml PLAY [all] ********************************************************************* META: ran handlers TASK [Restore system files] **************************************************** task path: /tmp/tmppolohs8h/tests/network/_restore.yml:4 Wednesday 03 August 2022 17:48:01 +0000 (0:00:00.041) 0:00:32.913 ****** changed: [/cache/centos-7.qcow2c.snap] => { "changed": true, "cmd": "(cd /; tar -xf /tmp/network.backup.tar)", "delta": "0:00:00.007385", "end": "2022-08-03 17:48:01.426627", "rc": 0, "start": "2022-08-03 17:48:01.419242" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/centos-7.qcow2c.snap : ok=93 changed=13 unreachable=0 failed=0 skipped=70 rescued=0 ignored=2 Wednesday 03 August 2022 17:48:01 +0000 (0:00:00.408) 0:00:33.322 ****** =============================================================================== Get profile's ring options ---------------------------------------------- 1.34s /tmp/tmppolohs8h/tests/network/playbooks/tests_ethtool_ring.yml:54 ------------ fedora.linux_system_roles.network : Configure networking connection profiles --- 1.27s /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 fedora.linux_system_roles.network : Enable network service -------------- 1.12s /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:89 fedora.linux_system_roles.network : Check which packages are installed --- 1.10s /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 fedora.linux_system_roles.network : Check which services are running ---- 1.03s /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 Gathering Facts --------------------------------------------------------- 0.96s /tmp/tmppolohs8h/tests/network/tests_ethtool_ring_initscripts.yml:4 ----------- fedora.linux_system_roles.network : Check which services are running ---- 0.94s /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 Create veth interface testnic1 ------------------------------------------ 0.93s /tmp/tmppolohs8h/tests/network/playbooks/tasks/manage_test_interface.yml:21 --- fedora.linux_system_roles.network : Check which packages are installed --- 0.92s /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 fedora.linux_system_roles.network : Check which services are running ---- 0.91s /tmp/tmpe4dwqm__/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/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 fedora.linux_system_roles.network : Check which packages are installed --- 0.85s /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 fedora.linux_system_roles.network : Check which packages are installed --- 0.84s /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 fedora.linux_system_roles.network : Re-test connectivity ---------------- 0.77s /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Gathering Facts --------------------------------------------------------- 0.77s /tmp/tmppolohs8h/tests/network/playbooks/tests_ethtool_ring.yml:3 ------------- fedora.linux_system_roles.network : Ensure initscripts network file dependency is present --- 0.68s /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:97 Install iproute --------------------------------------------------------- 0.66s /tmp/tmppolohs8h/tests/network/playbooks/tasks/manage_test_interface.yml:15 --- Install ethtool (test dependency) --------------------------------------- 0.55s /tmp/tmppolohs8h/tests/network/playbooks/tests_ethtool_ring.yml:22 ------------ Install iproute --------------------------------------------------------- 0.55s /tmp/tmppolohs8h/tests/network/playbooks/tasks/manage_test_interface.yml:15 --- fedora.linux_system_roles.network : Configure networking connection profiles --- 0.53s /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106