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/tmp40vowjjo 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/tmp05ac0kav/tests/_backup.yml PLAY [all] ********************************************************************* META: ran handlers TASK [Get stats of system files] *********************************************** task path: /tmp/tmp05ac0kav/tests/_backup.yml:6 Wednesday 03 August 2022 16:14:18 +0000 (0:00:00.018) 0:00:00.018 ****** ok: [/cache/centos-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": 1659543256.8579354, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "fba82b5b78ea37322e584bf452f6f8e163f0869b", "ctime": 1659543256.8579354, "dev": 64513, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 4210438, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1659542505.0, "nlink": 1, "path": "/etc/resolv.conf", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 90, "uid": 0, "version": "1127737511", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Check if system files exist] ********************************************* task path: /tmp/tmp05ac0kav/tests/_backup.yml:13 Wednesday 03 August 2022 16:14:18 +0000 (0:00:00.577) 0:00:00.596 ****** [WARNING]: conditional statements should not include jinja2 templating delimiters such as {{ }} or {% %}. Found: {{ item.stat.exists }} ok: [/cache/centos-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': 4210438, 'dev': 64513, 'nlink': 1, 'atime': 1659543256.8579354, 'mtime': 1659542505.0, 'ctime': 1659543256.8579354, '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': '1127737511', '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": 1659543256.8579354, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "fba82b5b78ea37322e584bf452f6f8e163f0869b", "ctime": 1659543256.8579354, "dev": 64513, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 4210438, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1659542505.0, "nlink": 1, "path": "/etc/resolv.conf", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 90, "uid": 0, "version": "1127737511", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } } TASK [Back up system files] **************************************************** task path: /tmp/tmp05ac0kav/tests/_backup.yml:19 Wednesday 03 August 2022 16:14:18 +0000 (0:00:00.036) 0:00:00.633 ****** changed: [/cache/centos-9.qcow2.snap] => { "changed": true, "cmd": [ "tar", "-cf", "/tmp/network.backup.tar", "--same-owner", "--same-permissions", "/etc/resolv.conf" ], "delta": "0:00:00.003419", "end": "2022-08-03 12:14:18.551942", "rc": 0, "start": "2022-08-03 12:14:18.548523" } STDERR: tar: Removing leading `/' from member names META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/centos-9.qcow2.snap : ok=3 changed=1 unreachable=0 failed=0 skipped=0 rescued=0 ignored=0 Wednesday 03 August 2022 16:14:19 +0000 (0:00:00.486) 0:00:01.119 ****** =============================================================================== Get stats of system files ----------------------------------------------- 0.58s /tmp/tmp05ac0kav/tests/_backup.yml:6 ------------------------------------------ Back up system files ---------------------------------------------------- 0.49s /tmp/tmp05ac0kav/tests/_backup.yml:19 ----------------------------------------- Check if system files exist --------------------------------------------- 0.04s /tmp/tmp05ac0kav/tests/_backup.yml:13 ----------------------------------------- PLAYBOOK: tests_integration_pytest.yml ***************************************** 7 plays in /tmp/tmp05ac0kav/tests/tests_integration_pytest.yml PLAY [all] ********************************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmp05ac0kav/tests/tests_integration_pytest.yml:3 Wednesday 03 August 2022 16:14:19 +0000 (0:00:00.065) 0:00:01.185 ****** ok: [/cache/centos-9.qcow2.snap] META: ran handlers TASK [include_tasks] *********************************************************** task path: /tmp/tmp05ac0kav/tests/tests_integration_pytest.yml:5 Wednesday 03 August 2022 16:14:20 +0000 (0:00:01.021) 0:00:02.206 ****** included: /tmp/tmp05ac0kav/tests/tasks/el_repo_setup.yml for /cache/centos-9.qcow2.snap TASK [Fix CentOS6 Base repo] *************************************************** task path: /tmp/tmp05ac0kav/tests/tasks/el_repo_setup.yml:2 Wednesday 03 August 2022 16:14:20 +0000 (0:00:00.025) 0:00:02.232 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [include_tasks] *********************************************************** task path: /tmp/tmp05ac0kav/tests/tasks/el_repo_setup.yml:27 Wednesday 03 August 2022 16:14:20 +0000 (0:00:00.020) 0:00:02.253 ****** included: /tmp/tmp05ac0kav/tests/tasks/enable_epel.yml for /cache/centos-9.qcow2.snap TASK [Create EPEL 9] *********************************************************** task path: /tmp/tmp05ac0kav/tests/tasks/enable_epel.yml:4 Wednesday 03 August 2022 16:14:20 +0000 (0:00:00.029) 0:00:02.282 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /tmp/tmp05ac0kav/tests/tasks/enable_epel.yml:11 Wednesday 03 August 2022 16:14:20 +0000 (0:00:00.019) 0:00:02.302 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /tmp/tmp05ac0kav/tests/tasks/enable_epel.yml:17 Wednesday 03 August 2022 16:14:20 +0000 (0:00:00.018) 0:00:02.320 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /tmp/tmp05ac0kav/tests/tasks/enable_epel.yml:26 Wednesday 03 August 2022 16:14:20 +0000 (0:00:00.018) 0:00:02.339 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } META: ran handlers META: ran handlers PLAY [Install dependencies for integration tests] ****************************** TASK [Gathering Facts] ********************************************************* task path: /tmp/tmp05ac0kav/tests/playbooks/integration_pytest_python3.yml:3 Wednesday 03 August 2022 16:14:20 +0000 (0:00:00.035) 0:00:02.374 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } META: ran handlers TASK [Install rpm dependencies] ************************************************ task path: /tmp/tmp05ac0kav/tests/playbooks/integration_pytest_python3.yml:12 Wednesday 03 August 2022 16:14:20 +0000 (0:00:00.025) 0:00:02.399 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Install Pytest] ********************************************************** task path: /tmp/tmp05ac0kav/tests/playbooks/integration_pytest_python3.yml:17 Wednesday 03 August 2022 16:14:20 +0000 (0:00:00.018) 0:00:02.418 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } META: ran handlers META: ran handlers PLAY [all] ********************************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmp05ac0kav/tests/tests_default_initscripts.yml:3 Wednesday 03 August 2022 16:14:20 +0000 (0:00:00.039) 0:00:02.457 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } META: ran handlers TASK [include_tasks] *********************************************************** task path: /tmp/tmp05ac0kav/tests/tests_default_initscripts.yml:5 Wednesday 03 August 2022 16:14:20 +0000 (0:00:00.027) 0:00:02.485 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'initscripts'] *********************************** task path: /tmp/tmp05ac0kav/tests/tests_default_initscripts.yml:6 Wednesday 03 August 2022 16:14:20 +0000 (0:00:00.018) 0:00:02.504 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } META: ran handlers META: ran handlers PLAY [Test executing the role with default parameters] ************************* META: ran handlers TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 03 August 2022 16:14:20 +0000 (0:00:00.046) 0:00:02.550 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Print network provider] ********************* task path: /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 03 August 2022 16:14:20 +0000 (0:00:00.018) 0:00:02.569 ****** skipping: [/cache/centos-9.qcow2.snap] => {} TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 03 August 2022 16:14:20 +0000 (0:00:00.020) 0:00:02.590 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 03 August 2022 16:14:20 +0000 (0:00:00.020) 0:00:02.610 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 03 August 2022 16:14:20 +0000 (0:00:00.028) 0:00:02.639 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/main.yml:38 Wednesday 03 August 2022 16:14:20 +0000 (0:00:00.025) 0:00:02.664 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/main.yml:51 Wednesday 03 August 2022 16:14:20 +0000 (0:00:00.021) 0:00:02.686 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/main.yml:65 Wednesday 03 August 2022 16:14:20 +0000 (0:00:00.022) 0:00:02.708 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/main.yml:79 Wednesday 03 August 2022 16:14:20 +0000 (0:00:00.021) 0:00:02.730 ****** skipping: [/cache/centos-9.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/main.yml:90 Wednesday 03 August 2022 16:14:20 +0000 (0:00:00.020) 0:00:02.750 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 03 August 2022 16:14:20 +0000 (0:00:00.020) 0:00:02.770 ****** skipping: [/cache/centos-9.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/main.yml:107 Wednesday 03 August 2022 16:14:20 +0000 (0:00:00.021) 0:00:02.792 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 03 August 2022 16:14:20 +0000 (0:00:00.019) 0:00:02.811 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking state] ***************** task path: /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/main.yml:128 Wednesday 03 August 2022 16:14:20 +0000 (0:00:00.018) 0:00:02.830 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 03 August 2022 16:14:20 +0000 (0:00:00.021) 0:00:02.852 ****** skipping: [/cache/centos-9.qcow2.snap] => {} TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/main.yml:138 Wednesday 03 August 2022 16:14:20 +0000 (0:00:00.018) 0:00:02.870 ****** skipping: [/cache/centos-9.qcow2.snap] => {} TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 03 August 2022 16:14:20 +0000 (0:00:00.018) 0:00:02.888 ****** skipping: [/cache/centos-9.qcow2.snap] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 03 August 2022 16:14:20 +0000 (0:00:00.018) 0:00:02.907 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } META: TASK [include_tasks] *********************************************************** task path: /tmp/tmp05ac0kav/tests/tests_default.yml:9 Wednesday 03 August 2022 16:14:20 +0000 (0:00:00.026) 0:00:02.933 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Test warning and info logs] ********************************************** task path: /tmp/tmp05ac0kav/tests/tests_default.yml:10 Wednesday 03 August 2022 16:14:21 +0000 (0:00:00.020) 0:00:02.953 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } META: ran handlers META: ran handlers PLAY [all] ********************************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmp05ac0kav/tests/tests_default_nm.yml:3 Wednesday 03 August 2022 16:14:21 +0000 (0:00:00.041) 0:00:02.995 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } META: ran handlers TASK [include_tasks] *********************************************************** task path: /tmp/tmp05ac0kav/tests/tests_default_nm.yml:5 Wednesday 03 August 2022 16:14:21 +0000 (0:00:00.026) 0:00:03.021 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** task path: /tmp/tmp05ac0kav/tests/tests_default_nm.yml:6 Wednesday 03 August 2022 16:14:21 +0000 (0:00:00.021) 0:00:03.043 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } META: ran handlers META: ran handlers PLAY [Test executing the role with default parameters] ************************* META: ran handlers TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 03 August 2022 16:14:21 +0000 (0:00:00.045) 0:00:03.088 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Print network provider] ********************* task path: /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 03 August 2022 16:14:21 +0000 (0:00:00.018) 0:00:03.106 ****** skipping: [/cache/centos-9.qcow2.snap] => {} TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 03 August 2022 16:14:21 +0000 (0:00:00.018) 0:00:03.125 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 03 August 2022 16:14:21 +0000 (0:00:00.018) 0:00:03.143 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 03 August 2022 16:14:21 +0000 (0:00:00.018) 0:00:03.161 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/main.yml:38 Wednesday 03 August 2022 16:14:21 +0000 (0:00:00.018) 0:00:03.180 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/main.yml:51 Wednesday 03 August 2022 16:14:21 +0000 (0:00:00.018) 0:00:03.198 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/main.yml:65 Wednesday 03 August 2022 16:14:21 +0000 (0:00:00.019) 0:00:03.217 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/main.yml:79 Wednesday 03 August 2022 16:14:21 +0000 (0:00:00.024) 0:00:03.241 ****** skipping: [/cache/centos-9.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/main.yml:90 Wednesday 03 August 2022 16:14:21 +0000 (0:00:00.018) 0:00:03.260 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 03 August 2022 16:14:21 +0000 (0:00:00.018) 0:00:03.279 ****** skipping: [/cache/centos-9.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/main.yml:107 Wednesday 03 August 2022 16:14:21 +0000 (0:00:00.018) 0:00:03.297 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 03 August 2022 16:14:21 +0000 (0:00:00.018) 0:00:03.315 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking state] ***************** task path: /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/main.yml:128 Wednesday 03 August 2022 16:14:21 +0000 (0:00:00.018) 0:00:03.334 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 03 August 2022 16:14:21 +0000 (0:00:00.018) 0:00:03.352 ****** skipping: [/cache/centos-9.qcow2.snap] => {} TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/main.yml:138 Wednesday 03 August 2022 16:14:21 +0000 (0:00:00.018) 0:00:03.371 ****** skipping: [/cache/centos-9.qcow2.snap] => {} TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 03 August 2022 16:14:21 +0000 (0:00:00.018) 0:00:03.389 ****** skipping: [/cache/centos-9.qcow2.snap] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 03 August 2022 16:14:21 +0000 (0:00:00.018) 0:00:03.407 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } META: TASK [include_tasks] *********************************************************** task path: /tmp/tmp05ac0kav/tests/tests_default.yml:9 Wednesday 03 August 2022 16:14:21 +0000 (0:00:00.025) 0:00:03.433 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Test warning and info logs] ********************************************** task path: /tmp/tmp05ac0kav/tests/tests_default.yml:10 Wednesday 03 August 2022 16:14:21 +0000 (0:00:00.021) 0:00:03.455 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } META: ran handlers META: ran handlers PLAY [Run Pytest tests] ******************************************************** TASK [Gathering Facts] ********************************************************* task path: /tmp/tmp05ac0kav/tests/playbooks/integration_pytest_python3.yml:31 Wednesday 03 August 2022 16:14:21 +0000 (0:00:00.035) 0:00:03.491 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } META: ran handlers TASK [create tempdir for code to test] ***************************************** task path: /tmp/tmp05ac0kav/tests/playbooks/integration_pytest_python3.yml:35 Wednesday 03 August 2022 16:14:21 +0000 (0:00:00.026) 0:00:03.517 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [get tempfile for tar] **************************************************** task path: /tmp/tmp05ac0kav/tests/playbooks/integration_pytest_python3.yml:41 Wednesday 03 August 2022 16:14:21 +0000 (0:00:00.027) 0:00:03.545 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [include_tasks] *********************************************************** task path: /tmp/tmp05ac0kav/tests/playbooks/integration_pytest_python3.yml:48 Wednesday 03 August 2022 16:14:21 +0000 (0:00:00.022) 0:00:03.568 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [get tests directory] ***************************************************** task path: /tmp/tmp05ac0kav/tests/playbooks/integration_pytest_python3.yml:50 Wednesday 03 August 2022 16:14:21 +0000 (0:00:00.018) 0:00:03.587 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create Tar file] ********************************************************* task path: /tmp/tmp05ac0kav/tests/playbooks/integration_pytest_python3.yml:65 Wednesday 03 August 2022 16:14:21 +0000 (0:00:00.024) 0:00:03.611 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Copy testrepo.tar to the remote system] ********************************** task path: /tmp/tmp05ac0kav/tests/playbooks/integration_pytest_python3.yml:77 Wednesday 03 August 2022 16:14:21 +0000 (0:00:00.019) 0:00:03.631 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Untar testrepo.tar] ****************************************************** task path: /tmp/tmp05ac0kav/tests/playbooks/integration_pytest_python3.yml:83 Wednesday 03 August 2022 16:14:21 +0000 (0:00:00.019) 0:00:03.650 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create {{ _rundir.path }}/ansible] *************************************** task path: /tmp/tmp05ac0kav/tests/playbooks/integration_pytest_python3.yml:88 Wednesday 03 August 2022 16:14:21 +0000 (0:00:00.026) 0:00:03.676 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Move module_utils to ansible directory] ********************************** task path: /tmp/tmp05ac0kav/tests/playbooks/integration_pytest_python3.yml:94 Wednesday 03 August 2022 16:14:21 +0000 (0:00:00.022) 0:00:03.699 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Fake out python module directories, primarily for python2] *************** task path: /tmp/tmp05ac0kav/tests/playbooks/integration_pytest_python3.yml:100 Wednesday 03 August 2022 16:14:21 +0000 (0:00:00.022) 0:00:03.721 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set _lsr_python_path] **************************************************** task path: /tmp/tmp05ac0kav/tests/playbooks/integration_pytest_python3.yml:108 Wednesday 03 August 2022 16:14:21 +0000 (0:00:00.020) 0:00:03.742 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Show _lsr_python_path] *************************************************** task path: /tmp/tmp05ac0kav/tests/playbooks/integration_pytest_python3.yml:115 Wednesday 03 August 2022 16:14:21 +0000 (0:00:00.020) 0:00:03.763 ****** skipping: [/cache/centos-9.qcow2.snap] => {} TASK [ls -alrtFR {{ _rundir.path }}] ******************************************* task path: /tmp/tmp05ac0kav/tests/playbooks/integration_pytest_python3.yml:119 Wednesday 03 August 2022 16:14:21 +0000 (0:00:00.021) 0:00:03.785 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Run pytest with nm] ****************************************************** task path: /tmp/tmp05ac0kav/tests/playbooks/integration_pytest_python3.yml:123 Wednesday 03 August 2022 16:14:21 +0000 (0:00:00.020) 0:00:03.805 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmp05ac0kav/tests/playbooks/integration_pytest_python3.yml:132 Wednesday 03 August 2022 16:14:21 +0000 (0:00:00.019) 0:00:03.824 ****** skipping: [/cache/centos-9.qcow2.snap] => {} TASK [install network-scripts when running pytest with initscripts] ************ task path: /tmp/tmp05ac0kav/tests/playbooks/integration_pytest_python3.yml:136 Wednesday 03 August 2022 16:14:21 +0000 (0:00:00.018) 0:00:03.843 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Run pytest with initscripts] ********************************************* task path: /tmp/tmp05ac0kav/tests/playbooks/integration_pytest_python3.yml:140 Wednesday 03 August 2022 16:14:21 +0000 (0:00:00.017) 0:00:03.860 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmp05ac0kav/tests/playbooks/integration_pytest_python3.yml:149 Wednesday 03 August 2022 16:14:21 +0000 (0:00:00.026) 0:00:03.887 ****** skipping: [/cache/centos-9.qcow2.snap] => {} TASK [remove local tar file] *************************************************** task path: /tmp/tmp05ac0kav/tests/playbooks/integration_pytest_python3.yml:152 Wednesday 03 August 2022 16:14:21 +0000 (0:00:00.029) 0:00:03.916 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [remove tempdir] ********************************************************** task path: /tmp/tmp05ac0kav/tests/playbooks/integration_pytest_python3.yml:158 Wednesday 03 August 2022 16:14:21 +0000 (0:00:00.021) 0:00:03.938 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/centos-9.qcow2.snap : ok=6 changed=1 unreachable=0 failed=0 skipped=75 rescued=0 ignored=0 Wednesday 03 August 2022 16:14:22 +0000 (0:00:00.028) 0:00:03.966 ****** =============================================================================== Gathering Facts --------------------------------------------------------- 1.02s /tmp/tmp05ac0kav/tests/tests_integration_pytest.yml:3 ------------------------- Get stats of system files ----------------------------------------------- 0.58s /tmp/tmp05ac0kav/tests/_backup.yml:6 ------------------------------------------ Back up system files ---------------------------------------------------- 0.49s /tmp/tmp05ac0kav/tests/_backup.yml:19 ----------------------------------------- Set network provider to 'initscripts' ----------------------------------- 0.05s /tmp/tmp05ac0kav/tests/tests_default_initscripts.yml:6 ------------------------ Set network provider to 'nm' -------------------------------------------- 0.05s /tmp/tmp05ac0kav/tests/tests_default_nm.yml:6 --------------------------------- Test warning and info logs ---------------------------------------------- 0.04s /tmp/tmp05ac0kav/tests/tests_default.yml:10 ----------------------------------- Install Pytest ---------------------------------------------------------- 0.04s /tmp/tmp05ac0kav/tests/playbooks/integration_pytest_python3.yml:17 ------------ Check if system files exist --------------------------------------------- 0.04s /tmp/tmp05ac0kav/tests/_backup.yml:13 ----------------------------------------- Test warning and info logs ---------------------------------------------- 0.04s /tmp/tmp05ac0kav/tests/tests_default.yml:10 ----------------------------------- Enable EPEL 6 ----------------------------------------------------------- 0.04s /tmp/tmp05ac0kav/tests/tasks/enable_epel.yml:26 ------------------------------- include_tasks ----------------------------------------------------------- 0.03s /tmp/tmp05ac0kav/tests/tasks/el_repo_setup.yml:27 ----------------------------- debug ------------------------------------------------------------------- 0.03s /tmp/tmp05ac0kav/tests/playbooks/integration_pytest_python3.yml:149 ----------- remove tempdir ---------------------------------------------------------- 0.03s /tmp/tmp05ac0kav/tests/playbooks/integration_pytest_python3.yml:158 ----------- linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8 --- 0.03s /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/main.yml:19 ----- create tempdir for code to test ----------------------------------------- 0.03s /tmp/tmp05ac0kav/tests/playbooks/integration_pytest_python3.yml:35 ------------ Gathering Facts --------------------------------------------------------- 0.03s /tmp/tmp05ac0kav/tests/tests_default_initscripts.yml:3 ------------------------ Gathering Facts --------------------------------------------------------- 0.03s /tmp/tmp05ac0kav/tests/tests_default_nm.yml:3 --------------------------------- Gathering Facts --------------------------------------------------------- 0.03s /tmp/tmp05ac0kav/tests/playbooks/integration_pytest_python3.yml:31 ------------ linux-system-roles.network : Re-test connectivity ----------------------- 0.03s /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/main.yml:149 ---- Run pytest with initscripts --------------------------------------------- 0.03s /tmp/tmp05ac0kav/tests/playbooks/integration_pytest_python3.yml:140 ----------- PLAYBOOK: _restore.yml ********************************************************* 1 plays in /tmp/tmp05ac0kav/tests/_restore.yml PLAY [all] ********************************************************************* META: ran handlers TASK [Restore system files] **************************************************** task path: /tmp/tmp05ac0kav/tests/_restore.yml:4 Wednesday 03 August 2022 16:14:22 +0000 (0:00:00.020) 0:00:03.987 ****** changed: [/cache/centos-9.qcow2.snap] => { "changed": true, "cmd": "(cd /; tar -xf /tmp/network.backup.tar)", "delta": "0:00:00.004823", "end": "2022-08-03 12:14:21.793459", "rc": 0, "start": "2022-08-03 12:14:21.788636" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/centos-9.qcow2.snap : ok=7 changed=2 unreachable=0 failed=0 skipped=75 rescued=0 ignored=0 Wednesday 03 August 2022 16:14:22 +0000 (0:00:00.374) 0:00:04.361 ****** =============================================================================== Gathering Facts --------------------------------------------------------- 1.02s /tmp/tmp05ac0kav/tests/tests_integration_pytest.yml:3 ------------------------- Get stats of system files ----------------------------------------------- 0.58s /tmp/tmp05ac0kav/tests/_backup.yml:6 ------------------------------------------ Back up system files ---------------------------------------------------- 0.49s /tmp/tmp05ac0kav/tests/_backup.yml:19 ----------------------------------------- Restore system files ---------------------------------------------------- 0.37s /tmp/tmp05ac0kav/tests/_restore.yml:4 ----------------------------------------- Set network provider to 'initscripts' ----------------------------------- 0.05s /tmp/tmp05ac0kav/tests/tests_default_initscripts.yml:6 ------------------------ Set network provider to 'nm' -------------------------------------------- 0.05s /tmp/tmp05ac0kav/tests/tests_default_nm.yml:6 --------------------------------- Test warning and info logs ---------------------------------------------- 0.04s /tmp/tmp05ac0kav/tests/tests_default.yml:10 ----------------------------------- Install Pytest ---------------------------------------------------------- 0.04s /tmp/tmp05ac0kav/tests/playbooks/integration_pytest_python3.yml:17 ------------ Check if system files exist --------------------------------------------- 0.04s /tmp/tmp05ac0kav/tests/_backup.yml:13 ----------------------------------------- Test warning and info logs ---------------------------------------------- 0.04s /tmp/tmp05ac0kav/tests/tests_default.yml:10 ----------------------------------- Enable EPEL 6 ----------------------------------------------------------- 0.04s /tmp/tmp05ac0kav/tests/tasks/enable_epel.yml:26 ------------------------------- include_tasks ----------------------------------------------------------- 0.03s /tmp/tmp05ac0kav/tests/tasks/el_repo_setup.yml:27 ----------------------------- debug ------------------------------------------------------------------- 0.03s /tmp/tmp05ac0kav/tests/playbooks/integration_pytest_python3.yml:149 ----------- remove tempdir ---------------------------------------------------------- 0.03s /tmp/tmp05ac0kav/tests/playbooks/integration_pytest_python3.yml:158 ----------- linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8 --- 0.03s /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/main.yml:19 ----- create tempdir for code to test ----------------------------------------- 0.03s /tmp/tmp05ac0kav/tests/playbooks/integration_pytest_python3.yml:35 ------------ Gathering Facts --------------------------------------------------------- 0.03s /tmp/tmp05ac0kav/tests/tests_default_initscripts.yml:3 ------------------------ Gathering Facts --------------------------------------------------------- 0.03s /tmp/tmp05ac0kav/tests/tests_default_nm.yml:3 --------------------------------- Gathering Facts --------------------------------------------------------- 0.03s /tmp/tmp05ac0kav/tests/playbooks/integration_pytest_python3.yml:31 ------------ linux-system-roles.network : Re-test connectivity ----------------------- 0.03s /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/main.yml:149 ---- 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/tmp40vowjjo 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/tmpem3y1lsc/tests/network/_backup.yml PLAY [all] ********************************************************************* META: ran handlers TASK [Get stats of system files] *********************************************** task path: /tmp/tmpem3y1lsc/tests/network/_backup.yml:6 Wednesday 03 August 2022 16:35:28 +0000 (0:00:00.018) 0:00:00.018 ****** ok: [/cache/centos-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": 1659544526.4069023, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "fba82b5b78ea37322e584bf452f6f8e163f0869b", "ctime": 1659544526.4069023, "dev": 64513, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 4210118, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1659543778.0, "nlink": 1, "path": "/etc/resolv.conf", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 90, "uid": 0, "version": "561080172", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Check if system files exist] ********************************************* task path: /tmp/tmpem3y1lsc/tests/network/_backup.yml:13 Wednesday 03 August 2022 16:35:28 +0000 (0:00:00.586) 0:00:00.604 ****** [WARNING]: conditional statements should not include jinja2 templating delimiters such as {{ }} or {% %}. Found: {{ item.stat.exists }} ok: [/cache/centos-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': 4210118, 'dev': 64513, 'nlink': 1, 'atime': 1659544526.4069023, 'mtime': 1659543778.0, 'ctime': 1659544526.4069023, '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': '561080172', '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": 1659544526.4069023, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "fba82b5b78ea37322e584bf452f6f8e163f0869b", "ctime": 1659544526.4069023, "dev": 64513, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 4210118, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1659543778.0, "nlink": 1, "path": "/etc/resolv.conf", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 90, "uid": 0, "version": "561080172", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } } TASK [Back up system files] **************************************************** task path: /tmp/tmpem3y1lsc/tests/network/_backup.yml:19 Wednesday 03 August 2022 16:35:28 +0000 (0:00:00.037) 0:00:00.641 ****** changed: [/cache/centos-9.qcow2.snap] => { "changed": true, "cmd": [ "tar", "-cf", "/tmp/network.backup.tar", "--same-owner", "--same-permissions", "/etc/resolv.conf" ], "delta": "0:00:00.004936", "end": "2022-08-03 12:35:28.141394", "rc": 0, "start": "2022-08-03 12:35:28.136458" } STDERR: tar: Removing leading `/' from member names META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/centos-9.qcow2.snap : ok=3 changed=1 unreachable=0 failed=0 skipped=0 rescued=0 ignored=0 Wednesday 03 August 2022 16:35:29 +0000 (0:00:00.507) 0:00:01.149 ****** =============================================================================== Get stats of system files ----------------------------------------------- 0.59s /tmp/tmpem3y1lsc/tests/network/_backup.yml:6 ---------------------------------- Back up system files ---------------------------------------------------- 0.51s /tmp/tmpem3y1lsc/tests/network/_backup.yml:19 --------------------------------- Check if system files exist --------------------------------------------- 0.04s /tmp/tmpem3y1lsc/tests/network/_backup.yml:13 --------------------------------- PLAYBOOK: tests_integration_pytest.yml ***************************************** 7 plays in /tmp/tmpem3y1lsc/tests/network/tests_integration_pytest.yml PLAY [all] ********************************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpem3y1lsc/tests/network/tests_integration_pytest.yml:3 Wednesday 03 August 2022 16:35:29 +0000 (0:00:00.074) 0:00:01.224 ****** ok: [/cache/centos-9.qcow2.snap] META: ran handlers TASK [include_tasks] *********************************************************** task path: /tmp/tmpem3y1lsc/tests/network/tests_integration_pytest.yml:5 Wednesday 03 August 2022 16:35:30 +0000 (0:00:01.018) 0:00:02.242 ****** included: /tmp/tmpem3y1lsc/tests/network/tasks/el_repo_setup.yml for /cache/centos-9.qcow2.snap TASK [Fix CentOS6 Base repo] *************************************************** task path: /tmp/tmpem3y1lsc/tests/network/tasks/el_repo_setup.yml:2 Wednesday 03 August 2022 16:35:30 +0000 (0:00:00.025) 0:00:02.268 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [include_tasks] *********************************************************** task path: /tmp/tmpem3y1lsc/tests/network/tasks/el_repo_setup.yml:27 Wednesday 03 August 2022 16:35:30 +0000 (0:00:00.021) 0:00:02.290 ****** included: /tmp/tmpem3y1lsc/tests/network/tasks/enable_epel.yml for /cache/centos-9.qcow2.snap TASK [Create EPEL 9] *********************************************************** task path: /tmp/tmpem3y1lsc/tests/network/tasks/enable_epel.yml:4 Wednesday 03 August 2022 16:35:30 +0000 (0:00:00.027) 0:00:02.317 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /tmp/tmpem3y1lsc/tests/network/tasks/enable_epel.yml:11 Wednesday 03 August 2022 16:35:30 +0000 (0:00:00.019) 0:00:02.337 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /tmp/tmpem3y1lsc/tests/network/tasks/enable_epel.yml:17 Wednesday 03 August 2022 16:35:30 +0000 (0:00:00.018) 0:00:02.356 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /tmp/tmpem3y1lsc/tests/network/tasks/enable_epel.yml:26 Wednesday 03 August 2022 16:35:30 +0000 (0:00:00.019) 0:00:02.375 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } META: ran handlers META: ran handlers PLAY [Install dependencies for integration tests] ****************************** TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpem3y1lsc/tests/network/playbooks/integration_pytest_python3.yml:3 Wednesday 03 August 2022 16:35:30 +0000 (0:00:00.039) 0:00:02.414 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } META: ran handlers TASK [Install rpm dependencies] ************************************************ task path: /tmp/tmpem3y1lsc/tests/network/playbooks/integration_pytest_python3.yml:12 Wednesday 03 August 2022 16:35:30 +0000 (0:00:00.027) 0:00:02.442 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Install Pytest] ********************************************************** task path: /tmp/tmpem3y1lsc/tests/network/playbooks/integration_pytest_python3.yml:17 Wednesday 03 August 2022 16:35:30 +0000 (0:00:00.022) 0:00:02.464 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } META: ran handlers META: ran handlers PLAY [all] ********************************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpem3y1lsc/tests/network/tests_default_initscripts.yml:3 Wednesday 03 August 2022 16:35:30 +0000 (0:00:00.039) 0:00:02.504 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } META: ran handlers TASK [include_tasks] *********************************************************** task path: /tmp/tmpem3y1lsc/tests/network/tests_default_initscripts.yml:5 Wednesday 03 August 2022 16:35:30 +0000 (0:00:00.030) 0:00:02.534 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'initscripts'] *********************************** task path: /tmp/tmpem3y1lsc/tests/network/tests_default_initscripts.yml:6 Wednesday 03 August 2022 16:35:30 +0000 (0:00:00.024) 0:00:02.558 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } META: ran handlers META: ran handlers PLAY [Test executing the role with default parameters] ************************* META: ran handlers TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 03 August 2022 16:35:30 +0000 (0:00:00.047) 0:00:02.606 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 03 August 2022 16:35:30 +0000 (0:00:00.024) 0:00:02.630 ****** skipping: [/cache/centos-9.qcow2.snap] => {} TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 03 August 2022 16:35:30 +0000 (0:00:00.029) 0:00:02.660 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 03 August 2022 16:35:30 +0000 (0:00:00.025) 0:00:02.685 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Wednesday 03 August 2022 16:35:30 +0000 (0:00:00.019) 0:00:02.705 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:35 Wednesday 03 August 2022 16:35:30 +0000 (0:00:00.019) 0:00:02.724 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:45 Wednesday 03 August 2022 16:35:30 +0000 (0:00:00.019) 0:00:02.743 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:56 Wednesday 03 August 2022 16:35:30 +0000 (0:00:00.020) 0:00:02.764 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:69 Wednesday 03 August 2022 16:35:30 +0000 (0:00:00.019) 0:00:02.783 ****** skipping: [/cache/centos-9.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:80 Wednesday 03 August 2022 16:35:31 +0000 (0:00:00.020) 0:00:02.803 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:89 Wednesday 03 August 2022 16:35:31 +0000 (0:00:00.020) 0:00:02.824 ****** skipping: [/cache/centos-9.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:97 Wednesday 03 August 2022 16:35:31 +0000 (0:00:00.021) 0:00:02.846 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 Wednesday 03 August 2022 16:35:31 +0000 (0:00:00.021) 0:00:02.867 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:118 Wednesday 03 August 2022 16:35:31 +0000 (0:00:00.025) 0:00:02.893 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Wednesday 03 August 2022 16:35:31 +0000 (0:00:00.020) 0:00:02.913 ****** skipping: [/cache/centos-9.qcow2.snap] => {} TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:128 Wednesday 03 August 2022 16:35:31 +0000 (0:00:00.020) 0:00:02.934 ****** skipping: [/cache/centos-9.qcow2.snap] => {} TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Wednesday 03 August 2022 16:35:31 +0000 (0:00:00.020) 0:00:02.955 ****** skipping: [/cache/centos-9.qcow2.snap] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Wednesday 03 August 2022 16:35:31 +0000 (0:00:00.020) 0:00:02.975 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } META: TASK [include_tasks] *********************************************************** task path: /tmp/tmpem3y1lsc/tests/network/tests_default.yml:9 Wednesday 03 August 2022 16:35:31 +0000 (0:00:00.029) 0:00:03.005 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Test warning and info logs] ********************************************** task path: /tmp/tmpem3y1lsc/tests/network/tests_default.yml:10 Wednesday 03 August 2022 16:35:31 +0000 (0:00:00.023) 0:00:03.029 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } META: ran handlers META: ran handlers PLAY [all] ********************************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpem3y1lsc/tests/network/tests_default_nm.yml:3 Wednesday 03 August 2022 16:35:31 +0000 (0:00:00.037) 0:00:03.066 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } META: ran handlers TASK [include_tasks] *********************************************************** task path: /tmp/tmpem3y1lsc/tests/network/tests_default_nm.yml:5 Wednesday 03 August 2022 16:35:31 +0000 (0:00:00.027) 0:00:03.094 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** task path: /tmp/tmpem3y1lsc/tests/network/tests_default_nm.yml:6 Wednesday 03 August 2022 16:35:31 +0000 (0:00:00.018) 0:00:03.113 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } META: ran handlers META: ran handlers PLAY [Test executing the role with default parameters] ************************* META: ran handlers TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 03 August 2022 16:35:31 +0000 (0:00:00.047) 0:00:03.161 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 03 August 2022 16:35:31 +0000 (0:00:00.025) 0:00:03.186 ****** skipping: [/cache/centos-9.qcow2.snap] => {} TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 03 August 2022 16:35:31 +0000 (0:00:00.023) 0:00:03.209 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 03 August 2022 16:35:31 +0000 (0:00:00.020) 0:00:03.229 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Wednesday 03 August 2022 16:35:31 +0000 (0:00:00.019) 0:00:03.249 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:35 Wednesday 03 August 2022 16:35:31 +0000 (0:00:00.020) 0:00:03.270 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:45 Wednesday 03 August 2022 16:35:31 +0000 (0:00:00.034) 0:00:03.305 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:56 Wednesday 03 August 2022 16:35:31 +0000 (0:00:00.026) 0:00:03.331 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:69 Wednesday 03 August 2022 16:35:31 +0000 (0:00:00.021) 0:00:03.353 ****** skipping: [/cache/centos-9.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:80 Wednesday 03 August 2022 16:35:31 +0000 (0:00:00.022) 0:00:03.375 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:89 Wednesday 03 August 2022 16:35:31 +0000 (0:00:00.021) 0:00:03.397 ****** skipping: [/cache/centos-9.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:97 Wednesday 03 August 2022 16:35:31 +0000 (0:00:00.022) 0:00:03.419 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 Wednesday 03 August 2022 16:35:31 +0000 (0:00:00.025) 0:00:03.445 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:118 Wednesday 03 August 2022 16:35:31 +0000 (0:00:00.023) 0:00:03.469 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Wednesday 03 August 2022 16:35:31 +0000 (0:00:00.021) 0:00:03.490 ****** skipping: [/cache/centos-9.qcow2.snap] => {} TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:128 Wednesday 03 August 2022 16:35:31 +0000 (0:00:00.021) 0:00:03.512 ****** skipping: [/cache/centos-9.qcow2.snap] => {} TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Wednesday 03 August 2022 16:35:31 +0000 (0:00:00.022) 0:00:03.534 ****** skipping: [/cache/centos-9.qcow2.snap] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Wednesday 03 August 2022 16:35:31 +0000 (0:00:00.022) 0:00:03.557 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } META: TASK [include_tasks] *********************************************************** task path: /tmp/tmpem3y1lsc/tests/network/tests_default.yml:9 Wednesday 03 August 2022 16:35:31 +0000 (0:00:00.031) 0:00:03.588 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Test warning and info logs] ********************************************** task path: /tmp/tmpem3y1lsc/tests/network/tests_default.yml:10 Wednesday 03 August 2022 16:35:31 +0000 (0:00:00.020) 0:00:03.609 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } META: ran handlers META: ran handlers PLAY [Run Pytest tests] ******************************************************** TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpem3y1lsc/tests/network/playbooks/integration_pytest_python3.yml:31 Wednesday 03 August 2022 16:35:31 +0000 (0:00:00.038) 0:00:03.647 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } META: ran handlers TASK [create tempdir for code to test] ***************************************** task path: /tmp/tmpem3y1lsc/tests/network/playbooks/integration_pytest_python3.yml:35 Wednesday 03 August 2022 16:35:31 +0000 (0:00:00.027) 0:00:03.674 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [get tempfile for tar] **************************************************** task path: /tmp/tmpem3y1lsc/tests/network/playbooks/integration_pytest_python3.yml:41 Wednesday 03 August 2022 16:35:31 +0000 (0:00:00.024) 0:00:03.699 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [include_tasks] *********************************************************** task path: /tmp/tmpem3y1lsc/tests/network/playbooks/integration_pytest_python3.yml:48 Wednesday 03 August 2022 16:35:31 +0000 (0:00:00.018) 0:00:03.718 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [get tests directory] ***************************************************** task path: /tmp/tmpem3y1lsc/tests/network/playbooks/integration_pytest_python3.yml:50 Wednesday 03 August 2022 16:35:31 +0000 (0:00:00.018) 0:00:03.737 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create Tar file] ********************************************************* task path: /tmp/tmpem3y1lsc/tests/network/playbooks/integration_pytest_python3.yml:65 Wednesday 03 August 2022 16:35:31 +0000 (0:00:00.030) 0:00:03.767 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Copy testrepo.tar to the remote system] ********************************** task path: /tmp/tmpem3y1lsc/tests/network/playbooks/integration_pytest_python3.yml:77 Wednesday 03 August 2022 16:35:31 +0000 (0:00:00.021) 0:00:03.789 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Untar testrepo.tar] ****************************************************** task path: /tmp/tmpem3y1lsc/tests/network/playbooks/integration_pytest_python3.yml:83 Wednesday 03 August 2022 16:35:32 +0000 (0:00:00.020) 0:00:03.810 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create {{ _rundir.path }}/ansible] *************************************** task path: /tmp/tmpem3y1lsc/tests/network/playbooks/integration_pytest_python3.yml:88 Wednesday 03 August 2022 16:35:32 +0000 (0:00:00.022) 0:00:03.832 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Move module_utils to ansible directory] ********************************** task path: /tmp/tmpem3y1lsc/tests/network/playbooks/integration_pytest_python3.yml:94 Wednesday 03 August 2022 16:35:32 +0000 (0:00:00.019) 0:00:03.851 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Fake out python module directories, primarily for python2] *************** task path: /tmp/tmpem3y1lsc/tests/network/playbooks/integration_pytest_python3.yml:100 Wednesday 03 August 2022 16:35:32 +0000 (0:00:00.018) 0:00:03.870 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set _lsr_python_path] **************************************************** task path: /tmp/tmpem3y1lsc/tests/network/playbooks/integration_pytest_python3.yml:108 Wednesday 03 August 2022 16:35:32 +0000 (0:00:00.018) 0:00:03.889 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Show _lsr_python_path] *************************************************** task path: /tmp/tmpem3y1lsc/tests/network/playbooks/integration_pytest_python3.yml:112 Wednesday 03 August 2022 16:35:32 +0000 (0:00:00.018) 0:00:03.907 ****** skipping: [/cache/centos-9.qcow2.snap] => {} TASK [ls -alrtFR {{ _rundir.path }}] ******************************************* task path: /tmp/tmpem3y1lsc/tests/network/playbooks/integration_pytest_python3.yml:116 Wednesday 03 August 2022 16:35:32 +0000 (0:00:00.025) 0:00:03.932 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Run pytest with nm] ****************************************************** task path: /tmp/tmpem3y1lsc/tests/network/playbooks/integration_pytest_python3.yml:120 Wednesday 03 August 2022 16:35:32 +0000 (0:00:00.021) 0:00:03.953 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpem3y1lsc/tests/network/playbooks/integration_pytest_python3.yml:129 Wednesday 03 August 2022 16:35:32 +0000 (0:00:00.021) 0:00:03.975 ****** skipping: [/cache/centos-9.qcow2.snap] => {} TASK [install network-scripts when running pytest with initscripts] ************ task path: /tmp/tmpem3y1lsc/tests/network/playbooks/integration_pytest_python3.yml:133 Wednesday 03 August 2022 16:35:32 +0000 (0:00:00.026) 0:00:04.001 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Run pytest with initscripts] ********************************************* task path: /tmp/tmpem3y1lsc/tests/network/playbooks/integration_pytest_python3.yml:137 Wednesday 03 August 2022 16:35:32 +0000 (0:00:00.019) 0:00:04.021 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpem3y1lsc/tests/network/playbooks/integration_pytest_python3.yml:146 Wednesday 03 August 2022 16:35:32 +0000 (0:00:00.020) 0:00:04.041 ****** skipping: [/cache/centos-9.qcow2.snap] => {} TASK [remove local tar file] *************************************************** task path: /tmp/tmpem3y1lsc/tests/network/playbooks/integration_pytest_python3.yml:149 Wednesday 03 August 2022 16:35:32 +0000 (0:00:00.026) 0:00:04.068 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [remove tempdir] ********************************************************** task path: /tmp/tmpem3y1lsc/tests/network/playbooks/integration_pytest_python3.yml:155 Wednesday 03 August 2022 16:35:32 +0000 (0:00:00.021) 0:00:04.089 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/centos-9.qcow2.snap : ok=6 changed=1 unreachable=0 failed=0 skipped=75 rescued=0 ignored=0 Wednesday 03 August 2022 16:35:32 +0000 (0:00:00.032) 0:00:04.122 ****** =============================================================================== Gathering Facts --------------------------------------------------------- 1.02s /tmp/tmpem3y1lsc/tests/network/tests_integration_pytest.yml:3 ----------------- Get stats of system files ----------------------------------------------- 0.59s /tmp/tmpem3y1lsc/tests/network/_backup.yml:6 ---------------------------------- Back up system files ---------------------------------------------------- 0.51s /tmp/tmpem3y1lsc/tests/network/_backup.yml:19 --------------------------------- Set network provider to 'nm' -------------------------------------------- 0.05s /tmp/tmpem3y1lsc/tests/network/tests_default_nm.yml:6 ------------------------- Set network provider to 'initscripts' ----------------------------------- 0.05s /tmp/tmpem3y1lsc/tests/network/tests_default_initscripts.yml:6 ---------------- Install Pytest ---------------------------------------------------------- 0.04s /tmp/tmpem3y1lsc/tests/network/playbooks/integration_pytest_python3.yml:17 ---- Enable EPEL 6 ----------------------------------------------------------- 0.04s /tmp/tmpem3y1lsc/tests/network/tasks/enable_epel.yml:26 ----------------------- Test warning and info logs ---------------------------------------------- 0.04s /tmp/tmpem3y1lsc/tests/network/tests_default.yml:10 --------------------------- Test warning and info logs ---------------------------------------------- 0.04s /tmp/tmpem3y1lsc/tests/network/tests_default.yml:10 --------------------------- Check if system files exist --------------------------------------------- 0.04s /tmp/tmpem3y1lsc/tests/network/_backup.yml:13 --------------------------------- fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable --- 0.03s /tmp/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:35 remove tempdir ---------------------------------------------------------- 0.03s /tmp/tmpem3y1lsc/tests/network/playbooks/integration_pytest_python3.yml:155 --- fedora.linux_system_roles.network : Re-test connectivity ---------------- 0.03s /tmp/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 get tests directory ----------------------------------------------------- 0.03s /tmp/tmpem3y1lsc/tests/network/playbooks/integration_pytest_python3.yml:50 ---- Gathering Facts --------------------------------------------------------- 0.03s /tmp/tmpem3y1lsc/tests/network/tests_default_initscripts.yml:3 ---------------- fedora.linux_system_roles.network : Re-test connectivity ---------------- 0.03s /tmp/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 fedora.linux_system_roles.network : Print network provider -------------- 0.03s /tmp/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Gathering Facts --------------------------------------------------------- 0.03s /tmp/tmpem3y1lsc/tests/network/tests_default_nm.yml:3 ------------------------- include_tasks ----------------------------------------------------------- 0.03s /tmp/tmpem3y1lsc/tests/network/tasks/el_repo_setup.yml:27 --------------------- Gathering Facts --------------------------------------------------------- 0.03s /tmp/tmpem3y1lsc/tests/network/playbooks/integration_pytest_python3.yml:3 ----- PLAYBOOK: _restore.yml ********************************************************* 1 plays in /tmp/tmpem3y1lsc/tests/network/_restore.yml PLAY [all] ********************************************************************* META: ran handlers TASK [Restore system files] **************************************************** task path: /tmp/tmpem3y1lsc/tests/network/_restore.yml:4 Wednesday 03 August 2022 16:35:32 +0000 (0:00:00.018) 0:00:04.141 ****** changed: [/cache/centos-9.qcow2.snap] => { "changed": true, "cmd": "(cd /; tar -xf /tmp/network.backup.tar)", "delta": "0:00:00.006639", "end": "2022-08-03 12:35:31.522075", "rc": 0, "start": "2022-08-03 12:35:31.515436" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/centos-9.qcow2.snap : ok=7 changed=2 unreachable=0 failed=0 skipped=75 rescued=0 ignored=0 Wednesday 03 August 2022 16:35:32 +0000 (0:00:00.397) 0:00:04.538 ****** =============================================================================== Gathering Facts --------------------------------------------------------- 1.02s /tmp/tmpem3y1lsc/tests/network/tests_integration_pytest.yml:3 ----------------- Get stats of system files ----------------------------------------------- 0.59s /tmp/tmpem3y1lsc/tests/network/_backup.yml:6 ---------------------------------- Back up system files ---------------------------------------------------- 0.51s /tmp/tmpem3y1lsc/tests/network/_backup.yml:19 --------------------------------- Restore system files ---------------------------------------------------- 0.40s /tmp/tmpem3y1lsc/tests/network/_restore.yml:4 --------------------------------- Set network provider to 'nm' -------------------------------------------- 0.05s /tmp/tmpem3y1lsc/tests/network/tests_default_nm.yml:6 ------------------------- Set network provider to 'initscripts' ----------------------------------- 0.05s /tmp/tmpem3y1lsc/tests/network/tests_default_initscripts.yml:6 ---------------- Install Pytest ---------------------------------------------------------- 0.04s /tmp/tmpem3y1lsc/tests/network/playbooks/integration_pytest_python3.yml:17 ---- Enable EPEL 6 ----------------------------------------------------------- 0.04s /tmp/tmpem3y1lsc/tests/network/tasks/enable_epel.yml:26 ----------------------- Test warning and info logs ---------------------------------------------- 0.04s /tmp/tmpem3y1lsc/tests/network/tests_default.yml:10 --------------------------- Test warning and info logs ---------------------------------------------- 0.04s /tmp/tmpem3y1lsc/tests/network/tests_default.yml:10 --------------------------- Check if system files exist --------------------------------------------- 0.04s /tmp/tmpem3y1lsc/tests/network/_backup.yml:13 --------------------------------- fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable --- 0.03s /tmp/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:35 remove tempdir ---------------------------------------------------------- 0.03s /tmp/tmpem3y1lsc/tests/network/playbooks/integration_pytest_python3.yml:155 --- fedora.linux_system_roles.network : Re-test connectivity ---------------- 0.03s /tmp/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 get tests directory ----------------------------------------------------- 0.03s /tmp/tmpem3y1lsc/tests/network/playbooks/integration_pytest_python3.yml:50 ---- Gathering Facts --------------------------------------------------------- 0.03s /tmp/tmpem3y1lsc/tests/network/tests_default_initscripts.yml:3 ---------------- fedora.linux_system_roles.network : Re-test connectivity ---------------- 0.03s /tmp/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 fedora.linux_system_roles.network : Print network provider -------------- 0.03s /tmp/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Gathering Facts --------------------------------------------------------- 0.03s /tmp/tmpem3y1lsc/tests/network/tests_default_nm.yml:3 ------------------------- include_tasks ----------------------------------------------------------- 0.03s /tmp/tmpem3y1lsc/tests/network/tasks/el_repo_setup.yml:27 ---------------------