+ cd /tmp/tmp8q45ggmw/tests; TEST_SUBJECTS=/cache/CentOS-6-x86_64-GenericCloud-1907.qcow2c TEST_ARTIFACTS=/tmp/linux-system-role-test-work-pull-linux-system-roles_certificate-66-97e8482-centos-6-dgnce1xb/artifacts ansible-playbook -vv --inventory=/usr/share/ansible/inventory/standard-inventory-qcow2 /tmp/tmp8q45ggmw/_setup.yml /tmp/tmp8q45ggmw/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 *********************************************************** 1 plays in /tmp/tmp8q45ggmw/_setup.yml PLAY [Fail when only localhost is available] *********************************** META: ran handlers TASK [debug] ******************************************************************* task path: /tmp/tmp8q45ggmw/_setup.yml:5 ok: [/cache/CentOS-6-x86_64-GenericCloud-1907.qcow2c] => { "groups": { "all": [ "/cache/CentOS-6-x86_64-GenericCloud-1907.qcow2c" ], "localhost": [ "/cache/CentOS-6-x86_64-GenericCloud-1907.qcow2c" ], "subjects": [ "/cache/CentOS-6-x86_64-GenericCloud-1907.qcow2c" ], "ungrouped": [] } } TASK [fail] ******************************************************************** task path: /tmp/tmp8q45ggmw/_setup.yml:6 skipping: [/cache/CentOS-6-x86_64-GenericCloud-1907.qcow2c] => {"changed": false, "skip_reason": "Conditional result was False"} META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/CentOS-6-x86_64-GenericCloud-1907.qcow2c : ok=1 changed=0 unreachable=0 failed=0 skipped=1 rescued=0 ignored=0 statically imported: /tmp/tmp8q45ggmw/tests/tasks/setup_ipa.yml PLAYBOOK: tests_basic_ipa.yml ************************************************** 3 plays in /tmp/tmp8q45ggmw/tests/tests_basic_ipa.yml PLAY [Install IPA server] ****************************************************** TASK [Gathering Facts] ********************************************************* task path: /tmp/tmp8q45ggmw/tests/tests_basic_ipa.yml:2 ok: [/cache/CentOS-6-x86_64-GenericCloud-1907.qcow2c] META: ran handlers TASK [Set __is_beaker_env] ***************************************************** task path: /tmp/tmp8q45ggmw/tests/tasks/setup_ipa.yml:2 ok: [/cache/CentOS-6-x86_64-GenericCloud-1907.qcow2c] => {"ansible_facts": {"__is_beaker_env": false}, "changed": false} TASK [Install ansible-freeipa] ************************************************* task path: /tmp/tmp8q45ggmw/tests/tasks/setup_ipa.yml:6 skipping: [/cache/CentOS-6-x86_64-GenericCloud-1907.qcow2c] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Clone ansible-freeipa repo] ********************************************** task path: /tmp/tmp8q45ggmw/tests/tasks/setup_ipa.yml:12 ok: [/cache/CentOS-6-x86_64-GenericCloud-1907.qcow2c -> 127.0.0.1] => {"after": "6c7f433135795d3ebec2ce26d6ca398301792588", "before": "6c7f433135795d3ebec2ce26d6ca398301792588", "changed": false, "remote_url_changed": false} TASK [Create role symlinks] **************************************************** task path: /tmp/tmp8q45ggmw/tests/tasks/setup_ipa.yml:21 changed: [/cache/CentOS-6-x86_64-GenericCloud-1907.qcow2c -> 127.0.0.1] => (item=ipaserver) => {"ansible_loop_var": "item", "changed": true, "dest": "/tmp/tmp8q45ggmw/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/CentOS-6-x86_64-GenericCloud-1907.qcow2c -> 127.0.0.1] => (item=ipaclient) => {"ansible_loop_var": "item", "changed": true, "dest": "/tmp/tmp8q45ggmw/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/tmp8q45ggmw/tests/tasks/setup_ipa.yml:33 changed: [/cache/CentOS-6-x86_64-GenericCloud-1907.qcow2c] => {"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/tmp8q45ggmw/tests/tasks/setup_ipa.yml:37 changed: [/cache/CentOS-6-x86_64-GenericCloud-1907.qcow2c] => {"changed": true, "changes": {"installed": [], "updated": [["nss", "3.44.0-7.el6_10.x86_64 from updates"]]}, "msg": "", "rc": 0, "results": ["Loaded plugins: fastestmirror, presto\nSetting up Install Process\nLoading mirror speeds from cached hostfile\n * base: mirror.centos.iad1.serverforge.org\n * extras: mirror.linux.duke.edu\n * updates: ftp.osuosl.org\nResolving Dependencies\n--> Running transaction check\n---> Package nss.x86_64 0:3.36.0-9.el6_10 will be updated\n--> Processing Dependency: nss = 3.36.0-9.el6_10 for package: nss-sysinit-3.36.0-9.el6_10.x86_64\n--> Processing Dependency: nss(x86-64) = 3.36.0-9.el6_10 for package: nss-tools-3.36.0-9.el6_10.x86_64\n---> Package nss.x86_64 0:3.44.0-7.el6_10 will be an update\n--> Processing Dependency: nss-util >= 3.44.0 for package: nss-3.44.0-7.el6_10.x86_64\n--> Processing Dependency: nss-softokn(x86-64) >= 3.44.0-1 for package: nss-3.44.0-7.el6_10.x86_64\n--> Processing Dependency: nspr >= 4.21.0 for package: nss-3.44.0-7.el6_10.x86_64\n--> Processing Dependency: libnssutil3.so(NSSUTIL_3.39)(64bit) for package: nss-3.44.0-7.el6_10.x86_64\n--> Processing Dependency: libnssutil3.so(NSSUTIL_3.38)(64bit) for package: nss-3.44.0-7.el6_10.x86_64\n--> Running transaction check\n---> Package nspr.x86_64 0:4.19.0-1.el6 will be updated\n---> Package nspr.x86_64 0:4.21.0-1.el6_10 will be an update\n---> Package nss-softokn.x86_64 0:3.14.3-23.3.el6_8 will be updated\n---> Package nss-softokn.x86_64 0:3.44.0-6.el6_10 will be an update\n--> Processing Dependency: nss-softokn-freebl(x86-64) >= 3.44.0-6.el6_10 for package: nss-softokn-3.44.0-6.el6_10.x86_64\n---> Package nss-sysinit.x86_64 0:3.36.0-9.el6_10 will be updated\n---> Package nss-sysinit.x86_64 0:3.44.0-7.el6_10 will be an update\n---> Package nss-tools.x86_64 0:3.36.0-9.el6_10 will be updated\n---> Package nss-tools.x86_64 0:3.44.0-7.el6_10 will be an update\n---> Package nss-util.x86_64 0:3.36.0-1.el6 will be updated\n---> Package nss-util.x86_64 0:3.44.0-1.el6_10 will be an update\n--> Running transaction check\n---> Package nss-softokn-freebl.x86_64 0:3.14.3-23.3.el6_8 will be updated\n---> Package nss-softokn-freebl.x86_64 0:3.44.0-6.el6_10 will be an update\n--> Finished Dependency Resolution\n\nDependencies Resolved\n\n================================================================================\n Package Arch Version Repository Size\n================================================================================\nUpdating:\n nss x86_64 3.44.0-7.el6_10 updates 883 k\nUpdating for dependencies:\n nspr x86_64 4.21.0-1.el6_10 updates 114 k\n nss-softokn x86_64 3.44.0-6.el6_10 updates 288 k\n nss-softokn-freebl x86_64 3.44.0-6.el6_10 updates 202 k\n nss-sysinit x86_64 3.44.0-7.el6_10 updates 54 k\n nss-tools x86_64 3.44.0-7.el6_10 updates 472 k\n nss-util x86_64 3.44.0-1.el6_10 updates 73 k\n\nTransaction Summary\n================================================================================\nUpgrade 7 Package(s)\n\nTotal download size: 2.0 M\nDownloading Packages:\nSetting up and reading Presto delta metadata\nProcessing delta metadata\nDownload delta size: 372 k\nPresto reduced the update size by 45% (from 676 k to 372 k).\nPackage(s) data still to download: 1.4 M\n--------------------------------------------------------------------------------\nTotal 5.9 MB/s | 1.4 MB 00:00 \nRunning rpm_check_debug\nRunning Transaction Test\nTransaction Test Succeeded\nRunning Transaction\n\r Updating : nspr-4.21.0-1.el6_10.x86_64 1/14 \n\r Updating : nss-util-3.44.0-1.el6_10.x86_64 2/14 \n\r Updating : nss-softokn-freebl-3.44.0-6.el6_10.x86_64 3/14 \n\r Updating : nss-softokn-3.44.0-6.el6_10.x86_64 4/14 \n\r Updating : nss-sysinit-3.44.0-7.el6_10.x86_64 5/14 \n\r Updating : nss-3.44.0-7.el6_10.x86_64 6/14 \n\r Updating : nss-tools-3.44.0-7.el6_10.x86_64 7/14 \n\r Cleanup : nss-tools-3.36.0-9.el6_10.x86_64 8/14 \n\r Cleanup : nss-sysinit-3.36.0-9.el6_10.x86_64 9/14 \n\r Cleanup : nss-3.36.0-9.el6_10.x86_64 10/14 \n\r Cleanup : nss-softokn-3.14.3-23.3.el6_8.x86_64 11/14 \n\r Cleanup : nss-util-3.36.0-1.el6.x86_64 12/14 \n\r Cleanup : nspr-4.19.0-1.el6.x86_64 13/14 \n\r Cleanup : nss-softokn-freebl-3.14.3-23.3.el6_8.x86_64 14/14 \n\r Verifying : nss-softokn-freebl-3.44.0-6.el6_10.x86_64 1/14 \n\r Verifying : nss-softokn-3.44.0-6.el6_10.x86_64 2/14 \n\r Verifying : nspr-4.21.0-1.el6_10.x86_64 3/14 \n\r Verifying : nss-tools-3.44.0-7.el6_10.x86_64 4/14 \n\r Verifying : nss-sysinit-3.44.0-7.el6_10.x86_64 5/14 \n\r Verifying : nss-util-3.44.0-1.el6_10.x86_64 6/14 \n\r Verifying : nss-3.44.0-7.el6_10.x86_64 7/14 \n\r Verifying : nss-sysinit-3.36.0-9.el6_10.x86_64 8/14 \n\r Verifying : nspr-4.19.0-1.el6.x86_64 9/14 \n\r Verifying : nss-util-3.36.0-1.el6.x86_64 10/14 \n\r Verifying : nss-softokn-3.14.3-23.3.el6_8.x86_64 11/14 \n\r Verifying : nss-tools-3.36.0-9.el6_10.x86_64 12/14 \n\r Verifying : nss-3.36.0-9.el6_10.x86_64 13/14 \n\r Verifying : nss-softokn-freebl-3.14.3-23.3.el6_8.x86_64 14/14 \n\nUpdated:\n nss.x86_64 0:3.44.0-7.el6_10 \n\nDependency Updated:\n nspr.x86_64 0:4.21.0-1.el6_10 \n nss-softokn.x86_64 0:3.44.0-6.el6_10 \n nss-softokn-freebl.x86_64 0:3.44.0-6.el6_10 \n nss-sysinit.x86_64 0:3.44.0-7.el6_10 \n nss-tools.x86_64 0:3.44.0-7.el6_10 \n nss-util.x86_64 0:3.44.0-1.el6_10 \n\nComplete!\n"]} TASK [include_role : ipaserver] ************************************************ task path: /tmp/tmp8q45ggmw/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/CentOS-6-x86_64-GenericCloud-1907.qcow2c] => (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/CentOS-6-x86_64-GenericCloud-1907.qcow2c TASK [ipaserver : Install - Ensure that IPA server packages are installed] ***** task path: /tmp/freeipa-repo/roles/ipaserver/tasks/install.yml:5 fatal: [/cache/CentOS-6-x86_64-GenericCloud-1907.qcow2c]: 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/tmp8q45ggmw/tests/tasks/setup_ipa.yml:48 changed: [/cache/CentOS-6-x86_64-GenericCloud-1907.qcow2c] => {"changed": true, "cmd": ["cat", "/proc/sys/kernel/random/entropy_avail"], "delta": "0:00:00.004083", "end": "2020-10-14 16:38:00.899275", "rc": 0, "start": "2020-10-14 16:38:00.895192", "stderr": "", "stderr_lines": [], "stdout": "169", "stdout_lines": ["169"]} TASK [FAILURE - get logs for debugging] **************************************** task path: /tmp/tmp8q45ggmw/tests/tasks/setup_ipa.yml:50 changed: [/cache/CentOS-6-x86_64-GenericCloud-1907.qcow2c] => {"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": 9676, "state": "file", "uid": 0} TASK [FAILURE - grab archive] ************************************************** task path: /tmp/tmp8q45ggmw/tests/tasks/setup_ipa.yml:58 changed: [/cache/CentOS-6-x86_64-GenericCloud-1907.qcow2c] => {"changed": true, "checksum": "c617dcf68a3f30ed88e9c04bdee57e9a55987f17", "dest": "/tmp/linux-system-role-test-work-pull-linux-system-roles_certificate-66-97e8482-centos-6-dgnce1xb/artifacts/ipalogs.tgz", "md5sum": "ba465f93bb7520dfd39a1408f30c437c", "remote_checksum": "c617dcf68a3f30ed88e9c04bdee57e9a55987f17", "remote_md5sum": null} TASK [FAILURE - unpack archive] ************************************************ task path: /tmp/tmp8q45ggmw/tests/tasks/setup_ipa.yml:63 changed: [/cache/CentOS-6-x86_64-GenericCloud-1907.qcow2c -> 127.0.0.1] => {"changed": true, "dest": "/tmp/linux-system-role-test-work-pull-linux-system-roles_certificate-66-97e8482-centos-6-dgnce1xb/artifacts", "extract_results": {"cmd": ["/usr/bin/gtar", "--extract", "-C", "/tmp/linux-system-role-test-work-pull-linux-system-roles_certificate-66-97e8482-centos-6-dgnce1xb/artifacts", "-z", "-f", "/tmp/linux-system-role-test-work-pull-linux-system-roles_certificate-66-97e8482-centos-6-dgnce1xb/artifacts/ipalogs.tgz"], "err": "", "out": "", "rc": 0}, "files": ["messages"], "gid": 0, "group": "root", "handler": "TgzArchive", "mode": "0755", "owner": "root", "size": 223, "src": "/tmp/linux-system-role-test-work-pull-linux-system-roles_certificate-66-97e8482-centos-6-dgnce1xb/artifacts/ipalogs.tgz", "state": "directory", "uid": 0} TASK [fail] ******************************************************************** task path: /tmp/tmp8q45ggmw/tests/tasks/setup_ipa.yml:71 fatal: [/cache/CentOS-6-x86_64-GenericCloud-1907.qcow2c]: FAILED! => {"changed": false, "msg": "failed"} PLAY RECAP ********************************************************************* /cache/CentOS-6-x86_64-GenericCloud-1907.qcow2c : ok=13 changed=7 unreachable=0 failed=1 skipped=2 rescued=1 ignored=0