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/tmposyp_ghn 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/tmpwwh795q9/tests/_backup.yml PLAY [all] ********************************************************************* META: ran handlers TASK [Get stats of system files] *********************************************** task path: /tmp/tmpwwh795q9/tests/_backup.yml:6 Wednesday 03 August 2022 15:35:06 +0000 (0:00:00.017) 0:00:00.017 ****** ok: [/cache/rhel-9.qcow2.snap] => (item=/etc/resolv.conf) => { "ansible_facts": { "discovered_interpreter_python": "/usr/bin/python3" }, "ansible_loop_var": "item", "changed": false, "item": "/etc/resolv.conf", "stat": { "atime": 1659540905.3440292, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "fba82b5b78ea37322e584bf452f6f8e163f0869b", "ctime": 1659540905.3440292, "dev": 64516, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 604, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1659539895.0, "nlink": 1, "path": "/etc/resolv.conf", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 90, "uid": 0, "version": "1358377071", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Check if system files exist] ********************************************* task path: /tmp/tmpwwh795q9/tests/_backup.yml:13 Wednesday 03 August 2022 15:35:07 +0000 (0:00:00.597) 0:00:00.615 ****** [WARNING]: conditional statements should not include jinja2 templating delimiters such as {{ }} or {% %}. Found: {{ item.stat.exists }} ok: [/cache/rhel-9.qcow2.snap] => (item={'changed': False, 'stat': {'exists': True, 'path': '/etc/resolv.conf', 'mode': '0644', 'isdir': False, 'ischr': False, 'isblk': False, 'isreg': True, 'isfifo': False, 'islnk': False, 'issock': False, 'uid': 0, 'gid': 0, 'size': 90, 'inode': 604, 'dev': 64516, 'nlink': 1, 'atime': 1659540905.3440292, 'mtime': 1659539895.0, 'ctime': 1659540905.3440292, 'wusr': True, 'rusr': True, 'xusr': False, 'wgrp': False, 'rgrp': True, 'xgrp': False, 'woth': False, 'roth': True, 'xoth': False, 'isuid': False, 'isgid': False, 'blocks': 8, 'block_size': 4096, 'device_type': 0, 'readable': True, 'writeable': True, 'executable': False, 'pw_name': 'root', 'gr_name': 'root', 'checksum': 'fba82b5b78ea37322e584bf452f6f8e163f0869b', 'mimetype': 'text/plain', 'charset': 'us-ascii', 'version': '1358377071', 'attributes': [], 'attr_flags': ''}, 'invocation': {'module_args': {'path': '/etc/resolv.conf', 'follow': False, 'get_md5': False, 'get_checksum': True, 'get_mime': True, 'get_attributes': True, 'checksum_algorithm': 'sha1'}}, 'ansible_facts': {'discovered_interpreter_python': '/usr/bin/python3'}, '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/python3" }, "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": 1659540905.3440292, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "fba82b5b78ea37322e584bf452f6f8e163f0869b", "ctime": 1659540905.3440292, "dev": 64516, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 604, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1659539895.0, "nlink": 1, "path": "/etc/resolv.conf", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 90, "uid": 0, "version": "1358377071", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } } TASK [Back up system files] **************************************************** task path: /tmp/tmpwwh795q9/tests/_backup.yml:19 Wednesday 03 August 2022 15:35:07 +0000 (0:00:00.036) 0:00:00.651 ****** changed: [/cache/rhel-9.qcow2.snap] => { "changed": true, "cmd": [ "tar", "-cf", "/tmp/network.backup.tar", "--same-owner", "--same-permissions", "/etc/resolv.conf" ], "delta": "0:00:00.003529", "end": "2022-08-03 11:35:07.120546", "rc": 0, "start": "2022-08-03 11:35:07.117017" } STDERR: tar: Removing leading `/' from member names META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/rhel-9.qcow2.snap : ok=3 changed=1 unreachable=0 failed=0 skipped=0 rescued=0 ignored=0 Wednesday 03 August 2022 15:35:07 +0000 (0:00:00.489) 0:00:01.140 ****** =============================================================================== Get stats of system files ----------------------------------------------- 0.60s /tmp/tmpwwh795q9/tests/_backup.yml:6 ------------------------------------------ Back up system files ---------------------------------------------------- 0.49s /tmp/tmpwwh795q9/tests/_backup.yml:19 ----------------------------------------- Check if system files exist --------------------------------------------- 0.04s /tmp/tmpwwh795q9/tests/_backup.yml:13 ----------------------------------------- PLAYBOOK: tests_switch_provider.yml ******************************************** 2 plays in /tmp/tmpwwh795q9/tests/tests_switch_provider.yml PLAY [Run playbook 'playbooks/tests_switch_provider.yml'] ********************** TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpwwh795q9/tests/tests_switch_provider.yml:3 Wednesday 03 August 2022 15:35:07 +0000 (0:00:00.014) 0:00:01.155 ****** ok: [/cache/rhel-9.qcow2.snap] META: ran handlers META: ran handlers META: ran handlers PLAY [Switch initscripts provider to nm] *************************************** TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpwwh795q9/tests/playbooks/tests_switch_provider.yml:5 Wednesday 03 August 2022 15:35:08 +0000 (0:00:01.124) 0:00:02.280 ****** skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } META: ran handlers TASK [set fact to use initscripts network_provider] **************************** task path: /tmp/tmpwwh795q9/tests/playbooks/tests_switch_provider.yml:8 Wednesday 03 August 2022 15:35:08 +0000 (0:00:00.029) 0:00:02.310 ****** skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create test bridge {{ interface }} via initscripts provider] ************* task path: /tmp/tmpwwh795q9/tests/playbooks/tests_switch_provider.yml:14 Wednesday 03 August 2022 15:35:08 +0000 (0:00:00.022) 0:00:02.332 ****** skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [include_tasks] *********************************************************** task path: /tmp/tmpwwh795q9/tests/playbooks/tests_switch_provider.yml:25 Wednesday 03 August 2022 15:35:08 +0000 (0:00:00.019) 0:00:02.352 ****** skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [include_tasks] *********************************************************** task path: /tmp/tmpwwh795q9/tests/playbooks/tests_switch_provider.yml:26 Wednesday 03 August 2022 15:35:08 +0000 (0:00:00.019) 0:00:02.371 ****** skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [include_tasks] *********************************************************** task path: /tmp/tmpwwh795q9/tests/playbooks/tests_switch_provider.yml:30 Wednesday 03 August 2022 15:35:08 +0000 (0:00:00.021) 0:00:02.393 ****** skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set fact to use nm network_provider] ************************************* task path: /tmp/tmpwwh795q9/tests/playbooks/tests_switch_provider.yml:31 Wednesday 03 August 2022 15:35:08 +0000 (0:00:00.021) 0:00:02.414 ****** skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create test bridge {{ interface }} via nm provider] ********************** task path: /tmp/tmpwwh795q9/tests/playbooks/tests_switch_provider.yml:36 Wednesday 03 August 2022 15:35:08 +0000 (0:00:00.020) 0:00:02.434 ****** skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [include_tasks] *********************************************************** task path: /tmp/tmpwwh795q9/tests/playbooks/tests_switch_provider.yml:47 Wednesday 03 August 2022 15:35:08 +0000 (0:00:00.021) 0:00:02.456 ****** skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [include_tasks] *********************************************************** task path: /tmp/tmpwwh795q9/tests/playbooks/tests_switch_provider.yml:48 Wednesday 03 August 2022 15:35:08 +0000 (0:00:00.020) 0:00:02.476 ****** skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [include_tasks] *********************************************************** task path: /tmp/tmpwwh795q9/tests/playbooks/tests_switch_provider.yml:52 Wednesday 03 August 2022 15:35:09 +0000 (0:00:00.020) 0:00:02.496 ****** skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [include_tasks] *********************************************************** task path: /tmp/tmpwwh795q9/tests/playbooks/tests_switch_provider.yml:53 Wednesday 03 August 2022 15:35:09 +0000 (0:00:00.020) 0:00:02.517 ****** skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [include_tasks] *********************************************************** task path: /tmp/tmpwwh795q9/tests/playbooks/tests_switch_provider.yml:54 Wednesday 03 August 2022 15:35:09 +0000 (0:00:00.021) 0:00:02.538 ****** skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/rhel-9.qcow2.snap : ok=4 changed=1 unreachable=0 failed=0 skipped=13 rescued=0 ignored=0 Wednesday 03 August 2022 15:35:09 +0000 (0:00:00.030) 0:00:02.569 ****** =============================================================================== Gathering Facts --------------------------------------------------------- 1.12s /tmp/tmpwwh795q9/tests/tests_switch_provider.yml:3 ---------------------------- Get stats of system files ----------------------------------------------- 0.60s /tmp/tmpwwh795q9/tests/_backup.yml:6 ------------------------------------------ Back up system files ---------------------------------------------------- 0.49s /tmp/tmpwwh795q9/tests/_backup.yml:19 ----------------------------------------- Check if system files exist --------------------------------------------- 0.04s /tmp/tmpwwh795q9/tests/_backup.yml:13 ----------------------------------------- include_tasks ----------------------------------------------------------- 0.03s /tmp/tmpwwh795q9/tests/playbooks/tests_switch_provider.yml:54 ----------------- Gathering Facts --------------------------------------------------------- 0.03s /tmp/tmpwwh795q9/tests/playbooks/tests_switch_provider.yml:5 ------------------ set fact to use initscripts network_provider ---------------------------- 0.02s /tmp/tmpwwh795q9/tests/playbooks/tests_switch_provider.yml:8 ------------------ include_tasks ----------------------------------------------------------- 0.02s /tmp/tmpwwh795q9/tests/playbooks/tests_switch_provider.yml:26 ----------------- Create test bridge {{ interface }} via nm provider ---------------------- 0.02s /tmp/tmpwwh795q9/tests/playbooks/tests_switch_provider.yml:36 ----------------- include_tasks ----------------------------------------------------------- 0.02s /tmp/tmpwwh795q9/tests/playbooks/tests_switch_provider.yml:30 ----------------- include_tasks ----------------------------------------------------------- 0.02s /tmp/tmpwwh795q9/tests/playbooks/tests_switch_provider.yml:53 ----------------- include_tasks ----------------------------------------------------------- 0.02s /tmp/tmpwwh795q9/tests/playbooks/tests_switch_provider.yml:52 ----------------- include_tasks ----------------------------------------------------------- 0.02s /tmp/tmpwwh795q9/tests/playbooks/tests_switch_provider.yml:48 ----------------- include_tasks ----------------------------------------------------------- 0.02s /tmp/tmpwwh795q9/tests/playbooks/tests_switch_provider.yml:47 ----------------- set fact to use nm network_provider ------------------------------------- 0.02s /tmp/tmpwwh795q9/tests/playbooks/tests_switch_provider.yml:31 ----------------- Create test bridge {{ interface }} via initscripts provider ------------- 0.02s /tmp/tmpwwh795q9/tests/playbooks/tests_switch_provider.yml:14 ----------------- include_tasks ----------------------------------------------------------- 0.02s /tmp/tmpwwh795q9/tests/playbooks/tests_switch_provider.yml:25 ----------------- PLAYBOOK: _restore.yml ********************************************************* 1 plays in /tmp/tmpwwh795q9/tests/_restore.yml PLAY [all] ********************************************************************* META: ran handlers TASK [Restore system files] **************************************************** task path: /tmp/tmpwwh795q9/tests/_restore.yml:4 Wednesday 03 August 2022 15:35:09 +0000 (0:00:00.020) 0:00:02.590 ****** changed: [/cache/rhel-9.qcow2.snap] => { "changed": true, "cmd": "(cd /; tar -xf /tmp/network.backup.tar)", "delta": "0:00:00.005548", "end": "2022-08-03 11:35:08.940505", "rc": 0, "start": "2022-08-03 11:35:08.934957" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/rhel-9.qcow2.snap : ok=5 changed=2 unreachable=0 failed=0 skipped=13 rescued=0 ignored=0 Wednesday 03 August 2022 15:35:09 +0000 (0:00:00.374) 0:00:02.965 ****** =============================================================================== Gathering Facts --------------------------------------------------------- 1.12s /tmp/tmpwwh795q9/tests/tests_switch_provider.yml:3 ---------------------------- Get stats of system files ----------------------------------------------- 0.60s /tmp/tmpwwh795q9/tests/_backup.yml:6 ------------------------------------------ Back up system files ---------------------------------------------------- 0.49s /tmp/tmpwwh795q9/tests/_backup.yml:19 ----------------------------------------- Restore system files ---------------------------------------------------- 0.38s /tmp/tmpwwh795q9/tests/_restore.yml:4 ----------------------------------------- Check if system files exist --------------------------------------------- 0.04s /tmp/tmpwwh795q9/tests/_backup.yml:13 ----------------------------------------- include_tasks ----------------------------------------------------------- 0.03s /tmp/tmpwwh795q9/tests/playbooks/tests_switch_provider.yml:54 ----------------- Gathering Facts --------------------------------------------------------- 0.03s /tmp/tmpwwh795q9/tests/playbooks/tests_switch_provider.yml:5 ------------------ set fact to use initscripts network_provider ---------------------------- 0.02s /tmp/tmpwwh795q9/tests/playbooks/tests_switch_provider.yml:8 ------------------ include_tasks ----------------------------------------------------------- 0.02s /tmp/tmpwwh795q9/tests/playbooks/tests_switch_provider.yml:26 ----------------- Create test bridge {{ interface }} via nm provider ---------------------- 0.02s /tmp/tmpwwh795q9/tests/playbooks/tests_switch_provider.yml:36 ----------------- include_tasks ----------------------------------------------------------- 0.02s /tmp/tmpwwh795q9/tests/playbooks/tests_switch_provider.yml:30 ----------------- include_tasks ----------------------------------------------------------- 0.02s /tmp/tmpwwh795q9/tests/playbooks/tests_switch_provider.yml:53 ----------------- include_tasks ----------------------------------------------------------- 0.02s /tmp/tmpwwh795q9/tests/playbooks/tests_switch_provider.yml:52 ----------------- include_tasks ----------------------------------------------------------- 0.02s /tmp/tmpwwh795q9/tests/playbooks/tests_switch_provider.yml:48 ----------------- include_tasks ----------------------------------------------------------- 0.02s /tmp/tmpwwh795q9/tests/playbooks/tests_switch_provider.yml:47 ----------------- set fact to use nm network_provider ------------------------------------- 0.02s /tmp/tmpwwh795q9/tests/playbooks/tests_switch_provider.yml:31 ----------------- Create test bridge {{ interface }} via initscripts provider ------------- 0.02s /tmp/tmpwwh795q9/tests/playbooks/tests_switch_provider.yml:14 ----------------- include_tasks ----------------------------------------------------------- 0.02s /tmp/tmpwwh795q9/tests/playbooks/tests_switch_provider.yml:25 ----------------- 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/tmposyp_ghn 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/tmp1gs4m1jh/tests/network/_backup.yml PLAY [all] ********************************************************************* META: ran handlers TASK [Get stats of system files] *********************************************** task path: /tmp/tmp1gs4m1jh/tests/network/_backup.yml:6 Wednesday 03 August 2022 15:53:54 +0000 (0:00:00.018) 0:00:00.018 ****** ok: [/cache/rhel-9.qcow2.snap] => (item=/etc/resolv.conf) => { "ansible_facts": { "discovered_interpreter_python": "/usr/bin/python3" }, "ansible_loop_var": "item", "changed": false, "item": "/etc/resolv.conf", "stat": { "atime": 1659542033.1361148, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "fba82b5b78ea37322e584bf452f6f8e163f0869b", "ctime": 1659542033.1361148, "dev": 64516, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 604, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1659541026.0, "nlink": 1, "path": "/etc/resolv.conf", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 90, "uid": 0, "version": "3156219502", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Check if system files exist] ********************************************* task path: /tmp/tmp1gs4m1jh/tests/network/_backup.yml:13 Wednesday 03 August 2022 15:53:55 +0000 (0:00:00.579) 0:00:00.598 ****** [WARNING]: conditional statements should not include jinja2 templating delimiters such as {{ }} or {% %}. Found: {{ item.stat.exists }} ok: [/cache/rhel-9.qcow2.snap] => (item={'changed': False, 'stat': {'exists': True, 'path': '/etc/resolv.conf', 'mode': '0644', 'isdir': False, 'ischr': False, 'isblk': False, 'isreg': True, 'isfifo': False, 'islnk': False, 'issock': False, 'uid': 0, 'gid': 0, 'size': 90, 'inode': 604, 'dev': 64516, 'nlink': 1, 'atime': 1659542033.1361148, 'mtime': 1659541026.0, 'ctime': 1659542033.1361148, 'wusr': True, 'rusr': True, 'xusr': False, 'wgrp': False, 'rgrp': True, 'xgrp': False, 'woth': False, 'roth': True, 'xoth': False, 'isuid': False, 'isgid': False, 'blocks': 8, 'block_size': 4096, 'device_type': 0, 'readable': True, 'writeable': True, 'executable': False, 'pw_name': 'root', 'gr_name': 'root', 'checksum': 'fba82b5b78ea37322e584bf452f6f8e163f0869b', 'mimetype': 'text/plain', 'charset': 'us-ascii', 'version': '3156219502', 'attributes': [], 'attr_flags': ''}, 'invocation': {'module_args': {'path': '/etc/resolv.conf', 'follow': False, 'get_md5': False, 'get_checksum': True, 'get_mime': True, 'get_attributes': True, 'checksum_algorithm': 'sha1'}}, 'ansible_facts': {'discovered_interpreter_python': '/usr/bin/python3'}, '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/python3" }, "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": 1659542033.1361148, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "fba82b5b78ea37322e584bf452f6f8e163f0869b", "ctime": 1659542033.1361148, "dev": 64516, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 604, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1659541026.0, "nlink": 1, "path": "/etc/resolv.conf", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 90, "uid": 0, "version": "3156219502", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } } TASK [Back up system files] **************************************************** task path: /tmp/tmp1gs4m1jh/tests/network/_backup.yml:19 Wednesday 03 August 2022 15:53:55 +0000 (0:00:00.036) 0:00:00.634 ****** changed: [/cache/rhel-9.qcow2.snap] => { "changed": true, "cmd": [ "tar", "-cf", "/tmp/network.backup.tar", "--same-owner", "--same-permissions", "/etc/resolv.conf" ], "delta": "0:00:00.003705", "end": "2022-08-03 11:53:54.929454", "rc": 0, "start": "2022-08-03 11:53:54.925749" } STDERR: tar: Removing leading `/' from member names META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/rhel-9.qcow2.snap : ok=3 changed=1 unreachable=0 failed=0 skipped=0 rescued=0 ignored=0 Wednesday 03 August 2022 15:53:55 +0000 (0:00:00.495) 0:00:01.130 ****** =============================================================================== Get stats of system files ----------------------------------------------- 0.58s /tmp/tmp1gs4m1jh/tests/network/_backup.yml:6 ---------------------------------- Back up system files ---------------------------------------------------- 0.50s /tmp/tmp1gs4m1jh/tests/network/_backup.yml:19 --------------------------------- Check if system files exist --------------------------------------------- 0.04s /tmp/tmp1gs4m1jh/tests/network/_backup.yml:13 --------------------------------- PLAYBOOK: tests_switch_provider.yml ******************************************** 2 plays in /tmp/tmp1gs4m1jh/tests/network/tests_switch_provider.yml PLAY [Run playbook 'playbooks/tests_switch_provider.yml'] ********************** TASK [Gathering Facts] ********************************************************* task path: /tmp/tmp1gs4m1jh/tests/network/tests_switch_provider.yml:3 Wednesday 03 August 2022 15:53:55 +0000 (0:00:00.014) 0:00:01.144 ****** ok: [/cache/rhel-9.qcow2.snap] META: ran handlers META: ran handlers META: ran handlers PLAY [Switch initscripts provider to nm] *************************************** TASK [Gathering Facts] ********************************************************* task path: /tmp/tmp1gs4m1jh/tests/network/playbooks/tests_switch_provider.yml:5 Wednesday 03 August 2022 15:53:56 +0000 (0:00:01.101) 0:00:02.246 ****** skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } META: ran handlers TASK [set fact to use initscripts network_provider] **************************** task path: /tmp/tmp1gs4m1jh/tests/network/playbooks/tests_switch_provider.yml:8 Wednesday 03 August 2022 15:53:56 +0000 (0:00:00.030) 0:00:02.276 ****** skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create test bridge {{ interface }} via initscripts provider] ************* task path: /tmp/tmp1gs4m1jh/tests/network/playbooks/tests_switch_provider.yml:14 Wednesday 03 August 2022 15:53:56 +0000 (0:00:00.023) 0:00:02.299 ****** skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [include_tasks] *********************************************************** task path: /tmp/tmp1gs4m1jh/tests/network/playbooks/tests_switch_provider.yml:25 Wednesday 03 August 2022 15:53:56 +0000 (0:00:00.021) 0:00:02.320 ****** skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [include_tasks] *********************************************************** task path: /tmp/tmp1gs4m1jh/tests/network/playbooks/tests_switch_provider.yml:26 Wednesday 03 August 2022 15:53:56 +0000 (0:00:00.020) 0:00:02.341 ****** skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [include_tasks] *********************************************************** task path: /tmp/tmp1gs4m1jh/tests/network/playbooks/tests_switch_provider.yml:30 Wednesday 03 August 2022 15:53:56 +0000 (0:00:00.024) 0:00:02.365 ****** skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set fact to use nm network_provider] ************************************* task path: /tmp/tmp1gs4m1jh/tests/network/playbooks/tests_switch_provider.yml:31 Wednesday 03 August 2022 15:53:56 +0000 (0:00:00.022) 0:00:02.388 ****** skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create test bridge {{ interface }} via nm provider] ********************** task path: /tmp/tmp1gs4m1jh/tests/network/playbooks/tests_switch_provider.yml:36 Wednesday 03 August 2022 15:53:56 +0000 (0:00:00.022) 0:00:02.411 ****** skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [include_tasks] *********************************************************** task path: /tmp/tmp1gs4m1jh/tests/network/playbooks/tests_switch_provider.yml:47 Wednesday 03 August 2022 15:53:57 +0000 (0:00:00.021) 0:00:02.433 ****** skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [include_tasks] *********************************************************** task path: /tmp/tmp1gs4m1jh/tests/network/playbooks/tests_switch_provider.yml:48 Wednesday 03 August 2022 15:53:57 +0000 (0:00:00.022) 0:00:02.455 ****** skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [include_tasks] *********************************************************** task path: /tmp/tmp1gs4m1jh/tests/network/playbooks/tests_switch_provider.yml:52 Wednesday 03 August 2022 15:53:57 +0000 (0:00:00.021) 0:00:02.477 ****** skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [include_tasks] *********************************************************** task path: /tmp/tmp1gs4m1jh/tests/network/playbooks/tests_switch_provider.yml:53 Wednesday 03 August 2022 15:53:57 +0000 (0:00:00.020) 0:00:02.497 ****** skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [include_tasks] *********************************************************** task path: /tmp/tmp1gs4m1jh/tests/network/playbooks/tests_switch_provider.yml:54 Wednesday 03 August 2022 15:53:57 +0000 (0:00:00.020) 0:00:02.518 ****** skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/rhel-9.qcow2.snap : ok=4 changed=1 unreachable=0 failed=0 skipped=13 rescued=0 ignored=0 Wednesday 03 August 2022 15:53:57 +0000 (0:00:00.030) 0:00:02.548 ****** =============================================================================== Gathering Facts --------------------------------------------------------- 1.10s /tmp/tmp1gs4m1jh/tests/network/tests_switch_provider.yml:3 -------------------- Get stats of system files ----------------------------------------------- 0.58s /tmp/tmp1gs4m1jh/tests/network/_backup.yml:6 ---------------------------------- Back up system files ---------------------------------------------------- 0.50s /tmp/tmp1gs4m1jh/tests/network/_backup.yml:19 --------------------------------- Check if system files exist --------------------------------------------- 0.04s /tmp/tmp1gs4m1jh/tests/network/_backup.yml:13 --------------------------------- include_tasks ----------------------------------------------------------- 0.03s /tmp/tmp1gs4m1jh/tests/network/playbooks/tests_switch_provider.yml:54 --------- Gathering Facts --------------------------------------------------------- 0.03s /tmp/tmp1gs4m1jh/tests/network/playbooks/tests_switch_provider.yml:5 ---------- include_tasks ----------------------------------------------------------- 0.02s /tmp/tmp1gs4m1jh/tests/network/playbooks/tests_switch_provider.yml:26 --------- set fact to use initscripts network_provider ---------------------------- 0.02s /tmp/tmp1gs4m1jh/tests/network/playbooks/tests_switch_provider.yml:8 ---------- set fact to use nm network_provider ------------------------------------- 0.02s /tmp/tmp1gs4m1jh/tests/network/playbooks/tests_switch_provider.yml:31 --------- include_tasks ----------------------------------------------------------- 0.02s /tmp/tmp1gs4m1jh/tests/network/playbooks/tests_switch_provider.yml:30 --------- include_tasks ----------------------------------------------------------- 0.02s /tmp/tmp1gs4m1jh/tests/network/playbooks/tests_switch_provider.yml:47 --------- Create test bridge {{ interface }} via nm provider ---------------------- 0.02s /tmp/tmp1gs4m1jh/tests/network/playbooks/tests_switch_provider.yml:36 --------- include_tasks ----------------------------------------------------------- 0.02s /tmp/tmp1gs4m1jh/tests/network/playbooks/tests_switch_provider.yml:48 --------- Create test bridge {{ interface }} via initscripts provider ------------- 0.02s /tmp/tmp1gs4m1jh/tests/network/playbooks/tests_switch_provider.yml:14 --------- include_tasks ----------------------------------------------------------- 0.02s /tmp/tmp1gs4m1jh/tests/network/playbooks/tests_switch_provider.yml:25 --------- include_tasks ----------------------------------------------------------- 0.02s /tmp/tmp1gs4m1jh/tests/network/playbooks/tests_switch_provider.yml:52 --------- include_tasks ----------------------------------------------------------- 0.02s /tmp/tmp1gs4m1jh/tests/network/playbooks/tests_switch_provider.yml:53 --------- PLAYBOOK: _restore.yml ********************************************************* 1 plays in /tmp/tmp1gs4m1jh/tests/network/_restore.yml PLAY [all] ********************************************************************* META: ran handlers TASK [Restore system files] **************************************************** task path: /tmp/tmp1gs4m1jh/tests/network/_restore.yml:4 Wednesday 03 August 2022 15:53:57 +0000 (0:00:00.019) 0:00:02.568 ****** changed: [/cache/rhel-9.qcow2.snap] => { "changed": true, "cmd": "(cd /; tar -xf /tmp/network.backup.tar)", "delta": "0:00:00.005502", "end": "2022-08-03 11:53:56.737779", "rc": 0, "start": "2022-08-03 11:53:56.732277" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/rhel-9.qcow2.snap : ok=5 changed=2 unreachable=0 failed=0 skipped=13 rescued=0 ignored=0 Wednesday 03 August 2022 15:53:57 +0000 (0:00:00.371) 0:00:02.940 ****** =============================================================================== Gathering Facts --------------------------------------------------------- 1.10s /tmp/tmp1gs4m1jh/tests/network/tests_switch_provider.yml:3 -------------------- Get stats of system files ----------------------------------------------- 0.58s /tmp/tmp1gs4m1jh/tests/network/_backup.yml:6 ---------------------------------- Back up system files ---------------------------------------------------- 0.50s /tmp/tmp1gs4m1jh/tests/network/_backup.yml:19 --------------------------------- Restore system files ---------------------------------------------------- 0.37s /tmp/tmp1gs4m1jh/tests/network/_restore.yml:4 --------------------------------- Check if system files exist --------------------------------------------- 0.04s /tmp/tmp1gs4m1jh/tests/network/_backup.yml:13 --------------------------------- include_tasks ----------------------------------------------------------- 0.03s /tmp/tmp1gs4m1jh/tests/network/playbooks/tests_switch_provider.yml:54 --------- Gathering Facts --------------------------------------------------------- 0.03s /tmp/tmp1gs4m1jh/tests/network/playbooks/tests_switch_provider.yml:5 ---------- include_tasks ----------------------------------------------------------- 0.02s /tmp/tmp1gs4m1jh/tests/network/playbooks/tests_switch_provider.yml:26 --------- set fact to use initscripts network_provider ---------------------------- 0.02s /tmp/tmp1gs4m1jh/tests/network/playbooks/tests_switch_provider.yml:8 ---------- set fact to use nm network_provider ------------------------------------- 0.02s /tmp/tmp1gs4m1jh/tests/network/playbooks/tests_switch_provider.yml:31 --------- include_tasks ----------------------------------------------------------- 0.02s /tmp/tmp1gs4m1jh/tests/network/playbooks/tests_switch_provider.yml:30 --------- include_tasks ----------------------------------------------------------- 0.02s /tmp/tmp1gs4m1jh/tests/network/playbooks/tests_switch_provider.yml:47 --------- Create test bridge {{ interface }} via nm provider ---------------------- 0.02s /tmp/tmp1gs4m1jh/tests/network/playbooks/tests_switch_provider.yml:36 --------- include_tasks ----------------------------------------------------------- 0.02s /tmp/tmp1gs4m1jh/tests/network/playbooks/tests_switch_provider.yml:48 --------- Create test bridge {{ interface }} via initscripts provider ------------- 0.02s /tmp/tmp1gs4m1jh/tests/network/playbooks/tests_switch_provider.yml:14 --------- include_tasks ----------------------------------------------------------- 0.02s /tmp/tmp1gs4m1jh/tests/network/playbooks/tests_switch_provider.yml:25 --------- include_tasks ----------------------------------------------------------- 0.02s /tmp/tmp1gs4m1jh/tests/network/playbooks/tests_switch_provider.yml:52 --------- include_tasks ----------------------------------------------------------- 0.02s /tmp/tmp1gs4m1jh/tests/network/playbooks/tests_switch_provider.yml:53 ---------