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:49:01 +0000 (0:00:00.021) 0:00:00.021 ****** 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": 1659545339.8150494, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "2c55cc8324e731161638aa365379c1c147546a87", "ctime": 1659545339.815, "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": "1928925258", "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:49:02 +0000 (0:00:00.504) 0:00:00.526 ****** [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': '1928925258', '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': 1659545339.8150494, 'isdir': False, 'ctime': 1659545339.815, '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": 1659545339.8150494, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "2c55cc8324e731161638aa365379c1c147546a87", "ctime": 1659545339.815, "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": "1928925258", "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:49:02 +0000 (0:00:00.034) 0:00:00.560 ****** 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.004726", "end": "2022-08-03 16:49:01.387940", "rc": 0, "start": "2022-08-03 16:49:01.383214" } 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:49:02 +0000 (0:00:00.416) 0:00:00.976 ****** =============================================================================== Get stats of system files ----------------------------------------------- 0.50s /tmp/tmp2w2t0usz/tests/_backup.yml:6 ------------------------------------------ Back up system files ---------------------------------------------------- 0.42s /tmp/tmp2w2t0usz/tests/_backup.yml:19 ----------------------------------------- Check if system files exist --------------------------------------------- 0.03s /tmp/tmp2w2t0usz/tests/_backup.yml:13 ----------------------------------------- PLAYBOOK: tests_default.yml **************************************************** 1 plays in /tmp/tmp2w2t0usz/tests/tests_default.yml PLAY [Test executing the role with default parameters] ************************* META: ran handlers 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:49:02 +0000 (0:00:00.027) 0:00:01.004 ****** 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:49:02 +0000 (0:00:00.024) 0:00:01.028 ****** 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:49:03 +0000 (0:00:00.639) 0:00:01.668 ****** 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:49:04 +0000 (0:00:01.117) 0:00:02.785 ****** 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:49:05 +0000 (0:00:00.793) 0:00:03.579 ****** 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:49:05 +0000 (0:00:00.039) 0:00:03.618 ****** 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:49:05 +0000 (0:00:00.029) 0:00:03.648 ****** 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:49:05 +0000 (0:00:00.029) 0:00:03.677 ****** 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:49:05 +0000 (0:00:00.060) 0:00:03.738 ****** 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:49:05 +0000 (0:00:00.026) 0:00:03.764 ****** 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:49:05 +0000 (0:00:00.027) 0:00:03.792 ****** 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:49:05 +0000 (0:00:00.039) 0:00:03.831 ****** 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:49:05 +0000 (0:00:00.033) 0:00:03.864 ****** 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:49:05 +0000 (0:00:00.031) 0:00:03.896 ****** 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:49:06 +0000 (0:00:00.520) 0:00:04.416 ****** ok: [/cache/centos-6.qcow2c.snap] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-134781g05hovlt/tmp1penmy2a" } 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:49:06 +0000 (0:00:00.304) 0:00:04.721 ****** redirecting (type: action) ansible.builtin.network to ansible.netcommon.network ok: [/cache/centos-6.qcow2c.snap] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": false } STDERR: 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:49:06 +0000 (0:00:00.636) 0:00:05.358 ****** 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:49:06 +0000 (0:00:00.030) 0:00:05.388 ****** ok: [/cache/centos-6.qcow2c.snap] => { "__network_connections_result.stderr_lines": [ "" ] } 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:49:07 +0000 (0:00:00.065) 0:00:05.454 ****** ok: [/cache/centos-6.qcow2c.snap] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "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" } ], "failed": false, "stderr": "\n", "stderr_lines": [ "" ] } } 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:49:07 +0000 (0:00:00.104) 0:00:05.559 ****** 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:49:07 +0000 (0:00:00.030) 0:00:05.589 ****** 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/tests_default.yml:9 Wednesday 03 August 2022 16:49:07 +0000 (0:00:00.385) 0:00:05.975 ****** 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:49:07 +0000 (0:00:00.034) 0:00:06.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:49:08 +0000 (0:00:00.630) 0:00:06.640 ****** 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:49:08 +0000 (0:00:00.039) 0:00:06.679 ****** 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:49:08 +0000 (0:00:00.025) 0:00:06.705 ****** 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:49:08 +0000 (0:00:00.025) 0:00:06.730 ****** 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:49:08 +0000 (0:00:00.025) 0:00:06.755 ****** 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 [Test warning and info logs] ********************************************** task path: /tmp/tmp2w2t0usz/tests/tests_default.yml:10 Wednesday 03 August 2022 16:49:08 +0000 (0:00:00.538) 0:00:07.294 ****** ok: [/cache/centos-6.qcow2c.snap] => { "changed": false } MSG: All assertions passed META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/centos-6.qcow2c.snap : ok=19 changed=1 unreachable=0 failed=0 skipped=13 rescued=0 ignored=0 Wednesday 03 August 2022 16:49:08 +0000 (0:00:00.051) 0:00:07.346 ****** =============================================================================== linux-system-roles.network : Check which services are running ----------- 1.12s /tmp/tmp2w2t0usz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 linux-system-roles.network : Check which packages are installed --------- 0.79s /tmp/tmp2w2t0usz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 linux-system-roles.network : Ensure ansible_facts used by role are present --- 0.64s /tmp/tmp2w2t0usz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 - linux-system-roles.network : Configure networking connection profiles --- 0.64s /tmp/tmp2w2t0usz/tests/roles/linux-system-roles.network/tasks/main.yml:116 ---- Fix CentOS6 Base repo --------------------------------------------------- 0.63s /tmp/tmp2w2t0usz/tests/tasks/el_repo_setup.yml:2 ------------------------------ Enable EPEL 6 ----------------------------------------------------------- 0.54s /tmp/tmp2w2t0usz/tests/tasks/enable_epel.yml:26 ------------------------------- linux-system-roles.network : Enable network service --------------------- 0.52s /tmp/tmp2w2t0usz/tests/roles/linux-system-roles.network/tasks/main.yml:99 ----- Get stats of system files ----------------------------------------------- 0.50s /tmp/tmp2w2t0usz/tests/_backup.yml:6 ------------------------------------------ Back up system files ---------------------------------------------------- 0.42s /tmp/tmp2w2t0usz/tests/_backup.yml:19 ----------------------------------------- linux-system-roles.network : Re-test connectivity ----------------------- 0.39s /tmp/tmp2w2t0usz/tests/roles/linux-system-roles.network/tasks/main.yml:149 ---- linux-system-roles.network : Ensure initscripts network file dependency is present --- 0.30s /tmp/tmp2w2t0usz/tests/roles/linux-system-roles.network/tasks/main.yml:107 ---- linux-system-roles.network : Show debug messages for the network_connections --- 0.10s /tmp/tmp2w2t0usz/tests/roles/linux-system-roles.network/tasks/main.yml:138 ---- linux-system-roles.network : Show stderr messages for the network_connections --- 0.07s /tmp/tmp2w2t0usz/tests/roles/linux-system-roles.network/tasks/main.yml:134 ---- linux-system-roles.network : Install packages --------------------------- 0.06s /tmp/tmp2w2t0usz/tests/roles/linux-system-roles.network/tasks/main.yml:30 ----- Test warning and info logs ---------------------------------------------- 0.05s /tmp/tmp2w2t0usz/tests/tests_default.yml:10 ----------------------------------- linux-system-roles.network : Print network provider --------------------- 0.04s /tmp/tmp2w2t0usz/tests/roles/linux-system-roles.network/tasks/main.yml:7 ------ include_tasks ----------------------------------------------------------- 0.04s /tmp/tmp2w2t0usz/tests/tasks/el_repo_setup.yml:27 ----------------------------- linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces --- 0.04s /tmp/tmp2w2t0usz/tests/roles/linux-system-roles.network/tasks/main.yml:65 ----- include_tasks ----------------------------------------------------------- 0.03s /tmp/tmp2w2t0usz/tests/tests_default.yml:9 ------------------------------------ Check if system files exist --------------------------------------------- 0.03s /tmp/tmp2w2t0usz/tests/_backup.yml:13 ----------------------------------------- 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:49:08 +0000 (0:00:00.029) 0:00:07.375 ****** changed: [/cache/centos-6.qcow2c.snap] => { "changed": true, "cmd": "(cd /; tar -xf /tmp/network.backup.tar)", "delta": "0:00:00.005867", "end": "2022-08-03 16:49:08.070824", "rc": 0, "start": "2022-08-03 16:49:08.064957" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/centos-6.qcow2c.snap : ok=20 changed=2 unreachable=0 failed=0 skipped=13 rescued=0 ignored=0 Wednesday 03 August 2022 16:49:09 +0000 (0:00:00.294) 0:00:07.670 ****** =============================================================================== linux-system-roles.network : Check which services are running ----------- 1.12s /tmp/tmp2w2t0usz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 linux-system-roles.network : Check which packages are installed --------- 0.79s /tmp/tmp2w2t0usz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 linux-system-roles.network : Ensure ansible_facts used by role are present --- 0.64s /tmp/tmp2w2t0usz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 - linux-system-roles.network : Configure networking connection profiles --- 0.64s /tmp/tmp2w2t0usz/tests/roles/linux-system-roles.network/tasks/main.yml:116 ---- Fix CentOS6 Base repo --------------------------------------------------- 0.63s /tmp/tmp2w2t0usz/tests/tasks/el_repo_setup.yml:2 ------------------------------ Enable EPEL 6 ----------------------------------------------------------- 0.54s /tmp/tmp2w2t0usz/tests/tasks/enable_epel.yml:26 ------------------------------- linux-system-roles.network : Enable network service --------------------- 0.52s /tmp/tmp2w2t0usz/tests/roles/linux-system-roles.network/tasks/main.yml:99 ----- Get stats of system files ----------------------------------------------- 0.50s /tmp/tmp2w2t0usz/tests/_backup.yml:6 ------------------------------------------ Back up system files ---------------------------------------------------- 0.42s /tmp/tmp2w2t0usz/tests/_backup.yml:19 ----------------------------------------- linux-system-roles.network : Re-test connectivity ----------------------- 0.39s /tmp/tmp2w2t0usz/tests/roles/linux-system-roles.network/tasks/main.yml:149 ---- linux-system-roles.network : Ensure initscripts network file dependency is present --- 0.30s /tmp/tmp2w2t0usz/tests/roles/linux-system-roles.network/tasks/main.yml:107 ---- Restore system files ---------------------------------------------------- 0.29s /tmp/tmp2w2t0usz/tests/_restore.yml:4 ----------------------------------------- linux-system-roles.network : Show debug messages for the network_connections --- 0.10s /tmp/tmp2w2t0usz/tests/roles/linux-system-roles.network/tasks/main.yml:138 ---- linux-system-roles.network : Show stderr messages for the network_connections --- 0.07s /tmp/tmp2w2t0usz/tests/roles/linux-system-roles.network/tasks/main.yml:134 ---- linux-system-roles.network : Install packages --------------------------- 0.06s /tmp/tmp2w2t0usz/tests/roles/linux-system-roles.network/tasks/main.yml:30 ----- Test warning and info logs ---------------------------------------------- 0.05s /tmp/tmp2w2t0usz/tests/tests_default.yml:10 ----------------------------------- linux-system-roles.network : Print network provider --------------------- 0.04s /tmp/tmp2w2t0usz/tests/roles/linux-system-roles.network/tasks/main.yml:7 ------ include_tasks ----------------------------------------------------------- 0.04s /tmp/tmp2w2t0usz/tests/tasks/el_repo_setup.yml:27 ----------------------------- linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces --- 0.04s /tmp/tmp2w2t0usz/tests/roles/linux-system-roles.network/tasks/main.yml:65 ----- include_tasks ----------------------------------------------------------- 0.03s /tmp/tmp2w2t0usz/tests/tests_default.yml:9 ------------------------------------ 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 16:58:31 +0000 (0:00:00.018) 0:00:00.018 ****** 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": 1659545910.1617243, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "2c55cc8324e731161638aa365379c1c147546a87", "ctime": 1659545910.162, "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": "18446744073481210377", "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 16:58:32 +0000 (0:00:00.492) 0:00:00.511 ****** [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': '18446744073481210377', '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': 1659545910.1617243, 'isdir': False, 'ctime': 1659545910.162, '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": 1659545910.1617243, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "2c55cc8324e731161638aa365379c1c147546a87", "ctime": 1659545910.162, "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": "18446744073481210377", "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 16:58:32 +0000 (0:00:00.035) 0:00:00.546 ****** 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.004447", "end": "2022-08-03 16:58:31.726654", "rc": 0, "start": "2022-08-03 16:58:31.722207" } 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:58:32 +0000 (0:00:00.405) 0:00:00.951 ****** =============================================================================== Get stats of system files ----------------------------------------------- 0.49s /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_default.yml **************************************************** 1 plays in /tmp/tmpa_fzm6o2/tests/network/tests_default.yml PLAY [Test executing the role with default parameters] ************************* META: ran handlers 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 16:58:32 +0000 (0:00:00.035) 0:00:00.986 ****** 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 16:58:32 +0000 (0:00:00.027) 0:00:01.014 ****** 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 16:58:33 +0000 (0:00:00.647) 0:00:01.661 ****** 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 16:58:34 +0000 (0:00:01.105) 0:00:02.766 ****** 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 16:58:35 +0000 (0:00:00.777) 0:00:03.544 ****** 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 16:58:35 +0000 (0:00:00.041) 0:00:03.585 ****** 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 16:58:35 +0000 (0:00:00.030) 0:00:03.616 ****** 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 16:58:35 +0000 (0:00:00.032) 0:00:03.648 ****** 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 16:58:35 +0000 (0:00:00.065) 0:00:03.713 ****** 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 16:58:35 +0000 (0:00:00.029) 0:00:03.743 ****** 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 16:58:35 +0000 (0:00:00.030) 0:00:03.773 ****** 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 16:58:35 +0000 (0:00:00.047) 0:00:03.820 ****** 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 16:58:35 +0000 (0:00:00.037) 0:00:03.857 ****** 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 16:58:35 +0000 (0:00:00.032) 0:00:03.890 ****** 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 16:58:36 +0000 (0:00:00.515) 0:00:04.405 ****** ok: [/cache/centos-6.qcow2c.snap] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-155167h7rrgr9w/tmpk2c3lob3" } 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 16:58:36 +0000 (0:00:00.299) 0:00:04.704 ****** ok: [/cache/centos-6.qcow2c.snap] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": false } STDERR: 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 16:58:37 +0000 (0:00:00.622) 0:00:05.326 ****** 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 16:58:37 +0000 (0:00:00.032) 0:00:05.359 ****** ok: [/cache/centos-6.qcow2c.snap] => { "__network_connections_result.stderr_lines": [ "" ] } 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 16:58:37 +0000 (0:00:00.069) 0:00:05.429 ****** ok: [/cache/centos-6.qcow2c.snap] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "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" } ], "failed": false, "stderr": "\n", "stderr_lines": [ "" ] } } 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 16:58:37 +0000 (0:00:00.094) 0:00:05.523 ****** 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 16:58:37 +0000 (0:00:00.030) 0:00:05.554 ****** 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/tests_default.yml:9 Wednesday 03 August 2022 16:58:37 +0000 (0:00:00.386) 0:00:05.940 ****** 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 16:58:37 +0000 (0:00:00.035) 0:00:05.976 ****** 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 16:58:38 +0000 (0:00:00.624) 0:00:06.600 ****** 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 16:58:38 +0000 (0:00:00.038) 0:00:06.639 ****** 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 16:58:38 +0000 (0:00:00.026) 0:00:06.665 ****** 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 16:58:38 +0000 (0:00:00.025) 0:00:06.690 ****** 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 16:58:38 +0000 (0:00:00.026) 0:00:06.717 ****** 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 [Test warning and info logs] ********************************************** task path: /tmp/tmpa_fzm6o2/tests/network/tests_default.yml:10 Wednesday 03 August 2022 16:58:39 +0000 (0:00:00.540) 0:00:07.257 ****** ok: [/cache/centos-6.qcow2c.snap] => { "changed": false } MSG: All assertions passed META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/centos-6.qcow2c.snap : ok=19 changed=1 unreachable=0 failed=0 skipped=13 rescued=0 ignored=0 Wednesday 03 August 2022 16:58:39 +0000 (0:00:00.049) 0:00:07.306 ****** =============================================================================== fedora.linux_system_roles.network : Check which services are running ---- 1.11s /tmp/tmpb95mhbnh/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 fedora.linux_system_roles.network : Check which packages are installed --- 0.78s /tmp/tmpb95mhbnh/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 fedora.linux_system_roles.network : Ensure ansible_facts used by role are present --- 0.65s /tmp/tmpb95mhbnh/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Fix CentOS6 Base repo --------------------------------------------------- 0.62s /tmp/tmpa_fzm6o2/tests/network/tasks/el_repo_setup.yml:2 ---------------------- fedora.linux_system_roles.network : Configure networking connection profiles --- 0.62s /tmp/tmpb95mhbnh/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 Enable EPEL 6 ----------------------------------------------------------- 0.54s /tmp/tmpa_fzm6o2/tests/network/tasks/enable_epel.yml:26 ----------------------- fedora.linux_system_roles.network : Enable network service -------------- 0.52s /tmp/tmpb95mhbnh/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:89 Get stats of system files ----------------------------------------------- 0.49s /tmp/tmpa_fzm6o2/tests/network/_backup.yml:6 ---------------------------------- Back up system files ---------------------------------------------------- 0.41s /tmp/tmpa_fzm6o2/tests/network/_backup.yml:19 --------------------------------- fedora.linux_system_roles.network : Re-test connectivity ---------------- 0.39s /tmp/tmpb95mhbnh/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 fedora.linux_system_roles.network : Ensure initscripts network file dependency is present --- 0.30s /tmp/tmpb95mhbnh/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:97 fedora.linux_system_roles.network : Show debug messages for the network_connections --- 0.09s /tmp/tmpb95mhbnh/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:128 fedora.linux_system_roles.network : Show stderr messages for the network_connections --- 0.07s /tmp/tmpb95mhbnh/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 fedora.linux_system_roles.network : Install packages -------------------- 0.07s /tmp/tmpb95mhbnh/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Test warning and info logs ---------------------------------------------- 0.05s /tmp/tmpa_fzm6o2/tests/network/tests_default.yml:10 --------------------------- fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces --- 0.05s /tmp/tmpb95mhbnh/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:56 fedora.linux_system_roles.network : Print network provider -------------- 0.04s /tmp/tmpb95mhbnh/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 include_tasks ----------------------------------------------------------- 0.04s /tmp/tmpa_fzm6o2/tests/network/tasks/el_repo_setup.yml:27 --------------------- fedora.linux_system_roles.network : Enable and start NetworkManager ----- 0.04s /tmp/tmpb95mhbnh/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:69 include_tasks ----------------------------------------------------------- 0.04s /tmp/tmpa_fzm6o2/tests/network/tests_default.yml:9 ---------------------------- 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 16:58:39 +0000 (0:00:00.026) 0:00:07.333 ****** changed: [/cache/centos-6.qcow2c.snap] => { "changed": true, "cmd": "(cd /; tar -xf /tmp/network.backup.tar)", "delta": "0:00:00.006040", "end": "2022-08-03 16:58:38.397607", "rc": 0, "start": "2022-08-03 16:58:38.391567" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/centos-6.qcow2c.snap : ok=20 changed=2 unreachable=0 failed=0 skipped=13 rescued=0 ignored=0 Wednesday 03 August 2022 16:58:39 +0000 (0:00:00.300) 0:00:07.633 ****** =============================================================================== fedora.linux_system_roles.network : Check which services are running ---- 1.11s /tmp/tmpb95mhbnh/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 fedora.linux_system_roles.network : Check which packages are installed --- 0.78s /tmp/tmpb95mhbnh/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 fedora.linux_system_roles.network : Ensure ansible_facts used by role are present --- 0.65s /tmp/tmpb95mhbnh/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Fix CentOS6 Base repo --------------------------------------------------- 0.62s /tmp/tmpa_fzm6o2/tests/network/tasks/el_repo_setup.yml:2 ---------------------- fedora.linux_system_roles.network : Configure networking connection profiles --- 0.62s /tmp/tmpb95mhbnh/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 Enable EPEL 6 ----------------------------------------------------------- 0.54s /tmp/tmpa_fzm6o2/tests/network/tasks/enable_epel.yml:26 ----------------------- fedora.linux_system_roles.network : Enable network service -------------- 0.52s /tmp/tmpb95mhbnh/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:89 Get stats of system files ----------------------------------------------- 0.49s /tmp/tmpa_fzm6o2/tests/network/_backup.yml:6 ---------------------------------- Back up system files ---------------------------------------------------- 0.41s /tmp/tmpa_fzm6o2/tests/network/_backup.yml:19 --------------------------------- fedora.linux_system_roles.network : Re-test connectivity ---------------- 0.39s /tmp/tmpb95mhbnh/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Restore system files ---------------------------------------------------- 0.30s /tmp/tmpa_fzm6o2/tests/network/_restore.yml:4 --------------------------------- fedora.linux_system_roles.network : Ensure initscripts network file dependency is present --- 0.30s /tmp/tmpb95mhbnh/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:97 fedora.linux_system_roles.network : Show debug messages for the network_connections --- 0.09s /tmp/tmpb95mhbnh/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:128 fedora.linux_system_roles.network : Show stderr messages for the network_connections --- 0.07s /tmp/tmpb95mhbnh/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 fedora.linux_system_roles.network : Install packages -------------------- 0.07s /tmp/tmpb95mhbnh/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Test warning and info logs ---------------------------------------------- 0.05s /tmp/tmpa_fzm6o2/tests/network/tests_default.yml:10 --------------------------- fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces --- 0.05s /tmp/tmpb95mhbnh/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:56 fedora.linux_system_roles.network : Print network provider -------------- 0.04s /tmp/tmpb95mhbnh/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 include_tasks ----------------------------------------------------------- 0.04s /tmp/tmpa_fzm6o2/tests/network/tasks/el_repo_setup.yml:27 --------------------- fedora.linux_system_roles.network : Enable and start NetworkManager ----- 0.04s /tmp/tmpb95mhbnh/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:69