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/tmpk7x13fer 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/tmpdb8ajfhr/tests/_backup.yml PLAY [all] ********************************************************************* META: ran handlers TASK [Get stats of system files] *********************************************** task path: /tmp/tmpdb8ajfhr/tests/_backup.yml:6 Wednesday 03 August 2022 15:18:33 +0000 (0:00:00.018) 0:00:00.018 ****** ok: [/cache/rhel-6.qcow2.snap] => (item=/etc/resolv.conf) => { "ansible_facts": { "discovered_interpreter_python": "/usr/bin/python" }, "ansible_loop_var": "item", "changed": false, "deprecations": [ { "collection_name": null, "msg": "ansible-core 2.13 will require Python 2.7 or newer on the target. Current version: 2.6.6 (r266:84292, Aug 9 2016, 06:11:56) [GCC 4.4.7 20120313 (Red Hat 4.4.7-17)]", "version": "2.13" } ], "item": "/etc/resolv.conf", "stat": { "atime": 1659539911.990311, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "2c55cc8324e731161638aa365379c1c147546a87", "ctime": 1659539911.99, "dev": 64513, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 260120, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1659539613.0, "nlink": 1, "path": "/etc/resolv.conf", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 57, "uid": 0, "version": "18446744072843961183", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } [DEPRECATION WARNING]: ansible-core 2.13 will require Python 2.7 or newer on the target. Current version: 2.6.6 (r266:84292, Aug 9 2016, 06:11:56) [GCC 4.4.7 20120313 (Red Hat 4.4.7-17)]. This feature will be removed in version 2.13. Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg. TASK [Check if system files exist] ********************************************* task path: /tmp/tmpdb8ajfhr/tests/_backup.yml:13 Wednesday 03 August 2022 15:18:33 +0000 (0:00:00.434) 0:00:00.453 ****** [WARNING]: conditional statements should not include jinja2 templating delimiters such as {{ }} or {% %}. Found: {{ item.stat.exists }} ok: [/cache/rhel-6.qcow2.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': 'e', 'woth': False, 'isreg': True, 'device_type': 0, 'mtime': 1659539613.0, 'block_size': 4096, 'inode': 260120, 'isgid': False, 'size': 57, 'executable': False, 'isuid': False, 'readable': True, 'version': '18446744072843961183', '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': 1659539911.990311, 'isdir': False, 'ctime': 1659539911.99, 'isblk': False, 'wgrp': False, 'checksum': '2c55cc8324e731161638aa365379c1c147546a87', 'dev': 64513, 'roth': True, 'isfifo': False, 'mode': '0644', 'xgrp': False, 'rusr': True, 'attributes': ['extents']}, '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": 1659539911.990311, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "2c55cc8324e731161638aa365379c1c147546a87", "ctime": 1659539911.99, "dev": 64513, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 260120, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1659539613.0, "nlink": 1, "path": "/etc/resolv.conf", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 57, "uid": 0, "version": "18446744072843961183", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } } TASK [Back up system files] **************************************************** task path: /tmp/tmpdb8ajfhr/tests/_backup.yml:19 Wednesday 03 August 2022 15:18:33 +0000 (0:00:00.034) 0:00:00.487 ****** changed: [/cache/rhel-6.qcow2.snap] => { "changed": true, "cmd": [ "tar", "-cf", "/tmp/network.backup.tar", "--same-owner", "--same-permissions", "/etc/resolv.conf" ], "delta": "0:00:00.003890", "end": "2022-08-03 11:18:33.367308", "rc": 0, "start": "2022-08-03 11:18:33.363418" } STDERR: tar: Removing leading `/' from member names META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/rhel-6.qcow2.snap : ok=3 changed=1 unreachable=0 failed=0 skipped=0 rescued=0 ignored=0 Wednesday 03 August 2022 15:18:34 +0000 (0:00:00.370) 0:00:00.857 ****** =============================================================================== Get stats of system files ----------------------------------------------- 0.43s /tmp/tmpdb8ajfhr/tests/_backup.yml:6 ------------------------------------------ Back up system files ---------------------------------------------------- 0.37s /tmp/tmpdb8ajfhr/tests/_backup.yml:19 ----------------------------------------- Check if system files exist --------------------------------------------- 0.03s /tmp/tmpdb8ajfhr/tests/_backup.yml:13 ----------------------------------------- PLAYBOOK: tests_ethtool_ring_initscripts.yml *********************************** 2 plays in /tmp/tmpdb8ajfhr/tests/tests_ethtool_ring_initscripts.yml PLAY [Run playbook 'playbooks/tests_ethtool_ring.yml' with initscripts as provider] *** TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpdb8ajfhr/tests/tests_ethtool_ring_initscripts.yml:4 Wednesday 03 August 2022 15:18:34 +0000 (0:00:00.055) 0:00:00.913 ****** ok: [/cache/rhel-6.qcow2.snap] META: ran handlers TASK [include_tasks] *********************************************************** task path: /tmp/tmpdb8ajfhr/tests/tests_ethtool_ring_initscripts.yml:7 Wednesday 03 August 2022 15:18:35 +0000 (0:00:00.910) 0:00:01.824 ****** included: /tmp/tmpdb8ajfhr/tests/tasks/el_repo_setup.yml for /cache/rhel-6.qcow2.snap TASK [Fix CentOS6 Base repo] *************************************************** task path: /tmp/tmpdb8ajfhr/tests/tasks/el_repo_setup.yml:2 Wednesday 03 August 2022 15:18:35 +0000 (0:00:00.029) 0:00:01.853 ****** skipping: [/cache/rhel-6.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [include_tasks] *********************************************************** task path: /tmp/tmpdb8ajfhr/tests/tasks/el_repo_setup.yml:27 Wednesday 03 August 2022 15:18:35 +0000 (0:00:00.020) 0:00:01.874 ****** included: /tmp/tmpdb8ajfhr/tests/tasks/enable_epel.yml for /cache/rhel-6.qcow2.snap TASK [Create EPEL 6] *********************************************************** task path: /tmp/tmpdb8ajfhr/tests/tasks/enable_epel.yml:4 Wednesday 03 August 2022 15:18:35 +0000 (0:00:00.030) 0:00:01.904 ****** skipping: [/cache/rhel-6.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /tmp/tmpdb8ajfhr/tests/tasks/enable_epel.yml:11 Wednesday 03 August 2022 15:18:35 +0000 (0:00:00.022) 0:00:01.927 ****** skipping: [/cache/rhel-6.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /tmp/tmpdb8ajfhr/tests/tasks/enable_epel.yml:17 Wednesday 03 August 2022 15:18:35 +0000 (0:00:00.022) 0:00:01.950 ****** skipping: [/cache/rhel-6.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /tmp/tmpdb8ajfhr/tests/tasks/enable_epel.yml:26 Wednesday 03 August 2022 15:18:35 +0000 (0:00:00.020) 0:00:01.971 ****** ok: [/cache/rhel-6.qcow2.snap] => { "changed": false, "checksum": "4bafddfe7badb0971135c888f25df1308b193622", "dest": "/etc/yum.repos.d/epel.repo", "gid": 0, "group": "root", "mode": "0644", "owner": "root", "path": "/etc/yum.repos.d/epel.repo", "secontext": "system_u:object_r:etc_t:s0", "size": 155, "state": "file", "uid": 0 } TASK [Set network provider to 'initscripts'] *********************************** task path: /tmp/tmpdb8ajfhr/tests/tests_ethtool_ring_initscripts.yml:8 Wednesday 03 August 2022 15:18:35 +0000 (0:00:00.620) 0:00:02.591 ****** ok: [/cache/rhel-6.qcow2.snap] => { "ansible_facts": { "network_provider": "initscripts" }, "changed": false } META: ran handlers META: ran handlers PLAY [all] ********************************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpdb8ajfhr/tests/playbooks/tests_ethtool_ring.yml:3 Wednesday 03 August 2022 15:18:35 +0000 (0:00:00.052) 0:00:02.644 ****** ok: [/cache/rhel-6.qcow2.snap] META: ran handlers TASK [Show playbook name] ****************************************************** task path: /tmp/tmpdb8ajfhr/tests/playbooks/tests_ethtool_ring.yml:8 Wednesday 03 August 2022 15:18:36 +0000 (0:00:00.668) 0:00:03.313 ****** ok: [/cache/rhel-6.qcow2.snap] => {} MSG: this is: playbooks/tests_ethtool_ring.yml TASK [INIT: Ethtool ring tests] ************************************************ task path: /tmp/tmpdb8ajfhr/tests/playbooks/tests_ethtool_ring.yml:14 Wednesday 03 August 2022 15:18:36 +0000 (0:00:00.044) 0:00:03.358 ****** ok: [/cache/rhel-6.qcow2.snap] => {} MSG: ################################################## TASK [include_tasks] *********************************************************** task path: /tmp/tmpdb8ajfhr/tests/playbooks/tests_ethtool_ring.yml:17 Wednesday 03 August 2022 15:18:36 +0000 (0:00:00.043) 0:00:03.401 ****** included: /tmp/tmpdb8ajfhr/tests/playbooks/tasks/show_interfaces.yml for /cache/rhel-6.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmpdb8ajfhr/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 03 August 2022 15:18:36 +0000 (0:00:00.045) 0:00:03.447 ****** included: /tmp/tmpdb8ajfhr/tests/playbooks/tasks/get_current_interfaces.yml for /cache/rhel-6.qcow2.snap TASK [Gather current interface info] ******************************************* task path: /tmp/tmpdb8ajfhr/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 03 August 2022 15:18:36 +0000 (0:00:00.042) 0:00:03.489 ****** ok: [/cache/rhel-6.qcow2.snap] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003404", "end": "2022-08-03 11:18:36.303221", "rc": 0, "start": "2022-08-03 11:18:36.299817" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/tmpdb8ajfhr/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 03 August 2022 15:18:37 +0000 (0:00:00.305) 0:00:03.794 ****** ok: [/cache/rhel-6.qcow2.snap] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/tmpdb8ajfhr/tests/playbooks/tasks/show_interfaces.yml:4 Wednesday 03 August 2022 15:18:37 +0000 (0:00:00.099) 0:00:03.894 ****** ok: [/cache/rhel-6.qcow2.snap] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [include_tasks] *********************************************************** task path: /tmp/tmpdb8ajfhr/tests/playbooks/tests_ethtool_ring.yml:18 Wednesday 03 August 2022 15:18:37 +0000 (0:00:00.043) 0:00:03.937 ****** included: /tmp/tmpdb8ajfhr/tests/playbooks/tasks/manage_test_interface.yml for /cache/rhel-6.qcow2.snap TASK [Ensure state in ["present", "absent"]] *********************************** task path: /tmp/tmpdb8ajfhr/tests/playbooks/tasks/manage_test_interface.yml:3 Wednesday 03 August 2022 15:18:37 +0000 (0:00:00.047) 0:00:03.985 ****** skipping: [/cache/rhel-6.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /tmp/tmpdb8ajfhr/tests/playbooks/tasks/manage_test_interface.yml:8 Wednesday 03 August 2022 15:18:37 +0000 (0:00:00.032) 0:00:04.018 ****** skipping: [/cache/rhel-6.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [include_tasks] *********************************************************** task path: /tmp/tmpdb8ajfhr/tests/playbooks/tasks/manage_test_interface.yml:13 Wednesday 03 August 2022 15:18:37 +0000 (0:00:00.036) 0:00:04.054 ****** included: /tmp/tmpdb8ajfhr/tests/playbooks/tasks/show_interfaces.yml for /cache/rhel-6.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmpdb8ajfhr/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 03 August 2022 15:18:37 +0000 (0:00:00.073) 0:00:04.128 ****** included: /tmp/tmpdb8ajfhr/tests/playbooks/tasks/get_current_interfaces.yml for /cache/rhel-6.qcow2.snap TASK [Gather current interface info] ******************************************* task path: /tmp/tmpdb8ajfhr/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 03 August 2022 15:18:37 +0000 (0:00:00.043) 0:00:04.171 ****** ok: [/cache/rhel-6.qcow2.snap] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003570", "end": "2022-08-03 11:18:36.968238", "rc": 0, "start": "2022-08-03 11:18:36.964668" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/tmpdb8ajfhr/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 03 August 2022 15:18:37 +0000 (0:00:00.285) 0:00:04.456 ****** ok: [/cache/rhel-6.qcow2.snap] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/tmpdb8ajfhr/tests/playbooks/tasks/show_interfaces.yml:4 Wednesday 03 August 2022 15:18:37 +0000 (0:00:00.046) 0:00:04.502 ****** ok: [/cache/rhel-6.qcow2.snap] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /tmp/tmpdb8ajfhr/tests/playbooks/tasks/manage_test_interface.yml:15 Wednesday 03 August 2022 15:18:37 +0000 (0:00:00.043) 0:00:04.546 ****** ok: [/cache/rhel-6.qcow2.snap] => { "changed": false, "rc": 0, "results": [ "iproute-2.6.32-57.el6.x86_64 providing iproute is already installed" ] } TASK [Create veth interface testnic1] ****************************************** task path: /tmp/tmpdb8ajfhr/tests/playbooks/tasks/manage_test_interface.yml:21 Wednesday 03 August 2022 15:18:38 +0000 (0:00:00.649) 0:00:05.196 ****** changed: [/cache/rhel-6.qcow2.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.003539", "deprecations": [ { "collection_name": null, "msg": "ansible-core 2.13 will require Python 2.7 or newer on the target. Current version: 2.6.6 (r266:84292, Aug 9 2016, 06:11:56) [GCC 4.4.7 20120313 (Red Hat 4.4.7-17)]", "version": "2.13" } ], "end": "2022-08-03 11:18:37.993207", "item": "ip link add testnic1 type veth peer name peertestnic1", "rc": 0, "start": "2022-08-03 11:18:37.989668" } changed: [/cache/rhel-6.qcow2.snap] => (item=ip link set peertestnic1 up) => { "ansible_loop_var": "item", "changed": true, "cmd": [ "ip", "link", "set", "peertestnic1", "up" ], "delta": "0:00:00.003329", "deprecations": [ { "collection_name": null, "msg": "ansible-core 2.13 will require Python 2.7 or newer on the target. Current version: 2.6.6 (r266:84292, Aug 9 2016, 06:11:56) [GCC 4.4.7 20120313 (Red Hat 4.4.7-17)]", "version": "2.13" } ], "end": "2022-08-03 11:18:38.235116", "item": "ip link set peertestnic1 up", "rc": 0, "start": "2022-08-03 11:18:38.231787" } changed: [/cache/rhel-6.qcow2.snap] => (item=ip link set testnic1 up) => { "ansible_loop_var": "item", "changed": true, "cmd": [ "ip", "link", "set", "testnic1", "up" ], "delta": "0:00:00.003785", "deprecations": [ { "collection_name": null, "msg": "ansible-core 2.13 will require Python 2.7 or newer on the target. Current version: 2.6.6 (r266:84292, Aug 9 2016, 06:11:56) [GCC 4.4.7 20120313 (Red Hat 4.4.7-17)]", "version": "2.13" } ], "end": "2022-08-03 11:18:38.474336", "item": "ip link set testnic1 up", "rc": 0, "start": "2022-08-03 11:18:38.470551" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /tmp/tmpdb8ajfhr/tests/playbooks/tasks/manage_test_interface.yml:29 Wednesday 03 August 2022 15:18:39 +0000 (0:00:00.766) 0:00:05.963 ****** fatal: [/cache/rhel-6.qcow2.snap]: FAILED! => { "changed": false, "cmd": "nmcli d set testnic1 managed true", "rc": 2 } MSG: [Errno 2] No such file or directory ...ignoring TASK [Delete veth interface testnic1] ****************************************** task path: /tmp/tmpdb8ajfhr/tests/playbooks/tasks/manage_test_interface.yml:36 Wednesday 03 August 2022 15:18:39 +0000 (0:00:00.281) 0:00:06.244 ****** skipping: [/cache/rhel-6.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create dummy interface testnic1] ***************************************** task path: /tmp/tmpdb8ajfhr/tests/playbooks/tasks/manage_test_interface.yml:42 Wednesday 03 August 2022 15:18:39 +0000 (0:00:00.037) 0:00:06.282 ****** skipping: [/cache/rhel-6.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface testnic1] ***************************************** task path: /tmp/tmpdb8ajfhr/tests/playbooks/tasks/manage_test_interface.yml:47 Wednesday 03 August 2022 15:18:39 +0000 (0:00:00.036) 0:00:06.318 ****** skipping: [/cache/rhel-6.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface testnic1] ******************************************* task path: /tmp/tmpdb8ajfhr/tests/playbooks/tasks/manage_test_interface.yml:53 Wednesday 03 August 2022 15:18:39 +0000 (0:00:00.035) 0:00:06.354 ****** skipping: [/cache/rhel-6.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface testnic1] ******************************************* task path: /tmp/tmpdb8ajfhr/tests/playbooks/tasks/manage_test_interface.yml:58 Wednesday 03 August 2022 15:18:39 +0000 (0:00:00.034) 0:00:06.389 ****** skipping: [/cache/rhel-6.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [include_tasks] *********************************************************** task path: /tmp/tmpdb8ajfhr/tests/playbooks/tests_ethtool_ring.yml:21 Wednesday 03 August 2022 15:18:39 +0000 (0:00:00.033) 0:00:06.422 ****** included: /tmp/tmpdb8ajfhr/tests/playbooks/tasks/assert_device_present.yml for /cache/rhel-6.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmpdb8ajfhr/tests/playbooks/tasks/assert_device_present.yml:3 Wednesday 03 August 2022 15:18:39 +0000 (0:00:00.047) 0:00:06.470 ****** included: /tmp/tmpdb8ajfhr/tests/playbooks/tasks/get_interface_stat.yml for /cache/rhel-6.qcow2.snap TASK [Get stat for interface testnic1] ***************************************** task path: /tmp/tmpdb8ajfhr/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 03 August 2022 15:18:39 +0000 (0:00:00.045) 0:00:06.515 ****** ok: [/cache/rhel-6.qcow2.snap] => { "changed": false, "stat": { "atime": 1659539918.103, "block_size": 4096, "blocks": 0, "ctime": 1659539918.093, "dev": 0, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 7730, "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": 1659539918.093, "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/tmpdb8ajfhr/tests/playbooks/tasks/assert_device_present.yml:4 Wednesday 03 August 2022 15:18:40 +0000 (0:00:00.276) 0:00:06.791 ****** ok: [/cache/rhel-6.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Install ethtool (test dependency)] *************************************** task path: /tmp/tmpdb8ajfhr/tests/playbooks/tests_ethtool_ring.yml:22 Wednesday 03 August 2022 15:18:40 +0000 (0:00:00.044) 0:00:06.836 ****** ok: [/cache/rhel-6.qcow2.snap] => { "changed": false, "rc": 0, "results": [ "2:ethtool-3.5-6.el6.x86_64 providing ethtool is already installed" ] } TASK [TEST: I can create a profile without any ring option.] ******************* task path: /tmp/tmpdb8ajfhr/tests/playbooks/tests_ethtool_ring.yml:28 Wednesday 03 August 2022 15:18:40 +0000 (0:00:00.481) 0:00:07.317 ****** ok: [/cache/rhel-6.qcow2.snap] => {} MSG: ################################################## TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /tmp/tmpdb8ajfhr/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 03 August 2022 15:18:40 +0000 (0:00:00.043) 0:00:07.360 ****** included: /tmp/tmpdb8ajfhr/tests/roles/linux-system-roles.network/tasks/set_facts.yml for /cache/rhel-6.qcow2.snap TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/tmpdb8ajfhr/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 03 August 2022 15:18:40 +0000 (0:00:00.045) 0:00:07.406 ****** ok: [/cache/rhel-6.qcow2.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/tmpdb8ajfhr/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 Wednesday 03 August 2022 15:18:41 +0000 (0:00:00.365) 0:00:07.771 ****** ok: [/cache/rhel-6.qcow2.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/tmpdb8ajfhr/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 Wednesday 03 August 2022 15:18:42 +0000 (0:00:01.459) 0:00:09.231 ****** ok: [/cache/rhel-6.qcow2.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/tmpdb8ajfhr/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 03 August 2022 15:18:43 +0000 (0:00:00.848) 0:00:10.079 ****** ok: [/cache/rhel-6.qcow2.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/tmpdb8ajfhr/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 03 August 2022 15:18:43 +0000 (0:00:00.053) 0:00:10.133 ****** skipping: [/cache/rhel-6.qcow2.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/tmpdb8ajfhr/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 03 August 2022 15:18:43 +0000 (0:00:00.043) 0:00:10.177 ****** skipping: [/cache/rhel-6.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /tmp/tmpdb8ajfhr/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 03 August 2022 15:18:43 +0000 (0:00:00.042) 0:00:10.219 ****** skipping: [/cache/rhel-6.qcow2.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/tmpdb8ajfhr/tests/roles/linux-system-roles.network/tasks/main.yml:38 Wednesday 03 August 2022 15:18:43 +0000 (0:00:00.061) 0:00:10.281 ****** skipping: [/cache/rhel-6.qcow2.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/tmpdb8ajfhr/tests/roles/linux-system-roles.network/tasks/main.yml:51 Wednesday 03 August 2022 15:18:43 +0000 (0:00:00.041) 0:00:10.323 ****** skipping: [/cache/rhel-6.qcow2.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/tmpdb8ajfhr/tests/roles/linux-system-roles.network/tasks/main.yml:65 Wednesday 03 August 2022 15:18:43 +0000 (0:00:00.040) 0:00:10.363 ****** skipping: [/cache/rhel-6.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /tmp/tmpdb8ajfhr/tests/roles/linux-system-roles.network/tasks/main.yml:79 Wednesday 03 August 2022 15:18:43 +0000 (0:00:00.044) 0:00:10.408 ****** skipping: [/cache/rhel-6.qcow2.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/tmpdb8ajfhr/tests/roles/linux-system-roles.network/tasks/main.yml:90 Wednesday 03 August 2022 15:18:43 +0000 (0:00:00.040) 0:00:10.449 ****** skipping: [/cache/rhel-6.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /tmp/tmpdb8ajfhr/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 03 August 2022 15:18:43 +0000 (0:00:00.038) 0:00:10.488 ****** ok: [/cache/rhel-6.qcow2.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/tmpdb8ajfhr/tests/roles/linux-system-roles.network/tasks/main.yml:107 Wednesday 03 August 2022 15:18:44 +0000 (0:00:00.486) 0:00:10.974 ****** ok: [/cache/rhel-6.qcow2.snap] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-300241l8wp9sxv/tmp5nu5_x4r" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /tmp/tmpdb8ajfhr/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 03 August 2022 15:18:44 +0000 (0:00:00.285) 0:00:11.259 ****** redirecting (type: action) ansible.builtin.network to ansible.netcommon.network changed: [/cache/rhel-6.qcow2.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/tmpdb8ajfhr/tests/roles/linux-system-roles.network/tasks/main.yml:128 Wednesday 03 August 2022 15:18:45 +0000 (0:00:00.633) 0:00:11.893 ****** skipping: [/cache/rhel-6.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /tmp/tmpdb8ajfhr/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 03 August 2022 15:18:45 +0000 (0:00:00.070) 0:00:11.963 ****** ok: [/cache/rhel-6.qcow2.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/tmpdb8ajfhr/tests/roles/linux-system-roles.network/tasks/main.yml:138 Wednesday 03 August 2022 15:18:45 +0000 (0:00:00.054) 0:00:12.017 ****** ok: [/cache/rhel-6.qcow2.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, "deprecations": [ { "collection_name": null, "msg": "ansible-core 2.13 will require Python 2.7 or newer on the target. Current version: 2.6.6 (r266:84292, Aug 9 2016, 06:11:56) [GCC 4.4.7 20120313 (Red Hat 4.4.7-17)]", "version": "2.13" } ], "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/tmpdb8ajfhr/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 03 August 2022 15:18:45 +0000 (0:00:00.052) 0:00:12.070 ****** skipping: [/cache/rhel-6.qcow2.snap] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /tmp/tmpdb8ajfhr/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 03 August 2022 15:18:45 +0000 (0:00:00.041) 0:00:12.111 ****** ok: [/cache/rhel-6.qcow2.snap] => { "changed": false, "ping": "pong" } META: role_complete for /cache/rhel-6.qcow2.snap TASK [Get profile's ring options] ********************************************** task path: /tmp/tmpdb8ajfhr/tests/playbooks/tests_ethtool_ring.yml:44 Wednesday 03 August 2022 15:18:45 +0000 (0:00:00.386) 0:00:12.498 ****** skipping: [/cache/rhel-6.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [ASSERT: The profile does not contain ring options] *********************** task path: /tmp/tmpdb8ajfhr/tests/playbooks/tests_ethtool_ring.yml:49 Wednesday 03 August 2022 15:18:45 +0000 (0:00:00.041) 0:00:12.539 ****** skipping: [/cache/rhel-6.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get profile's ring options] ********************************************** task path: /tmp/tmpdb8ajfhr/tests/playbooks/tests_ethtool_ring.yml:54 Wednesday 03 August 2022 15:18:45 +0000 (0:00:00.039) 0:00:12.578 ****** fatal: [/cache/rhel-6.qcow2.snap]: FAILED! => { "changed": true, "cmd": [ "grep", "ETHTOOL", "/etc/sysconfig/network-scripts/ifcfg-testnic1" ], "delta": "0:00:00.003327", "end": "2022-08-03 11:18:45.376898", "rc": 1, "start": "2022-08-03 11:18:45.373571" } MSG: non-zero return code ...ignoring TASK [ASSERT: The profile does not contain ring options] *********************** task path: /tmp/tmpdb8ajfhr/tests/playbooks/tests_ethtool_ring.yml:61 Wednesday 03 August 2022 15:18:46 +0000 (0:00:00.295) 0:00:12.874 ****** ok: [/cache/rhel-6.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [TEST: I can set rx.] ***************************************************** task path: /tmp/tmpdb8ajfhr/tests/playbooks/tests_ethtool_ring.yml:67 Wednesday 03 August 2022 15:18:46 +0000 (0:00:00.053) 0:00:12.927 ****** ok: [/cache/rhel-6.qcow2.snap] => {} MSG: ################################################## TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /tmp/tmpdb8ajfhr/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 03 August 2022 15:18:46 +0000 (0:00:00.053) 0:00:12.980 ****** included: /tmp/tmpdb8ajfhr/tests/roles/linux-system-roles.network/tasks/set_facts.yml for /cache/rhel-6.qcow2.snap TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/tmpdb8ajfhr/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 03 August 2022 15:18:46 +0000 (0:00:00.062) 0:00:13.043 ****** ok: [/cache/rhel-6.qcow2.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/tmpdb8ajfhr/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 Wednesday 03 August 2022 15:18:46 +0000 (0:00:00.371) 0:00:13.415 ****** ok: [/cache/rhel-6.qcow2.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/tmpdb8ajfhr/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 Wednesday 03 August 2022 15:18:48 +0000 (0:00:01.353) 0:00:14.768 ****** ok: [/cache/rhel-6.qcow2.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/tmpdb8ajfhr/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 03 August 2022 15:18:48 +0000 (0:00:00.539) 0:00:15.308 ****** ok: [/cache/rhel-6.qcow2.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/tmpdb8ajfhr/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 03 August 2022 15:18:48 +0000 (0:00:00.052) 0:00:15.360 ****** skipping: [/cache/rhel-6.qcow2.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/tmpdb8ajfhr/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 03 August 2022 15:18:48 +0000 (0:00:00.042) 0:00:15.403 ****** skipping: [/cache/rhel-6.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /tmp/tmpdb8ajfhr/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 03 August 2022 15:18:48 +0000 (0:00:00.043) 0:00:15.446 ****** skipping: [/cache/rhel-6.qcow2.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/tmpdb8ajfhr/tests/roles/linux-system-roles.network/tasks/main.yml:38 Wednesday 03 August 2022 15:18:48 +0000 (0:00:00.065) 0:00:15.511 ****** skipping: [/cache/rhel-6.qcow2.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/tmpdb8ajfhr/tests/roles/linux-system-roles.network/tasks/main.yml:51 Wednesday 03 August 2022 15:18:48 +0000 (0:00:00.047) 0:00:15.559 ****** skipping: [/cache/rhel-6.qcow2.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/tmpdb8ajfhr/tests/roles/linux-system-roles.network/tasks/main.yml:65 Wednesday 03 August 2022 15:18:48 +0000 (0:00:00.052) 0:00:15.611 ****** skipping: [/cache/rhel-6.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /tmp/tmpdb8ajfhr/tests/roles/linux-system-roles.network/tasks/main.yml:79 Wednesday 03 August 2022 15:18:48 +0000 (0:00:00.049) 0:00:15.661 ****** skipping: [/cache/rhel-6.qcow2.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/tmpdb8ajfhr/tests/roles/linux-system-roles.network/tasks/main.yml:90 Wednesday 03 August 2022 15:18:48 +0000 (0:00:00.044) 0:00:15.705 ****** skipping: [/cache/rhel-6.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /tmp/tmpdb8ajfhr/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 03 August 2022 15:18:49 +0000 (0:00:00.045) 0:00:15.751 ****** ok: [/cache/rhel-6.qcow2.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/tmpdb8ajfhr/tests/roles/linux-system-roles.network/tasks/main.yml:107 Wednesday 03 August 2022 15:18:49 +0000 (0:00:00.377) 0:00:16.128 ****** ok: [/cache/rhel-6.qcow2.snap] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-300241l8wp9sxv/tmp5242jx6x" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /tmp/tmpdb8ajfhr/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 03 August 2022 15:18:49 +0000 (0:00:00.296) 0:00:16.425 ****** redirecting (type: action) ansible.builtin.network to ansible.netcommon.network changed: [/cache/rhel-6.qcow2.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/tmpdb8ajfhr/tests/roles/linux-system-roles.network/tasks/main.yml:128 Wednesday 03 August 2022 15:18:50 +0000 (0:00:00.453) 0:00:16.879 ****** skipping: [/cache/rhel-6.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /tmp/tmpdb8ajfhr/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 03 August 2022 15:18:50 +0000 (0:00:00.046) 0:00:16.926 ****** ok: [/cache/rhel-6.qcow2.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/tmpdb8ajfhr/tests/roles/linux-system-roles.network/tasks/main.yml:138 Wednesday 03 August 2022 15:18:50 +0000 (0:00:00.052) 0:00:16.978 ****** ok: [/cache/rhel-6.qcow2.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, "deprecations": [ { "collection_name": null, "msg": "ansible-core 2.13 will require Python 2.7 or newer on the target. Current version: 2.6.6 (r266:84292, Aug 9 2016, 06:11:56) [GCC 4.4.7 20120313 (Red Hat 4.4.7-17)]", "version": "2.13" } ], "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/tmpdb8ajfhr/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 03 August 2022 15:18:50 +0000 (0:00:00.054) 0:00:17.032 ****** skipping: [/cache/rhel-6.qcow2.snap] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /tmp/tmpdb8ajfhr/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 03 August 2022 15:18:50 +0000 (0:00:00.044) 0:00:17.076 ****** ok: [/cache/rhel-6.qcow2.snap] => { "changed": false, "ping": "pong" } META: role_complete for /cache/rhel-6.qcow2.snap TASK [Get profile's ethtool.ring-rx options] *********************************** task path: /tmp/tmpdb8ajfhr/tests/playbooks/tests_ethtool_ring.yml:89 Wednesday 03 August 2022 15:18:50 +0000 (0:00:00.303) 0:00:17.380 ****** skipping: [/cache/rhel-6.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert ethtool.ring-rx option set in profile] **************************** task path: /tmp/tmpdb8ajfhr/tests/playbooks/tests_ethtool_ring.yml:94 Wednesday 03 August 2022 15:18:50 +0000 (0:00:00.044) 0:00:17.425 ****** skipping: [/cache/rhel-6.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get profile's ethtool.ring-rx-jumbo options] ***************************** task path: /tmp/tmpdb8ajfhr/tests/playbooks/tests_ethtool_ring.yml:99 Wednesday 03 August 2022 15:18:50 +0000 (0:00:00.041) 0:00:17.466 ****** skipping: [/cache/rhel-6.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert ethtool.ring-rx-jumbo option set in profile] ********************** task path: /tmp/tmpdb8ajfhr/tests/playbooks/tests_ethtool_ring.yml:104 Wednesday 03 August 2022 15:18:50 +0000 (0:00:00.041) 0:00:17.508 ****** skipping: [/cache/rhel-6.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get profile's ethtool.ring-rx-mini options] ****************************** task path: /tmp/tmpdb8ajfhr/tests/playbooks/tests_ethtool_ring.yml:109 Wednesday 03 August 2022 15:18:50 +0000 (0:00:00.041) 0:00:17.549 ****** skipping: [/cache/rhel-6.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert ethtool.ring-rx-mini option set in profile] *********************** task path: /tmp/tmpdb8ajfhr/tests/playbooks/tests_ethtool_ring.yml:114 Wednesday 03 August 2022 15:18:50 +0000 (0:00:00.042) 0:00:17.592 ****** skipping: [/cache/rhel-6.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get profile's ethtool.ring-tx options] *********************************** task path: /tmp/tmpdb8ajfhr/tests/playbooks/tests_ethtool_ring.yml:119 Wednesday 03 August 2022 15:18:50 +0000 (0:00:00.040) 0:00:17.632 ****** skipping: [/cache/rhel-6.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert ethtool.ring-tx option set in profile] **************************** task path: /tmp/tmpdb8ajfhr/tests/playbooks/tests_ethtool_ring.yml:124 Wednesday 03 August 2022 15:18:50 +0000 (0:00:00.074) 0:00:17.707 ****** skipping: [/cache/rhel-6.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get profile's ethtool.ring options] ************************************** task path: /tmp/tmpdb8ajfhr/tests/playbooks/tests_ethtool_ring.yml:130 Wednesday 03 August 2022 15:18:51 +0000 (0:00:00.042) 0:00:17.749 ****** changed: [/cache/rhel-6.qcow2.snap] => { "changed": true, "cmd": [ "grep", "ETHTOOL", "/etc/sysconfig/network-scripts/ifcfg-testnic1" ], "delta": "0:00:00.003287", "end": "2022-08-03 11:18:50.547748", "rc": 0, "start": "2022-08-03 11:18:50.544461" } 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/tmpdb8ajfhr/tests/playbooks/tests_ethtool_ring.yml:137 Wednesday 03 August 2022 15:18:51 +0000 (0:00:00.293) 0:00:18.043 ****** ok: [/cache/rhel-6.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [TEST: I can clear ring options] ****************************************** task path: /tmp/tmpdb8ajfhr/tests/playbooks/tests_ethtool_ring.yml:147 Wednesday 03 August 2022 15:18:51 +0000 (0:00:00.057) 0:00:18.100 ****** ok: [/cache/rhel-6.qcow2.snap] => {} MSG: ################################################## TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /tmp/tmpdb8ajfhr/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 03 August 2022 15:18:51 +0000 (0:00:00.054) 0:00:18.155 ****** included: /tmp/tmpdb8ajfhr/tests/roles/linux-system-roles.network/tasks/set_facts.yml for /cache/rhel-6.qcow2.snap TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/tmpdb8ajfhr/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 03 August 2022 15:18:51 +0000 (0:00:00.068) 0:00:18.223 ****** ok: [/cache/rhel-6.qcow2.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/tmpdb8ajfhr/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 Wednesday 03 August 2022 15:18:51 +0000 (0:00:00.378) 0:00:18.602 ****** ok: [/cache/rhel-6.qcow2.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/tmpdb8ajfhr/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 Wednesday 03 August 2022 15:18:53 +0000 (0:00:01.346) 0:00:19.948 ****** ok: [/cache/rhel-6.qcow2.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/tmpdb8ajfhr/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 03 August 2022 15:18:53 +0000 (0:00:00.615) 0:00:20.563 ****** ok: [/cache/rhel-6.qcow2.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/tmpdb8ajfhr/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 03 August 2022 15:18:53 +0000 (0:00:00.051) 0:00:20.615 ****** skipping: [/cache/rhel-6.qcow2.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/tmpdb8ajfhr/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 03 August 2022 15:18:53 +0000 (0:00:00.046) 0:00:20.662 ****** skipping: [/cache/rhel-6.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /tmp/tmpdb8ajfhr/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 03 August 2022 15:18:53 +0000 (0:00:00.045) 0:00:20.707 ****** skipping: [/cache/rhel-6.qcow2.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/tmpdb8ajfhr/tests/roles/linux-system-roles.network/tasks/main.yml:38 Wednesday 03 August 2022 15:18:54 +0000 (0:00:00.067) 0:00:20.775 ****** skipping: [/cache/rhel-6.qcow2.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/tmpdb8ajfhr/tests/roles/linux-system-roles.network/tasks/main.yml:51 Wednesday 03 August 2022 15:18:54 +0000 (0:00:00.045) 0:00:20.820 ****** skipping: [/cache/rhel-6.qcow2.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/tmpdb8ajfhr/tests/roles/linux-system-roles.network/tasks/main.yml:65 Wednesday 03 August 2022 15:18:54 +0000 (0:00:00.046) 0:00:20.866 ****** skipping: [/cache/rhel-6.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /tmp/tmpdb8ajfhr/tests/roles/linux-system-roles.network/tasks/main.yml:79 Wednesday 03 August 2022 15:18:54 +0000 (0:00:00.047) 0:00:20.914 ****** skipping: [/cache/rhel-6.qcow2.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/tmpdb8ajfhr/tests/roles/linux-system-roles.network/tasks/main.yml:90 Wednesday 03 August 2022 15:18:54 +0000 (0:00:00.045) 0:00:20.959 ****** skipping: [/cache/rhel-6.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /tmp/tmpdb8ajfhr/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 03 August 2022 15:18:54 +0000 (0:00:00.041) 0:00:21.000 ****** ok: [/cache/rhel-6.qcow2.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/tmpdb8ajfhr/tests/roles/linux-system-roles.network/tasks/main.yml:107 Wednesday 03 August 2022 15:18:54 +0000 (0:00:00.346) 0:00:21.347 ****** ok: [/cache/rhel-6.qcow2.snap] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-300241l8wp9sxv/tmpc9f31jxp" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /tmp/tmpdb8ajfhr/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 03 August 2022 15:18:54 +0000 (0:00:00.299) 0:00:21.647 ****** redirecting (type: action) ansible.builtin.network to ansible.netcommon.network changed: [/cache/rhel-6.qcow2.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/tmpdb8ajfhr/tests/roles/linux-system-roles.network/tasks/main.yml:128 Wednesday 03 August 2022 15:18:55 +0000 (0:00:00.450) 0:00:22.097 ****** skipping: [/cache/rhel-6.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /tmp/tmpdb8ajfhr/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 03 August 2022 15:18:55 +0000 (0:00:00.045) 0:00:22.143 ****** ok: [/cache/rhel-6.qcow2.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/tmpdb8ajfhr/tests/roles/linux-system-roles.network/tasks/main.yml:138 Wednesday 03 August 2022 15:18:55 +0000 (0:00:00.056) 0:00:22.200 ****** ok: [/cache/rhel-6.qcow2.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, "deprecations": [ { "collection_name": null, "msg": "ansible-core 2.13 will require Python 2.7 or newer on the target. Current version: 2.6.6 (r266:84292, Aug 9 2016, 06:11:56) [GCC 4.4.7 20120313 (Red Hat 4.4.7-17)]", "version": "2.13" } ], "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/tmpdb8ajfhr/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 03 August 2022 15:18:55 +0000 (0:00:00.051) 0:00:22.251 ****** skipping: [/cache/rhel-6.qcow2.snap] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /tmp/tmpdb8ajfhr/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 03 August 2022 15:18:55 +0000 (0:00:00.071) 0:00:22.323 ****** ok: [/cache/rhel-6.qcow2.snap] => { "changed": false, "ping": "pong" } META: role_complete for /cache/rhel-6.qcow2.snap TASK [Get profile's ring options] ********************************************** task path: /tmp/tmpdb8ajfhr/tests/playbooks/tests_ethtool_ring.yml:162 Wednesday 03 August 2022 15:18:55 +0000 (0:00:00.309) 0:00:22.632 ****** skipping: [/cache/rhel-6.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [ASSERT: The profile does reset ring options] ***************************** task path: /tmp/tmpdb8ajfhr/tests/playbooks/tests_ethtool_ring.yml:167 Wednesday 03 August 2022 15:18:55 +0000 (0:00:00.047) 0:00:22.679 ****** skipping: [/cache/rhel-6.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get profile's ring options] ********************************************** task path: /tmp/tmpdb8ajfhr/tests/playbooks/tests_ethtool_ring.yml:172 Wednesday 03 August 2022 15:18:56 +0000 (0:00:00.044) 0:00:22.724 ****** fatal: [/cache/rhel-6.qcow2.snap]: FAILED! => { "changed": true, "cmd": [ "grep", "ETHTOOL", "/etc/sysconfig/network-scripts/ifcfg-testnic1" ], "delta": "0:00:00.003191", "end": "2022-08-03 11:18:55.522322", "rc": 1, "start": "2022-08-03 11:18:55.519131" } MSG: non-zero return code ...ignoring TASK [ASSERT: The profile does reset ring options] ***************************** task path: /tmp/tmpdb8ajfhr/tests/playbooks/tests_ethtool_ring.yml:179 Wednesday 03 August 2022 15:18:56 +0000 (0:00:00.294) 0:00:23.018 ****** ok: [/cache/rhel-6.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /tmp/tmpdb8ajfhr/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 03 August 2022 15:18:56 +0000 (0:00:00.058) 0:00:23.076 ****** included: /tmp/tmpdb8ajfhr/tests/roles/linux-system-roles.network/tasks/set_facts.yml for /cache/rhel-6.qcow2.snap TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/tmpdb8ajfhr/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 03 August 2022 15:18:56 +0000 (0:00:00.066) 0:00:23.143 ****** ok: [/cache/rhel-6.qcow2.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/tmpdb8ajfhr/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 Wednesday 03 August 2022 15:18:56 +0000 (0:00:00.386) 0:00:23.529 ****** ok: [/cache/rhel-6.qcow2.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/tmpdb8ajfhr/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 Wednesday 03 August 2022 15:18:58 +0000 (0:00:01.332) 0:00:24.862 ****** ok: [/cache/rhel-6.qcow2.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/tmpdb8ajfhr/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 03 August 2022 15:18:58 +0000 (0:00:00.609) 0:00:25.471 ****** ok: [/cache/rhel-6.qcow2.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/tmpdb8ajfhr/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 03 August 2022 15:18:58 +0000 (0:00:00.054) 0:00:25.526 ****** skipping: [/cache/rhel-6.qcow2.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/tmpdb8ajfhr/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 03 August 2022 15:18:58 +0000 (0:00:00.044) 0:00:25.570 ****** skipping: [/cache/rhel-6.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /tmp/tmpdb8ajfhr/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 03 August 2022 15:18:58 +0000 (0:00:00.046) 0:00:25.617 ****** skipping: [/cache/rhel-6.qcow2.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/tmpdb8ajfhr/tests/roles/linux-system-roles.network/tasks/main.yml:38 Wednesday 03 August 2022 15:18:58 +0000 (0:00:00.064) 0:00:25.682 ****** skipping: [/cache/rhel-6.qcow2.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/tmpdb8ajfhr/tests/roles/linux-system-roles.network/tasks/main.yml:51 Wednesday 03 August 2022 15:18:59 +0000 (0:00:00.046) 0:00:25.728 ****** skipping: [/cache/rhel-6.qcow2.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/tmpdb8ajfhr/tests/roles/linux-system-roles.network/tasks/main.yml:65 Wednesday 03 August 2022 15:18:59 +0000 (0:00:00.046) 0:00:25.775 ****** skipping: [/cache/rhel-6.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /tmp/tmpdb8ajfhr/tests/roles/linux-system-roles.network/tasks/main.yml:79 Wednesday 03 August 2022 15:18:59 +0000 (0:00:00.051) 0:00:25.827 ****** skipping: [/cache/rhel-6.qcow2.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/tmpdb8ajfhr/tests/roles/linux-system-roles.network/tasks/main.yml:90 Wednesday 03 August 2022 15:18:59 +0000 (0:00:00.043) 0:00:25.870 ****** skipping: [/cache/rhel-6.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /tmp/tmpdb8ajfhr/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 03 August 2022 15:18:59 +0000 (0:00:00.040) 0:00:25.910 ****** ok: [/cache/rhel-6.qcow2.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/tmpdb8ajfhr/tests/roles/linux-system-roles.network/tasks/main.yml:107 Wednesday 03 August 2022 15:18:59 +0000 (0:00:00.338) 0:00:26.249 ****** ok: [/cache/rhel-6.qcow2.snap] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-300241l8wp9sxv/tmpyj0flt3g" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /tmp/tmpdb8ajfhr/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 03 August 2022 15:18:59 +0000 (0:00:00.289) 0:00:26.538 ****** redirecting (type: action) ansible.builtin.network to ansible.netcommon.network changed: [/cache/rhel-6.qcow2.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/tmpdb8ajfhr/tests/roles/linux-system-roles.network/tasks/main.yml:128 Wednesday 03 August 2022 15:19:00 +0000 (0:00:00.453) 0:00:26.992 ****** skipping: [/cache/rhel-6.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /tmp/tmpdb8ajfhr/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 03 August 2022 15:19:00 +0000 (0:00:00.046) 0:00:27.038 ****** ok: [/cache/rhel-6.qcow2.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/tmpdb8ajfhr/tests/roles/linux-system-roles.network/tasks/main.yml:138 Wednesday 03 August 2022 15:19:00 +0000 (0:00:00.053) 0:00:27.091 ****** ok: [/cache/rhel-6.qcow2.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, "deprecations": [ { "collection_name": null, "msg": "ansible-core 2.13 will require Python 2.7 or newer on the target. Current version: 2.6.6 (r266:84292, Aug 9 2016, 06:11:56) [GCC 4.4.7 20120313 (Red Hat 4.4.7-17)]", "version": "2.13" } ], "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/tmpdb8ajfhr/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 03 August 2022 15:19:00 +0000 (0:00:00.053) 0:00:27.145 ****** skipping: [/cache/rhel-6.qcow2.snap] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /tmp/tmpdb8ajfhr/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 03 August 2022 15:19:00 +0000 (0:00:00.043) 0:00:27.188 ****** ok: [/cache/rhel-6.qcow2.snap] => { "changed": false, "ping": "pong" } META: role_complete for /cache/rhel-6.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmpdb8ajfhr/tests/playbooks/tests_ethtool_ring.yml:195 Wednesday 03 August 2022 15:19:00 +0000 (0:00:00.294) 0:00:27.483 ****** included: /tmp/tmpdb8ajfhr/tests/playbooks/tasks/manage_test_interface.yml for /cache/rhel-6.qcow2.snap TASK [Ensure state in ["present", "absent"]] *********************************** task path: /tmp/tmpdb8ajfhr/tests/playbooks/tasks/manage_test_interface.yml:3 Wednesday 03 August 2022 15:19:00 +0000 (0:00:00.064) 0:00:27.548 ****** skipping: [/cache/rhel-6.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /tmp/tmpdb8ajfhr/tests/playbooks/tasks/manage_test_interface.yml:8 Wednesday 03 August 2022 15:19:00 +0000 (0:00:00.039) 0:00:27.587 ****** skipping: [/cache/rhel-6.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [include_tasks] *********************************************************** task path: /tmp/tmpdb8ajfhr/tests/playbooks/tasks/manage_test_interface.yml:13 Wednesday 03 August 2022 15:19:00 +0000 (0:00:00.039) 0:00:27.627 ****** included: /tmp/tmpdb8ajfhr/tests/playbooks/tasks/show_interfaces.yml for /cache/rhel-6.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmpdb8ajfhr/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 03 August 2022 15:19:00 +0000 (0:00:00.056) 0:00:27.684 ****** included: /tmp/tmpdb8ajfhr/tests/playbooks/tasks/get_current_interfaces.yml for /cache/rhel-6.qcow2.snap TASK [Gather current interface info] ******************************************* task path: /tmp/tmpdb8ajfhr/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 03 August 2022 15:19:01 +0000 (0:00:00.059) 0:00:27.743 ****** ok: [/cache/rhel-6.qcow2.snap] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003368", "end": "2022-08-03 11:19:00.539806", "rc": 0, "start": "2022-08-03 11:19:00.536438" } STDOUT: eth0 lo peertestnic1 testnic1 TASK [Set current_interfaces] ************************************************** task path: /tmp/tmpdb8ajfhr/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 03 August 2022 15:19:01 +0000 (0:00:00.298) 0:00:28.042 ****** ok: [/cache/rhel-6.qcow2.snap] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo", "peertestnic1", "testnic1" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/tmpdb8ajfhr/tests/playbooks/tasks/show_interfaces.yml:4 Wednesday 03 August 2022 15:19:01 +0000 (0:00:00.060) 0:00:28.102 ****** ok: [/cache/rhel-6.qcow2.snap] => {} MSG: current_interfaces: ['eth0', 'lo', 'peertestnic1', 'testnic1'] TASK [Install iproute] ********************************************************* task path: /tmp/tmpdb8ajfhr/tests/playbooks/tasks/manage_test_interface.yml:15 Wednesday 03 August 2022 15:19:01 +0000 (0:00:00.054) 0:00:28.157 ****** ok: [/cache/rhel-6.qcow2.snap] => { "changed": false, "rc": 0, "results": [ "iproute-2.6.32-57.el6.x86_64 providing iproute is already installed" ] } TASK [Create veth interface testnic1] ****************************************** task path: /tmp/tmpdb8ajfhr/tests/playbooks/tasks/manage_test_interface.yml:21 Wednesday 03 August 2022 15:19:01 +0000 (0:00:00.489) 0:00:28.646 ****** skipping: [/cache/rhel-6.qcow2.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/rhel-6.qcow2.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/rhel-6.qcow2.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/tmpdb8ajfhr/tests/playbooks/tasks/manage_test_interface.yml:29 Wednesday 03 August 2022 15:19:01 +0000 (0:00:00.058) 0:00:28.705 ****** skipping: [/cache/rhel-6.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete veth interface testnic1] ****************************************** task path: /tmp/tmpdb8ajfhr/tests/playbooks/tasks/manage_test_interface.yml:36 Wednesday 03 August 2022 15:19:02 +0000 (0:00:00.041) 0:00:28.746 ****** changed: [/cache/rhel-6.qcow2.snap] => { "changed": true, "cmd": [ "ip", "link", "del", "testnic1", "type", "veth" ], "delta": "0:00:00.043511", "end": "2022-08-03 11:19:01.586358", "rc": 0, "start": "2022-08-03 11:19:01.542847" } TASK [Create dummy interface testnic1] ***************************************** task path: /tmp/tmpdb8ajfhr/tests/playbooks/tasks/manage_test_interface.yml:42 Wednesday 03 August 2022 15:19:02 +0000 (0:00:00.342) 0:00:29.089 ****** skipping: [/cache/rhel-6.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface testnic1] ***************************************** task path: /tmp/tmpdb8ajfhr/tests/playbooks/tasks/manage_test_interface.yml:47 Wednesday 03 August 2022 15:19:02 +0000 (0:00:00.045) 0:00:29.135 ****** skipping: [/cache/rhel-6.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface testnic1] ******************************************* task path: /tmp/tmpdb8ajfhr/tests/playbooks/tasks/manage_test_interface.yml:53 Wednesday 03 August 2022 15:19:02 +0000 (0:00:00.045) 0:00:29.180 ****** skipping: [/cache/rhel-6.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface testnic1] ******************************************* task path: /tmp/tmpdb8ajfhr/tests/playbooks/tasks/manage_test_interface.yml:58 Wednesday 03 August 2022 15:19:02 +0000 (0:00:00.044) 0:00:29.224 ****** skipping: [/cache/rhel-6.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/rhel-6.qcow2.snap : ok=91 changed=10 unreachable=0 failed=0 skipped=71 rescued=0 ignored=3 Wednesday 03 August 2022 15:19:02 +0000 (0:00:00.061) 0:00:29.285 ****** =============================================================================== linux-system-roles.network : Check which services are running ----------- 1.46s /tmp/tmpdb8ajfhr/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 linux-system-roles.network : Check which services are running ----------- 1.35s /tmp/tmpdb8ajfhr/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 linux-system-roles.network : Check which services are running ----------- 1.35s /tmp/tmpdb8ajfhr/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 linux-system-roles.network : Check which services are running ----------- 1.33s /tmp/tmpdb8ajfhr/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 linux-system-roles.network : Configure networking connection profiles --- 1.08s /tmp/tmpdb8ajfhr/tests/roles/linux-system-roles.network/tasks/main.yml:116 ---- Gathering Facts --------------------------------------------------------- 0.91s /tmp/tmpdb8ajfhr/tests/tests_ethtool_ring_initscripts.yml:4 ------------------- linux-system-roles.network : Check which packages are installed --------- 0.85s /tmp/tmpdb8ajfhr/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 linux-system-roles.network : Enable network service --------------------- 0.83s /tmp/tmpdb8ajfhr/tests/roles/linux-system-roles.network/tasks/main.yml:99 ----- Create veth interface testnic1 ------------------------------------------ 0.77s /tmp/tmpdb8ajfhr/tests/playbooks/tasks/manage_test_interface.yml:21 ----------- linux-system-roles.network : Re-test connectivity ----------------------- 0.70s /tmp/tmpdb8ajfhr/tests/roles/linux-system-roles.network/tasks/main.yml:149 ---- Gathering Facts --------------------------------------------------------- 0.67s /tmp/tmpdb8ajfhr/tests/playbooks/tests_ethtool_ring.yml:3 --------------------- Install iproute --------------------------------------------------------- 0.65s /tmp/tmpdb8ajfhr/tests/playbooks/tasks/manage_test_interface.yml:15 ----------- Enable EPEL 6 ----------------------------------------------------------- 0.62s /tmp/tmpdb8ajfhr/tests/tasks/enable_epel.yml:26 ------------------------------- linux-system-roles.network : Check which packages are installed --------- 0.62s /tmp/tmpdb8ajfhr/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 linux-system-roles.network : Check which packages are installed --------- 0.61s /tmp/tmpdb8ajfhr/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 linux-system-roles.network : Ensure initscripts network file dependency is present --- 0.58s /tmp/tmpdb8ajfhr/tests/roles/linux-system-roles.network/tasks/main.yml:107 ---- linux-system-roles.network : Check which packages are installed --------- 0.54s /tmp/tmpdb8ajfhr/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 Install iproute --------------------------------------------------------- 0.49s /tmp/tmpdb8ajfhr/tests/playbooks/tasks/manage_test_interface.yml:15 ----------- Install ethtool (test dependency) --------------------------------------- 0.48s /tmp/tmpdb8ajfhr/tests/playbooks/tests_ethtool_ring.yml:22 -------------------- linux-system-roles.network : Configure networking connection profiles --- 0.45s /tmp/tmpdb8ajfhr/tests/roles/linux-system-roles.network/tasks/main.yml:116 ---- PLAYBOOK: _restore.yml ********************************************************* 1 plays in /tmp/tmpdb8ajfhr/tests/_restore.yml PLAY [all] ********************************************************************* META: ran handlers TASK [Restore system files] **************************************************** task path: /tmp/tmpdb8ajfhr/tests/_restore.yml:4 Wednesday 03 August 2022 15:19:02 +0000 (0:00:00.034) 0:00:29.320 ****** changed: [/cache/rhel-6.qcow2.snap] => { "changed": true, "cmd": "(cd /; tar -xf /tmp/network.backup.tar)", "delta": "0:00:00.007455", "end": "2022-08-03 11:19:02.112792", "rc": 0, "start": "2022-08-03 11:19:02.105337" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/rhel-6.qcow2.snap : ok=92 changed=11 unreachable=0 failed=0 skipped=71 rescued=0 ignored=3 Wednesday 03 August 2022 15:19:02 +0000 (0:00:00.308) 0:00:29.629 ****** =============================================================================== linux-system-roles.network : Check which services are running ----------- 1.46s /tmp/tmpdb8ajfhr/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 linux-system-roles.network : Check which services are running ----------- 1.35s /tmp/tmpdb8ajfhr/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 linux-system-roles.network : Check which services are running ----------- 1.35s /tmp/tmpdb8ajfhr/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 linux-system-roles.network : Check which services are running ----------- 1.33s /tmp/tmpdb8ajfhr/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 linux-system-roles.network : Configure networking connection profiles --- 1.08s /tmp/tmpdb8ajfhr/tests/roles/linux-system-roles.network/tasks/main.yml:116 ---- Gathering Facts --------------------------------------------------------- 0.91s /tmp/tmpdb8ajfhr/tests/tests_ethtool_ring_initscripts.yml:4 ------------------- linux-system-roles.network : Check which packages are installed --------- 0.85s /tmp/tmpdb8ajfhr/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 linux-system-roles.network : Enable network service --------------------- 0.83s /tmp/tmpdb8ajfhr/tests/roles/linux-system-roles.network/tasks/main.yml:99 ----- Create veth interface testnic1 ------------------------------------------ 0.77s /tmp/tmpdb8ajfhr/tests/playbooks/tasks/manage_test_interface.yml:21 ----------- linux-system-roles.network : Re-test connectivity ----------------------- 0.70s /tmp/tmpdb8ajfhr/tests/roles/linux-system-roles.network/tasks/main.yml:149 ---- Gathering Facts --------------------------------------------------------- 0.67s /tmp/tmpdb8ajfhr/tests/playbooks/tests_ethtool_ring.yml:3 --------------------- Install iproute --------------------------------------------------------- 0.65s /tmp/tmpdb8ajfhr/tests/playbooks/tasks/manage_test_interface.yml:15 ----------- Enable EPEL 6 ----------------------------------------------------------- 0.62s /tmp/tmpdb8ajfhr/tests/tasks/enable_epel.yml:26 ------------------------------- linux-system-roles.network : Check which packages are installed --------- 0.62s /tmp/tmpdb8ajfhr/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 linux-system-roles.network : Check which packages are installed --------- 0.61s /tmp/tmpdb8ajfhr/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 linux-system-roles.network : Ensure initscripts network file dependency is present --- 0.58s /tmp/tmpdb8ajfhr/tests/roles/linux-system-roles.network/tasks/main.yml:107 ---- linux-system-roles.network : Check which packages are installed --------- 0.54s /tmp/tmpdb8ajfhr/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 Install iproute --------------------------------------------------------- 0.49s /tmp/tmpdb8ajfhr/tests/playbooks/tasks/manage_test_interface.yml:15 ----------- Install ethtool (test dependency) --------------------------------------- 0.48s /tmp/tmpdb8ajfhr/tests/playbooks/tests_ethtool_ring.yml:22 -------------------- linux-system-roles.network : Configure networking connection profiles --- 0.45s /tmp/tmpdb8ajfhr/tests/roles/linux-system-roles.network/tasks/main.yml:116 ---- ansible-playbook [core 2.12.6] config file = /etc/ansible/ansible.cfg configured module search path = ['/root/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /usr/lib/python3.9/site-packages/ansible ansible collection location = /tmp/tmpk7x13fer 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/tmptjr_ga81/tests/network/_backup.yml PLAY [all] ********************************************************************* META: ran handlers TASK [Get stats of system files] *********************************************** task path: /tmp/tmptjr_ga81/tests/network/_backup.yml:6 Wednesday 03 August 2022 15:27:22 +0000 (0:00:00.017) 0:00:00.017 ****** ok: [/cache/rhel-6.qcow2.snap] => (item=/etc/resolv.conf) => { "ansible_facts": { "discovered_interpreter_python": "/usr/bin/python" }, "ansible_loop_var": "item", "changed": false, "deprecations": [ { "collection_name": null, "msg": "ansible-core 2.13 will require Python 2.7 or newer on the target. Current version: 2.6.6 (r266:84292, Aug 9 2016, 06:11:56) [GCC 4.4.7 20120313 (Red Hat 4.4.7-17)]", "version": "2.13" } ], "item": "/etc/resolv.conf", "stat": { "atime": 1659540441.2800202, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "2c55cc8324e731161638aa365379c1c147546a87", "ctime": 1659540441.2799942, "dev": 64513, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 260120, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1659540132.0, "nlink": 1, "path": "/etc/resolv.conf", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 57, "uid": 0, "version": "18446744072091884213", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } [DEPRECATION WARNING]: ansible-core 2.13 will require Python 2.7 or newer on the target. Current version: 2.6.6 (r266:84292, Aug 9 2016, 06:11:56) [GCC 4.4.7 20120313 (Red Hat 4.4.7-17)]. This feature will be removed in version 2.13. Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg. TASK [Check if system files exist] ********************************************* task path: /tmp/tmptjr_ga81/tests/network/_backup.yml:13 Wednesday 03 August 2022 15:27:23 +0000 (0:00:00.457) 0:00:00.475 ****** [WARNING]: conditional statements should not include jinja2 templating delimiters such as {{ }} or {% %}. Found: {{ item.stat.exists }} ok: [/cache/rhel-6.qcow2.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': 'e', 'woth': False, 'isreg': True, 'device_type': 0, 'mtime': 1659540132.0, 'block_size': 4096, 'inode': 260120, 'isgid': False, 'size': 57, 'executable': False, 'isuid': False, 'readable': True, 'version': '18446744072091884213', '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': 1659540441.2800202, 'isdir': False, 'ctime': 1659540441.2799942, 'isblk': False, 'wgrp': False, 'checksum': '2c55cc8324e731161638aa365379c1c147546a87', 'dev': 64513, 'roth': True, 'isfifo': False, 'mode': '0644', 'xgrp': False, 'rusr': True, 'attributes': ['extents']}, '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": 1659540441.2800202, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "2c55cc8324e731161638aa365379c1c147546a87", "ctime": 1659540441.2799942, "dev": 64513, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 260120, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1659540132.0, "nlink": 1, "path": "/etc/resolv.conf", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 57, "uid": 0, "version": "18446744072091884213", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } } TASK [Back up system files] **************************************************** task path: /tmp/tmptjr_ga81/tests/network/_backup.yml:19 Wednesday 03 August 2022 15:27:23 +0000 (0:00:00.036) 0:00:00.512 ****** changed: [/cache/rhel-6.qcow2.snap] => { "changed": true, "cmd": [ "tar", "-cf", "/tmp/network.backup.tar", "--same-owner", "--same-permissions", "/etc/resolv.conf" ], "delta": "0:00:00.003673", "end": "2022-08-03 11:27:22.746918", "rc": 0, "start": "2022-08-03 11:27:22.743245" } STDERR: tar: Removing leading `/' from member names META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/rhel-6.qcow2.snap : ok=3 changed=1 unreachable=0 failed=0 skipped=0 rescued=0 ignored=0 Wednesday 03 August 2022 15:27:23 +0000 (0:00:00.385) 0:00:00.897 ****** =============================================================================== Get stats of system files ----------------------------------------------- 0.46s /tmp/tmptjr_ga81/tests/network/_backup.yml:6 ---------------------------------- Back up system files ---------------------------------------------------- 0.39s /tmp/tmptjr_ga81/tests/network/_backup.yml:19 --------------------------------- Check if system files exist --------------------------------------------- 0.04s /tmp/tmptjr_ga81/tests/network/_backup.yml:13 --------------------------------- PLAYBOOK: tests_ethtool_ring_initscripts.yml *********************************** 2 plays in /tmp/tmptjr_ga81/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/tmptjr_ga81/tests/network/tests_ethtool_ring_initscripts.yml:4 Wednesday 03 August 2022 15:27:23 +0000 (0:00:00.072) 0:00:00.969 ****** ok: [/cache/rhel-6.qcow2.snap] META: ran handlers TASK [include_tasks] *********************************************************** task path: /tmp/tmptjr_ga81/tests/network/tests_ethtool_ring_initscripts.yml:7 Wednesday 03 August 2022 15:27:24 +0000 (0:00:00.928) 0:00:01.898 ****** included: /tmp/tmptjr_ga81/tests/network/tasks/el_repo_setup.yml for /cache/rhel-6.qcow2.snap TASK [Fix CentOS6 Base repo] *************************************************** task path: /tmp/tmptjr_ga81/tests/network/tasks/el_repo_setup.yml:2 Wednesday 03 August 2022 15:27:24 +0000 (0:00:00.029) 0:00:01.928 ****** skipping: [/cache/rhel-6.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [include_tasks] *********************************************************** task path: /tmp/tmptjr_ga81/tests/network/tasks/el_repo_setup.yml:27 Wednesday 03 August 2022 15:27:24 +0000 (0:00:00.021) 0:00:01.949 ****** included: /tmp/tmptjr_ga81/tests/network/tasks/enable_epel.yml for /cache/rhel-6.qcow2.snap TASK [Create EPEL 6] *********************************************************** task path: /tmp/tmptjr_ga81/tests/network/tasks/enable_epel.yml:4 Wednesday 03 August 2022 15:27:24 +0000 (0:00:00.031) 0:00:01.981 ****** skipping: [/cache/rhel-6.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /tmp/tmptjr_ga81/tests/network/tasks/enable_epel.yml:11 Wednesday 03 August 2022 15:27:24 +0000 (0:00:00.022) 0:00:02.004 ****** skipping: [/cache/rhel-6.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /tmp/tmptjr_ga81/tests/network/tasks/enable_epel.yml:17 Wednesday 03 August 2022 15:27:24 +0000 (0:00:00.022) 0:00:02.027 ****** skipping: [/cache/rhel-6.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /tmp/tmptjr_ga81/tests/network/tasks/enable_epel.yml:26 Wednesday 03 August 2022 15:27:24 +0000 (0:00:00.022) 0:00:02.049 ****** ok: [/cache/rhel-6.qcow2.snap] => { "changed": false, "checksum": "4bafddfe7badb0971135c888f25df1308b193622", "dest": "/etc/yum.repos.d/epel.repo", "gid": 0, "group": "root", "mode": "0644", "owner": "root", "path": "/etc/yum.repos.d/epel.repo", "secontext": "system_u:object_r:etc_t:s0", "size": 155, "state": "file", "uid": 0 } TASK [Set network provider to 'initscripts'] *********************************** task path: /tmp/tmptjr_ga81/tests/network/tests_ethtool_ring_initscripts.yml:8 Wednesday 03 August 2022 15:27:25 +0000 (0:00:00.665) 0:00:02.714 ****** ok: [/cache/rhel-6.qcow2.snap] => { "ansible_facts": { "network_provider": "initscripts" }, "changed": false } META: ran handlers META: ran handlers PLAY [all] ********************************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmptjr_ga81/tests/network/playbooks/tests_ethtool_ring.yml:3 Wednesday 03 August 2022 15:27:25 +0000 (0:00:00.051) 0:00:02.766 ****** ok: [/cache/rhel-6.qcow2.snap] META: ran handlers TASK [Show playbook name] ****************************************************** task path: /tmp/tmptjr_ga81/tests/network/playbooks/tests_ethtool_ring.yml:8 Wednesday 03 August 2022 15:27:26 +0000 (0:00:00.681) 0:00:03.448 ****** ok: [/cache/rhel-6.qcow2.snap] => {} MSG: this is: playbooks/tests_ethtool_ring.yml TASK [INIT: Ethtool ring tests] ************************************************ task path: /tmp/tmptjr_ga81/tests/network/playbooks/tests_ethtool_ring.yml:14 Wednesday 03 August 2022 15:27:26 +0000 (0:00:00.046) 0:00:03.494 ****** ok: [/cache/rhel-6.qcow2.snap] => {} MSG: ################################################## TASK [include_tasks] *********************************************************** task path: /tmp/tmptjr_ga81/tests/network/playbooks/tests_ethtool_ring.yml:17 Wednesday 03 August 2022 15:27:26 +0000 (0:00:00.046) 0:00:03.541 ****** included: /tmp/tmptjr_ga81/tests/network/playbooks/tasks/show_interfaces.yml for /cache/rhel-6.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmptjr_ga81/tests/network/playbooks/tasks/show_interfaces.yml:3 Wednesday 03 August 2022 15:27:26 +0000 (0:00:00.047) 0:00:03.589 ****** included: /tmp/tmptjr_ga81/tests/network/playbooks/tasks/get_current_interfaces.yml for /cache/rhel-6.qcow2.snap TASK [Gather current interface info] ******************************************* task path: /tmp/tmptjr_ga81/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 03 August 2022 15:27:26 +0000 (0:00:00.047) 0:00:03.636 ****** ok: [/cache/rhel-6.qcow2.snap] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003535", "end": "2022-08-03 11:27:25.758293", "rc": 0, "start": "2022-08-03 11:27:25.754758" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/tmptjr_ga81/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 03 August 2022 15:27:26 +0000 (0:00:00.268) 0:00:03.905 ****** ok: [/cache/rhel-6.qcow2.snap] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/tmptjr_ga81/tests/network/playbooks/tasks/show_interfaces.yml:4 Wednesday 03 August 2022 15:27:26 +0000 (0:00:00.043) 0:00:03.949 ****** ok: [/cache/rhel-6.qcow2.snap] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [include_tasks] *********************************************************** task path: /tmp/tmptjr_ga81/tests/network/playbooks/tests_ethtool_ring.yml:18 Wednesday 03 August 2022 15:27:26 +0000 (0:00:00.046) 0:00:03.995 ****** included: /tmp/tmptjr_ga81/tests/network/playbooks/tasks/manage_test_interface.yml for /cache/rhel-6.qcow2.snap TASK [Ensure state in ["present", "absent"]] *********************************** task path: /tmp/tmptjr_ga81/tests/network/playbooks/tasks/manage_test_interface.yml:3 Wednesday 03 August 2022 15:27:26 +0000 (0:00:00.049) 0:00:04.045 ****** skipping: [/cache/rhel-6.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /tmp/tmptjr_ga81/tests/network/playbooks/tasks/manage_test_interface.yml:8 Wednesday 03 August 2022 15:27:26 +0000 (0:00:00.035) 0:00:04.081 ****** skipping: [/cache/rhel-6.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [include_tasks] *********************************************************** task path: /tmp/tmptjr_ga81/tests/network/playbooks/tasks/manage_test_interface.yml:13 Wednesday 03 August 2022 15:27:26 +0000 (0:00:00.035) 0:00:04.117 ****** included: /tmp/tmptjr_ga81/tests/network/playbooks/tasks/show_interfaces.yml for /cache/rhel-6.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmptjr_ga81/tests/network/playbooks/tasks/show_interfaces.yml:3 Wednesday 03 August 2022 15:27:26 +0000 (0:00:00.051) 0:00:04.168 ****** included: /tmp/tmptjr_ga81/tests/network/playbooks/tasks/get_current_interfaces.yml for /cache/rhel-6.qcow2.snap TASK [Gather current interface info] ******************************************* task path: /tmp/tmptjr_ga81/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 03 August 2022 15:27:26 +0000 (0:00:00.045) 0:00:04.213 ****** ok: [/cache/rhel-6.qcow2.snap] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003699", "end": "2022-08-03 11:27:26.401980", "rc": 0, "start": "2022-08-03 11:27:26.398281" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/tmptjr_ga81/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 03 August 2022 15:27:27 +0000 (0:00:00.340) 0:00:04.554 ****** ok: [/cache/rhel-6.qcow2.snap] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/tmptjr_ga81/tests/network/playbooks/tasks/show_interfaces.yml:4 Wednesday 03 August 2022 15:27:27 +0000 (0:00:00.097) 0:00:04.652 ****** ok: [/cache/rhel-6.qcow2.snap] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /tmp/tmptjr_ga81/tests/network/playbooks/tasks/manage_test_interface.yml:15 Wednesday 03 August 2022 15:27:27 +0000 (0:00:00.045) 0:00:04.697 ****** ok: [/cache/rhel-6.qcow2.snap] => { "changed": false, "rc": 0, "results": [ "iproute-2.6.32-57.el6.x86_64 providing iproute is already installed" ] } TASK [Create veth interface testnic1] ****************************************** task path: /tmp/tmptjr_ga81/tests/network/playbooks/tasks/manage_test_interface.yml:21 Wednesday 03 August 2022 15:27:27 +0000 (0:00:00.681) 0:00:05.379 ****** changed: [/cache/rhel-6.qcow2.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.003875", "deprecations": [ { "collection_name": null, "msg": "ansible-core 2.13 will require Python 2.7 or newer on the target. Current version: 2.6.6 (r266:84292, Aug 9 2016, 06:11:56) [GCC 4.4.7 20120313 (Red Hat 4.4.7-17)]", "version": "2.13" } ], "end": "2022-08-03 11:27:27.515067", "item": "ip link add testnic1 type veth peer name peertestnic1", "rc": 0, "start": "2022-08-03 11:27:27.511192" } changed: [/cache/rhel-6.qcow2.snap] => (item=ip link set peertestnic1 up) => { "ansible_loop_var": "item", "changed": true, "cmd": [ "ip", "link", "set", "peertestnic1", "up" ], "delta": "0:00:00.003578", "deprecations": [ { "collection_name": null, "msg": "ansible-core 2.13 will require Python 2.7 or newer on the target. Current version: 2.6.6 (r266:84292, Aug 9 2016, 06:11:56) [GCC 4.4.7 20120313 (Red Hat 4.4.7-17)]", "version": "2.13" } ], "end": "2022-08-03 11:27:27.783192", "item": "ip link set peertestnic1 up", "rc": 0, "start": "2022-08-03 11:27:27.779614" } changed: [/cache/rhel-6.qcow2.snap] => (item=ip link set testnic1 up) => { "ansible_loop_var": "item", "changed": true, "cmd": [ "ip", "link", "set", "testnic1", "up" ], "delta": "0:00:00.003782", "deprecations": [ { "collection_name": null, "msg": "ansible-core 2.13 will require Python 2.7 or newer on the target. Current version: 2.6.6 (r266:84292, Aug 9 2016, 06:11:56) [GCC 4.4.7 20120313 (Red Hat 4.4.7-17)]", "version": "2.13" } ], "end": "2022-08-03 11:27:28.035825", "item": "ip link set testnic1 up", "rc": 0, "start": "2022-08-03 11:27:28.032043" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /tmp/tmptjr_ga81/tests/network/playbooks/tasks/manage_test_interface.yml:28 Wednesday 03 August 2022 15:27:28 +0000 (0:00:00.811) 0:00:06.190 ****** fatal: [/cache/rhel-6.qcow2.snap]: FAILED! => { "changed": false, "cmd": "nmcli d set testnic1 managed true", "rc": 2 } MSG: [Errno 2] No such file or directory ...ignoring TASK [Delete veth interface testnic1] ****************************************** task path: /tmp/tmptjr_ga81/tests/network/playbooks/tasks/manage_test_interface.yml:35 Wednesday 03 August 2022 15:27:29 +0000 (0:00:00.288) 0:00:06.479 ****** skipping: [/cache/rhel-6.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create dummy interface testnic1] ***************************************** task path: /tmp/tmptjr_ga81/tests/network/playbooks/tasks/manage_test_interface.yml:40 Wednesday 03 August 2022 15:27:29 +0000 (0:00:00.037) 0:00:06.516 ****** skipping: [/cache/rhel-6.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface testnic1] ***************************************** task path: /tmp/tmptjr_ga81/tests/network/playbooks/tasks/manage_test_interface.yml:44 Wednesday 03 August 2022 15:27:29 +0000 (0:00:00.035) 0:00:06.552 ****** skipping: [/cache/rhel-6.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface testnic1] ******************************************* task path: /tmp/tmptjr_ga81/tests/network/playbooks/tasks/manage_test_interface.yml:49 Wednesday 03 August 2022 15:27:29 +0000 (0:00:00.038) 0:00:06.590 ****** skipping: [/cache/rhel-6.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface testnic1] ******************************************* task path: /tmp/tmptjr_ga81/tests/network/playbooks/tasks/manage_test_interface.yml:53 Wednesday 03 August 2022 15:27:29 +0000 (0:00:00.037) 0:00:06.628 ****** skipping: [/cache/rhel-6.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [include_tasks] *********************************************************** task path: /tmp/tmptjr_ga81/tests/network/playbooks/tests_ethtool_ring.yml:21 Wednesday 03 August 2022 15:27:29 +0000 (0:00:00.036) 0:00:06.664 ****** included: /tmp/tmptjr_ga81/tests/network/playbooks/tasks/assert_device_present.yml for /cache/rhel-6.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmptjr_ga81/tests/network/playbooks/tasks/assert_device_present.yml:3 Wednesday 03 August 2022 15:27:29 +0000 (0:00:00.047) 0:00:06.712 ****** included: /tmp/tmptjr_ga81/tests/network/playbooks/tasks/get_interface_stat.yml for /cache/rhel-6.qcow2.snap TASK [Get stat for interface testnic1] ***************************************** task path: /tmp/tmptjr_ga81/tests/network/playbooks/tasks/get_interface_stat.yml:3 Wednesday 03 August 2022 15:27:29 +0000 (0:00:00.047) 0:00:06.759 ****** ok: [/cache/rhel-6.qcow2.snap] => { "changed": false, "stat": { "atime": 1659540447.626, "block_size": 4096, "blocks": 0, "ctime": 1659540447.615, "dev": 0, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 7730, "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": 1659540447.615, "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/tmptjr_ga81/tests/network/playbooks/tasks/assert_device_present.yml:4 Wednesday 03 August 2022 15:27:29 +0000 (0:00:00.279) 0:00:07.039 ****** ok: [/cache/rhel-6.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Install ethtool (test dependency)] *************************************** task path: /tmp/tmptjr_ga81/tests/network/playbooks/tests_ethtool_ring.yml:22 Wednesday 03 August 2022 15:27:29 +0000 (0:00:00.044) 0:00:07.083 ****** ok: [/cache/rhel-6.qcow2.snap] => { "changed": false, "rc": 0, "results": [ "2:ethtool-3.5-6.el6.x86_64 providing ethtool is already installed" ] } TASK [TEST: I can create a profile without any ring option.] ******************* task path: /tmp/tmptjr_ga81/tests/network/playbooks/tests_ethtool_ring.yml:28 Wednesday 03 August 2022 15:27:30 +0000 (0:00:00.477) 0:00:07.560 ****** ok: [/cache/rhel-6.qcow2.snap] => {} MSG: ################################################## TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/tmpk7x13fer/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 03 August 2022 15:27:30 +0000 (0:00:00.044) 0:00:07.605 ****** included: /tmp/tmpk7x13fer/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for /cache/rhel-6.qcow2.snap TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/tmpk7x13fer/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 03 August 2022 15:27:30 +0000 (0:00:00.052) 0:00:07.657 ****** ok: [/cache/rhel-6.qcow2.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/tmpk7x13fer/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 Wednesday 03 August 2022 15:27:30 +0000 (0:00:00.381) 0:00:08.038 ****** ok: [/cache/rhel-6.qcow2.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/tmpk7x13fer/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 Wednesday 03 August 2022 15:27:32 +0000 (0:00:01.518) 0:00:09.556 ****** ok: [/cache/rhel-6.qcow2.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/tmpk7x13fer/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 03 August 2022 15:27:33 +0000 (0:00:00.836) 0:00:10.393 ****** ok: [/cache/rhel-6.qcow2.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/tmpk7x13fer/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 03 August 2022 15:27:33 +0000 (0:00:00.121) 0:00:10.514 ****** skipping: [/cache/rhel-6.qcow2.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/tmpk7x13fer/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 03 August 2022 15:27:33 +0000 (0:00:00.044) 0:00:10.559 ****** skipping: [/cache/rhel-6.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/tmpk7x13fer/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Wednesday 03 August 2022 15:27:33 +0000 (0:00:00.044) 0:00:10.604 ****** skipping: [/cache/rhel-6.qcow2.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/tmpk7x13fer/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:35 Wednesday 03 August 2022 15:27:33 +0000 (0:00:00.068) 0:00:10.672 ****** skipping: [/cache/rhel-6.qcow2.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/tmpk7x13fer/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:45 Wednesday 03 August 2022 15:27:33 +0000 (0:00:00.049) 0:00:10.722 ****** skipping: [/cache/rhel-6.qcow2.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/tmpk7x13fer/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:56 Wednesday 03 August 2022 15:27:33 +0000 (0:00:00.045) 0:00:10.767 ****** skipping: [/cache/rhel-6.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/tmpk7x13fer/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:69 Wednesday 03 August 2022 15:27:33 +0000 (0:00:00.054) 0:00:10.822 ****** skipping: [/cache/rhel-6.qcow2.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/tmpk7x13fer/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:80 Wednesday 03 August 2022 15:27:33 +0000 (0:00:00.047) 0:00:10.870 ****** skipping: [/cache/rhel-6.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/tmpk7x13fer/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:89 Wednesday 03 August 2022 15:27:33 +0000 (0:00:00.044) 0:00:10.914 ****** ok: [/cache/rhel-6.qcow2.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/tmpk7x13fer/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:97 Wednesday 03 August 2022 15:27:34 +0000 (0:00:00.507) 0:00:11.422 ****** ok: [/cache/rhel-6.qcow2.snap] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-319530kk3hj70v/tmpwtcqfead" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/tmpk7x13fer/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 Wednesday 03 August 2022 15:27:34 +0000 (0:00:00.306) 0:00:11.728 ****** changed: [/cache/rhel-6.qcow2.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/tmpk7x13fer/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:118 Wednesday 03 August 2022 15:27:34 +0000 (0:00:00.633) 0:00:12.361 ****** skipping: [/cache/rhel-6.qcow2.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/tmpk7x13fer/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Wednesday 03 August 2022 15:27:35 +0000 (0:00:00.047) 0:00:12.409 ****** ok: [/cache/rhel-6.qcow2.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/tmpk7x13fer/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:128 Wednesday 03 August 2022 15:27:35 +0000 (0:00:00.123) 0:00:12.532 ****** ok: [/cache/rhel-6.qcow2.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, "deprecations": [ { "collection_name": null, "msg": "ansible-core 2.13 will require Python 2.7 or newer on the target. Current version: 2.6.6 (r266:84292, Aug 9 2016, 06:11:56) [GCC 4.4.7 20120313 (Red Hat 4.4.7-17)]", "version": "2.13" } ], "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/tmpk7x13fer/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Wednesday 03 August 2022 15:27:35 +0000 (0:00:00.055) 0:00:12.588 ****** skipping: [/cache/rhel-6.qcow2.snap] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/tmpk7x13fer/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Wednesday 03 August 2022 15:27:35 +0000 (0:00:00.046) 0:00:12.634 ****** ok: [/cache/rhel-6.qcow2.snap] => { "changed": false, "ping": "pong" } META: role_complete for /cache/rhel-6.qcow2.snap TASK [Get profile's ring options] ********************************************** task path: /tmp/tmptjr_ga81/tests/network/playbooks/tests_ethtool_ring.yml:44 Wednesday 03 August 2022 15:27:35 +0000 (0:00:00.393) 0:00:13.028 ****** skipping: [/cache/rhel-6.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [ASSERT: The profile does not contain ring options] *********************** task path: /tmp/tmptjr_ga81/tests/network/playbooks/tests_ethtool_ring.yml:49 Wednesday 03 August 2022 15:27:35 +0000 (0:00:00.043) 0:00:13.071 ****** skipping: [/cache/rhel-6.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get profile's ring options] ********************************************** task path: /tmp/tmptjr_ga81/tests/network/playbooks/tests_ethtool_ring.yml:54 Wednesday 03 August 2022 15:27:35 +0000 (0:00:00.043) 0:00:13.115 ****** fatal: [/cache/rhel-6.qcow2.snap]: FAILED! => { "changed": true, "cmd": [ "grep", "ETHTOOL", "/etc/sysconfig/network-scripts/ifcfg-testnic1" ], "delta": "0:00:00.003305", "end": "2022-08-03 11:27:35.255139", "rc": 1, "start": "2022-08-03 11:27:35.251834" } MSG: non-zero return code ...ignoring TASK [ASSERT: The profile does not contain ring options] *********************** task path: /tmp/tmptjr_ga81/tests/network/playbooks/tests_ethtool_ring.yml:60 Wednesday 03 August 2022 15:27:36 +0000 (0:00:00.298) 0:00:13.413 ****** ok: [/cache/rhel-6.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [TEST: I can set rx.] ***************************************************** task path: /tmp/tmptjr_ga81/tests/network/playbooks/tests_ethtool_ring.yml:66 Wednesday 03 August 2022 15:27:36 +0000 (0:00:00.054) 0:00:13.468 ****** ok: [/cache/rhel-6.qcow2.snap] => {} MSG: ################################################## TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/tmpk7x13fer/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 03 August 2022 15:27:36 +0000 (0:00:00.051) 0:00:13.520 ****** included: /tmp/tmpk7x13fer/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for /cache/rhel-6.qcow2.snap TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/tmpk7x13fer/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 03 August 2022 15:27:36 +0000 (0:00:00.064) 0:00:13.584 ****** ok: [/cache/rhel-6.qcow2.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/tmpk7x13fer/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 Wednesday 03 August 2022 15:27:36 +0000 (0:00:00.380) 0:00:13.965 ****** ok: [/cache/rhel-6.qcow2.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/tmpk7x13fer/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 Wednesday 03 August 2022 15:27:37 +0000 (0:00:01.376) 0:00:15.342 ****** ok: [/cache/rhel-6.qcow2.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/tmpk7x13fer/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 03 August 2022 15:27:38 +0000 (0:00:00.572) 0:00:15.914 ****** ok: [/cache/rhel-6.qcow2.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/tmpk7x13fer/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 03 August 2022 15:27:38 +0000 (0:00:00.056) 0:00:15.970 ****** skipping: [/cache/rhel-6.qcow2.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/tmpk7x13fer/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 03 August 2022 15:27:38 +0000 (0:00:00.045) 0:00:16.016 ****** skipping: [/cache/rhel-6.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/tmpk7x13fer/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Wednesday 03 August 2022 15:27:38 +0000 (0:00:00.046) 0:00:16.063 ****** skipping: [/cache/rhel-6.qcow2.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/tmpk7x13fer/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:35 Wednesday 03 August 2022 15:27:38 +0000 (0:00:00.069) 0:00:16.133 ****** skipping: [/cache/rhel-6.qcow2.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/tmpk7x13fer/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:45 Wednesday 03 August 2022 15:27:38 +0000 (0:00:00.045) 0:00:16.178 ****** skipping: [/cache/rhel-6.qcow2.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/tmpk7x13fer/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:56 Wednesday 03 August 2022 15:27:38 +0000 (0:00:00.043) 0:00:16.221 ****** skipping: [/cache/rhel-6.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/tmpk7x13fer/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:69 Wednesday 03 August 2022 15:27:38 +0000 (0:00:00.046) 0:00:16.268 ****** skipping: [/cache/rhel-6.qcow2.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/tmpk7x13fer/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:80 Wednesday 03 August 2022 15:27:38 +0000 (0:00:00.048) 0:00:16.316 ****** skipping: [/cache/rhel-6.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/tmpk7x13fer/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:89 Wednesday 03 August 2022 15:27:38 +0000 (0:00:00.045) 0:00:16.361 ****** ok: [/cache/rhel-6.qcow2.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/tmpk7x13fer/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:97 Wednesday 03 August 2022 15:27:39 +0000 (0:00:00.381) 0:00:16.742 ****** ok: [/cache/rhel-6.qcow2.snap] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-319530kk3hj70v/tmpwi0ozuo9" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/tmpk7x13fer/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 Wednesday 03 August 2022 15:27:39 +0000 (0:00:00.302) 0:00:17.045 ****** changed: [/cache/rhel-6.qcow2.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/tmpk7x13fer/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:118 Wednesday 03 August 2022 15:27:40 +0000 (0:00:00.465) 0:00:17.511 ****** skipping: [/cache/rhel-6.qcow2.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/tmpk7x13fer/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Wednesday 03 August 2022 15:27:40 +0000 (0:00:00.047) 0:00:17.558 ****** ok: [/cache/rhel-6.qcow2.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/tmpk7x13fer/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:128 Wednesday 03 August 2022 15:27:40 +0000 (0:00:00.061) 0:00:17.620 ****** ok: [/cache/rhel-6.qcow2.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, "deprecations": [ { "collection_name": null, "msg": "ansible-core 2.13 will require Python 2.7 or newer on the target. Current version: 2.6.6 (r266:84292, Aug 9 2016, 06:11:56) [GCC 4.4.7 20120313 (Red Hat 4.4.7-17)]", "version": "2.13" } ], "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/tmpk7x13fer/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Wednesday 03 August 2022 15:27:40 +0000 (0:00:00.064) 0:00:17.684 ****** skipping: [/cache/rhel-6.qcow2.snap] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/tmpk7x13fer/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Wednesday 03 August 2022 15:27:40 +0000 (0:00:00.046) 0:00:17.731 ****** ok: [/cache/rhel-6.qcow2.snap] => { "changed": false, "ping": "pong" } META: role_complete for /cache/rhel-6.qcow2.snap TASK [Get profile's ethtool.ring-rx options] *********************************** task path: /tmp/tmptjr_ga81/tests/network/playbooks/tests_ethtool_ring.yml:88 Wednesday 03 August 2022 15:27:40 +0000 (0:00:00.314) 0:00:18.045 ****** skipping: [/cache/rhel-6.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert ethtool.ring-rx option set in profile] **************************** task path: /tmp/tmptjr_ga81/tests/network/playbooks/tests_ethtool_ring.yml:93 Wednesday 03 August 2022 15:27:40 +0000 (0:00:00.043) 0:00:18.089 ****** skipping: [/cache/rhel-6.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get profile's ethtool.ring-rx-jumbo options] ***************************** task path: /tmp/tmptjr_ga81/tests/network/playbooks/tests_ethtool_ring.yml:98 Wednesday 03 August 2022 15:27:40 +0000 (0:00:00.042) 0:00:18.132 ****** skipping: [/cache/rhel-6.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert ethtool.ring-rx-jumbo option set in profile] ********************** task path: /tmp/tmptjr_ga81/tests/network/playbooks/tests_ethtool_ring.yml:103 Wednesday 03 August 2022 15:27:40 +0000 (0:00:00.039) 0:00:18.171 ****** skipping: [/cache/rhel-6.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get profile's ethtool.ring-rx-mini options] ****************************** task path: /tmp/tmptjr_ga81/tests/network/playbooks/tests_ethtool_ring.yml:108 Wednesday 03 August 2022 15:27:40 +0000 (0:00:00.046) 0:00:18.218 ****** skipping: [/cache/rhel-6.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert ethtool.ring-rx-mini option set in profile] *********************** task path: /tmp/tmptjr_ga81/tests/network/playbooks/tests_ethtool_ring.yml:113 Wednesday 03 August 2022 15:27:40 +0000 (0:00:00.044) 0:00:18.262 ****** skipping: [/cache/rhel-6.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get profile's ethtool.ring-tx options] *********************************** task path: /tmp/tmptjr_ga81/tests/network/playbooks/tests_ethtool_ring.yml:118 Wednesday 03 August 2022 15:27:40 +0000 (0:00:00.046) 0:00:18.309 ****** skipping: [/cache/rhel-6.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert ethtool.ring-tx option set in profile] **************************** task path: /tmp/tmptjr_ga81/tests/network/playbooks/tests_ethtool_ring.yml:123 Wednesday 03 August 2022 15:27:40 +0000 (0:00:00.042) 0:00:18.352 ****** skipping: [/cache/rhel-6.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get profile's ethtool.ring options] ************************************** task path: /tmp/tmptjr_ga81/tests/network/playbooks/tests_ethtool_ring.yml:129 Wednesday 03 August 2022 15:27:41 +0000 (0:00:00.088) 0:00:18.440 ****** changed: [/cache/rhel-6.qcow2.snap] => { "changed": true, "cmd": [ "grep", "ETHTOOL", "/etc/sysconfig/network-scripts/ifcfg-testnic1" ], "delta": "0:00:00.003544", "end": "2022-08-03 11:27:40.603356", "rc": 0, "start": "2022-08-03 11:27:40.599812" } 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/tmptjr_ga81/tests/network/playbooks/tests_ethtool_ring.yml:135 Wednesday 03 August 2022 15:27:41 +0000 (0:00:00.326) 0:00:18.767 ****** ok: [/cache/rhel-6.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [TEST: I can clear ring options] ****************************************** task path: /tmp/tmptjr_ga81/tests/network/playbooks/tests_ethtool_ring.yml:145 Wednesday 03 August 2022 15:27:41 +0000 (0:00:00.058) 0:00:18.825 ****** ok: [/cache/rhel-6.qcow2.snap] => {} MSG: ################################################## TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/tmpk7x13fer/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 03 August 2022 15:27:41 +0000 (0:00:00.052) 0:00:18.878 ****** included: /tmp/tmpk7x13fer/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for /cache/rhel-6.qcow2.snap TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/tmpk7x13fer/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 03 August 2022 15:27:41 +0000 (0:00:00.066) 0:00:18.945 ****** ok: [/cache/rhel-6.qcow2.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/tmpk7x13fer/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 Wednesday 03 August 2022 15:27:41 +0000 (0:00:00.384) 0:00:19.329 ****** ok: [/cache/rhel-6.qcow2.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/tmpk7x13fer/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 Wednesday 03 August 2022 15:27:43 +0000 (0:00:01.367) 0:00:20.697 ****** ok: [/cache/rhel-6.qcow2.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/tmpk7x13fer/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 03 August 2022 15:27:43 +0000 (0:00:00.636) 0:00:21.333 ****** ok: [/cache/rhel-6.qcow2.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/tmpk7x13fer/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 03 August 2022 15:27:44 +0000 (0:00:00.053) 0:00:21.387 ****** skipping: [/cache/rhel-6.qcow2.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/tmpk7x13fer/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 03 August 2022 15:27:44 +0000 (0:00:00.047) 0:00:21.435 ****** skipping: [/cache/rhel-6.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/tmpk7x13fer/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Wednesday 03 August 2022 15:27:44 +0000 (0:00:00.046) 0:00:21.482 ****** skipping: [/cache/rhel-6.qcow2.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/tmpk7x13fer/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:35 Wednesday 03 August 2022 15:27:44 +0000 (0:00:00.066) 0:00:21.548 ****** skipping: [/cache/rhel-6.qcow2.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/tmpk7x13fer/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:45 Wednesday 03 August 2022 15:27:44 +0000 (0:00:00.041) 0:00:21.590 ****** skipping: [/cache/rhel-6.qcow2.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/tmpk7x13fer/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:56 Wednesday 03 August 2022 15:27:44 +0000 (0:00:00.042) 0:00:21.633 ****** skipping: [/cache/rhel-6.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/tmpk7x13fer/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:69 Wednesday 03 August 2022 15:27:44 +0000 (0:00:00.044) 0:00:21.678 ****** skipping: [/cache/rhel-6.qcow2.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/tmpk7x13fer/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:80 Wednesday 03 August 2022 15:27:44 +0000 (0:00:00.042) 0:00:21.720 ****** skipping: [/cache/rhel-6.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/tmpk7x13fer/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:89 Wednesday 03 August 2022 15:27:44 +0000 (0:00:00.039) 0:00:21.760 ****** ok: [/cache/rhel-6.qcow2.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/tmpk7x13fer/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:97 Wednesday 03 August 2022 15:27:44 +0000 (0:00:00.347) 0:00:22.107 ****** ok: [/cache/rhel-6.qcow2.snap] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-319530kk3hj70v/tmpzpq8lxzx" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/tmpk7x13fer/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 Wednesday 03 August 2022 15:27:45 +0000 (0:00:00.308) 0:00:22.416 ****** changed: [/cache/rhel-6.qcow2.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/tmpk7x13fer/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:118 Wednesday 03 August 2022 15:27:45 +0000 (0:00:00.460) 0:00:22.876 ****** skipping: [/cache/rhel-6.qcow2.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/tmpk7x13fer/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Wednesday 03 August 2022 15:27:45 +0000 (0:00:00.043) 0:00:22.920 ****** ok: [/cache/rhel-6.qcow2.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/tmpk7x13fer/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:128 Wednesday 03 August 2022 15:27:45 +0000 (0:00:00.114) 0:00:23.035 ****** ok: [/cache/rhel-6.qcow2.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, "deprecations": [ { "collection_name": null, "msg": "ansible-core 2.13 will require Python 2.7 or newer on the target. Current version: 2.6.6 (r266:84292, Aug 9 2016, 06:11:56) [GCC 4.4.7 20120313 (Red Hat 4.4.7-17)]", "version": "2.13" } ], "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/tmpk7x13fer/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Wednesday 03 August 2022 15:27:45 +0000 (0:00:00.056) 0:00:23.091 ****** skipping: [/cache/rhel-6.qcow2.snap] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/tmpk7x13fer/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Wednesday 03 August 2022 15:27:45 +0000 (0:00:00.052) 0:00:23.143 ****** ok: [/cache/rhel-6.qcow2.snap] => { "changed": false, "ping": "pong" } META: role_complete for /cache/rhel-6.qcow2.snap TASK [Get profile's ring options] ********************************************** task path: /tmp/tmptjr_ga81/tests/network/playbooks/tests_ethtool_ring.yml:160 Wednesday 03 August 2022 15:27:46 +0000 (0:00:00.311) 0:00:23.455 ****** skipping: [/cache/rhel-6.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [ASSERT: The profile does reset ring options] ***************************** task path: /tmp/tmptjr_ga81/tests/network/playbooks/tests_ethtool_ring.yml:165 Wednesday 03 August 2022 15:27:46 +0000 (0:00:00.043) 0:00:23.499 ****** skipping: [/cache/rhel-6.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get profile's ring options] ********************************************** task path: /tmp/tmptjr_ga81/tests/network/playbooks/tests_ethtool_ring.yml:170 Wednesday 03 August 2022 15:27:46 +0000 (0:00:00.042) 0:00:23.542 ****** fatal: [/cache/rhel-6.qcow2.snap]: FAILED! => { "changed": true, "cmd": [ "grep", "ETHTOOL", "/etc/sysconfig/network-scripts/ifcfg-testnic1" ], "delta": "0:00:00.003295", "end": "2022-08-03 11:27:45.668884", "rc": 1, "start": "2022-08-03 11:27:45.665589" } MSG: non-zero return code ...ignoring TASK [ASSERT: The profile does reset ring options] ***************************** task path: /tmp/tmptjr_ga81/tests/network/playbooks/tests_ethtool_ring.yml:176 Wednesday 03 August 2022 15:27:46 +0000 (0:00:00.281) 0:00:23.823 ****** ok: [/cache/rhel-6.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/tmpk7x13fer/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 03 August 2022 15:27:46 +0000 (0:00:00.058) 0:00:23.882 ****** included: /tmp/tmpk7x13fer/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for /cache/rhel-6.qcow2.snap TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/tmpk7x13fer/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 03 August 2022 15:27:46 +0000 (0:00:00.065) 0:00:23.948 ****** ok: [/cache/rhel-6.qcow2.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/tmpk7x13fer/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 Wednesday 03 August 2022 15:27:46 +0000 (0:00:00.400) 0:00:24.349 ****** ok: [/cache/rhel-6.qcow2.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/tmpk7x13fer/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 Wednesday 03 August 2022 15:27:48 +0000 (0:00:01.349) 0:00:25.698 ****** ok: [/cache/rhel-6.qcow2.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/tmpk7x13fer/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 03 August 2022 15:27:48 +0000 (0:00:00.560) 0:00:26.258 ****** ok: [/cache/rhel-6.qcow2.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/tmpk7x13fer/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 03 August 2022 15:27:48 +0000 (0:00:00.053) 0:00:26.312 ****** skipping: [/cache/rhel-6.qcow2.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/tmpk7x13fer/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 03 August 2022 15:27:48 +0000 (0:00:00.045) 0:00:26.358 ****** skipping: [/cache/rhel-6.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/tmpk7x13fer/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Wednesday 03 August 2022 15:27:49 +0000 (0:00:00.045) 0:00:26.403 ****** skipping: [/cache/rhel-6.qcow2.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/tmpk7x13fer/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:35 Wednesday 03 August 2022 15:27:49 +0000 (0:00:00.066) 0:00:26.470 ****** skipping: [/cache/rhel-6.qcow2.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/tmpk7x13fer/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:45 Wednesday 03 August 2022 15:27:49 +0000 (0:00:00.047) 0:00:26.517 ****** skipping: [/cache/rhel-6.qcow2.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/tmpk7x13fer/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:56 Wednesday 03 August 2022 15:27:49 +0000 (0:00:00.044) 0:00:26.561 ****** skipping: [/cache/rhel-6.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/tmpk7x13fer/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:69 Wednesday 03 August 2022 15:27:49 +0000 (0:00:00.048) 0:00:26.610 ****** skipping: [/cache/rhel-6.qcow2.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/tmpk7x13fer/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:80 Wednesday 03 August 2022 15:27:49 +0000 (0:00:00.044) 0:00:26.654 ****** skipping: [/cache/rhel-6.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/tmpk7x13fer/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:89 Wednesday 03 August 2022 15:27:49 +0000 (0:00:00.042) 0:00:26.696 ****** ok: [/cache/rhel-6.qcow2.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/tmpk7x13fer/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:97 Wednesday 03 August 2022 15:27:49 +0000 (0:00:00.350) 0:00:27.047 ****** ok: [/cache/rhel-6.qcow2.snap] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-319530kk3hj70v/tmpm75lfyhl" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/tmpk7x13fer/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 Wednesday 03 August 2022 15:27:49 +0000 (0:00:00.330) 0:00:27.378 ****** changed: [/cache/rhel-6.qcow2.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/tmpk7x13fer/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:118 Wednesday 03 August 2022 15:27:50 +0000 (0:00:00.393) 0:00:27.771 ****** skipping: [/cache/rhel-6.qcow2.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/tmpk7x13fer/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Wednesday 03 August 2022 15:27:50 +0000 (0:00:00.046) 0:00:27.817 ****** ok: [/cache/rhel-6.qcow2.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/tmpk7x13fer/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:128 Wednesday 03 August 2022 15:27:50 +0000 (0:00:00.053) 0:00:27.870 ****** ok: [/cache/rhel-6.qcow2.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, "deprecations": [ { "collection_name": null, "msg": "ansible-core 2.13 will require Python 2.7 or newer on the target. Current version: 2.6.6 (r266:84292, Aug 9 2016, 06:11:56) [GCC 4.4.7 20120313 (Red Hat 4.4.7-17)]", "version": "2.13" } ], "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/tmpk7x13fer/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Wednesday 03 August 2022 15:27:50 +0000 (0:00:00.053) 0:00:27.924 ****** skipping: [/cache/rhel-6.qcow2.snap] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/tmpk7x13fer/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Wednesday 03 August 2022 15:27:50 +0000 (0:00:00.045) 0:00:27.969 ****** ok: [/cache/rhel-6.qcow2.snap] => { "changed": false, "ping": "pong" } META: role_complete for /cache/rhel-6.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmptjr_ga81/tests/network/playbooks/tests_ethtool_ring.yml:192 Wednesday 03 August 2022 15:27:50 +0000 (0:00:00.304) 0:00:28.274 ****** included: /tmp/tmptjr_ga81/tests/network/playbooks/tasks/manage_test_interface.yml for /cache/rhel-6.qcow2.snap TASK [Ensure state in ["present", "absent"]] *********************************** task path: /tmp/tmptjr_ga81/tests/network/playbooks/tasks/manage_test_interface.yml:3 Wednesday 03 August 2022 15:27:50 +0000 (0:00:00.067) 0:00:28.342 ****** skipping: [/cache/rhel-6.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /tmp/tmptjr_ga81/tests/network/playbooks/tasks/manage_test_interface.yml:8 Wednesday 03 August 2022 15:27:51 +0000 (0:00:00.043) 0:00:28.385 ****** skipping: [/cache/rhel-6.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [include_tasks] *********************************************************** task path: /tmp/tmptjr_ga81/tests/network/playbooks/tasks/manage_test_interface.yml:13 Wednesday 03 August 2022 15:27:51 +0000 (0:00:00.043) 0:00:28.428 ****** included: /tmp/tmptjr_ga81/tests/network/playbooks/tasks/show_interfaces.yml for /cache/rhel-6.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmptjr_ga81/tests/network/playbooks/tasks/show_interfaces.yml:3 Wednesday 03 August 2022 15:27:51 +0000 (0:00:00.064) 0:00:28.493 ****** included: /tmp/tmptjr_ga81/tests/network/playbooks/tasks/get_current_interfaces.yml for /cache/rhel-6.qcow2.snap TASK [Gather current interface info] ******************************************* task path: /tmp/tmptjr_ga81/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 03 August 2022 15:27:51 +0000 (0:00:00.066) 0:00:28.559 ****** ok: [/cache/rhel-6.qcow2.snap] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003615", "end": "2022-08-03 11:27:50.698770", "rc": 0, "start": "2022-08-03 11:27:50.695155" } STDOUT: eth0 lo peertestnic1 testnic1 TASK [Set current_interfaces] ************************************************** task path: /tmp/tmptjr_ga81/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 03 August 2022 15:27:51 +0000 (0:00:00.348) 0:00:28.908 ****** ok: [/cache/rhel-6.qcow2.snap] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo", "peertestnic1", "testnic1" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/tmptjr_ga81/tests/network/playbooks/tasks/show_interfaces.yml:4 Wednesday 03 August 2022 15:27:51 +0000 (0:00:00.057) 0:00:28.965 ****** ok: [/cache/rhel-6.qcow2.snap] => {} MSG: current_interfaces: ['eth0', 'lo', 'peertestnic1', 'testnic1'] TASK [Install iproute] ********************************************************* task path: /tmp/tmptjr_ga81/tests/network/playbooks/tasks/manage_test_interface.yml:15 Wednesday 03 August 2022 15:27:51 +0000 (0:00:00.054) 0:00:29.019 ****** ok: [/cache/rhel-6.qcow2.snap] => { "changed": false, "rc": 0, "results": [ "iproute-2.6.32-57.el6.x86_64 providing iproute is already installed" ] } TASK [Create veth interface testnic1] ****************************************** task path: /tmp/tmptjr_ga81/tests/network/playbooks/tasks/manage_test_interface.yml:21 Wednesday 03 August 2022 15:27:52 +0000 (0:00:00.510) 0:00:29.530 ****** skipping: [/cache/rhel-6.qcow2.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/rhel-6.qcow2.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/rhel-6.qcow2.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/tmptjr_ga81/tests/network/playbooks/tasks/manage_test_interface.yml:28 Wednesday 03 August 2022 15:27:52 +0000 (0:00:00.057) 0:00:29.588 ****** skipping: [/cache/rhel-6.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete veth interface testnic1] ****************************************** task path: /tmp/tmptjr_ga81/tests/network/playbooks/tasks/manage_test_interface.yml:35 Wednesday 03 August 2022 15:27:52 +0000 (0:00:00.042) 0:00:29.630 ****** changed: [/cache/rhel-6.qcow2.snap] => { "changed": true, "cmd": [ "ip", "link", "del", "testnic1", "type", "veth" ], "delta": "0:00:00.051315", "end": "2022-08-03 11:27:51.816058", "rc": 0, "start": "2022-08-03 11:27:51.764743" } TASK [Create dummy interface testnic1] ***************************************** task path: /tmp/tmptjr_ga81/tests/network/playbooks/tasks/manage_test_interface.yml:40 Wednesday 03 August 2022 15:27:52 +0000 (0:00:00.351) 0:00:29.982 ****** skipping: [/cache/rhel-6.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface testnic1] ***************************************** task path: /tmp/tmptjr_ga81/tests/network/playbooks/tasks/manage_test_interface.yml:44 Wednesday 03 August 2022 15:27:52 +0000 (0:00:00.045) 0:00:30.027 ****** skipping: [/cache/rhel-6.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface testnic1] ******************************************* task path: /tmp/tmptjr_ga81/tests/network/playbooks/tasks/manage_test_interface.yml:49 Wednesday 03 August 2022 15:27:52 +0000 (0:00:00.042) 0:00:30.070 ****** skipping: [/cache/rhel-6.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface testnic1] ******************************************* task path: /tmp/tmptjr_ga81/tests/network/playbooks/tasks/manage_test_interface.yml:53 Wednesday 03 August 2022 15:27:52 +0000 (0:00:00.043) 0:00:30.114 ****** skipping: [/cache/rhel-6.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/rhel-6.qcow2.snap : ok=91 changed=10 unreachable=0 failed=0 skipped=71 rescued=0 ignored=3 Wednesday 03 August 2022 15:27:52 +0000 (0:00:00.056) 0:00:30.171 ****** =============================================================================== fedora.linux_system_roles.network : Check which services are running ---- 1.52s /tmp/tmpk7x13fer/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 fedora.linux_system_roles.network : Check which services are running ---- 1.38s /tmp/tmpk7x13fer/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 fedora.linux_system_roles.network : Check which services are running ---- 1.37s /tmp/tmpk7x13fer/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 fedora.linux_system_roles.network : Check which services are running ---- 1.35s /tmp/tmpk7x13fer/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 fedora.linux_system_roles.network : Configure networking connection profiles --- 1.09s /tmp/tmpk7x13fer/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 Gathering Facts --------------------------------------------------------- 0.93s /tmp/tmptjr_ga81/tests/network/tests_ethtool_ring_initscripts.yml:4 ----------- fedora.linux_system_roles.network : Enable network service -------------- 0.86s /tmp/tmpk7x13fer/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:89 fedora.linux_system_roles.network : Check which packages are installed --- 0.84s /tmp/tmpk7x13fer/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 Create veth interface testnic1 ------------------------------------------ 0.81s /tmp/tmptjr_ga81/tests/network/playbooks/tasks/manage_test_interface.yml:21 --- fedora.linux_system_roles.network : Re-test connectivity ---------------- 0.70s /tmp/tmpk7x13fer/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Gathering Facts --------------------------------------------------------- 0.68s /tmp/tmptjr_ga81/tests/network/playbooks/tests_ethtool_ring.yml:3 ------------- Install iproute --------------------------------------------------------- 0.68s /tmp/tmptjr_ga81/tests/network/playbooks/tasks/manage_test_interface.yml:15 --- Enable EPEL 6 ----------------------------------------------------------- 0.67s /tmp/tmptjr_ga81/tests/network/tasks/enable_epel.yml:26 ----------------------- fedora.linux_system_roles.network : Check which packages are installed --- 0.64s /tmp/tmpk7x13fer/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 fedora.linux_system_roles.network : Ensure initscripts network file dependency is present --- 0.62s /tmp/tmpk7x13fer/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:97 fedora.linux_system_roles.network : Check which packages are installed --- 0.57s /tmp/tmpk7x13fer/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 fedora.linux_system_roles.network : Check which packages are installed --- 0.56s /tmp/tmpk7x13fer/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 Install iproute --------------------------------------------------------- 0.51s /tmp/tmptjr_ga81/tests/network/playbooks/tasks/manage_test_interface.yml:15 --- Install ethtool (test dependency) --------------------------------------- 0.48s /tmp/tmptjr_ga81/tests/network/playbooks/tests_ethtool_ring.yml:22 ------------ fedora.linux_system_roles.network : Configure networking connection profiles --- 0.47s /tmp/tmpk7x13fer/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 PLAYBOOK: _restore.yml ********************************************************* 1 plays in /tmp/tmptjr_ga81/tests/network/_restore.yml PLAY [all] ********************************************************************* META: ran handlers TASK [Restore system files] **************************************************** task path: /tmp/tmptjr_ga81/tests/network/_restore.yml:4 Wednesday 03 August 2022 15:27:52 +0000 (0:00:00.033) 0:00:30.204 ****** changed: [/cache/rhel-6.qcow2.snap] => { "changed": true, "cmd": "(cd /; tar -xf /tmp/network.backup.tar)", "delta": "0:00:00.010962", "end": "2022-08-03 11:27:52.334822", "rc": 0, "start": "2022-08-03 11:27:52.323860" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/rhel-6.qcow2.snap : ok=92 changed=11 unreachable=0 failed=0 skipped=71 rescued=0 ignored=3 Wednesday 03 August 2022 15:27:53 +0000 (0:00:00.307) 0:00:30.512 ****** =============================================================================== fedora.linux_system_roles.network : Check which services are running ---- 1.52s /tmp/tmpk7x13fer/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 fedora.linux_system_roles.network : Check which services are running ---- 1.38s /tmp/tmpk7x13fer/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 fedora.linux_system_roles.network : Check which services are running ---- 1.37s /tmp/tmpk7x13fer/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 fedora.linux_system_roles.network : Check which services are running ---- 1.35s /tmp/tmpk7x13fer/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 fedora.linux_system_roles.network : Configure networking connection profiles --- 1.09s /tmp/tmpk7x13fer/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 Gathering Facts --------------------------------------------------------- 0.93s /tmp/tmptjr_ga81/tests/network/tests_ethtool_ring_initscripts.yml:4 ----------- fedora.linux_system_roles.network : Enable network service -------------- 0.86s /tmp/tmpk7x13fer/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:89 fedora.linux_system_roles.network : Check which packages are installed --- 0.84s /tmp/tmpk7x13fer/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 Create veth interface testnic1 ------------------------------------------ 0.81s /tmp/tmptjr_ga81/tests/network/playbooks/tasks/manage_test_interface.yml:21 --- fedora.linux_system_roles.network : Re-test connectivity ---------------- 0.70s /tmp/tmpk7x13fer/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Gathering Facts --------------------------------------------------------- 0.68s /tmp/tmptjr_ga81/tests/network/playbooks/tests_ethtool_ring.yml:3 ------------- Install iproute --------------------------------------------------------- 0.68s /tmp/tmptjr_ga81/tests/network/playbooks/tasks/manage_test_interface.yml:15 --- Enable EPEL 6 ----------------------------------------------------------- 0.67s /tmp/tmptjr_ga81/tests/network/tasks/enable_epel.yml:26 ----------------------- fedora.linux_system_roles.network : Check which packages are installed --- 0.64s /tmp/tmpk7x13fer/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 fedora.linux_system_roles.network : Ensure initscripts network file dependency is present --- 0.62s /tmp/tmpk7x13fer/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:97 fedora.linux_system_roles.network : Check which packages are installed --- 0.57s /tmp/tmpk7x13fer/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 fedora.linux_system_roles.network : Check which packages are installed --- 0.56s /tmp/tmpk7x13fer/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 Install iproute --------------------------------------------------------- 0.51s /tmp/tmptjr_ga81/tests/network/playbooks/tasks/manage_test_interface.yml:15 --- Install ethtool (test dependency) --------------------------------------- 0.48s /tmp/tmptjr_ga81/tests/network/playbooks/tests_ethtool_ring.yml:22 ------------ fedora.linux_system_roles.network : Configure networking connection profiles --- 0.47s /tmp/tmpk7x13fer/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106