# STDOUT: ---v---v---v---v---v--- ansible-playbook [core 2.16.0] 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.16/lib/python3.11/site-packages/ansible ansible collection location = /WORKDIR/git-weekly-cipp1edu3c/.collection executable location = /opt/ansible-2.16/bin/ansible-playbook python version = 3.11.5 (main, Sep 7 2023, 00:00:00) [GCC 11.4.1 20230605 (Red Hat 11.4.1-2)] (/opt/ansible-2.16/bin/python) 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_many_self_signed.yml ******************************************* 2 plays in /WORKDIR/git-weekly-cipp1edu3c/tests/tests_many_self_signed.yml PLAY [Issue many self-signed certificates] ************************************* TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-weekly-cipp1edu3c/tests/tests_many_self_signed.yml:2 Saturday 27 July 2024 14:02:44 +0000 (0:00:00.012) 0:00:00.012 ********* ok: [sut] TASK [fedora.linux_system_roles.certificate : Set version specific variables] *** task path: /WORKDIR/git-weekly-cipp1edu3c/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:2 Saturday 27 July 2024 14:02:45 +0000 (0:00:00.848) 0:00:00.860 ********* included: /WORKDIR/git-weekly-cipp1edu3c/.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-cipp1edu3c/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:2 Saturday 27 July 2024 14:02:45 +0000 (0:00:00.011) 0:00:00.872 ********* skipping: [sut] => { "changed": false, "false_condition": "__certificate_required_facts | difference(ansible_facts.keys() | list) | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.certificate : Check if system is ostree] ******* task path: /WORKDIR/git-weekly-cipp1edu3c/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:10 Saturday 27 July 2024 14:02:45 +0000 (0:00:00.016) 0:00:00.889 ********* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.certificate : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-weekly-cipp1edu3c/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:15 Saturday 27 July 2024 14:02:45 +0000 (0:00:00.181) 0:00:01.070 ********* ok: [sut] => { "ansible_facts": { "__certificate_is_ostree": false }, "changed": false } TASK [fedora.linux_system_roles.certificate : Set platform/version specific variables] *** task path: /WORKDIR/git-weekly-cipp1edu3c/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:19 Saturday 27 July 2024 14:02:45 +0000 (0:00:00.013) 0:00:01.083 ********* skipping: [sut] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "CentOS.yml", "skip_reason": "Conditional result was False" } ok: [sut] => (item=CentOS_7.yml) => { "ansible_facts": { "__certificate_default_directory": "/etc/pki/tls", "__certificate_packages": [ "python-pyasn1", "python-cryptography", "python-dbus" ] }, "ansible_included_var_files": [ "/WORKDIR/git-weekly-cipp1edu3c/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/vars/CentOS_7.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.yml" } skipping: [sut] => (item=CentOS_7.9.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "CentOS_7.9.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.certificate : Ensure certificate role dependencies are installed] *** task path: /WORKDIR/git-weekly-cipp1edu3c/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:5 Saturday 27 July 2024 14:02:45 +0000 (0:00:00.021) 0:00:01.105 ********* changed: [sut] => { "changed": true, "changes": { "installed": [ "python-pyasn1", "python-cryptography" ] }, "rc": 0, "results": [ "dbus-python-1.1.1-9.el7.x86_64 providing python-dbus is already installed", "Loaded plugins: fastestmirror\nLoading mirror speeds from cached hostfile\nResolving Dependencies\n--> Running transaction check\n---> Package python2-cryptography.x86_64 0:1.7.2-2.el7 will be installed\n--> Processing Dependency: python-idna >= 2.0 for package: python2-cryptography-1.7.2-2.el7.x86_64\n--> Processing Dependency: python-cffi >= 1.4.1 for package: python2-cryptography-1.7.2-2.el7.x86_64\n--> Processing Dependency: python-enum34 for package: python2-cryptography-1.7.2-2.el7.x86_64\n---> Package python2-pyasn1.noarch 0:0.1.9-7.el7 will be installed\n--> Running transaction check\n---> Package python-cffi.x86_64 0:1.6.0-5.el7 will be installed\n--> Processing Dependency: python-pycparser for package: python-cffi-1.6.0-5.el7.x86_64\n---> Package python-enum34.noarch 0:1.0.4-1.el7 will be installed\n---> Package python-idna.noarch 0:2.4-1.el7 will be installed\n--> Running transaction check\n---> Package python-pycparser.noarch 0:2.14-1.el7 will be installed\n--> Processing Dependency: python-ply for package: python-pycparser-2.14-1.el7.noarch\n--> Running transaction check\n---> Package python-ply.noarch 0:3.4-11.el7 will be installed\n--> Finished Dependency Resolution\n\nDependencies Resolved\n\n================================================================================\n Package Arch Version Repository Size\n================================================================================\nInstalling:\n python2-cryptography x86_64 1.7.2-2.el7 base 502 k\n python2-pyasn1 noarch 0.1.9-7.el7 base 100 k\nInstalling for dependencies:\n python-cffi x86_64 1.6.0-5.el7 base 218 k\n python-enum34 noarch 1.0.4-1.el7 base 52 k\n python-idna noarch 2.4-1.el7 base 94 k\n python-ply noarch 3.4-11.el7 base 123 k\n python-pycparser noarch 2.14-1.el7 base 104 k\n\nTransaction Summary\n================================================================================\nInstall 2 Packages (+5 Dependent packages)\n\nTotal download size: 1.2 M\nInstalled size: 6.1 M\nDownloading packages:\n--------------------------------------------------------------------------------\nTotal 3.8 MB/s | 1.2 MB 00:00 \nRunning transaction check\nRunning transaction test\nTransaction test succeeded\nRunning transaction\n Installing : python2-pyasn1-0.1.9-7.el7.noarch 1/7 \n Installing : python-enum34-1.0.4-1.el7.noarch 2/7 \n Installing : python-ply-3.4-11.el7.noarch 3/7 \n Installing : python-pycparser-2.14-1.el7.noarch 4/7 \n Installing : python-cffi-1.6.0-5.el7.x86_64 5/7 \n Installing : python-idna-2.4-1.el7.noarch 6/7 \n Installing : python2-cryptography-1.7.2-2.el7.x86_64 7/7 \n Verifying : python-idna-2.4-1.el7.noarch 1/7 \n Verifying : python-pycparser-2.14-1.el7.noarch 2/7 \n Verifying : python-ply-3.4-11.el7.noarch 3/7 \n Verifying : python-cffi-1.6.0-5.el7.x86_64 4/7 \n Verifying : python-enum34-1.0.4-1.el7.noarch 5/7 \n Verifying : python2-pyasn1-0.1.9-7.el7.noarch 6/7 \n Verifying : python2-cryptography-1.7.2-2.el7.x86_64 7/7 \n\nInstalled:\n python2-cryptography.x86_64 0:1.7.2-2.el7 python2-pyasn1.noarch 0:0.1.9-7.el7\n\nDependency Installed:\n python-cffi.x86_64 0:1.6.0-5.el7 python-enum34.noarch 0:1.0.4-1.el7 \n python-idna.noarch 0:2.4-1.el7 python-ply.noarch 0:3.4-11.el7 \n python-pycparser.noarch 0:2.14-1.el7 \n\nComplete!\n" ] } lsrpackages: python-cryptography python-dbus python-pyasn1 TASK [fedora.linux_system_roles.certificate : Ensure provider packages are installed] *** task path: /WORKDIR/git-weekly-cipp1edu3c/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:23 Saturday 27 July 2024 14:02:51 +0000 (0:00:06.187) 0:00:07.293 ********* changed: [sut] => (item=certmonger) => { "__certificate_provider": "certmonger", "ansible_loop_var": "__certificate_provider", "changed": true, "changes": { "installed": [ "certmonger" ] }, "rc": 0, "results": [ "Loaded plugins: fastestmirror\nLoading mirror speeds from cached hostfile\nResolving Dependencies\n--> Running transaction check\n---> Package certmonger.x86_64 0:0.78.4-17.el7_9 will be installed\n--> Processing Dependency: libtevent.so.0(TEVENT_0.9.9)(64bit) for package: certmonger-0.78.4-17.el7_9.x86_64\n--> Processing Dependency: libtalloc.so.2(TALLOC_2.0.2)(64bit) for package: certmonger-0.78.4-17.el7_9.x86_64\n--> Processing Dependency: libxmlrpc_util.so.3()(64bit) for package: certmonger-0.78.4-17.el7_9.x86_64\n--> Processing Dependency: libxmlrpc_client.so.3()(64bit) for package: certmonger-0.78.4-17.el7_9.x86_64\n--> Processing Dependency: libxmlrpc.so.3()(64bit) for package: certmonger-0.78.4-17.el7_9.x86_64\n--> Processing Dependency: libtevent.so.0()(64bit) for package: certmonger-0.78.4-17.el7_9.x86_64\n--> Processing Dependency: libtalloc.so.2()(64bit) for package: certmonger-0.78.4-17.el7_9.x86_64\n--> Running transaction check\n---> Package libtalloc.x86_64 0:2.1.16-1.el7 will be installed\n---> Package libtevent.x86_64 0:0.9.39-1.el7 will be installed\n---> Package xmlrpc-c.x86_64 0:1.32.5-1905.svn2451.el7 will be installed\n---> Package xmlrpc-c-client.x86_64 0:1.32.5-1905.svn2451.el7 will be installed\n--> Finished Dependency Resolution\n\nDependencies Resolved\n\n================================================================================\n Package Arch Version Repository Size\n================================================================================\nInstalling:\n certmonger x86_64 0.78.4-17.el7_9 updates 608 k\nInstalling for dependencies:\n libtalloc x86_64 2.1.16-1.el7 base 33 k\n libtevent x86_64 0.9.39-1.el7 base 41 k\n xmlrpc-c x86_64 1.32.5-1905.svn2451.el7 base 130 k\n xmlrpc-c-client x86_64 1.32.5-1905.svn2451.el7 base 32 k\n\nTransaction Summary\n================================================================================\nInstall 1 Package (+4 Dependent packages)\n\nTotal download size: 843 k\nInstalled size: 3.3 M\nDownloading packages:\n--------------------------------------------------------------------------------\nTotal 2.4 MB/s | 843 kB 00:00 \nRunning transaction check\nRunning transaction test\nTransaction test succeeded\nRunning transaction\n Installing : libtalloc-2.1.16-1.el7.x86_64 1/5 \n Installing : xmlrpc-c-1.32.5-1905.svn2451.el7.x86_64 2/5 \n Installing : xmlrpc-c-client-1.32.5-1905.svn2451.el7.x86_64 3/5 \n Installing : libtevent-0.9.39-1.el7.x86_64 4/5 \n Installing : certmonger-0.78.4-17.el7_9.x86_64 5/5 \n Verifying : xmlrpc-c-1.32.5-1905.svn2451.el7.x86_64 1/5 \n Verifying : libtalloc-2.1.16-1.el7.x86_64 2/5 \n Verifying : certmonger-0.78.4-17.el7_9.x86_64 3/5 \n Verifying : xmlrpc-c-client-1.32.5-1905.svn2451.el7.x86_64 4/5 \n Verifying : libtevent-0.9.39-1.el7.x86_64 5/5 \n\nInstalled:\n certmonger.x86_64 0:0.78.4-17.el7_9 \n\nDependency Installed:\n libtalloc.x86_64 0:2.1.16-1.el7 \n libtevent.x86_64 0:0.9.39-1.el7 \n xmlrpc-c.x86_64 0:1.32.5-1905.svn2451.el7 \n xmlrpc-c-client.x86_64 0:1.32.5-1905.svn2451.el7 \n\nComplete!\n" ] } lsrpackages: certmonger TASK [fedora.linux_system_roles.certificate : Ensure pre-scripts hooks directory exists] *** task path: /WORKDIR/git-weekly-cipp1edu3c/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:35 Saturday 27 July 2024 14:02:58 +0000 (0:00:06.676) 0:00:13.969 ********* changed: [sut] => (item=certmonger) => { "__certificate_provider": "certmonger", "ansible_loop_var": "__certificate_provider", "changed": true, "gid": 0, "group": "root", "mode": "0700", "owner": "root", "path": "/etc/certmonger//pre-scripts", "secontext": "unconfined_u:object_r:etc_t:s0", "size": 4096, "state": "directory", "uid": 0 } TASK [fedora.linux_system_roles.certificate : Ensure post-scripts hooks directory exists] *** task path: /WORKDIR/git-weekly-cipp1edu3c/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:61 Saturday 27 July 2024 14:02:58 +0000 (0:00:00.207) 0:00:14.176 ********* changed: [sut] => (item=certmonger) => { "__certificate_provider": "certmonger", "ansible_loop_var": "__certificate_provider", "changed": true, "gid": 0, "group": "root", "mode": "0700", "owner": "root", "path": "/etc/certmonger//post-scripts", "secontext": "unconfined_u:object_r:etc_t:s0", "size": 4096, "state": "directory", "uid": 0 } TASK [fedora.linux_system_roles.certificate : Ensure provider service is running] *** task path: /WORKDIR/git-weekly-cipp1edu3c/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:90 Saturday 27 July 2024 14:02:58 +0000 (0:00:00.142) 0:00:14.319 ********* changed: [sut] => (item=certmonger) => { "__certificate_provider": "certmonger", "ansible_loop_var": "__certificate_provider", "changed": true, "enabled": true, "name": "certmonger", "state": "started", "status": { "ActiveEnterTimestampMonotonic": "0", "ActiveExitTimestampMonotonic": "0", "ActiveState": "inactive", "After": "system.slice dbus.service syslog.target basic.target network.target systemd-journald.socket", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "no", "AssertTimestampMonotonic": "0", "Before": "shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "org.fedorahosted.certmonger", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "no", "ConditionTimestampMonotonic": "0", "Conflicts": "shutdown.target", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "Certificate monitoring and PKI enrollment", "DevicePolicy": "auto", "EnvironmentFile": "/etc/sysconfig/certmonger (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "0", "ExecMainStartTimestampMonotonic": "0", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/certmonger ; argv[]=/usr/sbin/certmonger -S -p /var/run/certmonger.pid -n $OPTS ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/certmonger.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "certmonger.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestampMonotonic": "0", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "4096", "LimitNPROC": "14311", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "14311", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "0", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "certmonger.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PIDFile": "/var/run/certmonger.pid", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "system.slice basic.target", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "dead", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "disabled", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.certificate : Ensure certificate requests] ***** task path: /WORKDIR/git-weekly-cipp1edu3c/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:101 Saturday 27 July 2024 14:02:59 +0000 (0:00:00.453) 0:00:14.772 ********* changed: [sut] => (item={'name': 'mycert_many_self_signed', 'dns': 'www.example.com', 'ca': 'self-sign'}) => { "ansible_loop_var": "item", "changed": true, "item": { "ca": "self-sign", "dns": "www.example.com", "name": "mycert_many_self_signed" } } MSG: Certificate requested (new). changed: [sut] => (item={'name': 'other-cert', 'dns': 'www.example.org', 'ca': 'self-sign'}) => { "ansible_loop_var": "item", "changed": true, "item": { "ca": "self-sign", "dns": "www.example.org", "name": "other-cert" } } MSG: Certificate requested (new). changed: [sut] => (item={'name': 'another-cert', 'dns': 'www.example.net', 'ca': 'self-sign'}) => { "ansible_loop_var": "item", "changed": true, "item": { "ca": "self-sign", "dns": "www.example.net", "name": "another-cert" } } MSG: Certificate requested (new). TASK [fedora.linux_system_roles.certificate : Slurp the contents of the files] *** task path: /WORKDIR/git-weekly-cipp1edu3c/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:152 Saturday 27 July 2024 14:03:01 +0000 (0:00:02.080) 0:00:16.853 ********* skipping: [sut] => (item=['cert', {'name': 'mycert_many_self_signed', 'dns': 'www.example.com', 'ca': 'self-sign'}]) => { "ansible_loop_var": "item", "changed": false, "false_condition": "certificate_test_mode | d(false)", "item": [ "cert", { "ca": "self-sign", "dns": "www.example.com", "name": "mycert_many_self_signed" } ], "skip_reason": "Conditional result was False" } skipping: [sut] => (item=['cert', {'name': 'other-cert', 'dns': 'www.example.org', 'ca': 'self-sign'}]) => { "ansible_loop_var": "item", "changed": false, "false_condition": "certificate_test_mode | d(false)", "item": [ "cert", { "ca": "self-sign", "dns": "www.example.org", "name": "other-cert" } ], "skip_reason": "Conditional result was False" } skipping: [sut] => (item=['cert', {'name': 'another-cert', 'dns': 'www.example.net', 'ca': 'self-sign'}]) => { "ansible_loop_var": "item", "changed": false, "false_condition": "certificate_test_mode | d(false)", "item": [ "cert", { "ca": "self-sign", "dns": "www.example.net", "name": "another-cert" } ], "skip_reason": "Conditional result was False" } skipping: [sut] => (item=['key', {'name': 'mycert_many_self_signed', 'dns': 'www.example.com', 'ca': 'self-sign'}]) => { "ansible_loop_var": "item", "changed": false, "false_condition": "certificate_test_mode | d(false)", "item": [ "key", { "ca": "self-sign", "dns": "www.example.com", "name": "mycert_many_self_signed" } ], "skip_reason": "Conditional result was False" } skipping: [sut] => (item=['key', {'name': 'other-cert', 'dns': 'www.example.org', 'ca': 'self-sign'}]) => { "ansible_loop_var": "item", "changed": false, "false_condition": "certificate_test_mode | d(false)", "item": [ "key", { "ca": "self-sign", "dns": "www.example.org", "name": "other-cert" } ], "skip_reason": "Conditional result was False" } skipping: [sut] => (item=['key', {'name': 'another-cert', 'dns': 'www.example.net', 'ca': 'self-sign'}]) => { "ansible_loop_var": "item", "changed": false, "false_condition": "certificate_test_mode | d(false)", "item": [ "key", { "ca": "self-sign", "dns": "www.example.net", "name": "another-cert" } ], "skip_reason": "Conditional result was False" } skipping: [sut] => (item=['ca', {'name': 'mycert_many_self_signed', 'dns': 'www.example.com', 'ca': 'self-sign'}]) => { "ansible_loop_var": "item", "changed": false, "false_condition": "certificate_test_mode | d(false)", "item": [ "ca", { "ca": "self-sign", "dns": "www.example.com", "name": "mycert_many_self_signed" } ], "skip_reason": "Conditional result was False" } skipping: [sut] => (item=['ca', {'name': 'other-cert', 'dns': 'www.example.org', 'ca': 'self-sign'}]) => { "ansible_loop_var": "item", "changed": false, "false_condition": "certificate_test_mode | d(false)", "item": [ "ca", { "ca": "self-sign", "dns": "www.example.org", "name": "other-cert" } ], "skip_reason": "Conditional result was False" } skipping: [sut] => (item=['ca', {'name': 'another-cert', 'dns': 'www.example.net', 'ca': 'self-sign'}]) => { "ansible_loop_var": "item", "changed": false, "false_condition": "certificate_test_mode | d(false)", "item": [ "ca", { "ca": "self-sign", "dns": "www.example.net", "name": "another-cert" } ], "skip_reason": "Conditional result was False" } skipping: [sut] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.certificate : Create return data] ************** task path: /WORKDIR/git-weekly-cipp1edu3c/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:160 Saturday 27 July 2024 14:03:01 +0000 (0:00:00.034) 0:00:16.888 ********* skipping: [sut] => { "changed": false, "false_condition": "certificate_test_mode | d(false)", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.certificate : Stop tracking certificates] ****** task path: /WORKDIR/git-weekly-cipp1edu3c/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:176 Saturday 27 July 2024 14:03:01 +0000 (0:00:00.016) 0:00:16.904 ********* skipping: [sut] => { "changed": false, "false_condition": "certificate_test_mode | d(false)", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.certificate : Remove files] ******************** task path: /WORKDIR/git-weekly-cipp1edu3c/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:181 Saturday 27 July 2024 14:03:01 +0000 (0:00:00.016) 0:00:16.921 ********* skipping: [sut] => { "changed": false, "false_condition": "certificate_test_mode | d(false)", "skip_reason": "Conditional result was False" } PLAY [Verify certificate] ****************************************************** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-weekly-cipp1edu3c/tests/tests_many_self_signed.yml:18 Saturday 27 July 2024 14:03:01 +0000 (0:00:00.026) 0:00:16.948 ********* ok: [sut] TASK [Verify each certificate] ************************************************* task path: /WORKDIR/git-weekly-cipp1edu3c/tests/tests_many_self_signed.yml:50 Saturday 27 July 2024 14:03:02 +0000 (0:00:00.586) 0:00:17.534 ********* included: /WORKDIR/git-weekly-cipp1edu3c/tests/tasks/assert_certificate_parameters.yml for sut => (item={'path': '/etc/pki/tls/certs/mycert_many_self_signed.crt', 'key_path': '/etc/pki/tls/private/mycert_many_self_signed.key', 'subject': [{'name': 'commonName', 'oid': '2.5.4.3', 'value': 'www.example.com'}], 'subject_alt_name': [{'name': 'DNS', 'value': 'www.example.com'}]}) included: /WORKDIR/git-weekly-cipp1edu3c/tests/tasks/assert_certificate_parameters.yml for sut => (item={'path': '/etc/pki/tls/certs/other-cert.crt', 'key_path': '/etc/pki/tls/private/other-cert.key', 'subject': [{'name': 'commonName', 'oid': '2.5.4.3', 'value': 'www.example.org'}], 'subject_alt_name': [{'name': 'DNS', 'value': 'www.example.org'}]}) included: /WORKDIR/git-weekly-cipp1edu3c/tests/tasks/assert_certificate_parameters.yml for sut => (item={'path': '/etc/pki/tls/certs/another-cert.crt', 'key_path': '/etc/pki/tls/private/another-cert.key', 'subject': [{'name': 'commonName', 'oid': '2.5.4.3', 'value': 'www.example.net'}], 'subject_alt_name': [{'name': 'DNS', 'value': 'www.example.net'}]}) TASK [Set virtualenv_path] ***************************************************** task path: /WORKDIR/git-weekly-cipp1edu3c/tests/tasks/assert_certificate_parameters.yml:2 Saturday 27 July 2024 14:03:02 +0000 (0:00:00.027) 0:00:17.562 ********* ok: [sut] => { "ansible_facts": { "__virtualenv_path": "/tmp/certificate-tests-venv" }, "changed": false } TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-weekly-cipp1edu3c/tests/tasks/assert_certificate_parameters.yml:9 Saturday 27 July 2024 14:03:02 +0000 (0:00:00.008) 0:00:17.570 ********* skipping: [sut] => { "changed": false, "false_condition": "not __certificate_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-weekly-cipp1edu3c/tests/tasks/assert_certificate_parameters.yml:14 Saturday 27 July 2024 14:03:02 +0000 (0:00:00.010) 0:00:17.581 ********* skipping: [sut] => { "changed": false, "false_condition": "not __certificate_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [Ensure python3 is installed] ********************************************* task path: /WORKDIR/git-weekly-cipp1edu3c/tests/tasks/assert_certificate_parameters.yml:18 Saturday 27 July 2024 14:03:02 +0000 (0:00:00.012) 0:00:17.593 ********* ok: [sut] => { "changed": false, "rc": 0, "results": [ "python2-cryptography-1.7.2-2.el7.x86_64 providing python2-cryptography is already installed", "python2-cryptography-1.7.2-2.el7.x86_64 providing python2-cryptography is already installed" ] } lsrpackages: python2-cryptography TASK [Ensure python3 is installed] ********************************************* task path: /WORKDIR/git-weekly-cipp1edu3c/tests/tasks/assert_certificate_parameters.yml:28 Saturday 27 July 2024 14:03:02 +0000 (0:00:00.354) 0:00:17.947 ********* skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version != \"7\"", "skip_reason": "Conditional result was False" } TASK [Retrieve certificate file stats] ***************************************** task path: /WORKDIR/git-weekly-cipp1edu3c/tests/tasks/assert_certificate_parameters.yml:38 Saturday 27 July 2024 14:03:02 +0000 (0:00:00.008) 0:00:17.956 ********* ok: [sut] => { "changed": false, "stat": { "atime": 1722088979.8466954, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "9bde4732761ada7efba6b740c3682d0599a0e040", "ctime": 1722088979.8416953, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 172754, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1722088979.8416953, "nlink": 1, "path": "/etc/pki/tls/certs/mycert_many_self_signed.crt", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 1294, "uid": 0, "version": "1353594373", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify if certificate file exists] *************************************** task path: /WORKDIR/git-weekly-cipp1edu3c/tests/tasks/assert_certificate_parameters.yml:43 Saturday 27 July 2024 14:03:02 +0000 (0:00:00.130) 0:00:18.086 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify certificate file owner and group] ********************************* task path: /WORKDIR/git-weekly-cipp1edu3c/tests/tasks/assert_certificate_parameters.yml:49 Saturday 27 July 2024 14:03:02 +0000 (0:00:00.010) 0:00:18.097 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify certificate permissions] ****************************************** task path: /WORKDIR/git-weekly-cipp1edu3c/tests/tasks/assert_certificate_parameters.yml:59 Saturday 27 July 2024 14:03:02 +0000 (0:00:00.020) 0:00:18.117 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Retrieve key file stats] ************************************************* task path: /WORKDIR/git-weekly-cipp1edu3c/tests/tasks/assert_certificate_parameters.yml:65 Saturday 27 July 2024 14:03:02 +0000 (0:00:00.018) 0:00:18.135 ********* ok: [sut] => { "changed": false, "stat": { "atime": 1722088979.8026953, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "6c02184dfa8ebf4361a1ef2dce575d4d3f854d45", "ctime": 1722088979.8416953, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 172753, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1722088979.8416953, "nlink": 1, "path": "/etc/pki/tls/private/mycert_many_self_signed.key", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 1704, "uid": 0, "version": "1353594360", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify if key file exists] *********************************************** task path: /WORKDIR/git-weekly-cipp1edu3c/tests/tasks/assert_certificate_parameters.yml:70 Saturday 27 July 2024 14:03:02 +0000 (0:00:00.130) 0:00:18.266 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify key file owner and group] ***************************************** task path: /WORKDIR/git-weekly-cipp1edu3c/tests/tasks/assert_certificate_parameters.yml:76 Saturday 27 July 2024 14:03:02 +0000 (0:00:00.009) 0:00:18.276 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Parse certificate] ******************************************************* task path: /WORKDIR/git-weekly-cipp1edu3c/tests/tasks/assert_certificate_parameters.yml:86 Saturday 27 July 2024 14:03:02 +0000 (0:00:00.020) 0:00:18.296 ********* ok: [sut] => { "certificate": { "extensions": { "authorityKeyIdentifier": { "critical": false, "value": "B4:9B:0B:D7:4E:60:90:1B:37:87:F4:56:3D:FD:9C:2A:02:81:0C:EC" }, "basicConstraints": { "critical": true, "value": { "ca": false } }, "extendedKeyUsage": { "critical": false, "value": [ { "name": "id-kp-serverAuth", "oid": "1.3.6.1.5.5.7.3.1" }, { "name": "id-kp-clientAuth", "oid": "1.3.6.1.5.5.7.3.2" } ] }, "keyUsage": { "critical": false, "value": [ "key_encipherment", "digital_signature" ] }, "subjectAltName": { "critical": false, "value": [ { "name": "DNS", "value": "www.example.com" } ] }, "subjectKeyIdentifier": { "critical": false, "value": "F7:C2:D2:C9:54:5A:D0:E2:29:D8:A9:3B:27:73:5E:61:CB:0B:33:28" } }, "key_size": 2048, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "58:62:C6:CC:68:E6:22:E1:BD:F4:BD:75:ED:C3:48:EF:A0:55:41:04:6A:98:E3:7F:C4:3C:A7:7E:05:28:92:16:A0:D7:61:F7:E8:C3:51:F3:4C:73:6D:51:F2:5E:EF:CA:CF:48:DB:14:58:FD:08:AA:E0:23:3C:9F:14:55:46:A1:F0:9D:2A:78:53:ED:13:64:72:2E:B1:CA:22:1F:68:88:2E:33:E8:EC:45:4E:41:B9:46:56:49:75:A8:F0:B6:DB:95:8B:2B:88:9D:C6:58:93:CC:03:52:E0:9D:EA:17:90:C8:B5:81:B0:F3:80:5C:0D:DA:56:FD:11:E4:A3:F3:75:67:4A:EF:16:67:55:C4:22:9B:8A:2C:A2:7B:AF:C6:21:63:4C:F6:F0:E3:22:D7:42:C0:98:76:B0:7D:E2:70:D7:21:18:3A:71:67:41:DF:13:87:63:83:1D:FC:52:31:F1:4B:38:2F:9C:0D:56:46:34:99:44:FA:6A:DD:03:08:80:A2:4A:4B:BE:DF:B4:28:C3:D9:31:91:08:C0:6F:2D:CC:6B:9D:D6:A8:ED:CF:01:98:6F:23:77:B9:58:DC:44:3A:86:FD:AF:86:CF:60:E6:8A:B8:B4:81:23:38:E6:AF:3F:BC:9C:55:7D:81:C7:1E:0F:61:F9:C8:60:BA:6D:AF:0D" }, "subject": [ { "name": "commonName", "oid": "2.5.4.3", "value": "www.example.com" } ], "validity": { "not_valid_after": "20250727140259Z", "not_valid_before": "20240727140259Z" } }, "changed": false } TASK [Load certificate YAML to cert_issued variable] *************************** task path: /WORKDIR/git-weekly-cipp1edu3c/tests/tasks/assert_certificate_parameters.yml:92 Saturday 27 July 2024 14:03:03 +0000 (0:00:00.417) 0:00:18.714 ********* ok: [sut] => { "ansible_facts": { "cert_issued": { "extensions": { "authorityKeyIdentifier": { "critical": false, "value": "B4:9B:0B:D7:4E:60:90:1B:37:87:F4:56:3D:FD:9C:2A:02:81:0C:EC" }, "basicConstraints": { "critical": true, "value": { "ca": false } }, "extendedKeyUsage": { "critical": false, "value": [ { "name": "id-kp-serverAuth", "oid": "1.3.6.1.5.5.7.3.1" }, { "name": "id-kp-clientAuth", "oid": "1.3.6.1.5.5.7.3.2" } ] }, "keyUsage": { "critical": false, "value": [ "key_encipherment", "digital_signature" ] }, "subjectAltName": { "critical": false, "value": [ { "name": "DNS", "value": "www.example.com" } ] }, "subjectKeyIdentifier": { "critical": false, "value": "F7:C2:D2:C9:54:5A:D0:E2:29:D8:A9:3B:27:73:5E:61:CB:0B:33:28" } }, "key_size": 2048, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "58:62:C6:CC:68:E6:22:E1:BD:F4:BD:75:ED:C3:48:EF:A0:55:41:04:6A:98:E3:7F:C4:3C:A7:7E:05:28:92:16:A0:D7:61:F7:E8:C3:51:F3:4C:73:6D:51:F2:5E:EF:CA:CF:48:DB:14:58:FD:08:AA:E0:23:3C:9F:14:55:46:A1:F0:9D:2A:78:53:ED:13:64:72:2E:B1:CA:22:1F:68:88:2E:33:E8:EC:45:4E:41:B9:46:56:49:75:A8:F0:B6:DB:95:8B:2B:88:9D:C6:58:93:CC:03:52:E0:9D:EA:17:90:C8:B5:81:B0:F3:80:5C:0D:DA:56:FD:11:E4:A3:F3:75:67:4A:EF:16:67:55:C4:22:9B:8A:2C:A2:7B:AF:C6:21:63:4C:F6:F0:E3:22:D7:42:C0:98:76:B0:7D:E2:70:D7:21:18:3A:71:67:41:DF:13:87:63:83:1D:FC:52:31:F1:4B:38:2F:9C:0D:56:46:34:99:44:FA:6A:DD:03:08:80:A2:4A:4B:BE:DF:B4:28:C3:D9:31:91:08:C0:6F:2D:CC:6B:9D:D6:A8:ED:CF:01:98:6F:23:77:B9:58:DC:44:3A:86:FD:AF:86:CF:60:E6:8A:B8:B4:81:23:38:E6:AF:3F:BC:9C:55:7D:81:C7:1E:0F:61:F9:C8:60:BA:6D:AF:0D" }, "subject": [ { "name": "commonName", "oid": "2.5.4.3", "value": "www.example.com" } ], "validity": { "not_valid_after": "20250727140259Z", "not_valid_before": "20240727140259Z" } } }, "changed": false } TASK [Verify certificate subject] ********************************************** task path: /WORKDIR/git-weekly-cipp1edu3c/tests/tasks/assert_certificate_parameters.yml:96 Saturday 27 July 2024 14:03:03 +0000 (0:00:00.011) 0:00:18.725 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify certificate SAN] ************************************************** task path: /WORKDIR/git-weekly-cipp1edu3c/tests/tasks/assert_certificate_parameters.yml:104 Saturday 27 July 2024 14:03:03 +0000 (0:00:00.019) 0:00:18.745 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify key size] ********************************************************* task path: /WORKDIR/git-weekly-cipp1edu3c/tests/tasks/assert_certificate_parameters.yml:112 Saturday 27 July 2024 14:03:03 +0000 (0:00:00.010) 0:00:18.755 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify certificate Key Usage] ******************************************** task path: /WORKDIR/git-weekly-cipp1edu3c/tests/tasks/assert_certificate_parameters.yml:119 Saturday 27 July 2024 14:03:03 +0000 (0:00:00.019) 0:00:18.775 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify certificate Extended Key Usage] *********************************** task path: /WORKDIR/git-weekly-cipp1edu3c/tests/tasks/assert_certificate_parameters.yml:130 Saturday 27 July 2024 14:03:03 +0000 (0:00:00.022) 0:00:18.797 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Retrieve auto-renew flag] ************************************************ task path: /WORKDIR/git-weekly-cipp1edu3c/tests/tasks/assert_certificate_parameters.yml:143 Saturday 27 July 2024 14:03:03 +0000 (0:00:00.022) 0:00:18.819 ********* ok: [sut] => { "changed": false, "cmd": "set -euo pipefail; getcert list -f /etc/pki/tls/certs/mycert_many_self_signed.crt | grep 'auto-renew' | sed 's/^\\s\\+auto-renew: //g'", "delta": "0:00:00.044621", "end": "2024-07-27 14:03:03.547340", "rc": 0, "start": "2024-07-27 14:03:03.502719" } STDOUT: yes TASK [Verify certificate auto-renew flag] ************************************** task path: /WORKDIR/git-weekly-cipp1edu3c/tests/tasks/assert_certificate_parameters.yml:152 Saturday 27 July 2024 14:03:03 +0000 (0:00:00.221) 0:00:19.041 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Set virtualenv_path] ***************************************************** task path: /WORKDIR/git-weekly-cipp1edu3c/tests/tasks/assert_certificate_parameters.yml:2 Saturday 27 July 2024 14:03:03 +0000 (0:00:00.019) 0:00:19.060 ********* ok: [sut] => { "ansible_facts": { "__virtualenv_path": "/tmp/certificate-tests-venv" }, "changed": false } TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-weekly-cipp1edu3c/tests/tasks/assert_certificate_parameters.yml:9 Saturday 27 July 2024 14:03:03 +0000 (0:00:00.007) 0:00:19.067 ********* skipping: [sut] => { "changed": false, "false_condition": "not __certificate_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-weekly-cipp1edu3c/tests/tasks/assert_certificate_parameters.yml:14 Saturday 27 July 2024 14:03:03 +0000 (0:00:00.010) 0:00:19.078 ********* skipping: [sut] => { "changed": false, "false_condition": "not __certificate_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [Ensure python3 is installed] ********************************************* task path: /WORKDIR/git-weekly-cipp1edu3c/tests/tasks/assert_certificate_parameters.yml:18 Saturday 27 July 2024 14:03:03 +0000 (0:00:00.009) 0:00:19.088 ********* ok: [sut] => { "changed": false, "rc": 0, "results": [ "python2-cryptography-1.7.2-2.el7.x86_64 providing python2-cryptography is already installed", "python2-cryptography-1.7.2-2.el7.x86_64 providing python2-cryptography is already installed" ] } lsrpackages: python2-cryptography TASK [Ensure python3 is installed] ********************************************* task path: /WORKDIR/git-weekly-cipp1edu3c/tests/tasks/assert_certificate_parameters.yml:28 Saturday 27 July 2024 14:03:03 +0000 (0:00:00.337) 0:00:19.425 ********* skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version != \"7\"", "skip_reason": "Conditional result was False" } TASK [Retrieve certificate file stats] ***************************************** task path: /WORKDIR/git-weekly-cipp1edu3c/tests/tasks/assert_certificate_parameters.yml:38 Saturday 27 July 2024 14:03:03 +0000 (0:00:00.008) 0:00:19.434 ********* ok: [sut] => { "changed": false, "stat": { "atime": 1722088980.2136962, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "f534aa073b5faff3345d94fdd170a1b885395f3a", "ctime": 1722088980.2096963, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 172756, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1722088980.2096963, "nlink": 1, "path": "/etc/pki/tls/certs/other-cert.crt", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 1294, "uid": 0, "version": "1353594410", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify if certificate file exists] *************************************** task path: /WORKDIR/git-weekly-cipp1edu3c/tests/tasks/assert_certificate_parameters.yml:43 Saturday 27 July 2024 14:03:04 +0000 (0:00:00.129) 0:00:19.563 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify certificate file owner and group] ********************************* task path: /WORKDIR/git-weekly-cipp1edu3c/tests/tasks/assert_certificate_parameters.yml:49 Saturday 27 July 2024 14:03:04 +0000 (0:00:00.010) 0:00:19.574 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify certificate permissions] ****************************************** task path: /WORKDIR/git-weekly-cipp1edu3c/tests/tasks/assert_certificate_parameters.yml:59 Saturday 27 July 2024 14:03:04 +0000 (0:00:00.019) 0:00:19.594 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Retrieve key file stats] ************************************************* task path: /WORKDIR/git-weekly-cipp1edu3c/tests/tasks/assert_certificate_parameters.yml:65 Saturday 27 July 2024 14:03:04 +0000 (0:00:00.017) 0:00:19.612 ********* ok: [sut] => { "changed": false, "stat": { "atime": 1722088980.1686962, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "e022ec2e8f04f23d6b4f8f891113e0e0b7b1b104", "ctime": 1722088980.2096963, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 172755, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1722088980.2096963, "nlink": 1, "path": "/etc/pki/tls/private/other-cert.key", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 1704, "uid": 0, "version": "1353594397", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify if key file exists] *********************************************** task path: /WORKDIR/git-weekly-cipp1edu3c/tests/tasks/assert_certificate_parameters.yml:70 Saturday 27 July 2024 14:03:04 +0000 (0:00:00.127) 0:00:19.739 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify key file owner and group] ***************************************** task path: /WORKDIR/git-weekly-cipp1edu3c/tests/tasks/assert_certificate_parameters.yml:76 Saturday 27 July 2024 14:03:04 +0000 (0:00:00.010) 0:00:19.750 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Parse certificate] ******************************************************* task path: /WORKDIR/git-weekly-cipp1edu3c/tests/tasks/assert_certificate_parameters.yml:86 Saturday 27 July 2024 14:03:04 +0000 (0:00:00.019) 0:00:19.770 ********* ok: [sut] => { "certificate": { "extensions": { "authorityKeyIdentifier": { "critical": false, "value": "B4:9B:0B:D7:4E:60:90:1B:37:87:F4:56:3D:FD:9C:2A:02:81:0C:EC" }, "basicConstraints": { "critical": true, "value": { "ca": false } }, "extendedKeyUsage": { "critical": false, "value": [ { "name": "id-kp-serverAuth", "oid": "1.3.6.1.5.5.7.3.1" }, { "name": "id-kp-clientAuth", "oid": "1.3.6.1.5.5.7.3.2" } ] }, "keyUsage": { "critical": false, "value": [ "key_encipherment", "digital_signature" ] }, "subjectAltName": { "critical": false, "value": [ { "name": "DNS", "value": "www.example.org" } ] }, "subjectKeyIdentifier": { "critical": false, "value": "B3:29:9E:57:A3:4C:6F:FB:E0:44:32:7A:A0:31:2A:10:15:39:81:80" } }, "key_size": 2048, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "01:C9:29:06:EA:3E:9D:1D:F2:82:9B:BF:79:EE:AE:18:42:7F:41:E8:A0:DB:8C:4F:CA:DD:B6:60:00:65:2B:BE:DF:B9:C5:FA:0D:E2:BD:5A:11:A5:2D:82:87:CB:67:63:D6:3B:A1:97:A1:0E:CF:59:BD:C2:28:29:D1:29:75:FF:C3:5A:AF:EA:64:78:4F:72:10:65:56:50:B7:4F:3B:02:D4:0A:D8:AA:6B:D0:8F:CC:90:91:12:E7:D8:7C:02:DF:B0:E1:D4:CC:A1:12:CC:75:EA:9D:70:80:21:72:C4:08:2E:01:5A:7F:FC:62:00:46:20:C1:5B:A5:9F:F7:8D:5A:78:62:CA:66:15:B9:DA:EB:D3:FF:24:04:9B:B9:DD:82:67:4A:11:72:13:90:7E:62:39:76:83:CF:E1:D9:F5:19:B3:FD:B3:98:F7:D7:9D:49:67:74:1A:51:2F:2D:63:B5:1A:BD:9D:02:0C:8B:D7:76:5F:FD:23:91:43:93:9B:83:A3:BC:C7:D4:4C:16:B7:01:EF:CB:3B:05:55:02:FB:31:AF:53:65:B5:28:76:DA:FD:9F:AB:AB:85:6E:DA:8E:F4:CA:12:6F:D2:22:82:13:5F:63:6A:AF:23:57:50:07:C1:B3:06:99:04:34:33:97:DB:2A:75:00:4E:40:C1:37:46" }, "subject": [ { "name": "commonName", "oid": "2.5.4.3", "value": "www.example.org" } ], "validity": { "not_valid_after": "20250727140259Z", "not_valid_before": "20240727140300Z" } }, "changed": false } TASK [Load certificate YAML to cert_issued variable] *************************** task path: /WORKDIR/git-weekly-cipp1edu3c/tests/tasks/assert_certificate_parameters.yml:92 Saturday 27 July 2024 14:03:04 +0000 (0:00:00.182) 0:00:19.953 ********* ok: [sut] => { "ansible_facts": { "cert_issued": { "extensions": { "authorityKeyIdentifier": { "critical": false, "value": "B4:9B:0B:D7:4E:60:90:1B:37:87:F4:56:3D:FD:9C:2A:02:81:0C:EC" }, "basicConstraints": { "critical": true, "value": { "ca": false } }, "extendedKeyUsage": { "critical": false, "value": [ { "name": "id-kp-serverAuth", "oid": "1.3.6.1.5.5.7.3.1" }, { "name": "id-kp-clientAuth", "oid": "1.3.6.1.5.5.7.3.2" } ] }, "keyUsage": { "critical": false, "value": [ "key_encipherment", "digital_signature" ] }, "subjectAltName": { "critical": false, "value": [ { "name": "DNS", "value": "www.example.org" } ] }, "subjectKeyIdentifier": { "critical": false, "value": "B3:29:9E:57:A3:4C:6F:FB:E0:44:32:7A:A0:31:2A:10:15:39:81:80" } }, "key_size": 2048, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "01:C9:29:06:EA:3E:9D:1D:F2:82:9B:BF:79:EE:AE:18:42:7F:41:E8:A0:DB:8C:4F:CA:DD:B6:60:00:65:2B:BE:DF:B9:C5:FA:0D:E2:BD:5A:11:A5:2D:82:87:CB:67:63:D6:3B:A1:97:A1:0E:CF:59:BD:C2:28:29:D1:29:75:FF:C3:5A:AF:EA:64:78:4F:72:10:65:56:50:B7:4F:3B:02:D4:0A:D8:AA:6B:D0:8F:CC:90:91:12:E7:D8:7C:02:DF:B0:E1:D4:CC:A1:12:CC:75:EA:9D:70:80:21:72:C4:08:2E:01:5A:7F:FC:62:00:46:20:C1:5B:A5:9F:F7:8D:5A:78:62:CA:66:15:B9:DA:EB:D3:FF:24:04:9B:B9:DD:82:67:4A:11:72:13:90:7E:62:39:76:83:CF:E1:D9:F5:19:B3:FD:B3:98:F7:D7:9D:49:67:74:1A:51:2F:2D:63:B5:1A:BD:9D:02:0C:8B:D7:76:5F:FD:23:91:43:93:9B:83:A3:BC:C7:D4:4C:16:B7:01:EF:CB:3B:05:55:02:FB:31:AF:53:65:B5:28:76:DA:FD:9F:AB:AB:85:6E:DA:8E:F4:CA:12:6F:D2:22:82:13:5F:63:6A:AF:23:57:50:07:C1:B3:06:99:04:34:33:97:DB:2A:75:00:4E:40:C1:37:46" }, "subject": [ { "name": "commonName", "oid": "2.5.4.3", "value": "www.example.org" } ], "validity": { "not_valid_after": "20250727140259Z", "not_valid_before": "20240727140300Z" } } }, "changed": false } TASK [Verify certificate subject] ********************************************** task path: /WORKDIR/git-weekly-cipp1edu3c/tests/tasks/assert_certificate_parameters.yml:96 Saturday 27 July 2024 14:03:04 +0000 (0:00:00.010) 0:00:19.964 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify certificate SAN] ************************************************** task path: /WORKDIR/git-weekly-cipp1edu3c/tests/tasks/assert_certificate_parameters.yml:104 Saturday 27 July 2024 14:03:04 +0000 (0:00:00.018) 0:00:19.982 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify key size] ********************************************************* task path: /WORKDIR/git-weekly-cipp1edu3c/tests/tasks/assert_certificate_parameters.yml:112 Saturday 27 July 2024 14:03:04 +0000 (0:00:00.010) 0:00:19.993 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify certificate Key Usage] ******************************************** task path: /WORKDIR/git-weekly-cipp1edu3c/tests/tasks/assert_certificate_parameters.yml:119 Saturday 27 July 2024 14:03:04 +0000 (0:00:00.018) 0:00:20.011 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify certificate Extended Key Usage] *********************************** task path: /WORKDIR/git-weekly-cipp1edu3c/tests/tasks/assert_certificate_parameters.yml:130 Saturday 27 July 2024 14:03:04 +0000 (0:00:00.020) 0:00:20.031 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Retrieve auto-renew flag] ************************************************ task path: /WORKDIR/git-weekly-cipp1edu3c/tests/tasks/assert_certificate_parameters.yml:143 Saturday 27 July 2024 14:03:04 +0000 (0:00:00.020) 0:00:20.052 ********* ok: [sut] => { "changed": false, "cmd": "set -euo pipefail; getcert list -f /etc/pki/tls/certs/other-cert.crt | grep 'auto-renew' | sed 's/^\\s\\+auto-renew: //g'", "delta": "0:00:00.044232", "end": "2024-07-27 14:03:04.718710", "rc": 0, "start": "2024-07-27 14:03:04.674478" } STDOUT: yes TASK [Verify certificate auto-renew flag] ************************************** task path: /WORKDIR/git-weekly-cipp1edu3c/tests/tasks/assert_certificate_parameters.yml:152 Saturday 27 July 2024 14:03:04 +0000 (0:00:00.160) 0:00:20.212 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Set virtualenv_path] ***************************************************** task path: /WORKDIR/git-weekly-cipp1edu3c/tests/tasks/assert_certificate_parameters.yml:2 Saturday 27 July 2024 14:03:04 +0000 (0:00:00.020) 0:00:20.232 ********* ok: [sut] => { "ansible_facts": { "__virtualenv_path": "/tmp/certificate-tests-venv" }, "changed": false } TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-weekly-cipp1edu3c/tests/tasks/assert_certificate_parameters.yml:9 Saturday 27 July 2024 14:03:04 +0000 (0:00:00.010) 0:00:20.242 ********* skipping: [sut] => { "changed": false, "false_condition": "not __certificate_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-weekly-cipp1edu3c/tests/tasks/assert_certificate_parameters.yml:14 Saturday 27 July 2024 14:03:04 +0000 (0:00:00.010) 0:00:20.252 ********* skipping: [sut] => { "changed": false, "false_condition": "not __certificate_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [Ensure python3 is installed] ********************************************* task path: /WORKDIR/git-weekly-cipp1edu3c/tests/tasks/assert_certificate_parameters.yml:18 Saturday 27 July 2024 14:03:04 +0000 (0:00:00.010) 0:00:20.263 ********* ok: [sut] => { "changed": false, "rc": 0, "results": [ "python2-cryptography-1.7.2-2.el7.x86_64 providing python2-cryptography is already installed", "python2-cryptography-1.7.2-2.el7.x86_64 providing python2-cryptography is already installed" ] } lsrpackages: python2-cryptography TASK [Ensure python3 is installed] ********************************************* task path: /WORKDIR/git-weekly-cipp1edu3c/tests/tasks/assert_certificate_parameters.yml:28 Saturday 27 July 2024 14:03:05 +0000 (0:00:00.327) 0:00:20.590 ********* skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version != \"7\"", "skip_reason": "Conditional result was False" } TASK [Retrieve certificate file stats] ***************************************** task path: /WORKDIR/git-weekly-cipp1edu3c/tests/tasks/assert_certificate_parameters.yml:38 Saturday 27 July 2024 14:03:05 +0000 (0:00:00.008) 0:00:20.598 ********* ok: [sut] => { "changed": false, "stat": { "atime": 1722088981.296699, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "51d973847d20c687b6dee6d4a50e1d006ea64b24", "ctime": 1722088981.288699, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 172758, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1722088981.288699, "nlink": 1, "path": "/etc/pki/tls/certs/another-cert.crt", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 1294, "uid": 0, "version": "1353594446", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify if certificate file exists] *************************************** task path: /WORKDIR/git-weekly-cipp1edu3c/tests/tasks/assert_certificate_parameters.yml:43 Saturday 27 July 2024 14:03:05 +0000 (0:00:00.128) 0:00:20.727 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify certificate file owner and group] ********************************* task path: /WORKDIR/git-weekly-cipp1edu3c/tests/tasks/assert_certificate_parameters.yml:49 Saturday 27 July 2024 14:03:05 +0000 (0:00:00.010) 0:00:20.737 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify certificate permissions] ****************************************** task path: /WORKDIR/git-weekly-cipp1edu3c/tests/tasks/assert_certificate_parameters.yml:59 Saturday 27 July 2024 14:03:05 +0000 (0:00:00.019) 0:00:20.757 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Retrieve key file stats] ************************************************* task path: /WORKDIR/git-weekly-cipp1edu3c/tests/tasks/assert_certificate_parameters.yml:65 Saturday 27 July 2024 14:03:05 +0000 (0:00:00.018) 0:00:20.775 ********* ok: [sut] => { "changed": false, "stat": { "atime": 1722088981.247699, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "b11d9b47394768d4ff8061b62ccfa3da21548d8d", "ctime": 1722088981.287699, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 172757, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1722088981.287699, "nlink": 1, "path": "/etc/pki/tls/private/another-cert.key", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 1708, "uid": 0, "version": "1353594433", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify if key file exists] *********************************************** task path: /WORKDIR/git-weekly-cipp1edu3c/tests/tasks/assert_certificate_parameters.yml:70 Saturday 27 July 2024 14:03:05 +0000 (0:00:00.127) 0:00:20.903 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify key file owner and group] ***************************************** task path: /WORKDIR/git-weekly-cipp1edu3c/tests/tasks/assert_certificate_parameters.yml:76 Saturday 27 July 2024 14:03:05 +0000 (0:00:00.010) 0:00:20.914 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Parse certificate] ******************************************************* task path: /WORKDIR/git-weekly-cipp1edu3c/tests/tasks/assert_certificate_parameters.yml:86 Saturday 27 July 2024 14:03:05 +0000 (0:00:00.019) 0:00:20.934 ********* ok: [sut] => { "certificate": { "extensions": { "authorityKeyIdentifier": { "critical": false, "value": "B4:9B:0B:D7:4E:60:90:1B:37:87:F4:56:3D:FD:9C:2A:02:81:0C:EC" }, "basicConstraints": { "critical": true, "value": { "ca": false } }, "extendedKeyUsage": { "critical": false, "value": [ { "name": "id-kp-serverAuth", "oid": "1.3.6.1.5.5.7.3.1" }, { "name": "id-kp-clientAuth", "oid": "1.3.6.1.5.5.7.3.2" } ] }, "keyUsage": { "critical": false, "value": [ "key_encipherment", "digital_signature" ] }, "subjectAltName": { "critical": false, "value": [ { "name": "DNS", "value": "www.example.net" } ] }, "subjectKeyIdentifier": { "critical": false, "value": "00:43:87:6D:94:6C:BA:10:FB:7A:C4:F0:48:5D:CA:65:23:C5:65:DF" } }, "key_size": 2048, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "39:EC:CE:CF:B2:D6:37:DA:0D:4C:B2:38:3E:8D:75:68:65:92:F3:B8:4C:98:96:6B:3F:9F:B8:EE:27:E0:EC:23:36:28:06:3A:D3:A8:16:0D:47:6D:2B:2B:81:B9:25:2D:D8:B5:6C:73:CD:B1:60:65:09:31:35:8F:E3:87:63:69:61:30:FE:F3:D3:91:A5:4E:DB:A0:18:CD:7F:9B:F7:06:60:48:BA:C2:4C:75:F2:E4:04:AF:DA:EB:4D:61:CB:A0:D6:ED:65:75:2C:AA:2B:68:02:18:95:26:EA:DD:4A:CF:2C:2C:DA:77:DE:18:46:6A:54:9B:6D:44:77:23:2B:84:D9:81:19:91:E7:C5:EB:7B:CE:89:47:EB:92:43:77:80:91:88:2F:11:E7:E7:DF:9E:5A:FD:89:DE:6A:55:35:B1:34:AA:50:3C:6E:83:22:8D:01:14:F2:6D:38:25:5E:8F:7E:66:26:60:C6:69:46:31:9A:FA:ED:CA:69:FF:99:FD:21:87:9F:D0:DF:12:83:BA:EB:F7:C2:0F:DF:12:A6:D5:36:7E:CB:2D:7A:68:29:D4:81:F9:98:6E:C5:3B:82:00:60:7B:F6:D7:C2:05:ED:74:9A:BE:BD:1A:FC:50:0F:34:ED:10:16:80:1C:79:EE:55:61:24:D8:E7:01:3D:0B:72" }, "subject": [ { "name": "commonName", "oid": "2.5.4.3", "value": "www.example.net" } ], "validity": { "not_valid_after": "20250727140259Z", "not_valid_before": "20240727140301Z" } }, "changed": false } TASK [Load certificate YAML to cert_issued variable] *************************** task path: /WORKDIR/git-weekly-cipp1edu3c/tests/tasks/assert_certificate_parameters.yml:92 Saturday 27 July 2024 14:03:05 +0000 (0:00:00.189) 0:00:21.123 ********* ok: [sut] => { "ansible_facts": { "cert_issued": { "extensions": { "authorityKeyIdentifier": { "critical": false, "value": "B4:9B:0B:D7:4E:60:90:1B:37:87:F4:56:3D:FD:9C:2A:02:81:0C:EC" }, "basicConstraints": { "critical": true, "value": { "ca": false } }, "extendedKeyUsage": { "critical": false, "value": [ { "name": "id-kp-serverAuth", "oid": "1.3.6.1.5.5.7.3.1" }, { "name": "id-kp-clientAuth", "oid": "1.3.6.1.5.5.7.3.2" } ] }, "keyUsage": { "critical": false, "value": [ "key_encipherment", "digital_signature" ] }, "subjectAltName": { "critical": false, "value": [ { "name": "DNS", "value": "www.example.net" } ] }, "subjectKeyIdentifier": { "critical": false, "value": "00:43:87:6D:94:6C:BA:10:FB:7A:C4:F0:48:5D:CA:65:23:C5:65:DF" } }, "key_size": 2048, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "39:EC:CE:CF:B2:D6:37:DA:0D:4C:B2:38:3E:8D:75:68:65:92:F3:B8:4C:98:96:6B:3F:9F:B8:EE:27:E0:EC:23:36:28:06:3A:D3:A8:16:0D:47:6D:2B:2B:81:B9:25:2D:D8:B5:6C:73:CD:B1:60:65:09:31:35:8F:E3:87:63:69:61:30:FE:F3:D3:91:A5:4E:DB:A0:18:CD:7F:9B:F7:06:60:48:BA:C2:4C:75:F2:E4:04:AF:DA:EB:4D:61:CB:A0:D6:ED:65:75:2C:AA:2B:68:02:18:95:26:EA:DD:4A:CF:2C:2C:DA:77:DE:18:46:6A:54:9B:6D:44:77:23:2B:84:D9:81:19:91:E7:C5:EB:7B:CE:89:47:EB:92:43:77:80:91:88:2F:11:E7:E7:DF:9E:5A:FD:89:DE:6A:55:35:B1:34:AA:50:3C:6E:83:22:8D:01:14:F2:6D:38:25:5E:8F:7E:66:26:60:C6:69:46:31:9A:FA:ED:CA:69:FF:99:FD:21:87:9F:D0:DF:12:83:BA:EB:F7:C2:0F:DF:12:A6:D5:36:7E:CB:2D:7A:68:29:D4:81:F9:98:6E:C5:3B:82:00:60:7B:F6:D7:C2:05:ED:74:9A:BE:BD:1A:FC:50:0F:34:ED:10:16:80:1C:79:EE:55:61:24:D8:E7:01:3D:0B:72" }, "subject": [ { "name": "commonName", "oid": "2.5.4.3", "value": "www.example.net" } ], "validity": { "not_valid_after": "20250727140259Z", "not_valid_before": "20240727140301Z" } } }, "changed": false } TASK [Verify certificate subject] ********************************************** task path: /WORKDIR/git-weekly-cipp1edu3c/tests/tasks/assert_certificate_parameters.yml:96 Saturday 27 July 2024 14:03:05 +0000 (0:00:00.010) 0:00:21.134 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify certificate SAN] ************************************************** task path: /WORKDIR/git-weekly-cipp1edu3c/tests/tasks/assert_certificate_parameters.yml:104 Saturday 27 July 2024 14:03:05 +0000 (0:00:00.018) 0:00:21.153 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify key size] ********************************************************* task path: /WORKDIR/git-weekly-cipp1edu3c/tests/tasks/assert_certificate_parameters.yml:112 Saturday 27 July 2024 14:03:05 +0000 (0:00:00.010) 0:00:21.163 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify certificate Key Usage] ******************************************** task path: /WORKDIR/git-weekly-cipp1edu3c/tests/tasks/assert_certificate_parameters.yml:119 Saturday 27 July 2024 14:03:05 +0000 (0:00:00.017) 0:00:21.181 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify certificate Extended Key Usage] *********************************** task path: /WORKDIR/git-weekly-cipp1edu3c/tests/tasks/assert_certificate_parameters.yml:130 Saturday 27 July 2024 14:03:05 +0000 (0:00:00.020) 0:00:21.201 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Retrieve auto-renew flag] ************************************************ task path: /WORKDIR/git-weekly-cipp1edu3c/tests/tasks/assert_certificate_parameters.yml:143 Saturday 27 July 2024 14:03:05 +0000 (0:00:00.019) 0:00:21.221 ********* ok: [sut] => { "changed": false, "cmd": "set -euo pipefail; getcert list -f /etc/pki/tls/certs/another-cert.crt | grep 'auto-renew' | sed 's/^\\s\\+auto-renew: //g'", "delta": "0:00:00.041647", "end": "2024-07-27 14:03:05.899776", "rc": 0, "start": "2024-07-27 14:03:05.858129" } STDOUT: yes TASK [Verify certificate auto-renew flag] ************************************** task path: /WORKDIR/git-weekly-cipp1edu3c/tests/tasks/assert_certificate_parameters.yml:152 Saturday 27 July 2024 14:03:05 +0000 (0:00:00.172) 0:00:21.394 ********* ok: [sut] => { "changed": false } MSG: All assertions passed PLAY RECAP ********************************************************************* sut : ok=69 changed=6 unreachable=0 failed=0 skipped=14 rescued=0 ignored=0 Saturday 27 July 2024 14:03:05 +0000 (0:00:00.025) 0:00:21.419 ********* =============================================================================== fedora.linux_system_roles.certificate : Ensure provider packages are installed --- 6.68s /WORKDIR/git-weekly-cipp1edu3c/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:23 fedora.linux_system_roles.certificate : Ensure certificate role dependencies are installed --- 6.19s /WORKDIR/git-weekly-cipp1edu3c/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:5 fedora.linux_system_roles.certificate : Ensure certificate requests ----- 2.08s /WORKDIR/git-weekly-cipp1edu3c/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:101 Gathering Facts --------------------------------------------------------- 0.85s /WORKDIR/git-weekly-cipp1edu3c/tests/tests_many_self_signed.yml:2 ------------- Gathering Facts --------------------------------------------------------- 0.59s /WORKDIR/git-weekly-cipp1edu3c/tests/tests_many_self_signed.yml:18 ------------ fedora.linux_system_roles.certificate : Ensure provider service is running --- 0.45s /WORKDIR/git-weekly-cipp1edu3c/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:90 Parse certificate ------------------------------------------------------- 0.42s /WORKDIR/git-weekly-cipp1edu3c/tests/tasks/assert_certificate_parameters.yml:86 Ensure python3 is installed --------------------------------------------- 0.35s /WORKDIR/git-weekly-cipp1edu3c/tests/tasks/assert_certificate_parameters.yml:18 Ensure python3 is installed --------------------------------------------- 0.34s /WORKDIR/git-weekly-cipp1edu3c/tests/tasks/assert_certificate_parameters.yml:18 Ensure python3 is installed --------------------------------------------- 0.33s /WORKDIR/git-weekly-cipp1edu3c/tests/tasks/assert_certificate_parameters.yml:18 Retrieve auto-renew flag ------------------------------------------------ 0.22s /WORKDIR/git-weekly-cipp1edu3c/tests/tasks/assert_certificate_parameters.yml:143 fedora.linux_system_roles.certificate : Ensure pre-scripts hooks directory exists --- 0.21s /WORKDIR/git-weekly-cipp1edu3c/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:35 Parse certificate ------------------------------------------------------- 0.19s /WORKDIR/git-weekly-cipp1edu3c/tests/tasks/assert_certificate_parameters.yml:86 Parse certificate ------------------------------------------------------- 0.18s /WORKDIR/git-weekly-cipp1edu3c/tests/tasks/assert_certificate_parameters.yml:86 fedora.linux_system_roles.certificate : Check if system is ostree ------- 0.18s /WORKDIR/git-weekly-cipp1edu3c/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:10 Retrieve auto-renew flag ------------------------------------------------ 0.17s /WORKDIR/git-weekly-cipp1edu3c/tests/tasks/assert_certificate_parameters.yml:143 Retrieve auto-renew flag ------------------------------------------------ 0.16s /WORKDIR/git-weekly-cipp1edu3c/tests/tasks/assert_certificate_parameters.yml:143 fedora.linux_system_roles.certificate : Ensure post-scripts hooks directory exists --- 0.14s /WORKDIR/git-weekly-cipp1edu3c/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:61 Retrieve key file stats ------------------------------------------------- 0.13s /WORKDIR/git-weekly-cipp1edu3c/tests/tasks/assert_certificate_parameters.yml:65 Retrieve certificate file stats ----------------------------------------- 0.13s /WORKDIR/git-weekly-cipp1edu3c/tests/tasks/assert_certificate_parameters.yml:38 ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- [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. ---^---^---^---^---^---