[DEPRECATION WARNING]: ANSIBLE_COLLECTIONS_PATHS option, does not fit var naming standard, use the singular form ANSIBLE_COLLECTIONS_PATH instead. This feature will be removed from ansible-core in version 2.19. Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg. ansible-playbook [core 2.17.2] config file = None configured module search path = ['/root/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /usr/local/lib/python3.12/site-packages/ansible ansible collection location = /tmp/tmp.jGL4Pwnv8e executable location = /usr/local/bin/ansible-playbook python version = 3.12.4 (main, Jul 17 2024, 00:00:00) [GCC 14.1.1 20240607 (Red Hat 14.1.1-5)] (/usr/bin/python3.12) jinja version = 3.1.4 libyaml = True No config file found; using defaults running playbook inside collection fedora.linux_system_roles statically imported: /tmp/tmp.jGL4Pwnv8e/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/setup_ipa.yml redirecting (type: callback) ansible.builtin.debug to ansible.posix.debug redirecting (type: callback) ansible.builtin.debug to ansible.posix.debug redirecting (type: callback) ansible.builtin.profile_tasks to ansible.posix.profile_tasks 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: tests_basic_ipa.yml ************************************************** 1 plays in /tmp/tmp.jGL4Pwnv8e/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_basic_ipa.yml PLAY [Test using IPA to issue certs] ******************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmp.jGL4Pwnv8e/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_basic_ipa.yml:2 Saturday 03 August 2024 08:22:48 -0400 (0:00:00.018) 0:00:00.018 ******* [WARNING]: Platform linux on host managed_node1 is using the discovered Python interpreter at /usr/bin/python3.12, but future installation of another Python interpreter could change the meaning of that path. See https://docs.ansible.com/ansible- core/2.17/reference_appendices/interpreter_discovery.html for more information. ok: [managed_node1] TASK [Check if system is ostree] *********************************************** task path: /tmp/tmp.jGL4Pwnv8e/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_basic_ipa.yml:13 Saturday 03 August 2024 08:22:53 -0400 (0:00:04.338) 0:00:04.357 ******* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Skip if not supported] *************************************************** task path: /tmp/tmp.jGL4Pwnv8e/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_basic_ipa.yml:18 Saturday 03 August 2024 08:22:53 -0400 (0:00:00.459) 0:00:04.817 ******* META: end_host conditional evaluated to False, continuing execution for managed_node1 skipping: [managed_node1] => { "skip_reason": "end_host conditional evaluated to False, continuing execution for managed_node1" } MSG: end_host conditional evaluated to false, continuing execution for managed_node1 TASK [Set __is_beaker_env] ***************************************************** task path: /tmp/tmp.jGL4Pwnv8e/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/setup_ipa.yml:2 Saturday 03 August 2024 08:22:53 -0400 (0:00:00.007) 0:00:04.824 ******* ok: [managed_node1] => { "ansible_facts": { "__is_beaker_env": true }, "changed": false } TASK [Check if system is ostree] *********************************************** task path: /tmp/tmp.jGL4Pwnv8e/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/setup_ipa.yml:9 Saturday 03 August 2024 08:22:53 -0400 (0:00:00.041) 0:00:04.866 ******* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /tmp/tmp.jGL4Pwnv8e/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/setup_ipa.yml:14 Saturday 03 August 2024 08:22:54 -0400 (0:00:00.379) 0:00:05.245 ******* ok: [managed_node1] => { "ansible_facts": { "__certificate_is_ostree": false }, "changed": false } TASK [Install ansible-freeipa] ************************************************* task path: /tmp/tmp.jGL4Pwnv8e/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/setup_ipa.yml:18 Saturday 03 August 2024 08:22:54 -0400 (0:00:00.022) 0:00:05.267 ******* changed: [managed_node1 -> 127.0.0.1] => { "changed": true, "rc": 0, "results": [ "Installed: python3-pycparser-2.20-15.el10.noarch", "Installed: python3-resolvelib-1.0.1-5.el10.noarch", "Installed: python3-argcomplete-3.2.2-3.el10.noarch", "Installed: python3-packaging-23.2-5.el10.noarch", "Installed: ansible-core-1:2.16.3-3.el10.noarch", "Installed: ansible-freeipa-1.13.2-1.el10.noarch", "Installed: python3-cffi-1.16.0-5.el10.x86_64", "Installed: python3-cryptography-41.0.7-2.el10.x86_64", "Installed: python3-ply-3.11-24.el10.noarch" ] } lsrpackages: ansible-freeipa TASK [Ensure freeipa-repo is absent] ******************************************* task path: /tmp/tmp.jGL4Pwnv8e/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/setup_ipa.yml:24 Saturday 03 August 2024 08:23:02 -0400 (0:00:08.684) 0:00:13.952 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "not __is_beaker_env", "skip_reason": "Conditional result was False" } TASK [Clone ansible-freeipa repo] ********************************************** task path: /tmp/tmp.jGL4Pwnv8e/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/setup_ipa.yml:32 Saturday 03 August 2024 08:23:02 -0400 (0:00:00.014) 0:00:13.966 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "not __is_beaker_env", "skip_reason": "Conditional result was False" } TASK [Create role symlinks] **************************************************** task path: /tmp/tmp.jGL4Pwnv8e/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/setup_ipa.yml:41 Saturday 03 August 2024 08:23:02 -0400 (0:00:00.012) 0:00:13.979 ******* skipping: [managed_node1] => (item=ipaserver) => { "ansible_loop_var": "item", "changed": false, "false_condition": "not __is_beaker_env", "item": "ipaserver", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=ipaclient) => { "ansible_loop_var": "item", "changed": false, "false_condition": "not __is_beaker_env", "item": "ipaclient", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => { "changed": false } MSG: All items skipped TASK [Ensure hostname package is installed] ************************************ task path: /tmp/tmp.jGL4Pwnv8e/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/setup_ipa.yml:53 Saturday 03 August 2024 08:23:02 -0400 (0:00:00.022) 0:00:14.001 ******* ok: [managed_node1] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do lsrpackages: hostname TASK [Set hostname] ************************************************************ task path: /tmp/tmp.jGL4Pwnv8e/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/setup_ipa.yml:59 Saturday 03 August 2024 08:23:06 -0400 (0:00:03.813) 0:00:17.814 ******* changed: [managed_node1] => { "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/tmp.jGL4Pwnv8e/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/setup_ipa.yml:65 Saturday 03 August 2024 08:23:07 -0400 (0:00:00.852) 0:00:18.666 ******* changed: [managed_node1] => { "changed": true, "rc": 0, "results": [ "Installed: nspr-4.35.0-27.el10.x86_64", "Installed: nss-3.101.0-6.el10.x86_64", "Installed: nss-softokn-3.101.0-6.el10.x86_64", "Installed: nss-softokn-freebl-3.101.0-6.el10.x86_64", "Installed: nss-sysinit-3.101.0-6.el10.x86_64", "Installed: nss-util-3.101.0-6.el10.x86_64" ] } lsrpackages: nss TASK [Include ipaserver role] ************************************************** task path: /tmp/tmp.jGL4Pwnv8e/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/setup_ipa.yml:82 Saturday 03 August 2024 08:23:12 -0400 (0:00:04.996) 0:00:23.663 ******* ERROR! the role 'ipaserver' was not found in fedora.linux_system_roles:ansible.legacy:/tmp/tmp.jGL4Pwnv8e/ansible_collections/fedora/linux_system_roles/tests/certificate/roles:/root/.ansible/roles:/usr/share/ansible/roles:/etc/ansible/roles:/tmp/tmp.jGL4Pwnv8e/ansible_collections/fedora/linux_system_roles/tests/certificate The error appears to be in '/tmp/tmp.jGL4Pwnv8e/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/setup_ipa.yml': line 84, column 15, but may be elsewhere in the file depending on the exact syntax problem. The offending line appears to be: include_role: name: ipaserver ^ here fatal: [managed_node1]: FAILED! => { "changed": false, "reason": "the role 'ipaserver' was not found in fedora.linux_system_roles:ansible.legacy:/tmp/tmp.jGL4Pwnv8e/ansible_collections/fedora/linux_system_roles/tests/certificate/roles:/root/.ansible/roles:/usr/share/ansible/roles:/etc/ansible/roles:/tmp/tmp.jGL4Pwnv8e/ansible_collections/fedora/linux_system_roles/tests/certificate\n\nThe error appears to be in '/tmp/tmp.jGL4Pwnv8e/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/setup_ipa.yml': line 84, column 15, but may\nbe elsewhere in the file depending on the exact syntax problem.\n\nThe offending line appears to be:\n\n include_role:\n name: ipaserver\n ^ here\n" } TASK [FAILURE - check entropy] ************************************************* task path: /tmp/tmp.jGL4Pwnv8e/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/setup_ipa.yml:86 Saturday 03 August 2024 08:23:12 -0400 (0:00:00.017) 0:00:23.680 ******* ok: [managed_node1] => { "changed": false, "cmd": [ "cat", "/proc/sys/kernel/random/entropy_avail" ], "delta": "0:00:00.003184", "end": "2024-08-03 08:23:13.064067", "rc": 0, "start": "2024-08-03 08:23:13.060883" } STDOUT: 256 TASK [FAILURE - get logs for debugging] **************************************** task path: /tmp/tmp.jGL4Pwnv8e/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/setup_ipa.yml:89 Saturday 03 August 2024 08:23:13 -0400 (0:00:00.483) 0:00:24.164 ******* ok: [managed_node1] => { "changed": false, "cmd": "set -euo pipefail\ncd /var/log\ntar -czf /tmp/ipalogs.tgz $( [[ -e messages ]] && echo messages ) $( [[ -e ipaserver-install.log ]] && echo ipaserver-install.log ) $( [[ -e ipaclient-install.log ]] && echo ipaclient-install.log ) $( [[ -e pki ]] && echo pki )\nchmod '0644' /tmp/ipalogs.tgz", "delta": "0:00:00.182972", "end": "2024-08-03 08:23:13.634820", "rc": 0, "start": "2024-08-03 08:23:13.451848" } TASK [FAILURE - grab archive] ************************************************** task path: /tmp/tmp.jGL4Pwnv8e/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/setup_ipa.yml:100 Saturday 03 August 2024 08:23:13 -0400 (0:00:00.566) 0:00:24.730 ******* changed: [managed_node1] => { "changed": true, "checksum": "b59f2a7a8777020a4dd8431786d083a243586fec", "dest": "/tmp/ipalogs.tgz", "md5sum": "580bab642c69fbd9add0527cfd43c4e4", "remote_checksum": "b59f2a7a8777020a4dd8431786d083a243586fec", "remote_md5sum": null } TASK [FAILURE - unpack archive] ************************************************ task path: /tmp/tmp.jGL4Pwnv8e/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/setup_ipa.yml:105 Saturday 03 August 2024 08:23:14 -0400 (0:00:00.487) 0:00:25.217 ******* ok: [managed_node1 -> 127.0.0.1] => { "changed": false, "cmd": "set -euo pipefail\ncd \"/tmp\"\ntar -xvzf ipalogs.tgz\nchmod 0644 *", "delta": "0:00:00.112112", "end": "2024-08-03 08:23:14.501611", "rc": 0, "start": "2024-08-03 08:23:14.389499" } STDOUT: messages TASK [Failed] ****************************************************************** task path: /tmp/tmp.jGL4Pwnv8e/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/setup_ipa.yml:113 Saturday 03 August 2024 08:23:14 -0400 (0:00:00.352) 0:00:25.570 ******* fatal: [managed_node1]: FAILED! => { "changed": false } MSG: failed PLAY RECAP ********************************************************************* managed_node1 : ok=13 changed=4 unreachable=0 failed=2 skipped=3 rescued=0 ignored=0 Saturday 03 August 2024 08:23:14 -0400 (0:00:00.012) 0:00:25.583 ******* =============================================================================== Install ansible-freeipa ------------------------------------------------- 8.68s /tmp/tmp.jGL4Pwnv8e/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/setup_ipa.yml:18 Ensure nss package is up-to-date ---------------------------------------- 5.00s /tmp/tmp.jGL4Pwnv8e/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/setup_ipa.yml:65 Gathering Facts --------------------------------------------------------- 4.34s /tmp/tmp.jGL4Pwnv8e/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_basic_ipa.yml:2 Ensure hostname package is installed ------------------------------------ 3.81s /tmp/tmp.jGL4Pwnv8e/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/setup_ipa.yml:53 Set hostname ------------------------------------------------------------ 0.85s /tmp/tmp.jGL4Pwnv8e/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/setup_ipa.yml:59 FAILURE - get logs for debugging ---------------------------------------- 0.57s /tmp/tmp.jGL4Pwnv8e/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/setup_ipa.yml:89 FAILURE - grab archive -------------------------------------------------- 0.49s /tmp/tmp.jGL4Pwnv8e/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/setup_ipa.yml:100 FAILURE - check entropy ------------------------------------------------- 0.48s /tmp/tmp.jGL4Pwnv8e/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/setup_ipa.yml:86 Check if system is ostree ----------------------------------------------- 0.46s /tmp/tmp.jGL4Pwnv8e/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_basic_ipa.yml:13 Check if system is ostree ----------------------------------------------- 0.38s /tmp/tmp.jGL4Pwnv8e/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/setup_ipa.yml:9 FAILURE - unpack archive ------------------------------------------------ 0.35s /tmp/tmp.jGL4Pwnv8e/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/setup_ipa.yml:105 Set __is_beaker_env ----------------------------------------------------- 0.04s /tmp/tmp.jGL4Pwnv8e/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/setup_ipa.yml:2 Create role symlinks ---------------------------------------------------- 0.02s /tmp/tmp.jGL4Pwnv8e/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/setup_ipa.yml:41 Set flag to indicate system is ostree ----------------------------------- 0.02s /tmp/tmp.jGL4Pwnv8e/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/setup_ipa.yml:14 Include ipaserver role -------------------------------------------------- 0.02s /tmp/tmp.jGL4Pwnv8e/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/setup_ipa.yml:82 Ensure freeipa-repo is absent ------------------------------------------- 0.01s /tmp/tmp.jGL4Pwnv8e/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/setup_ipa.yml:24 Clone ansible-freeipa repo ---------------------------------------------- 0.01s /tmp/tmp.jGL4Pwnv8e/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/setup_ipa.yml:32 Failed ------------------------------------------------------------------ 0.01s /tmp/tmp.jGL4Pwnv8e/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/setup_ipa.yml:113 Skip if not supported --------------------------------------------------- 0.01s /tmp/tmp.jGL4Pwnv8e/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_basic_ipa.yml:18