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/tmp0fvd1p7_ 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: rhel-7_setup.yml ***************************************************** 1 plays in /cache/rhel-7_setup.yml PLAY [Setup repos] ************************************************************* META: ran handlers TASK [set up internal repositories] ******************************************** task path: /cache/rhel-7_setup.yml:5 Wednesday 03 August 2022 16:43:17 +0000 (0:00:00.017) 0:00:00.017 ****** ok: [/cache/rhel-7.qcow2] => (item=None) => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } ok: [/cache/rhel-7.qcow2] => (item=None) => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } ok: [/cache/rhel-7.qcow2] => (item=None) => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } ok: [/cache/rhel-7.qcow2] => (item=None) => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } ok: [/cache/rhel-7.qcow2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/rhel-7.qcow2 : ok=1 changed=0 unreachable=0 failed=0 skipped=0 rescued=0 ignored=0 Wednesday 03 August 2022 16:43:18 +0000 (0:00:01.321) 0:00:01.339 ****** =============================================================================== set up internal repositories -------------------------------------------- 1.32s /cache/rhel-7_setup.yml:5 ----------------------------------------------------- PLAYBOOK: _backup.yml ********************************************************** 1 plays in /tmp/tmpq0_9gvwx/tests/_backup.yml PLAY [all] ********************************************************************* META: ran handlers TASK [Get stats of system files] *********************************************** task path: /tmp/tmpq0_9gvwx/tests/_backup.yml:6 Wednesday 03 August 2022 16:43:18 +0000 (0:00:00.014) 0:00:01.354 ****** ok: [/cache/rhel-7.qcow2] => (item=/etc/resolv.conf) => { "ansible_loop_var": "item", "changed": false, "item": "/etc/resolv.conf", "stat": { "atime": 1659544997.3848245, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "fba82b5b78ea37322e584bf452f6f8e163f0869b", "ctime": 1659544997.3848245, "dev": 64769, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 77, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1659544375.0, "nlink": 1, "path": "/etc/resolv.conf", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 90, "uid": 0, "version": "624082490", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Check if system files exist] ********************************************* task path: /tmp/tmpq0_9gvwx/tests/_backup.yml:13 Wednesday 03 August 2022 16:43:19 +0000 (0:00:00.496) 0:00:01.850 ****** [WARNING]: conditional statements should not include jinja2 templating delimiters such as {{ }} or {% %}. Found: {{ item.stat.exists }} ok: [/cache/rhel-7.qcow2] => (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': 1659544375.0, 'block_size': 4096, 'inode': 77, 'isgid': False, 'size': 90, 'executable': False, 'isuid': False, 'readable': True, 'version': '624082490', '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': 1659544997.3848245, 'isdir': False, 'ctime': 1659544997.3848245, 'isblk': False, 'wgrp': False, 'checksum': 'fba82b5b78ea37322e584bf452f6f8e163f0869b', 'dev': 64769, 'roth': True, 'isfifo': False, 'mode': '0644', 'xgrp': False, 'rusr': True, 'attributes': []}, 'changed': False, '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_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": 1659544997.3848245, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "fba82b5b78ea37322e584bf452f6f8e163f0869b", "ctime": 1659544997.3848245, "dev": 64769, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 77, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1659544375.0, "nlink": 1, "path": "/etc/resolv.conf", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 90, "uid": 0, "version": "624082490", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } } TASK [Back up system files] **************************************************** task path: /tmp/tmpq0_9gvwx/tests/_backup.yml:19 Wednesday 03 August 2022 16:43:19 +0000 (0:00:00.033) 0:00:01.884 ****** changed: [/cache/rhel-7.qcow2] => { "changed": true, "cmd": [ "tar", "-cf", "/tmp/network.backup.tar", "--same-owner", "--same-permissions", "/etc/resolv.conf" ], "delta": "0:00:00.004276", "end": "2022-08-03 12:43:20.230360", "rc": 0, "start": "2022-08-03 12:43:20.226084" } STDERR: tar: Removing leading `/' from member names META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/rhel-7.qcow2 : ok=4 changed=1 unreachable=0 failed=0 skipped=0 rescued=0 ignored=0 Wednesday 03 August 2022 16:43:19 +0000 (0:00:00.368) 0:00:02.253 ****** =============================================================================== set up internal repositories -------------------------------------------- 1.32s /cache/rhel-7_setup.yml:5 ----------------------------------------------------- Get stats of system files ----------------------------------------------- 0.50s /tmp/tmpq0_9gvwx/tests/_backup.yml:6 ------------------------------------------ Back up system files ---------------------------------------------------- 0.37s /tmp/tmpq0_9gvwx/tests/_backup.yml:19 ----------------------------------------- Check if system files exist --------------------------------------------- 0.03s /tmp/tmpq0_9gvwx/tests/_backup.yml:13 ----------------------------------------- PLAYBOOK: tests_dummy_nm.yml *************************************************** 2 plays in /tmp/tmpq0_9gvwx/tests/tests_dummy_nm.yml PLAY [Run playbook 'playbooks/tests_dummy.yml' with nm as provider] ************ TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpq0_9gvwx/tests/tests_dummy_nm.yml:5 Wednesday 03 August 2022 16:43:19 +0000 (0:00:00.011) 0:00:02.264 ****** ok: [/cache/rhel-7.qcow2] META: ran handlers TASK [include_tasks] *********************************************************** task path: /tmp/tmpq0_9gvwx/tests/tests_dummy_nm.yml:8 Wednesday 03 August 2022 16:43:20 +0000 (0:00:00.933) 0:00:03.198 ****** included: /tmp/tmpq0_9gvwx/tests/tasks/el_repo_setup.yml for /cache/rhel-7.qcow2 TASK [Fix CentOS6 Base repo] *************************************************** task path: /tmp/tmpq0_9gvwx/tests/tasks/el_repo_setup.yml:2 Wednesday 03 August 2022 16:43:20 +0000 (0:00:00.025) 0:00:03.224 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [include_tasks] *********************************************************** task path: /tmp/tmpq0_9gvwx/tests/tasks/el_repo_setup.yml:27 Wednesday 03 August 2022 16:43:20 +0000 (0:00:00.018) 0:00:03.243 ****** included: /tmp/tmpq0_9gvwx/tests/tasks/enable_epel.yml for /cache/rhel-7.qcow2 TASK [Create EPEL 7] *********************************************************** task path: /tmp/tmpq0_9gvwx/tests/tasks/enable_epel.yml:4 Wednesday 03 August 2022 16:43:20 +0000 (0:00:00.027) 0:00:03.270 ****** ok: [/cache/rhel-7.qcow2] => { "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/tmpq0_9gvwx/tests/tasks/enable_epel.yml:11 Wednesday 03 August 2022 16:43:21 +0000 (0:00:00.289) 0:00:03.560 ****** changed: [/cache/rhel-7.qcow2] => { "changed": true, "cmd": [ "yum-config-manager", "--enable", "epel" ], "delta": "0:00:00.189306", "end": "2022-08-03 12:43:22.009790", "rc": 0, "start": "2022-08-03 12:43:21.820484" } STDOUT: ================================== repo: epel ================================== [epel] async = True bandwidth = 0 base_persistdir = /var/lib/yum/repos/x86_64/7Server baseurl = cache = 0 cachedir = /var/cache/yum/x86_64/7Server/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/7Server/epel/gpgcadir gpgcakey = gpgcheck = True gpgdir = /var/lib/yum/repos/x86_64/7Server/epel/gpgdir gpgkey = file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-7 hdrdir = /var/cache/yum/x86_64/7Server/epel/headers http_caching = all includepkgs = ip_resolve = keepalive = True keepcache = False 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=$infra&content=$contentdir 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/7Server/epel pkgdir = /var/cache/yum/x86_64/7Server/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/tmpq0_9gvwx/tests/tasks/enable_epel.yml:17 Wednesday 03 August 2022 16:43:21 +0000 (0:00:00.472) 0:00:04.033 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /tmp/tmpq0_9gvwx/tests/tasks/enable_epel.yml:26 Wednesday 03 August 2022 16:43:21 +0000 (0:00:00.023) 0:00:04.056 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** task path: /tmp/tmpq0_9gvwx/tests/tests_dummy_nm.yml:9 Wednesday 03 August 2022 16:43:21 +0000 (0:00:00.020) 0:00:04.077 ****** ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "network_provider": "nm" }, "changed": false } META: ran handlers META: ran handlers PLAY [all] ********************************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpq0_9gvwx/tests/playbooks/tests_dummy.yml:3 Wednesday 03 August 2022 16:43:21 +0000 (0:00:00.045) 0:00:04.122 ****** ok: [/cache/rhel-7.qcow2] META: ran handlers TASK [Show playbook name] ****************************************************** task path: /tmp/tmpq0_9gvwx/tests/playbooks/tests_dummy.yml:10 Wednesday 03 August 2022 16:43:22 +0000 (0:00:00.684) 0:00:04.806 ****** ok: [/cache/rhel-7.qcow2] => {} MSG: this is: playbooks/tests_dummy.yml TASK [include_tasks] *********************************************************** task path: /tmp/tmpq0_9gvwx/tests/playbooks/tests_dummy.yml:17 Wednesday 03 August 2022 16:43:22 +0000 (0:00:00.029) 0:00:04.835 ****** included: /tmp/tmpq0_9gvwx/tests/playbooks/tasks/run_test.yml for /cache/rhel-7.qcow2 TASK [TEST: Create a dummy interface] ****************************************** task path: /tmp/tmpq0_9gvwx/tests/playbooks/tasks/run_test.yml:5 Wednesday 03 August 2022 16:43:22 +0000 (0:00:00.032) 0:00:04.867 ****** ok: [/cache/rhel-7.qcow2] => {} MSG: ########## Create a dummy interface ########## TASK [Show item] *************************************************************** task path: /tmp/tmpq0_9gvwx/tests/playbooks/tasks/run_test.yml:9 Wednesday 03 August 2022 16:43:22 +0000 (0:00:00.031) 0:00:04.899 ****** ok: [/cache/rhel-7.qcow2] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "Create a dummy interface" } ok: [/cache/rhel-7.qcow2] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/delete_interface.yml", "tasks/assert_device_absent.yml" ] } ok: [/cache/rhel-7.qcow2] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/create_dummy_profile.yml" ] } ok: [/cache/rhel-7.qcow2] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_profile_present.yml", "tasks/assert_device_present.yml" ] } ok: [/cache/rhel-7.qcow2] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": "VARIABLE IS NOT DEFINED!: 'lsr_assert_when' is undefined" } ok: [/cache/rhel-7.qcow2] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [/cache/rhel-7.qcow2] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [include_tasks] *********************************************************** task path: /tmp/tmpq0_9gvwx/tests/playbooks/tasks/run_test.yml:21 Wednesday 03 August 2022 16:43:22 +0000 (0:00:00.127) 0:00:05.027 ****** included: /tmp/tmpq0_9gvwx/tests/playbooks/tasks/show_interfaces.yml for /cache/rhel-7.qcow2 TASK [include_tasks] *********************************************************** task path: /tmp/tmpq0_9gvwx/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 03 August 2022 16:43:22 +0000 (0:00:00.041) 0:00:05.068 ****** included: /tmp/tmpq0_9gvwx/tests/playbooks/tasks/get_current_interfaces.yml for /cache/rhel-7.qcow2 TASK [Gather current interface info] ******************************************* task path: /tmp/tmpq0_9gvwx/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 03 August 2022 16:43:22 +0000 (0:00:00.031) 0:00:05.100 ****** ok: [/cache/rhel-7.qcow2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003710", "end": "2022-08-03 12:43:23.365373", "rc": 0, "start": "2022-08-03 12:43:23.361663" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/tmpq0_9gvwx/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 03 August 2022 16:43:23 +0000 (0:00:00.284) 0:00:05.384 ****** ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/tmpq0_9gvwx/tests/playbooks/tasks/show_interfaces.yml:4 Wednesday 03 August 2022 16:43:23 +0000 (0:00:00.032) 0:00:05.417 ****** ok: [/cache/rhel-7.qcow2] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo'] TASK [setup] ******************************************************************* task path: /tmp/tmpq0_9gvwx/tests/playbooks/tasks/run_test.yml:23 Wednesday 03 August 2022 16:43:23 +0000 (0:00:00.031) 0:00:05.449 ****** included: /tmp/tmpq0_9gvwx/tests/playbooks/tasks/delete_interface.yml for /cache/rhel-7.qcow2 => (item=tasks/delete_interface.yml) included: /tmp/tmpq0_9gvwx/tests/playbooks/tasks/assert_device_absent.yml for /cache/rhel-7.qcow2 => (item=tasks/assert_device_absent.yml) TASK [remove test interface if necessary] ************************************** task path: /tmp/tmpq0_9gvwx/tests/playbooks/tasks/delete_interface.yml:3 Wednesday 03 August 2022 16:43:23 +0000 (0:00:00.038) 0:00:05.488 ****** fatal: [/cache/rhel-7.qcow2]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "dummy0" ], "delta": "0:00:00.011540", "end": "2022-08-03 12:43:23.767400", "rc": 1, "start": "2022-08-03 12:43:23.755860" } STDERR: Cannot find device "dummy0" MSG: non-zero return code ...ignoring TASK [include_tasks] *********************************************************** task path: /tmp/tmpq0_9gvwx/tests/playbooks/tasks/assert_device_absent.yml:3 Wednesday 03 August 2022 16:43:23 +0000 (0:00:00.300) 0:00:05.788 ****** included: /tmp/tmpq0_9gvwx/tests/playbooks/tasks/get_interface_stat.yml for /cache/rhel-7.qcow2 TASK [Get stat for interface dummy0] ******************************************* task path: /tmp/tmpq0_9gvwx/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 03 August 2022 16:43:23 +0000 (0:00:00.033) 0:00:05.821 ****** ok: [/cache/rhel-7.qcow2] => { "changed": false, "stat": { "exists": false } } TASK [assert that interface dummy0 is absent] ********************************** task path: /tmp/tmpq0_9gvwx/tests/playbooks/tasks/assert_device_absent.yml:4 Wednesday 03 August 2022 16:43:23 +0000 (0:00:00.281) 0:00:06.103 ****** ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [test] ******************************************************************** task path: /tmp/tmpq0_9gvwx/tests/playbooks/tasks/run_test.yml:29 Wednesday 03 August 2022 16:43:23 +0000 (0:00:00.030) 0:00:06.134 ****** included: /tmp/tmpq0_9gvwx/tests/playbooks/tasks/create_dummy_profile.yml for /cache/rhel-7.qcow2 => (item=tasks/create_dummy_profile.yml) TASK [Include network role] **************************************************** task path: /tmp/tmpq0_9gvwx/tests/playbooks/tasks/create_dummy_profile.yml:3 Wednesday 03 August 2022 16:43:23 +0000 (0:00:00.032) 0:00:06.167 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /tmp/tmpq0_9gvwx/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 03 August 2022 16:43:23 +0000 (0:00:00.041) 0:00:06.208 ****** included: /tmp/tmpq0_9gvwx/tests/roles/linux-system-roles.network/tasks/set_facts.yml for /cache/rhel-7.qcow2 TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/tmpq0_9gvwx/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 03 August 2022 16:43:23 +0000 (0:00:00.033) 0:00:06.241 ****** ok: [/cache/rhel-7.qcow2] => { "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 : Check which services are running] *********** task path: /tmp/tmpq0_9gvwx/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 Wednesday 03 August 2022 16:43:24 +0000 (0:00:00.422) 0:00:06.663 ****** ok: [/cache/rhel-7.qcow2] => { "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 : Check which packages are installed] ********* task path: /tmp/tmpq0_9gvwx/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 Wednesday 03 August 2022 16:43:25 +0000 (0:00:00.988) 0:00:07.652 ****** ok: [/cache/rhel-7.qcow2] => { "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 : Print network provider] ********************* task path: /tmp/tmpq0_9gvwx/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 03 August 2022 16:43:26 +0000 (0:00:00.937) 0:00:08.590 ****** ok: [/cache/rhel-7.qcow2] => {} MSG: Using network provider: nm TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/tmpq0_9gvwx/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 03 August 2022 16:43:26 +0000 (0:00:00.045) 0:00:08.635 ****** skipping: [/cache/rhel-7.qcow2] => { "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/tmpq0_9gvwx/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 03 August 2022 16:43:26 +0000 (0:00:00.036) 0:00:08.672 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /tmp/tmpq0_9gvwx/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 03 August 2022 16:43:26 +0000 (0:00:00.037) 0:00:08.709 ****** skipping: [/cache/rhel-7.qcow2] => { "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/tmpq0_9gvwx/tests/roles/linux-system-roles.network/tasks/main.yml:38 Wednesday 03 August 2022 16:43:26 +0000 (0:00:00.070) 0:00:08.780 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/tmpq0_9gvwx/tests/roles/linux-system-roles.network/tasks/main.yml:51 Wednesday 03 August 2022 16:43:26 +0000 (0:00:00.072) 0:00:08.852 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/tmpq0_9gvwx/tests/roles/linux-system-roles.network/tasks/main.yml:65 Wednesday 03 August 2022 16:43:26 +0000 (0:00:00.035) 0:00:08.888 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /tmp/tmpq0_9gvwx/tests/roles/linux-system-roles.network/tasks/main.yml:79 Wednesday 03 August 2022 16:43:26 +0000 (0:00:00.048) 0:00:08.936 ****** ok: [/cache/rhel-7.qcow2] => { "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/tmpq0_9gvwx/tests/roles/linux-system-roles.network/tasks/main.yml:90 Wednesday 03 August 2022 16:43:27 +0000 (0:00:00.663) 0:00:09.599 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /tmp/tmpq0_9gvwx/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 03 August 2022 16:43:27 +0000 (0:00:00.053) 0:00:09.653 ****** skipping: [/cache/rhel-7.qcow2] => { "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/tmpq0_9gvwx/tests/roles/linux-system-roles.network/tasks/main.yml:107 Wednesday 03 August 2022 16:43:27 +0000 (0:00:00.033) 0:00:09.686 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /tmp/tmpq0_9gvwx/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 03 August 2022 16:43:27 +0000 (0:00:00.034) 0:00:09.720 ****** redirecting (type: action) ansible.builtin.network to ansible.netcommon.network changed: [/cache/rhel-7.qcow2] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "ip": { "address": [ "192.0.2.42/30" ] }, "name": "dummy0", "state": "up", "type": "dummy" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [003] #0, state:up persistent_state:present, 'dummy0': add connection dummy0, 9a3a8956-bbc2-4ddb-af61-e28cbaca0d97 [004] #0, state:up persistent_state:present, 'dummy0': up connection dummy0, 9a3a8956-bbc2-4ddb-af61-e28cbaca0d97 (not-active) TASK [linux-system-roles.network : Configure networking state] ***************** task path: /tmp/tmpq0_9gvwx/tests/roles/linux-system-roles.network/tasks/main.yml:128 Wednesday 03 August 2022 16:43:29 +0000 (0:00:01.671) 0:00:11.392 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /tmp/tmpq0_9gvwx/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 03 August 2022 16:43:29 +0000 (0:00:00.074) 0:00:11.466 ****** ok: [/cache/rhel-7.qcow2] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'dummy0': add connection dummy0, 9a3a8956-bbc2-4ddb-af61-e28cbaca0d97", "[004] #0, state:up persistent_state:present, 'dummy0': up connection dummy0, 9a3a8956-bbc2-4ddb-af61-e28cbaca0d97 (not-active)" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /tmp/tmpq0_9gvwx/tests/roles/linux-system-roles.network/tasks/main.yml:138 Wednesday 03 August 2022 16:43:29 +0000 (0:00:00.045) 0:00:11.512 ****** ok: [/cache/rhel-7.qcow2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "ip": { "address": [ "192.0.2.42/30" ] }, "name": "dummy0", "state": "up", "type": "dummy" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[003] #0, state:up persistent_state:present, 'dummy0': add connection dummy0, 9a3a8956-bbc2-4ddb-af61-e28cbaca0d97\n[004] #0, state:up persistent_state:present, 'dummy0': up connection dummy0, 9a3a8956-bbc2-4ddb-af61-e28cbaca0d97 (not-active)\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'dummy0': add connection dummy0, 9a3a8956-bbc2-4ddb-af61-e28cbaca0d97", "[004] #0, state:up persistent_state:present, 'dummy0': up connection dummy0, 9a3a8956-bbc2-4ddb-af61-e28cbaca0d97 (not-active)" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /tmp/tmpq0_9gvwx/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 03 August 2022 16:43:29 +0000 (0:00:00.043) 0:00:11.556 ****** skipping: [/cache/rhel-7.qcow2] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /tmp/tmpq0_9gvwx/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 03 August 2022 16:43:29 +0000 (0:00:00.037) 0:00:11.594 ****** ok: [/cache/rhel-7.qcow2] => { "changed": false, "ping": "pong" } META: role_complete for /cache/rhel-7.qcow2 TASK [Show result] ************************************************************* task path: /tmp/tmpq0_9gvwx/tests/playbooks/tasks/create_dummy_profile.yml:14 Wednesday 03 August 2022 16:43:29 +0000 (0:00:00.411) 0:00:12.005 ****** ok: [/cache/rhel-7.qcow2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "ip": { "address": [ "192.0.2.42/30" ] }, "name": "dummy0", "state": "up", "type": "dummy" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[003] #0, state:up persistent_state:present, 'dummy0': add connection dummy0, 9a3a8956-bbc2-4ddb-af61-e28cbaca0d97\n[004] #0, state:up persistent_state:present, 'dummy0': up connection dummy0, 9a3a8956-bbc2-4ddb-af61-e28cbaca0d97 (not-active)\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'dummy0': add connection dummy0, 9a3a8956-bbc2-4ddb-af61-e28cbaca0d97", "[004] #0, state:up persistent_state:present, 'dummy0': up connection dummy0, 9a3a8956-bbc2-4ddb-af61-e28cbaca0d97 (not-active)" ] } } TASK [asserts] ***************************************************************** task path: /tmp/tmpq0_9gvwx/tests/playbooks/tasks/run_test.yml:35 Wednesday 03 August 2022 16:43:29 +0000 (0:00:00.042) 0:00:12.047 ****** included: /tmp/tmpq0_9gvwx/tests/playbooks/tasks/assert_profile_present.yml for /cache/rhel-7.qcow2 => (item=tasks/assert_profile_present.yml) included: /tmp/tmpq0_9gvwx/tests/playbooks/tasks/assert_device_present.yml for /cache/rhel-7.qcow2 => (item=tasks/assert_device_present.yml) TASK [include_tasks] *********************************************************** task path: /tmp/tmpq0_9gvwx/tests/playbooks/tasks/assert_profile_present.yml:3 Wednesday 03 August 2022 16:43:29 +0000 (0:00:00.062) 0:00:12.110 ****** included: /tmp/tmpq0_9gvwx/tests/playbooks/tasks/get_profile_stat.yml for /cache/rhel-7.qcow2 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/tmpq0_9gvwx/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 03 August 2022 16:43:29 +0000 (0:00:00.053) 0:00:12.163 ****** ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false }, "changed": false } TASK [stat profile file] ******************************************************* task path: /tmp/tmpq0_9gvwx/tests/playbooks/tasks/get_profile_stat.yml:8 Wednesday 03 August 2022 16:43:29 +0000 (0:00:00.044) 0:00:12.208 ****** ok: [/cache/rhel-7.qcow2] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/tmpq0_9gvwx/tests/playbooks/tasks/get_profile_stat.yml:16 Wednesday 03 August 2022 16:43:30 +0000 (0:00:00.292) 0:00:12.500 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/tmpq0_9gvwx/tests/playbooks/tasks/get_profile_stat.yml:24 Wednesday 03 August 2022 16:43:30 +0000 (0:00:00.032) 0:00:12.533 ****** ok: [/cache/rhel-7.qcow2] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep dummy0 | grep /etc", "delta": "0:00:00.021554", "end": "2022-08-03 12:43:30.820601", "rc": 0, "start": "2022-08-03 12:43:30.799047" } STDOUT: dummy0 /etc/NetworkManager/system-connections/dummy0 TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /tmp/tmpq0_9gvwx/tests/playbooks/tasks/get_profile_stat.yml:33 Wednesday 03 August 2022 16:43:30 +0000 (0:00:00.319) 0:00:12.853 ****** ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true, "lsr_net_profile_exists": true }, "changed": false } TASK [Get the ansible_managed comment in ifcfg-dummy0] ************************* task path: /tmp/tmpq0_9gvwx/tests/playbooks/tasks/get_profile_stat.yml:43 Wednesday 03 August 2022 16:43:30 +0000 (0:00:00.119) 0:00:12.972 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-dummy0] ********************** task path: /tmp/tmpq0_9gvwx/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 03 August 2022 16:43:30 +0000 (0:00:00.034) 0:00:13.006 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert that profile 'dummy0' is present] ********************************* task path: /tmp/tmpq0_9gvwx/tests/playbooks/tasks/assert_profile_present.yml:4 Wednesday 03 August 2022 16:43:30 +0000 (0:00:00.034) 0:00:13.041 ****** ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [assert that ansible managed comment in 'dummy0' is present] ************** task path: /tmp/tmpq0_9gvwx/tests/playbooks/tasks/assert_profile_present.yml:9 Wednesday 03 August 2022 16:43:30 +0000 (0:00:00.046) 0:00:13.088 ****** ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [include_tasks] *********************************************************** task path: /tmp/tmpq0_9gvwx/tests/playbooks/tasks/assert_device_present.yml:3 Wednesday 03 August 2022 16:43:30 +0000 (0:00:00.048) 0:00:13.136 ****** included: /tmp/tmpq0_9gvwx/tests/playbooks/tasks/get_interface_stat.yml for /cache/rhel-7.qcow2 TASK [Get stat for interface dummy0] ******************************************* task path: /tmp/tmpq0_9gvwx/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 03 August 2022 16:43:30 +0000 (0:00:00.052) 0:00:13.188 ****** ok: [/cache/rhel-7.qcow2] => { "changed": false, "stat": { "atime": 1659545008.3238246, "block_size": 4096, "blocks": 0, "ctime": 1659545008.3228247, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 13785, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": true, "isreg": false, "issock": false, "isuid": false, "lnk_source": "/sys/devices/virtual/net/dummy0", "lnk_target": "../../devices/virtual/net/dummy0", "mode": "0777", "mtime": 1659545008.3228247, "nlink": 1, "path": "/sys/class/net/dummy0", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 0, "uid": 0, "wgrp": true, "woth": true, "writeable": true, "wusr": true, "xgrp": true, "xoth": true, "xusr": true } } TASK [assert that interface dummy0 is present] ********************************* task path: /tmp/tmpq0_9gvwx/tests/playbooks/tasks/assert_device_present.yml:4 Wednesday 03 August 2022 16:43:31 +0000 (0:00:00.295) 0:00:13.484 ****** ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [conditional asserts] ***************************************************** task path: /tmp/tmpq0_9gvwx/tests/playbooks/tasks/run_test.yml:41 Wednesday 03 August 2022 16:43:31 +0000 (0:00:00.046) 0:00:13.530 ****** TASK [Success in test 'Create a dummy interface'] ****************************** task path: /tmp/tmpq0_9gvwx/tests/playbooks/tasks/run_test.yml:47 Wednesday 03 August 2022 16:43:31 +0000 (0:00:00.045) 0:00:13.576 ****** ok: [/cache/rhel-7.qcow2] => {} MSG: +++++ Success in test 'Create a dummy interface' +++++ TASK [cleanup] ***************************************************************** task path: /tmp/tmpq0_9gvwx/tests/playbooks/tasks/run_test.yml:66 Wednesday 03 August 2022 16:43:31 +0000 (0:00:00.044) 0:00:13.620 ****** included: /tmp/tmpq0_9gvwx/tests/playbooks/tasks/cleanup_profile+device.yml for /cache/rhel-7.qcow2 => (item=tasks/cleanup_profile+device.yml) TASK [Cleanup profile and device] ********************************************** task path: /tmp/tmpq0_9gvwx/tests/playbooks/tasks/cleanup_profile+device.yml:3 Wednesday 03 August 2022 16:43:31 +0000 (0:00:00.059) 0:00:13.679 ****** ok: [/cache/rhel-7.qcow2] => { "changed": false, "cmd": "nmcli con delete dummy0\nnmcli con load /etc/sysconfig/network-scripts/ifcfg-dummy0\nrm -f /etc/sysconfig/network-scripts/ifcfg-dummy0\nip link del dummy0\n", "delta": "0:00:00.049481", "end": "2022-08-03 12:43:31.994656", "rc": 0, "start": "2022-08-03 12:43:31.945175" } STDOUT: Connection 'dummy0' (9a3a8956-bbc2-4ddb-af61-e28cbaca0d97) successfully deleted. STDERR: (process:5108): GLib-GIO-WARNING **: 12:43:31.976: gdbusobjectmanagerclient.c:1589: Processing InterfaceRemoved signal for path /org/freedesktop/NetworkManager/ActiveConnection/53 but no object proxy exists Could not load file '/etc/sysconfig/network-scripts/ifcfg-dummy0' META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/rhel-7.qcow2 : ok=53 changed=3 unreachable=0 failed=0 skipped=18 rescued=0 ignored=1 Wednesday 03 August 2022 16:43:31 +0000 (0:00:00.367) 0:00:14.047 ****** =============================================================================== linux-system-roles.network : Configure networking connection profiles --- 1.67s /tmp/tmpq0_9gvwx/tests/roles/linux-system-roles.network/tasks/main.yml:116 ---- set up internal repositories -------------------------------------------- 1.32s /cache/rhel-7_setup.yml:5 ----------------------------------------------------- linux-system-roles.network : Check which services are running ----------- 0.99s /tmp/tmpq0_9gvwx/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 linux-system-roles.network : Check which packages are installed --------- 0.94s /tmp/tmpq0_9gvwx/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 Gathering Facts --------------------------------------------------------- 0.93s /tmp/tmpq0_9gvwx/tests/tests_dummy_nm.yml:5 ----------------------------------- Gathering Facts --------------------------------------------------------- 0.68s /tmp/tmpq0_9gvwx/tests/playbooks/tests_dummy.yml:3 ---------------------------- linux-system-roles.network : Enable and start NetworkManager ------------ 0.66s /tmp/tmpq0_9gvwx/tests/roles/linux-system-roles.network/tasks/main.yml:79 ----- Get stats of system files ----------------------------------------------- 0.50s /tmp/tmpq0_9gvwx/tests/_backup.yml:6 ------------------------------------------ Enable EPEL 7 ----------------------------------------------------------- 0.47s /tmp/tmpq0_9gvwx/tests/tasks/enable_epel.yml:11 ------------------------------- linux-system-roles.network : Ensure ansible_facts used by role are present --- 0.42s /tmp/tmpq0_9gvwx/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 - linux-system-roles.network : Re-test connectivity ----------------------- 0.41s /tmp/tmpq0_9gvwx/tests/roles/linux-system-roles.network/tasks/main.yml:149 ---- Back up system files ---------------------------------------------------- 0.37s /tmp/tmpq0_9gvwx/tests/_backup.yml:19 ----------------------------------------- Cleanup profile and device ---------------------------------------------- 0.37s /tmp/tmpq0_9gvwx/tests/playbooks/tasks/cleanup_profile+device.yml:3 ----------- Get NM profile info ----------------------------------------------------- 0.32s /tmp/tmpq0_9gvwx/tests/playbooks/tasks/get_profile_stat.yml:24 ---------------- remove test interface if necessary -------------------------------------- 0.30s /tmp/tmpq0_9gvwx/tests/playbooks/tasks/delete_interface.yml:3 ----------------- Get stat for interface dummy0 ------------------------------------------- 0.30s /tmp/tmpq0_9gvwx/tests/playbooks/tasks/get_interface_stat.yml:3 --------------- stat profile file ------------------------------------------------------- 0.29s /tmp/tmpq0_9gvwx/tests/playbooks/tasks/get_profile_stat.yml:8 ----------------- Create EPEL 7 ----------------------------------------------------------- 0.29s /tmp/tmpq0_9gvwx/tests/tasks/enable_epel.yml:4 -------------------------------- Gather current interface info ------------------------------------------- 0.28s /tmp/tmpq0_9gvwx/tests/playbooks/tasks/get_current_interfaces.yml:3 ----------- Get stat for interface dummy0 ------------------------------------------- 0.28s /tmp/tmpq0_9gvwx/tests/playbooks/tasks/get_interface_stat.yml:3 --------------- PLAYBOOK: _restore.yml ********************************************************* 1 plays in /tmp/tmpq0_9gvwx/tests/_restore.yml PLAY [all] ********************************************************************* META: ran handlers TASK [Restore system files] **************************************************** task path: /tmp/tmpq0_9gvwx/tests/_restore.yml:4 Wednesday 03 August 2022 16:43:31 +0000 (0:00:00.037) 0:00:14.084 ****** changed: [/cache/rhel-7.qcow2] => { "changed": true, "cmd": "(cd /; tar -xf /tmp/network.backup.tar)", "delta": "0:00:00.006196", "end": "2022-08-03 12:43:32.345637", "rc": 0, "start": "2022-08-03 12:43:32.339441" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/rhel-7.qcow2 : ok=54 changed=4 unreachable=0 failed=0 skipped=18 rescued=0 ignored=1 Wednesday 03 August 2022 16:43:32 +0000 (0:00:00.334) 0:00:14.419 ****** =============================================================================== linux-system-roles.network : Configure networking connection profiles --- 1.67s /tmp/tmpq0_9gvwx/tests/roles/linux-system-roles.network/tasks/main.yml:116 ---- set up internal repositories -------------------------------------------- 1.32s /cache/rhel-7_setup.yml:5 ----------------------------------------------------- linux-system-roles.network : Check which services are running ----------- 0.99s /tmp/tmpq0_9gvwx/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 linux-system-roles.network : Check which packages are installed --------- 0.94s /tmp/tmpq0_9gvwx/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 Gathering Facts --------------------------------------------------------- 0.93s /tmp/tmpq0_9gvwx/tests/tests_dummy_nm.yml:5 ----------------------------------- Gathering Facts --------------------------------------------------------- 0.68s /tmp/tmpq0_9gvwx/tests/playbooks/tests_dummy.yml:3 ---------------------------- linux-system-roles.network : Enable and start NetworkManager ------------ 0.66s /tmp/tmpq0_9gvwx/tests/roles/linux-system-roles.network/tasks/main.yml:79 ----- Get stats of system files ----------------------------------------------- 0.50s /tmp/tmpq0_9gvwx/tests/_backup.yml:6 ------------------------------------------ Enable EPEL 7 ----------------------------------------------------------- 0.47s /tmp/tmpq0_9gvwx/tests/tasks/enable_epel.yml:11 ------------------------------- linux-system-roles.network : Ensure ansible_facts used by role are present --- 0.42s /tmp/tmpq0_9gvwx/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 - linux-system-roles.network : Re-test connectivity ----------------------- 0.41s /tmp/tmpq0_9gvwx/tests/roles/linux-system-roles.network/tasks/main.yml:149 ---- Back up system files ---------------------------------------------------- 0.37s /tmp/tmpq0_9gvwx/tests/_backup.yml:19 ----------------------------------------- Cleanup profile and device ---------------------------------------------- 0.37s /tmp/tmpq0_9gvwx/tests/playbooks/tasks/cleanup_profile+device.yml:3 ----------- Restore system files ---------------------------------------------------- 0.33s /tmp/tmpq0_9gvwx/tests/_restore.yml:4 ----------------------------------------- Get NM profile info ----------------------------------------------------- 0.32s /tmp/tmpq0_9gvwx/tests/playbooks/tasks/get_profile_stat.yml:24 ---------------- remove test interface if necessary -------------------------------------- 0.30s /tmp/tmpq0_9gvwx/tests/playbooks/tasks/delete_interface.yml:3 ----------------- Get stat for interface dummy0 ------------------------------------------- 0.30s /tmp/tmpq0_9gvwx/tests/playbooks/tasks/get_interface_stat.yml:3 --------------- stat profile file ------------------------------------------------------- 0.29s /tmp/tmpq0_9gvwx/tests/playbooks/tasks/get_profile_stat.yml:8 ----------------- Create EPEL 7 ----------------------------------------------------------- 0.29s /tmp/tmpq0_9gvwx/tests/tasks/enable_epel.yml:4 -------------------------------- Gather current interface info ------------------------------------------- 0.28s /tmp/tmpq0_9gvwx/tests/playbooks/tasks/get_current_interfaces.yml:3 ----------- 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/tmp0fvd1p7_ 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: rhel-7_setup.yml ***************************************************** 1 plays in /cache/rhel-7_setup.yml PLAY [Setup repos] ************************************************************* META: ran handlers TASK [set up internal repositories] ******************************************** task path: /cache/rhel-7_setup.yml:5 Wednesday 03 August 2022 17:08:21 +0000 (0:00:00.017) 0:00:00.017 ****** ok: [/cache/rhel-7.qcow2] => (item=None) => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } ok: [/cache/rhel-7.qcow2] => (item=None) => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } ok: [/cache/rhel-7.qcow2] => (item=None) => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } ok: [/cache/rhel-7.qcow2] => (item=None) => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } ok: [/cache/rhel-7.qcow2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/rhel-7.qcow2 : ok=1 changed=0 unreachable=0 failed=0 skipped=0 rescued=0 ignored=0 Wednesday 03 August 2022 17:08:22 +0000 (0:00:01.355) 0:00:01.373 ****** =============================================================================== set up internal repositories -------------------------------------------- 1.36s /cache/rhel-7_setup.yml:5 ----------------------------------------------------- PLAYBOOK: _backup.yml ********************************************************** 1 plays in /tmp/tmp0448nu9w/tests/network/_backup.yml PLAY [all] ********************************************************************* META: ran handlers TASK [Get stats of system files] *********************************************** task path: /tmp/tmp0448nu9w/tests/network/_backup.yml:6 Wednesday 03 August 2022 17:08:22 +0000 (0:00:00.032) 0:00:01.405 ****** ok: [/cache/rhel-7.qcow2] => (item=/etc/resolv.conf) => { "ansible_loop_var": "item", "changed": false, "item": "/etc/resolv.conf", "stat": { "atime": 1659546500.4743018, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "fba82b5b78ea37322e584bf452f6f8e163f0869b", "ctime": 1659546500.4743018, "dev": 64769, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 77, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1659545878.0, "nlink": 1, "path": "/etc/resolv.conf", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 90, "uid": 0, "version": "624082492", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Check if system files exist] ********************************************* task path: /tmp/tmp0448nu9w/tests/network/_backup.yml:13 Wednesday 03 August 2022 17:08:22 +0000 (0:00:00.428) 0:00:01.833 ****** [WARNING]: conditional statements should not include jinja2 templating delimiters such as {{ }} or {% %}. Found: {{ item.stat.exists }} ok: [/cache/rhel-7.qcow2] => (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': 1659545878.0, 'block_size': 4096, 'inode': 77, 'isgid': False, 'size': 90, 'executable': False, 'isuid': False, 'readable': True, 'version': '624082492', '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': 1659546500.4743018, 'isdir': False, 'ctime': 1659546500.4743018, 'isblk': False, 'wgrp': False, 'checksum': 'fba82b5b78ea37322e584bf452f6f8e163f0869b', 'dev': 64769, 'roth': True, 'isfifo': False, 'mode': '0644', 'xgrp': False, 'rusr': True, 'attributes': []}, 'changed': False, '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_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": 1659546500.4743018, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "fba82b5b78ea37322e584bf452f6f8e163f0869b", "ctime": 1659546500.4743018, "dev": 64769, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 77, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1659545878.0, "nlink": 1, "path": "/etc/resolv.conf", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 90, "uid": 0, "version": "624082492", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } } TASK [Back up system files] **************************************************** task path: /tmp/tmp0448nu9w/tests/network/_backup.yml:19 Wednesday 03 August 2022 17:08:23 +0000 (0:00:00.035) 0:00:01.869 ****** changed: [/cache/rhel-7.qcow2] => { "changed": true, "cmd": [ "tar", "-cf", "/tmp/network.backup.tar", "--same-owner", "--same-permissions", "/etc/resolv.conf" ], "delta": "0:00:00.005066", "end": "2022-08-03 13:08:23.335069", "rc": 0, "start": "2022-08-03 13:08:23.330003" } STDERR: tar: Removing leading `/' from member names META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/rhel-7.qcow2 : ok=4 changed=1 unreachable=0 failed=0 skipped=0 rescued=0 ignored=0 Wednesday 03 August 2022 17:08:23 +0000 (0:00:00.404) 0:00:02.273 ****** =============================================================================== set up internal repositories -------------------------------------------- 1.36s /cache/rhel-7_setup.yml:5 ----------------------------------------------------- Get stats of system files ----------------------------------------------- 0.43s /tmp/tmp0448nu9w/tests/network/_backup.yml:6 ---------------------------------- Back up system files ---------------------------------------------------- 0.40s /tmp/tmp0448nu9w/tests/network/_backup.yml:19 --------------------------------- Check if system files exist --------------------------------------------- 0.04s /tmp/tmp0448nu9w/tests/network/_backup.yml:13 --------------------------------- PLAYBOOK: tests_dummy_nm.yml *************************************************** 2 plays in /tmp/tmp0448nu9w/tests/network/tests_dummy_nm.yml PLAY [Run playbook 'playbooks/tests_dummy.yml' with nm as provider] ************ TASK [Gathering Facts] ********************************************************* task path: /tmp/tmp0448nu9w/tests/network/tests_dummy_nm.yml:5 Wednesday 03 August 2022 17:08:23 +0000 (0:00:00.012) 0:00:02.285 ****** ok: [/cache/rhel-7.qcow2] META: ran handlers TASK [include_tasks] *********************************************************** task path: /tmp/tmp0448nu9w/tests/network/tests_dummy_nm.yml:8 Wednesday 03 August 2022 17:08:24 +0000 (0:00:00.932) 0:00:03.218 ****** included: /tmp/tmp0448nu9w/tests/network/tasks/el_repo_setup.yml for /cache/rhel-7.qcow2 TASK [Fix CentOS6 Base repo] *************************************************** task path: /tmp/tmp0448nu9w/tests/network/tasks/el_repo_setup.yml:2 Wednesday 03 August 2022 17:08:24 +0000 (0:00:00.024) 0:00:03.242 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [include_tasks] *********************************************************** task path: /tmp/tmp0448nu9w/tests/network/tasks/el_repo_setup.yml:27 Wednesday 03 August 2022 17:08:24 +0000 (0:00:00.018) 0:00:03.261 ****** included: /tmp/tmp0448nu9w/tests/network/tasks/enable_epel.yml for /cache/rhel-7.qcow2 TASK [Create EPEL 7] *********************************************************** task path: /tmp/tmp0448nu9w/tests/network/tasks/enable_epel.yml:4 Wednesday 03 August 2022 17:08:24 +0000 (0:00:00.027) 0:00:03.289 ****** ok: [/cache/rhel-7.qcow2] => { "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/tmp0448nu9w/tests/network/tasks/enable_epel.yml:11 Wednesday 03 August 2022 17:08:24 +0000 (0:00:00.306) 0:00:03.595 ****** changed: [/cache/rhel-7.qcow2] => { "changed": true, "cmd": [ "yum-config-manager", "--enable", "epel" ], "delta": "0:00:00.181978", "end": "2022-08-03 13:08:25.148424", "rc": 0, "start": "2022-08-03 13:08:24.966446" } STDOUT: ================================== repo: epel ================================== [epel] async = True bandwidth = 0 base_persistdir = /var/lib/yum/repos/x86_64/7Server baseurl = cache = 0 cachedir = /var/cache/yum/x86_64/7Server/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/7Server/epel/gpgcadir gpgcakey = gpgcheck = True gpgdir = /var/lib/yum/repos/x86_64/7Server/epel/gpgdir gpgkey = file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-7 hdrdir = /var/cache/yum/x86_64/7Server/epel/headers http_caching = all includepkgs = ip_resolve = keepalive = True keepcache = False 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=$infra&content=$contentdir 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/7Server/epel pkgdir = /var/cache/yum/x86_64/7Server/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/tmp0448nu9w/tests/network/tasks/enable_epel.yml:17 Wednesday 03 August 2022 17:08:25 +0000 (0:00:00.487) 0:00:04.083 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /tmp/tmp0448nu9w/tests/network/tasks/enable_epel.yml:26 Wednesday 03 August 2022 17:08:25 +0000 (0:00:00.022) 0:00:04.106 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** task path: /tmp/tmp0448nu9w/tests/network/tests_dummy_nm.yml:9 Wednesday 03 August 2022 17:08:25 +0000 (0:00:00.020) 0:00:04.126 ****** ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "network_provider": "nm" }, "changed": false } META: ran handlers META: ran handlers PLAY [all] ********************************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmp0448nu9w/tests/network/playbooks/tests_dummy.yml:3 Wednesday 03 August 2022 17:08:25 +0000 (0:00:00.044) 0:00:04.171 ****** ok: [/cache/rhel-7.qcow2] META: ran handlers TASK [Show playbook name] ****************************************************** task path: /tmp/tmp0448nu9w/tests/network/playbooks/tests_dummy.yml:10 Wednesday 03 August 2022 17:08:26 +0000 (0:00:00.725) 0:00:04.896 ****** ok: [/cache/rhel-7.qcow2] => {} MSG: this is: playbooks/tests_dummy.yml TASK [include_tasks] *********************************************************** task path: /tmp/tmp0448nu9w/tests/network/playbooks/tests_dummy.yml:17 Wednesday 03 August 2022 17:08:26 +0000 (0:00:00.036) 0:00:04.933 ****** included: /tmp/tmp0448nu9w/tests/network/playbooks/tasks/run_test.yml for /cache/rhel-7.qcow2 TASK [TEST: Create a dummy interface] ****************************************** task path: /tmp/tmp0448nu9w/tests/network/playbooks/tasks/run_test.yml:5 Wednesday 03 August 2022 17:08:26 +0000 (0:00:00.036) 0:00:04.970 ****** ok: [/cache/rhel-7.qcow2] => {} MSG: ########## Create a dummy interface ########## TASK [Show item] *************************************************************** task path: /tmp/tmp0448nu9w/tests/network/playbooks/tasks/run_test.yml:9 Wednesday 03 August 2022 17:08:26 +0000 (0:00:00.037) 0:00:05.007 ****** ok: [/cache/rhel-7.qcow2] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "Create a dummy interface" } ok: [/cache/rhel-7.qcow2] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/delete_interface.yml", "tasks/assert_device_absent.yml" ] } ok: [/cache/rhel-7.qcow2] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/create_dummy_profile.yml" ] } ok: [/cache/rhel-7.qcow2] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_profile_present.yml", "tasks/assert_device_present.yml" ] } ok: [/cache/rhel-7.qcow2] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": "VARIABLE IS NOT DEFINED!: 'lsr_assert_when' is undefined" } ok: [/cache/rhel-7.qcow2] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [/cache/rhel-7.qcow2] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [include_tasks] *********************************************************** task path: /tmp/tmp0448nu9w/tests/network/playbooks/tasks/run_test.yml:21 Wednesday 03 August 2022 17:08:26 +0000 (0:00:00.123) 0:00:05.130 ****** included: /tmp/tmp0448nu9w/tests/network/playbooks/tasks/show_interfaces.yml for /cache/rhel-7.qcow2 TASK [include_tasks] *********************************************************** task path: /tmp/tmp0448nu9w/tests/network/playbooks/tasks/show_interfaces.yml:3 Wednesday 03 August 2022 17:08:26 +0000 (0:00:00.039) 0:00:05.169 ****** included: /tmp/tmp0448nu9w/tests/network/playbooks/tasks/get_current_interfaces.yml for /cache/rhel-7.qcow2 TASK [Gather current interface info] ******************************************* task path: /tmp/tmp0448nu9w/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 03 August 2022 17:08:26 +0000 (0:00:00.039) 0:00:05.209 ****** ok: [/cache/rhel-7.qcow2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003930", "end": "2022-08-03 13:08:26.568071", "rc": 0, "start": "2022-08-03 13:08:26.564141" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/tmp0448nu9w/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 03 August 2022 17:08:26 +0000 (0:00:00.295) 0:00:05.505 ****** ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/tmp0448nu9w/tests/network/playbooks/tasks/show_interfaces.yml:4 Wednesday 03 August 2022 17:08:26 +0000 (0:00:00.031) 0:00:05.536 ****** ok: [/cache/rhel-7.qcow2] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo'] TASK [setup] ******************************************************************* task path: /tmp/tmp0448nu9w/tests/network/playbooks/tasks/run_test.yml:23 Wednesday 03 August 2022 17:08:26 +0000 (0:00:00.031) 0:00:05.568 ****** included: /tmp/tmp0448nu9w/tests/network/playbooks/tasks/delete_interface.yml for /cache/rhel-7.qcow2 => (item=tasks/delete_interface.yml) included: /tmp/tmp0448nu9w/tests/network/playbooks/tasks/assert_device_absent.yml for /cache/rhel-7.qcow2 => (item=tasks/assert_device_absent.yml) TASK [remove test interface if necessary] ************************************** task path: /tmp/tmp0448nu9w/tests/network/playbooks/tasks/delete_interface.yml:3 Wednesday 03 August 2022 17:08:26 +0000 (0:00:00.039) 0:00:05.608 ****** fatal: [/cache/rhel-7.qcow2]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "dummy0" ], "delta": "0:00:00.012584", "end": "2022-08-03 13:08:26.977337", "rc": 1, "start": "2022-08-03 13:08:26.964753" } STDERR: Cannot find device "dummy0" MSG: non-zero return code ...ignoring TASK [include_tasks] *********************************************************** task path: /tmp/tmp0448nu9w/tests/network/playbooks/tasks/assert_device_absent.yml:3 Wednesday 03 August 2022 17:08:27 +0000 (0:00:00.302) 0:00:05.911 ****** included: /tmp/tmp0448nu9w/tests/network/playbooks/tasks/get_interface_stat.yml for /cache/rhel-7.qcow2 TASK [Get stat for interface dummy0] ******************************************* task path: /tmp/tmp0448nu9w/tests/network/playbooks/tasks/get_interface_stat.yml:3 Wednesday 03 August 2022 17:08:27 +0000 (0:00:00.032) 0:00:05.944 ****** ok: [/cache/rhel-7.qcow2] => { "changed": false, "stat": { "exists": false } } TASK [assert that interface dummy0 is absent] ********************************** task path: /tmp/tmp0448nu9w/tests/network/playbooks/tasks/assert_device_absent.yml:4 Wednesday 03 August 2022 17:08:27 +0000 (0:00:00.326) 0:00:06.271 ****** ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [test] ******************************************************************** task path: /tmp/tmp0448nu9w/tests/network/playbooks/tasks/run_test.yml:29 Wednesday 03 August 2022 17:08:27 +0000 (0:00:00.057) 0:00:06.328 ****** included: /tmp/tmp0448nu9w/tests/network/playbooks/tasks/create_dummy_profile.yml for /cache/rhel-7.qcow2 => (item=tasks/create_dummy_profile.yml) TASK [Include network role] **************************************************** task path: /tmp/tmp0448nu9w/tests/network/playbooks/tasks/create_dummy_profile.yml:3 Wednesday 03 August 2022 17:08:27 +0000 (0:00:00.036) 0:00:06.365 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/tmp0fvd1p7_/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 03 August 2022 17:08:27 +0000 (0:00:00.050) 0:00:06.416 ****** included: /tmp/tmp0fvd1p7_/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for /cache/rhel-7.qcow2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/tmp0fvd1p7_/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 03 August 2022 17:08:27 +0000 (0:00:00.038) 0:00:06.454 ****** ok: [/cache/rhel-7.qcow2] => { "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 : Check which services are running] **** task path: /tmp/tmp0fvd1p7_/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 Wednesday 03 August 2022 17:08:28 +0000 (0:00:00.447) 0:00:06.902 ****** ok: [/cache/rhel-7.qcow2] => { "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 : Check which packages are installed] *** task path: /tmp/tmp0fvd1p7_/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 Wednesday 03 August 2022 17:08:29 +0000 (0:00:01.042) 0:00:07.944 ****** ok: [/cache/rhel-7.qcow2] => { "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 : Print network provider] ************** task path: /tmp/tmp0fvd1p7_/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 03 August 2022 17:08:30 +0000 (0:00:00.978) 0:00:08.923 ****** ok: [/cache/rhel-7.qcow2] => {} MSG: Using network provider: nm 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/tmp0fvd1p7_/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 03 August 2022 17:08:30 +0000 (0:00:00.044) 0:00:08.967 ****** skipping: [/cache/rhel-7.qcow2] => { "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/tmp0fvd1p7_/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 03 August 2022 17:08:30 +0000 (0:00:00.039) 0:00:09.006 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/tmp0fvd1p7_/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Wednesday 03 August 2022 17:08:30 +0000 (0:00:00.038) 0:00:09.044 ****** skipping: [/cache/rhel-7.qcow2] => { "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/tmp0fvd1p7_/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:35 Wednesday 03 August 2022 17:08:30 +0000 (0:00:00.100) 0:00:09.145 ****** skipping: [/cache/rhel-7.qcow2] => { "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/tmp0fvd1p7_/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:45 Wednesday 03 August 2022 17:08:30 +0000 (0:00:00.039) 0:00:09.185 ****** skipping: [/cache/rhel-7.qcow2] => { "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/tmp0fvd1p7_/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:56 Wednesday 03 August 2022 17:08:30 +0000 (0:00:00.075) 0:00:09.260 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/tmp0fvd1p7_/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:69 Wednesday 03 August 2022 17:08:30 +0000 (0:00:00.054) 0:00:09.315 ****** ok: [/cache/rhel-7.qcow2] => { "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/tmp0fvd1p7_/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:80 Wednesday 03 August 2022 17:08:31 +0000 (0:00:00.652) 0:00:09.968 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/tmp0fvd1p7_/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:89 Wednesday 03 August 2022 17:08:31 +0000 (0:00:00.053) 0:00:10.021 ****** skipping: [/cache/rhel-7.qcow2] => { "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/tmp0fvd1p7_/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:97 Wednesday 03 August 2022 17:08:31 +0000 (0:00:00.031) 0:00:10.053 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/tmp0fvd1p7_/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 Wednesday 03 August 2022 17:08:31 +0000 (0:00:00.033) 0:00:10.086 ****** changed: [/cache/rhel-7.qcow2] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "ip": { "address": [ "192.0.2.42/30" ] }, "name": "dummy0", "state": "up", "type": "dummy" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [003] #0, state:up persistent_state:present, 'dummy0': add connection dummy0, 6f158c91-f2ae-4712-a07a-1082514b57f4 [004] #0, state:up persistent_state:present, 'dummy0': up connection dummy0, 6f158c91-f2ae-4712-a07a-1082514b57f4 (not-active) TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/tmp0fvd1p7_/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:118 Wednesday 03 August 2022 17:08:32 +0000 (0:00:01.729) 0:00:11.815 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/tmp0fvd1p7_/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Wednesday 03 August 2022 17:08:32 +0000 (0:00:00.037) 0:00:11.853 ****** ok: [/cache/rhel-7.qcow2] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'dummy0': add connection dummy0, 6f158c91-f2ae-4712-a07a-1082514b57f4", "[004] #0, state:up persistent_state:present, 'dummy0': up connection dummy0, 6f158c91-f2ae-4712-a07a-1082514b57f4 (not-active)" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/tmp0fvd1p7_/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:128 Wednesday 03 August 2022 17:08:33 +0000 (0:00:00.047) 0:00:11.900 ****** ok: [/cache/rhel-7.qcow2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "ip": { "address": [ "192.0.2.42/30" ] }, "name": "dummy0", "state": "up", "type": "dummy" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[003] #0, state:up persistent_state:present, 'dummy0': add connection dummy0, 6f158c91-f2ae-4712-a07a-1082514b57f4\n[004] #0, state:up persistent_state:present, 'dummy0': up connection dummy0, 6f158c91-f2ae-4712-a07a-1082514b57f4 (not-active)\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'dummy0': add connection dummy0, 6f158c91-f2ae-4712-a07a-1082514b57f4", "[004] #0, state:up persistent_state:present, 'dummy0': up connection dummy0, 6f158c91-f2ae-4712-a07a-1082514b57f4 (not-active)" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/tmp0fvd1p7_/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Wednesday 03 August 2022 17:08:33 +0000 (0:00:00.041) 0:00:11.942 ****** skipping: [/cache/rhel-7.qcow2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/tmp0fvd1p7_/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Wednesday 03 August 2022 17:08:33 +0000 (0:00:00.037) 0:00:11.979 ****** ok: [/cache/rhel-7.qcow2] => { "changed": false, "ping": "pong" } META: role_complete for /cache/rhel-7.qcow2 TASK [Show result] ************************************************************* task path: /tmp/tmp0448nu9w/tests/network/playbooks/tasks/create_dummy_profile.yml:14 Wednesday 03 August 2022 17:08:33 +0000 (0:00:00.427) 0:00:12.406 ****** ok: [/cache/rhel-7.qcow2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "ip": { "address": [ "192.0.2.42/30" ] }, "name": "dummy0", "state": "up", "type": "dummy" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[003] #0, state:up persistent_state:present, 'dummy0': add connection dummy0, 6f158c91-f2ae-4712-a07a-1082514b57f4\n[004] #0, state:up persistent_state:present, 'dummy0': up connection dummy0, 6f158c91-f2ae-4712-a07a-1082514b57f4 (not-active)\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'dummy0': add connection dummy0, 6f158c91-f2ae-4712-a07a-1082514b57f4", "[004] #0, state:up persistent_state:present, 'dummy0': up connection dummy0, 6f158c91-f2ae-4712-a07a-1082514b57f4 (not-active)" ] } } TASK [asserts] ***************************************************************** task path: /tmp/tmp0448nu9w/tests/network/playbooks/tasks/run_test.yml:35 Wednesday 03 August 2022 17:08:33 +0000 (0:00:00.047) 0:00:12.453 ****** included: /tmp/tmp0448nu9w/tests/network/playbooks/tasks/assert_profile_present.yml for /cache/rhel-7.qcow2 => (item=tasks/assert_profile_present.yml) included: /tmp/tmp0448nu9w/tests/network/playbooks/tasks/assert_device_present.yml for /cache/rhel-7.qcow2 => (item=tasks/assert_device_present.yml) TASK [include_tasks] *********************************************************** task path: /tmp/tmp0448nu9w/tests/network/playbooks/tasks/assert_profile_present.yml:3 Wednesday 03 August 2022 17:08:33 +0000 (0:00:00.066) 0:00:12.520 ****** included: /tmp/tmp0448nu9w/tests/network/playbooks/tasks/get_profile_stat.yml for /cache/rhel-7.qcow2 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/tmp0448nu9w/tests/network/playbooks/tasks/get_profile_stat.yml:3 Wednesday 03 August 2022 17:08:33 +0000 (0:00:00.056) 0:00:12.576 ****** ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false }, "changed": false } TASK [stat profile file] ******************************************************* task path: /tmp/tmp0448nu9w/tests/network/playbooks/tasks/get_profile_stat.yml:8 Wednesday 03 August 2022 17:08:33 +0000 (0:00:00.044) 0:00:12.621 ****** ok: [/cache/rhel-7.qcow2] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/tmp0448nu9w/tests/network/playbooks/tasks/get_profile_stat.yml:16 Wednesday 03 August 2022 17:08:34 +0000 (0:00:00.303) 0:00:12.924 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/tmp0448nu9w/tests/network/playbooks/tasks/get_profile_stat.yml:24 Wednesday 03 August 2022 17:08:34 +0000 (0:00:00.036) 0:00:12.960 ****** ok: [/cache/rhel-7.qcow2] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep dummy0 | grep /etc", "delta": "0:00:00.022059", "end": "2022-08-03 13:08:34.348251", "rc": 0, "start": "2022-08-03 13:08:34.326192" } STDOUT: dummy0 /etc/NetworkManager/system-connections/dummy0 TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /tmp/tmp0448nu9w/tests/network/playbooks/tasks/get_profile_stat.yml:33 Wednesday 03 August 2022 17:08:34 +0000 (0:00:00.332) 0:00:13.293 ****** ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true, "lsr_net_profile_exists": true }, "changed": false } TASK [Get the ansible_managed comment in ifcfg-dummy0] ************************* task path: /tmp/tmp0448nu9w/tests/network/playbooks/tasks/get_profile_stat.yml:43 Wednesday 03 August 2022 17:08:34 +0000 (0:00:00.141) 0:00:13.435 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-dummy0] ********************** task path: /tmp/tmp0448nu9w/tests/network/playbooks/tasks/get_profile_stat.yml:49 Wednesday 03 August 2022 17:08:34 +0000 (0:00:00.039) 0:00:13.475 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert that profile 'dummy0' is present] ********************************* task path: /tmp/tmp0448nu9w/tests/network/playbooks/tasks/assert_profile_present.yml:4 Wednesday 03 August 2022 17:08:34 +0000 (0:00:00.041) 0:00:13.517 ****** ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [assert that ansible managed comment in 'dummy0' is present] ************** task path: /tmp/tmp0448nu9w/tests/network/playbooks/tasks/assert_profile_present.yml:9 Wednesday 03 August 2022 17:08:34 +0000 (0:00:00.046) 0:00:13.564 ****** ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [include_tasks] *********************************************************** task path: /tmp/tmp0448nu9w/tests/network/playbooks/tasks/assert_device_present.yml:3 Wednesday 03 August 2022 17:08:34 +0000 (0:00:00.048) 0:00:13.612 ****** included: /tmp/tmp0448nu9w/tests/network/playbooks/tasks/get_interface_stat.yml for /cache/rhel-7.qcow2 TASK [Get stat for interface dummy0] ******************************************* task path: /tmp/tmp0448nu9w/tests/network/playbooks/tasks/get_interface_stat.yml:3 Wednesday 03 August 2022 17:08:34 +0000 (0:00:00.056) 0:00:13.668 ****** ok: [/cache/rhel-7.qcow2] => { "changed": false, "stat": { "atime": 1659546511.795302, "block_size": 4096, "blocks": 0, "ctime": 1659546511.7943017, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 13785, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": true, "isreg": false, "issock": false, "isuid": false, "lnk_source": "/sys/devices/virtual/net/dummy0", "lnk_target": "../../devices/virtual/net/dummy0", "mode": "0777", "mtime": 1659546511.7943017, "nlink": 1, "path": "/sys/class/net/dummy0", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 0, "uid": 0, "wgrp": true, "woth": true, "writeable": true, "wusr": true, "xgrp": true, "xoth": true, "xusr": true } } TASK [assert that interface dummy0 is present] ********************************* task path: /tmp/tmp0448nu9w/tests/network/playbooks/tasks/assert_device_present.yml:4 Wednesday 03 August 2022 17:08:35 +0000 (0:00:00.300) 0:00:13.968 ****** ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [conditional asserts] ***************************************************** task path: /tmp/tmp0448nu9w/tests/network/playbooks/tasks/run_test.yml:41 Wednesday 03 August 2022 17:08:35 +0000 (0:00:00.046) 0:00:14.015 ****** TASK [Success in test 'Create a dummy interface'] ****************************** task path: /tmp/tmp0448nu9w/tests/network/playbooks/tasks/run_test.yml:47 Wednesday 03 August 2022 17:08:35 +0000 (0:00:00.040) 0:00:14.056 ****** ok: [/cache/rhel-7.qcow2] => {} MSG: +++++ Success in test 'Create a dummy interface' +++++ TASK [cleanup] ***************************************************************** task path: /tmp/tmp0448nu9w/tests/network/playbooks/tasks/run_test.yml:66 Wednesday 03 August 2022 17:08:35 +0000 (0:00:00.045) 0:00:14.101 ****** included: /tmp/tmp0448nu9w/tests/network/playbooks/tasks/cleanup_profile+device.yml for /cache/rhel-7.qcow2 => (item=tasks/cleanup_profile+device.yml) TASK [Cleanup profile and device] ********************************************** task path: /tmp/tmp0448nu9w/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Wednesday 03 August 2022 17:08:35 +0000 (0:00:00.058) 0:00:14.159 ****** ok: [/cache/rhel-7.qcow2] => { "changed": false, "cmd": "nmcli con delete dummy0\nnmcli con load /etc/sysconfig/network-scripts/ifcfg-dummy0\nrm -f /etc/sysconfig/network-scripts/ifcfg-dummy0\nip link del dummy0\n", "delta": "0:00:00.053198", "end": "2022-08-03 13:08:35.591848", "rc": 0, "start": "2022-08-03 13:08:35.538650" } STDOUT: Connection 'dummy0' (6f158c91-f2ae-4712-a07a-1082514b57f4) successfully deleted. STDERR: (process:5088): GLib-GIO-WARNING **: 13:08:35.574: gdbusobjectmanagerclient.c:1589: Processing InterfaceRemoved signal for path /org/freedesktop/NetworkManager/ActiveConnection/52 but no object proxy exists Could not load file '/etc/sysconfig/network-scripts/ifcfg-dummy0' META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/rhel-7.qcow2 : ok=53 changed=3 unreachable=0 failed=0 skipped=18 rescued=0 ignored=1 Wednesday 03 August 2022 17:08:35 +0000 (0:00:00.403) 0:00:14.563 ****** =============================================================================== fedora.linux_system_roles.network : Configure networking connection profiles --- 1.73s /tmp/tmp0fvd1p7_/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 set up internal repositories -------------------------------------------- 1.36s /cache/rhel-7_setup.yml:5 ----------------------------------------------------- fedora.linux_system_roles.network : Check which services are running ---- 1.04s /tmp/tmp0fvd1p7_/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 fedora.linux_system_roles.network : Check which packages are installed --- 0.98s /tmp/tmp0fvd1p7_/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 Gathering Facts --------------------------------------------------------- 0.93s /tmp/tmp0448nu9w/tests/network/tests_dummy_nm.yml:5 --------------------------- Gathering Facts --------------------------------------------------------- 0.73s /tmp/tmp0448nu9w/tests/network/playbooks/tests_dummy.yml:3 -------------------- fedora.linux_system_roles.network : Enable and start NetworkManager ----- 0.65s /tmp/tmp0fvd1p7_/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:69 Enable EPEL 7 ----------------------------------------------------------- 0.49s /tmp/tmp0448nu9w/tests/network/tasks/enable_epel.yml:11 ----------------------- fedora.linux_system_roles.network : Ensure ansible_facts used by role are present --- 0.45s /tmp/tmp0fvd1p7_/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Get stats of system files ----------------------------------------------- 0.43s /tmp/tmp0448nu9w/tests/network/_backup.yml:6 ---------------------------------- fedora.linux_system_roles.network : Re-test connectivity ---------------- 0.43s /tmp/tmp0fvd1p7_/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Back up system files ---------------------------------------------------- 0.40s /tmp/tmp0448nu9w/tests/network/_backup.yml:19 --------------------------------- Cleanup profile and device ---------------------------------------------- 0.40s /tmp/tmp0448nu9w/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 --- Get NM profile info ----------------------------------------------------- 0.33s /tmp/tmp0448nu9w/tests/network/playbooks/tasks/get_profile_stat.yml:24 -------- Get stat for interface dummy0 ------------------------------------------- 0.33s /tmp/tmp0448nu9w/tests/network/playbooks/tasks/get_interface_stat.yml:3 ------- Create EPEL 7 ----------------------------------------------------------- 0.31s /tmp/tmp0448nu9w/tests/network/tasks/enable_epel.yml:4 ------------------------ stat profile file ------------------------------------------------------- 0.30s /tmp/tmp0448nu9w/tests/network/playbooks/tasks/get_profile_stat.yml:8 --------- remove test interface if necessary -------------------------------------- 0.30s /tmp/tmp0448nu9w/tests/network/playbooks/tasks/delete_interface.yml:3 --------- Get stat for interface dummy0 ------------------------------------------- 0.30s /tmp/tmp0448nu9w/tests/network/playbooks/tasks/get_interface_stat.yml:3 ------- Gather current interface info ------------------------------------------- 0.30s /tmp/tmp0448nu9w/tests/network/playbooks/tasks/get_current_interfaces.yml:3 --- PLAYBOOK: _restore.yml ********************************************************* 1 plays in /tmp/tmp0448nu9w/tests/network/_restore.yml PLAY [all] ********************************************************************* META: ran handlers TASK [Restore system files] **************************************************** task path: /tmp/tmp0448nu9w/tests/network/_restore.yml:4 Wednesday 03 August 2022 17:08:35 +0000 (0:00:00.039) 0:00:14.602 ****** changed: [/cache/rhel-7.qcow2] => { "changed": true, "cmd": "(cd /; tar -xf /tmp/network.backup.tar)", "delta": "0:00:00.008139", "end": "2022-08-03 13:08:35.968501", "rc": 0, "start": "2022-08-03 13:08:35.960362" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/rhel-7.qcow2 : ok=54 changed=4 unreachable=0 failed=0 skipped=18 rescued=0 ignored=1 Wednesday 03 August 2022 17:08:36 +0000 (0:00:00.359) 0:00:14.961 ****** =============================================================================== fedora.linux_system_roles.network : Configure networking connection profiles --- 1.73s /tmp/tmp0fvd1p7_/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 set up internal repositories -------------------------------------------- 1.36s /cache/rhel-7_setup.yml:5 ----------------------------------------------------- fedora.linux_system_roles.network : Check which services are running ---- 1.04s /tmp/tmp0fvd1p7_/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 fedora.linux_system_roles.network : Check which packages are installed --- 0.98s /tmp/tmp0fvd1p7_/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 Gathering Facts --------------------------------------------------------- 0.93s /tmp/tmp0448nu9w/tests/network/tests_dummy_nm.yml:5 --------------------------- Gathering Facts --------------------------------------------------------- 0.73s /tmp/tmp0448nu9w/tests/network/playbooks/tests_dummy.yml:3 -------------------- fedora.linux_system_roles.network : Enable and start NetworkManager ----- 0.65s /tmp/tmp0fvd1p7_/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:69 Enable EPEL 7 ----------------------------------------------------------- 0.49s /tmp/tmp0448nu9w/tests/network/tasks/enable_epel.yml:11 ----------------------- fedora.linux_system_roles.network : Ensure ansible_facts used by role are present --- 0.45s /tmp/tmp0fvd1p7_/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Get stats of system files ----------------------------------------------- 0.43s /tmp/tmp0448nu9w/tests/network/_backup.yml:6 ---------------------------------- fedora.linux_system_roles.network : Re-test connectivity ---------------- 0.43s /tmp/tmp0fvd1p7_/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Back up system files ---------------------------------------------------- 0.40s /tmp/tmp0448nu9w/tests/network/_backup.yml:19 --------------------------------- Cleanup profile and device ---------------------------------------------- 0.40s /tmp/tmp0448nu9w/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 --- Restore system files ---------------------------------------------------- 0.36s /tmp/tmp0448nu9w/tests/network/_restore.yml:4 --------------------------------- Get NM profile info ----------------------------------------------------- 0.33s /tmp/tmp0448nu9w/tests/network/playbooks/tasks/get_profile_stat.yml:24 -------- Get stat for interface dummy0 ------------------------------------------- 0.33s /tmp/tmp0448nu9w/tests/network/playbooks/tasks/get_interface_stat.yml:3 ------- Create EPEL 7 ----------------------------------------------------------- 0.31s /tmp/tmp0448nu9w/tests/network/tasks/enable_epel.yml:4 ------------------------ stat profile file ------------------------------------------------------- 0.30s /tmp/tmp0448nu9w/tests/network/playbooks/tasks/get_profile_stat.yml:8 --------- remove test interface if necessary -------------------------------------- 0.30s /tmp/tmp0448nu9w/tests/network/playbooks/tasks/delete_interface.yml:3 --------- Get stat for interface dummy0 ------------------------------------------- 0.30s /tmp/tmp0448nu9w/tests/network/playbooks/tasks/get_interface_stat.yml:3 -------