+ cd /tmp/tmpy3uj9fpm/tests; TEST_SUBJECTS=/cache/rhel-guest-image-6.10-390.x86_64.qcow2 TEST_ARTIFACTS=/tmp/linux-system-role-test-work-pull-linux-system-roles_certificate-66-97e8482-rhel-6-4oxyzj9k/artifacts ansible-playbook -vv --inventory=/usr/share/ansible/inventory/standard-inventory-qcow2 /tmp/tmpy3uj9fpm/_setup.yml /tmp/tmpy3uj9fpm/tests/tests_basic_ipa.yml ansible-playbook 2.8.15 config file = /etc/ansible/ansible.cfg configured module search path = [u'/root/.ansible/plugins/modules', u'/usr/share/ansible/plugins/modules'] ansible python module location = /usr/lib/python2.7/site-packages/ansible executable location = /usr/bin/ansible-playbook python version = 2.7.5 (default, Apr 2 2020, 13:16:51) [GCC 4.8.5 20150623 (Red Hat 4.8.5-39)] Using /etc/ansible/ansible.cfg as config file PLAYBOOK: _setup.yml *********************************************************** 2 plays in /tmp/tmpy3uj9fpm/_setup.yml PLAY [Fail when only localhost is available] *********************************** META: ran handlers TASK [debug] ******************************************************************* task path: /tmp/tmpy3uj9fpm/_setup.yml:5 ok: [/cache/rhel-guest-image-6.10-390.x86_64.qcow2] => { "groups": { "all": [ "/cache/rhel-guest-image-6.10-390.x86_64.qcow2" ], "localhost": [ "/cache/rhel-guest-image-6.10-390.x86_64.qcow2" ], "subjects": [ "/cache/rhel-guest-image-6.10-390.x86_64.qcow2" ], "ungrouped": [] } } TASK [fail] ******************************************************************** task path: /tmp/tmpy3uj9fpm/_setup.yml:6 skipping: [/cache/rhel-guest-image-6.10-390.x86_64.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} META: ran handlers META: ran handlers PLAY [Setup repos] ************************************************************* META: ran handlers TASK [set up internal repositories] ******************************************** task path: /tmp/tmpy3uj9fpm/_setup.yml:13 changed: [/cache/rhel-guest-image-6.10-390.x86_64.qcow2] => (item=None) => {"censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": true} changed: [/cache/rhel-guest-image-6.10-390.x86_64.qcow2] => (item=None) => {"censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": true} changed: [/cache/rhel-guest-image-6.10-390.x86_64.qcow2] => {"censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": true} META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/rhel-guest-image-6.10-390.x86_64.qcow2 : ok=2 changed=1 unreachable=0 failed=0 skipped=1 rescued=0 ignored=0 statically imported: /tmp/tmpy3uj9fpm/tests/tasks/setup_ipa.yml PLAYBOOK: tests_basic_ipa.yml ************************************************** 3 plays in /tmp/tmpy3uj9fpm/tests/tests_basic_ipa.yml PLAY [Install IPA server] ****************************************************** TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpy3uj9fpm/tests/tests_basic_ipa.yml:2 ok: [/cache/rhel-guest-image-6.10-390.x86_64.qcow2] META: ran handlers TASK [Set __is_beaker_env] ***************************************************** task path: /tmp/tmpy3uj9fpm/tests/tasks/setup_ipa.yml:2 ok: [/cache/rhel-guest-image-6.10-390.x86_64.qcow2] => {"ansible_facts": {"__is_beaker_env": false}, "changed": false} TASK [Install ansible-freeipa] ************************************************* task path: /tmp/tmpy3uj9fpm/tests/tasks/setup_ipa.yml:6 skipping: [/cache/rhel-guest-image-6.10-390.x86_64.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Clone ansible-freeipa repo] ********************************************** task path: /tmp/tmpy3uj9fpm/tests/tasks/setup_ipa.yml:12 ok: [/cache/rhel-guest-image-6.10-390.x86_64.qcow2 -> 127.0.0.1] => {"after": "6c7f433135795d3ebec2ce26d6ca398301792588", "before": "6c7f433135795d3ebec2ce26d6ca398301792588", "changed": false, "remote_url_changed": false} TASK [Create role symlinks] **************************************************** task path: /tmp/tmpy3uj9fpm/tests/tasks/setup_ipa.yml:21 changed: [/cache/rhel-guest-image-6.10-390.x86_64.qcow2 -> 127.0.0.1] => (item=ipaserver) => {"ansible_loop_var": "item", "changed": true, "dest": "/tmp/tmpy3uj9fpm/tests/roles/ipaserver", "gid": 0, "group": "root", "item": "ipaserver", "mode": "0777", "owner": "root", "size": 34, "src": "/tmp/freeipa-repo/roles/ipaserver/", "state": "link", "uid": 0} changed: [/cache/rhel-guest-image-6.10-390.x86_64.qcow2 -> 127.0.0.1] => (item=ipaclient) => {"ansible_loop_var": "item", "changed": true, "dest": "/tmp/tmpy3uj9fpm/tests/roles/ipaclient", "gid": 0, "group": "root", "item": "ipaclient", "mode": "0777", "owner": "root", "size": 34, "src": "/tmp/freeipa-repo/roles/ipaclient/", "state": "link", "uid": 0} TASK [Set hostname] ************************************************************ task path: /tmp/tmpy3uj9fpm/tests/tasks/setup_ipa.yml:33 changed: [/cache/rhel-guest-image-6.10-390.x86_64.qcow2] => {"ansible_facts": {"ansible_domain": "test.local", "ansible_fqdn": "ipaserver.test.local", "ansible_hostname": "ipaserver", "ansible_nodename": "ipaserver.test.local"}, "changed": true, "name": "ipaserver.test.local"} TASK [Ensure nss package is up-to-date] **************************************** task path: /tmp/tmpy3uj9fpm/tests/tasks/setup_ipa.yml:37 ok: [/cache/rhel-guest-image-6.10-390.x86_64.qcow2] => {"changed": false, "changes": {"installed": [], "updated": []}, "msg": "", "rc": 0, "results": ["All packages providing nss are up to date", ""]} TASK [include_role : ipaserver] ************************************************ task path: /tmp/tmpy3uj9fpm/tests/tasks/setup_ipa.yml:45 TASK [ipaserver : Import variables specific to distribution] ******************* task path: /tmp/freeipa-repo/roles/ipaserver/tasks/main.yml:4 ok: [/cache/rhel-guest-image-6.10-390.x86_64.qcow2] => (item=/tmp/freeipa-repo/roles/ipaserver/vars/default.yml) => {"ansible_facts": {"ipaserver_packages": ["ipa-server", "python3-libselinux"], "ipaserver_packages_adtrust": ["freeipa-server-trust-ad"], "ipaserver_packages_dns": ["ipa-server-dns"], "ipaserver_packages_firewalld": ["firewalld"]}, "ansible_included_var_files": ["/tmp/freeipa-repo/roles/ipaserver/vars/default.yml"], "ansible_loop_var": "item", "changed": false, "item": "/tmp/freeipa-repo/roles/ipaserver/vars/default.yml"} TASK [ipaserver : Install IPA server] ****************************************** task path: /tmp/freeipa-repo/roles/ipaserver/tasks/main.yml:12 included: /tmp/freeipa-repo/roles/ipaserver/tasks/install.yml for /cache/rhel-guest-image-6.10-390.x86_64.qcow2 TASK [ipaserver : Install - Ensure that IPA server packages are installed] ***** task path: /tmp/freeipa-repo/roles/ipaserver/tasks/install.yml:5 fatal: [/cache/rhel-guest-image-6.10-390.x86_64.qcow2]: FAILED! => {"changed": false, "msg": "No package matching 'python3-libselinux' found available, installed or updated", "rc": 126, "results": ["No package matching 'python3-libselinux' found available, installed or updated"]} TASK [FAILURE - check entropy] ************************************************* task path: /tmp/tmpy3uj9fpm/tests/tasks/setup_ipa.yml:48 changed: [/cache/rhel-guest-image-6.10-390.x86_64.qcow2] => {"changed": true, "cmd": ["cat", "/proc/sys/kernel/random/entropy_avail"], "delta": "0:00:00.004606", "end": "2020-10-14 12:40:54.937561", "rc": 0, "start": "2020-10-14 12:40:54.932955", "stderr": "", "stderr_lines": [], "stdout": "190", "stdout_lines": ["190"]} TASK [FAILURE - get logs for debugging] **************************************** task path: /tmp/tmpy3uj9fpm/tests/tasks/setup_ipa.yml:50 changed: [/cache/rhel-guest-image-6.10-390.x86_64.qcow2] => {"archived": ["/var/log/messages"], "arcroot": "/var/log/", "changed": true, "dest": "/tmp/ipalogs.tgz", "expanded_exclude_paths": [], "expanded_paths": ["/var/log/messages", "/var/log/ipaserver-install.log", "/var/log/ipaclient-install.log", "/var/log/pki"], "gid": 0, "group": "root", "missing": ["/var/log/ipaserver-install.log", "/var/log/ipaclient-install.log", "/var/log/pki"], "mode": "0644", "owner": "root", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 9346, "state": "file", "uid": 0} TASK [FAILURE - grab archive] ************************************************** task path: /tmp/tmpy3uj9fpm/tests/tasks/setup_ipa.yml:58 changed: [/cache/rhel-guest-image-6.10-390.x86_64.qcow2] => {"changed": true, "checksum": "f6b1169ca4c3e5d2eaeee73172320dbcb03f6caf", "dest": "/tmp/linux-system-role-test-work-pull-linux-system-roles_certificate-66-97e8482-rhel-6-4oxyzj9k/artifacts/ipalogs.tgz", "md5sum": "791c71e7eb210524d0b6e18e94b25b58", "remote_checksum": "f6b1169ca4c3e5d2eaeee73172320dbcb03f6caf", "remote_md5sum": null} TASK [FAILURE - unpack archive] ************************************************ task path: /tmp/tmpy3uj9fpm/tests/tasks/setup_ipa.yml:63 changed: [/cache/rhel-guest-image-6.10-390.x86_64.qcow2 -> 127.0.0.1] => {"changed": true, "dest": "/tmp/linux-system-role-test-work-pull-linux-system-roles_certificate-66-97e8482-rhel-6-4oxyzj9k/artifacts", "extract_results": {"cmd": ["/usr/bin/gtar", "--extract", "-C", "/tmp/linux-system-role-test-work-pull-linux-system-roles_certificate-66-97e8482-rhel-6-4oxyzj9k/artifacts", "-z", "-f", "/tmp/linux-system-role-test-work-pull-linux-system-roles_certificate-66-97e8482-rhel-6-4oxyzj9k/artifacts/ipalogs.tgz"], "err": "", "out": "", "rc": 0}, "files": ["messages"], "gid": 0, "group": "root", "handler": "TgzArchive", "mode": "0755", "owner": "root", "size": 219, "src": "/tmp/linux-system-role-test-work-pull-linux-system-roles_certificate-66-97e8482-rhel-6-4oxyzj9k/artifacts/ipalogs.tgz", "state": "directory", "uid": 0} TASK [fail] ******************************************************************** task path: /tmp/tmpy3uj9fpm/tests/tasks/setup_ipa.yml:71 fatal: [/cache/rhel-guest-image-6.10-390.x86_64.qcow2]: FAILED! => {"changed": false, "msg": "failed"} PLAY RECAP ********************************************************************* /cache/rhel-guest-image-6.10-390.x86_64.qcow2 : ok=14 changed=7 unreachable=0 failed=1 skipped=2 rescued=1 ignored=0