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:54:18 +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": 1659545656.9028673, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "2c55cc8324e731161638aa365379c1c147546a87", "ctime": 1659545656.902, "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": "1928927757", "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:54:19 +0000 (0:00:00.477) 0:00:00.496 ****** [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': '1928927757', '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': 1659545656.9028673, 'isdir': False, 'ctime': 1659545656.902, '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": 1659545656.9028673, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "2c55cc8324e731161638aa365379c1c147546a87", "ctime": 1659545656.902, "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": "1928927757", "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:54:19 +0000 (0:00:00.035) 0:00:00.532 ****** 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.004664", "end": "2022-08-03 16:54:18.437043", "rc": 0, "start": "2022-08-03 16:54:18.432379" } 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:54:19 +0000 (0:00:00.413) 0:00:00.945 ****** =============================================================================== Get stats of system files ----------------------------------------------- 0.48s /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_switch_provider.yml ******************************************** 2 plays in /tmp/tmp2w2t0usz/tests/tests_switch_provider.yml PLAY [Run playbook 'playbooks/tests_switch_provider.yml'] ********************** TASK [Gathering Facts] ********************************************************* task path: /tmp/tmp2w2t0usz/tests/tests_switch_provider.yml:3 Wednesday 03 August 2022 16:54:19 +0000 (0:00:00.014) 0:00:00.960 ****** ok: [/cache/centos-6.qcow2c.snap] META: ran handlers META: ran handlers META: ran handlers PLAY [Switch initscripts provider to nm] *************************************** TASK [Gathering Facts] ********************************************************* task path: /tmp/tmp2w2t0usz/tests/playbooks/tests_switch_provider.yml:5 Wednesday 03 August 2022 16:54:20 +0000 (0:00:00.985) 0:00:01.945 ****** skipping: [/cache/centos-6.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } META: ran handlers TASK [set fact to use initscripts network_provider] **************************** task path: /tmp/tmp2w2t0usz/tests/playbooks/tests_switch_provider.yml:8 Wednesday 03 August 2022 16:54:20 +0000 (0:00:00.031) 0:00:01.976 ****** skipping: [/cache/centos-6.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create test bridge {{ interface }} via initscripts provider] ************* task path: /tmp/tmp2w2t0usz/tests/playbooks/tests_switch_provider.yml:14 Wednesday 03 August 2022 16:54:20 +0000 (0:00:00.024) 0:00:02.001 ****** skipping: [/cache/centos-6.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [include_tasks] *********************************************************** task path: /tmp/tmp2w2t0usz/tests/playbooks/tests_switch_provider.yml:25 Wednesday 03 August 2022 16:54:20 +0000 (0:00:00.022) 0:00:02.023 ****** skipping: [/cache/centos-6.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [include_tasks] *********************************************************** task path: /tmp/tmp2w2t0usz/tests/playbooks/tests_switch_provider.yml:26 Wednesday 03 August 2022 16:54:20 +0000 (0:00:00.023) 0:00:02.047 ****** skipping: [/cache/centos-6.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [include_tasks] *********************************************************** task path: /tmp/tmp2w2t0usz/tests/playbooks/tests_switch_provider.yml:30 Wednesday 03 August 2022 16:54:20 +0000 (0:00:00.020) 0:00:02.067 ****** skipping: [/cache/centos-6.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set fact to use nm network_provider] ************************************* task path: /tmp/tmp2w2t0usz/tests/playbooks/tests_switch_provider.yml:31 Wednesday 03 August 2022 16:54:20 +0000 (0:00:00.021) 0:00:02.089 ****** skipping: [/cache/centos-6.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create test bridge {{ interface }} via nm provider] ********************** task path: /tmp/tmp2w2t0usz/tests/playbooks/tests_switch_provider.yml:36 Wednesday 03 August 2022 16:54:20 +0000 (0:00:00.022) 0:00:02.112 ****** skipping: [/cache/centos-6.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [include_tasks] *********************************************************** task path: /tmp/tmp2w2t0usz/tests/playbooks/tests_switch_provider.yml:47 Wednesday 03 August 2022 16:54:20 +0000 (0:00:00.023) 0:00:02.135 ****** skipping: [/cache/centos-6.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [include_tasks] *********************************************************** task path: /tmp/tmp2w2t0usz/tests/playbooks/tests_switch_provider.yml:48 Wednesday 03 August 2022 16:54:20 +0000 (0:00:00.021) 0:00:02.157 ****** skipping: [/cache/centos-6.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [include_tasks] *********************************************************** task path: /tmp/tmp2w2t0usz/tests/playbooks/tests_switch_provider.yml:52 Wednesday 03 August 2022 16:54:20 +0000 (0:00:00.020) 0:00:02.177 ****** skipping: [/cache/centos-6.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [include_tasks] *********************************************************** task path: /tmp/tmp2w2t0usz/tests/playbooks/tests_switch_provider.yml:53 Wednesday 03 August 2022 16:54:20 +0000 (0:00:00.019) 0:00:02.197 ****** skipping: [/cache/centos-6.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [include_tasks] *********************************************************** task path: /tmp/tmp2w2t0usz/tests/playbooks/tests_switch_provider.yml:54 Wednesday 03 August 2022 16:54:20 +0000 (0:00:00.020) 0:00:02.217 ****** 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=4 changed=1 unreachable=0 failed=0 skipped=13 rescued=0 ignored=0 Wednesday 03 August 2022 16:54:20 +0000 (0:00:00.030) 0:00:02.248 ****** =============================================================================== Gathering Facts --------------------------------------------------------- 0.99s /tmp/tmp2w2t0usz/tests/tests_switch_provider.yml:3 ---------------------------- Get stats of system files ----------------------------------------------- 0.48s /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 ----------------------------------------- Gathering Facts --------------------------------------------------------- 0.03s /tmp/tmp2w2t0usz/tests/playbooks/tests_switch_provider.yml:5 ------------------ include_tasks ----------------------------------------------------------- 0.03s /tmp/tmp2w2t0usz/tests/playbooks/tests_switch_provider.yml:54 ----------------- set fact to use initscripts network_provider ---------------------------- 0.02s /tmp/tmp2w2t0usz/tests/playbooks/tests_switch_provider.yml:8 ------------------ include_tasks ----------------------------------------------------------- 0.02s /tmp/tmp2w2t0usz/tests/playbooks/tests_switch_provider.yml:25 ----------------- Create test bridge {{ interface }} via nm provider ---------------------- 0.02s /tmp/tmp2w2t0usz/tests/playbooks/tests_switch_provider.yml:36 ----------------- set fact to use nm network_provider ------------------------------------- 0.02s /tmp/tmp2w2t0usz/tests/playbooks/tests_switch_provider.yml:31 ----------------- Create test bridge {{ interface }} via initscripts provider ------------- 0.02s /tmp/tmp2w2t0usz/tests/playbooks/tests_switch_provider.yml:14 ----------------- include_tasks ----------------------------------------------------------- 0.02s /tmp/tmp2w2t0usz/tests/playbooks/tests_switch_provider.yml:47 ----------------- include_tasks ----------------------------------------------------------- 0.02s /tmp/tmp2w2t0usz/tests/playbooks/tests_switch_provider.yml:30 ----------------- include_tasks ----------------------------------------------------------- 0.02s /tmp/tmp2w2t0usz/tests/playbooks/tests_switch_provider.yml:26 ----------------- include_tasks ----------------------------------------------------------- 0.02s /tmp/tmp2w2t0usz/tests/playbooks/tests_switch_provider.yml:53 ----------------- include_tasks ----------------------------------------------------------- 0.02s /tmp/tmp2w2t0usz/tests/playbooks/tests_switch_provider.yml:48 ----------------- include_tasks ----------------------------------------------------------- 0.02s /tmp/tmp2w2t0usz/tests/playbooks/tests_switch_provider.yml:52 ----------------- 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:54:20 +0000 (0:00:00.023) 0:00:02.272 ****** changed: [/cache/centos-6.qcow2c.snap] => { "changed": true, "cmd": "(cd /; tar -xf /tmp/network.backup.tar)", "delta": "0:00:00.005750", "end": "2022-08-03 16:54:20.057281", "rc": 0, "start": "2022-08-03 16:54:20.051531" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/centos-6.qcow2c.snap : ok=5 changed=2 unreachable=0 failed=0 skipped=13 rescued=0 ignored=0 Wednesday 03 August 2022 16:54:21 +0000 (0:00:00.298) 0:00:02.570 ****** =============================================================================== Gathering Facts --------------------------------------------------------- 0.99s /tmp/tmp2w2t0usz/tests/tests_switch_provider.yml:3 ---------------------------- Get stats of system files ----------------------------------------------- 0.48s /tmp/tmp2w2t0usz/tests/_backup.yml:6 ------------------------------------------ Back up system files ---------------------------------------------------- 0.41s /tmp/tmp2w2t0usz/tests/_backup.yml:19 ----------------------------------------- Restore system files ---------------------------------------------------- 0.30s /tmp/tmp2w2t0usz/tests/_restore.yml:4 ----------------------------------------- Check if system files exist --------------------------------------------- 0.04s /tmp/tmp2w2t0usz/tests/_backup.yml:13 ----------------------------------------- Gathering Facts --------------------------------------------------------- 0.03s /tmp/tmp2w2t0usz/tests/playbooks/tests_switch_provider.yml:5 ------------------ include_tasks ----------------------------------------------------------- 0.03s /tmp/tmp2w2t0usz/tests/playbooks/tests_switch_provider.yml:54 ----------------- set fact to use initscripts network_provider ---------------------------- 0.02s /tmp/tmp2w2t0usz/tests/playbooks/tests_switch_provider.yml:8 ------------------ include_tasks ----------------------------------------------------------- 0.02s /tmp/tmp2w2t0usz/tests/playbooks/tests_switch_provider.yml:25 ----------------- Create test bridge {{ interface }} via nm provider ---------------------- 0.02s /tmp/tmp2w2t0usz/tests/playbooks/tests_switch_provider.yml:36 ----------------- set fact to use nm network_provider ------------------------------------- 0.02s /tmp/tmp2w2t0usz/tests/playbooks/tests_switch_provider.yml:31 ----------------- Create test bridge {{ interface }} via initscripts provider ------------- 0.02s /tmp/tmp2w2t0usz/tests/playbooks/tests_switch_provider.yml:14 ----------------- include_tasks ----------------------------------------------------------- 0.02s /tmp/tmp2w2t0usz/tests/playbooks/tests_switch_provider.yml:47 ----------------- include_tasks ----------------------------------------------------------- 0.02s /tmp/tmp2w2t0usz/tests/playbooks/tests_switch_provider.yml:30 ----------------- include_tasks ----------------------------------------------------------- 0.02s /tmp/tmp2w2t0usz/tests/playbooks/tests_switch_provider.yml:26 ----------------- include_tasks ----------------------------------------------------------- 0.02s /tmp/tmp2w2t0usz/tests/playbooks/tests_switch_provider.yml:53 ----------------- include_tasks ----------------------------------------------------------- 0.02s /tmp/tmp2w2t0usz/tests/playbooks/tests_switch_provider.yml:48 ----------------- include_tasks ----------------------------------------------------------- 0.02s /tmp/tmp2w2t0usz/tests/playbooks/tests_switch_provider.yml:52 ----------------- 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:03:48 +0000 (0:00:00.017) 0:00:00.017 ****** 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": 1659546227.1454499, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "2c55cc8324e731161638aa365379c1c147546a87", "ctime": 1659546227.145, "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": "18446744073481212876", "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:03:49 +0000 (0:00:00.456) 0:00:00.473 ****** [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': '18446744073481212876', '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': 1659546227.1454499, 'isdir': False, 'ctime': 1659546227.145, '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": 1659546227.1454499, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "2c55cc8324e731161638aa365379c1c147546a87", "ctime": 1659546227.145, "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": "18446744073481212876", "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:03:49 +0000 (0:00:00.035) 0:00:00.509 ****** 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.004525", "end": "2022-08-03 17:03:48.638422", "rc": 0, "start": "2022-08-03 17:03:48.633897" } 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:03:49 +0000 (0:00:00.403) 0:00:00.912 ****** =============================================================================== Get stats of system files ----------------------------------------------- 0.46s /tmp/tmpa_fzm6o2/tests/network/_backup.yml:6 ---------------------------------- Back up system files ---------------------------------------------------- 0.40s /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_switch_provider.yml ******************************************** 2 plays in /tmp/tmpa_fzm6o2/tests/network/tests_switch_provider.yml PLAY [Run playbook 'playbooks/tests_switch_provider.yml'] ********************** TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpa_fzm6o2/tests/network/tests_switch_provider.yml:3 Wednesday 03 August 2022 17:03:49 +0000 (0:00:00.014) 0:00:00.926 ****** ok: [/cache/centos-6.qcow2c.snap] META: ran handlers META: ran handlers META: ran handlers PLAY [Switch initscripts provider to nm] *************************************** TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpa_fzm6o2/tests/network/playbooks/tests_switch_provider.yml:5 Wednesday 03 August 2022 17:03:50 +0000 (0:00:00.976) 0:00:01.903 ****** skipping: [/cache/centos-6.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } META: ran handlers TASK [set fact to use initscripts network_provider] **************************** task path: /tmp/tmpa_fzm6o2/tests/network/playbooks/tests_switch_provider.yml:8 Wednesday 03 August 2022 17:03:50 +0000 (0:00:00.031) 0:00:01.934 ****** skipping: [/cache/centos-6.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create test bridge {{ interface }} via initscripts provider] ************* task path: /tmp/tmpa_fzm6o2/tests/network/playbooks/tests_switch_provider.yml:14 Wednesday 03 August 2022 17:03:50 +0000 (0:00:00.025) 0:00:01.960 ****** 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_switch_provider.yml:25 Wednesday 03 August 2022 17:03:50 +0000 (0:00:00.022) 0:00:01.982 ****** 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_switch_provider.yml:26 Wednesday 03 August 2022 17:03:50 +0000 (0:00:00.020) 0:00:02.003 ****** 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_switch_provider.yml:30 Wednesday 03 August 2022 17:03:50 +0000 (0:00:00.021) 0:00:02.024 ****** skipping: [/cache/centos-6.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set fact to use nm network_provider] ************************************* task path: /tmp/tmpa_fzm6o2/tests/network/playbooks/tests_switch_provider.yml:31 Wednesday 03 August 2022 17:03:50 +0000 (0:00:00.021) 0:00:02.046 ****** skipping: [/cache/centos-6.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create test bridge {{ interface }} via nm provider] ********************** task path: /tmp/tmpa_fzm6o2/tests/network/playbooks/tests_switch_provider.yml:36 Wednesday 03 August 2022 17:03:50 +0000 (0:00:00.023) 0:00:02.069 ****** 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_switch_provider.yml:47 Wednesday 03 August 2022 17:03:50 +0000 (0:00:00.023) 0:00:02.093 ****** 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_switch_provider.yml:48 Wednesday 03 August 2022 17:03:50 +0000 (0:00:00.023) 0:00:02.116 ****** 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_switch_provider.yml:52 Wednesday 03 August 2022 17:03:51 +0000 (0:00:00.021) 0:00:02.138 ****** 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_switch_provider.yml:53 Wednesday 03 August 2022 17:03:51 +0000 (0:00:00.020) 0:00:02.158 ****** 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_switch_provider.yml:54 Wednesday 03 August 2022 17:03:51 +0000 (0:00:00.022) 0:00:02.181 ****** 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=4 changed=1 unreachable=0 failed=0 skipped=13 rescued=0 ignored=0 Wednesday 03 August 2022 17:03:51 +0000 (0:00:00.032) 0:00:02.213 ****** =============================================================================== Gathering Facts --------------------------------------------------------- 0.98s /tmp/tmpa_fzm6o2/tests/network/tests_switch_provider.yml:3 -------------------- Get stats of system files ----------------------------------------------- 0.46s /tmp/tmpa_fzm6o2/tests/network/_backup.yml:6 ---------------------------------- Back up system files ---------------------------------------------------- 0.40s /tmp/tmpa_fzm6o2/tests/network/_backup.yml:19 --------------------------------- Check if system files exist --------------------------------------------- 0.04s /tmp/tmpa_fzm6o2/tests/network/_backup.yml:13 --------------------------------- include_tasks ----------------------------------------------------------- 0.03s /tmp/tmpa_fzm6o2/tests/network/playbooks/tests_switch_provider.yml:54 --------- Gathering Facts --------------------------------------------------------- 0.03s /tmp/tmpa_fzm6o2/tests/network/playbooks/tests_switch_provider.yml:5 ---------- set fact to use initscripts network_provider ---------------------------- 0.03s /tmp/tmpa_fzm6o2/tests/network/playbooks/tests_switch_provider.yml:8 ---------- Create test bridge {{ interface }} via nm provider ---------------------- 0.02s /tmp/tmpa_fzm6o2/tests/network/playbooks/tests_switch_provider.yml:36 --------- include_tasks ----------------------------------------------------------- 0.02s /tmp/tmpa_fzm6o2/tests/network/playbooks/tests_switch_provider.yml:47 --------- set fact to use nm network_provider ------------------------------------- 0.02s /tmp/tmpa_fzm6o2/tests/network/playbooks/tests_switch_provider.yml:31 --------- include_tasks ----------------------------------------------------------- 0.02s /tmp/tmpa_fzm6o2/tests/network/playbooks/tests_switch_provider.yml:53 --------- Create test bridge {{ interface }} via initscripts provider ------------- 0.02s /tmp/tmpa_fzm6o2/tests/network/playbooks/tests_switch_provider.yml:14 --------- include_tasks ----------------------------------------------------------- 0.02s /tmp/tmpa_fzm6o2/tests/network/playbooks/tests_switch_provider.yml:48 --------- include_tasks ----------------------------------------------------------- 0.02s /tmp/tmpa_fzm6o2/tests/network/playbooks/tests_switch_provider.yml:30 --------- include_tasks ----------------------------------------------------------- 0.02s /tmp/tmpa_fzm6o2/tests/network/playbooks/tests_switch_provider.yml:26 --------- include_tasks ----------------------------------------------------------- 0.02s /tmp/tmpa_fzm6o2/tests/network/playbooks/tests_switch_provider.yml:52 --------- include_tasks ----------------------------------------------------------- 0.02s /tmp/tmpa_fzm6o2/tests/network/playbooks/tests_switch_provider.yml:25 --------- 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:03:51 +0000 (0:00:00.022) 0:00:02.236 ****** changed: [/cache/centos-6.qcow2c.snap] => { "changed": true, "cmd": "(cd /; tar -xf /tmp/network.backup.tar)", "delta": "0:00:00.005587", "end": "2022-08-03 17:03:50.244271", "rc": 0, "start": "2022-08-03 17:03:50.238684" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/centos-6.qcow2c.snap : ok=5 changed=2 unreachable=0 failed=0 skipped=13 rescued=0 ignored=0 Wednesday 03 August 2022 17:03:51 +0000 (0:00:00.289) 0:00:02.526 ****** =============================================================================== Gathering Facts --------------------------------------------------------- 0.98s /tmp/tmpa_fzm6o2/tests/network/tests_switch_provider.yml:3 -------------------- Get stats of system files ----------------------------------------------- 0.46s /tmp/tmpa_fzm6o2/tests/network/_backup.yml:6 ---------------------------------- Back up system files ---------------------------------------------------- 0.40s /tmp/tmpa_fzm6o2/tests/network/_backup.yml:19 --------------------------------- Restore system files ---------------------------------------------------- 0.29s /tmp/tmpa_fzm6o2/tests/network/_restore.yml:4 --------------------------------- Check if system files exist --------------------------------------------- 0.04s /tmp/tmpa_fzm6o2/tests/network/_backup.yml:13 --------------------------------- include_tasks ----------------------------------------------------------- 0.03s /tmp/tmpa_fzm6o2/tests/network/playbooks/tests_switch_provider.yml:54 --------- Gathering Facts --------------------------------------------------------- 0.03s /tmp/tmpa_fzm6o2/tests/network/playbooks/tests_switch_provider.yml:5 ---------- set fact to use initscripts network_provider ---------------------------- 0.03s /tmp/tmpa_fzm6o2/tests/network/playbooks/tests_switch_provider.yml:8 ---------- Create test bridge {{ interface }} via nm provider ---------------------- 0.02s /tmp/tmpa_fzm6o2/tests/network/playbooks/tests_switch_provider.yml:36 --------- include_tasks ----------------------------------------------------------- 0.02s /tmp/tmpa_fzm6o2/tests/network/playbooks/tests_switch_provider.yml:47 --------- set fact to use nm network_provider ------------------------------------- 0.02s /tmp/tmpa_fzm6o2/tests/network/playbooks/tests_switch_provider.yml:31 --------- include_tasks ----------------------------------------------------------- 0.02s /tmp/tmpa_fzm6o2/tests/network/playbooks/tests_switch_provider.yml:53 --------- Create test bridge {{ interface }} via initscripts provider ------------- 0.02s /tmp/tmpa_fzm6o2/tests/network/playbooks/tests_switch_provider.yml:14 --------- include_tasks ----------------------------------------------------------- 0.02s /tmp/tmpa_fzm6o2/tests/network/playbooks/tests_switch_provider.yml:48 --------- include_tasks ----------------------------------------------------------- 0.02s /tmp/tmpa_fzm6o2/tests/network/playbooks/tests_switch_provider.yml:30 --------- include_tasks ----------------------------------------------------------- 0.02s /tmp/tmpa_fzm6o2/tests/network/playbooks/tests_switch_provider.yml:26 --------- include_tasks ----------------------------------------------------------- 0.02s /tmp/tmpa_fzm6o2/tests/network/playbooks/tests_switch_provider.yml:52 --------- include_tasks ----------------------------------------------------------- 0.02s /tmp/tmpa_fzm6o2/tests/network/playbooks/tests_switch_provider.yml:25 ---------