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/tmpdm_c1v_l 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/tmp5fajrzs2/tests/_backup.yml PLAY [all] ********************************************************************* META: ran handlers TASK [Get stats of system files] *********************************************** task path: /tmp/tmp5fajrzs2/tests/_backup.yml:6 Wednesday 03 August 2022 16:52:07 +0000 (0:00:00.017) 0:00:00.017 ****** ok: [/cache/fedora-35.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": 1659545526.2303848, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "binary", "ctime": 1659545526.2303848, "dev": 32, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 44042, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": true, "isreg": false, "issock": false, "isuid": false, "lnk_source": "/run/systemd/resolve/stub-resolv.conf", "lnk_target": "../run/systemd/resolve/stub-resolv.conf", "mimetype": "inode/symlink", "mode": "0777", "mtime": 1659338446.0, "nlink": 1, "path": "/etc/resolv.conf", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 39, "uid": 0, "version": null, "wgrp": true, "woth": true, "writeable": true, "wusr": true, "xgrp": true, "xoth": true, "xusr": true } } TASK [Check if system files exist] ********************************************* task path: /tmp/tmp5fajrzs2/tests/_backup.yml:13 Wednesday 03 August 2022 16:52:08 +0000 (0:00:00.591) 0:00:00.609 ****** [WARNING]: conditional statements should not include jinja2 templating delimiters such as {{ }} or {% %}. Found: {{ item.stat.exists }} ok: [/cache/fedora-35.qcow2.snap] => (item={'changed': False, 'stat': {'exists': True, 'path': '/etc/resolv.conf', 'mode': '0777', 'isdir': False, 'ischr': False, 'isblk': False, 'isreg': False, 'isfifo': False, 'islnk': True, 'issock': False, 'uid': 0, 'gid': 0, 'size': 39, 'inode': 44042, 'dev': 32, 'nlink': 1, 'atime': 1659545526.2303848, 'mtime': 1659338446.0, 'ctime': 1659545526.2303848, 'wusr': True, 'rusr': True, 'xusr': True, 'wgrp': True, 'rgrp': True, 'xgrp': True, 'woth': True, 'roth': True, 'xoth': True, 'isuid': False, 'isgid': False, 'blocks': 8, 'block_size': 4096, 'device_type': 0, 'readable': True, 'writeable': True, 'executable': False, 'lnk_source': '/run/systemd/resolve/stub-resolv.conf', 'lnk_target': '../run/systemd/resolve/stub-resolv.conf', 'pw_name': 'root', 'gr_name': 'root', 'mimetype': 'inode/symlink', 'charset': 'binary', 'version': None, '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": 1659545526.2303848, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "binary", "ctime": 1659545526.2303848, "dev": 32, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 44042, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": true, "isreg": false, "issock": false, "isuid": false, "lnk_source": "/run/systemd/resolve/stub-resolv.conf", "lnk_target": "../run/systemd/resolve/stub-resolv.conf", "mimetype": "inode/symlink", "mode": "0777", "mtime": 1659338446.0, "nlink": 1, "path": "/etc/resolv.conf", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 39, "uid": 0, "version": null, "wgrp": true, "woth": true, "writeable": true, "wusr": true, "xgrp": true, "xoth": true, "xusr": true } } } TASK [Back up system files] **************************************************** task path: /tmp/tmp5fajrzs2/tests/_backup.yml:19 Wednesday 03 August 2022 16:52:08 +0000 (0:00:00.032) 0:00:00.642 ****** changed: [/cache/fedora-35.qcow2.snap] => { "changed": true, "cmd": [ "tar", "-cf", "/tmp/network.backup.tar", "--same-owner", "--same-permissions", "/etc/resolv.conf" ], "delta": "0:00:00.003970", "end": "2022-08-03 16:52:07.986827", "rc": 0, "start": "2022-08-03 16:52:07.982857" } STDERR: tar: Removing leading `/' from member names META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/fedora-35.qcow2.snap : ok=3 changed=1 unreachable=0 failed=0 skipped=0 rescued=0 ignored=0 Wednesday 03 August 2022 16:52:08 +0000 (0:00:00.493) 0:00:01.135 ****** =============================================================================== Get stats of system files ----------------------------------------------- 0.59s /tmp/tmp5fajrzs2/tests/_backup.yml:6 ------------------------------------------ Back up system files ---------------------------------------------------- 0.49s /tmp/tmp5fajrzs2/tests/_backup.yml:19 ----------------------------------------- Check if system files exist --------------------------------------------- 0.03s /tmp/tmp5fajrzs2/tests/_backup.yml:13 ----------------------------------------- PLAYBOOK: tests_switch_provider.yml ******************************************** 2 plays in /tmp/tmp5fajrzs2/tests/tests_switch_provider.yml PLAY [Run playbook 'playbooks/tests_switch_provider.yml'] ********************** TASK [Gathering Facts] ********************************************************* task path: /tmp/tmp5fajrzs2/tests/tests_switch_provider.yml:3 Wednesday 03 August 2022 16:52:08 +0000 (0:00:00.013) 0:00:01.149 ****** ok: [/cache/fedora-35.qcow2.snap] META: ran handlers META: ran handlers META: ran handlers PLAY [Switch initscripts provider to nm] *************************************** TASK [Gathering Facts] ********************************************************* task path: /tmp/tmp5fajrzs2/tests/playbooks/tests_switch_provider.yml:5 Wednesday 03 August 2022 16:52:09 +0000 (0:00:01.072) 0:00:02.221 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } META: ran handlers TASK [set fact to use initscripts network_provider] **************************** task path: /tmp/tmp5fajrzs2/tests/playbooks/tests_switch_provider.yml:8 Wednesday 03 August 2022 16:52:09 +0000 (0:00:00.028) 0:00:02.250 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create test bridge {{ interface }} via initscripts provider] ************* task path: /tmp/tmp5fajrzs2/tests/playbooks/tests_switch_provider.yml:14 Wednesday 03 August 2022 16:52:09 +0000 (0:00:00.021) 0:00:02.271 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [include_tasks] *********************************************************** task path: /tmp/tmp5fajrzs2/tests/playbooks/tests_switch_provider.yml:25 Wednesday 03 August 2022 16:52:09 +0000 (0:00:00.019) 0:00:02.290 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [include_tasks] *********************************************************** task path: /tmp/tmp5fajrzs2/tests/playbooks/tests_switch_provider.yml:26 Wednesday 03 August 2022 16:52:09 +0000 (0:00:00.018) 0:00:02.309 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [include_tasks] *********************************************************** task path: /tmp/tmp5fajrzs2/tests/playbooks/tests_switch_provider.yml:30 Wednesday 03 August 2022 16:52:09 +0000 (0:00:00.021) 0:00:02.330 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set fact to use nm network_provider] ************************************* task path: /tmp/tmp5fajrzs2/tests/playbooks/tests_switch_provider.yml:31 Wednesday 03 August 2022 16:52:09 +0000 (0:00:00.017) 0:00:02.348 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create test bridge {{ interface }} via nm provider] ********************** task path: /tmp/tmp5fajrzs2/tests/playbooks/tests_switch_provider.yml:36 Wednesday 03 August 2022 16:52:09 +0000 (0:00:00.019) 0:00:02.367 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [include_tasks] *********************************************************** task path: /tmp/tmp5fajrzs2/tests/playbooks/tests_switch_provider.yml:47 Wednesday 03 August 2022 16:52:09 +0000 (0:00:00.018) 0:00:02.386 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [include_tasks] *********************************************************** task path: /tmp/tmp5fajrzs2/tests/playbooks/tests_switch_provider.yml:48 Wednesday 03 August 2022 16:52:09 +0000 (0:00:00.018) 0:00:02.404 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [include_tasks] *********************************************************** task path: /tmp/tmp5fajrzs2/tests/playbooks/tests_switch_provider.yml:52 Wednesday 03 August 2022 16:52:09 +0000 (0:00:00.018) 0:00:02.422 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [include_tasks] *********************************************************** task path: /tmp/tmp5fajrzs2/tests/playbooks/tests_switch_provider.yml:53 Wednesday 03 August 2022 16:52:09 +0000 (0:00:00.018) 0:00:02.440 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [include_tasks] *********************************************************** task path: /tmp/tmp5fajrzs2/tests/playbooks/tests_switch_provider.yml:54 Wednesday 03 August 2022 16:52:09 +0000 (0:00:00.018) 0:00:02.458 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/fedora-35.qcow2.snap : ok=4 changed=1 unreachable=0 failed=0 skipped=13 rescued=0 ignored=0 Wednesday 03 August 2022 16:52:09 +0000 (0:00:00.029) 0:00:02.488 ****** =============================================================================== Gathering Facts --------------------------------------------------------- 1.07s /tmp/tmp5fajrzs2/tests/tests_switch_provider.yml:3 ---------------------------- Get stats of system files ----------------------------------------------- 0.59s /tmp/tmp5fajrzs2/tests/_backup.yml:6 ------------------------------------------ Back up system files ---------------------------------------------------- 0.49s /tmp/tmp5fajrzs2/tests/_backup.yml:19 ----------------------------------------- Check if system files exist --------------------------------------------- 0.03s /tmp/tmp5fajrzs2/tests/_backup.yml:13 ----------------------------------------- include_tasks ----------------------------------------------------------- 0.03s /tmp/tmp5fajrzs2/tests/playbooks/tests_switch_provider.yml:54 ----------------- Gathering Facts --------------------------------------------------------- 0.03s /tmp/tmp5fajrzs2/tests/playbooks/tests_switch_provider.yml:5 ------------------ set fact to use initscripts network_provider ---------------------------- 0.02s /tmp/tmp5fajrzs2/tests/playbooks/tests_switch_provider.yml:8 ------------------ include_tasks ----------------------------------------------------------- 0.02s /tmp/tmp5fajrzs2/tests/playbooks/tests_switch_provider.yml:26 ----------------- set fact to use nm network_provider ------------------------------------- 0.02s /tmp/tmp5fajrzs2/tests/playbooks/tests_switch_provider.yml:31 ----------------- Create test bridge {{ interface }} via initscripts provider ------------- 0.02s /tmp/tmp5fajrzs2/tests/playbooks/tests_switch_provider.yml:14 ----------------- include_tasks ----------------------------------------------------------- 0.02s /tmp/tmp5fajrzs2/tests/playbooks/tests_switch_provider.yml:25 ----------------- include_tasks ----------------------------------------------------------- 0.02s /tmp/tmp5fajrzs2/tests/playbooks/tests_switch_provider.yml:52 ----------------- include_tasks ----------------------------------------------------------- 0.02s /tmp/tmp5fajrzs2/tests/playbooks/tests_switch_provider.yml:47 ----------------- include_tasks ----------------------------------------------------------- 0.02s /tmp/tmp5fajrzs2/tests/playbooks/tests_switch_provider.yml:53 ----------------- include_tasks ----------------------------------------------------------- 0.02s /tmp/tmp5fajrzs2/tests/playbooks/tests_switch_provider.yml:48 ----------------- Create test bridge {{ interface }} via nm provider ---------------------- 0.02s /tmp/tmp5fajrzs2/tests/playbooks/tests_switch_provider.yml:36 ----------------- include_tasks ----------------------------------------------------------- 0.02s /tmp/tmp5fajrzs2/tests/playbooks/tests_switch_provider.yml:30 ----------------- PLAYBOOK: _restore.yml ********************************************************* 1 plays in /tmp/tmp5fajrzs2/tests/_restore.yml PLAY [all] ********************************************************************* META: ran handlers TASK [Restore system files] **************************************************** task path: /tmp/tmp5fajrzs2/tests/_restore.yml:4 Wednesday 03 August 2022 16:52:09 +0000 (0:00:00.019) 0:00:02.507 ****** changed: [/cache/fedora-35.qcow2.snap] => { "changed": true, "cmd": "(cd /; tar -xf /tmp/network.backup.tar)", "delta": "0:00:00.006475", "end": "2022-08-03 16:52:09.747190", "rc": 0, "start": "2022-08-03 16:52:09.740715" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/fedora-35.qcow2.snap : ok=5 changed=2 unreachable=0 failed=0 skipped=13 rescued=0 ignored=0 Wednesday 03 August 2022 16:52:10 +0000 (0:00:00.390) 0:00:02.898 ****** =============================================================================== Gathering Facts --------------------------------------------------------- 1.07s /tmp/tmp5fajrzs2/tests/tests_switch_provider.yml:3 ---------------------------- Get stats of system files ----------------------------------------------- 0.59s /tmp/tmp5fajrzs2/tests/_backup.yml:6 ------------------------------------------ Back up system files ---------------------------------------------------- 0.49s /tmp/tmp5fajrzs2/tests/_backup.yml:19 ----------------------------------------- Restore system files ---------------------------------------------------- 0.39s /tmp/tmp5fajrzs2/tests/_restore.yml:4 ----------------------------------------- Check if system files exist --------------------------------------------- 0.03s /tmp/tmp5fajrzs2/tests/_backup.yml:13 ----------------------------------------- include_tasks ----------------------------------------------------------- 0.03s /tmp/tmp5fajrzs2/tests/playbooks/tests_switch_provider.yml:54 ----------------- Gathering Facts --------------------------------------------------------- 0.03s /tmp/tmp5fajrzs2/tests/playbooks/tests_switch_provider.yml:5 ------------------ set fact to use initscripts network_provider ---------------------------- 0.02s /tmp/tmp5fajrzs2/tests/playbooks/tests_switch_provider.yml:8 ------------------ include_tasks ----------------------------------------------------------- 0.02s /tmp/tmp5fajrzs2/tests/playbooks/tests_switch_provider.yml:26 ----------------- set fact to use nm network_provider ------------------------------------- 0.02s /tmp/tmp5fajrzs2/tests/playbooks/tests_switch_provider.yml:31 ----------------- Create test bridge {{ interface }} via initscripts provider ------------- 0.02s /tmp/tmp5fajrzs2/tests/playbooks/tests_switch_provider.yml:14 ----------------- include_tasks ----------------------------------------------------------- 0.02s /tmp/tmp5fajrzs2/tests/playbooks/tests_switch_provider.yml:25 ----------------- include_tasks ----------------------------------------------------------- 0.02s /tmp/tmp5fajrzs2/tests/playbooks/tests_switch_provider.yml:52 ----------------- include_tasks ----------------------------------------------------------- 0.02s /tmp/tmp5fajrzs2/tests/playbooks/tests_switch_provider.yml:47 ----------------- include_tasks ----------------------------------------------------------- 0.02s /tmp/tmp5fajrzs2/tests/playbooks/tests_switch_provider.yml:53 ----------------- include_tasks ----------------------------------------------------------- 0.02s /tmp/tmp5fajrzs2/tests/playbooks/tests_switch_provider.yml:48 ----------------- Create test bridge {{ interface }} via nm provider ---------------------- 0.02s /tmp/tmp5fajrzs2/tests/playbooks/tests_switch_provider.yml:36 ----------------- include_tasks ----------------------------------------------------------- 0.02s /tmp/tmp5fajrzs2/tests/playbooks/tests_switch_provider.yml:30 ----------------- 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/tmpdm_c1v_l 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/tmpn6gexhje/tests/network/_backup.yml PLAY [all] ********************************************************************* META: ran handlers TASK [Get stats of system files] *********************************************** task path: /tmp/tmpn6gexhje/tests/network/_backup.yml:6 Wednesday 03 August 2022 17:18:37 +0000 (0:00:00.017) 0:00:00.017 ****** ok: [/cache/fedora-35.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": 1659547115.963671, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "binary", "ctime": 1659547115.963671, "dev": 32, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 44041, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": true, "isreg": false, "issock": false, "isuid": false, "lnk_source": "/run/systemd/resolve/stub-resolv.conf", "lnk_target": "../run/systemd/resolve/stub-resolv.conf", "mimetype": "inode/symlink", "mode": "0777", "mtime": 1659338446.0, "nlink": 1, "path": "/etc/resolv.conf", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 39, "uid": 0, "version": null, "wgrp": true, "woth": true, "writeable": true, "wusr": true, "xgrp": true, "xoth": true, "xusr": true } } TASK [Check if system files exist] ********************************************* task path: /tmp/tmpn6gexhje/tests/network/_backup.yml:13 Wednesday 03 August 2022 17:18:37 +0000 (0:00:00.599) 0:00:00.616 ****** [WARNING]: conditional statements should not include jinja2 templating delimiters such as {{ }} or {% %}. Found: {{ item.stat.exists }} ok: [/cache/fedora-35.qcow2.snap] => (item={'changed': False, 'stat': {'exists': True, 'path': '/etc/resolv.conf', 'mode': '0777', 'isdir': False, 'ischr': False, 'isblk': False, 'isreg': False, 'isfifo': False, 'islnk': True, 'issock': False, 'uid': 0, 'gid': 0, 'size': 39, 'inode': 44041, 'dev': 32, 'nlink': 1, 'atime': 1659547115.963671, 'mtime': 1659338446.0, 'ctime': 1659547115.963671, 'wusr': True, 'rusr': True, 'xusr': True, 'wgrp': True, 'rgrp': True, 'xgrp': True, 'woth': True, 'roth': True, 'xoth': True, 'isuid': False, 'isgid': False, 'blocks': 8, 'block_size': 4096, 'device_type': 0, 'readable': True, 'writeable': True, 'executable': False, 'lnk_source': '/run/systemd/resolve/stub-resolv.conf', 'lnk_target': '../run/systemd/resolve/stub-resolv.conf', 'pw_name': 'root', 'gr_name': 'root', 'mimetype': 'inode/symlink', 'charset': 'binary', 'version': None, '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": 1659547115.963671, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "binary", "ctime": 1659547115.963671, "dev": 32, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 44041, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": true, "isreg": false, "issock": false, "isuid": false, "lnk_source": "/run/systemd/resolve/stub-resolv.conf", "lnk_target": "../run/systemd/resolve/stub-resolv.conf", "mimetype": "inode/symlink", "mode": "0777", "mtime": 1659338446.0, "nlink": 1, "path": "/etc/resolv.conf", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 39, "uid": 0, "version": null, "wgrp": true, "woth": true, "writeable": true, "wusr": true, "xgrp": true, "xoth": true, "xusr": true } } } TASK [Back up system files] **************************************************** task path: /tmp/tmpn6gexhje/tests/network/_backup.yml:19 Wednesday 03 August 2022 17:18:37 +0000 (0:00:00.035) 0:00:00.652 ****** changed: [/cache/fedora-35.qcow2.snap] => { "changed": true, "cmd": [ "tar", "-cf", "/tmp/network.backup.tar", "--same-owner", "--same-permissions", "/etc/resolv.conf" ], "delta": "0:00:00.004102", "end": "2022-08-03 17:18:37.708435", "rc": 0, "start": "2022-08-03 17:18:37.704333" } STDERR: tar: Removing leading `/' from member names META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/fedora-35.qcow2.snap : ok=3 changed=1 unreachable=0 failed=0 skipped=0 rescued=0 ignored=0 Wednesday 03 August 2022 17:18:38 +0000 (0:00:00.508) 0:00:01.161 ****** =============================================================================== Get stats of system files ----------------------------------------------- 0.60s /tmp/tmpn6gexhje/tests/network/_backup.yml:6 ---------------------------------- Back up system files ---------------------------------------------------- 0.51s /tmp/tmpn6gexhje/tests/network/_backup.yml:19 --------------------------------- Check if system files exist --------------------------------------------- 0.04s /tmp/tmpn6gexhje/tests/network/_backup.yml:13 --------------------------------- PLAYBOOK: tests_switch_provider.yml ******************************************** 2 plays in /tmp/tmpn6gexhje/tests/network/tests_switch_provider.yml PLAY [Run playbook 'playbooks/tests_switch_provider.yml'] ********************** TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpn6gexhje/tests/network/tests_switch_provider.yml:3 Wednesday 03 August 2022 17:18:38 +0000 (0:00:00.015) 0:00:01.176 ****** ok: [/cache/fedora-35.qcow2.snap] META: ran handlers META: ran handlers META: ran handlers PLAY [Switch initscripts provider to nm] *************************************** TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpn6gexhje/tests/network/playbooks/tests_switch_provider.yml:5 Wednesday 03 August 2022 17:18:39 +0000 (0:00:01.112) 0:00:02.288 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } META: ran handlers TASK [set fact to use initscripts network_provider] **************************** task path: /tmp/tmpn6gexhje/tests/network/playbooks/tests_switch_provider.yml:8 Wednesday 03 August 2022 17:18:39 +0000 (0:00:00.030) 0:00:02.319 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create test bridge {{ interface }} via initscripts provider] ************* task path: /tmp/tmpn6gexhje/tests/network/playbooks/tests_switch_provider.yml:14 Wednesday 03 August 2022 17:18:39 +0000 (0:00:00.026) 0:00:02.345 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [include_tasks] *********************************************************** task path: /tmp/tmpn6gexhje/tests/network/playbooks/tests_switch_provider.yml:25 Wednesday 03 August 2022 17:18:39 +0000 (0:00:00.021) 0:00:02.366 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [include_tasks] *********************************************************** task path: /tmp/tmpn6gexhje/tests/network/playbooks/tests_switch_provider.yml:26 Wednesday 03 August 2022 17:18:39 +0000 (0:00:00.022) 0:00:02.389 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [include_tasks] *********************************************************** task path: /tmp/tmpn6gexhje/tests/network/playbooks/tests_switch_provider.yml:30 Wednesday 03 August 2022 17:18:39 +0000 (0:00:00.021) 0:00:02.410 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set fact to use nm network_provider] ************************************* task path: /tmp/tmpn6gexhje/tests/network/playbooks/tests_switch_provider.yml:31 Wednesday 03 August 2022 17:18:39 +0000 (0:00:00.021) 0:00:02.432 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create test bridge {{ interface }} via nm provider] ********************** task path: /tmp/tmpn6gexhje/tests/network/playbooks/tests_switch_provider.yml:36 Wednesday 03 August 2022 17:18:39 +0000 (0:00:00.022) 0:00:02.454 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [include_tasks] *********************************************************** task path: /tmp/tmpn6gexhje/tests/network/playbooks/tests_switch_provider.yml:47 Wednesday 03 August 2022 17:18:39 +0000 (0:00:00.021) 0:00:02.476 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [include_tasks] *********************************************************** task path: /tmp/tmpn6gexhje/tests/network/playbooks/tests_switch_provider.yml:48 Wednesday 03 August 2022 17:18:39 +0000 (0:00:00.021) 0:00:02.497 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [include_tasks] *********************************************************** task path: /tmp/tmpn6gexhje/tests/network/playbooks/tests_switch_provider.yml:52 Wednesday 03 August 2022 17:18:39 +0000 (0:00:00.023) 0:00:02.520 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [include_tasks] *********************************************************** task path: /tmp/tmpn6gexhje/tests/network/playbooks/tests_switch_provider.yml:53 Wednesday 03 August 2022 17:18:39 +0000 (0:00:00.021) 0:00:02.542 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [include_tasks] *********************************************************** task path: /tmp/tmpn6gexhje/tests/network/playbooks/tests_switch_provider.yml:54 Wednesday 03 August 2022 17:18:39 +0000 (0:00:00.021) 0:00:02.564 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/fedora-35.qcow2.snap : ok=4 changed=1 unreachable=0 failed=0 skipped=13 rescued=0 ignored=0 Wednesday 03 August 2022 17:18:39 +0000 (0:00:00.029) 0:00:02.594 ****** =============================================================================== Gathering Facts --------------------------------------------------------- 1.11s /tmp/tmpn6gexhje/tests/network/tests_switch_provider.yml:3 -------------------- Get stats of system files ----------------------------------------------- 0.60s /tmp/tmpn6gexhje/tests/network/_backup.yml:6 ---------------------------------- Back up system files ---------------------------------------------------- 0.51s /tmp/tmpn6gexhje/tests/network/_backup.yml:19 --------------------------------- Check if system files exist --------------------------------------------- 0.04s /tmp/tmpn6gexhje/tests/network/_backup.yml:13 --------------------------------- Gathering Facts --------------------------------------------------------- 0.03s /tmp/tmpn6gexhje/tests/network/playbooks/tests_switch_provider.yml:5 ---------- include_tasks ----------------------------------------------------------- 0.03s /tmp/tmpn6gexhje/tests/network/playbooks/tests_switch_provider.yml:54 --------- set fact to use initscripts network_provider ---------------------------- 0.03s /tmp/tmpn6gexhje/tests/network/playbooks/tests_switch_provider.yml:8 ---------- include_tasks ----------------------------------------------------------- 0.02s /tmp/tmpn6gexhje/tests/network/playbooks/tests_switch_provider.yml:48 --------- include_tasks ----------------------------------------------------------- 0.02s /tmp/tmpn6gexhje/tests/network/playbooks/tests_switch_provider.yml:25 --------- set fact to use nm network_provider ------------------------------------- 0.02s /tmp/tmpn6gexhje/tests/network/playbooks/tests_switch_provider.yml:31 --------- include_tasks ----------------------------------------------------------- 0.02s /tmp/tmpn6gexhje/tests/network/playbooks/tests_switch_provider.yml:53 --------- include_tasks ----------------------------------------------------------- 0.02s /tmp/tmpn6gexhje/tests/network/playbooks/tests_switch_provider.yml:30 --------- Create test bridge {{ interface }} via nm provider ---------------------- 0.02s /tmp/tmpn6gexhje/tests/network/playbooks/tests_switch_provider.yml:36 --------- include_tasks ----------------------------------------------------------- 0.02s /tmp/tmpn6gexhje/tests/network/playbooks/tests_switch_provider.yml:52 --------- Create test bridge {{ interface }} via initscripts provider ------------- 0.02s /tmp/tmpn6gexhje/tests/network/playbooks/tests_switch_provider.yml:14 --------- include_tasks ----------------------------------------------------------- 0.02s /tmp/tmpn6gexhje/tests/network/playbooks/tests_switch_provider.yml:26 --------- include_tasks ----------------------------------------------------------- 0.02s /tmp/tmpn6gexhje/tests/network/playbooks/tests_switch_provider.yml:47 --------- PLAYBOOK: _restore.yml ********************************************************* 1 plays in /tmp/tmpn6gexhje/tests/network/_restore.yml PLAY [all] ********************************************************************* META: ran handlers TASK [Restore system files] **************************************************** task path: /tmp/tmpn6gexhje/tests/network/_restore.yml:4 Wednesday 03 August 2022 17:18:39 +0000 (0:00:00.019) 0:00:02.614 ****** changed: [/cache/fedora-35.qcow2.snap] => { "changed": true, "cmd": "(cd /; tar -xf /tmp/network.backup.tar)", "delta": "0:00:00.006322", "end": "2022-08-03 17:18:39.562421", "rc": 0, "start": "2022-08-03 17:18:39.556099" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/fedora-35.qcow2.snap : ok=5 changed=2 unreachable=0 failed=0 skipped=13 rescued=0 ignored=0 Wednesday 03 August 2022 17:18:40 +0000 (0:00:00.404) 0:00:03.019 ****** =============================================================================== Gathering Facts --------------------------------------------------------- 1.11s /tmp/tmpn6gexhje/tests/network/tests_switch_provider.yml:3 -------------------- Get stats of system files ----------------------------------------------- 0.60s /tmp/tmpn6gexhje/tests/network/_backup.yml:6 ---------------------------------- Back up system files ---------------------------------------------------- 0.51s /tmp/tmpn6gexhje/tests/network/_backup.yml:19 --------------------------------- Restore system files ---------------------------------------------------- 0.40s /tmp/tmpn6gexhje/tests/network/_restore.yml:4 --------------------------------- Check if system files exist --------------------------------------------- 0.04s /tmp/tmpn6gexhje/tests/network/_backup.yml:13 --------------------------------- Gathering Facts --------------------------------------------------------- 0.03s /tmp/tmpn6gexhje/tests/network/playbooks/tests_switch_provider.yml:5 ---------- include_tasks ----------------------------------------------------------- 0.03s /tmp/tmpn6gexhje/tests/network/playbooks/tests_switch_provider.yml:54 --------- set fact to use initscripts network_provider ---------------------------- 0.03s /tmp/tmpn6gexhje/tests/network/playbooks/tests_switch_provider.yml:8 ---------- include_tasks ----------------------------------------------------------- 0.02s /tmp/tmpn6gexhje/tests/network/playbooks/tests_switch_provider.yml:48 --------- include_tasks ----------------------------------------------------------- 0.02s /tmp/tmpn6gexhje/tests/network/playbooks/tests_switch_provider.yml:25 --------- set fact to use nm network_provider ------------------------------------- 0.02s /tmp/tmpn6gexhje/tests/network/playbooks/tests_switch_provider.yml:31 --------- include_tasks ----------------------------------------------------------- 0.02s /tmp/tmpn6gexhje/tests/network/playbooks/tests_switch_provider.yml:53 --------- include_tasks ----------------------------------------------------------- 0.02s /tmp/tmpn6gexhje/tests/network/playbooks/tests_switch_provider.yml:30 --------- Create test bridge {{ interface }} via nm provider ---------------------- 0.02s /tmp/tmpn6gexhje/tests/network/playbooks/tests_switch_provider.yml:36 --------- include_tasks ----------------------------------------------------------- 0.02s /tmp/tmpn6gexhje/tests/network/playbooks/tests_switch_provider.yml:52 --------- Create test bridge {{ interface }} via initscripts provider ------------- 0.02s /tmp/tmpn6gexhje/tests/network/playbooks/tests_switch_provider.yml:14 --------- include_tasks ----------------------------------------------------------- 0.02s /tmp/tmpn6gexhje/tests/network/playbooks/tests_switch_provider.yml:26 --------- include_tasks ----------------------------------------------------------- 0.02s /tmp/tmpn6gexhje/tests/network/playbooks/tests_switch_provider.yml:47 ---------