# STDOUT: ---v---v---v---v---v--- ansible-playbook [core 2.14.4] config file = /etc/ansible/ansible.cfg configured module search path = ['/home/jenkins/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /opt/ansible-2.14/lib/python3.9/site-packages/ansible ansible collection location = /WORKDIR/git-weekly-ci_6e67e8a/.collection executable location = /opt/ansible-2.14/bin/ansible-playbook python version = 3.9.16 (main, Jan 17 2023, 18:53:15) [GCC 8.5.0 20210514 (Red Hat 8.5.0-18)] (/opt/ansible-2.14/bin/python3.9) jinja version = 3.1.2 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: tests_wrong_provider.yml ********************************************* 1 plays in /WORKDIR/git-weekly-ci_6e67e8a/tests/tests_wrong_provider.yml PLAY [Test issuing certificate with nonexistent provider] ********************** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-weekly-ci_6e67e8a/tests/tests_wrong_provider.yml:2 Saturday 27 May 2023 17:18:35 +0000 (0:00:00.020) 0:00:00.020 ********** ok: [sut] TASK [fedora.linux_system_roles.certificate : Set version specific variables] *** task path: /WORKDIR/git-weekly-ci_6e67e8a/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:2 Saturday 27 May 2023 17:18:36 +0000 (0:00:00.891) 0:00:00.912 ********** included: /WORKDIR/git-weekly-ci_6e67e8a/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml for sut TASK [fedora.linux_system_roles.certificate : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-weekly-ci_6e67e8a/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:2 Saturday 27 May 2023 17:18:36 +0000 (0:00:00.027) 0:00:00.940 ********** ok: [sut] TASK [fedora.linux_system_roles.certificate : Set platform/version specific variables] *** task path: /WORKDIR/git-weekly-ci_6e67e8a/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:7 Saturday 27 May 2023 17:18:37 +0000 (0:00:00.376) 0:00:01.316 ********** skipping: [sut] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=Fedora.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=Fedora_36.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_36.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=Fedora_36.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_36.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.certificate : Ensure certificate role dependencies are installed] *** task path: /WORKDIR/git-weekly-ci_6e67e8a/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:5 Saturday 27 May 2023 17:18:37 +0000 (0:00:00.048) 0:00:01.365 ********** changed: [sut] => { "changed": true, "rc": 0, "results": [ "Installed: python3-pyasn1-0.4.8-8.fc36.noarch" ] } TASK [fedora.linux_system_roles.certificate : Ensure provider packages are installed] *** task path: /WORKDIR/git-weekly-ci_6e67e8a/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:22 Saturday 27 May 2023 17:18:40 +0000 (0:00:03.307) 0:00:04.672 ********** skipping: [sut] => (item=fake-provider) => { "__certificate_provider": "fake-provider", "ansible_loop_var": "__certificate_provider", "changed": false, "skip_reason": "Conditional result was False" } skipping: [sut] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.certificate : Ensure pre-scripts hooks directory exists] *** task path: /WORKDIR/git-weekly-ci_6e67e8a/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:33 Saturday 27 May 2023 17:18:40 +0000 (0:00:00.053) 0:00:04.726 ********** skipping: [sut] => (item=fake-provider) => { "__certificate_provider": "fake-provider", "ansible_loop_var": "__certificate_provider", "changed": false, "skip_reason": "Conditional result was False" } skipping: [sut] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.certificate : Ensure post-scripts hooks directory exists] *** task path: /WORKDIR/git-weekly-ci_6e67e8a/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:59 Saturday 27 May 2023 17:18:40 +0000 (0:00:00.046) 0:00:04.772 ********** skipping: [sut] => (item=fake-provider) => { "__certificate_provider": "fake-provider", "ansible_loop_var": "__certificate_provider", "changed": false, "skip_reason": "Conditional result was False" } skipping: [sut] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.certificate : Ensure provider service is running] *** task path: /WORKDIR/git-weekly-ci_6e67e8a/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:88 Saturday 27 May 2023 17:18:40 +0000 (0:00:00.047) 0:00:04.820 ********** skipping: [sut] => (item=fake-provider) => { "__certificate_provider": "fake-provider", "ansible_loop_var": "__certificate_provider", "changed": false, "skip_reason": "Conditional result was False" } skipping: [sut] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.certificate : Ensure certificate requests] ***** task path: /WORKDIR/git-weekly-ci_6e67e8a/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:99 Saturday 27 May 2023 17:18:40 +0000 (0:00:00.045) 0:00:04.865 ********** failed: [sut] (item={'name': 'mycert_wrong_provider', 'dns': 'www.example.com', 'ca': 'self-sign', 'provider': 'fake-provider'}) => { "ansible_loop_var": "item", "changed": false, "item": { "ca": "self-sign", "dns": "www.example.com", "name": "mycert_wrong_provider", "provider": "fake-provider" } } MSG: Chosen provider 'fake-provider' is not available. TASK [Assert...] *************************************************************** task path: /WORKDIR/git-weekly-ci_6e67e8a/tests/tests_wrong_provider.yml:24 Saturday 27 May 2023 17:18:41 +0000 (0:00:00.628) 0:00:05.493 ********** ok: [sut] => { "changed": false } MSG: All assertions passed PLAY RECAP ********************************************************************* sut : ok=5 changed=1 unreachable=0 failed=0 skipped=5 rescued=1 ignored=0 Saturday 27 May 2023 17:18:41 +0000 (0:00:00.035) 0:00:05.529 ********** =============================================================================== fedora.linux_system_roles.certificate : Ensure certificate role dependencies are installed --- 3.31s /WORKDIR/git-weekly-ci_6e67e8a/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:5 Gathering Facts --------------------------------------------------------- 0.89s /WORKDIR/git-weekly-ci_6e67e8a/tests/tests_wrong_provider.yml:2 --------------- fedora.linux_system_roles.certificate : Ensure certificate requests ----- 0.63s /WORKDIR/git-weekly-ci_6e67e8a/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:99 fedora.linux_system_roles.certificate : Ensure ansible_facts used by role --- 0.38s /WORKDIR/git-weekly-ci_6e67e8a/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:2 fedora.linux_system_roles.certificate : Ensure provider packages are installed --- 0.05s /WORKDIR/git-weekly-ci_6e67e8a/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:22 fedora.linux_system_roles.certificate : Set platform/version specific variables --- 0.05s /WORKDIR/git-weekly-ci_6e67e8a/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:7 fedora.linux_system_roles.certificate : Ensure post-scripts hooks directory exists --- 0.05s /WORKDIR/git-weekly-ci_6e67e8a/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:59 fedora.linux_system_roles.certificate : Ensure pre-scripts hooks directory exists --- 0.05s /WORKDIR/git-weekly-ci_6e67e8a/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:33 fedora.linux_system_roles.certificate : Ensure provider service is running --- 0.05s /WORKDIR/git-weekly-ci_6e67e8a/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:88 Assert... --------------------------------------------------------------- 0.04s /WORKDIR/git-weekly-ci_6e67e8a/tests/tests_wrong_provider.yml:24 -------------- fedora.linux_system_roles.certificate : Set version specific variables --- 0.03s /WORKDIR/git-weekly-ci_6e67e8a/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:2 ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- ---^---^---^---^---^---