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:17:16 +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": 1659539835.240509, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "2c55cc8324e731161638aa365379c1c147546a87", "ctime": 1659539835.24, "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": "18446744072843960556", "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:17:17 +0000 (0:00:00.452) 0:00:00.470 ****** [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': '18446744072843960556', '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': 1659539835.240509, 'isdir': False, 'ctime': 1659539835.24, '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": 1659539835.240509, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "2c55cc8324e731161638aa365379c1c147546a87", "ctime": 1659539835.24, "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": "18446744072843960556", "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:17:17 +0000 (0:00:00.033) 0:00:00.503 ****** 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.003848", "end": "2022-08-03 11:17:16.674247", "rc": 0, "start": "2022-08-03 11:17:16.670399" } 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:17:17 +0000 (0:00:00.377) 0:00:00.881 ****** =============================================================================== Get stats of system files ----------------------------------------------- 0.45s /tmp/tmpdb8ajfhr/tests/_backup.yml:6 ------------------------------------------ Back up system files ---------------------------------------------------- 0.38s /tmp/tmpdb8ajfhr/tests/_backup.yml:19 ----------------------------------------- Check if system files exist --------------------------------------------- 0.03s /tmp/tmpdb8ajfhr/tests/_backup.yml:13 ----------------------------------------- PLAYBOOK: tests_ethtool_coalesce_initscripts.yml ******************************* 2 plays in /tmp/tmpdb8ajfhr/tests/tests_ethtool_coalesce_initscripts.yml PLAY [Run playbook 'playbooks/tests_ethtool_coalesce.yml' with initscripts as provider] *** TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpdb8ajfhr/tests/tests_ethtool_coalesce_initscripts.yml:4 Wednesday 03 August 2022 15:17:17 +0000 (0:00:00.049) 0:00:00.931 ****** ok: [/cache/rhel-6.qcow2.snap] META: ran handlers TASK [include_tasks] *********************************************************** task path: /tmp/tmpdb8ajfhr/tests/tests_ethtool_coalesce_initscripts.yml:7 Wednesday 03 August 2022 15:17:18 +0000 (0:00:00.923) 0:00:01.854 ****** 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:17:18 +0000 (0:00:00.029) 0:00:01.883 ****** 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:17:18 +0000 (0:00:00.021) 0:00:01.904 ****** 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:17:18 +0000 (0:00:00.030) 0:00:01.935 ****** 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:17:18 +0000 (0:00:00.021) 0:00:01.957 ****** 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:17:18 +0000 (0:00:00.021) 0:00:01.978 ****** 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:17:18 +0000 (0:00:00.020) 0:00:01.999 ****** 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_coalesce_initscripts.yml:8 Wednesday 03 August 2022 15:17:19 +0000 (0:00:00.621) 0:00:02.621 ****** 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_coalesce.yml:3 Wednesday 03 August 2022 15:17:19 +0000 (0:00:00.054) 0:00:02.675 ****** ok: [/cache/rhel-6.qcow2.snap] META: ran handlers TASK [Show playbook name] ****************************************************** task path: /tmp/tmpdb8ajfhr/tests/playbooks/tests_ethtool_coalesce.yml:8 Wednesday 03 August 2022 15:17:19 +0000 (0:00:00.675) 0:00:03.350 ****** ok: [/cache/rhel-6.qcow2.snap] => {} MSG: this is: playbooks/tests_ethtool_coalesce.yml TASK [INIT: Ethtool coalesce tests] ******************************************** task path: /tmp/tmpdb8ajfhr/tests/playbooks/tests_ethtool_coalesce.yml:14 Wednesday 03 August 2022 15:17:19 +0000 (0:00:00.041) 0:00:03.391 ****** ok: [/cache/rhel-6.qcow2.snap] => {} MSG: ################################################## TASK [include_tasks] *********************************************************** task path: /tmp/tmpdb8ajfhr/tests/playbooks/tests_ethtool_coalesce.yml:17 Wednesday 03 August 2022 15:17:19 +0000 (0:00:00.041) 0:00:03.433 ****** 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:17:20 +0000 (0:00:00.047) 0:00:03.480 ****** 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:17:20 +0000 (0:00:00.042) 0:00:03.523 ****** ok: [/cache/rhel-6.qcow2.snap] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.004163", "end": "2022-08-03 11:17:19.600616", "rc": 0, "start": "2022-08-03 11:17:19.596453" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/tmpdb8ajfhr/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 03 August 2022 15:17:20 +0000 (0:00:00.289) 0:00:03.812 ****** 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:17:20 +0000 (0:00:00.088) 0:00:03.901 ****** ok: [/cache/rhel-6.qcow2.snap] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [include_tasks] *********************************************************** task path: /tmp/tmpdb8ajfhr/tests/playbooks/tests_ethtool_coalesce.yml:18 Wednesday 03 August 2022 15:17:20 +0000 (0:00:00.045) 0:00:03.946 ****** 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:17:20 +0000 (0:00:00.047) 0:00:03.994 ****** 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:17:20 +0000 (0:00:00.033) 0:00:04.027 ****** 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:17:20 +0000 (0:00:00.032) 0:00:04.060 ****** 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:17:20 +0000 (0:00:00.045) 0:00:04.106 ****** 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:17:20 +0000 (0:00:00.042) 0:00:04.149 ****** ok: [/cache/rhel-6.qcow2.snap] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003396", "end": "2022-08-03 11:17:20.246071", "rc": 0, "start": "2022-08-03 11:17:20.242675" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/tmpdb8ajfhr/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 03 August 2022 15:17:21 +0000 (0:00:00.301) 0:00:04.450 ****** 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:17:21 +0000 (0:00:00.046) 0:00:04.497 ****** 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:17:21 +0000 (0:00:00.045) 0:00:04.542 ****** 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:17:21 +0000 (0:00:00.641) 0:00:05.183 ****** 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.003532", "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:17:21.268386", "item": "ip link add testnic1 type veth peer name peertestnic1", "rc": 0, "start": "2022-08-03 11:17:21.264854" } 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.003432", "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:17:21.526424", "item": "ip link set peertestnic1 up", "rc": 0, "start": "2022-08-03 11:17:21.522992" } 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.003352", "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:17:21.762031", "item": "ip link set testnic1 up", "rc": 0, "start": "2022-08-03 11:17:21.758679" } 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:17:22 +0000 (0:00:00.786) 0:00:05.969 ****** 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:17:22 +0000 (0:00:00.275) 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:17:22 +0000 (0:00:00.036) 0:00:06.281 ****** 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:17:22 +0000 (0:00:00.035) 0:00:06.316 ****** 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:17:22 +0000 (0:00:00.035) 0:00:06.351 ****** 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:17:22 +0000 (0:00:00.034) 0:00:06.386 ****** 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_coalesce.yml:21 Wednesday 03 August 2022 15:17:22 +0000 (0:00:00.033) 0:00:06.419 ****** 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:17:23 +0000 (0:00:00.044) 0:00:06.463 ****** 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:17:23 +0000 (0:00:00.043) 0:00:06.507 ****** ok: [/cache/rhel-6.qcow2.snap] => { "changed": false, "stat": { "atime": 1659539841.388, "block_size": 4096, "blocks": 0, "ctime": 1659539841.378, "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": 1659539841.378, "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:17:23 +0000 (0:00:00.293) 0:00:06.801 ****** 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_coalesce.yml:22 Wednesday 03 August 2022 15:17:23 +0000 (0:00:00.047) 0:00:06.849 ****** 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 coalescing option.] ************* task path: /tmp/tmpdb8ajfhr/tests/playbooks/tests_ethtool_coalesce.yml:28 Wednesday 03 August 2022 15:17:23 +0000 (0:00:00.489) 0:00:07.338 ****** 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:17:23 +0000 (0:00:00.044) 0:00:07.383 ****** 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:17:23 +0000 (0:00:00.047) 0:00:07.430 ****** 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:17:24 +0000 (0:00:00.364) 0:00:07.795 ****** 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:17:25 +0000 (0:00:01.497) 0:00:09.292 ****** 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:17:26 +0000 (0:00:00.781) 0:00:10.074 ****** 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:17:26 +0000 (0:00:00.086) 0:00:10.160 ****** 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:17:26 +0000 (0:00:00.073) 0:00:10.234 ****** 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:17:26 +0000 (0:00:00.043) 0:00:10.278 ****** 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:17:26 +0000 (0:00:00.064) 0:00:10.342 ****** 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:17:26 +0000 (0:00:00.044) 0:00:10.386 ****** 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:17:26 +0000 (0:00:00.042) 0:00:10.429 ****** 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:17:27 +0000 (0:00:00.045) 0:00:10.475 ****** 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:17:27 +0000 (0:00:00.042) 0:00:10.517 ****** 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:17:27 +0000 (0:00:00.040) 0:00:10.558 ****** 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:17:27 +0000 (0:00:00.489) 0:00:11.047 ****** ok: [/cache/rhel-6.qcow2.snap] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-2973519kv3x48k/tmpu_f2m26q" } 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:17:27 +0000 (0:00:00.285) 0:00:11.333 ****** 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:17:28 +0000 (0:00:00.601) 0:00:11.935 ****** 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:17:28 +0000 (0:00:00.046) 0:00:11.981 ****** 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:17:28 +0000 (0:00:00.051) 0:00:12.032 ****** 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:17:28 +0000 (0:00:00.111) 0:00:12.144 ****** 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:17:28 +0000 (0:00:00.044) 0:00:12.188 ****** ok: [/cache/rhel-6.qcow2.snap] => { "changed": false, "ping": "pong" } META: role_complete for /cache/rhel-6.qcow2.snap TASK [Get profile's coalescing options] **************************************** task path: /tmp/tmpdb8ajfhr/tests/playbooks/tests_ethtool_coalesce.yml:44 Wednesday 03 August 2022 15:17:29 +0000 (0:00:00.387) 0:00:12.576 ****** skipping: [/cache/rhel-6.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [ASSERT: The profile does not contain coalescing options] ***************** task path: /tmp/tmpdb8ajfhr/tests/playbooks/tests_ethtool_coalesce.yml:49 Wednesday 03 August 2022 15:17:29 +0000 (0:00:00.041) 0:00:12.618 ****** skipping: [/cache/rhel-6.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get profile's coalescing options] **************************************** task path: /tmp/tmpdb8ajfhr/tests/playbooks/tests_ethtool_coalesce.yml:54 Wednesday 03 August 2022 15:17:29 +0000 (0:00:00.044) 0:00:12.663 ****** fatal: [/cache/rhel-6.qcow2.snap]: FAILED! => { "changed": true, "cmd": [ "grep", "ETHTOOL", "/etc/sysconfig/network-scripts/ifcfg-testnic1" ], "delta": "0:00:00.003167", "end": "2022-08-03 11:17:28.745276", "rc": 1, "start": "2022-08-03 11:17:28.742109" } MSG: non-zero return code ...ignoring TASK [ASSERT: The profile does not contain coalescing options] ***************** task path: /tmp/tmpdb8ajfhr/tests/playbooks/tests_ethtool_coalesce.yml:61 Wednesday 03 August 2022 15:17:29 +0000 (0:00:00.295) 0:00:12.958 ****** ok: [/cache/rhel-6.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [TEST: I can set rx-frames.] ********************************************** task path: /tmp/tmpdb8ajfhr/tests/playbooks/tests_ethtool_coalesce.yml:67 Wednesday 03 August 2022 15:17:29 +0000 (0:00:00.054) 0:00:13.013 ****** 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:17:29 +0000 (0:00:00.050) 0:00:13.063 ****** 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:17:29 +0000 (0:00:00.061) 0:00:13.124 ****** 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:17:30 +0000 (0:00:00.376) 0:00:13.500 ****** 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:17:31 +0000 (0:00:01.335) 0:00:14.836 ****** 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:17:31 +0000 (0:00:00.540) 0:00:15.376 ****** 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:17:31 +0000 (0:00:00.054) 0:00:15.430 ****** 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:17:32 +0000 (0:00:00.043) 0:00:15.474 ****** 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:17:32 +0000 (0:00:00.044) 0:00:15.518 ****** 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:17:32 +0000 (0:00:00.062) 0:00:15.580 ****** 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:17:32 +0000 (0:00:00.043) 0:00:15.624 ****** 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:17:32 +0000 (0:00:00.041) 0:00:15.666 ****** 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:17:32 +0000 (0:00:00.045) 0:00:15.711 ****** 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:17:32 +0000 (0:00:00.042) 0:00:15.754 ****** 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:17:32 +0000 (0:00:00.043) 0:00:15.797 ****** 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:17:32 +0000 (0:00:00.339) 0:00:16.137 ****** ok: [/cache/rhel-6.qcow2.snap] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-2973519kv3x48k/tmp828sc9ng" } 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:17:33 +0000 (0:00:00.321) 0:00:16.458 ****** 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": { "coalesce": { "rx_frames": 128 } }, "ip": { "auto6": false, "dhcp4": false }, "name": "testnic1", "state": "up", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [003] #0, state:up persistent_state:present, 'testnic1': update ifcfg-rh profile 'testnic1' [004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1 (is-modified) [005] #0, state:up persistent_state:present, 'testnic1': call 'ifup testnic1': rc=0, out='', err='Cannot get device coalesce settings: Operation not supported ' TASK [linux-system-roles.network : Configure networking state] ***************** task path: /tmp/tmpdb8ajfhr/tests/roles/linux-system-roles.network/tasks/main.yml:128 Wednesday 03 August 2022 15:17:33 +0000 (0:00:00.449) 0:00:16.908 ****** 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:17:33 +0000 (0:00:00.045) 0:00:16.953 ****** 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 coalesce 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:17:33 +0000 (0:00:00.050) 0:00:17.004 ****** ok: [/cache/rhel-6.qcow2.snap] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "ethtool": { "coalesce": { "rx_frames": 128 } }, "ip": { "auto6": false, "dhcp4": false }, "name": "testnic1", "state": "up", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "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 coalesce settings: Operation not supported\n'\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'testnic1': update ifcfg-rh profile 'testnic1'", "[004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1 (is-modified)", "[005] #0, state:up persistent_state:present, 'testnic1': call 'ifup testnic1': rc=0, out='', err='Cannot get device coalesce settings: Operation not supported", "'" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /tmp/tmpdb8ajfhr/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 03 August 2022 15:17:33 +0000 (0:00:00.058) 0:00:17.063 ****** 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:17:33 +0000 (0:00:00.051) 0:00:17.114 ****** ok: [/cache/rhel-6.qcow2.snap] => { "changed": false, "ping": "pong" } META: role_complete for /cache/rhel-6.qcow2.snap TASK [Get profile's coalescing options] **************************************** task path: /tmp/tmpdb8ajfhr/tests/playbooks/tests_ethtool_coalesce.yml:85 Wednesday 03 August 2022 15:17:33 +0000 (0:00:00.297) 0:00:17.411 ****** skipping: [/cache/rhel-6.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert coalesce options set in profile] ********************************** task path: /tmp/tmpdb8ajfhr/tests/playbooks/tests_ethtool_coalesce.yml:90 Wednesday 03 August 2022 15:17:34 +0000 (0:00:00.042) 0:00:17.454 ****** skipping: [/cache/rhel-6.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get profile's coalescing options] **************************************** task path: /tmp/tmpdb8ajfhr/tests/playbooks/tests_ethtool_coalesce.yml:96 Wednesday 03 August 2022 15:17:34 +0000 (0:00:00.042) 0:00:17.497 ****** changed: [/cache/rhel-6.qcow2.snap] => { "changed": true, "cmd": [ "grep", "ETHTOOL", "/etc/sysconfig/network-scripts/ifcfg-testnic1" ], "delta": "0:00:00.003273", "end": "2022-08-03 11:17:33.572565", "rc": 0, "start": "2022-08-03 11:17:33.569292" } STDOUT: ETHTOOL_OPTS="-C testnic1 rx-frames 128" TASK [Assert coalesce options set in profile] ********************************** task path: /tmp/tmpdb8ajfhr/tests/playbooks/tests_ethtool_coalesce.yml:103 Wednesday 03 August 2022 15:17:34 +0000 (0:00:00.289) 0:00:17.786 ****** ok: [/cache/rhel-6.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [TEST: I can clear coalescing options] ************************************ task path: /tmp/tmpdb8ajfhr/tests/playbooks/tests_ethtool_coalesce.yml:109 Wednesday 03 August 2022 15:17:34 +0000 (0:00:00.052) 0:00:17.838 ****** 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:17:34 +0000 (0:00:00.052) 0:00:17.891 ****** 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:17:34 +0000 (0:00:00.062) 0:00:17.954 ****** 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:17:34 +0000 (0:00:00.412) 0:00:18.366 ****** 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:17:36 +0000 (0:00:01.314) 0:00:19.681 ****** 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:17:36 +0000 (0:00:00.534) 0:00:20.215 ****** 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:17:36 +0000 (0:00:00.053) 0:00:20.269 ****** 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:17:36 +0000 (0:00:00.045) 0:00:20.314 ****** 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:17:36 +0000 (0:00:00.042) 0:00:20.356 ****** 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:17:36 +0000 (0:00:00.063) 0:00:20.420 ****** 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:17:37 +0000 (0:00:00.043) 0:00:20.463 ****** 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:17:37 +0000 (0:00:00.043) 0:00:20.507 ****** 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:17:37 +0000 (0:00:00.046) 0:00:20.553 ****** 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:17:37 +0000 (0:00:00.044) 0:00:20.597 ****** 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:17:37 +0000 (0:00:00.039) 0:00:20.637 ****** 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:17:37 +0000 (0:00:00.366) 0:00:21.004 ****** ok: [/cache/rhel-6.qcow2.snap] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-2973519kv3x48k/tmphm2hmyvl" } 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:17:37 +0000 (0:00:00.289) 0:00:21.294 ****** 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:17:38 +0000 (0:00:00.430) 0:00:21.724 ****** 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:17:38 +0000 (0:00:00.046) 0:00:21.770 ****** 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:17:38 +0000 (0:00:00.054) 0:00:21.825 ****** 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:17:38 +0000 (0:00:00.053) 0:00:21.878 ****** 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:17:38 +0000 (0:00:00.049) 0:00:21.928 ****** ok: [/cache/rhel-6.qcow2.snap] => { "changed": false, "ping": "pong" } META: role_complete for /cache/rhel-6.qcow2.snap TASK [Get profile's coalescing options] **************************************** task path: /tmp/tmpdb8ajfhr/tests/playbooks/tests_ethtool_coalesce.yml:124 Wednesday 03 August 2022 15:17:38 +0000 (0:00:00.290) 0:00:22.218 ****** skipping: [/cache/rhel-6.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [ASSERT: The profile does reset coalescing options] *********************** task path: /tmp/tmpdb8ajfhr/tests/playbooks/tests_ethtool_coalesce.yml:129 Wednesday 03 August 2022 15:17:38 +0000 (0:00:00.044) 0:00:22.262 ****** skipping: [/cache/rhel-6.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get profile's coalescing options] **************************************** task path: /tmp/tmpdb8ajfhr/tests/playbooks/tests_ethtool_coalesce.yml:134 Wednesday 03 August 2022 15:17:38 +0000 (0:00:00.039) 0:00:22.302 ****** fatal: [/cache/rhel-6.qcow2.snap]: FAILED! => { "changed": true, "cmd": [ "grep", "ETHTOOL", "/etc/sysconfig/network-scripts/ifcfg-testnic1" ], "delta": "0:00:00.003097", "end": "2022-08-03 11:17:38.371483", "rc": 1, "start": "2022-08-03 11:17:38.368386" } MSG: non-zero return code ...ignoring TASK [ASSERT: The profile does reset coalescing options] *********************** task path: /tmp/tmpdb8ajfhr/tests/playbooks/tests_ethtool_coalesce.yml:141 Wednesday 03 August 2022 15:17:39 +0000 (0:00:00.283) 0:00:22.586 ****** 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:17:39 +0000 (0:00:00.089) 0:00:22.676 ****** 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:17:39 +0000 (0:00:00.103) 0:00:22.779 ****** 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:17:39 +0000 (0:00:00.378) 0:00:23.157 ****** 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:17:41 +0000 (0:00:01.300) 0:00:24.458 ****** 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:17:41 +0000 (0:00:00.550) 0:00:25.008 ****** 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:17:41 +0000 (0:00:00.053) 0:00:25.061 ****** 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:17:41 +0000 (0:00:00.043) 0:00:25.105 ****** 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:17:41 +0000 (0:00:00.072) 0:00:25.177 ****** 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:17:41 +0000 (0:00:00.063) 0:00:25.240 ****** 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:17:41 +0000 (0:00:00.044) 0:00:25.285 ****** 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:17:41 +0000 (0:00:00.042) 0:00:25.327 ****** 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:17:41 +0000 (0:00:00.046) 0:00:25.373 ****** 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:17:41 +0000 (0:00:00.042) 0:00:25.416 ****** 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:17:42 +0000 (0:00:00.043) 0:00:25.459 ****** 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:17:42 +0000 (0:00:00.341) 0:00:25.800 ****** ok: [/cache/rhel-6.qcow2.snap] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-2973519kv3x48k/tmpbjw6rvxb" } 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:17:42 +0000 (0:00:00.295) 0:00:26.096 ****** 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:17:43 +0000 (0:00:00.372) 0:00:26.468 ****** 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:17:43 +0000 (0:00:00.044) 0:00:26.512 ****** 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:17:43 +0000 (0:00:00.052) 0:00:26.564 ****** 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:17:43 +0000 (0:00:00.050) 0:00:26.615 ****** 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:17:43 +0000 (0:00:00.044) 0:00:26.659 ****** 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_coalesce.yml:157 Wednesday 03 August 2022 15:17:43 +0000 (0:00:00.290) 0:00:26.950 ****** 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:17:43 +0000 (0:00:00.096) 0:00:27.047 ****** 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:17:43 +0000 (0:00:00.043) 0:00:27.091 ****** 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:17:43 +0000 (0:00:00.040) 0:00:27.132 ****** 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:17:43 +0000 (0:00:00.059) 0:00:27.191 ****** 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:17:43 +0000 (0:00:00.057) 0:00:27.248 ****** ok: [/cache/rhel-6.qcow2.snap] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003569", "end": "2022-08-03 11:17:43.325158", "rc": 0, "start": "2022-08-03 11:17:43.321589" } 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:17:44 +0000 (0:00:00.289) 0:00:27.538 ****** 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:17:44 +0000 (0:00:00.052) 0:00:27.591 ****** 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:17:44 +0000 (0:00:00.053) 0:00:27.644 ****** 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:17:44 +0000 (0:00:00.499) 0:00:28.143 ****** 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:17:44 +0000 (0:00:00.056) 0:00:28.200 ****** 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:17:44 +0000 (0:00:00.041) 0:00:28.241 ****** changed: [/cache/rhel-6.qcow2.snap] => { "changed": true, "cmd": [ "ip", "link", "del", "testnic1", "type", "veth" ], "delta": "0:00:00.053356", "end": "2022-08-03 11:17:44.362946", "rc": 0, "start": "2022-08-03 11:17:44.309590" } TASK [Create dummy interface testnic1] ***************************************** task path: /tmp/tmpdb8ajfhr/tests/playbooks/tasks/manage_test_interface.yml:42 Wednesday 03 August 2022 15:17:45 +0000 (0:00:00.339) 0:00:28.581 ****** 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:17:45 +0000 (0:00:00.043) 0:00:28.624 ****** 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:17:45 +0000 (0:00:00.074) 0:00:28.698 ****** 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:17:45 +0000 (0:00:00.043) 0:00:28.742 ****** 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=65 rescued=0 ignored=3 Wednesday 03 August 2022 15:17:45 +0000 (0:00:00.057) 0:00:28.800 ****** =============================================================================== linux-system-roles.network : Check which services are running ----------- 1.50s /tmp/tmpdb8ajfhr/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 linux-system-roles.network : Check which services are running ----------- 1.34s /tmp/tmpdb8ajfhr/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 linux-system-roles.network : Check which services are running ----------- 1.31s /tmp/tmpdb8ajfhr/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 linux-system-roles.network : Check which services are running ----------- 1.30s /tmp/tmpdb8ajfhr/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 linux-system-roles.network : Configure networking connection profiles --- 1.03s /tmp/tmpdb8ajfhr/tests/roles/linux-system-roles.network/tasks/main.yml:116 ---- Gathering Facts --------------------------------------------------------- 0.92s /tmp/tmpdb8ajfhr/tests/tests_ethtool_coalesce_initscripts.yml:4 --------------- linux-system-roles.network : Enable network service --------------------- 0.86s /tmp/tmpdb8ajfhr/tests/roles/linux-system-roles.network/tasks/main.yml:99 ----- Create veth interface testnic1 ------------------------------------------ 0.79s /tmp/tmpdb8ajfhr/tests/playbooks/tasks/manage_test_interface.yml:21 ----------- linux-system-roles.network : Check which packages are installed --------- 0.78s /tmp/tmpdb8ajfhr/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 linux-system-roles.network : Re-test connectivity ----------------------- 0.68s /tmp/tmpdb8ajfhr/tests/roles/linux-system-roles.network/tasks/main.yml:149 ---- Gathering Facts --------------------------------------------------------- 0.68s /tmp/tmpdb8ajfhr/tests/playbooks/tests_ethtool_coalesce.yml:3 ----------------- Install iproute --------------------------------------------------------- 0.64s /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 : 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.55s /tmp/tmpdb8ajfhr/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 linux-system-roles.network : Check which packages are installed --------- 0.54s /tmp/tmpdb8ajfhr/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 linux-system-roles.network : Check which packages are installed --------- 0.53s /tmp/tmpdb8ajfhr/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 Install iproute --------------------------------------------------------- 0.50s /tmp/tmpdb8ajfhr/tests/playbooks/tasks/manage_test_interface.yml:15 ----------- Install ethtool (test dependency) --------------------------------------- 0.49s /tmp/tmpdb8ajfhr/tests/playbooks/tests_ethtool_coalesce.yml:22 ---------------- Get stats of system files ----------------------------------------------- 0.45s /tmp/tmpdb8ajfhr/tests/_backup.yml:6 ------------------------------------------ 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:17:45 +0000 (0:00:00.034) 0:00:28.835 ****** changed: [/cache/rhel-6.qcow2.snap] => { "changed": true, "cmd": "(cd /; tar -xf /tmp/network.backup.tar)", "delta": "0:00:00.005792", "end": "2022-08-03 11:17:44.896658", "rc": 0, "start": "2022-08-03 11:17:44.890866" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/rhel-6.qcow2.snap : ok=92 changed=11 unreachable=0 failed=0 skipped=65 rescued=0 ignored=3 Wednesday 03 August 2022 15:17:45 +0000 (0:00:00.290) 0:00:29.125 ****** =============================================================================== linux-system-roles.network : Check which services are running ----------- 1.50s /tmp/tmpdb8ajfhr/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 linux-system-roles.network : Check which services are running ----------- 1.34s /tmp/tmpdb8ajfhr/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 linux-system-roles.network : Check which services are running ----------- 1.31s /tmp/tmpdb8ajfhr/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 linux-system-roles.network : Check which services are running ----------- 1.30s /tmp/tmpdb8ajfhr/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 linux-system-roles.network : Configure networking connection profiles --- 1.03s /tmp/tmpdb8ajfhr/tests/roles/linux-system-roles.network/tasks/main.yml:116 ---- Gathering Facts --------------------------------------------------------- 0.92s /tmp/tmpdb8ajfhr/tests/tests_ethtool_coalesce_initscripts.yml:4 --------------- linux-system-roles.network : Enable network service --------------------- 0.86s /tmp/tmpdb8ajfhr/tests/roles/linux-system-roles.network/tasks/main.yml:99 ----- Create veth interface testnic1 ------------------------------------------ 0.79s /tmp/tmpdb8ajfhr/tests/playbooks/tasks/manage_test_interface.yml:21 ----------- linux-system-roles.network : Check which packages are installed --------- 0.78s /tmp/tmpdb8ajfhr/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 linux-system-roles.network : Re-test connectivity ----------------------- 0.68s /tmp/tmpdb8ajfhr/tests/roles/linux-system-roles.network/tasks/main.yml:149 ---- Gathering Facts --------------------------------------------------------- 0.68s /tmp/tmpdb8ajfhr/tests/playbooks/tests_ethtool_coalesce.yml:3 ----------------- Install iproute --------------------------------------------------------- 0.64s /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 : 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.55s /tmp/tmpdb8ajfhr/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 linux-system-roles.network : Check which packages are installed --------- 0.54s /tmp/tmpdb8ajfhr/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 linux-system-roles.network : Check which packages are installed --------- 0.53s /tmp/tmpdb8ajfhr/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 Install iproute --------------------------------------------------------- 0.50s /tmp/tmpdb8ajfhr/tests/playbooks/tasks/manage_test_interface.yml:15 ----------- Install ethtool (test dependency) --------------------------------------- 0.49s /tmp/tmpdb8ajfhr/tests/playbooks/tests_ethtool_coalesce.yml:22 ---------------- Get stats of system files ----------------------------------------------- 0.45s /tmp/tmpdb8ajfhr/tests/_backup.yml:6 ------------------------------------------ ansible-playbook [core 2.12.6] config file = /etc/ansible/ansible.cfg configured module search path = ['/root/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /usr/lib/python3.9/site-packages/ansible ansible collection location = /tmp/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:26:03 +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": 1659540361.655356, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "2c55cc8324e731161638aa365379c1c147546a87", "ctime": 1659540361.655, "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": "18446744072091883586", "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:26:03 +0000 (0:00:00.466) 0:00:00.484 ****** [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': '18446744072091883586', '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': 1659540361.655356, 'isdir': False, 'ctime': 1659540361.655, '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": 1659540361.655356, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "2c55cc8324e731161638aa365379c1c147546a87", "ctime": 1659540361.655, "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": "18446744072091883586", "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:26:03 +0000 (0:00:00.033) 0:00:00.517 ****** 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.004668", "end": "2022-08-03 11:26:03.151752", "rc": 0, "start": "2022-08-03 11:26:03.147084" } 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:26:03 +0000 (0:00:00.403) 0:00:00.920 ****** =============================================================================== Get stats of system files ----------------------------------------------- 0.47s /tmp/tmptjr_ga81/tests/network/_backup.yml:6 ---------------------------------- Back up system files ---------------------------------------------------- 0.40s /tmp/tmptjr_ga81/tests/network/_backup.yml:19 --------------------------------- Check if system files exist --------------------------------------------- 0.03s /tmp/tmptjr_ga81/tests/network/_backup.yml:13 --------------------------------- PLAYBOOK: tests_ethtool_coalesce_initscripts.yml ******************************* 2 plays in /tmp/tmptjr_ga81/tests/network/tests_ethtool_coalesce_initscripts.yml PLAY [Run playbook 'playbooks/tests_ethtool_coalesce.yml' with initscripts as provider] *** TASK [Gathering Facts] ********************************************************* task path: /tmp/tmptjr_ga81/tests/network/tests_ethtool_coalesce_initscripts.yml:4 Wednesday 03 August 2022 15:26:03 +0000 (0:00:00.069) 0:00:00.990 ****** ok: [/cache/rhel-6.qcow2.snap] META: ran handlers TASK [include_tasks] *********************************************************** task path: /tmp/tmptjr_ga81/tests/network/tests_ethtool_coalesce_initscripts.yml:7 Wednesday 03 August 2022 15:26:04 +0000 (0:00:00.922) 0:00:01.913 ****** 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:26:04 +0000 (0:00:00.028) 0:00:01.942 ****** 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:26:04 +0000 (0:00:00.022) 0:00:01.965 ****** 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:26:04 +0000 (0:00:00.032) 0:00:01.997 ****** 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:26:05 +0000 (0:00:00.021) 0:00:02.019 ****** 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:26:05 +0000 (0:00:00.021) 0:00:02.040 ****** 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:26:05 +0000 (0:00:00.021) 0:00:02.061 ****** 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_coalesce_initscripts.yml:8 Wednesday 03 August 2022 15:26:05 +0000 (0:00:00.631) 0:00:02.693 ****** 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_coalesce.yml:3 Wednesday 03 August 2022 15:26:05 +0000 (0:00:00.055) 0:00:02.748 ****** ok: [/cache/rhel-6.qcow2.snap] META: ran handlers TASK [Show playbook name] ****************************************************** task path: /tmp/tmptjr_ga81/tests/network/playbooks/tests_ethtool_coalesce.yml:8 Wednesday 03 August 2022 15:26:06 +0000 (0:00:00.688) 0:00:03.436 ****** ok: [/cache/rhel-6.qcow2.snap] => {} MSG: this is: playbooks/tests_ethtool_coalesce.yml TASK [INIT: Ethtool coalesce tests] ******************************************** task path: /tmp/tmptjr_ga81/tests/network/playbooks/tests_ethtool_coalesce.yml:14 Wednesday 03 August 2022 15:26:06 +0000 (0:00:00.046) 0:00:03.482 ****** ok: [/cache/rhel-6.qcow2.snap] => {} MSG: ################################################## TASK [include_tasks] *********************************************************** task path: /tmp/tmptjr_ga81/tests/network/playbooks/tests_ethtool_coalesce.yml:17 Wednesday 03 August 2022 15:26:06 +0000 (0:00:00.044) 0:00:03.527 ****** 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:26:06 +0000 (0:00:00.044) 0:00:03.571 ****** 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:26:06 +0000 (0:00:00.057) 0:00:03.629 ****** ok: [/cache/rhel-6.qcow2.snap] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003526", "end": "2022-08-03 11:26:06.149788", "rc": 0, "start": "2022-08-03 11:26:06.146262" } 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:26:06 +0000 (0:00:00.284) 0:00:03.913 ****** 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:26:06 +0000 (0:00:00.046) 0:00:03.959 ****** ok: [/cache/rhel-6.qcow2.snap] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [include_tasks] *********************************************************** task path: /tmp/tmptjr_ga81/tests/network/playbooks/tests_ethtool_coalesce.yml:18 Wednesday 03 August 2022 15:26:07 +0000 (0:00:00.091) 0:00:04.051 ****** 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:26:07 +0000 (0:00:00.051) 0:00:04.103 ****** 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:26:07 +0000 (0:00:00.065) 0:00:04.168 ****** 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:26:07 +0000 (0:00:00.036) 0:00:04.205 ****** 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:26:07 +0000 (0:00:00.047) 0:00:04.252 ****** 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:26:07 +0000 (0:00:00.046) 0:00:04.298 ****** ok: [/cache/rhel-6.qcow2.snap] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003503", "end": "2022-08-03 11:26:06.813843", "rc": 0, "start": "2022-08-03 11:26:06.810340" } 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:26:07 +0000 (0:00:00.282) 0:00:04.580 ****** 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:26:07 +0000 (0:00:00.046) 0:00:04.627 ****** 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:26:07 +0000 (0:00:00.046) 0:00:04.674 ****** 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:26:08 +0000 (0:00:00.702) 0:00:05.376 ****** 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.003611", "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:26:07.900306", "item": "ip link add testnic1 type veth peer name peertestnic1", "rc": 0, "start": "2022-08-03 11:26:07.896695" } 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.003535", "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:26:08.155607", "item": "ip link set peertestnic1 up", "rc": 0, "start": "2022-08-03 11:26:08.152072" } 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.004771", "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:26:08.408982", "item": "ip link set testnic1 up", "rc": 0, "start": "2022-08-03 11:26:08.404211" } 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:26:09 +0000 (0:00:00.802) 0:00:06.179 ****** 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:26:09 +0000 (0:00:00.288) 0:00:06.468 ****** 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:26:09 +0000 (0:00:00.037) 0:00:06.506 ****** 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:26:09 +0000 (0:00:00.035) 0:00:06.541 ****** 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:26:09 +0000 (0:00:00.034) 0:00:06.576 ****** 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:26:09 +0000 (0:00:00.034) 0:00:06.610 ****** 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_coalesce.yml:21 Wednesday 03 August 2022 15:26:09 +0000 (0:00:00.036) 0:00:06.646 ****** 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:26:09 +0000 (0:00:00.047) 0:00:06.694 ****** 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:26:09 +0000 (0:00:00.045) 0:00:06.740 ****** ok: [/cache/rhel-6.qcow2.snap] => { "changed": false, "stat": { "atime": 1659540367.93, "block_size": 4096, "blocks": 0, "ctime": 1659540367.913, "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": 1659540367.913, "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:26:10 +0000 (0:00:00.282) 0:00:07.022 ****** 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_coalesce.yml:22 Wednesday 03 August 2022 15:26:10 +0000 (0:00:00.047) 0:00:07.069 ****** 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 coalescing option.] ************* task path: /tmp/tmptjr_ga81/tests/network/playbooks/tests_ethtool_coalesce.yml:28 Wednesday 03 August 2022 15:26:10 +0000 (0:00:00.505) 0:00:07.575 ****** 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:26:10 +0000 (0:00:00.046) 0:00:07.621 ****** 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:26:10 +0000 (0:00:00.052) 0:00:07.674 ****** 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:26:11 +0000 (0:00:00.368) 0:00:08.042 ****** 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:26:12 +0000 (0:00:01.587) 0:00:09.630 ****** 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:26:13 +0000 (0:00:00.855) 0:00:10.485 ****** 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:26:13 +0000 (0:00:00.052) 0:00:10.538 ****** 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:26:13 +0000 (0:00:00.043) 0:00:10.581 ****** 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:26:13 +0000 (0:00:00.047) 0:00:10.628 ****** 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:26:13 +0000 (0:00:00.068) 0:00:10.697 ****** 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:26:13 +0000 (0:00:00.043) 0:00:10.740 ****** 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:26:13 +0000 (0:00:00.044) 0:00:10.785 ****** 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:26:13 +0000 (0:00:00.048) 0:00:10.833 ****** 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:26:13 +0000 (0:00:00.047) 0:00:10.880 ****** 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:26:13 +0000 (0:00:00.040) 0:00:10.921 ****** 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:26:14 +0000 (0:00:00.496) 0:00:11.418 ****** ok: [/cache/rhel-6.qcow2.snap] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-316640rcn4mynj/tmprcmke3h8" } 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:26:14 +0000 (0:00:00.302) 0:00:11.721 ****** 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:26:15 +0000 (0:00:00.713) 0:00:12.434 ****** 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:26:15 +0000 (0:00:00.047) 0:00:12.481 ****** 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:26:15 +0000 (0:00:00.056) 0:00:12.538 ****** 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:26:15 +0000 (0:00:00.055) 0:00:12.593 ****** 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:26:15 +0000 (0:00:00.045) 0:00:12.639 ****** ok: [/cache/rhel-6.qcow2.snap] => { "changed": false, "ping": "pong" } META: role_complete for /cache/rhel-6.qcow2.snap TASK [Get profile's coalescing options] **************************************** task path: /tmp/tmptjr_ga81/tests/network/playbooks/tests_ethtool_coalesce.yml:44 Wednesday 03 August 2022 15:26:16 +0000 (0:00:00.400) 0:00:13.039 ****** skipping: [/cache/rhel-6.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [ASSERT: The profile does not contain coalescing options] ***************** task path: /tmp/tmptjr_ga81/tests/network/playbooks/tests_ethtool_coalesce.yml:49 Wednesday 03 August 2022 15:26:16 +0000 (0:00:00.040) 0:00:13.080 ****** skipping: [/cache/rhel-6.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get profile's coalescing options] **************************************** task path: /tmp/tmptjr_ga81/tests/network/playbooks/tests_ethtool_coalesce.yml:54 Wednesday 03 August 2022 15:26:16 +0000 (0:00:00.039) 0:00:13.120 ****** fatal: [/cache/rhel-6.qcow2.snap]: FAILED! => { "changed": true, "cmd": [ "grep", "ETHTOOL", "/etc/sysconfig/network-scripts/ifcfg-testnic1" ], "delta": "0:00:00.004307", "end": "2022-08-03 11:26:15.643456", "rc": 1, "start": "2022-08-03 11:26:15.639149" } MSG: non-zero return code ...ignoring TASK [ASSERT: The profile does not contain coalescing options] ***************** task path: /tmp/tmptjr_ga81/tests/network/playbooks/tests_ethtool_coalesce.yml:60 Wednesday 03 August 2022 15:26:16 +0000 (0:00:00.301) 0:00:13.421 ****** ok: [/cache/rhel-6.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [TEST: I can set rx-frames.] ********************************************** task path: /tmp/tmptjr_ga81/tests/network/playbooks/tests_ethtool_coalesce.yml:66 Wednesday 03 August 2022 15:26:16 +0000 (0:00:00.056) 0:00:13.478 ****** 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:26:16 +0000 (0:00:00.053) 0:00:13.531 ****** 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:26:16 +0000 (0:00:00.066) 0:00:13.597 ****** 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:26:16 +0000 (0:00:00.389) 0:00:13.987 ****** 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:26:18 +0000 (0:00:01.367) 0:00:15.354 ****** 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:26:18 +0000 (0:00:00.568) 0:00:15.923 ****** 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:26:18 +0000 (0:00:00.052) 0:00:15.976 ****** 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:26:19 +0000 (0:00:00.043) 0:00:16.020 ****** 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:26:19 +0000 (0:00:00.043) 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:26:19 +0000 (0:00:00.067) 0:00:16.130 ****** 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:26:19 +0000 (0:00:00.046) 0:00:16.177 ****** 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:26:19 +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:26:19 +0000 (0:00:00.051) 0:00:16.272 ****** 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:26:19 +0000 (0:00:00.045) 0:00:16.317 ****** 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:26:19 +0000 (0:00:00.070) 0:00:16.388 ****** 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:26:19 +0000 (0:00:00.351) 0:00:16.740 ****** ok: [/cache/rhel-6.qcow2.snap] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-316640rcn4mynj/tmp4y_7fmz8" } 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:26:20 +0000 (0:00:00.307) 0:00:17.047 ****** changed: [/cache/rhel-6.qcow2.snap] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "ethtool": { "coalesce": { "rx_frames": 128 } }, "ip": { "auto6": false, "dhcp4": false }, "name": "testnic1", "state": "up", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [003] #0, state:up persistent_state:present, 'testnic1': update ifcfg-rh profile 'testnic1' [004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1 (is-modified) [005] #0, state:up persistent_state:present, 'testnic1': call 'ifup testnic1': rc=0, out='', err='Cannot get device coalesce settings: Operation not supported ' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/tmpk7x13fer/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:118 Wednesday 03 August 2022 15:26:20 +0000 (0:00:00.451) 0:00:17.499 ****** 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:26:20 +0000 (0:00:00.046) 0:00:17.546 ****** 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 coalesce 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:26:20 +0000 (0:00:00.054) 0:00:17.601 ****** ok: [/cache/rhel-6.qcow2.snap] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "ethtool": { "coalesce": { "rx_frames": 128 } }, "ip": { "auto6": false, "dhcp4": false }, "name": "testnic1", "state": "up", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "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 coalesce settings: Operation not supported\n'\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'testnic1': update ifcfg-rh profile 'testnic1'", "[004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1 (is-modified)", "[005] #0, state:up persistent_state:present, 'testnic1': call 'ifup testnic1': rc=0, out='', err='Cannot get device coalesce settings: Operation not supported", "'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/tmpk7x13fer/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Wednesday 03 August 2022 15:26:20 +0000 (0:00:00.063) 0:00:17.664 ****** 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:26:20 +0000 (0:00:00.052) 0:00:17.716 ****** ok: [/cache/rhel-6.qcow2.snap] => { "changed": false, "ping": "pong" } META: role_complete for /cache/rhel-6.qcow2.snap TASK [Get profile's coalescing options] **************************************** task path: /tmp/tmptjr_ga81/tests/network/playbooks/tests_ethtool_coalesce.yml:84 Wednesday 03 August 2022 15:26:21 +0000 (0:00:00.303) 0:00:18.020 ****** skipping: [/cache/rhel-6.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert coalesce options set in profile] ********************************** task path: /tmp/tmptjr_ga81/tests/network/playbooks/tests_ethtool_coalesce.yml:89 Wednesday 03 August 2022 15:26:21 +0000 (0:00:00.043) 0:00:18.063 ****** skipping: [/cache/rhel-6.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get profile's coalescing options] **************************************** task path: /tmp/tmptjr_ga81/tests/network/playbooks/tests_ethtool_coalesce.yml:95 Wednesday 03 August 2022 15:26:21 +0000 (0:00:00.045) 0:00:18.109 ****** changed: [/cache/rhel-6.qcow2.snap] => { "changed": true, "cmd": [ "grep", "ETHTOOL", "/etc/sysconfig/network-scripts/ifcfg-testnic1" ], "delta": "0:00:00.003370", "end": "2022-08-03 11:26:20.632353", "rc": 0, "start": "2022-08-03 11:26:20.628983" } STDOUT: ETHTOOL_OPTS="-C testnic1 rx-frames 128" TASK [Assert coalesce options set in profile] ********************************** task path: /tmp/tmptjr_ga81/tests/network/playbooks/tests_ethtool_coalesce.yml:101 Wednesday 03 August 2022 15:26:21 +0000 (0:00:00.296) 0:00:18.406 ****** ok: [/cache/rhel-6.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [TEST: I can clear coalescing options] ************************************ task path: /tmp/tmptjr_ga81/tests/network/playbooks/tests_ethtool_coalesce.yml:107 Wednesday 03 August 2022 15:26:21 +0000 (0:00:00.130) 0:00:18.536 ****** 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:26:21 +0000 (0:00:00.051) 0:00:18.588 ****** 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:26:21 +0000 (0:00:00.071) 0:00:18.660 ****** 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:26:22 +0000 (0:00:00.372) 0:00:19.032 ****** 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:26:23 +0000 (0:00:01.402) 0:00:20.434 ****** 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:26:24 +0000 (0:00:00.596) 0:00:21.031 ****** 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:26:24 +0000 (0:00:00.053) 0:00:21.084 ****** 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:26:24 +0000 (0:00:00.047) 0:00:21.132 ****** 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:26:24 +0000 (0:00:00.045) 0:00:21.177 ****** 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:26:24 +0000 (0:00:00.068) 0:00:21.245 ****** 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:26:24 +0000 (0:00:00.044) 0:00:21.290 ****** 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:26:24 +0000 (0:00:00.043) 0:00:21.334 ****** 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:26:24 +0000 (0:00:00.047) 0:00:21.381 ****** 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:26:24 +0000 (0:00:00.048) 0:00:21.429 ****** 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:26:24 +0000 (0:00:00.043) 0:00:21.473 ****** 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:26:24 +0000 (0:00:00.348) 0:00:21.821 ****** ok: [/cache/rhel-6.qcow2.snap] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-316640rcn4mynj/tmpzczu4px6" } 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:26:25 +0000 (0:00:00.307) 0:00:22.129 ****** 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:26:25 +0000 (0:00:00.450) 0:00:22.579 ****** 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:26:25 +0000 (0:00:00.045) 0:00:22.625 ****** 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:26:25 +0000 (0:00:00.056) 0:00:22.681 ****** 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:26:25 +0000 (0:00:00.061) 0:00:22.742 ****** 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:26:25 +0000 (0:00:00.080) 0:00:22.823 ****** ok: [/cache/rhel-6.qcow2.snap] => { "changed": false, "ping": "pong" } META: role_complete for /cache/rhel-6.qcow2.snap TASK [Get profile's coalescing options] **************************************** task path: /tmp/tmptjr_ga81/tests/network/playbooks/tests_ethtool_coalesce.yml:122 Wednesday 03 August 2022 15:26:26 +0000 (0:00:00.313) 0:00:23.136 ****** skipping: [/cache/rhel-6.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [ASSERT: The profile does reset coalescing options] *********************** task path: /tmp/tmptjr_ga81/tests/network/playbooks/tests_ethtool_coalesce.yml:127 Wednesday 03 August 2022 15:26:26 +0000 (0:00:00.042) 0:00:23.179 ****** skipping: [/cache/rhel-6.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get profile's coalescing options] **************************************** task path: /tmp/tmptjr_ga81/tests/network/playbooks/tests_ethtool_coalesce.yml:132 Wednesday 03 August 2022 15:26:26 +0000 (0:00:00.041) 0:00:23.220 ****** fatal: [/cache/rhel-6.qcow2.snap]: FAILED! => { "changed": true, "cmd": [ "grep", "ETHTOOL", "/etc/sysconfig/network-scripts/ifcfg-testnic1" ], "delta": "0:00:00.003384", "end": "2022-08-03 11:26:25.748000", "rc": 1, "start": "2022-08-03 11:26:25.744616" } MSG: non-zero return code ...ignoring TASK [ASSERT: The profile does reset coalescing options] *********************** task path: /tmp/tmptjr_ga81/tests/network/playbooks/tests_ethtool_coalesce.yml:138 Wednesday 03 August 2022 15:26:26 +0000 (0:00:00.299) 0:00:23.519 ****** 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:26:26 +0000 (0:00:00.055) 0:00:23.575 ****** 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:26:26 +0000 (0:00:00.068) 0:00:23.644 ****** 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:26:27 +0000 (0:00:00.391) 0:00:24.035 ****** 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:26:28 +0000 (0:00:01.343) 0:00:25.379 ****** 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:26:28 +0000 (0:00:00.576) 0:00:25.955 ****** 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:26:29 +0000 (0:00:00.056) 0:00:26.011 ****** 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:26:29 +0000 (0:00:00.044) 0:00:26.056 ****** 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:26:29 +0000 (0:00:00.047) 0:00:26.104 ****** 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:26:29 +0000 (0:00:00.067) 0:00:26.171 ****** 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:26:29 +0000 (0:00:00.047) 0:00:26.218 ****** 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:26:29 +0000 (0:00:00.044) 0:00:26.263 ****** 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:26:29 +0000 (0:00:00.050) 0:00:26.314 ****** 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:26:29 +0000 (0:00:00.044) 0:00:26.358 ****** 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:26:29 +0000 (0:00:00.046) 0:00:26.404 ****** 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:26:29 +0000 (0:00:00.349) 0:00:26.754 ****** ok: [/cache/rhel-6.qcow2.snap] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-316640rcn4mynj/tmp9solqsjc" } 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:26:30 +0000 (0:00:00.339) 0:00:27.094 ****** 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:26:30 +0000 (0:00:00.379) 0:00:27.473 ****** 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:26:30 +0000 (0:00:00.046) 0:00:27.520 ****** 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:26:30 +0000 (0:00:00.054) 0:00:27.575 ****** 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:26:30 +0000 (0:00:00.055) 0:00:27.631 ****** 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:26:30 +0000 (0:00:00.046) 0:00:27.677 ****** 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_coalesce.yml:154 Wednesday 03 August 2022 15:26:30 +0000 (0:00:00.309) 0:00:27.986 ****** 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:26:31 +0000 (0:00:00.064) 0:00:28.050 ****** 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:26:31 +0000 (0:00:00.048) 0:00:28.099 ****** 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:26:31 +0000 (0:00:00.049) 0:00:28.148 ****** 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:26:31 +0000 (0:00:00.059) 0:00:28.208 ****** 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:26:31 +0000 (0:00:00.057) 0:00:28.266 ****** ok: [/cache/rhel-6.qcow2.snap] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003508", "end": "2022-08-03 11:26:30.791515", "rc": 0, "start": "2022-08-03 11:26:30.788007" } 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:26:31 +0000 (0:00:00.298) 0:00:28.564 ****** 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:26:31 +0000 (0:00:00.090) 0:00:28.655 ****** 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:26:31 +0000 (0:00:00.087) 0:00:28.742 ****** 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:26:32 +0000 (0:00:00.515) 0:00:29.258 ****** 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:26:32 +0000 (0:00:00.058) 0:00:29.317 ****** 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:26:32 +0000 (0:00:00.042) 0:00:29.359 ****** changed: [/cache/rhel-6.qcow2.snap] => { "changed": true, "cmd": [ "ip", "link", "del", "testnic1", "type", "veth" ], "delta": "0:00:00.060494", "end": "2022-08-03 11:26:31.931281", "rc": 0, "start": "2022-08-03 11:26:31.870787" } TASK [Create dummy interface testnic1] ***************************************** task path: /tmp/tmptjr_ga81/tests/network/playbooks/tasks/manage_test_interface.yml:40 Wednesday 03 August 2022 15:26:32 +0000 (0:00:00.346) 0:00:29.706 ****** 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:26:32 +0000 (0:00:00.044) 0:00:29.750 ****** 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:26:32 +0000 (0:00:00.045) 0:00:29.796 ****** 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:26:32 +0000 (0:00:00.045) 0:00:29.841 ****** 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=65 rescued=0 ignored=3 Wednesday 03 August 2022 15:26:32 +0000 (0:00:00.062) 0:00:29.904 ****** =============================================================================== fedora.linux_system_roles.network : Check which services are running ---- 1.59s /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.40s /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.34s /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.16s /tmp/tmpk7x13fer/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 Gathering Facts --------------------------------------------------------- 0.92s /tmp/tmptjr_ga81/tests/network/tests_ethtool_coalesce_initscripts.yml:4 ------- fedora.linux_system_roles.network : Check which packages are installed --- 0.86s /tmp/tmpk7x13fer/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 fedora.linux_system_roles.network : Enable network service -------------- 0.85s /tmp/tmpk7x13fer/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:89 Create veth interface testnic1 ------------------------------------------ 0.80s /tmp/tmptjr_ga81/tests/network/playbooks/tasks/manage_test_interface.yml:21 --- fedora.linux_system_roles.network : Re-test connectivity ---------------- 0.71s /tmp/tmpk7x13fer/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Install iproute --------------------------------------------------------- 0.70s /tmp/tmptjr_ga81/tests/network/playbooks/tasks/manage_test_interface.yml:15 --- Gathering Facts --------------------------------------------------------- 0.69s /tmp/tmptjr_ga81/tests/network/playbooks/tests_ethtool_coalesce.yml:3 --------- Enable EPEL 6 ----------------------------------------------------------- 0.63s /tmp/tmptjr_ga81/tests/network/tasks/enable_epel.yml:26 ----------------------- fedora.linux_system_roles.network : Ensure initscripts network file dependency is present --- 0.61s /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.60s /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.58s /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.57s /tmp/tmpk7x13fer/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 Install iproute --------------------------------------------------------- 0.52s /tmp/tmptjr_ga81/tests/network/playbooks/tasks/manage_test_interface.yml:15 --- Install ethtool (test dependency) --------------------------------------- 0.51s /tmp/tmptjr_ga81/tests/network/playbooks/tests_ethtool_coalesce.yml:22 -------- Get stats of system files ----------------------------------------------- 0.47s /tmp/tmptjr_ga81/tests/network/_backup.yml:6 ---------------------------------- 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:26:32 +0000 (0:00:00.037) 0:00:29.941 ****** changed: [/cache/rhel-6.qcow2.snap] => { "changed": true, "cmd": "(cd /; tar -xf /tmp/network.backup.tar)", "delta": "0:00:00.005193", "end": "2022-08-03 11:26:32.456082", "rc": 0, "start": "2022-08-03 11:26:32.450889" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/rhel-6.qcow2.snap : ok=92 changed=11 unreachable=0 failed=0 skipped=65 rescued=0 ignored=3 Wednesday 03 August 2022 15:26:33 +0000 (0:00:00.304) 0:00:30.246 ****** =============================================================================== fedora.linux_system_roles.network : Check which services are running ---- 1.59s /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.40s /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.34s /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.16s /tmp/tmpk7x13fer/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 Gathering Facts --------------------------------------------------------- 0.92s /tmp/tmptjr_ga81/tests/network/tests_ethtool_coalesce_initscripts.yml:4 ------- fedora.linux_system_roles.network : Check which packages are installed --- 0.86s /tmp/tmpk7x13fer/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 fedora.linux_system_roles.network : Enable network service -------------- 0.85s /tmp/tmpk7x13fer/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:89 Create veth interface testnic1 ------------------------------------------ 0.80s /tmp/tmptjr_ga81/tests/network/playbooks/tasks/manage_test_interface.yml:21 --- fedora.linux_system_roles.network : Re-test connectivity ---------------- 0.71s /tmp/tmpk7x13fer/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Install iproute --------------------------------------------------------- 0.70s /tmp/tmptjr_ga81/tests/network/playbooks/tasks/manage_test_interface.yml:15 --- Gathering Facts --------------------------------------------------------- 0.69s /tmp/tmptjr_ga81/tests/network/playbooks/tests_ethtool_coalesce.yml:3 --------- Enable EPEL 6 ----------------------------------------------------------- 0.63s /tmp/tmptjr_ga81/tests/network/tasks/enable_epel.yml:26 ----------------------- fedora.linux_system_roles.network : Ensure initscripts network file dependency is present --- 0.61s /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.60s /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.58s /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.57s /tmp/tmpk7x13fer/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 Install iproute --------------------------------------------------------- 0.52s /tmp/tmptjr_ga81/tests/network/playbooks/tasks/manage_test_interface.yml:15 --- Install ethtool (test dependency) --------------------------------------- 0.51s /tmp/tmptjr_ga81/tests/network/playbooks/tests_ethtool_coalesce.yml:22 -------- Get stats of system files ----------------------------------------------- 0.47s /tmp/tmptjr_ga81/tests/network/_backup.yml:6 ----------------------------------