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/tmpb95mhbnh 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/tmp2w2t0usz/tests/_backup.yml PLAY [all] ********************************************************************* META: ran handlers TASK [Get stats of system files] *********************************************** task path: /tmp/tmp2w2t0usz/tests/_backup.yml:6 Wednesday 03 August 2022 16:51:42 +0000 (0:00:00.020) 0:00:00.020 ****** ok: [/cache/centos-6.qcow2c.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, Jun 20 2019, 14:14:55) [GCC 4.4.7 20120313 (Red Hat 4.4.7-23)]", "version": "2.13" } ], "item": "/etc/resolv.conf", "stat": { "atime": 1659545500.2034314, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "2c55cc8324e731161638aa365379c1c147546a87", "ctime": 1659545500.203, "dev": 64513, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 25, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1659545178.0, "nlink": 1, "path": "/etc/resolv.conf", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 57, "uid": 0, "version": "1928926507", "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, Jun 20 2019, 14:14:55) [GCC 4.4.7 20120313 (Red Hat 4.4.7-23)]. 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/tmp2w2t0usz/tests/_backup.yml:13 Wednesday 03 August 2022 16:51:42 +0000 (0:00:00.472) 0:00:00.492 ****** [WARNING]: conditional statements should not include jinja2 templating delimiters such as {{ }} or {% %}. Found: {{ item.stat.exists }} ok: [/cache/centos-6.qcow2c.snap] => (item={'invocation': {'module_args': {'checksum_algorithm': 'sha1', 'get_checksum': True, 'follow': False, 'path': '/etc/resolv.conf', 'get_md5': False, 'get_mime': True, 'get_attributes': True}}, 'stat': {'charset': 'us-ascii', 'uid': 0, 'exists': True, 'attr_flags': 'e', 'woth': False, 'isreg': True, 'device_type': 0, 'mtime': 1659545178.0, 'block_size': 4096, 'inode': 25, 'isgid': False, 'size': 57, 'executable': False, 'isuid': False, 'readable': True, 'version': '1928926507', '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': 1659545500.2034314, 'isdir': False, 'ctime': 1659545500.203, '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": 1659545500.2034314, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "2c55cc8324e731161638aa365379c1c147546a87", "ctime": 1659545500.203, "dev": 64513, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 25, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1659545178.0, "nlink": 1, "path": "/etc/resolv.conf", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 57, "uid": 0, "version": "1928926507", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } } TASK [Back up system files] **************************************************** task path: /tmp/tmp2w2t0usz/tests/_backup.yml:19 Wednesday 03 August 2022 16:51:42 +0000 (0:00:00.036) 0:00:00.528 ****** changed: [/cache/centos-6.qcow2c.snap] => { "changed": true, "cmd": [ "tar", "-cf", "/tmp/network.backup.tar", "--same-owner", "--same-permissions", "/etc/resolv.conf" ], "delta": "0:00:00.005103", "end": "2022-08-03 16:51:41.746088", "rc": 0, "start": "2022-08-03 16:51:41.740985" } STDERR: tar: Removing leading `/' from member names META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/centos-6.qcow2c.snap : ok=3 changed=1 unreachable=0 failed=0 skipped=0 rescued=0 ignored=0 Wednesday 03 August 2022 16:51:42 +0000 (0:00:00.410) 0:00:00.939 ****** =============================================================================== Get stats of system files ----------------------------------------------- 0.47s /tmp/tmp2w2t0usz/tests/_backup.yml:6 ------------------------------------------ Back up system files ---------------------------------------------------- 0.41s /tmp/tmp2w2t0usz/tests/_backup.yml:19 ----------------------------------------- Check if system files exist --------------------------------------------- 0.04s /tmp/tmp2w2t0usz/tests/_backup.yml:13 ----------------------------------------- PLAYBOOK: tests_ethtool_ring_initscripts.yml *********************************** 2 plays in /tmp/tmp2w2t0usz/tests/tests_ethtool_ring_initscripts.yml PLAY [Run playbook 'playbooks/tests_ethtool_ring.yml' with initscripts as provider] *** TASK [Gathering Facts] ********************************************************* task path: /tmp/tmp2w2t0usz/tests/tests_ethtool_ring_initscripts.yml:4 Wednesday 03 August 2022 16:51:42 +0000 (0:00:00.055) 0:00:00.994 ****** ok: [/cache/centos-6.qcow2c.snap] META: ran handlers TASK [include_tasks] *********************************************************** task path: /tmp/tmp2w2t0usz/tests/tests_ethtool_ring_initscripts.yml:7 Wednesday 03 August 2022 16:51:43 +0000 (0:00:00.985) 0:00:01.980 ****** included: /tmp/tmp2w2t0usz/tests/tasks/el_repo_setup.yml for /cache/centos-6.qcow2c.snap TASK [Fix CentOS6 Base repo] *************************************************** task path: /tmp/tmp2w2t0usz/tests/tasks/el_repo_setup.yml:2 Wednesday 03 August 2022 16:51:44 +0000 (0:00:00.028) 0:00:02.009 ****** ok: [/cache/centos-6.qcow2c.snap] => { "changed": false, "checksum": "b0aa488e4736bbd208461d247c4869d2ba0c95cd", "dest": "/etc/yum.repos.d/CentOS-Base.repo", "gid": 0, "group": "root", "mode": "0644", "owner": "root", "path": "/etc/yum.repos.d/CentOS-Base.repo", "secontext": "system_u:object_r:etc_t:s0", "size": 480, "state": "file", "uid": 0 } TASK [include_tasks] *********************************************************** task path: /tmp/tmp2w2t0usz/tests/tasks/el_repo_setup.yml:27 Wednesday 03 August 2022 16:51:44 +0000 (0:00:00.678) 0:00:02.687 ****** included: /tmp/tmp2w2t0usz/tests/tasks/enable_epel.yml for /cache/centos-6.qcow2c.snap TASK [Create EPEL 6] *********************************************************** task path: /tmp/tmp2w2t0usz/tests/tasks/enable_epel.yml:4 Wednesday 03 August 2022 16:51:44 +0000 (0:00:00.033) 0:00:02.720 ****** skipping: [/cache/centos-6.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /tmp/tmp2w2t0usz/tests/tasks/enable_epel.yml:11 Wednesday 03 August 2022 16:51:44 +0000 (0:00:00.023) 0:00:02.743 ****** skipping: [/cache/centos-6.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /tmp/tmp2w2t0usz/tests/tasks/enable_epel.yml:17 Wednesday 03 August 2022 16:51:44 +0000 (0:00:00.022) 0:00:02.766 ****** skipping: [/cache/centos-6.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /tmp/tmp2w2t0usz/tests/tasks/enable_epel.yml:26 Wednesday 03 August 2022 16:51:44 +0000 (0:00:00.023) 0:00:02.790 ****** ok: [/cache/centos-6.qcow2c.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/tmp2w2t0usz/tests/tests_ethtool_ring_initscripts.yml:8 Wednesday 03 August 2022 16:51:45 +0000 (0:00:00.540) 0:00:03.330 ****** ok: [/cache/centos-6.qcow2c.snap] => { "ansible_facts": { "network_provider": "initscripts" }, "changed": false } META: ran handlers META: ran handlers PLAY [all] ********************************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmp2w2t0usz/tests/playbooks/tests_ethtool_ring.yml:3 Wednesday 03 August 2022 16:51:45 +0000 (0:00:00.053) 0:00:03.384 ****** ok: [/cache/centos-6.qcow2c.snap] META: ran handlers TASK [Show playbook name] ****************************************************** task path: /tmp/tmp2w2t0usz/tests/playbooks/tests_ethtool_ring.yml:8 Wednesday 03 August 2022 16:51:46 +0000 (0:00:00.720) 0:00:04.105 ****** ok: [/cache/centos-6.qcow2c.snap] => {} MSG: this is: playbooks/tests_ethtool_ring.yml TASK [INIT: Ethtool ring tests] ************************************************ task path: /tmp/tmp2w2t0usz/tests/playbooks/tests_ethtool_ring.yml:14 Wednesday 03 August 2022 16:51:46 +0000 (0:00:00.046) 0:00:04.151 ****** ok: [/cache/centos-6.qcow2c.snap] => {} MSG: ################################################## TASK [include_tasks] *********************************************************** task path: /tmp/tmp2w2t0usz/tests/playbooks/tests_ethtool_ring.yml:17 Wednesday 03 August 2022 16:51:46 +0000 (0:00:00.046) 0:00:04.198 ****** included: /tmp/tmp2w2t0usz/tests/playbooks/tasks/show_interfaces.yml for /cache/centos-6.qcow2c.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmp2w2t0usz/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 03 August 2022 16:51:46 +0000 (0:00:00.046) 0:00:04.245 ****** included: /tmp/tmp2w2t0usz/tests/playbooks/tasks/get_current_interfaces.yml for /cache/centos-6.qcow2c.snap TASK [Gather current interface info] ******************************************* task path: /tmp/tmp2w2t0usz/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 03 August 2022 16:51:46 +0000 (0:00:00.047) 0:00:04.293 ****** ok: [/cache/centos-6.qcow2c.snap] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.004069", "end": "2022-08-03 16:51:45.399189", "rc": 0, "start": "2022-08-03 16:51:45.395120" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/tmp2w2t0usz/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 03 August 2022 16:51:46 +0000 (0:00:00.296) 0:00:04.589 ****** ok: [/cache/centos-6.qcow2c.snap] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/tmp2w2t0usz/tests/playbooks/tasks/show_interfaces.yml:4 Wednesday 03 August 2022 16:51:46 +0000 (0:00:00.046) 0:00:04.636 ****** ok: [/cache/centos-6.qcow2c.snap] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [include_tasks] *********************************************************** task path: /tmp/tmp2w2t0usz/tests/playbooks/tests_ethtool_ring.yml:18 Wednesday 03 August 2022 16:51:46 +0000 (0:00:00.092) 0:00:04.728 ****** included: /tmp/tmp2w2t0usz/tests/playbooks/tasks/manage_test_interface.yml for /cache/centos-6.qcow2c.snap TASK [Ensure state in ["present", "absent"]] *********************************** task path: /tmp/tmp2w2t0usz/tests/playbooks/tasks/manage_test_interface.yml:3 Wednesday 03 August 2022 16:51:46 +0000 (0:00:00.051) 0:00:04.779 ****** skipping: [/cache/centos-6.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /tmp/tmp2w2t0usz/tests/playbooks/tasks/manage_test_interface.yml:8 Wednesday 03 August 2022 16:51:46 +0000 (0:00:00.035) 0:00:04.815 ****** skipping: [/cache/centos-6.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [include_tasks] *********************************************************** task path: /tmp/tmp2w2t0usz/tests/playbooks/tasks/manage_test_interface.yml:13 Wednesday 03 August 2022 16:51:46 +0000 (0:00:00.032) 0:00:04.848 ****** included: /tmp/tmp2w2t0usz/tests/playbooks/tasks/show_interfaces.yml for /cache/centos-6.qcow2c.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmp2w2t0usz/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 03 August 2022 16:51:46 +0000 (0:00:00.046) 0:00:04.894 ****** included: /tmp/tmp2w2t0usz/tests/playbooks/tasks/get_current_interfaces.yml for /cache/centos-6.qcow2c.snap TASK [Gather current interface info] ******************************************* task path: /tmp/tmp2w2t0usz/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 03 August 2022 16:51:46 +0000 (0:00:00.088) 0:00:04.983 ****** ok: [/cache/centos-6.qcow2c.snap] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.004124", "end": "2022-08-03 16:51:46.095693", "rc": 0, "start": "2022-08-03 16:51:46.091569" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/tmp2w2t0usz/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 03 August 2022 16:51:47 +0000 (0:00:00.302) 0:00:05.286 ****** ok: [/cache/centos-6.qcow2c.snap] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/tmp2w2t0usz/tests/playbooks/tasks/show_interfaces.yml:4 Wednesday 03 August 2022 16:51:47 +0000 (0:00:00.046) 0:00:05.332 ****** ok: [/cache/centos-6.qcow2c.snap] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /tmp/tmp2w2t0usz/tests/playbooks/tasks/manage_test_interface.yml:15 Wednesday 03 August 2022 16:51:47 +0000 (0:00:00.048) 0:00:05.381 ****** ok: [/cache/centos-6.qcow2c.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/tmp2w2t0usz/tests/playbooks/tasks/manage_test_interface.yml:21 Wednesday 03 August 2022 16:51:48 +0000 (0:00:00.670) 0:00:06.051 ****** changed: [/cache/centos-6.qcow2c.snap] => (item=ip link add testnic1 type veth peer name peertestnic1) => { "ansible_loop_var": "item", "changed": true, "cmd": [ "ip", "link", "add", "testnic1", "type", "veth", "peer", "name", "peertestnic1" ], "delta": "0:00:00.004060", "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, Jun 20 2019, 14:14:55) [GCC 4.4.7 20120313 (Red Hat 4.4.7-23)]", "version": "2.13" } ], "end": "2022-08-03 16:51:47.167977", "item": "ip link add testnic1 type veth peer name peertestnic1", "rc": 0, "start": "2022-08-03 16:51:47.163917" } changed: [/cache/centos-6.qcow2c.snap] => (item=ip link set peertestnic1 up) => { "ansible_loop_var": "item", "changed": true, "cmd": [ "ip", "link", "set", "peertestnic1", "up" ], "delta": "0:00:00.005168", "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, Jun 20 2019, 14:14:55) [GCC 4.4.7 20120313 (Red Hat 4.4.7-23)]", "version": "2.13" } ], "end": "2022-08-03 16:51:47.429135", "item": "ip link set peertestnic1 up", "rc": 0, "start": "2022-08-03 16:51:47.423967" } changed: [/cache/centos-6.qcow2c.snap] => (item=ip link set testnic1 up) => { "ansible_loop_var": "item", "changed": true, "cmd": [ "ip", "link", "set", "testnic1", "up" ], "delta": "0:00:00.003870", "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, Jun 20 2019, 14:14:55) [GCC 4.4.7 20120313 (Red Hat 4.4.7-23)]", "version": "2.13" } ], "end": "2022-08-03 16:51:47.689853", "item": "ip link set testnic1 up", "rc": 0, "start": "2022-08-03 16:51:47.685983" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /tmp/tmp2w2t0usz/tests/playbooks/tasks/manage_test_interface.yml:29 Wednesday 03 August 2022 16:51:48 +0000 (0:00:00.829) 0:00:06.881 ****** fatal: [/cache/centos-6.qcow2c.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/tmp2w2t0usz/tests/playbooks/tasks/manage_test_interface.yml:36 Wednesday 03 August 2022 16:51:49 +0000 (0:00:00.307) 0:00:07.188 ****** skipping: [/cache/centos-6.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create dummy interface testnic1] ***************************************** task path: /tmp/tmp2w2t0usz/tests/playbooks/tasks/manage_test_interface.yml:42 Wednesday 03 August 2022 16:51:49 +0000 (0:00:00.036) 0:00:07.224 ****** skipping: [/cache/centos-6.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface testnic1] ***************************************** task path: /tmp/tmp2w2t0usz/tests/playbooks/tasks/manage_test_interface.yml:47 Wednesday 03 August 2022 16:51:49 +0000 (0:00:00.036) 0:00:07.261 ****** skipping: [/cache/centos-6.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface testnic1] ******************************************* task path: /tmp/tmp2w2t0usz/tests/playbooks/tasks/manage_test_interface.yml:53 Wednesday 03 August 2022 16:51:49 +0000 (0:00:00.037) 0:00:07.298 ****** skipping: [/cache/centos-6.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface testnic1] ******************************************* task path: /tmp/tmp2w2t0usz/tests/playbooks/tasks/manage_test_interface.yml:58 Wednesday 03 August 2022 16:51:49 +0000 (0:00:00.036) 0:00:07.335 ****** skipping: [/cache/centos-6.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [include_tasks] *********************************************************** task path: /tmp/tmp2w2t0usz/tests/playbooks/tests_ethtool_ring.yml:21 Wednesday 03 August 2022 16:51:49 +0000 (0:00:00.036) 0:00:07.371 ****** included: /tmp/tmp2w2t0usz/tests/playbooks/tasks/assert_device_present.yml for /cache/centos-6.qcow2c.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmp2w2t0usz/tests/playbooks/tasks/assert_device_present.yml:3 Wednesday 03 August 2022 16:51:49 +0000 (0:00:00.049) 0:00:07.420 ****** included: /tmp/tmp2w2t0usz/tests/playbooks/tasks/get_interface_stat.yml for /cache/centos-6.qcow2c.snap TASK [Get stat for interface testnic1] ***************************************** task path: /tmp/tmp2w2t0usz/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 03 August 2022 16:51:49 +0000 (0:00:00.050) 0:00:07.471 ****** ok: [/cache/centos-6.qcow2c.snap] => { "changed": false, "stat": { "atime": 1659545507.2779999, "block_size": 4096, "blocks": 0, "ctime": 1659545507.268, "dev": 0, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 7950, "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": 1659545507.268, "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/tmp2w2t0usz/tests/playbooks/tasks/assert_device_present.yml:4 Wednesday 03 August 2022 16:51:49 +0000 (0:00:00.298) 0:00:07.769 ****** ok: [/cache/centos-6.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [Install ethtool (test dependency)] *************************************** task path: /tmp/tmp2w2t0usz/tests/playbooks/tests_ethtool_ring.yml:22 Wednesday 03 August 2022 16:51:49 +0000 (0:00:00.049) 0:00:07.818 ****** ok: [/cache/centos-6.qcow2c.snap] => { "changed": false, "rc": 0, "results": [ "2:ethtool-3.5-6.el6.x86_64 providing ethtool is already installed" ] } TASK [TEST: I can create a profile without any ring option.] ******************* task path: /tmp/tmp2w2t0usz/tests/playbooks/tests_ethtool_ring.yml:28 Wednesday 03 August 2022 16:51:50 +0000 (0:00:00.494) 0:00:08.313 ****** ok: [/cache/centos-6.qcow2c.snap] => {} MSG: ################################################## TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /tmp/tmp2w2t0usz/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 03 August 2022 16:51:50 +0000 (0:00:00.044) 0:00:08.357 ****** included: /tmp/tmp2w2t0usz/tests/roles/linux-system-roles.network/tasks/set_facts.yml for /cache/centos-6.qcow2c.snap TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/tmp2w2t0usz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 03 August 2022 16:51:50 +0000 (0:00:00.049) 0:00:08.407 ****** ok: [/cache/centos-6.qcow2c.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which services are running] *********** task path: /tmp/tmp2w2t0usz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 Wednesday 03 August 2022 16:51:50 +0000 (0:00:00.395) 0:00:08.803 ****** ok: [/cache/centos-6.qcow2c.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /tmp/tmp2w2t0usz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 Wednesday 03 August 2022 16:51:51 +0000 (0:00:01.168) 0:00:09.971 ****** ok: [/cache/centos-6.qcow2c.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /tmp/tmp2w2t0usz/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 03 August 2022 16:51:52 +0000 (0:00:00.891) 0:00:10.863 ****** ok: [/cache/centos-6.qcow2c.snap] => {} MSG: Using network provider: initscripts TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/tmp2w2t0usz/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 03 August 2022 16:51:52 +0000 (0:00:00.113) 0:00:10.977 ****** skipping: [/cache/centos-6.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/tmp2w2t0usz/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 03 August 2022 16:51:53 +0000 (0:00:00.045) 0:00:11.022 ****** skipping: [/cache/centos-6.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /tmp/tmp2w2t0usz/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 03 August 2022 16:51:53 +0000 (0:00:00.045) 0:00:11.068 ****** skipping: [/cache/centos-6.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/tmp2w2t0usz/tests/roles/linux-system-roles.network/tasks/main.yml:38 Wednesday 03 August 2022 16:51:53 +0000 (0:00:00.067) 0:00:11.135 ****** skipping: [/cache/centos-6.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/tmp2w2t0usz/tests/roles/linux-system-roles.network/tasks/main.yml:51 Wednesday 03 August 2022 16:51:53 +0000 (0:00:00.044) 0:00:11.180 ****** skipping: [/cache/centos-6.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/tmp2w2t0usz/tests/roles/linux-system-roles.network/tasks/main.yml:65 Wednesday 03 August 2022 16:51:53 +0000 (0:00:00.046) 0:00:11.226 ****** skipping: [/cache/centos-6.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /tmp/tmp2w2t0usz/tests/roles/linux-system-roles.network/tasks/main.yml:79 Wednesday 03 August 2022 16:51:53 +0000 (0:00:00.049) 0:00:11.276 ****** skipping: [/cache/centos-6.qcow2c.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /tmp/tmp2w2t0usz/tests/roles/linux-system-roles.network/tasks/main.yml:90 Wednesday 03 August 2022 16:51:53 +0000 (0:00:00.046) 0:00:11.322 ****** skipping: [/cache/centos-6.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /tmp/tmp2w2t0usz/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 03 August 2022 16:51:53 +0000 (0:00:00.042) 0:00:11.365 ****** ok: [/cache/centos-6.qcow2c.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/tmp2w2t0usz/tests/roles/linux-system-roles.network/tasks/main.yml:107 Wednesday 03 August 2022 16:51:53 +0000 (0:00:00.523) 0:00:11.888 ****** ok: [/cache/centos-6.qcow2c.snap] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-140451t23hszt2/tmpzmrryhrr" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /tmp/tmp2w2t0usz/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 03 August 2022 16:51:54 +0000 (0:00:00.310) 0:00:12.198 ****** redirecting (type: action) ansible.builtin.network to ansible.netcommon.network changed: [/cache/centos-6.qcow2c.snap] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "testnic1", "state": "up", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [003] #0, state:up persistent_state:present, 'testnic1': add ifcfg-rh profile 'testnic1' [004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1 (is-modified) [005] #0, state:up persistent_state:present, 'testnic1': call 'ifup testnic1': rc=0, out='', err='' TASK [linux-system-roles.network : Configure networking state] ***************** task path: /tmp/tmp2w2t0usz/tests/roles/linux-system-roles.network/tasks/main.yml:128 Wednesday 03 August 2022 16:51:54 +0000 (0:00:00.630) 0:00:12.828 ****** skipping: [/cache/centos-6.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /tmp/tmp2w2t0usz/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 03 August 2022 16:51:54 +0000 (0:00:00.045) 0:00:12.874 ****** ok: [/cache/centos-6.qcow2c.snap] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'testnic1': add ifcfg-rh profile 'testnic1'", "[004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1 (is-modified)", "[005] #0, state:up persistent_state:present, 'testnic1': call 'ifup testnic1': rc=0, out='', err=''" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /tmp/tmp2w2t0usz/tests/roles/linux-system-roles.network/tasks/main.yml:138 Wednesday 03 August 2022 16:51:54 +0000 (0:00:00.055) 0:00:12.930 ****** ok: [/cache/centos-6.qcow2c.snap] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "testnic1", "state": "up", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "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, Jun 20 2019, 14:14:55) [GCC 4.4.7 20120313 (Red Hat 4.4.7-23)]", "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/tmp2w2t0usz/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 03 August 2022 16:51:55 +0000 (0:00:00.095) 0:00:13.025 ****** skipping: [/cache/centos-6.qcow2c.snap] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /tmp/tmp2w2t0usz/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 03 August 2022 16:51:55 +0000 (0:00:00.107) 0:00:13.132 ****** ok: [/cache/centos-6.qcow2c.snap] => { "changed": false, "ping": "pong" } META: role_complete for /cache/centos-6.qcow2c.snap TASK [Get profile's ring options] ********************************************** task path: /tmp/tmp2w2t0usz/tests/playbooks/tests_ethtool_ring.yml:44 Wednesday 03 August 2022 16:51:55 +0000 (0:00:00.387) 0:00:13.520 ****** skipping: [/cache/centos-6.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [ASSERT: The profile does not contain ring options] *********************** task path: /tmp/tmp2w2t0usz/tests/playbooks/tests_ethtool_ring.yml:49 Wednesday 03 August 2022 16:51:55 +0000 (0:00:00.044) 0:00:13.565 ****** skipping: [/cache/centos-6.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get profile's ring options] ********************************************** task path: /tmp/tmp2w2t0usz/tests/playbooks/tests_ethtool_ring.yml:54 Wednesday 03 August 2022 16:51:55 +0000 (0:00:00.044) 0:00:13.609 ****** fatal: [/cache/centos-6.qcow2c.snap]: FAILED! => { "changed": true, "cmd": [ "grep", "ETHTOOL", "/etc/sysconfig/network-scripts/ifcfg-testnic1" ], "delta": "0:00:00.003939", "end": "2022-08-03 16:51:54.738736", "rc": 1, "start": "2022-08-03 16:51:54.734797" } MSG: non-zero return code ...ignoring TASK [ASSERT: The profile does not contain ring options] *********************** task path: /tmp/tmp2w2t0usz/tests/playbooks/tests_ethtool_ring.yml:61 Wednesday 03 August 2022 16:51:55 +0000 (0:00:00.327) 0:00:13.937 ****** ok: [/cache/centos-6.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [TEST: I can set rx.] ***************************************************** task path: /tmp/tmp2w2t0usz/tests/playbooks/tests_ethtool_ring.yml:67 Wednesday 03 August 2022 16:51:55 +0000 (0:00:00.052) 0:00:13.990 ****** ok: [/cache/centos-6.qcow2c.snap] => {} MSG: ################################################## TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /tmp/tmp2w2t0usz/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 03 August 2022 16:51:56 +0000 (0:00:00.052) 0:00:14.043 ****** included: /tmp/tmp2w2t0usz/tests/roles/linux-system-roles.network/tasks/set_facts.yml for /cache/centos-6.qcow2c.snap TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/tmp2w2t0usz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 03 August 2022 16:51:56 +0000 (0:00:00.060) 0:00:14.103 ****** ok: [/cache/centos-6.qcow2c.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which services are running] *********** task path: /tmp/tmp2w2t0usz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 Wednesday 03 August 2022 16:51:56 +0000 (0:00:00.396) 0:00:14.499 ****** ok: [/cache/centos-6.qcow2c.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /tmp/tmp2w2t0usz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 Wednesday 03 August 2022 16:51:57 +0000 (0:00:01.031) 0:00:15.530 ****** ok: [/cache/centos-6.qcow2c.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /tmp/tmp2w2t0usz/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 03 August 2022 16:51:58 +0000 (0:00:00.602) 0:00:16.133 ****** ok: [/cache/centos-6.qcow2c.snap] => {} MSG: Using network provider: initscripts TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/tmp2w2t0usz/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 03 August 2022 16:51:58 +0000 (0:00:00.053) 0:00:16.187 ****** skipping: [/cache/centos-6.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/tmp2w2t0usz/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 03 August 2022 16:51:58 +0000 (0:00:00.043) 0:00:16.231 ****** skipping: [/cache/centos-6.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /tmp/tmp2w2t0usz/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 03 August 2022 16:51:58 +0000 (0:00:00.044) 0:00:16.276 ****** skipping: [/cache/centos-6.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/tmp2w2t0usz/tests/roles/linux-system-roles.network/tasks/main.yml:38 Wednesday 03 August 2022 16:51:58 +0000 (0:00:00.068) 0:00:16.344 ****** skipping: [/cache/centos-6.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/tmp2w2t0usz/tests/roles/linux-system-roles.network/tasks/main.yml:51 Wednesday 03 August 2022 16:51:58 +0000 (0:00:00.043) 0:00:16.387 ****** skipping: [/cache/centos-6.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/tmp2w2t0usz/tests/roles/linux-system-roles.network/tasks/main.yml:65 Wednesday 03 August 2022 16:51:58 +0000 (0:00:00.044) 0:00:16.432 ****** skipping: [/cache/centos-6.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /tmp/tmp2w2t0usz/tests/roles/linux-system-roles.network/tasks/main.yml:79 Wednesday 03 August 2022 16:51:58 +0000 (0:00:00.048) 0:00:16.480 ****** skipping: [/cache/centos-6.qcow2c.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /tmp/tmp2w2t0usz/tests/roles/linux-system-roles.network/tasks/main.yml:90 Wednesday 03 August 2022 16:51:58 +0000 (0:00:00.045) 0:00:16.526 ****** skipping: [/cache/centos-6.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /tmp/tmp2w2t0usz/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 03 August 2022 16:51:58 +0000 (0:00:00.043) 0:00:16.569 ****** ok: [/cache/centos-6.qcow2c.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/tmp2w2t0usz/tests/roles/linux-system-roles.network/tasks/main.yml:107 Wednesday 03 August 2022 16:51:58 +0000 (0:00:00.358) 0:00:16.927 ****** ok: [/cache/centos-6.qcow2c.snap] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-140451t23hszt2/tmpagwaoa53" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /tmp/tmp2w2t0usz/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 03 August 2022 16:51:59 +0000 (0:00:00.313) 0:00:17.241 ****** redirecting (type: action) ansible.builtin.network to ansible.netcommon.network changed: [/cache/centos-6.qcow2c.snap] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "ethtool": { "ring": { "rx": 128, "rx_jumbo": 128, "rx_mini": 128, "tx": 128 } }, "ip": { "auto6": false, "dhcp4": false }, "name": "testnic1", "state": "up", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [003] #0, state:up persistent_state:present, 'testnic1': update ifcfg-rh profile 'testnic1' [004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1 (is-modified) [005] #0, state:up persistent_state:present, 'testnic1': call 'ifup testnic1': rc=0, out='', err='Cannot get device ring settings: Operation not supported ' TASK [linux-system-roles.network : Configure networking state] ***************** task path: /tmp/tmp2w2t0usz/tests/roles/linux-system-roles.network/tasks/main.yml:128 Wednesday 03 August 2022 16:51:59 +0000 (0:00:00.461) 0:00:17.703 ****** skipping: [/cache/centos-6.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /tmp/tmp2w2t0usz/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 03 August 2022 16:51:59 +0000 (0:00:00.108) 0:00:17.811 ****** ok: [/cache/centos-6.qcow2c.snap] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'testnic1': update ifcfg-rh profile 'testnic1'", "[004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1 (is-modified)", "[005] #0, state:up persistent_state:present, 'testnic1': call 'ifup testnic1': rc=0, out='', err='Cannot get device ring settings: Operation not supported", "'" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /tmp/tmp2w2t0usz/tests/roles/linux-system-roles.network/tasks/main.yml:138 Wednesday 03 August 2022 16:51:59 +0000 (0:00:00.057) 0:00:17.869 ****** ok: [/cache/centos-6.qcow2c.snap] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "ethtool": { "ring": { "rx": 128, "rx_jumbo": 128, "rx_mini": 128, "tx": 128 } }, "ip": { "auto6": false, "dhcp4": false }, "name": "testnic1", "state": "up", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "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, Jun 20 2019, 14:14:55) [GCC 4.4.7 20120313 (Red Hat 4.4.7-23)]", "version": "2.13" } ], "failed": false, "stderr": "[003] #0, state:up persistent_state:present, 'testnic1': update ifcfg-rh profile 'testnic1'\n[004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1 (is-modified)\n[005] #0, state:up persistent_state:present, 'testnic1': call 'ifup testnic1': rc=0, out='', err='Cannot get device ring settings: Operation not supported\n'\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'testnic1': update ifcfg-rh profile 'testnic1'", "[004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1 (is-modified)", "[005] #0, state:up persistent_state:present, 'testnic1': call 'ifup testnic1': rc=0, out='', err='Cannot get device ring settings: Operation not supported", "'" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /tmp/tmp2w2t0usz/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 03 August 2022 16:51:59 +0000 (0:00:00.056) 0:00:17.926 ****** skipping: [/cache/centos-6.qcow2c.snap] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /tmp/tmp2w2t0usz/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 03 August 2022 16:51:59 +0000 (0:00:00.050) 0:00:17.976 ****** ok: [/cache/centos-6.qcow2c.snap] => { "changed": false, "ping": "pong" } META: role_complete for /cache/centos-6.qcow2c.snap TASK [Get profile's ethtool.ring-rx options] *********************************** task path: /tmp/tmp2w2t0usz/tests/playbooks/tests_ethtool_ring.yml:89 Wednesday 03 August 2022 16:52:00 +0000 (0:00:00.303) 0:00:18.279 ****** skipping: [/cache/centos-6.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert ethtool.ring-rx option set in profile] **************************** task path: /tmp/tmp2w2t0usz/tests/playbooks/tests_ethtool_ring.yml:94 Wednesday 03 August 2022 16:52:00 +0000 (0:00:00.042) 0:00:18.322 ****** skipping: [/cache/centos-6.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get profile's ethtool.ring-rx-jumbo options] ***************************** task path: /tmp/tmp2w2t0usz/tests/playbooks/tests_ethtool_ring.yml:99 Wednesday 03 August 2022 16:52:00 +0000 (0:00:00.042) 0:00:18.365 ****** skipping: [/cache/centos-6.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert ethtool.ring-rx-jumbo option set in profile] ********************** task path: /tmp/tmp2w2t0usz/tests/playbooks/tests_ethtool_ring.yml:104 Wednesday 03 August 2022 16:52:00 +0000 (0:00:00.042) 0:00:18.408 ****** skipping: [/cache/centos-6.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get profile's ethtool.ring-rx-mini options] ****************************** task path: /tmp/tmp2w2t0usz/tests/playbooks/tests_ethtool_ring.yml:109 Wednesday 03 August 2022 16:52:00 +0000 (0:00:00.043) 0:00:18.451 ****** skipping: [/cache/centos-6.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert ethtool.ring-rx-mini option set in profile] *********************** task path: /tmp/tmp2w2t0usz/tests/playbooks/tests_ethtool_ring.yml:114 Wednesday 03 August 2022 16:52:00 +0000 (0:00:00.039) 0:00:18.491 ****** skipping: [/cache/centos-6.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get profile's ethtool.ring-tx options] *********************************** task path: /tmp/tmp2w2t0usz/tests/playbooks/tests_ethtool_ring.yml:119 Wednesday 03 August 2022 16:52:00 +0000 (0:00:00.038) 0:00:18.529 ****** skipping: [/cache/centos-6.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert ethtool.ring-tx option set in profile] **************************** task path: /tmp/tmp2w2t0usz/tests/playbooks/tests_ethtool_ring.yml:124 Wednesday 03 August 2022 16:52:00 +0000 (0:00:00.041) 0:00:18.571 ****** skipping: [/cache/centos-6.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get profile's ethtool.ring options] ************************************** task path: /tmp/tmp2w2t0usz/tests/playbooks/tests_ethtool_ring.yml:130 Wednesday 03 August 2022 16:52:00 +0000 (0:00:00.038) 0:00:18.610 ****** changed: [/cache/centos-6.qcow2c.snap] => { "changed": true, "cmd": [ "grep", "ETHTOOL", "/etc/sysconfig/network-scripts/ifcfg-testnic1" ], "delta": "0:00:00.003875", "end": "2022-08-03 16:51:59.718481", "rc": 0, "start": "2022-08-03 16:51:59.714606" } STDOUT: ETHTOOL_OPTS="-G testnic1 rx 128 rx-jumbo 128 tx 128 rx-mini 128" TASK [Assert ethtool.ring option set in profile] ******************************* task path: /tmp/tmp2w2t0usz/tests/playbooks/tests_ethtool_ring.yml:137 Wednesday 03 August 2022 16:52:00 +0000 (0:00:00.307) 0:00:18.917 ****** ok: [/cache/centos-6.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [TEST: I can clear ring options] ****************************************** task path: /tmp/tmp2w2t0usz/tests/playbooks/tests_ethtool_ring.yml:147 Wednesday 03 August 2022 16:52:00 +0000 (0:00:00.057) 0:00:18.974 ****** ok: [/cache/centos-6.qcow2c.snap] => {} MSG: ################################################## TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /tmp/tmp2w2t0usz/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 03 August 2022 16:52:01 +0000 (0:00:00.053) 0:00:19.027 ****** included: /tmp/tmp2w2t0usz/tests/roles/linux-system-roles.network/tasks/set_facts.yml for /cache/centos-6.qcow2c.snap TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/tmp2w2t0usz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 03 August 2022 16:52:01 +0000 (0:00:00.062) 0:00:19.090 ****** ok: [/cache/centos-6.qcow2c.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which services are running] *********** task path: /tmp/tmp2w2t0usz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 Wednesday 03 August 2022 16:52:01 +0000 (0:00:00.451) 0:00:19.541 ****** ok: [/cache/centos-6.qcow2c.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /tmp/tmp2w2t0usz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 Wednesday 03 August 2022 16:52:02 +0000 (0:00:01.042) 0:00:20.584 ****** ok: [/cache/centos-6.qcow2c.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /tmp/tmp2w2t0usz/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 03 August 2022 16:52:03 +0000 (0:00:00.583) 0:00:21.168 ****** ok: [/cache/centos-6.qcow2c.snap] => {} MSG: Using network provider: initscripts TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/tmp2w2t0usz/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 03 August 2022 16:52:03 +0000 (0:00:00.053) 0:00:21.221 ****** skipping: [/cache/centos-6.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/tmp2w2t0usz/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 03 August 2022 16:52:03 +0000 (0:00:00.042) 0:00:21.264 ****** skipping: [/cache/centos-6.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /tmp/tmp2w2t0usz/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 03 August 2022 16:52:03 +0000 (0:00:00.043) 0:00:21.307 ****** skipping: [/cache/centos-6.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/tmp2w2t0usz/tests/roles/linux-system-roles.network/tasks/main.yml:38 Wednesday 03 August 2022 16:52:03 +0000 (0:00:00.063) 0:00:21.371 ****** skipping: [/cache/centos-6.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/tmp2w2t0usz/tests/roles/linux-system-roles.network/tasks/main.yml:51 Wednesday 03 August 2022 16:52:03 +0000 (0:00:00.046) 0:00:21.417 ****** skipping: [/cache/centos-6.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/tmp2w2t0usz/tests/roles/linux-system-roles.network/tasks/main.yml:65 Wednesday 03 August 2022 16:52:03 +0000 (0:00:00.044) 0:00:21.462 ****** skipping: [/cache/centos-6.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /tmp/tmp2w2t0usz/tests/roles/linux-system-roles.network/tasks/main.yml:79 Wednesday 03 August 2022 16:52:03 +0000 (0:00:00.049) 0:00:21.511 ****** skipping: [/cache/centos-6.qcow2c.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /tmp/tmp2w2t0usz/tests/roles/linux-system-roles.network/tasks/main.yml:90 Wednesday 03 August 2022 16:52:03 +0000 (0:00:00.044) 0:00:21.556 ****** skipping: [/cache/centos-6.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /tmp/tmp2w2t0usz/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 03 August 2022 16:52:03 +0000 (0:00:00.041) 0:00:21.597 ****** ok: [/cache/centos-6.qcow2c.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/tmp2w2t0usz/tests/roles/linux-system-roles.network/tasks/main.yml:107 Wednesday 03 August 2022 16:52:03 +0000 (0:00:00.402) 0:00:22.000 ****** ok: [/cache/centos-6.qcow2c.snap] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-140451t23hszt2/tmpb_m5mbyn" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /tmp/tmp2w2t0usz/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 03 August 2022 16:52:04 +0000 (0:00:00.304) 0:00:22.304 ****** redirecting (type: action) ansible.builtin.network to ansible.netcommon.network changed: [/cache/centos-6.qcow2c.snap] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "testnic1", "state": "up", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [003] #0, state:up persistent_state:present, 'testnic1': update ifcfg-rh profile 'testnic1' [004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1 (is-modified) [005] #0, state:up persistent_state:present, 'testnic1': call 'ifup testnic1': rc=0, out='', err='' TASK [linux-system-roles.network : Configure networking state] ***************** task path: /tmp/tmp2w2t0usz/tests/roles/linux-system-roles.network/tasks/main.yml:128 Wednesday 03 August 2022 16:52:04 +0000 (0:00:00.471) 0:00:22.776 ****** skipping: [/cache/centos-6.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /tmp/tmp2w2t0usz/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 03 August 2022 16:52:04 +0000 (0:00:00.044) 0:00:22.821 ****** ok: [/cache/centos-6.qcow2c.snap] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'testnic1': update ifcfg-rh profile 'testnic1'", "[004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1 (is-modified)", "[005] #0, state:up persistent_state:present, 'testnic1': call 'ifup testnic1': rc=0, out='', err=''" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /tmp/tmp2w2t0usz/tests/roles/linux-system-roles.network/tasks/main.yml:138 Wednesday 03 August 2022 16:52:04 +0000 (0:00:00.054) 0:00:22.876 ****** ok: [/cache/centos-6.qcow2c.snap] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "testnic1", "state": "up", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "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, Jun 20 2019, 14:14:55) [GCC 4.4.7 20120313 (Red Hat 4.4.7-23)]", "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/tmp2w2t0usz/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 03 August 2022 16:52:04 +0000 (0:00:00.053) 0:00:22.930 ****** skipping: [/cache/centos-6.qcow2c.snap] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /tmp/tmp2w2t0usz/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 03 August 2022 16:52:04 +0000 (0:00:00.048) 0:00:22.978 ****** ok: [/cache/centos-6.qcow2c.snap] => { "changed": false, "ping": "pong" } META: role_complete for /cache/centos-6.qcow2c.snap TASK [Get profile's ring options] ********************************************** task path: /tmp/tmp2w2t0usz/tests/playbooks/tests_ethtool_ring.yml:162 Wednesday 03 August 2022 16:52:05 +0000 (0:00:00.326) 0:00:23.304 ****** skipping: [/cache/centos-6.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [ASSERT: The profile does reset ring options] ***************************** task path: /tmp/tmp2w2t0usz/tests/playbooks/tests_ethtool_ring.yml:167 Wednesday 03 August 2022 16:52:05 +0000 (0:00:00.049) 0:00:23.354 ****** skipping: [/cache/centos-6.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get profile's ring options] ********************************************** task path: /tmp/tmp2w2t0usz/tests/playbooks/tests_ethtool_ring.yml:172 Wednesday 03 August 2022 16:52:05 +0000 (0:00:00.045) 0:00:23.399 ****** fatal: [/cache/centos-6.qcow2c.snap]: FAILED! => { "changed": true, "cmd": [ "grep", "ETHTOOL", "/etc/sysconfig/network-scripts/ifcfg-testnic1" ], "delta": "0:00:00.003911", "end": "2022-08-03 16:52:04.516234", "rc": 1, "start": "2022-08-03 16:52:04.512323" } MSG: non-zero return code ...ignoring TASK [ASSERT: The profile does reset ring options] ***************************** task path: /tmp/tmp2w2t0usz/tests/playbooks/tests_ethtool_ring.yml:179 Wednesday 03 August 2022 16:52:05 +0000 (0:00:00.317) 0:00:23.717 ****** ok: [/cache/centos-6.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /tmp/tmp2w2t0usz/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 03 August 2022 16:52:05 +0000 (0:00:00.063) 0:00:23.780 ****** included: /tmp/tmp2w2t0usz/tests/roles/linux-system-roles.network/tasks/set_facts.yml for /cache/centos-6.qcow2c.snap TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/tmp2w2t0usz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 03 August 2022 16:52:05 +0000 (0:00:00.107) 0:00:23.887 ****** ok: [/cache/centos-6.qcow2c.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which services are running] *********** task path: /tmp/tmp2w2t0usz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 Wednesday 03 August 2022 16:52:06 +0000 (0:00:00.403) 0:00:24.291 ****** ok: [/cache/centos-6.qcow2c.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /tmp/tmp2w2t0usz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 Wednesday 03 August 2022 16:52:07 +0000 (0:00:01.006) 0:00:25.298 ****** ok: [/cache/centos-6.qcow2c.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /tmp/tmp2w2t0usz/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 03 August 2022 16:52:07 +0000 (0:00:00.577) 0:00:25.875 ****** ok: [/cache/centos-6.qcow2c.snap] => {} MSG: Using network provider: initscripts TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/tmp2w2t0usz/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 03 August 2022 16:52:07 +0000 (0:00:00.054) 0:00:25.929 ****** skipping: [/cache/centos-6.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/tmp2w2t0usz/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 03 August 2022 16:52:07 +0000 (0:00:00.045) 0:00:25.975 ****** skipping: [/cache/centos-6.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /tmp/tmp2w2t0usz/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 03 August 2022 16:52:08 +0000 (0:00:00.045) 0:00:26.021 ****** skipping: [/cache/centos-6.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/tmp2w2t0usz/tests/roles/linux-system-roles.network/tasks/main.yml:38 Wednesday 03 August 2022 16:52:08 +0000 (0:00:00.068) 0:00:26.089 ****** skipping: [/cache/centos-6.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/tmp2w2t0usz/tests/roles/linux-system-roles.network/tasks/main.yml:51 Wednesday 03 August 2022 16:52:08 +0000 (0:00:00.042) 0:00:26.131 ****** skipping: [/cache/centos-6.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/tmp2w2t0usz/tests/roles/linux-system-roles.network/tasks/main.yml:65 Wednesday 03 August 2022 16:52:08 +0000 (0:00:00.045) 0:00:26.176 ****** skipping: [/cache/centos-6.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /tmp/tmp2w2t0usz/tests/roles/linux-system-roles.network/tasks/main.yml:79 Wednesday 03 August 2022 16:52:08 +0000 (0:00:00.101) 0:00:26.278 ****** skipping: [/cache/centos-6.qcow2c.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /tmp/tmp2w2t0usz/tests/roles/linux-system-roles.network/tasks/main.yml:90 Wednesday 03 August 2022 16:52:08 +0000 (0:00:00.042) 0:00:26.320 ****** skipping: [/cache/centos-6.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /tmp/tmp2w2t0usz/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 03 August 2022 16:52:08 +0000 (0:00:00.045) 0:00:26.366 ****** ok: [/cache/centos-6.qcow2c.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/tmp2w2t0usz/tests/roles/linux-system-roles.network/tasks/main.yml:107 Wednesday 03 August 2022 16:52:08 +0000 (0:00:00.368) 0:00:26.734 ****** ok: [/cache/centos-6.qcow2c.snap] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-140451t23hszt2/tmpf7w5luxq" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /tmp/tmp2w2t0usz/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 03 August 2022 16:52:09 +0000 (0:00:00.309) 0:00:27.044 ****** redirecting (type: action) ansible.builtin.network to ansible.netcommon.network changed: [/cache/centos-6.qcow2c.snap] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "name": "testnic1", "persistent_state": "absent" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:absent, 'testnic1': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-testnic1' TASK [linux-system-roles.network : Configure networking state] ***************** task path: /tmp/tmp2w2t0usz/tests/roles/linux-system-roles.network/tasks/main.yml:128 Wednesday 03 August 2022 16:52:09 +0000 (0:00:00.395) 0:00:27.439 ****** skipping: [/cache/centos-6.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /tmp/tmp2w2t0usz/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 03 August 2022 16:52:09 +0000 (0:00:00.043) 0:00:27.482 ****** ok: [/cache/centos-6.qcow2c.snap] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:absent, 'testnic1': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-testnic1'" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /tmp/tmp2w2t0usz/tests/roles/linux-system-roles.network/tasks/main.yml:138 Wednesday 03 August 2022 16:52:09 +0000 (0:00:00.048) 0:00:27.530 ****** ok: [/cache/centos-6.qcow2c.snap] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "name": "testnic1", "persistent_state": "absent" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "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, Jun 20 2019, 14:14:55) [GCC 4.4.7 20120313 (Red Hat 4.4.7-23)]", "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/tmp2w2t0usz/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 03 August 2022 16:52:09 +0000 (0:00:00.052) 0:00:27.583 ****** skipping: [/cache/centos-6.qcow2c.snap] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /tmp/tmp2w2t0usz/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 03 August 2022 16:52:09 +0000 (0:00:00.041) 0:00:27.625 ****** ok: [/cache/centos-6.qcow2c.snap] => { "changed": false, "ping": "pong" } META: role_complete for /cache/centos-6.qcow2c.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmp2w2t0usz/tests/playbooks/tests_ethtool_ring.yml:195 Wednesday 03 August 2022 16:52:09 +0000 (0:00:00.312) 0:00:27.937 ****** included: /tmp/tmp2w2t0usz/tests/playbooks/tasks/manage_test_interface.yml for /cache/centos-6.qcow2c.snap TASK [Ensure state in ["present", "absent"]] *********************************** task path: /tmp/tmp2w2t0usz/tests/playbooks/tasks/manage_test_interface.yml:3 Wednesday 03 August 2022 16:52:09 +0000 (0:00:00.066) 0:00:28.004 ****** skipping: [/cache/centos-6.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /tmp/tmp2w2t0usz/tests/playbooks/tasks/manage_test_interface.yml:8 Wednesday 03 August 2022 16:52:10 +0000 (0:00:00.043) 0:00:28.047 ****** skipping: [/cache/centos-6.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [include_tasks] *********************************************************** task path: /tmp/tmp2w2t0usz/tests/playbooks/tasks/manage_test_interface.yml:13 Wednesday 03 August 2022 16:52:10 +0000 (0:00:00.042) 0:00:28.090 ****** included: /tmp/tmp2w2t0usz/tests/playbooks/tasks/show_interfaces.yml for /cache/centos-6.qcow2c.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmp2w2t0usz/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 03 August 2022 16:52:10 +0000 (0:00:00.089) 0:00:28.180 ****** included: /tmp/tmp2w2t0usz/tests/playbooks/tasks/get_current_interfaces.yml for /cache/centos-6.qcow2c.snap TASK [Gather current interface info] ******************************************* task path: /tmp/tmp2w2t0usz/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 03 August 2022 16:52:10 +0000 (0:00:00.059) 0:00:28.239 ****** ok: [/cache/centos-6.qcow2c.snap] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003866", "end": "2022-08-03 16:52:09.346248", "rc": 0, "start": "2022-08-03 16:52:09.342382" } STDOUT: eth0 lo peertestnic1 testnic1 TASK [Set current_interfaces] ************************************************** task path: /tmp/tmp2w2t0usz/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 03 August 2022 16:52:10 +0000 (0:00:00.311) 0:00:28.551 ****** ok: [/cache/centos-6.qcow2c.snap] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo", "peertestnic1", "testnic1" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/tmp2w2t0usz/tests/playbooks/tasks/show_interfaces.yml:4 Wednesday 03 August 2022 16:52:10 +0000 (0:00:00.068) 0:00:28.619 ****** ok: [/cache/centos-6.qcow2c.snap] => {} MSG: current_interfaces: ['eth0', 'lo', 'peertestnic1', 'testnic1'] TASK [Install iproute] ********************************************************* task path: /tmp/tmp2w2t0usz/tests/playbooks/tasks/manage_test_interface.yml:15 Wednesday 03 August 2022 16:52:10 +0000 (0:00:00.095) 0:00:28.715 ****** ok: [/cache/centos-6.qcow2c.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/tmp2w2t0usz/tests/playbooks/tasks/manage_test_interface.yml:21 Wednesday 03 August 2022 16:52:11 +0000 (0:00:00.717) 0:00:29.433 ****** skipping: [/cache/centos-6.qcow2c.snap] => (item=ip link add testnic1 type veth peer name peertestnic1) => { "ansible_loop_var": "item", "changed": false, "item": "ip link add testnic1 type veth peer name peertestnic1", "skip_reason": "Conditional result was False" } skipping: [/cache/centos-6.qcow2c.snap] => (item=ip link set peertestnic1 up) => { "ansible_loop_var": "item", "changed": false, "item": "ip link set peertestnic1 up", "skip_reason": "Conditional result was False" } skipping: [/cache/centos-6.qcow2c.snap] => (item=ip link set testnic1 up) => { "ansible_loop_var": "item", "changed": false, "item": "ip link set testnic1 up", "skip_reason": "Conditional result was False" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /tmp/tmp2w2t0usz/tests/playbooks/tasks/manage_test_interface.yml:29 Wednesday 03 August 2022 16:52:11 +0000 (0:00:00.058) 0:00:29.491 ****** skipping: [/cache/centos-6.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete veth interface testnic1] ****************************************** task path: /tmp/tmp2w2t0usz/tests/playbooks/tasks/manage_test_interface.yml:36 Wednesday 03 August 2022 16:52:11 +0000 (0:00:00.045) 0:00:29.537 ****** changed: [/cache/centos-6.qcow2c.snap] => { "changed": true, "cmd": [ "ip", "link", "del", "testnic1", "type", "veth" ], "delta": "0:00:00.041443", "end": "2022-08-03 16:52:10.693207", "rc": 0, "start": "2022-08-03 16:52:10.651764" } TASK [Create dummy interface testnic1] ***************************************** task path: /tmp/tmp2w2t0usz/tests/playbooks/tasks/manage_test_interface.yml:42 Wednesday 03 August 2022 16:52:11 +0000 (0:00:00.355) 0:00:29.892 ****** skipping: [/cache/centos-6.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface testnic1] ***************************************** task path: /tmp/tmp2w2t0usz/tests/playbooks/tasks/manage_test_interface.yml:47 Wednesday 03 August 2022 16:52:11 +0000 (0:00:00.044) 0:00:29.937 ****** skipping: [/cache/centos-6.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface testnic1] ******************************************* task path: /tmp/tmp2w2t0usz/tests/playbooks/tasks/manage_test_interface.yml:53 Wednesday 03 August 2022 16:52:11 +0000 (0:00:00.049) 0:00:29.987 ****** skipping: [/cache/centos-6.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface testnic1] ******************************************* task path: /tmp/tmp2w2t0usz/tests/playbooks/tasks/manage_test_interface.yml:58 Wednesday 03 August 2022 16:52:12 +0000 (0:00:00.042) 0:00:30.030 ****** skipping: [/cache/centos-6.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/centos-6.qcow2c.snap : ok=92 changed=10 unreachable=0 failed=0 skipped=70 rescued=0 ignored=3 Wednesday 03 August 2022 16:52:12 +0000 (0:00:00.059) 0:00:30.090 ****** =============================================================================== linux-system-roles.network : Check which services are running ----------- 1.17s /tmp/tmp2w2t0usz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 linux-system-roles.network : Configure networking connection profiles --- 1.10s /tmp/tmp2w2t0usz/tests/roles/linux-system-roles.network/tasks/main.yml:116 ---- linux-system-roles.network : Check which services are running ----------- 1.04s /tmp/tmp2w2t0usz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 linux-system-roles.network : Check which services are running ----------- 1.03s /tmp/tmp2w2t0usz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 linux-system-roles.network : Check which services are running ----------- 1.01s /tmp/tmp2w2t0usz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 Gathering Facts --------------------------------------------------------- 0.99s /tmp/tmp2w2t0usz/tests/tests_ethtool_ring_initscripts.yml:4 ------------------- linux-system-roles.network : Enable network service --------------------- 0.93s /tmp/tmp2w2t0usz/tests/roles/linux-system-roles.network/tasks/main.yml:99 ----- linux-system-roles.network : Check which packages are installed --------- 0.89s /tmp/tmp2w2t0usz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 Create veth interface testnic1 ------------------------------------------ 0.83s /tmp/tmp2w2t0usz/tests/playbooks/tasks/manage_test_interface.yml:21 ----------- Gathering Facts --------------------------------------------------------- 0.72s /tmp/tmp2w2t0usz/tests/playbooks/tests_ethtool_ring.yml:3 --------------------- Install iproute --------------------------------------------------------- 0.72s /tmp/tmp2w2t0usz/tests/playbooks/tasks/manage_test_interface.yml:15 ----------- linux-system-roles.network : Re-test connectivity ----------------------- 0.71s /tmp/tmp2w2t0usz/tests/roles/linux-system-roles.network/tasks/main.yml:149 ---- Fix CentOS6 Base repo --------------------------------------------------- 0.68s /tmp/tmp2w2t0usz/tests/tasks/el_repo_setup.yml:2 ------------------------------ Install iproute --------------------------------------------------------- 0.67s /tmp/tmp2w2t0usz/tests/playbooks/tasks/manage_test_interface.yml:15 ----------- linux-system-roles.network : Ensure initscripts network file dependency is present --- 0.61s /tmp/tmp2w2t0usz/tests/roles/linux-system-roles.network/tasks/main.yml:107 ---- linux-system-roles.network : Check which packages are installed --------- 0.60s /tmp/tmp2w2t0usz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 linux-system-roles.network : Check which packages are installed --------- 0.58s /tmp/tmp2w2t0usz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 linux-system-roles.network : Check which packages are installed --------- 0.58s /tmp/tmp2w2t0usz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 Enable EPEL 6 ----------------------------------------------------------- 0.54s /tmp/tmp2w2t0usz/tests/tasks/enable_epel.yml:26 ------------------------------- Install ethtool (test dependency) --------------------------------------- 0.49s /tmp/tmp2w2t0usz/tests/playbooks/tests_ethtool_ring.yml:22 -------------------- PLAYBOOK: _restore.yml ********************************************************* 1 plays in /tmp/tmp2w2t0usz/tests/_restore.yml PLAY [all] ********************************************************************* META: ran handlers TASK [Restore system files] **************************************************** task path: /tmp/tmp2w2t0usz/tests/_restore.yml:4 Wednesday 03 August 2022 16:52:12 +0000 (0:00:00.072) 0:00:30.162 ****** changed: [/cache/centos-6.qcow2c.snap] => { "changed": true, "cmd": "(cd /; tar -xf /tmp/network.backup.tar)", "delta": "0:00:00.005818", "end": "2022-08-03 16:52:11.255914", "rc": 0, "start": "2022-08-03 16:52:11.250096" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/centos-6.qcow2c.snap : ok=93 changed=11 unreachable=0 failed=0 skipped=70 rescued=0 ignored=3 Wednesday 03 August 2022 16:52:12 +0000 (0:00:00.306) 0:00:30.468 ****** =============================================================================== linux-system-roles.network : Check which services are running ----------- 1.17s /tmp/tmp2w2t0usz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 linux-system-roles.network : Configure networking connection profiles --- 1.10s /tmp/tmp2w2t0usz/tests/roles/linux-system-roles.network/tasks/main.yml:116 ---- linux-system-roles.network : Check which services are running ----------- 1.04s /tmp/tmp2w2t0usz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 linux-system-roles.network : Check which services are running ----------- 1.03s /tmp/tmp2w2t0usz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 linux-system-roles.network : Check which services are running ----------- 1.01s /tmp/tmp2w2t0usz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 Gathering Facts --------------------------------------------------------- 0.99s /tmp/tmp2w2t0usz/tests/tests_ethtool_ring_initscripts.yml:4 ------------------- linux-system-roles.network : Enable network service --------------------- 0.93s /tmp/tmp2w2t0usz/tests/roles/linux-system-roles.network/tasks/main.yml:99 ----- linux-system-roles.network : Check which packages are installed --------- 0.89s /tmp/tmp2w2t0usz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 Create veth interface testnic1 ------------------------------------------ 0.83s /tmp/tmp2w2t0usz/tests/playbooks/tasks/manage_test_interface.yml:21 ----------- Gathering Facts --------------------------------------------------------- 0.72s /tmp/tmp2w2t0usz/tests/playbooks/tests_ethtool_ring.yml:3 --------------------- Install iproute --------------------------------------------------------- 0.72s /tmp/tmp2w2t0usz/tests/playbooks/tasks/manage_test_interface.yml:15 ----------- linux-system-roles.network : Re-test connectivity ----------------------- 0.71s /tmp/tmp2w2t0usz/tests/roles/linux-system-roles.network/tasks/main.yml:149 ---- Fix CentOS6 Base repo --------------------------------------------------- 0.68s /tmp/tmp2w2t0usz/tests/tasks/el_repo_setup.yml:2 ------------------------------ Install iproute --------------------------------------------------------- 0.67s /tmp/tmp2w2t0usz/tests/playbooks/tasks/manage_test_interface.yml:15 ----------- linux-system-roles.network : Ensure initscripts network file dependency is present --- 0.61s /tmp/tmp2w2t0usz/tests/roles/linux-system-roles.network/tasks/main.yml:107 ---- linux-system-roles.network : Check which packages are installed --------- 0.60s /tmp/tmp2w2t0usz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 linux-system-roles.network : Check which packages are installed --------- 0.58s /tmp/tmp2w2t0usz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 linux-system-roles.network : Check which packages are installed --------- 0.58s /tmp/tmp2w2t0usz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 Enable EPEL 6 ----------------------------------------------------------- 0.54s /tmp/tmp2w2t0usz/tests/tasks/enable_epel.yml:26 ------------------------------- Install ethtool (test dependency) --------------------------------------- 0.49s /tmp/tmp2w2t0usz/tests/playbooks/tests_ethtool_ring.yml:22 -------------------- 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/tmpb95mhbnh 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/tmpa_fzm6o2/tests/network/_backup.yml PLAY [all] ********************************************************************* META: ran handlers TASK [Get stats of system files] *********************************************** task path: /tmp/tmpa_fzm6o2/tests/network/_backup.yml:6 Wednesday 03 August 2022 17:01:12 +0000 (0:00:00.019) 0:00:00.019 ****** ok: [/cache/centos-6.qcow2c.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, Jun 20 2019, 14:14:55) [GCC 4.4.7 20120313 (Red Hat 4.4.7-23)]", "version": "2.13" } ], "item": "/etc/resolv.conf", "stat": { "atime": 1659546070.8151605, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "2c55cc8324e731161638aa365379c1c147546a87", "ctime": 1659546070.814998, "dev": 64513, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 25, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1659545746.0, "nlink": 1, "path": "/etc/resolv.conf", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 57, "uid": 0, "version": "18446744073481211626", "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, Jun 20 2019, 14:14:55) [GCC 4.4.7 20120313 (Red Hat 4.4.7-23)]. 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/tmpa_fzm6o2/tests/network/_backup.yml:13 Wednesday 03 August 2022 17:01:13 +0000 (0:00:00.470) 0:00:00.489 ****** [WARNING]: conditional statements should not include jinja2 templating delimiters such as {{ }} or {% %}. Found: {{ item.stat.exists }} ok: [/cache/centos-6.qcow2c.snap] => (item={'invocation': {'module_args': {'checksum_algorithm': 'sha1', 'get_checksum': True, 'follow': False, 'path': '/etc/resolv.conf', 'get_md5': False, 'get_mime': True, 'get_attributes': True}}, 'stat': {'charset': 'us-ascii', 'uid': 0, 'exists': True, 'attr_flags': 'e', 'woth': False, 'isreg': True, 'device_type': 0, 'mtime': 1659545746.0, 'block_size': 4096, 'inode': 25, 'isgid': False, 'size': 57, 'executable': False, 'isuid': False, 'readable': True, 'version': '18446744073481211626', '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': 1659546070.8151605, 'isdir': False, 'ctime': 1659546070.814998, '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": 1659546070.8151605, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "2c55cc8324e731161638aa365379c1c147546a87", "ctime": 1659546070.814998, "dev": 64513, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 25, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1659545746.0, "nlink": 1, "path": "/etc/resolv.conf", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 57, "uid": 0, "version": "18446744073481211626", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } } TASK [Back up system files] **************************************************** task path: /tmp/tmpa_fzm6o2/tests/network/_backup.yml:19 Wednesday 03 August 2022 17:01:13 +0000 (0:00:00.043) 0:00:00.533 ****** changed: [/cache/centos-6.qcow2c.snap] => { "changed": true, "cmd": [ "tar", "-cf", "/tmp/network.backup.tar", "--same-owner", "--same-permissions", "/etc/resolv.conf" ], "delta": "0:00:00.004450", "end": "2022-08-03 17:01:12.365124", "rc": 0, "start": "2022-08-03 17:01:12.360674" } STDERR: tar: Removing leading `/' from member names META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/centos-6.qcow2c.snap : ok=3 changed=1 unreachable=0 failed=0 skipped=0 rescued=0 ignored=0 Wednesday 03 August 2022 17:01:13 +0000 (0:00:00.407) 0:00:00.941 ****** =============================================================================== Get stats of system files ----------------------------------------------- 0.47s /tmp/tmpa_fzm6o2/tests/network/_backup.yml:6 ---------------------------------- Back up system files ---------------------------------------------------- 0.41s /tmp/tmpa_fzm6o2/tests/network/_backup.yml:19 --------------------------------- Check if system files exist --------------------------------------------- 0.04s /tmp/tmpa_fzm6o2/tests/network/_backup.yml:13 --------------------------------- PLAYBOOK: tests_ethtool_ring_initscripts.yml *********************************** 2 plays in /tmp/tmpa_fzm6o2/tests/network/tests_ethtool_ring_initscripts.yml PLAY [Run playbook 'playbooks/tests_ethtool_ring.yml' with initscripts as provider] *** TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpa_fzm6o2/tests/network/tests_ethtool_ring_initscripts.yml:4 Wednesday 03 August 2022 17:01:13 +0000 (0:00:00.071) 0:00:01.013 ****** ok: [/cache/centos-6.qcow2c.snap] META: ran handlers TASK [include_tasks] *********************************************************** task path: /tmp/tmpa_fzm6o2/tests/network/tests_ethtool_ring_initscripts.yml:7 Wednesday 03 August 2022 17:01:14 +0000 (0:00:00.976) 0:00:01.990 ****** included: /tmp/tmpa_fzm6o2/tests/network/tasks/el_repo_setup.yml for /cache/centos-6.qcow2c.snap TASK [Fix CentOS6 Base repo] *************************************************** task path: /tmp/tmpa_fzm6o2/tests/network/tasks/el_repo_setup.yml:2 Wednesday 03 August 2022 17:01:14 +0000 (0:00:00.029) 0:00:02.019 ****** ok: [/cache/centos-6.qcow2c.snap] => { "changed": false, "checksum": "b0aa488e4736bbd208461d247c4869d2ba0c95cd", "dest": "/etc/yum.repos.d/CentOS-Base.repo", "gid": 0, "group": "root", "mode": "0644", "owner": "root", "path": "/etc/yum.repos.d/CentOS-Base.repo", "secontext": "system_u:object_r:etc_t:s0", "size": 480, "state": "file", "uid": 0 } TASK [include_tasks] *********************************************************** task path: /tmp/tmpa_fzm6o2/tests/network/tasks/el_repo_setup.yml:27 Wednesday 03 August 2022 17:01:15 +0000 (0:00:00.658) 0:00:02.677 ****** included: /tmp/tmpa_fzm6o2/tests/network/tasks/enable_epel.yml for /cache/centos-6.qcow2c.snap TASK [Create EPEL 6] *********************************************************** task path: /tmp/tmpa_fzm6o2/tests/network/tasks/enable_epel.yml:4 Wednesday 03 August 2022 17:01:15 +0000 (0:00:00.032) 0:00:02.710 ****** skipping: [/cache/centos-6.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /tmp/tmpa_fzm6o2/tests/network/tasks/enable_epel.yml:11 Wednesday 03 August 2022 17:01:15 +0000 (0:00:00.023) 0:00:02.733 ****** skipping: [/cache/centos-6.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /tmp/tmpa_fzm6o2/tests/network/tasks/enable_epel.yml:17 Wednesday 03 August 2022 17:01:15 +0000 (0:00:00.022) 0:00:02.755 ****** skipping: [/cache/centos-6.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /tmp/tmpa_fzm6o2/tests/network/tasks/enable_epel.yml:26 Wednesday 03 August 2022 17:01:15 +0000 (0:00:00.022) 0:00:02.778 ****** ok: [/cache/centos-6.qcow2c.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/tmpa_fzm6o2/tests/network/tests_ethtool_ring_initscripts.yml:8 Wednesday 03 August 2022 17:01:15 +0000 (0:00:00.524) 0:00:03.303 ****** ok: [/cache/centos-6.qcow2c.snap] => { "ansible_facts": { "network_provider": "initscripts" }, "changed": false } META: ran handlers META: ran handlers PLAY [all] ********************************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpa_fzm6o2/tests/network/playbooks/tests_ethtool_ring.yml:3 Wednesday 03 August 2022 17:01:15 +0000 (0:00:00.053) 0:00:03.357 ****** ok: [/cache/centos-6.qcow2c.snap] META: ran handlers TASK [Show playbook name] ****************************************************** task path: /tmp/tmpa_fzm6o2/tests/network/playbooks/tests_ethtool_ring.yml:8 Wednesday 03 August 2022 17:01:16 +0000 (0:00:00.709) 0:00:04.067 ****** ok: [/cache/centos-6.qcow2c.snap] => {} MSG: this is: playbooks/tests_ethtool_ring.yml TASK [INIT: Ethtool ring tests] ************************************************ task path: /tmp/tmpa_fzm6o2/tests/network/playbooks/tests_ethtool_ring.yml:14 Wednesday 03 August 2022 17:01:16 +0000 (0:00:00.049) 0:00:04.116 ****** ok: [/cache/centos-6.qcow2c.snap] => {} MSG: ################################################## TASK [include_tasks] *********************************************************** task path: /tmp/tmpa_fzm6o2/tests/network/playbooks/tests_ethtool_ring.yml:17 Wednesday 03 August 2022 17:01:16 +0000 (0:00:00.047) 0:00:04.164 ****** included: /tmp/tmpa_fzm6o2/tests/network/playbooks/tasks/show_interfaces.yml for /cache/centos-6.qcow2c.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmpa_fzm6o2/tests/network/playbooks/tasks/show_interfaces.yml:3 Wednesday 03 August 2022 17:01:16 +0000 (0:00:00.047) 0:00:04.211 ****** included: /tmp/tmpa_fzm6o2/tests/network/playbooks/tasks/get_current_interfaces.yml for /cache/centos-6.qcow2c.snap TASK [Gather current interface info] ******************************************* task path: /tmp/tmpa_fzm6o2/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 03 August 2022 17:01:16 +0000 (0:00:00.044) 0:00:04.255 ****** ok: [/cache/centos-6.qcow2c.snap] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003989", "end": "2022-08-03 17:01:15.986066", "rc": 0, "start": "2022-08-03 17:01:15.982077" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/tmpa_fzm6o2/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 03 August 2022 17:01:17 +0000 (0:00:00.304) 0:00:04.560 ****** ok: [/cache/centos-6.qcow2c.snap] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/tmpa_fzm6o2/tests/network/playbooks/tasks/show_interfaces.yml:4 Wednesday 03 August 2022 17:01:17 +0000 (0:00:00.047) 0:00:04.608 ****** ok: [/cache/centos-6.qcow2c.snap] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [include_tasks] *********************************************************** task path: /tmp/tmpa_fzm6o2/tests/network/playbooks/tests_ethtool_ring.yml:18 Wednesday 03 August 2022 17:01:17 +0000 (0:00:00.085) 0:00:04.693 ****** included: /tmp/tmpa_fzm6o2/tests/network/playbooks/tasks/manage_test_interface.yml for /cache/centos-6.qcow2c.snap TASK [Ensure state in ["present", "absent"]] *********************************** task path: /tmp/tmpa_fzm6o2/tests/network/playbooks/tasks/manage_test_interface.yml:3 Wednesday 03 August 2022 17:01:17 +0000 (0:00:00.053) 0:00:04.747 ****** skipping: [/cache/centos-6.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /tmp/tmpa_fzm6o2/tests/network/playbooks/tasks/manage_test_interface.yml:8 Wednesday 03 August 2022 17:01:17 +0000 (0:00:00.038) 0:00:04.785 ****** skipping: [/cache/centos-6.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [include_tasks] *********************************************************** task path: /tmp/tmpa_fzm6o2/tests/network/playbooks/tasks/manage_test_interface.yml:13 Wednesday 03 August 2022 17:01:17 +0000 (0:00:00.038) 0:00:04.824 ****** included: /tmp/tmpa_fzm6o2/tests/network/playbooks/tasks/show_interfaces.yml for /cache/centos-6.qcow2c.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmpa_fzm6o2/tests/network/playbooks/tasks/show_interfaces.yml:3 Wednesday 03 August 2022 17:01:17 +0000 (0:00:00.049) 0:00:04.873 ****** included: /tmp/tmpa_fzm6o2/tests/network/playbooks/tasks/get_current_interfaces.yml for /cache/centos-6.qcow2c.snap TASK [Gather current interface info] ******************************************* task path: /tmp/tmpa_fzm6o2/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 03 August 2022 17:01:17 +0000 (0:00:00.048) 0:00:04.921 ****** ok: [/cache/centos-6.qcow2c.snap] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.004131", "end": "2022-08-03 17:01:16.671659", "rc": 0, "start": "2022-08-03 17:01:16.667528" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/tmpa_fzm6o2/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 03 August 2022 17:01:17 +0000 (0:00:00.324) 0:00:05.246 ****** ok: [/cache/centos-6.qcow2c.snap] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/tmpa_fzm6o2/tests/network/playbooks/tasks/show_interfaces.yml:4 Wednesday 03 August 2022 17:01:17 +0000 (0:00:00.046) 0:00:05.293 ****** ok: [/cache/centos-6.qcow2c.snap] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /tmp/tmpa_fzm6o2/tests/network/playbooks/tasks/manage_test_interface.yml:15 Wednesday 03 August 2022 17:01:17 +0000 (0:00:00.048) 0:00:05.341 ****** ok: [/cache/centos-6.qcow2c.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/tmpa_fzm6o2/tests/network/playbooks/tasks/manage_test_interface.yml:21 Wednesday 03 August 2022 17:01:18 +0000 (0:00:00.645) 0:00:05.986 ****** changed: [/cache/centos-6.qcow2c.snap] => (item=ip link add testnic1 type veth peer name peertestnic1) => { "ansible_loop_var": "item", "changed": true, "cmd": [ "ip", "link", "add", "testnic1", "type", "veth", "peer", "name", "peertestnic1" ], "delta": "0:00:00.004329", "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, Jun 20 2019, 14:14:55) [GCC 4.4.7 20120313 (Red Hat 4.4.7-23)]", "version": "2.13" } ], "end": "2022-08-03 17:01:17.711806", "item": "ip link add testnic1 type veth peer name peertestnic1", "rc": 0, "start": "2022-08-03 17:01:17.707477" } changed: [/cache/centos-6.qcow2c.snap] => (item=ip link set peertestnic1 up) => { "ansible_loop_var": "item", "changed": true, "cmd": [ "ip", "link", "set", "peertestnic1", "up" ], "delta": "0:00:00.008876", "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, Jun 20 2019, 14:14:55) [GCC 4.4.7 20120313 (Red Hat 4.4.7-23)]", "version": "2.13" } ], "end": "2022-08-03 17:01:17.991935", "item": "ip link set peertestnic1 up", "rc": 0, "start": "2022-08-03 17:01:17.983059" } changed: [/cache/centos-6.qcow2c.snap] => (item=ip link set testnic1 up) => { "ansible_loop_var": "item", "changed": true, "cmd": [ "ip", "link", "set", "testnic1", "up" ], "delta": "0:00:00.005124", "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, Jun 20 2019, 14:14:55) [GCC 4.4.7 20120313 (Red Hat 4.4.7-23)]", "version": "2.13" } ], "end": "2022-08-03 17:01:18.259042", "item": "ip link set testnic1 up", "rc": 0, "start": "2022-08-03 17:01:18.253918" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /tmp/tmpa_fzm6o2/tests/network/playbooks/tasks/manage_test_interface.yml:28 Wednesday 03 August 2022 17:01:19 +0000 (0:00:00.847) 0:00:06.834 ****** fatal: [/cache/centos-6.qcow2c.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/tmpa_fzm6o2/tests/network/playbooks/tasks/manage_test_interface.yml:35 Wednesday 03 August 2022 17:01:19 +0000 (0:00:00.301) 0:00:07.135 ****** skipping: [/cache/centos-6.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create dummy interface testnic1] ***************************************** task path: /tmp/tmpa_fzm6o2/tests/network/playbooks/tasks/manage_test_interface.yml:40 Wednesday 03 August 2022 17:01:19 +0000 (0:00:00.035) 0:00:07.171 ****** skipping: [/cache/centos-6.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface testnic1] ***************************************** task path: /tmp/tmpa_fzm6o2/tests/network/playbooks/tasks/manage_test_interface.yml:44 Wednesday 03 August 2022 17:01:19 +0000 (0:00:00.034) 0:00:07.206 ****** skipping: [/cache/centos-6.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface testnic1] ******************************************* task path: /tmp/tmpa_fzm6o2/tests/network/playbooks/tasks/manage_test_interface.yml:49 Wednesday 03 August 2022 17:01:19 +0000 (0:00:00.036) 0:00:07.242 ****** skipping: [/cache/centos-6.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface testnic1] ******************************************* task path: /tmp/tmpa_fzm6o2/tests/network/playbooks/tasks/manage_test_interface.yml:53 Wednesday 03 August 2022 17:01:19 +0000 (0:00:00.036) 0:00:07.278 ****** skipping: [/cache/centos-6.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [include_tasks] *********************************************************** task path: /tmp/tmpa_fzm6o2/tests/network/playbooks/tests_ethtool_ring.yml:21 Wednesday 03 August 2022 17:01:19 +0000 (0:00:00.039) 0:00:07.317 ****** included: /tmp/tmpa_fzm6o2/tests/network/playbooks/tasks/assert_device_present.yml for /cache/centos-6.qcow2c.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmpa_fzm6o2/tests/network/playbooks/tasks/assert_device_present.yml:3 Wednesday 03 August 2022 17:01:19 +0000 (0:00:00.048) 0:00:07.366 ****** included: /tmp/tmpa_fzm6o2/tests/network/playbooks/tasks/get_interface_stat.yml for /cache/centos-6.qcow2c.snap TASK [Get stat for interface testnic1] ***************************************** task path: /tmp/tmpa_fzm6o2/tests/network/playbooks/tasks/get_interface_stat.yml:3 Wednesday 03 August 2022 17:01:19 +0000 (0:00:00.047) 0:00:07.413 ****** ok: [/cache/centos-6.qcow2c.snap] => { "changed": false, "stat": { "atime": 1659546077.725, "block_size": 4096, "blocks": 0, "ctime": 1659546077.713, "dev": 0, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 7950, "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": 1659546077.713, "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/tmpa_fzm6o2/tests/network/playbooks/tasks/assert_device_present.yml:4 Wednesday 03 August 2022 17:01:20 +0000 (0:00:00.290) 0:00:07.704 ****** ok: [/cache/centos-6.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [Install ethtool (test dependency)] *************************************** task path: /tmp/tmpa_fzm6o2/tests/network/playbooks/tests_ethtool_ring.yml:22 Wednesday 03 August 2022 17:01:20 +0000 (0:00:00.047) 0:00:07.752 ****** ok: [/cache/centos-6.qcow2c.snap] => { "changed": false, "rc": 0, "results": [ "2:ethtool-3.5-6.el6.x86_64 providing ethtool is already installed" ] } TASK [TEST: I can create a profile without any ring option.] ******************* task path: /tmp/tmpa_fzm6o2/tests/network/playbooks/tests_ethtool_ring.yml:28 Wednesday 03 August 2022 17:01:20 +0000 (0:00:00.493) 0:00:08.246 ****** ok: [/cache/centos-6.qcow2c.snap] => {} MSG: ################################################## TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/tmpb95mhbnh/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 03 August 2022 17:01:20 +0000 (0:00:00.046) 0:00:08.292 ****** included: /tmp/tmpb95mhbnh/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for /cache/centos-6.qcow2c.snap TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/tmpb95mhbnh/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 03 August 2022 17:01:20 +0000 (0:00:00.057) 0:00:08.350 ****** ok: [/cache/centos-6.qcow2c.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/tmpb95mhbnh/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 Wednesday 03 August 2022 17:01:21 +0000 (0:00:00.410) 0:00:08.760 ****** ok: [/cache/centos-6.qcow2c.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/tmpb95mhbnh/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 Wednesday 03 August 2022 17:01:22 +0000 (0:00:01.256) 0:00:10.016 ****** ok: [/cache/centos-6.qcow2c.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/tmpb95mhbnh/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 03 August 2022 17:01:23 +0000 (0:00:00.827) 0:00:10.844 ****** ok: [/cache/centos-6.qcow2c.snap] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/tmpb95mhbnh/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 03 August 2022 17:01:23 +0000 (0:00:00.109) 0:00:10.953 ****** skipping: [/cache/centos-6.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/tmpb95mhbnh/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 03 August 2022 17:01:23 +0000 (0:00:00.045) 0:00:10.999 ****** skipping: [/cache/centos-6.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/tmpb95mhbnh/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Wednesday 03 August 2022 17:01:23 +0000 (0:00:00.042) 0:00:11.041 ****** skipping: [/cache/centos-6.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/tmpb95mhbnh/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:35 Wednesday 03 August 2022 17:01:23 +0000 (0:00:00.068) 0:00:11.110 ****** skipping: [/cache/centos-6.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/tmpb95mhbnh/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:45 Wednesday 03 August 2022 17:01:23 +0000 (0:00:00.047) 0:00:11.158 ****** skipping: [/cache/centos-6.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/tmpb95mhbnh/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:56 Wednesday 03 August 2022 17:01:23 +0000 (0:00:00.048) 0:00:11.206 ****** skipping: [/cache/centos-6.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/tmpb95mhbnh/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:69 Wednesday 03 August 2022 17:01:23 +0000 (0:00:00.050) 0:00:11.257 ****** skipping: [/cache/centos-6.qcow2c.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/tmpb95mhbnh/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:80 Wednesday 03 August 2022 17:01:23 +0000 (0:00:00.047) 0:00:11.304 ****** skipping: [/cache/centos-6.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/tmpb95mhbnh/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:89 Wednesday 03 August 2022 17:01:23 +0000 (0:00:00.043) 0:00:11.348 ****** ok: [/cache/centos-6.qcow2c.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/tmpb95mhbnh/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:97 Wednesday 03 August 2022 17:01:24 +0000 (0:00:00.517) 0:00:11.865 ****** ok: [/cache/centos-6.qcow2c.snap] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-160837_m2bu1kc/tmpk068tzh3" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/tmpb95mhbnh/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 Wednesday 03 August 2022 17:01:24 +0000 (0:00:00.312) 0:00:12.178 ****** changed: [/cache/centos-6.qcow2c.snap] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "testnic1", "state": "up", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [003] #0, state:up persistent_state:present, 'testnic1': add ifcfg-rh profile 'testnic1' [004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1 (is-modified) [005] #0, state:up persistent_state:present, 'testnic1': call 'ifup testnic1': rc=0, out='', err='' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/tmpb95mhbnh/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:118 Wednesday 03 August 2022 17:01:25 +0000 (0:00:00.632) 0:00:12.810 ****** skipping: [/cache/centos-6.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/tmpb95mhbnh/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Wednesday 03 August 2022 17:01:25 +0000 (0:00:00.046) 0:00:12.857 ****** ok: [/cache/centos-6.qcow2c.snap] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'testnic1': add ifcfg-rh profile 'testnic1'", "[004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1 (is-modified)", "[005] #0, state:up persistent_state:present, 'testnic1': call 'ifup testnic1': rc=0, out='', err=''" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/tmpb95mhbnh/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:128 Wednesday 03 August 2022 17:01:25 +0000 (0:00:00.053) 0:00:12.910 ****** ok: [/cache/centos-6.qcow2c.snap] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "testnic1", "state": "up", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "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, Jun 20 2019, 14:14:55) [GCC 4.4.7 20120313 (Red Hat 4.4.7-23)]", "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/tmpb95mhbnh/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Wednesday 03 August 2022 17:01:25 +0000 (0:00:00.090) 0:00:13.001 ****** skipping: [/cache/centos-6.qcow2c.snap] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/tmpb95mhbnh/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Wednesday 03 August 2022 17:01:25 +0000 (0:00:00.073) 0:00:13.074 ****** ok: [/cache/centos-6.qcow2c.snap] => { "changed": false, "ping": "pong" } META: role_complete for /cache/centos-6.qcow2c.snap TASK [Get profile's ring options] ********************************************** task path: /tmp/tmpa_fzm6o2/tests/network/playbooks/tests_ethtool_ring.yml:44 Wednesday 03 August 2022 17:01:26 +0000 (0:00:00.418) 0:00:13.493 ****** skipping: [/cache/centos-6.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [ASSERT: The profile does not contain ring options] *********************** task path: /tmp/tmpa_fzm6o2/tests/network/playbooks/tests_ethtool_ring.yml:49 Wednesday 03 August 2022 17:01:26 +0000 (0:00:00.042) 0:00:13.536 ****** skipping: [/cache/centos-6.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get profile's ring options] ********************************************** task path: /tmp/tmpa_fzm6o2/tests/network/playbooks/tests_ethtool_ring.yml:54 Wednesday 03 August 2022 17:01:26 +0000 (0:00:00.042) 0:00:13.578 ****** fatal: [/cache/centos-6.qcow2c.snap]: FAILED! => { "changed": true, "cmd": [ "grep", "ETHTOOL", "/etc/sysconfig/network-scripts/ifcfg-testnic1" ], "delta": "0:00:00.003937", "end": "2022-08-03 17:01:25.303536", "rc": 1, "start": "2022-08-03 17:01:25.299599" } MSG: non-zero return code ...ignoring TASK [ASSERT: The profile does not contain ring options] *********************** task path: /tmp/tmpa_fzm6o2/tests/network/playbooks/tests_ethtool_ring.yml:60 Wednesday 03 August 2022 17:01:26 +0000 (0:00:00.305) 0:00:13.884 ****** ok: [/cache/centos-6.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [TEST: I can set rx.] ***************************************************** task path: /tmp/tmpa_fzm6o2/tests/network/playbooks/tests_ethtool_ring.yml:66 Wednesday 03 August 2022 17:01:26 +0000 (0:00:00.054) 0:00:13.939 ****** ok: [/cache/centos-6.qcow2c.snap] => {} MSG: ################################################## TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/tmpb95mhbnh/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 03 August 2022 17:01:26 +0000 (0:00:00.053) 0:00:13.992 ****** included: /tmp/tmpb95mhbnh/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for /cache/centos-6.qcow2c.snap TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/tmpb95mhbnh/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 03 August 2022 17:01:26 +0000 (0:00:00.063) 0:00:14.055 ****** ok: [/cache/centos-6.qcow2c.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/tmpb95mhbnh/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 Wednesday 03 August 2022 17:01:27 +0000 (0:00:00.406) 0:00:14.462 ****** ok: [/cache/centos-6.qcow2c.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/tmpb95mhbnh/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 Wednesday 03 August 2022 17:01:28 +0000 (0:00:01.032) 0:00:15.494 ****** ok: [/cache/centos-6.qcow2c.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/tmpb95mhbnh/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 03 August 2022 17:01:28 +0000 (0:00:00.566) 0:00:16.060 ****** ok: [/cache/centos-6.qcow2c.snap] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/tmpb95mhbnh/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 03 August 2022 17:01:28 +0000 (0:00:00.051) 0:00:16.112 ****** skipping: [/cache/centos-6.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/tmpb95mhbnh/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 03 August 2022 17:01:28 +0000 (0:00:00.042) 0:00:16.154 ****** skipping: [/cache/centos-6.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/tmpb95mhbnh/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Wednesday 03 August 2022 17:01:28 +0000 (0:00:00.049) 0:00:16.203 ****** skipping: [/cache/centos-6.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/tmpb95mhbnh/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:35 Wednesday 03 August 2022 17:01:28 +0000 (0:00:00.067) 0:00:16.270 ****** skipping: [/cache/centos-6.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/tmpb95mhbnh/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:45 Wednesday 03 August 2022 17:01:28 +0000 (0:00:00.044) 0:00:16.315 ****** skipping: [/cache/centos-6.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/tmpb95mhbnh/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:56 Wednesday 03 August 2022 17:01:28 +0000 (0:00:00.043) 0:00:16.358 ****** skipping: [/cache/centos-6.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/tmpb95mhbnh/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:69 Wednesday 03 August 2022 17:01:28 +0000 (0:00:00.049) 0:00:16.408 ****** skipping: [/cache/centos-6.qcow2c.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/tmpb95mhbnh/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:80 Wednesday 03 August 2022 17:01:29 +0000 (0:00:00.044) 0:00:16.452 ****** skipping: [/cache/centos-6.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/tmpb95mhbnh/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:89 Wednesday 03 August 2022 17:01:29 +0000 (0:00:00.043) 0:00:16.495 ****** ok: [/cache/centos-6.qcow2c.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/tmpb95mhbnh/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:97 Wednesday 03 August 2022 17:01:29 +0000 (0:00:00.359) 0:00:16.855 ****** ok: [/cache/centos-6.qcow2c.snap] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-160837_m2bu1kc/tmpophslijv" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/tmpb95mhbnh/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 Wednesday 03 August 2022 17:01:29 +0000 (0:00:00.307) 0:00:17.162 ****** changed: [/cache/centos-6.qcow2c.snap] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "ethtool": { "ring": { "rx": 128, "rx_jumbo": 128, "rx_mini": 128, "tx": 128 } }, "ip": { "auto6": false, "dhcp4": false }, "name": "testnic1", "state": "up", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [003] #0, state:up persistent_state:present, 'testnic1': update ifcfg-rh profile 'testnic1' [004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1 (is-modified) [005] #0, state:up persistent_state:present, 'testnic1': call 'ifup testnic1': rc=0, out='', err='Cannot get device ring settings: Operation not supported ' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/tmpb95mhbnh/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:118 Wednesday 03 August 2022 17:01:30 +0000 (0:00:00.513) 0:00:17.676 ****** skipping: [/cache/centos-6.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/tmpb95mhbnh/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Wednesday 03 August 2022 17:01:30 +0000 (0:00:00.044) 0:00:17.720 ****** ok: [/cache/centos-6.qcow2c.snap] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'testnic1': update ifcfg-rh profile 'testnic1'", "[004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1 (is-modified)", "[005] #0, state:up persistent_state:present, 'testnic1': call 'ifup testnic1': rc=0, out='', err='Cannot get device ring settings: Operation not supported", "'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/tmpb95mhbnh/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:128 Wednesday 03 August 2022 17:01:30 +0000 (0:00:00.053) 0:00:17.774 ****** ok: [/cache/centos-6.qcow2c.snap] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "ethtool": { "ring": { "rx": 128, "rx_jumbo": 128, "rx_mini": 128, "tx": 128 } }, "ip": { "auto6": false, "dhcp4": false }, "name": "testnic1", "state": "up", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "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, Jun 20 2019, 14:14:55) [GCC 4.4.7 20120313 (Red Hat 4.4.7-23)]", "version": "2.13" } ], "failed": false, "stderr": "[003] #0, state:up persistent_state:present, 'testnic1': update ifcfg-rh profile 'testnic1'\n[004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1 (is-modified)\n[005] #0, state:up persistent_state:present, 'testnic1': call 'ifup testnic1': rc=0, out='', err='Cannot get device ring settings: Operation not supported\n'\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'testnic1': update ifcfg-rh profile 'testnic1'", "[004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1 (is-modified)", "[005] #0, state:up persistent_state:present, 'testnic1': call 'ifup testnic1': rc=0, out='', err='Cannot get device ring settings: Operation not supported", "'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/tmpb95mhbnh/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Wednesday 03 August 2022 17:01:30 +0000 (0:00:00.056) 0:00:17.831 ****** skipping: [/cache/centos-6.qcow2c.snap] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/tmpb95mhbnh/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Wednesday 03 August 2022 17:01:30 +0000 (0:00:00.049) 0:00:17.880 ****** ok: [/cache/centos-6.qcow2c.snap] => { "changed": false, "ping": "pong" } META: role_complete for /cache/centos-6.qcow2c.snap TASK [Get profile's ethtool.ring-rx options] *********************************** task path: /tmp/tmpa_fzm6o2/tests/network/playbooks/tests_ethtool_ring.yml:88 Wednesday 03 August 2022 17:01:30 +0000 (0:00:00.323) 0:00:18.204 ****** skipping: [/cache/centos-6.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert ethtool.ring-rx option set in profile] **************************** task path: /tmp/tmpa_fzm6o2/tests/network/playbooks/tests_ethtool_ring.yml:93 Wednesday 03 August 2022 17:01:30 +0000 (0:00:00.047) 0:00:18.252 ****** skipping: [/cache/centos-6.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get profile's ethtool.ring-rx-jumbo options] ***************************** task path: /tmp/tmpa_fzm6o2/tests/network/playbooks/tests_ethtool_ring.yml:98 Wednesday 03 August 2022 17:01:30 +0000 (0:00:00.043) 0:00:18.295 ****** skipping: [/cache/centos-6.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert ethtool.ring-rx-jumbo option set in profile] ********************** task path: /tmp/tmpa_fzm6o2/tests/network/playbooks/tests_ethtool_ring.yml:103 Wednesday 03 August 2022 17:01:30 +0000 (0:00:00.043) 0:00:18.339 ****** skipping: [/cache/centos-6.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get profile's ethtool.ring-rx-mini options] ****************************** task path: /tmp/tmpa_fzm6o2/tests/network/playbooks/tests_ethtool_ring.yml:108 Wednesday 03 August 2022 17:01:30 +0000 (0:00:00.040) 0:00:18.380 ****** skipping: [/cache/centos-6.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert ethtool.ring-rx-mini option set in profile] *********************** task path: /tmp/tmpa_fzm6o2/tests/network/playbooks/tests_ethtool_ring.yml:113 Wednesday 03 August 2022 17:01:30 +0000 (0:00:00.039) 0:00:18.419 ****** skipping: [/cache/centos-6.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get profile's ethtool.ring-tx options] *********************************** task path: /tmp/tmpa_fzm6o2/tests/network/playbooks/tests_ethtool_ring.yml:118 Wednesday 03 August 2022 17:01:31 +0000 (0:00:00.044) 0:00:18.464 ****** skipping: [/cache/centos-6.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert ethtool.ring-tx option set in profile] **************************** task path: /tmp/tmpa_fzm6o2/tests/network/playbooks/tests_ethtool_ring.yml:123 Wednesday 03 August 2022 17:01:31 +0000 (0:00:00.040) 0:00:18.505 ****** skipping: [/cache/centos-6.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get profile's ethtool.ring options] ************************************** task path: /tmp/tmpa_fzm6o2/tests/network/playbooks/tests_ethtool_ring.yml:129 Wednesday 03 August 2022 17:01:31 +0000 (0:00:00.040) 0:00:18.545 ****** changed: [/cache/centos-6.qcow2c.snap] => { "changed": true, "cmd": [ "grep", "ETHTOOL", "/etc/sysconfig/network-scripts/ifcfg-testnic1" ], "delta": "0:00:00.003593", "end": "2022-08-03 17:01:30.261161", "rc": 0, "start": "2022-08-03 17:01:30.257568" } STDOUT: ETHTOOL_OPTS="-G testnic1 rx 128 rx-jumbo 128 tx 128 rx-mini 128" TASK [Assert ethtool.ring option set in profile] ******************************* task path: /tmp/tmpa_fzm6o2/tests/network/playbooks/tests_ethtool_ring.yml:135 Wednesday 03 August 2022 17:01:31 +0000 (0:00:00.298) 0:00:18.843 ****** ok: [/cache/centos-6.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [TEST: I can clear ring options] ****************************************** task path: /tmp/tmpa_fzm6o2/tests/network/playbooks/tests_ethtool_ring.yml:145 Wednesday 03 August 2022 17:01:31 +0000 (0:00:00.058) 0:00:18.902 ****** ok: [/cache/centos-6.qcow2c.snap] => {} MSG: ################################################## TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/tmpb95mhbnh/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 03 August 2022 17:01:31 +0000 (0:00:00.050) 0:00:18.952 ****** included: /tmp/tmpb95mhbnh/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for /cache/centos-6.qcow2c.snap TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/tmpb95mhbnh/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 03 August 2022 17:01:31 +0000 (0:00:00.062) 0:00:19.015 ****** ok: [/cache/centos-6.qcow2c.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/tmpb95mhbnh/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 Wednesday 03 August 2022 17:01:32 +0000 (0:00:00.460) 0:00:19.476 ****** ok: [/cache/centos-6.qcow2c.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/tmpb95mhbnh/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 Wednesday 03 August 2022 17:01:33 +0000 (0:00:01.007) 0:00:20.483 ****** ok: [/cache/centos-6.qcow2c.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/tmpb95mhbnh/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 03 August 2022 17:01:33 +0000 (0:00:00.553) 0:00:21.036 ****** ok: [/cache/centos-6.qcow2c.snap] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/tmpb95mhbnh/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 03 August 2022 17:01:33 +0000 (0:00:00.056) 0:00:21.092 ****** skipping: [/cache/centos-6.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/tmpb95mhbnh/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 03 August 2022 17:01:33 +0000 (0:00:00.046) 0:00:21.139 ****** skipping: [/cache/centos-6.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/tmpb95mhbnh/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Wednesday 03 August 2022 17:01:33 +0000 (0:00:00.043) 0:00:21.182 ****** skipping: [/cache/centos-6.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/tmpb95mhbnh/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:35 Wednesday 03 August 2022 17:01:33 +0000 (0:00:00.069) 0:00:21.251 ****** skipping: [/cache/centos-6.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/tmpb95mhbnh/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:45 Wednesday 03 August 2022 17:01:33 +0000 (0:00:00.045) 0:00:21.297 ****** skipping: [/cache/centos-6.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/tmpb95mhbnh/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:56 Wednesday 03 August 2022 17:01:33 +0000 (0:00:00.045) 0:00:21.342 ****** skipping: [/cache/centos-6.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/tmpb95mhbnh/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:69 Wednesday 03 August 2022 17:01:33 +0000 (0:00:00.052) 0:00:21.395 ****** skipping: [/cache/centos-6.qcow2c.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/tmpb95mhbnh/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:80 Wednesday 03 August 2022 17:01:34 +0000 (0:00:00.045) 0:00:21.440 ****** skipping: [/cache/centos-6.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/tmpb95mhbnh/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:89 Wednesday 03 August 2022 17:01:34 +0000 (0:00:00.078) 0:00:21.518 ****** ok: [/cache/centos-6.qcow2c.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/tmpb95mhbnh/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:97 Wednesday 03 August 2022 17:01:34 +0000 (0:00:00.379) 0:00:21.897 ****** ok: [/cache/centos-6.qcow2c.snap] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-160837_m2bu1kc/tmp6o6ohjlz" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/tmpb95mhbnh/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 Wednesday 03 August 2022 17:01:34 +0000 (0:00:00.320) 0:00:22.218 ****** changed: [/cache/centos-6.qcow2c.snap] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "testnic1", "state": "up", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [003] #0, state:up persistent_state:present, 'testnic1': update ifcfg-rh profile 'testnic1' [004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1 (is-modified) [005] #0, state:up persistent_state:present, 'testnic1': call 'ifup testnic1': rc=0, out='', err='' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/tmpb95mhbnh/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:118 Wednesday 03 August 2022 17:01:35 +0000 (0:00:00.487) 0:00:22.706 ****** skipping: [/cache/centos-6.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/tmpb95mhbnh/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Wednesday 03 August 2022 17:01:35 +0000 (0:00:00.050) 0:00:22.757 ****** ok: [/cache/centos-6.qcow2c.snap] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'testnic1': update ifcfg-rh profile 'testnic1'", "[004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1 (is-modified)", "[005] #0, state:up persistent_state:present, 'testnic1': call 'ifup testnic1': rc=0, out='', err=''" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/tmpb95mhbnh/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:128 Wednesday 03 August 2022 17:01:35 +0000 (0:00:00.056) 0:00:22.813 ****** ok: [/cache/centos-6.qcow2c.snap] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "testnic1", "state": "up", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "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, Jun 20 2019, 14:14:55) [GCC 4.4.7 20120313 (Red Hat 4.4.7-23)]", "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/tmpb95mhbnh/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Wednesday 03 August 2022 17:01:35 +0000 (0:00:00.056) 0:00:22.870 ****** skipping: [/cache/centos-6.qcow2c.snap] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/tmpb95mhbnh/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Wednesday 03 August 2022 17:01:35 +0000 (0:00:00.047) 0:00:22.917 ****** ok: [/cache/centos-6.qcow2c.snap] => { "changed": false, "ping": "pong" } META: role_complete for /cache/centos-6.qcow2c.snap TASK [Get profile's ring options] ********************************************** task path: /tmp/tmpa_fzm6o2/tests/network/playbooks/tests_ethtool_ring.yml:160 Wednesday 03 August 2022 17:01:35 +0000 (0:00:00.321) 0:00:23.238 ****** skipping: [/cache/centos-6.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [ASSERT: The profile does reset ring options] ***************************** task path: /tmp/tmpa_fzm6o2/tests/network/playbooks/tests_ethtool_ring.yml:165 Wednesday 03 August 2022 17:01:35 +0000 (0:00:00.042) 0:00:23.281 ****** skipping: [/cache/centos-6.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get profile's ring options] ********************************************** task path: /tmp/tmpa_fzm6o2/tests/network/playbooks/tests_ethtool_ring.yml:170 Wednesday 03 August 2022 17:01:35 +0000 (0:00:00.042) 0:00:23.323 ****** fatal: [/cache/centos-6.qcow2c.snap]: FAILED! => { "changed": true, "cmd": [ "grep", "ETHTOOL", "/etc/sysconfig/network-scripts/ifcfg-testnic1" ], "delta": "0:00:00.003589", "end": "2022-08-03 17:01:35.049642", "rc": 1, "start": "2022-08-03 17:01:35.046053" } MSG: non-zero return code ...ignoring TASK [ASSERT: The profile does reset ring options] ***************************** task path: /tmp/tmpa_fzm6o2/tests/network/playbooks/tests_ethtool_ring.yml:176 Wednesday 03 August 2022 17:01:36 +0000 (0:00:00.306) 0:00:23.630 ****** ok: [/cache/centos-6.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/tmpb95mhbnh/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 03 August 2022 17:01:36 +0000 (0:00:00.098) 0:00:23.728 ****** included: /tmp/tmpb95mhbnh/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for /cache/centos-6.qcow2c.snap TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/tmpb95mhbnh/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 03 August 2022 17:01:36 +0000 (0:00:00.103) 0:00:23.832 ****** ok: [/cache/centos-6.qcow2c.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/tmpb95mhbnh/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 Wednesday 03 August 2022 17:01:36 +0000 (0:00:00.404) 0:00:24.236 ****** ok: [/cache/centos-6.qcow2c.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/tmpb95mhbnh/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 Wednesday 03 August 2022 17:01:37 +0000 (0:00:01.036) 0:00:25.273 ****** ok: [/cache/centos-6.qcow2c.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/tmpb95mhbnh/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 03 August 2022 17:01:38 +0000 (0:00:00.573) 0:00:25.846 ****** ok: [/cache/centos-6.qcow2c.snap] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/tmpb95mhbnh/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 03 August 2022 17:01:38 +0000 (0:00:00.054) 0:00:25.900 ****** skipping: [/cache/centos-6.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/tmpb95mhbnh/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 03 August 2022 17:01:38 +0000 (0:00:00.047) 0:00:25.948 ****** skipping: [/cache/centos-6.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/tmpb95mhbnh/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Wednesday 03 August 2022 17:01:38 +0000 (0:00:00.050) 0:00:25.998 ****** skipping: [/cache/centos-6.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/tmpb95mhbnh/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:35 Wednesday 03 August 2022 17:01:38 +0000 (0:00:00.068) 0:00:26.066 ****** skipping: [/cache/centos-6.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/tmpb95mhbnh/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:45 Wednesday 03 August 2022 17:01:38 +0000 (0:00:00.056) 0:00:26.123 ****** skipping: [/cache/centos-6.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/tmpb95mhbnh/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:56 Wednesday 03 August 2022 17:01:38 +0000 (0:00:00.047) 0:00:26.171 ****** skipping: [/cache/centos-6.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/tmpb95mhbnh/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:69 Wednesday 03 August 2022 17:01:38 +0000 (0:00:00.081) 0:00:26.252 ****** skipping: [/cache/centos-6.qcow2c.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/tmpb95mhbnh/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:80 Wednesday 03 August 2022 17:01:38 +0000 (0:00:00.047) 0:00:26.300 ****** skipping: [/cache/centos-6.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/tmpb95mhbnh/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:89 Wednesday 03 August 2022 17:01:38 +0000 (0:00:00.044) 0:00:26.344 ****** ok: [/cache/centos-6.qcow2c.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/tmpb95mhbnh/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:97 Wednesday 03 August 2022 17:01:39 +0000 (0:00:00.362) 0:00:26.707 ****** ok: [/cache/centos-6.qcow2c.snap] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-160837_m2bu1kc/tmp_8ebsjwy" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/tmpb95mhbnh/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 Wednesday 03 August 2022 17:01:39 +0000 (0:00:00.326) 0:00:27.034 ****** changed: [/cache/centos-6.qcow2c.snap] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "name": "testnic1", "persistent_state": "absent" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:absent, 'testnic1': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-testnic1' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/tmpb95mhbnh/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:118 Wednesday 03 August 2022 17:01:40 +0000 (0:00:00.403) 0:00:27.437 ****** skipping: [/cache/centos-6.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/tmpb95mhbnh/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Wednesday 03 August 2022 17:01:40 +0000 (0:00:00.046) 0:00:27.483 ****** ok: [/cache/centos-6.qcow2c.snap] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:absent, 'testnic1': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-testnic1'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/tmpb95mhbnh/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:128 Wednesday 03 August 2022 17:01:40 +0000 (0:00:00.057) 0:00:27.541 ****** ok: [/cache/centos-6.qcow2c.snap] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "name": "testnic1", "persistent_state": "absent" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "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, Jun 20 2019, 14:14:55) [GCC 4.4.7 20120313 (Red Hat 4.4.7-23)]", "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/tmpb95mhbnh/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Wednesday 03 August 2022 17:01:40 +0000 (0:00:00.054) 0:00:27.596 ****** skipping: [/cache/centos-6.qcow2c.snap] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/tmpb95mhbnh/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Wednesday 03 August 2022 17:01:40 +0000 (0:00:00.047) 0:00:27.643 ****** ok: [/cache/centos-6.qcow2c.snap] => { "changed": false, "ping": "pong" } META: role_complete for /cache/centos-6.qcow2c.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmpa_fzm6o2/tests/network/playbooks/tests_ethtool_ring.yml:192 Wednesday 03 August 2022 17:01:40 +0000 (0:00:00.309) 0:00:27.952 ****** included: /tmp/tmpa_fzm6o2/tests/network/playbooks/tasks/manage_test_interface.yml for /cache/centos-6.qcow2c.snap TASK [Ensure state in ["present", "absent"]] *********************************** task path: /tmp/tmpa_fzm6o2/tests/network/playbooks/tasks/manage_test_interface.yml:3 Wednesday 03 August 2022 17:01:40 +0000 (0:00:00.067) 0:00:28.020 ****** skipping: [/cache/centos-6.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /tmp/tmpa_fzm6o2/tests/network/playbooks/tasks/manage_test_interface.yml:8 Wednesday 03 August 2022 17:01:40 +0000 (0:00:00.042) 0:00:28.062 ****** skipping: [/cache/centos-6.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [include_tasks] *********************************************************** task path: /tmp/tmpa_fzm6o2/tests/network/playbooks/tasks/manage_test_interface.yml:13 Wednesday 03 August 2022 17:01:40 +0000 (0:00:00.043) 0:00:28.106 ****** included: /tmp/tmpa_fzm6o2/tests/network/playbooks/tasks/show_interfaces.yml for /cache/centos-6.qcow2c.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmpa_fzm6o2/tests/network/playbooks/tasks/show_interfaces.yml:3 Wednesday 03 August 2022 17:01:40 +0000 (0:00:00.093) 0:00:28.199 ****** included: /tmp/tmpa_fzm6o2/tests/network/playbooks/tasks/get_current_interfaces.yml for /cache/centos-6.qcow2c.snap TASK [Gather current interface info] ******************************************* task path: /tmp/tmpa_fzm6o2/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 03 August 2022 17:01:40 +0000 (0:00:00.062) 0:00:28.262 ****** ok: [/cache/centos-6.qcow2c.snap] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.004062", "end": "2022-08-03 17:01:39.993580", "rc": 0, "start": "2022-08-03 17:01:39.989518" } STDOUT: eth0 lo peertestnic1 testnic1 TASK [Set current_interfaces] ************************************************** task path: /tmp/tmpa_fzm6o2/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 03 August 2022 17:01:41 +0000 (0:00:00.314) 0:00:28.576 ****** ok: [/cache/centos-6.qcow2c.snap] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo", "peertestnic1", "testnic1" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/tmpa_fzm6o2/tests/network/playbooks/tasks/show_interfaces.yml:4 Wednesday 03 August 2022 17:01:41 +0000 (0:00:00.051) 0:00:28.628 ****** ok: [/cache/centos-6.qcow2c.snap] => {} MSG: current_interfaces: ['eth0', 'lo', 'peertestnic1', 'testnic1'] TASK [Install iproute] ********************************************************* task path: /tmp/tmpa_fzm6o2/tests/network/playbooks/tasks/manage_test_interface.yml:15 Wednesday 03 August 2022 17:01:41 +0000 (0:00:00.051) 0:00:28.679 ****** ok: [/cache/centos-6.qcow2c.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/tmpa_fzm6o2/tests/network/playbooks/tasks/manage_test_interface.yml:21 Wednesday 03 August 2022 17:01:41 +0000 (0:00:00.521) 0:00:29.201 ****** skipping: [/cache/centos-6.qcow2c.snap] => (item=ip link add testnic1 type veth peer name peertestnic1) => { "ansible_loop_var": "item", "changed": false, "item": "ip link add testnic1 type veth peer name peertestnic1", "skip_reason": "Conditional result was False" } skipping: [/cache/centos-6.qcow2c.snap] => (item=ip link set peertestnic1 up) => { "ansible_loop_var": "item", "changed": false, "item": "ip link set peertestnic1 up", "skip_reason": "Conditional result was False" } skipping: [/cache/centos-6.qcow2c.snap] => (item=ip link set testnic1 up) => { "ansible_loop_var": "item", "changed": false, "item": "ip link set testnic1 up", "skip_reason": "Conditional result was False" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /tmp/tmpa_fzm6o2/tests/network/playbooks/tasks/manage_test_interface.yml:28 Wednesday 03 August 2022 17:01:41 +0000 (0:00:00.062) 0:00:29.263 ****** skipping: [/cache/centos-6.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete veth interface testnic1] ****************************************** task path: /tmp/tmpa_fzm6o2/tests/network/playbooks/tasks/manage_test_interface.yml:35 Wednesday 03 August 2022 17:01:41 +0000 (0:00:00.047) 0:00:29.311 ****** changed: [/cache/centos-6.qcow2c.snap] => { "changed": true, "cmd": [ "ip", "link", "del", "testnic1", "type", "veth" ], "delta": "0:00:00.043495", "end": "2022-08-03 17:01:41.093562", "rc": 0, "start": "2022-08-03 17:01:41.050067" } TASK [Create dummy interface testnic1] ***************************************** task path: /tmp/tmpa_fzm6o2/tests/network/playbooks/tasks/manage_test_interface.yml:40 Wednesday 03 August 2022 17:01:42 +0000 (0:00:00.373) 0:00:29.684 ****** skipping: [/cache/centos-6.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface testnic1] ***************************************** task path: /tmp/tmpa_fzm6o2/tests/network/playbooks/tasks/manage_test_interface.yml:44 Wednesday 03 August 2022 17:01:42 +0000 (0:00:00.043) 0:00:29.728 ****** skipping: [/cache/centos-6.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface testnic1] ******************************************* task path: /tmp/tmpa_fzm6o2/tests/network/playbooks/tasks/manage_test_interface.yml:49 Wednesday 03 August 2022 17:01:42 +0000 (0:00:00.043) 0:00:29.771 ****** skipping: [/cache/centos-6.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface testnic1] ******************************************* task path: /tmp/tmpa_fzm6o2/tests/network/playbooks/tasks/manage_test_interface.yml:53 Wednesday 03 August 2022 17:01:42 +0000 (0:00:00.046) 0:00:29.818 ****** skipping: [/cache/centos-6.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/centos-6.qcow2c.snap : ok=92 changed=10 unreachable=0 failed=0 skipped=70 rescued=0 ignored=3 Wednesday 03 August 2022 17:01:42 +0000 (0:00:00.059) 0:00:29.877 ****** =============================================================================== fedora.linux_system_roles.network : Check which services are running ---- 1.26s /tmp/tmpb95mhbnh/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 fedora.linux_system_roles.network : Configure networking connection profiles --- 1.12s /tmp/tmpb95mhbnh/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 fedora.linux_system_roles.network : Check which services are running ---- 1.04s /tmp/tmpb95mhbnh/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 fedora.linux_system_roles.network : Check which services are running ---- 1.03s /tmp/tmpb95mhbnh/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 fedora.linux_system_roles.network : Check which services are running ---- 1.01s /tmp/tmpb95mhbnh/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 Gathering Facts --------------------------------------------------------- 0.98s /tmp/tmpa_fzm6o2/tests/network/tests_ethtool_ring_initscripts.yml:4 ----------- fedora.linux_system_roles.network : Enable network service -------------- 0.90s /tmp/tmpb95mhbnh/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:89 Create veth interface testnic1 ------------------------------------------ 0.85s /tmp/tmpa_fzm6o2/tests/network/playbooks/tasks/manage_test_interface.yml:21 --- fedora.linux_system_roles.network : Check which packages are installed --- 0.83s /tmp/tmpb95mhbnh/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 fedora.linux_system_roles.network : Re-test connectivity ---------------- 0.74s /tmp/tmpb95mhbnh/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Gathering Facts --------------------------------------------------------- 0.71s /tmp/tmpa_fzm6o2/tests/network/playbooks/tests_ethtool_ring.yml:3 ------------- Fix CentOS6 Base repo --------------------------------------------------- 0.66s /tmp/tmpa_fzm6o2/tests/network/tasks/el_repo_setup.yml:2 ---------------------- Install iproute --------------------------------------------------------- 0.65s /tmp/tmpa_fzm6o2/tests/network/playbooks/tasks/manage_test_interface.yml:15 --- fedora.linux_system_roles.network : Ensure initscripts network file dependency is present --- 0.63s /tmp/tmpb95mhbnh/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:97 fedora.linux_system_roles.network : Check which packages are installed --- 0.57s /tmp/tmpb95mhbnh/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/tmpb95mhbnh/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 fedora.linux_system_roles.network : Check which packages are installed --- 0.55s /tmp/tmpb95mhbnh/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 Enable EPEL 6 ----------------------------------------------------------- 0.52s /tmp/tmpa_fzm6o2/tests/network/tasks/enable_epel.yml:26 ----------------------- Install iproute --------------------------------------------------------- 0.52s /tmp/tmpa_fzm6o2/tests/network/playbooks/tasks/manage_test_interface.yml:15 --- fedora.linux_system_roles.network : Configure networking connection profiles --- 0.51s /tmp/tmpb95mhbnh/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 PLAYBOOK: _restore.yml ********************************************************* 1 plays in /tmp/tmpa_fzm6o2/tests/network/_restore.yml PLAY [all] ********************************************************************* META: ran handlers TASK [Restore system files] **************************************************** task path: /tmp/tmpa_fzm6o2/tests/network/_restore.yml:4 Wednesday 03 August 2022 17:01:42 +0000 (0:00:00.033) 0:00:29.911 ****** changed: [/cache/centos-6.qcow2c.snap] => { "changed": true, "cmd": "(cd /; tar -xf /tmp/network.backup.tar)", "delta": "0:00:00.005931", "end": "2022-08-03 17:01:41.678484", "rc": 0, "start": "2022-08-03 17:01:41.672553" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/centos-6.qcow2c.snap : ok=93 changed=11 unreachable=0 failed=0 skipped=70 rescued=0 ignored=3 Wednesday 03 August 2022 17:01:42 +0000 (0:00:00.365) 0:00:30.276 ****** =============================================================================== fedora.linux_system_roles.network : Check which services are running ---- 1.26s /tmp/tmpb95mhbnh/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 fedora.linux_system_roles.network : Configure networking connection profiles --- 1.12s /tmp/tmpb95mhbnh/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 fedora.linux_system_roles.network : Check which services are running ---- 1.04s /tmp/tmpb95mhbnh/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 fedora.linux_system_roles.network : Check which services are running ---- 1.03s /tmp/tmpb95mhbnh/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 fedora.linux_system_roles.network : Check which services are running ---- 1.01s /tmp/tmpb95mhbnh/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 Gathering Facts --------------------------------------------------------- 0.98s /tmp/tmpa_fzm6o2/tests/network/tests_ethtool_ring_initscripts.yml:4 ----------- fedora.linux_system_roles.network : Enable network service -------------- 0.90s /tmp/tmpb95mhbnh/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:89 Create veth interface testnic1 ------------------------------------------ 0.85s /tmp/tmpa_fzm6o2/tests/network/playbooks/tasks/manage_test_interface.yml:21 --- fedora.linux_system_roles.network : Check which packages are installed --- 0.83s /tmp/tmpb95mhbnh/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 fedora.linux_system_roles.network : Re-test connectivity ---------------- 0.74s /tmp/tmpb95mhbnh/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Gathering Facts --------------------------------------------------------- 0.71s /tmp/tmpa_fzm6o2/tests/network/playbooks/tests_ethtool_ring.yml:3 ------------- Fix CentOS6 Base repo --------------------------------------------------- 0.66s /tmp/tmpa_fzm6o2/tests/network/tasks/el_repo_setup.yml:2 ---------------------- Install iproute --------------------------------------------------------- 0.65s /tmp/tmpa_fzm6o2/tests/network/playbooks/tasks/manage_test_interface.yml:15 --- fedora.linux_system_roles.network : Ensure initscripts network file dependency is present --- 0.63s /tmp/tmpb95mhbnh/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:97 fedora.linux_system_roles.network : Check which packages are installed --- 0.57s /tmp/tmpb95mhbnh/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/tmpb95mhbnh/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 fedora.linux_system_roles.network : Check which packages are installed --- 0.55s /tmp/tmpb95mhbnh/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 Enable EPEL 6 ----------------------------------------------------------- 0.52s /tmp/tmpa_fzm6o2/tests/network/tasks/enable_epel.yml:26 ----------------------- Install iproute --------------------------------------------------------- 0.52s /tmp/tmpa_fzm6o2/tests/network/playbooks/tasks/manage_test_interface.yml:15 --- fedora.linux_system_roles.network : Configure networking connection profiles --- 0.51s /tmp/tmpb95mhbnh/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106