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/tmpe4dwqm__ 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/tmplbj_o459/tests/_backup.yml PLAY [all] ********************************************************************* META: ran handlers TASK [Get stats of system files] *********************************************** task path: /tmp/tmplbj_o459/tests/_backup.yml:6 Wednesday 03 August 2022 17:23:16 +0000 (0:00:00.017) 0:00:00.017 ****** ok: [/cache/centos-7.qcow2c.snap] => (item=/etc/resolv.conf) => { "ansible_facts": { "discovered_interpreter_python": "/usr/bin/python" }, "ansible_loop_var": "item", "changed": false, "item": "/etc/resolv.conf", "stat": { "atime": 1659547395.0454898, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "58d0b40c7f3b3443c40de4c19aee35ddf579fd17", "ctime": 1659547395.0454898, "dev": 64769, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 8331, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1659546490.0, "nlink": 1, "path": "/etc/resolv.conf", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 61, "uid": 0, "version": "18446744072634941336", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Check if system files exist] ********************************************* task path: /tmp/tmplbj_o459/tests/_backup.yml:13 Wednesday 03 August 2022 17:23:16 +0000 (0:00:00.506) 0:00:00.523 ****** [WARNING]: conditional statements should not include jinja2 templating delimiters such as {{ }} or {% %}. Found: {{ item.stat.exists }} ok: [/cache/centos-7.qcow2c.snap] => (item={'invocation': {'module_args': {'checksum_algorithm': 'sha1', 'get_checksum': True, 'follow': False, 'path': '/etc/resolv.conf', 'get_md5': False, 'get_mime': True, 'get_attributes': True}}, 'stat': {'charset': 'us-ascii', 'uid': 0, 'exists': True, 'attr_flags': '', 'woth': False, 'isreg': True, 'device_type': 0, 'mtime': 1659546490.0, 'block_size': 4096, 'inode': 8331, 'isgid': False, 'size': 61, 'executable': False, 'isuid': False, 'readable': True, 'version': '18446744072634941336', 'pw_name': 'root', 'gid': 0, 'ischr': False, 'wusr': True, 'writeable': True, 'mimetype': 'text/plain', 'blocks': 8, 'xoth': False, 'islnk': False, 'nlink': 1, 'issock': False, 'rgrp': True, 'gr_name': 'root', 'path': '/etc/resolv.conf', 'xusr': False, 'atime': 1659547395.0454898, 'isdir': False, 'ctime': 1659547395.0454898, 'isblk': False, 'wgrp': False, 'checksum': '58d0b40c7f3b3443c40de4c19aee35ddf579fd17', 'dev': 64769, 'roth': True, 'isfifo': False, 'mode': '0644', 'xgrp': False, 'rusr': True, 'attributes': []}, 'changed': False, 'ansible_facts': {'discovered_interpreter_python': '/usr/bin/python'}, 'failed': False, 'item': '/etc/resolv.conf', 'ansible_loop_var': 'item'}) => { "ansible_facts": { "_existing_files": " /etc/resolv.conf" }, "ansible_loop_var": "item", "changed": false, "item": { "ansible_facts": { "discovered_interpreter_python": "/usr/bin/python" }, "ansible_loop_var": "item", "changed": false, "failed": false, "invocation": { "module_args": { "checksum_algorithm": "sha1", "follow": false, "get_attributes": true, "get_checksum": true, "get_md5": false, "get_mime": true, "path": "/etc/resolv.conf" } }, "item": "/etc/resolv.conf", "stat": { "atime": 1659547395.0454898, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "58d0b40c7f3b3443c40de4c19aee35ddf579fd17", "ctime": 1659547395.0454898, "dev": 64769, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 8331, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1659546490.0, "nlink": 1, "path": "/etc/resolv.conf", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 61, "uid": 0, "version": "18446744072634941336", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } } TASK [Back up system files] **************************************************** task path: /tmp/tmplbj_o459/tests/_backup.yml:19 Wednesday 03 August 2022 17:23:16 +0000 (0:00:00.035) 0:00:00.559 ****** changed: [/cache/centos-7.qcow2c.snap] => { "changed": true, "cmd": [ "tar", "-cf", "/tmp/network.backup.tar", "--same-owner", "--same-permissions", "/etc/resolv.conf" ], "delta": "0:00:00.004519", "end": "2022-08-03 17:23:16.686875", "rc": 0, "start": "2022-08-03 17:23:16.682356" } STDERR: tar: Removing leading `/' from member names META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/centos-7.qcow2c.snap : ok=3 changed=1 unreachable=0 failed=0 skipped=0 rescued=0 ignored=0 Wednesday 03 August 2022 17:23:17 +0000 (0:00:00.455) 0:00:01.015 ****** =============================================================================== Get stats of system files ----------------------------------------------- 0.51s /tmp/tmplbj_o459/tests/_backup.yml:6 ------------------------------------------ Back up system files ---------------------------------------------------- 0.46s /tmp/tmplbj_o459/tests/_backup.yml:19 ----------------------------------------- Check if system files exist --------------------------------------------- 0.04s /tmp/tmplbj_o459/tests/_backup.yml:13 ----------------------------------------- PLAYBOOK: tests_integration_pytest.yml ***************************************** 7 plays in /tmp/tmplbj_o459/tests/tests_integration_pytest.yml PLAY [all] ********************************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmplbj_o459/tests/tests_integration_pytest.yml:3 Wednesday 03 August 2022 17:23:17 +0000 (0:00:00.043) 0:00:01.058 ****** ok: [/cache/centos-7.qcow2c.snap] META: ran handlers TASK [include_tasks] *********************************************************** task path: /tmp/tmplbj_o459/tests/tests_integration_pytest.yml:5 Wednesday 03 August 2022 17:23:18 +0000 (0:00:00.989) 0:00:02.047 ****** included: /tmp/tmplbj_o459/tests/tasks/el_repo_setup.yml for /cache/centos-7.qcow2c.snap TASK [Fix CentOS6 Base repo] *************************************************** task path: /tmp/tmplbj_o459/tests/tasks/el_repo_setup.yml:2 Wednesday 03 August 2022 17:23:18 +0000 (0:00:00.027) 0:00:02.075 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [include_tasks] *********************************************************** task path: /tmp/tmplbj_o459/tests/tasks/el_repo_setup.yml:27 Wednesday 03 August 2022 17:23:18 +0000 (0:00:00.022) 0:00:02.098 ****** included: /tmp/tmplbj_o459/tests/tasks/enable_epel.yml for /cache/centos-7.qcow2c.snap TASK [Create EPEL 7] *********************************************************** task path: /tmp/tmplbj_o459/tests/tasks/enable_epel.yml:4 Wednesday 03 August 2022 17:23:18 +0000 (0:00:00.027) 0:00:02.125 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "cmd": [ "yum", "install", "-y", "https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm" ], "delta": null, "end": null, "rc": 0, "start": null } STDOUT: skipped, since /etc/yum.repos.d/epel.repo exists MSG: Did not run command since '/etc/yum.repos.d/epel.repo' exists TASK [Enable EPEL 7] *********************************************************** task path: /tmp/tmplbj_o459/tests/tasks/enable_epel.yml:11 Wednesday 03 August 2022 17:23:18 +0000 (0:00:00.304) 0:00:02.429 ****** changed: [/cache/centos-7.qcow2c.snap] => { "changed": true, "cmd": [ "yum-config-manager", "--enable", "epel" ], "delta": "0:00:00.177050", "end": "2022-08-03 17:23:18.588445", "rc": 0, "start": "2022-08-03 17:23:18.411395" } STDOUT: Loaded plugins: fastestmirror ================================== repo: epel ================================== [epel] async = True bandwidth = 0 base_persistdir = /var/lib/yum/repos/x86_64/7 baseurl = cache = 0 cachedir = /var/cache/yum/x86_64/7/epel check_config_file_age = True compare_providers_priority = 80 cost = 1000 deltarpm_metadata_percentage = 100 deltarpm_percentage = enabled = True enablegroups = True exclude = failovermethod = priority ftp_disable_epsv = False gpgcadir = /var/lib/yum/repos/x86_64/7/epel/gpgcadir gpgcakey = gpgcheck = True gpgdir = /var/lib/yum/repos/x86_64/7/epel/gpgdir gpgkey = file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-7 hdrdir = /var/cache/yum/x86_64/7/epel/headers http_caching = all includepkgs = ip_resolve = keepalive = True keepcache = True mddownloadpolicy = sqlite mdpolicy = group:small mediaid = metadata_expire = 21600 metadata_expire_filter = read-only:present metalink = https://mirrors.fedoraproject.org/metalink?repo=epel-7&arch=x86_64&infra=genclo&content=centos minrate = 0 mirrorlist = mirrorlist_expire = 86400 name = Extra Packages for Enterprise Linux 7 - x86_64 old_base_cache_dir = password = persistdir = /var/lib/yum/repos/x86_64/7/epel pkgdir = /var/cache/yum/x86_64/7/epel/packages proxy = False proxy_dict = proxy_password = proxy_username = repo_gpgcheck = False retries = 10 skip_if_unavailable = False ssl_check_cert_permissions = True sslcacert = sslclientcert = sslclientkey = sslverify = True throttle = 0 timeout = 30.0 ui_id = epel/x86_64 ui_repoid_vars = releasever, basearch username = TASK [Enable EPEL 8] *********************************************************** task path: /tmp/tmplbj_o459/tests/tasks/enable_epel.yml:17 Wednesday 03 August 2022 17:23:19 +0000 (0:00:00.485) 0:00:02.915 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /tmp/tmplbj_o459/tests/tasks/enable_epel.yml:26 Wednesday 03 August 2022 17:23:19 +0000 (0:00:00.023) 0:00:02.938 ****** skipping: [/cache/centos-7.qcow2c.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/tmplbj_o459/tests/playbooks/integration_pytest_python3.yml:3 Wednesday 03 August 2022 17:23:19 +0000 (0:00:00.042) 0:00:02.981 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } META: ran handlers TASK [Install rpm dependencies] ************************************************ task path: /tmp/tmplbj_o459/tests/playbooks/integration_pytest_python3.yml:12 Wednesday 03 August 2022 17:23:19 +0000 (0:00:00.030) 0:00:03.011 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Install Pytest] ********************************************************** task path: /tmp/tmplbj_o459/tests/playbooks/integration_pytest_python3.yml:17 Wednesday 03 August 2022 17:23:19 +0000 (0:00:00.020) 0:00:03.032 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } META: ran handlers META: ran handlers PLAY [all] ********************************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmplbj_o459/tests/tests_default_initscripts.yml:3 Wednesday 03 August 2022 17:23:19 +0000 (0:00:00.039) 0:00:03.072 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } META: ran handlers TASK [include_tasks] *********************************************************** task path: /tmp/tmplbj_o459/tests/tests_default_initscripts.yml:5 Wednesday 03 August 2022 17:23:19 +0000 (0:00:00.026) 0:00:03.098 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'initscripts'] *********************************** task path: /tmp/tmplbj_o459/tests/tests_default_initscripts.yml:6 Wednesday 03 August 2022 17:23:19 +0000 (0:00:00.018) 0:00:03.117 ****** skipping: [/cache/centos-7.qcow2c.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/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 03 August 2022 17:23:19 +0000 (0:00:00.052) 0:00:03.169 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Print network provider] ********************* task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 03 August 2022 17:23:19 +0000 (0:00:00.024) 0:00:03.194 ****** skipping: [/cache/centos-7.qcow2c.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/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 03 August 2022 17:23:19 +0000 (0:00:00.022) 0:00:03.216 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 03 August 2022 17:23:19 +0000 (0:00:00.022) 0:00:03.238 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 03 August 2022 17:23:19 +0000 (0:00:00.019) 0:00:03.258 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:38 Wednesday 03 August 2022 17:23:19 +0000 (0:00:00.022) 0:00:03.280 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:51 Wednesday 03 August 2022 17:23:19 +0000 (0:00:00.021) 0:00:03.302 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:65 Wednesday 03 August 2022 17:23:19 +0000 (0:00:00.024) 0:00:03.326 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:79 Wednesday 03 August 2022 17:23:19 +0000 (0:00:00.020) 0:00:03.347 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:90 Wednesday 03 August 2022 17:23:19 +0000 (0:00:00.021) 0:00:03.368 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 03 August 2022 17:23:19 +0000 (0:00:00.020) 0:00:03.389 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:107 Wednesday 03 August 2022 17:23:19 +0000 (0:00:00.019) 0:00:03.408 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 03 August 2022 17:23:19 +0000 (0:00:00.018) 0:00:03.427 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking state] ***************** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:128 Wednesday 03 August 2022 17:23:19 +0000 (0:00:00.024) 0:00:03.452 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 03 August 2022 17:23:19 +0000 (0:00:00.022) 0:00:03.474 ****** skipping: [/cache/centos-7.qcow2c.snap] => {} TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:138 Wednesday 03 August 2022 17:23:19 +0000 (0:00:00.020) 0:00:03.495 ****** skipping: [/cache/centos-7.qcow2c.snap] => {} TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 03 August 2022 17:23:19 +0000 (0:00:00.020) 0:00:03.516 ****** skipping: [/cache/centos-7.qcow2c.snap] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 03 August 2022 17:23:19 +0000 (0:00:00.020) 0:00:03.536 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } META: TASK [include_tasks] *********************************************************** task path: /tmp/tmplbj_o459/tests/tests_default.yml:9 Wednesday 03 August 2022 17:23:19 +0000 (0:00:00.027) 0:00:03.564 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Test warning and info logs] ********************************************** task path: /tmp/tmplbj_o459/tests/tests_default.yml:10 Wednesday 03 August 2022 17:23:19 +0000 (0:00:00.021) 0:00:03.585 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } META: ran handlers META: ran handlers PLAY [all] ********************************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmplbj_o459/tests/tests_default_nm.yml:3 Wednesday 03 August 2022 17:23:19 +0000 (0:00:00.037) 0:00:03.623 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } META: ran handlers TASK [include_tasks] *********************************************************** task path: /tmp/tmplbj_o459/tests/tests_default_nm.yml:5 Wednesday 03 August 2022 17:23:19 +0000 (0:00:00.031) 0:00:03.655 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** task path: /tmp/tmplbj_o459/tests/tests_default_nm.yml:6 Wednesday 03 August 2022 17:23:19 +0000 (0:00:00.021) 0:00:03.676 ****** skipping: [/cache/centos-7.qcow2c.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/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 03 August 2022 17:23:19 +0000 (0:00:00.048) 0:00:03.725 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Print network provider] ********************* task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 03 August 2022 17:23:19 +0000 (0:00:00.021) 0:00:03.747 ****** skipping: [/cache/centos-7.qcow2c.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/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 03 August 2022 17:23:19 +0000 (0:00:00.021) 0:00:03.768 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 03 August 2022 17:23:19 +0000 (0:00:00.020) 0:00:03.789 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 03 August 2022 17:23:19 +0000 (0:00:00.020) 0:00:03.809 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:38 Wednesday 03 August 2022 17:23:20 +0000 (0:00:00.021) 0:00:03.831 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:51 Wednesday 03 August 2022 17:23:20 +0000 (0:00:00.021) 0:00:03.852 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:65 Wednesday 03 August 2022 17:23:20 +0000 (0:00:00.020) 0:00:03.873 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:79 Wednesday 03 August 2022 17:23:20 +0000 (0:00:00.019) 0:00:03.892 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:90 Wednesday 03 August 2022 17:23:20 +0000 (0:00:00.019) 0:00:03.912 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 03 August 2022 17:23:20 +0000 (0:00:00.021) 0:00:03.933 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:107 Wednesday 03 August 2022 17:23:20 +0000 (0:00:00.020) 0:00:03.954 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 03 August 2022 17:23:20 +0000 (0:00:00.020) 0:00:03.975 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking state] ***************** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:128 Wednesday 03 August 2022 17:23:20 +0000 (0:00:00.021) 0:00:03.996 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 03 August 2022 17:23:20 +0000 (0:00:00.021) 0:00:04.018 ****** skipping: [/cache/centos-7.qcow2c.snap] => {} TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:138 Wednesday 03 August 2022 17:23:20 +0000 (0:00:00.020) 0:00:04.038 ****** skipping: [/cache/centos-7.qcow2c.snap] => {} TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 03 August 2022 17:23:20 +0000 (0:00:00.024) 0:00:04.063 ****** skipping: [/cache/centos-7.qcow2c.snap] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 03 August 2022 17:23:20 +0000 (0:00:00.021) 0:00:04.084 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } META: TASK [include_tasks] *********************************************************** task path: /tmp/tmplbj_o459/tests/tests_default.yml:9 Wednesday 03 August 2022 17:23:20 +0000 (0:00:00.030) 0:00:04.115 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Test warning and info logs] ********************************************** task path: /tmp/tmplbj_o459/tests/tests_default.yml:10 Wednesday 03 August 2022 17:23:20 +0000 (0:00:00.019) 0:00:04.135 ****** skipping: [/cache/centos-7.qcow2c.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/tmplbj_o459/tests/playbooks/integration_pytest_python3.yml:31 Wednesday 03 August 2022 17:23:20 +0000 (0:00:00.037) 0:00:04.172 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } META: ran handlers TASK [create tempdir for code to test] ***************************************** task path: /tmp/tmplbj_o459/tests/playbooks/integration_pytest_python3.yml:35 Wednesday 03 August 2022 17:23:20 +0000 (0:00:00.028) 0:00:04.201 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [get tempfile for tar] **************************************************** task path: /tmp/tmplbj_o459/tests/playbooks/integration_pytest_python3.yml:41 Wednesday 03 August 2022 17:23:20 +0000 (0:00:00.025) 0:00:04.226 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [include_tasks] *********************************************************** task path: /tmp/tmplbj_o459/tests/playbooks/integration_pytest_python3.yml:48 Wednesday 03 August 2022 17:23:20 +0000 (0:00:00.021) 0:00:04.248 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [get tests directory] ***************************************************** task path: /tmp/tmplbj_o459/tests/playbooks/integration_pytest_python3.yml:50 Wednesday 03 August 2022 17:23:20 +0000 (0:00:00.019) 0:00:04.267 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create Tar file] ********************************************************* task path: /tmp/tmplbj_o459/tests/playbooks/integration_pytest_python3.yml:65 Wednesday 03 August 2022 17:23:20 +0000 (0:00:00.025) 0:00:04.293 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Copy testrepo.tar to the remote system] ********************************** task path: /tmp/tmplbj_o459/tests/playbooks/integration_pytest_python3.yml:77 Wednesday 03 August 2022 17:23:20 +0000 (0:00:00.021) 0:00:04.314 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Untar testrepo.tar] ****************************************************** task path: /tmp/tmplbj_o459/tests/playbooks/integration_pytest_python3.yml:83 Wednesday 03 August 2022 17:23:20 +0000 (0:00:00.021) 0:00:04.336 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create {{ _rundir.path }}/ansible] *************************************** task path: /tmp/tmplbj_o459/tests/playbooks/integration_pytest_python3.yml:88 Wednesday 03 August 2022 17:23:20 +0000 (0:00:00.022) 0:00:04.358 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Move module_utils to ansible directory] ********************************** task path: /tmp/tmplbj_o459/tests/playbooks/integration_pytest_python3.yml:94 Wednesday 03 August 2022 17:23:20 +0000 (0:00:00.019) 0:00:04.377 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Fake out python module directories, primarily for python2] *************** task path: /tmp/tmplbj_o459/tests/playbooks/integration_pytest_python3.yml:100 Wednesday 03 August 2022 17:23:20 +0000 (0:00:00.023) 0:00:04.401 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set _lsr_python_path] **************************************************** task path: /tmp/tmplbj_o459/tests/playbooks/integration_pytest_python3.yml:108 Wednesday 03 August 2022 17:23:20 +0000 (0:00:00.020) 0:00:04.422 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Show _lsr_python_path] *************************************************** task path: /tmp/tmplbj_o459/tests/playbooks/integration_pytest_python3.yml:115 Wednesday 03 August 2022 17:23:20 +0000 (0:00:00.020) 0:00:04.442 ****** skipping: [/cache/centos-7.qcow2c.snap] => {} TASK [ls -alrtFR {{ _rundir.path }}] ******************************************* task path: /tmp/tmplbj_o459/tests/playbooks/integration_pytest_python3.yml:119 Wednesday 03 August 2022 17:23:20 +0000 (0:00:00.027) 0:00:04.470 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Run pytest with nm] ****************************************************** task path: /tmp/tmplbj_o459/tests/playbooks/integration_pytest_python3.yml:123 Wednesday 03 August 2022 17:23:20 +0000 (0:00:00.021) 0:00:04.491 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmplbj_o459/tests/playbooks/integration_pytest_python3.yml:132 Wednesday 03 August 2022 17:23:20 +0000 (0:00:00.021) 0:00:04.513 ****** skipping: [/cache/centos-7.qcow2c.snap] => {} TASK [install network-scripts when running pytest with initscripts] ************ task path: /tmp/tmplbj_o459/tests/playbooks/integration_pytest_python3.yml:136 Wednesday 03 August 2022 17:23:20 +0000 (0:00:00.022) 0:00:04.535 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Run pytest with initscripts] ********************************************* task path: /tmp/tmplbj_o459/tests/playbooks/integration_pytest_python3.yml:140 Wednesday 03 August 2022 17:23:20 +0000 (0:00:00.021) 0:00:04.556 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmplbj_o459/tests/playbooks/integration_pytest_python3.yml:149 Wednesday 03 August 2022 17:23:20 +0000 (0:00:00.022) 0:00:04.579 ****** skipping: [/cache/centos-7.qcow2c.snap] => {} TASK [remove local tar file] *************************************************** task path: /tmp/tmplbj_o459/tests/playbooks/integration_pytest_python3.yml:152 Wednesday 03 August 2022 17:23:20 +0000 (0:00:00.027) 0:00:04.606 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [remove tempdir] ********************************************************** task path: /tmp/tmplbj_o459/tests/playbooks/integration_pytest_python3.yml:158 Wednesday 03 August 2022 17:23:20 +0000 (0:00:00.021) 0:00:04.627 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/centos-7.qcow2c.snap : ok=8 changed=2 unreachable=0 failed=0 skipped=73 rescued=0 ignored=0 Wednesday 03 August 2022 17:23:20 +0000 (0:00:00.030) 0:00:04.657 ****** =============================================================================== Gathering Facts --------------------------------------------------------- 0.99s /tmp/tmplbj_o459/tests/tests_integration_pytest.yml:3 ------------------------- Get stats of system files ----------------------------------------------- 0.51s /tmp/tmplbj_o459/tests/_backup.yml:6 ------------------------------------------ Enable EPEL 7 ----------------------------------------------------------- 0.49s /tmp/tmplbj_o459/tests/tasks/enable_epel.yml:11 ------------------------------- Back up system files ---------------------------------------------------- 0.46s /tmp/tmplbj_o459/tests/_backup.yml:19 ----------------------------------------- Create EPEL 7 ----------------------------------------------------------- 0.30s /tmp/tmplbj_o459/tests/tasks/enable_epel.yml:4 -------------------------------- Set network provider to 'initscripts' ----------------------------------- 0.05s /tmp/tmplbj_o459/tests/tests_default_initscripts.yml:6 ------------------------ Set network provider to 'nm' -------------------------------------------- 0.05s /tmp/tmplbj_o459/tests/tests_default_nm.yml:6 --------------------------------- Enable EPEL 6 ----------------------------------------------------------- 0.04s /tmp/tmplbj_o459/tests/tasks/enable_epel.yml:26 ------------------------------- Install Pytest ---------------------------------------------------------- 0.04s /tmp/tmplbj_o459/tests/playbooks/integration_pytest_python3.yml:17 ------------ Test warning and info logs ---------------------------------------------- 0.04s /tmp/tmplbj_o459/tests/tests_default.yml:10 ----------------------------------- Test warning and info logs ---------------------------------------------- 0.04s /tmp/tmplbj_o459/tests/tests_default.yml:10 ----------------------------------- Check if system files exist --------------------------------------------- 0.04s /tmp/tmplbj_o459/tests/_backup.yml:13 ----------------------------------------- Gathering Facts --------------------------------------------------------- 0.03s /tmp/tmplbj_o459/tests/tests_default_nm.yml:3 --------------------------------- linux-system-roles.network : Re-test connectivity ----------------------- 0.03s /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:149 ---- remove tempdir ---------------------------------------------------------- 0.03s /tmp/tmplbj_o459/tests/playbooks/integration_pytest_python3.yml:158 ----------- Gathering Facts --------------------------------------------------------- 0.03s /tmp/tmplbj_o459/tests/playbooks/integration_pytest_python3.yml:3 ------------- Gathering Facts --------------------------------------------------------- 0.03s /tmp/tmplbj_o459/tests/playbooks/integration_pytest_python3.yml:31 ------------ include_tasks ----------------------------------------------------------- 0.03s /tmp/tmplbj_o459/tests/tests_integration_pytest.yml:5 ------------------------- Show _lsr_python_path --------------------------------------------------- 0.03s /tmp/tmplbj_o459/tests/playbooks/integration_pytest_python3.yml:115 ----------- include_tasks ----------------------------------------------------------- 0.03s /tmp/tmplbj_o459/tests/tasks/el_repo_setup.yml:27 ----------------------------- PLAYBOOK: _restore.yml ********************************************************* 1 plays in /tmp/tmplbj_o459/tests/_restore.yml PLAY [all] ********************************************************************* META: ran handlers TASK [Restore system files] **************************************************** task path: /tmp/tmplbj_o459/tests/_restore.yml:4 Wednesday 03 August 2022 17:23:20 +0000 (0:00:00.020) 0:00:04.678 ****** changed: [/cache/centos-7.qcow2c.snap] => { "changed": true, "cmd": "(cd /; tar -xf /tmp/network.backup.tar)", "delta": "0:00:00.007255", "end": "2022-08-03 17:23:20.671332", "rc": 0, "start": "2022-08-03 17:23:20.664077" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/centos-7.qcow2c.snap : ok=9 changed=3 unreachable=0 failed=0 skipped=73 rescued=0 ignored=0 Wednesday 03 August 2022 17:23:21 +0000 (0:00:00.326) 0:00:05.005 ****** =============================================================================== Gathering Facts --------------------------------------------------------- 0.99s /tmp/tmplbj_o459/tests/tests_integration_pytest.yml:3 ------------------------- Get stats of system files ----------------------------------------------- 0.51s /tmp/tmplbj_o459/tests/_backup.yml:6 ------------------------------------------ Enable EPEL 7 ----------------------------------------------------------- 0.49s /tmp/tmplbj_o459/tests/tasks/enable_epel.yml:11 ------------------------------- Back up system files ---------------------------------------------------- 0.46s /tmp/tmplbj_o459/tests/_backup.yml:19 ----------------------------------------- Restore system files ---------------------------------------------------- 0.33s /tmp/tmplbj_o459/tests/_restore.yml:4 ----------------------------------------- Create EPEL 7 ----------------------------------------------------------- 0.30s /tmp/tmplbj_o459/tests/tasks/enable_epel.yml:4 -------------------------------- Set network provider to 'initscripts' ----------------------------------- 0.05s /tmp/tmplbj_o459/tests/tests_default_initscripts.yml:6 ------------------------ Set network provider to 'nm' -------------------------------------------- 0.05s /tmp/tmplbj_o459/tests/tests_default_nm.yml:6 --------------------------------- Enable EPEL 6 ----------------------------------------------------------- 0.04s /tmp/tmplbj_o459/tests/tasks/enable_epel.yml:26 ------------------------------- Install Pytest ---------------------------------------------------------- 0.04s /tmp/tmplbj_o459/tests/playbooks/integration_pytest_python3.yml:17 ------------ Test warning and info logs ---------------------------------------------- 0.04s /tmp/tmplbj_o459/tests/tests_default.yml:10 ----------------------------------- Test warning and info logs ---------------------------------------------- 0.04s /tmp/tmplbj_o459/tests/tests_default.yml:10 ----------------------------------- Check if system files exist --------------------------------------------- 0.04s /tmp/tmplbj_o459/tests/_backup.yml:13 ----------------------------------------- Gathering Facts --------------------------------------------------------- 0.03s /tmp/tmplbj_o459/tests/tests_default_nm.yml:3 --------------------------------- linux-system-roles.network : Re-test connectivity ----------------------- 0.03s /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:149 ---- remove tempdir ---------------------------------------------------------- 0.03s /tmp/tmplbj_o459/tests/playbooks/integration_pytest_python3.yml:158 ----------- Gathering Facts --------------------------------------------------------- 0.03s /tmp/tmplbj_o459/tests/playbooks/integration_pytest_python3.yml:3 ------------- Gathering Facts --------------------------------------------------------- 0.03s /tmp/tmplbj_o459/tests/playbooks/integration_pytest_python3.yml:31 ------------ include_tasks ----------------------------------------------------------- 0.03s /tmp/tmplbj_o459/tests/tests_integration_pytest.yml:5 ------------------------- Show _lsr_python_path --------------------------------------------------- 0.03s /tmp/tmplbj_o459/tests/playbooks/integration_pytest_python3.yml:115 ----------- 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/tmpe4dwqm__ 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/tmppolohs8h/tests/network/_backup.yml PLAY [all] ********************************************************************* META: ran handlers TASK [Get stats of system files] *********************************************** task path: /tmp/tmppolohs8h/tests/network/_backup.yml:6 Wednesday 03 August 2022 17:48:33 +0000 (0:00:00.018) 0:00:00.018 ****** ok: [/cache/centos-7.qcow2c.snap] => (item=/etc/resolv.conf) => { "ansible_facts": { "discovered_interpreter_python": "/usr/bin/python" }, "ansible_loop_var": "item", "changed": false, "item": "/etc/resolv.conf", "stat": { "atime": 1659548912.5783064, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "58d0b40c7f3b3443c40de4c19aee35ddf579fd17", "ctime": 1659548912.5793066, "dev": 64769, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 8330, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1659548002.0, "nlink": 1, "path": "/etc/resolv.conf", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 61, "uid": 0, "version": "18446744071872758378", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Check if system files exist] ********************************************* task path: /tmp/tmppolohs8h/tests/network/_backup.yml:13 Wednesday 03 August 2022 17:48:34 +0000 (0:00:00.499) 0:00:00.518 ****** [WARNING]: conditional statements should not include jinja2 templating delimiters such as {{ }} or {% %}. Found: {{ item.stat.exists }} ok: [/cache/centos-7.qcow2c.snap] => (item={'invocation': {'module_args': {'checksum_algorithm': 'sha1', 'get_checksum': True, 'follow': False, 'path': '/etc/resolv.conf', 'get_md5': False, 'get_mime': True, 'get_attributes': True}}, 'stat': {'charset': 'us-ascii', 'uid': 0, 'exists': True, 'attr_flags': '', 'woth': False, 'isreg': True, 'device_type': 0, 'mtime': 1659548002.0, 'block_size': 4096, 'inode': 8330, 'isgid': False, 'size': 61, 'executable': False, 'isuid': False, 'readable': True, 'version': '18446744071872758378', 'pw_name': 'root', 'gid': 0, 'ischr': False, 'wusr': True, 'writeable': True, 'mimetype': 'text/plain', 'blocks': 8, 'xoth': False, 'islnk': False, 'nlink': 1, 'issock': False, 'rgrp': True, 'gr_name': 'root', 'path': '/etc/resolv.conf', 'xusr': False, 'atime': 1659548912.5783064, 'isdir': False, 'ctime': 1659548912.5793066, 'isblk': False, 'wgrp': False, 'checksum': '58d0b40c7f3b3443c40de4c19aee35ddf579fd17', 'dev': 64769, 'roth': True, 'isfifo': False, 'mode': '0644', 'xgrp': False, 'rusr': True, 'attributes': []}, 'changed': False, 'ansible_facts': {'discovered_interpreter_python': '/usr/bin/python'}, 'failed': False, 'item': '/etc/resolv.conf', 'ansible_loop_var': 'item'}) => { "ansible_facts": { "_existing_files": " /etc/resolv.conf" }, "ansible_loop_var": "item", "changed": false, "item": { "ansible_facts": { "discovered_interpreter_python": "/usr/bin/python" }, "ansible_loop_var": "item", "changed": false, "failed": false, "invocation": { "module_args": { "checksum_algorithm": "sha1", "follow": false, "get_attributes": true, "get_checksum": true, "get_md5": false, "get_mime": true, "path": "/etc/resolv.conf" } }, "item": "/etc/resolv.conf", "stat": { "atime": 1659548912.5783064, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "58d0b40c7f3b3443c40de4c19aee35ddf579fd17", "ctime": 1659548912.5793066, "dev": 64769, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 8330, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1659548002.0, "nlink": 1, "path": "/etc/resolv.conf", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 61, "uid": 0, "version": "18446744071872758378", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } } TASK [Back up system files] **************************************************** task path: /tmp/tmppolohs8h/tests/network/_backup.yml:19 Wednesday 03 August 2022 17:48:34 +0000 (0:00:00.035) 0:00:00.553 ****** changed: [/cache/centos-7.qcow2c.snap] => { "changed": true, "cmd": [ "tar", "-cf", "/tmp/network.backup.tar", "--same-owner", "--same-permissions", "/etc/resolv.conf" ], "delta": "0:00:00.004568", "end": "2022-08-03 17:48:34.159828", "rc": 0, "start": "2022-08-03 17:48:34.155260" } STDERR: tar: Removing leading `/' from member names META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/centos-7.qcow2c.snap : ok=3 changed=1 unreachable=0 failed=0 skipped=0 rescued=0 ignored=0 Wednesday 03 August 2022 17:48:34 +0000 (0:00:00.427) 0:00:00.981 ****** =============================================================================== Get stats of system files ----------------------------------------------- 0.50s /tmp/tmppolohs8h/tests/network/_backup.yml:6 ---------------------------------- Back up system files ---------------------------------------------------- 0.43s /tmp/tmppolohs8h/tests/network/_backup.yml:19 --------------------------------- Check if system files exist --------------------------------------------- 0.04s /tmp/tmppolohs8h/tests/network/_backup.yml:13 --------------------------------- PLAYBOOK: tests_integration_pytest.yml ***************************************** 7 plays in /tmp/tmppolohs8h/tests/network/tests_integration_pytest.yml PLAY [all] ********************************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmppolohs8h/tests/network/tests_integration_pytest.yml:3 Wednesday 03 August 2022 17:48:34 +0000 (0:00:00.052) 0:00:01.034 ****** ok: [/cache/centos-7.qcow2c.snap] META: ran handlers TASK [include_tasks] *********************************************************** task path: /tmp/tmppolohs8h/tests/network/tests_integration_pytest.yml:5 Wednesday 03 August 2022 17:48:35 +0000 (0:00:01.169) 0:00:02.203 ****** included: /tmp/tmppolohs8h/tests/network/tasks/el_repo_setup.yml for /cache/centos-7.qcow2c.snap TASK [Fix CentOS6 Base repo] *************************************************** task path: /tmp/tmppolohs8h/tests/network/tasks/el_repo_setup.yml:2 Wednesday 03 August 2022 17:48:35 +0000 (0:00:00.027) 0:00:02.230 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [include_tasks] *********************************************************** task path: /tmp/tmppolohs8h/tests/network/tasks/el_repo_setup.yml:27 Wednesday 03 August 2022 17:48:35 +0000 (0:00:00.020) 0:00:02.251 ****** included: /tmp/tmppolohs8h/tests/network/tasks/enable_epel.yml for /cache/centos-7.qcow2c.snap TASK [Create EPEL 7] *********************************************************** task path: /tmp/tmppolohs8h/tests/network/tasks/enable_epel.yml:4 Wednesday 03 August 2022 17:48:35 +0000 (0:00:00.029) 0:00:02.280 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "cmd": [ "yum", "install", "-y", "https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm" ], "delta": null, "end": null, "rc": 0, "start": null } STDOUT: skipped, since /etc/yum.repos.d/epel.repo exists MSG: Did not run command since '/etc/yum.repos.d/epel.repo' exists TASK [Enable EPEL 7] *********************************************************** task path: /tmp/tmppolohs8h/tests/network/tasks/enable_epel.yml:11 Wednesday 03 August 2022 17:48:36 +0000 (0:00:00.305) 0:00:02.586 ****** changed: [/cache/centos-7.qcow2c.snap] => { "changed": true, "cmd": [ "yum-config-manager", "--enable", "epel" ], "delta": "0:00:00.165492", "end": "2022-08-03 17:48:36.221793", "rc": 0, "start": "2022-08-03 17:48:36.056301" } STDOUT: Loaded plugins: fastestmirror ================================== repo: epel ================================== [epel] async = True bandwidth = 0 base_persistdir = /var/lib/yum/repos/x86_64/7 baseurl = cache = 0 cachedir = /var/cache/yum/x86_64/7/epel check_config_file_age = True compare_providers_priority = 80 cost = 1000 deltarpm_metadata_percentage = 100 deltarpm_percentage = enabled = True enablegroups = True exclude = failovermethod = priority ftp_disable_epsv = False gpgcadir = /var/lib/yum/repos/x86_64/7/epel/gpgcadir gpgcakey = gpgcheck = True gpgdir = /var/lib/yum/repos/x86_64/7/epel/gpgdir gpgkey = file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-7 hdrdir = /var/cache/yum/x86_64/7/epel/headers http_caching = all includepkgs = ip_resolve = keepalive = True keepcache = True mddownloadpolicy = sqlite mdpolicy = group:small mediaid = metadata_expire = 21600 metadata_expire_filter = read-only:present metalink = https://mirrors.fedoraproject.org/metalink?repo=epel-7&arch=x86_64&infra=genclo&content=centos minrate = 0 mirrorlist = mirrorlist_expire = 86400 name = Extra Packages for Enterprise Linux 7 - x86_64 old_base_cache_dir = password = persistdir = /var/lib/yum/repos/x86_64/7/epel pkgdir = /var/cache/yum/x86_64/7/epel/packages proxy = False proxy_dict = proxy_password = proxy_username = repo_gpgcheck = False retries = 10 skip_if_unavailable = False ssl_check_cert_permissions = True sslcacert = sslclientcert = sslclientkey = sslverify = True throttle = 0 timeout = 30.0 ui_id = epel/x86_64 ui_repoid_vars = releasever, basearch username = TASK [Enable EPEL 8] *********************************************************** task path: /tmp/tmppolohs8h/tests/network/tasks/enable_epel.yml:17 Wednesday 03 August 2022 17:48:36 +0000 (0:00:00.456) 0:00:03.043 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /tmp/tmppolohs8h/tests/network/tasks/enable_epel.yml:26 Wednesday 03 August 2022 17:48:36 +0000 (0:00:00.023) 0:00:03.067 ****** skipping: [/cache/centos-7.qcow2c.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/tmppolohs8h/tests/network/playbooks/integration_pytest_python3.yml:3 Wednesday 03 August 2022 17:48:36 +0000 (0:00:00.039) 0:00:03.106 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } META: ran handlers TASK [Install rpm dependencies] ************************************************ task path: /tmp/tmppolohs8h/tests/network/playbooks/integration_pytest_python3.yml:12 Wednesday 03 August 2022 17:48:36 +0000 (0:00:00.029) 0:00:03.136 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Install Pytest] ********************************************************** task path: /tmp/tmppolohs8h/tests/network/playbooks/integration_pytest_python3.yml:17 Wednesday 03 August 2022 17:48:36 +0000 (0:00:00.022) 0:00:03.158 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } META: ran handlers META: ran handlers PLAY [all] ********************************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmppolohs8h/tests/network/tests_default_initscripts.yml:3 Wednesday 03 August 2022 17:48:36 +0000 (0:00:00.040) 0:00:03.198 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } META: ran handlers TASK [include_tasks] *********************************************************** task path: /tmp/tmppolohs8h/tests/network/tests_default_initscripts.yml:5 Wednesday 03 August 2022 17:48:36 +0000 (0:00:00.029) 0:00:03.227 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'initscripts'] *********************************** task path: /tmp/tmppolohs8h/tests/network/tests_default_initscripts.yml:6 Wednesday 03 August 2022 17:48:36 +0000 (0:00:00.020) 0:00:03.248 ****** skipping: [/cache/centos-7.qcow2c.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/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 03 August 2022 17:48:36 +0000 (0:00:00.061) 0:00:03.310 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 03 August 2022 17:48:36 +0000 (0:00:00.029) 0:00:03.339 ****** skipping: [/cache/centos-7.qcow2c.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/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 03 August 2022 17:48:36 +0000 (0:00:00.022) 0:00:03.361 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 03 August 2022 17:48:36 +0000 (0:00:00.021) 0:00:03.383 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Wednesday 03 August 2022 17:48:36 +0000 (0:00:00.022) 0:00:03.406 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:35 Wednesday 03 August 2022 17:48:36 +0000 (0:00:00.020) 0:00:03.427 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:45 Wednesday 03 August 2022 17:48:36 +0000 (0:00:00.024) 0:00:03.452 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:56 Wednesday 03 August 2022 17:48:36 +0000 (0:00:00.027) 0:00:03.479 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:69 Wednesday 03 August 2022 17:48:37 +0000 (0:00:00.022) 0:00:03.501 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:80 Wednesday 03 August 2022 17:48:37 +0000 (0:00:00.021) 0:00:03.523 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:89 Wednesday 03 August 2022 17:48:37 +0000 (0:00:00.021) 0:00:03.544 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:97 Wednesday 03 August 2022 17:48:37 +0000 (0:00:00.023) 0:00:03.568 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 Wednesday 03 August 2022 17:48:37 +0000 (0:00:00.021) 0:00:03.590 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:118 Wednesday 03 August 2022 17:48:37 +0000 (0:00:00.021) 0:00:03.611 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Wednesday 03 August 2022 17:48:37 +0000 (0:00:00.021) 0:00:03.633 ****** skipping: [/cache/centos-7.qcow2c.snap] => {} TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:128 Wednesday 03 August 2022 17:48:37 +0000 (0:00:00.020) 0:00:03.653 ****** skipping: [/cache/centos-7.qcow2c.snap] => {} TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Wednesday 03 August 2022 17:48:37 +0000 (0:00:00.021) 0:00:03.675 ****** skipping: [/cache/centos-7.qcow2c.snap] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Wednesday 03 August 2022 17:48:37 +0000 (0:00:00.020) 0:00:03.695 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } META: TASK [include_tasks] *********************************************************** task path: /tmp/tmppolohs8h/tests/network/tests_default.yml:9 Wednesday 03 August 2022 17:48:37 +0000 (0:00:00.028) 0:00:03.724 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Test warning and info logs] ********************************************** task path: /tmp/tmppolohs8h/tests/network/tests_default.yml:10 Wednesday 03 August 2022 17:48:37 +0000 (0:00:00.020) 0:00:03.745 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } META: ran handlers META: ran handlers PLAY [all] ********************************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmppolohs8h/tests/network/tests_default_nm.yml:3 Wednesday 03 August 2022 17:48:37 +0000 (0:00:00.039) 0:00:03.785 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } META: ran handlers TASK [include_tasks] *********************************************************** task path: /tmp/tmppolohs8h/tests/network/tests_default_nm.yml:5 Wednesday 03 August 2022 17:48:37 +0000 (0:00:00.029) 0:00:03.814 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** task path: /tmp/tmppolohs8h/tests/network/tests_default_nm.yml:6 Wednesday 03 August 2022 17:48:37 +0000 (0:00:00.021) 0:00:03.836 ****** skipping: [/cache/centos-7.qcow2c.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/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 03 August 2022 17:48:37 +0000 (0:00:00.049) 0:00:03.885 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 03 August 2022 17:48:37 +0000 (0:00:00.022) 0:00:03.907 ****** skipping: [/cache/centos-7.qcow2c.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/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 03 August 2022 17:48:37 +0000 (0:00:00.021) 0:00:03.929 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 03 August 2022 17:48:37 +0000 (0:00:00.025) 0:00:03.954 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Wednesday 03 August 2022 17:48:37 +0000 (0:00:00.021) 0:00:03.976 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:35 Wednesday 03 August 2022 17:48:37 +0000 (0:00:00.022) 0:00:03.998 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:45 Wednesday 03 August 2022 17:48:37 +0000 (0:00:00.021) 0:00:04.020 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:56 Wednesday 03 August 2022 17:48:37 +0000 (0:00:00.021) 0:00:04.041 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:69 Wednesday 03 August 2022 17:48:37 +0000 (0:00:00.021) 0:00:04.063 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:80 Wednesday 03 August 2022 17:48:37 +0000 (0:00:00.020) 0:00:04.084 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:89 Wednesday 03 August 2022 17:48:37 +0000 (0:00:00.021) 0:00:04.105 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:97 Wednesday 03 August 2022 17:48:37 +0000 (0:00:00.020) 0:00:04.126 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 Wednesday 03 August 2022 17:48:37 +0000 (0:00:00.020) 0:00:04.147 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:118 Wednesday 03 August 2022 17:48:37 +0000 (0:00:00.020) 0:00:04.167 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Wednesday 03 August 2022 17:48:37 +0000 (0:00:00.022) 0:00:04.190 ****** skipping: [/cache/centos-7.qcow2c.snap] => {} TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:128 Wednesday 03 August 2022 17:48:37 +0000 (0:00:00.023) 0:00:04.214 ****** skipping: [/cache/centos-7.qcow2c.snap] => {} TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Wednesday 03 August 2022 17:48:37 +0000 (0:00:00.020) 0:00:04.235 ****** skipping: [/cache/centos-7.qcow2c.snap] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Wednesday 03 August 2022 17:48:37 +0000 (0:00:00.021) 0:00:04.257 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } META: TASK [include_tasks] *********************************************************** task path: /tmp/tmppolohs8h/tests/network/tests_default.yml:9 Wednesday 03 August 2022 17:48:37 +0000 (0:00:00.028) 0:00:04.286 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Test warning and info logs] ********************************************** task path: /tmp/tmppolohs8h/tests/network/tests_default.yml:10 Wednesday 03 August 2022 17:48:37 +0000 (0:00:00.021) 0:00:04.307 ****** skipping: [/cache/centos-7.qcow2c.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/tmppolohs8h/tests/network/playbooks/integration_pytest_python3.yml:31 Wednesday 03 August 2022 17:48:37 +0000 (0:00:00.039) 0:00:04.347 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } META: ran handlers TASK [create tempdir for code to test] ***************************************** task path: /tmp/tmppolohs8h/tests/network/playbooks/integration_pytest_python3.yml:35 Wednesday 03 August 2022 17:48:37 +0000 (0:00:00.028) 0:00:04.375 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [get tempfile for tar] **************************************************** task path: /tmp/tmppolohs8h/tests/network/playbooks/integration_pytest_python3.yml:41 Wednesday 03 August 2022 17:48:37 +0000 (0:00:00.031) 0:00:04.407 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [include_tasks] *********************************************************** task path: /tmp/tmppolohs8h/tests/network/playbooks/integration_pytest_python3.yml:48 Wednesday 03 August 2022 17:48:37 +0000 (0:00:00.022) 0:00:04.429 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [get tests directory] ***************************************************** task path: /tmp/tmppolohs8h/tests/network/playbooks/integration_pytest_python3.yml:50 Wednesday 03 August 2022 17:48:37 +0000 (0:00:00.021) 0:00:04.451 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create Tar file] ********************************************************* task path: /tmp/tmppolohs8h/tests/network/playbooks/integration_pytest_python3.yml:65 Wednesday 03 August 2022 17:48:37 +0000 (0:00:00.026) 0:00:04.477 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Copy testrepo.tar to the remote system] ********************************** task path: /tmp/tmppolohs8h/tests/network/playbooks/integration_pytest_python3.yml:77 Wednesday 03 August 2022 17:48:37 +0000 (0:00:00.019) 0:00:04.496 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Untar testrepo.tar] ****************************************************** task path: /tmp/tmppolohs8h/tests/network/playbooks/integration_pytest_python3.yml:83 Wednesday 03 August 2022 17:48:38 +0000 (0:00:00.020) 0:00:04.517 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create {{ _rundir.path }}/ansible] *************************************** task path: /tmp/tmppolohs8h/tests/network/playbooks/integration_pytest_python3.yml:88 Wednesday 03 August 2022 17:48:38 +0000 (0:00:00.022) 0:00:04.540 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Move module_utils to ansible directory] ********************************** task path: /tmp/tmppolohs8h/tests/network/playbooks/integration_pytest_python3.yml:94 Wednesday 03 August 2022 17:48:38 +0000 (0:00:00.020) 0:00:04.561 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Fake out python module directories, primarily for python2] *************** task path: /tmp/tmppolohs8h/tests/network/playbooks/integration_pytest_python3.yml:100 Wednesday 03 August 2022 17:48:38 +0000 (0:00:00.021) 0:00:04.582 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set _lsr_python_path] **************************************************** task path: /tmp/tmppolohs8h/tests/network/playbooks/integration_pytest_python3.yml:108 Wednesday 03 August 2022 17:48:38 +0000 (0:00:00.021) 0:00:04.603 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Show _lsr_python_path] *************************************************** task path: /tmp/tmppolohs8h/tests/network/playbooks/integration_pytest_python3.yml:112 Wednesday 03 August 2022 17:48:38 +0000 (0:00:00.020) 0:00:04.623 ****** skipping: [/cache/centos-7.qcow2c.snap] => {} TASK [ls -alrtFR {{ _rundir.path }}] ******************************************* task path: /tmp/tmppolohs8h/tests/network/playbooks/integration_pytest_python3.yml:116 Wednesday 03 August 2022 17:48:38 +0000 (0:00:00.021) 0:00:04.645 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Run pytest with nm] ****************************************************** task path: /tmp/tmppolohs8h/tests/network/playbooks/integration_pytest_python3.yml:120 Wednesday 03 August 2022 17:48:38 +0000 (0:00:00.020) 0:00:04.666 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmppolohs8h/tests/network/playbooks/integration_pytest_python3.yml:129 Wednesday 03 August 2022 17:48:38 +0000 (0:00:00.020) 0:00:04.687 ****** skipping: [/cache/centos-7.qcow2c.snap] => {} TASK [install network-scripts when running pytest with initscripts] ************ task path: /tmp/tmppolohs8h/tests/network/playbooks/integration_pytest_python3.yml:133 Wednesday 03 August 2022 17:48:38 +0000 (0:00:00.020) 0:00:04.707 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Run pytest with initscripts] ********************************************* task path: /tmp/tmppolohs8h/tests/network/playbooks/integration_pytest_python3.yml:137 Wednesday 03 August 2022 17:48:38 +0000 (0:00:00.020) 0:00:04.727 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmppolohs8h/tests/network/playbooks/integration_pytest_python3.yml:146 Wednesday 03 August 2022 17:48:38 +0000 (0:00:00.018) 0:00:04.746 ****** skipping: [/cache/centos-7.qcow2c.snap] => {} TASK [remove local tar file] *************************************************** task path: /tmp/tmppolohs8h/tests/network/playbooks/integration_pytest_python3.yml:149 Wednesday 03 August 2022 17:48:38 +0000 (0:00:00.026) 0:00:04.773 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [remove tempdir] ********************************************************** task path: /tmp/tmppolohs8h/tests/network/playbooks/integration_pytest_python3.yml:155 Wednesday 03 August 2022 17:48:38 +0000 (0:00:00.020) 0:00:04.793 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/centos-7.qcow2c.snap : ok=8 changed=2 unreachable=0 failed=0 skipped=73 rescued=0 ignored=0 Wednesday 03 August 2022 17:48:38 +0000 (0:00:00.033) 0:00:04.826 ****** =============================================================================== Gathering Facts --------------------------------------------------------- 1.17s /tmp/tmppolohs8h/tests/network/tests_integration_pytest.yml:3 ----------------- Get stats of system files ----------------------------------------------- 0.50s /tmp/tmppolohs8h/tests/network/_backup.yml:6 ---------------------------------- Enable EPEL 7 ----------------------------------------------------------- 0.46s /tmp/tmppolohs8h/tests/network/tasks/enable_epel.yml:11 ----------------------- Back up system files ---------------------------------------------------- 0.43s /tmp/tmppolohs8h/tests/network/_backup.yml:19 --------------------------------- Create EPEL 7 ----------------------------------------------------------- 0.31s /tmp/tmppolohs8h/tests/network/tasks/enable_epel.yml:4 ------------------------ Set network provider to 'initscripts' ----------------------------------- 0.06s /tmp/tmppolohs8h/tests/network/tests_default_initscripts.yml:6 ---------------- Set network provider to 'nm' -------------------------------------------- 0.05s /tmp/tmppolohs8h/tests/network/tests_default_nm.yml:6 ------------------------- Install Pytest ---------------------------------------------------------- 0.04s /tmp/tmppolohs8h/tests/network/playbooks/integration_pytest_python3.yml:17 ---- Test warning and info logs ---------------------------------------------- 0.04s /tmp/tmppolohs8h/tests/network/tests_default.yml:10 --------------------------- Test warning and info logs ---------------------------------------------- 0.04s /tmp/tmppolohs8h/tests/network/tests_default.yml:10 --------------------------- Enable EPEL 6 ----------------------------------------------------------- 0.04s /tmp/tmppolohs8h/tests/network/tasks/enable_epel.yml:26 ----------------------- Check if system files exist --------------------------------------------- 0.04s /tmp/tmppolohs8h/tests/network/_backup.yml:13 --------------------------------- remove tempdir ---------------------------------------------------------- 0.03s /tmp/tmppolohs8h/tests/network/playbooks/integration_pytest_python3.yml:155 --- create tempdir for code to test ----------------------------------------- 0.03s /tmp/tmppolohs8h/tests/network/playbooks/integration_pytest_python3.yml:35 ---- Gathering Facts --------------------------------------------------------- 0.03s /tmp/tmppolohs8h/tests/network/playbooks/integration_pytest_python3.yml:3 ----- fedora.linux_system_roles.network : Ensure ansible_facts used by role --- 0.03s /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Gathering Facts --------------------------------------------------------- 0.03s /tmp/tmppolohs8h/tests/network/tests_default_initscripts.yml:3 ---------------- Gathering Facts --------------------------------------------------------- 0.03s /tmp/tmppolohs8h/tests/network/tests_default_nm.yml:3 ------------------------- include_tasks ----------------------------------------------------------- 0.03s /tmp/tmppolohs8h/tests/network/tasks/el_repo_setup.yml:27 --------------------- fedora.linux_system_roles.network : Re-test connectivity ---------------- 0.03s /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 PLAYBOOK: _restore.yml ********************************************************* 1 plays in /tmp/tmppolohs8h/tests/network/_restore.yml PLAY [all] ********************************************************************* META: ran handlers TASK [Restore system files] **************************************************** task path: /tmp/tmppolohs8h/tests/network/_restore.yml:4 Wednesday 03 August 2022 17:48:38 +0000 (0:00:00.018) 0:00:04.845 ****** changed: [/cache/centos-7.qcow2c.snap] => { "changed": true, "cmd": "(cd /; tar -xf /tmp/network.backup.tar)", "delta": "0:00:00.006630", "end": "2022-08-03 17:48:38.327498", "rc": 0, "start": "2022-08-03 17:48:38.320868" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/centos-7.qcow2c.snap : ok=9 changed=3 unreachable=0 failed=0 skipped=73 rescued=0 ignored=0 Wednesday 03 August 2022 17:48:38 +0000 (0:00:00.308) 0:00:05.153 ****** =============================================================================== Gathering Facts --------------------------------------------------------- 1.17s /tmp/tmppolohs8h/tests/network/tests_integration_pytest.yml:3 ----------------- Get stats of system files ----------------------------------------------- 0.50s /tmp/tmppolohs8h/tests/network/_backup.yml:6 ---------------------------------- Enable EPEL 7 ----------------------------------------------------------- 0.46s /tmp/tmppolohs8h/tests/network/tasks/enable_epel.yml:11 ----------------------- Back up system files ---------------------------------------------------- 0.43s /tmp/tmppolohs8h/tests/network/_backup.yml:19 --------------------------------- Restore system files ---------------------------------------------------- 0.31s /tmp/tmppolohs8h/tests/network/_restore.yml:4 --------------------------------- Create EPEL 7 ----------------------------------------------------------- 0.31s /tmp/tmppolohs8h/tests/network/tasks/enable_epel.yml:4 ------------------------ Set network provider to 'initscripts' ----------------------------------- 0.06s /tmp/tmppolohs8h/tests/network/tests_default_initscripts.yml:6 ---------------- Set network provider to 'nm' -------------------------------------------- 0.05s /tmp/tmppolohs8h/tests/network/tests_default_nm.yml:6 ------------------------- Install Pytest ---------------------------------------------------------- 0.04s /tmp/tmppolohs8h/tests/network/playbooks/integration_pytest_python3.yml:17 ---- Test warning and info logs ---------------------------------------------- 0.04s /tmp/tmppolohs8h/tests/network/tests_default.yml:10 --------------------------- Test warning and info logs ---------------------------------------------- 0.04s /tmp/tmppolohs8h/tests/network/tests_default.yml:10 --------------------------- Enable EPEL 6 ----------------------------------------------------------- 0.04s /tmp/tmppolohs8h/tests/network/tasks/enable_epel.yml:26 ----------------------- Check if system files exist --------------------------------------------- 0.04s /tmp/tmppolohs8h/tests/network/_backup.yml:13 --------------------------------- remove tempdir ---------------------------------------------------------- 0.03s /tmp/tmppolohs8h/tests/network/playbooks/integration_pytest_python3.yml:155 --- create tempdir for code to test ----------------------------------------- 0.03s /tmp/tmppolohs8h/tests/network/playbooks/integration_pytest_python3.yml:35 ---- Gathering Facts --------------------------------------------------------- 0.03s /tmp/tmppolohs8h/tests/network/playbooks/integration_pytest_python3.yml:3 ----- fedora.linux_system_roles.network : Ensure ansible_facts used by role --- 0.03s /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Gathering Facts --------------------------------------------------------- 0.03s /tmp/tmppolohs8h/tests/network/tests_default_initscripts.yml:3 ---------------- Gathering Facts --------------------------------------------------------- 0.03s /tmp/tmppolohs8h/tests/network/tests_default_nm.yml:3 ------------------------- include_tasks ----------------------------------------------------------- 0.03s /tmp/tmppolohs8h/tests/network/tasks/el_repo_setup.yml:27 ---------------------