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:54:48 +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:54:49 +0000 (0:00:01.333) 0:00:01.351 ****** =============================================================================== set up internal repositories -------------------------------------------- 1.33s /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:54:49 +0000 (0:00:00.014) 0:00:01.366 ****** ok: [/cache/rhel-7.qcow2] => (item=/etc/resolv.conf) => { "ansible_loop_var": "item", "changed": false, "item": "/etc/resolv.conf", "stat": { "atime": 1659545688.1768246, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "fba82b5b78ea37322e584bf452f6f8e163f0869b", "ctime": 1659545688.1768246, "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": "624082612", "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:54:50 +0000 (0:00:00.430) 0:00:01.796 ****** [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': '624082612', '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': 1659545688.1768246, 'isdir': False, 'ctime': 1659545688.1768246, '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": 1659545688.1768246, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "fba82b5b78ea37322e584bf452f6f8e163f0869b", "ctime": 1659545688.1768246, "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": "624082612", "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:54:50 +0000 (0:00:00.035) 0:00:01.831 ****** 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.004445", "end": "2022-08-03 12:54:50.974669", "rc": 0, "start": "2022-08-03 12:54:50.970224" } 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:54:50 +0000 (0:00:00.377) 0:00:02.208 ****** =============================================================================== set up internal repositories -------------------------------------------- 1.33s /cache/rhel-7_setup.yml:5 ----------------------------------------------------- Get stats of system files ----------------------------------------------- 0.43s /tmp/tmpq0_9gvwx/tests/_backup.yml:6 ------------------------------------------ Back up system files ---------------------------------------------------- 0.38s /tmp/tmpq0_9gvwx/tests/_backup.yml:19 ----------------------------------------- Check if system files exist --------------------------------------------- 0.04s /tmp/tmpq0_9gvwx/tests/_backup.yml:13 ----------------------------------------- PLAYBOOK: tests_team_nm.yml **************************************************** 2 plays in /tmp/tmpq0_9gvwx/tests/tests_team_nm.yml PLAY [Run playbook 'playbooks/tests_team.yml' with nm as provider] ************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpq0_9gvwx/tests/tests_team_nm.yml:5 Wednesday 03 August 2022 16:54:50 +0000 (0:00:00.011) 0:00:02.220 ****** ok: [/cache/rhel-7.qcow2] META: ran handlers TASK [include_tasks] *********************************************************** task path: /tmp/tmpq0_9gvwx/tests/tests_team_nm.yml:8 Wednesday 03 August 2022 16:54:51 +0000 (0:00:00.937) 0:00:03.157 ****** 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:54:51 +0000 (0:00:00.024) 0:00:03.182 ****** 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:54:51 +0000 (0:00:00.018) 0:00:03.201 ****** 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:54:51 +0000 (0:00:00.025) 0:00:03.226 ****** 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:54:51 +0000 (0:00:00.282) 0:00:03.509 ****** changed: [/cache/rhel-7.qcow2] => { "changed": true, "cmd": [ "yum-config-manager", "--enable", "epel" ], "delta": "0:00:00.181978", "end": "2022-08-03 12:54:52.741324", "rc": 0, "start": "2022-08-03 12:54:52.559346" } 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:54:52 +0000 (0:00:00.465) 0:00:03.974 ****** 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:54:52 +0000 (0:00:00.020) 0:00:03.994 ****** 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_team_nm.yml:9 Wednesday 03 August 2022 16:54:52 +0000 (0:00:00.018) 0:00:04.012 ****** 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_team.yml:3 Wednesday 03 August 2022 16:54:52 +0000 (0:00:00.041) 0:00:04.054 ****** ok: [/cache/rhel-7.qcow2] META: ran handlers TASK [Show playbook name] ****************************************************** task path: /tmp/tmpq0_9gvwx/tests/playbooks/tests_team.yml:10 Wednesday 03 August 2022 16:54:53 +0000 (0:00:00.736) 0:00:04.791 ****** ok: [/cache/rhel-7.qcow2] => {} MSG: this is: playbooks/tests_team.yml TASK [include_tasks] *********************************************************** task path: /tmp/tmpq0_9gvwx/tests/playbooks/tests_team.yml:17 Wednesday 03 August 2022 16:54:53 +0000 (0:00:00.032) 0:00:04.823 ****** included: /tmp/tmpq0_9gvwx/tests/playbooks/tasks/run_test.yml for /cache/rhel-7.qcow2 TASK [TEST: Create a team interface without any port attached] ***************** task path: /tmp/tmpq0_9gvwx/tests/playbooks/tasks/run_test.yml:5 Wednesday 03 August 2022 16:54:53 +0000 (0:00:00.035) 0:00:04.859 ****** ok: [/cache/rhel-7.qcow2] => {} MSG: ########## Create a team interface without any port attached ########## TASK [Show item] *************************************************************** task path: /tmp/tmpq0_9gvwx/tests/playbooks/tasks/run_test.yml:9 Wednesday 03 August 2022 16:54:53 +0000 (0:00:00.031) 0:00:04.891 ****** ok: [/cache/rhel-7.qcow2] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "Create a team interface without any port attached" } 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_team_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:54:53 +0000 (0:00:00.136) 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:54:53 +0000 (0:00:00.033) 0:00:05.060 ****** 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:54:53 +0000 (0:00:00.029) 0:00:05.090 ****** ok: [/cache/rhel-7.qcow2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003781", "end": "2022-08-03 12:54:54.138493", "rc": 0, "start": "2022-08-03 12:54:54.134712" } STDOUT: bond0 bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/tmpq0_9gvwx/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 03 August 2022 16:54:53 +0000 (0:00:00.278) 0:00:05.368 ****** ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/tmpq0_9gvwx/tests/playbooks/tasks/show_interfaces.yml:4 Wednesday 03 August 2022 16:54:53 +0000 (0:00:00.031) 0:00:05.399 ****** ok: [/cache/rhel-7.qcow2] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [setup] ******************************************************************* task path: /tmp/tmpq0_9gvwx/tests/playbooks/tasks/run_test.yml:23 Wednesday 03 August 2022 16:54:53 +0000 (0:00:00.029) 0:00:05.429 ****** 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:54:53 +0000 (0:00:00.041) 0:00:05.470 ****** fatal: [/cache/rhel-7.qcow2]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "team0" ], "delta": "0:00:00.012022", "end": "2022-08-03 12:54:54.530915", "rc": 1, "start": "2022-08-03 12:54:54.518893" } STDERR: Cannot find device "team0" 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:54:54 +0000 (0:00:00.290) 0:00:05.761 ****** included: /tmp/tmpq0_9gvwx/tests/playbooks/tasks/get_interface_stat.yml for /cache/rhel-7.qcow2 TASK [Get stat for interface team0] ******************************************** task path: /tmp/tmpq0_9gvwx/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 03 August 2022 16:54:54 +0000 (0:00:00.031) 0:00:05.792 ****** ok: [/cache/rhel-7.qcow2] => { "changed": false, "stat": { "exists": false } } TASK [assert that interface team0 is absent] *********************************** task path: /tmp/tmpq0_9gvwx/tests/playbooks/tasks/assert_device_absent.yml:4 Wednesday 03 August 2022 16:54:54 +0000 (0:00:00.277) 0:00:06.069 ****** 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:54:54 +0000 (0:00:00.032) 0:00:06.101 ****** included: /tmp/tmpq0_9gvwx/tests/playbooks/tasks/create_team_profile.yml for /cache/rhel-7.qcow2 => (item=tasks/create_team_profile.yml) TASK [Include network role] **************************************************** task path: /tmp/tmpq0_9gvwx/tests/playbooks/tasks/create_team_profile.yml:3 Wednesday 03 August 2022 16:54:54 +0000 (0:00:00.037) 0:00:06.139 ****** 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:54:54 +0000 (0:00:00.044) 0:00:06.183 ****** 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:54:54 +0000 (0:00:00.036) 0:00:06.220 ****** 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:54:55 +0000 (0:00:00.412) 0:00:06.633 ****** 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:54:56 +0000 (0:00:00.997) 0:00:07.630 ****** 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:54:57 +0000 (0:00:00.940) 0:00:08.570 ****** 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:54:57 +0000 (0:00:00.043) 0:00:08.614 ****** 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:54:57 +0000 (0:00:00.035) 0:00:08.649 ****** 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:54:57 +0000 (0:00:00.036) 0:00:08.686 ****** 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:54:57 +0000 (0:00:00.069) 0:00:08.755 ****** 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:54:57 +0000 (0:00:00.059) 0:00:08.815 ****** 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:54:57 +0000 (0:00:00.037) 0:00:08.852 ****** 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:54:57 +0000 (0:00:00.054) 0:00:08.907 ****** 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:54:58 +0000 (0:00:00.674) 0:00:09.581 ****** 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:54:58 +0000 (0:00:00.050) 0:00:09.632 ****** 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:54:58 +0000 (0:00:00.031) 0:00:09.664 ****** 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:54:58 +0000 (0:00:00.031) 0:00:09.696 ****** 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": { "auto6": false, "dhcp4": false }, "name": "team0", "persistent_state": "present", "type": "team" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'team0': add connection team0, 8a121297-e773-4d5a-ae1d-32593a6264c3 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:54:58 +0000 (0:00:00.686) 0:00:10.382 ****** 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:54:58 +0000 (0:00:00.036) 0:00:10.418 ****** ok: [/cache/rhel-7.qcow2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'team0': add connection team0, 8a121297-e773-4d5a-ae1d-32593a6264c3" ] } 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:54:58 +0000 (0:00:00.043) 0:00:10.462 ****** ok: [/cache/rhel-7.qcow2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "team0", "persistent_state": "present", "type": "team" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'team0': add connection team0, 8a121297-e773-4d5a-ae1d-32593a6264c3\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'team0': add connection team0, 8a121297-e773-4d5a-ae1d-32593a6264c3" ] } } 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:54:58 +0000 (0:00:00.041) 0:00:10.503 ****** 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:54:58 +0000 (0:00:00.035) 0:00:10.539 ****** 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_team_profile.yml:14 Wednesday 03 August 2022 16:54:59 +0000 (0:00:00.438) 0:00:10.978 ****** ok: [/cache/rhel-7.qcow2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "team0", "persistent_state": "present", "type": "team" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'team0': add connection team0, 8a121297-e773-4d5a-ae1d-32593a6264c3\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'team0': add connection team0, 8a121297-e773-4d5a-ae1d-32593a6264c3" ] } } TASK [asserts] ***************************************************************** task path: /tmp/tmpq0_9gvwx/tests/playbooks/tasks/run_test.yml:35 Wednesday 03 August 2022 16:54:59 +0000 (0:00:00.041) 0:00:11.020 ****** 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:54:59 +0000 (0:00:00.068) 0:00:11.088 ****** 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:54:59 +0000 (0:00:00.064) 0:00:11.153 ****** 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:54:59 +0000 (0:00:00.041) 0:00:11.194 ****** ok: [/cache/rhel-7.qcow2] => { "changed": false, "stat": { "atime": 1659545699.0918245, "block_size": 4096, "blocks": 8, "ctime": 1659545699.0908246, "dev": 64769, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 8521525, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1659545699.0908246, "nlink": 1, "path": "/etc/sysconfig/network-scripts/ifcfg-team0", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 139, "uid": 0, "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": 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:54:59 +0000 (0:00:00.293) 0:00:11.488 ****** ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/tmpq0_9gvwx/tests/playbooks/tasks/get_profile_stat.yml:24 Wednesday 03 August 2022 16:54:59 +0000 (0:00:00.043) 0:00:11.532 ****** ok: [/cache/rhel-7.qcow2] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep team0 | grep /etc", "delta": "0:00:00.022831", "end": "2022-08-03 12:55:00.606507", "rc": 0, "start": "2022-08-03 12:55:00.583676" } STDOUT: team0 /etc/sysconfig/network-scripts/ifcfg-team0 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:55:00 +0000 (0:00:00.318) 0:00:11.850 ****** 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-team0] ************************** task path: /tmp/tmpq0_9gvwx/tests/playbooks/tasks/get_profile_stat.yml:43 Wednesday 03 August 2022 16:55:00 +0000 (0:00:00.044) 0:00:11.895 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-team0] *********************** task path: /tmp/tmpq0_9gvwx/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 03 August 2022 16:55:00 +0000 (0:00:00.034) 0:00:11.929 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert that profile 'team0' is present] ********************************** task path: /tmp/tmpq0_9gvwx/tests/playbooks/tasks/assert_profile_present.yml:4 Wednesday 03 August 2022 16:55:00 +0000 (0:00:00.034) 0:00:11.963 ****** ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [assert that ansible managed comment in 'team0' is present] *************** task path: /tmp/tmpq0_9gvwx/tests/playbooks/tasks/assert_profile_present.yml:9 Wednesday 03 August 2022 16:55:00 +0000 (0:00:00.045) 0:00:12.009 ****** 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:55:00 +0000 (0:00:00.044) 0:00:12.053 ****** included: /tmp/tmpq0_9gvwx/tests/playbooks/tasks/get_interface_stat.yml for /cache/rhel-7.qcow2 TASK [Get stat for interface team0] ******************************************** task path: /tmp/tmpq0_9gvwx/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 03 August 2022 16:55:00 +0000 (0:00:00.052) 0:00:12.105 ****** ok: [/cache/rhel-7.qcow2] => { "changed": false, "stat": { "atime": 1659545699.1008246, "block_size": 4096, "blocks": 0, "ctime": 1659545699.1008246, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 13834, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": true, "isreg": false, "issock": false, "isuid": false, "lnk_source": "/sys/devices/virtual/net/team0", "lnk_target": "../../devices/virtual/net/team0", "mode": "0777", "mtime": 1659545699.1008246, "nlink": 1, "path": "/sys/class/net/team0", "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 team0 is present] ********************************** task path: /tmp/tmpq0_9gvwx/tests/playbooks/tasks/assert_device_present.yml:4 Wednesday 03 August 2022 16:55:00 +0000 (0:00:00.332) 0:00:12.438 ****** 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:55:00 +0000 (0:00:00.044) 0:00:12.482 ****** TASK [Success in test 'Create a team interface without any port attached'] ***** task path: /tmp/tmpq0_9gvwx/tests/playbooks/tasks/run_test.yml:47 Wednesday 03 August 2022 16:55:00 +0000 (0:00:00.041) 0:00:12.523 ****** ok: [/cache/rhel-7.qcow2] => {} MSG: +++++ Success in test 'Create a team interface without any port attached' +++++ TASK [cleanup] ***************************************************************** task path: /tmp/tmpq0_9gvwx/tests/playbooks/tasks/run_test.yml:66 Wednesday 03 August 2022 16:55:01 +0000 (0:00:00.048) 0:00:12.572 ****** 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:55:01 +0000 (0:00:00.064) 0:00:12.636 ****** fatal: [/cache/rhel-7.qcow2]: FAILED! => { "changed": false, "cmd": "nmcli con delete team0\nnmcli con load /etc/sysconfig/network-scripts/ifcfg-team0\nrm -f /etc/sysconfig/network-scripts/ifcfg-team0\nip link del team0\n", "delta": "0:00:00.067108", "end": "2022-08-03 12:55:01.754466", "rc": 1, "start": "2022-08-03 12:55:01.687358" } STDOUT: Connection 'team0' (8a121297-e773-4d5a-ae1d-32593a6264c3) successfully deleted. STDERR: (process:12629): GLib-GIO-WARNING **: 12:55:01.738: gdbusobjectmanagerclient.c:1589: Processing InterfaceRemoved signal for path /org/freedesktop/NetworkManager/ActiveConnection/74 but no object proxy exists Could not load file '/etc/sysconfig/network-scripts/ifcfg-team0' Cannot find device "team0" MSG: non-zero return code ...ignoring META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/rhel-7.qcow2 : ok=54 changed=3 unreachable=0 failed=0 skipped=17 rescued=0 ignored=2 Wednesday 03 August 2022 16:55:01 +0000 (0:00:00.381) 0:00:13.018 ****** =============================================================================== set up internal repositories -------------------------------------------- 1.33s /cache/rhel-7_setup.yml:5 ----------------------------------------------------- linux-system-roles.network : Check which services are running ----------- 1.00s /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.94s /tmp/tmpq0_9gvwx/tests/tests_team_nm.yml:5 ------------------------------------ Gathering Facts --------------------------------------------------------- 0.74s /tmp/tmpq0_9gvwx/tests/playbooks/tests_team.yml:3 ----------------------------- linux-system-roles.network : Configure networking connection profiles --- 0.69s /tmp/tmpq0_9gvwx/tests/roles/linux-system-roles.network/tasks/main.yml:116 ---- linux-system-roles.network : Enable and start NetworkManager ------------ 0.67s /tmp/tmpq0_9gvwx/tests/roles/linux-system-roles.network/tasks/main.yml:79 ----- Enable EPEL 7 ----------------------------------------------------------- 0.47s /tmp/tmpq0_9gvwx/tests/tasks/enable_epel.yml:11 ------------------------------- linux-system-roles.network : Re-test connectivity ----------------------- 0.44s /tmp/tmpq0_9gvwx/tests/roles/linux-system-roles.network/tasks/main.yml:149 ---- Get stats of system files ----------------------------------------------- 0.43s /tmp/tmpq0_9gvwx/tests/_backup.yml:6 ------------------------------------------ linux-system-roles.network : Ensure ansible_facts used by role are present --- 0.41s /tmp/tmpq0_9gvwx/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 - Cleanup profile and device ---------------------------------------------- 0.38s /tmp/tmpq0_9gvwx/tests/playbooks/tasks/cleanup_profile+device.yml:3 ----------- Back up system files ---------------------------------------------------- 0.38s /tmp/tmpq0_9gvwx/tests/_backup.yml:19 ----------------------------------------- Get stat for interface team0 -------------------------------------------- 0.33s /tmp/tmpq0_9gvwx/tests/playbooks/tasks/get_interface_stat.yml:3 --------------- Get NM profile info ----------------------------------------------------- 0.32s /tmp/tmpq0_9gvwx/tests/playbooks/tasks/get_profile_stat.yml:24 ---------------- stat profile file ------------------------------------------------------- 0.29s /tmp/tmpq0_9gvwx/tests/playbooks/tasks/get_profile_stat.yml:8 ----------------- remove test interface if necessary -------------------------------------- 0.29s /tmp/tmpq0_9gvwx/tests/playbooks/tasks/delete_interface.yml:3 ----------------- Create EPEL 7 ----------------------------------------------------------- 0.28s /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 team0 -------------------------------------------- 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:55:01 +0000 (0:00:00.039) 0:00:13.057 ****** changed: [/cache/rhel-7.qcow2] => { "changed": true, "cmd": "(cd /; tar -xf /tmp/network.backup.tar)", "delta": "0:00:00.006468", "end": "2022-08-03 12:55:02.117661", "rc": 0, "start": "2022-08-03 12:55:02.111193" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/rhel-7.qcow2 : ok=55 changed=4 unreachable=0 failed=0 skipped=17 rescued=0 ignored=2 Wednesday 03 August 2022 16:55:01 +0000 (0:00:00.321) 0:00:13.378 ****** =============================================================================== set up internal repositories -------------------------------------------- 1.33s /cache/rhel-7_setup.yml:5 ----------------------------------------------------- linux-system-roles.network : Check which services are running ----------- 1.00s /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.94s /tmp/tmpq0_9gvwx/tests/tests_team_nm.yml:5 ------------------------------------ Gathering Facts --------------------------------------------------------- 0.74s /tmp/tmpq0_9gvwx/tests/playbooks/tests_team.yml:3 ----------------------------- linux-system-roles.network : Configure networking connection profiles --- 0.69s /tmp/tmpq0_9gvwx/tests/roles/linux-system-roles.network/tasks/main.yml:116 ---- linux-system-roles.network : Enable and start NetworkManager ------------ 0.67s /tmp/tmpq0_9gvwx/tests/roles/linux-system-roles.network/tasks/main.yml:79 ----- Enable EPEL 7 ----------------------------------------------------------- 0.47s /tmp/tmpq0_9gvwx/tests/tasks/enable_epel.yml:11 ------------------------------- linux-system-roles.network : Re-test connectivity ----------------------- 0.44s /tmp/tmpq0_9gvwx/tests/roles/linux-system-roles.network/tasks/main.yml:149 ---- Get stats of system files ----------------------------------------------- 0.43s /tmp/tmpq0_9gvwx/tests/_backup.yml:6 ------------------------------------------ linux-system-roles.network : Ensure ansible_facts used by role are present --- 0.41s /tmp/tmpq0_9gvwx/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 - Cleanup profile and device ---------------------------------------------- 0.38s /tmp/tmpq0_9gvwx/tests/playbooks/tasks/cleanup_profile+device.yml:3 ----------- Back up system files ---------------------------------------------------- 0.38s /tmp/tmpq0_9gvwx/tests/_backup.yml:19 ----------------------------------------- Get stat for interface team0 -------------------------------------------- 0.33s /tmp/tmpq0_9gvwx/tests/playbooks/tasks/get_interface_stat.yml:3 --------------- Restore system files ---------------------------------------------------- 0.32s /tmp/tmpq0_9gvwx/tests/_restore.yml:4 ----------------------------------------- Get NM profile info ----------------------------------------------------- 0.32s /tmp/tmpq0_9gvwx/tests/playbooks/tasks/get_profile_stat.yml:24 ---------------- stat profile file ------------------------------------------------------- 0.29s /tmp/tmpq0_9gvwx/tests/playbooks/tasks/get_profile_stat.yml:8 ----------------- remove test interface if necessary -------------------------------------- 0.29s /tmp/tmpq0_9gvwx/tests/playbooks/tasks/delete_interface.yml:3 ----------------- Create EPEL 7 ----------------------------------------------------------- 0.28s /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:20:08 +0000 (0:00:00.018) 0:00:00.018 ****** 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:20:09 +0000 (0:00:01.358) 0:00:01.376 ****** =============================================================================== 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:20:10 +0000 (0:00:00.035) 0:00:01.411 ****** ok: [/cache/rhel-7.qcow2] => (item=/etc/resolv.conf) => { "ansible_loop_var": "item", "changed": false, "item": "/etc/resolv.conf", "stat": { "atime": 1659547207.887302, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "fba82b5b78ea37322e584bf452f6f8e163f0869b", "ctime": 1659547207.887302, "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": "624082613", "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:20:10 +0000 (0:00:00.393) 0:00:01.804 ****** [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': '624082613', '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': 1659547207.887302, 'isdir': False, 'ctime': 1659547207.887302, '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": 1659547207.887302, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "fba82b5b78ea37322e584bf452f6f8e163f0869b", "ctime": 1659547207.887302, "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": "624082613", "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:20:10 +0000 (0:00:00.034) 0:00:01.839 ****** 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.004551", "end": "2022-08-03 13:20:10.742140", "rc": 0, "start": "2022-08-03 13:20:10.737589" } 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:20:10 +0000 (0:00:00.394) 0:00:02.234 ****** =============================================================================== set up internal repositories -------------------------------------------- 1.36s /cache/rhel-7_setup.yml:5 ----------------------------------------------------- Back up system files ---------------------------------------------------- 0.39s /tmp/tmp0448nu9w/tests/network/_backup.yml:19 --------------------------------- Get stats of system files ----------------------------------------------- 0.39s /tmp/tmp0448nu9w/tests/network/_backup.yml:6 ---------------------------------- Check if system files exist --------------------------------------------- 0.03s /tmp/tmp0448nu9w/tests/network/_backup.yml:13 --------------------------------- PLAYBOOK: tests_team_nm.yml **************************************************** 2 plays in /tmp/tmp0448nu9w/tests/network/tests_team_nm.yml PLAY [Run playbook 'playbooks/tests_team.yml' with nm as provider] ************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmp0448nu9w/tests/network/tests_team_nm.yml:5 Wednesday 03 August 2022 17:20:10 +0000 (0:00:00.011) 0:00:02.246 ****** ok: [/cache/rhel-7.qcow2] META: ran handlers TASK [include_tasks] *********************************************************** task path: /tmp/tmp0448nu9w/tests/network/tests_team_nm.yml:8 Wednesday 03 August 2022 17:20:11 +0000 (0:00:00.955) 0:00:03.201 ****** 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:20:11 +0000 (0:00:00.027) 0:00:03.228 ****** 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:20:11 +0000 (0:00:00.021) 0:00:03.250 ****** 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:20:11 +0000 (0:00:00.029) 0:00:03.280 ****** 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:20:12 +0000 (0:00:00.303) 0:00:03.584 ****** changed: [/cache/rhel-7.qcow2] => { "changed": true, "cmd": [ "yum-config-manager", "--enable", "epel" ], "delta": "0:00:00.186324", "end": "2022-08-03 13:20:12.582284", "rc": 0, "start": "2022-08-03 13:20:12.395960" } 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:20:12 +0000 (0:00:00.486) 0:00:04.070 ****** 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:20:12 +0000 (0:00:00.022) 0:00:04.092 ****** 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_team_nm.yml:9 Wednesday 03 August 2022 17:20:12 +0000 (0:00:00.018) 0:00:04.111 ****** 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_team.yml:3 Wednesday 03 August 2022 17:20:12 +0000 (0:00:00.044) 0:00:04.156 ****** ok: [/cache/rhel-7.qcow2] META: ran handlers TASK [Show playbook name] ****************************************************** task path: /tmp/tmp0448nu9w/tests/network/playbooks/tests_team.yml:10 Wednesday 03 August 2022 17:20:13 +0000 (0:00:00.709) 0:00:04.865 ****** ok: [/cache/rhel-7.qcow2] => {} MSG: this is: playbooks/tests_team.yml TASK [include_tasks] *********************************************************** task path: /tmp/tmp0448nu9w/tests/network/playbooks/tests_team.yml:17 Wednesday 03 August 2022 17:20:13 +0000 (0:00:00.032) 0:00:04.898 ****** included: /tmp/tmp0448nu9w/tests/network/playbooks/tasks/run_test.yml for /cache/rhel-7.qcow2 TASK [TEST: Create a team interface without any port attached] ***************** task path: /tmp/tmp0448nu9w/tests/network/playbooks/tasks/run_test.yml:5 Wednesday 03 August 2022 17:20:13 +0000 (0:00:00.035) 0:00:04.934 ****** ok: [/cache/rhel-7.qcow2] => {} MSG: ########## Create a team interface without any port attached ########## TASK [Show item] *************************************************************** task path: /tmp/tmp0448nu9w/tests/network/playbooks/tasks/run_test.yml:9 Wednesday 03 August 2022 17:20:13 +0000 (0:00:00.034) 0:00:04.968 ****** ok: [/cache/rhel-7.qcow2] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "Create a team interface without any port attached" } 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_team_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:20:13 +0000 (0:00:00.150) 0:00:05.119 ****** 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:20:13 +0000 (0:00:00.035) 0:00:05.154 ****** 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:20:13 +0000 (0:00:00.032) 0:00:05.187 ****** ok: [/cache/rhel-7.qcow2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003875", "end": "2022-08-03 13:20:14.001443", "rc": 0, "start": "2022-08-03 13:20:13.997568" } STDOUT: bond0 bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/tmp0448nu9w/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 03 August 2022 17:20:14 +0000 (0:00:00.300) 0:00:05.487 ****** ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/tmp0448nu9w/tests/network/playbooks/tasks/show_interfaces.yml:4 Wednesday 03 August 2022 17:20:14 +0000 (0:00:00.035) 0:00:05.522 ****** ok: [/cache/rhel-7.qcow2] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [setup] ******************************************************************* task path: /tmp/tmp0448nu9w/tests/network/playbooks/tasks/run_test.yml:23 Wednesday 03 August 2022 17:20:14 +0000 (0:00:00.033) 0:00:05.556 ****** 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:20:14 +0000 (0:00:00.045) 0:00:05.602 ****** fatal: [/cache/rhel-7.qcow2]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "team0" ], "delta": "0:00:00.012478", "end": "2022-08-03 13:20:14.511951", "rc": 1, "start": "2022-08-03 13:20:14.499473" } STDERR: Cannot find device "team0" 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:20:14 +0000 (0:00:00.396) 0:00:05.999 ****** included: /tmp/tmp0448nu9w/tests/network/playbooks/tasks/get_interface_stat.yml for /cache/rhel-7.qcow2 TASK [Get stat for interface team0] ******************************************** task path: /tmp/tmp0448nu9w/tests/network/playbooks/tasks/get_interface_stat.yml:3 Wednesday 03 August 2022 17:20:14 +0000 (0:00:00.033) 0:00:06.033 ****** ok: [/cache/rhel-7.qcow2] => { "changed": false, "stat": { "exists": false } } TASK [assert that interface team0 is absent] *********************************** task path: /tmp/tmp0448nu9w/tests/network/playbooks/tasks/assert_device_absent.yml:4 Wednesday 03 August 2022 17:20:14 +0000 (0:00:00.298) 0:00:06.332 ****** 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:20:14 +0000 (0:00:00.035) 0:00:06.367 ****** included: /tmp/tmp0448nu9w/tests/network/playbooks/tasks/create_team_profile.yml for /cache/rhel-7.qcow2 => (item=tasks/create_team_profile.yml) TASK [Include network role] **************************************************** task path: /tmp/tmp0448nu9w/tests/network/playbooks/tasks/create_team_profile.yml:3 Wednesday 03 August 2022 17:20:15 +0000 (0:00:00.040) 0:00:06.408 ****** 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:20:15 +0000 (0:00:00.052) 0:00:06.460 ****** 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:20:15 +0000 (0:00:00.068) 0:00:06.528 ****** 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:20:15 +0000 (0:00:00.412) 0:00:06.941 ****** 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:20:16 +0000 (0:00:01.053) 0:00:07.995 ****** 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:20:17 +0000 (0:00:00.999) 0:00:08.995 ****** 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:20:17 +0000 (0:00:00.048) 0:00:09.043 ****** 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:20:17 +0000 (0:00:00.040) 0:00:09.083 ****** 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:20:17 +0000 (0:00:00.042) 0:00:09.126 ****** 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:20:17 +0000 (0:00:00.074) 0:00:09.200 ****** 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:20:17 +0000 (0:00:00.079) 0:00:09.280 ****** 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:20:17 +0000 (0:00:00.041) 0:00:09.321 ****** 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:20:17 +0000 (0:00:00.056) 0:00:09.377 ****** 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:20:18 +0000 (0:00:00.681) 0:00:10.059 ****** 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:20:18 +0000 (0:00:00.053) 0:00:10.113 ****** 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:20:18 +0000 (0:00:00.034) 0:00:10.147 ****** 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:20:18 +0000 (0:00:00.033) 0:00:10.181 ****** changed: [/cache/rhel-7.qcow2] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "team0", "persistent_state": "present", "type": "team" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'team0': add connection team0, d0c6c698-e1bf-4ae9-bb42-b0a1ff20b2ae 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:20:19 +0000 (0:00:00.706) 0:00:10.888 ****** 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:20:19 +0000 (0:00:00.039) 0:00:10.927 ****** ok: [/cache/rhel-7.qcow2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'team0': add connection team0, d0c6c698-e1bf-4ae9-bb42-b0a1ff20b2ae" ] } 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:20:19 +0000 (0:00:00.047) 0:00:10.975 ****** ok: [/cache/rhel-7.qcow2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "team0", "persistent_state": "present", "type": "team" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'team0': add connection team0, d0c6c698-e1bf-4ae9-bb42-b0a1ff20b2ae\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'team0': add connection team0, d0c6c698-e1bf-4ae9-bb42-b0a1ff20b2ae" ] } } 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:20:19 +0000 (0:00:00.050) 0:00:11.026 ****** 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:20:19 +0000 (0:00:00.038) 0:00:11.065 ****** 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_team_profile.yml:14 Wednesday 03 August 2022 17:20:20 +0000 (0:00:00.452) 0:00:11.517 ****** ok: [/cache/rhel-7.qcow2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "team0", "persistent_state": "present", "type": "team" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'team0': add connection team0, d0c6c698-e1bf-4ae9-bb42-b0a1ff20b2ae\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'team0': add connection team0, d0c6c698-e1bf-4ae9-bb42-b0a1ff20b2ae" ] } } TASK [asserts] ***************************************************************** task path: /tmp/tmp0448nu9w/tests/network/playbooks/tasks/run_test.yml:35 Wednesday 03 August 2022 17:20:20 +0000 (0:00:00.047) 0:00:11.564 ****** 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:20:20 +0000 (0:00:00.067) 0:00:11.632 ****** 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:20:20 +0000 (0:00:00.055) 0:00:11.687 ****** 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:20:20 +0000 (0:00:00.040) 0:00:11.728 ****** ok: [/cache/rhel-7.qcow2] => { "changed": false, "stat": { "atime": 1659547219.3403018, "block_size": 4096, "blocks": 8, "ctime": 1659547219.3393018, "dev": 64769, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 8521525, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1659547219.3393018, "nlink": 1, "path": "/etc/sysconfig/network-scripts/ifcfg-team0", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 139, "uid": 0, "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": 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:20:20 +0000 (0:00:00.299) 0:00:12.027 ****** ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/tmp0448nu9w/tests/network/playbooks/tasks/get_profile_stat.yml:24 Wednesday 03 August 2022 17:20:20 +0000 (0:00:00.047) 0:00:12.075 ****** ok: [/cache/rhel-7.qcow2] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep team0 | grep /etc", "delta": "0:00:00.022910", "end": "2022-08-03 13:20:20.901315", "rc": 0, "start": "2022-08-03 13:20:20.878405" } STDOUT: team0 /etc/sysconfig/network-scripts/ifcfg-team0 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:20:21 +0000 (0:00:00.325) 0:00:12.400 ****** 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-team0] ************************** task path: /tmp/tmp0448nu9w/tests/network/playbooks/tasks/get_profile_stat.yml:43 Wednesday 03 August 2022 17:20:21 +0000 (0:00:00.045) 0:00:12.445 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-team0] *********************** task path: /tmp/tmp0448nu9w/tests/network/playbooks/tasks/get_profile_stat.yml:49 Wednesday 03 August 2022 17:20:21 +0000 (0:00:00.035) 0:00:12.481 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert that profile 'team0' is present] ********************************** task path: /tmp/tmp0448nu9w/tests/network/playbooks/tasks/assert_profile_present.yml:4 Wednesday 03 August 2022 17:20:21 +0000 (0:00:00.036) 0:00:12.518 ****** ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [assert that ansible managed comment in 'team0' is present] *************** task path: /tmp/tmp0448nu9w/tests/network/playbooks/tasks/assert_profile_present.yml:9 Wednesday 03 August 2022 17:20:21 +0000 (0:00:00.047) 0:00:12.566 ****** 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:20:21 +0000 (0:00:00.048) 0:00:12.614 ****** included: /tmp/tmp0448nu9w/tests/network/playbooks/tasks/get_interface_stat.yml for /cache/rhel-7.qcow2 TASK [Get stat for interface team0] ******************************************** task path: /tmp/tmp0448nu9w/tests/network/playbooks/tasks/get_interface_stat.yml:3 Wednesday 03 August 2022 17:20:21 +0000 (0:00:00.090) 0:00:12.705 ****** ok: [/cache/rhel-7.qcow2] => { "changed": false, "stat": { "atime": 1659547219.3493018, "block_size": 4096, "blocks": 0, "ctime": 1659547219.348302, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 13834, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": true, "isreg": false, "issock": false, "isuid": false, "lnk_source": "/sys/devices/virtual/net/team0", "lnk_target": "../../devices/virtual/net/team0", "mode": "0777", "mtime": 1659547219.348302, "nlink": 1, "path": "/sys/class/net/team0", "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 team0 is present] ********************************** task path: /tmp/tmp0448nu9w/tests/network/playbooks/tasks/assert_device_present.yml:4 Wednesday 03 August 2022 17:20:21 +0000 (0:00:00.300) 0:00:13.005 ****** 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:20:21 +0000 (0:00:00.050) 0:00:13.055 ****** TASK [Success in test 'Create a team interface without any port attached'] ***** task path: /tmp/tmp0448nu9w/tests/network/playbooks/tasks/run_test.yml:47 Wednesday 03 August 2022 17:20:21 +0000 (0:00:00.042) 0:00:13.098 ****** ok: [/cache/rhel-7.qcow2] => {} MSG: +++++ Success in test 'Create a team interface without any port attached' +++++ TASK [cleanup] ***************************************************************** task path: /tmp/tmp0448nu9w/tests/network/playbooks/tasks/run_test.yml:66 Wednesday 03 August 2022 17:20:21 +0000 (0:00:00.047) 0:00:13.145 ****** 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:20:21 +0000 (0:00:00.063) 0:00:13.208 ****** fatal: [/cache/rhel-7.qcow2]: FAILED! => { "changed": false, "cmd": "nmcli con delete team0\nnmcli con load /etc/sysconfig/network-scripts/ifcfg-team0\nrm -f /etc/sysconfig/network-scripts/ifcfg-team0\nip link del team0\n", "delta": "0:00:00.060278", "end": "2022-08-03 13:20:22.082248", "rc": 1, "start": "2022-08-03 13:20:22.021970" } STDOUT: Connection 'team0' (d0c6c698-e1bf-4ae9-bb42-b0a1ff20b2ae) successfully deleted. STDERR: Could not load file '/etc/sysconfig/network-scripts/ifcfg-team0' Cannot find device "team0" MSG: non-zero return code ...ignoring META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/rhel-7.qcow2 : ok=54 changed=3 unreachable=0 failed=0 skipped=17 rescued=0 ignored=2 Wednesday 03 August 2022 17:20:22 +0000 (0:00:00.408) 0:00:13.616 ****** =============================================================================== set up internal repositories -------------------------------------------- 1.36s /cache/rhel-7_setup.yml:5 ----------------------------------------------------- fedora.linux_system_roles.network : Check which services are running ---- 1.05s /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 --- 1.00s /tmp/tmp0fvd1p7_/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 Gathering Facts --------------------------------------------------------- 0.96s /tmp/tmp0448nu9w/tests/network/tests_team_nm.yml:5 ---------------------------- Gathering Facts --------------------------------------------------------- 0.71s /tmp/tmp0448nu9w/tests/network/playbooks/tests_team.yml:3 --------------------- fedora.linux_system_roles.network : Configure networking connection profiles --- 0.71s /tmp/tmp0fvd1p7_/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 fedora.linux_system_roles.network : Enable and start NetworkManager ----- 0.68s /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 : Re-test connectivity ---------------- 0.45s /tmp/tmp0fvd1p7_/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 fedora.linux_system_roles.network : Ensure ansible_facts used by role are present --- 0.41s /tmp/tmp0fvd1p7_/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Cleanup profile and device ---------------------------------------------- 0.41s /tmp/tmp0448nu9w/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 --- remove test interface if necessary -------------------------------------- 0.40s /tmp/tmp0448nu9w/tests/network/playbooks/tasks/delete_interface.yml:3 --------- Back up system files ---------------------------------------------------- 0.39s /tmp/tmp0448nu9w/tests/network/_backup.yml:19 --------------------------------- Get stats of system files ----------------------------------------------- 0.39s /tmp/tmp0448nu9w/tests/network/_backup.yml:6 ---------------------------------- Get NM profile info ----------------------------------------------------- 0.33s /tmp/tmp0448nu9w/tests/network/playbooks/tasks/get_profile_stat.yml:24 -------- Create EPEL 7 ----------------------------------------------------------- 0.30s /tmp/tmp0448nu9w/tests/network/tasks/enable_epel.yml:4 ------------------------ Get stat for interface team0 -------------------------------------------- 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 --- stat profile file ------------------------------------------------------- 0.30s /tmp/tmp0448nu9w/tests/network/playbooks/tasks/get_profile_stat.yml:8 --------- Get stat for interface team0 -------------------------------------------- 0.30s /tmp/tmp0448nu9w/tests/network/playbooks/tasks/get_interface_stat.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:20:22 +0000 (0:00:00.040) 0:00:13.657 ****** changed: [/cache/rhel-7.qcow2] => { "changed": true, "cmd": "(cd /; tar -xf /tmp/network.backup.tar)", "delta": "0:00:00.006684", "end": "2022-08-03 13:20:22.467524", "rc": 0, "start": "2022-08-03 13:20:22.460840" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/rhel-7.qcow2 : ok=55 changed=4 unreachable=0 failed=0 skipped=17 rescued=0 ignored=2 Wednesday 03 August 2022 17:20:22 +0000 (0:00:00.329) 0:00:13.986 ****** =============================================================================== set up internal repositories -------------------------------------------- 1.36s /cache/rhel-7_setup.yml:5 ----------------------------------------------------- fedora.linux_system_roles.network : Check which services are running ---- 1.05s /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 --- 1.00s /tmp/tmp0fvd1p7_/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 Gathering Facts --------------------------------------------------------- 0.96s /tmp/tmp0448nu9w/tests/network/tests_team_nm.yml:5 ---------------------------- Gathering Facts --------------------------------------------------------- 0.71s /tmp/tmp0448nu9w/tests/network/playbooks/tests_team.yml:3 --------------------- fedora.linux_system_roles.network : Configure networking connection profiles --- 0.71s /tmp/tmp0fvd1p7_/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 fedora.linux_system_roles.network : Enable and start NetworkManager ----- 0.68s /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 : Re-test connectivity ---------------- 0.45s /tmp/tmp0fvd1p7_/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 fedora.linux_system_roles.network : Ensure ansible_facts used by role are present --- 0.41s /tmp/tmp0fvd1p7_/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Cleanup profile and device ---------------------------------------------- 0.41s /tmp/tmp0448nu9w/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 --- remove test interface if necessary -------------------------------------- 0.40s /tmp/tmp0448nu9w/tests/network/playbooks/tasks/delete_interface.yml:3 --------- Back up system files ---------------------------------------------------- 0.39s /tmp/tmp0448nu9w/tests/network/_backup.yml:19 --------------------------------- Get stats of system files ----------------------------------------------- 0.39s /tmp/tmp0448nu9w/tests/network/_backup.yml:6 ---------------------------------- Restore system files ---------------------------------------------------- 0.33s /tmp/tmp0448nu9w/tests/network/_restore.yml:4 --------------------------------- Get NM profile info ----------------------------------------------------- 0.33s /tmp/tmp0448nu9w/tests/network/playbooks/tasks/get_profile_stat.yml:24 -------- Create EPEL 7 ----------------------------------------------------------- 0.30s /tmp/tmp0448nu9w/tests/network/tasks/enable_epel.yml:4 ------------------------ Get stat for interface team0 -------------------------------------------- 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 --- stat profile file ------------------------------------------------------- 0.30s /tmp/tmp0448nu9w/tests/network/playbooks/tasks/get_profile_stat.yml:8 ---------