Create pki_dir structure only when deployed #1176
Annotations
10 errors
vendor/bundle/ruby/3.2.0/gems/voxpupuli-acceptance-2.4.0/lib/voxpupuli/acceptance/examples.rb#L4
certs::apache with default parameters behaves like an idempotent resource applies with no errors
Failure/Error: raise CommandFailure, "Host '#{self}' exited with #{result.exit_code} running:\n #{cmdline}\nLast #{@options[:trace_limit]} lines of output were:\n#{result.formatted_output(@options[:trace_limit])}"
Beaker::Host::CommandFailure:
Host 'centos8-64-puppet8.example.com' exited with 6 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_122701519.pp.8j3DPX
Last 10 lines of output were:
Info: Class[Certs::Ca]: Unscheduling all events on Class[Certs::Ca]
Info: Class[Certs]: Unscheduling all events on Class[Certs]
Error: /Stage[main]/Certs::Ca/File[/etc/pki/katello/certs/katello-server-ca.crt]: Could not evaluate: Could not retrieve information from environment production source(s) file:///root/ssl-build/katello-server-ca.crt
�[mNotice: /Stage[main]/Certs::Apache/Cert[centos8-64-puppet8.example.com-apache]: Dependency Ca[katello-default-ca] has failures: true
Info: Stage[main]: Unscheduling all events on Stage[main]
Warning: /Stage[main]/Certs::Apache/Cert[centos8-64-puppet8.example.com-apache]: Skipping because of failed dependencies
Warning: /Stage[main]/Certs::Apache/Certs::Keypair[centos8-64-puppet8.example.com-apache]/Private_key[/etc/pki/katello/private/katello-apache.key]: Skipping because of failed dependencies
Warning: /Stage[main]/Certs::Apache/Certs::Keypair[centos8-64-puppet8.example.com-apache]/File[/etc/pki/katello/private/katello-apache.key]: Skipping because of failed dependencies
Warning: /Stage[main]/Certs::Apache/Certs::Keypair[centos8-64-puppet8.example.com-apache]/File[/etc/pki/katello/certs/katello-apache.crt]: Skipping because of failed dependencies
�[mNotice: Applied catalog in 6.04 seconds
Shared Example Group: "an idempotent resource" called from ./spec/acceptance/apache_spec.rb:14
|
vendor/bundle/ruby/3.2.0/gems/voxpupuli-acceptance-2.4.0/lib/voxpupuli/acceptance/examples.rb#L8
certs::apache with default parameters behaves like an idempotent resource applies a second time without changes
Failure/Error: raise CommandFailure, "Host '#{self}' exited with #{result.exit_code} running:\n #{cmdline}\nLast #{@options[:trace_limit]} lines of output were:\n#{result.formatted_output(@options[:trace_limit])}"
Beaker::Host::CommandFailure:
Host 'centos8-64-puppet8.example.com' exited with 4 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_122711832.pp.FRixVT
Last 10 lines of output were:
Error: /Stage[main]/Certs::Ca/Ca[katello-server-ca]: Could not evaluate: undefined method `exists?' for File:Class
Warning: /Stage[main]/Certs::Ca/File[/root/ssl-build/KATELLO-TRUSTED-SSL-CERT]: Skipping because of failed dependencies
Error: /Stage[main]/Certs::Ca/File[/etc/pki/katello/certs/katello-default-ca.crt]: Could not evaluate: Could not retrieve information from environment production source(s) file:///root/ssl-build/katello-default-ca.crt
�[mNotice: /Stage[main]/Certs::Apache/Cert[centos8-64-puppet8.example.com-apache]: Dependency Ca[katello-default-ca] has failures: true
Error: /Stage[main]/Certs::Ca/File[/etc/pki/katello/certs/katello-server-ca.crt]: Could not evaluate: Could not retrieve information from environment production source(s) file:///root/ssl-build/katello-server-ca.crt
Warning: /Stage[main]/Certs::Apache/Cert[centos8-64-puppet8.example.com-apache]: Skipping because of failed dependencies
Warning: /Stage[main]/Certs::Apache/Certs::Keypair[centos8-64-puppet8.example.com-apache]/Private_key[/etc/pki/katello/private/katello-apache.key]: Skipping because of failed dependencies
Warning: /Stage[main]/Certs::Apache/Certs::Keypair[centos8-64-puppet8.example.com-apache]/File[/etc/pki/katello/private/katello-apache.key]: Skipping because of failed dependencies
Warning: /Stage[main]/Certs::Apache/Certs::Keypair[centos8-64-puppet8.example.com-apache]/File[/etc/pki/katello/certs/katello-apache.crt]: Skipping because of failed dependencies
�[mNotice: Applied catalog in 0.11 seconds
Shared Example Group: "an idempotent resource" called from ./spec/acceptance/apache_spec.rb:14
|
spec/acceptance/apache_spec.rb#L19
certs::apache with default parameters X509 certificate "/etc/pki/katello/certs/katello-apache.crt" is expected to be certificate
Failure/Error: it { should be_certificate }
expected `X509 certificate "/etc/pki/katello/certs/katello-apache.crt".certificate?` to be truthy, got false
|
spec/acceptance/apache_spec.rb#L20
certs::apache with default parameters X509 certificate "/etc/pki/katello/certs/katello-apache.crt" is expected to be valid
Failure/Error: it { should be_valid }
expected `X509 certificate "/etc/pki/katello/certs/katello-apache.crt".valid?` to be truthy, got false
|
spec/acceptance/apache_spec.rb#L21
certs::apache with default parameters X509 certificate "/etc/pki/katello/certs/katello-apache.crt" is expected to have purpose "server"
Failure/Error: it { should have_purpose 'server' }
expected `X509 certificate "/etc/pki/katello/certs/katello-apache.crt".has_purpose?("server")` to be truthy, got false
|
spec/acceptance/apache_spec.rb#L22
certs::apache with default parameters X509 certificate "/etc/pki/katello/certs/katello-apache.crt" issuer is expected to eq "C = US, ST = North Carolina, L = Raleigh, O = Katello, OU = SomeOrgUnit, CN = centos8-64-puppet8.example.com"
Failure/Error: its(:issuer) { should eq("C = US, ST = North Carolina, L = Raleigh, O = Katello, OU = SomeOrgUnit, CN = #{fact('fqdn')}") }
expected: "C = US, ST = North Carolina, L = Raleigh, O = Katello, OU = SomeOrgUnit, CN = centos8-64-puppet8.example.com"
got: ""
(compared using ==)
|
spec/acceptance/apache_spec.rb#L23
certs::apache with default parameters X509 certificate "/etc/pki/katello/certs/katello-apache.crt" subject is expected to eq "C = US, ST = North Carolina, O = Katello, OU = SomeOrgUnit, CN = centos8-64-puppet8.example.com"
Failure/Error: its(:subject) { should eq("C = US, ST = North Carolina, O = Katello, OU = SomeOrgUnit, CN = #{fact('fqdn')}") }
expected: "C = US, ST = North Carolina, O = Katello, OU = SomeOrgUnit, CN = centos8-64-puppet8.example.com"
got: ""
(compared using ==)
|
spec/acceptance/apache_spec.rb#L24
certs::apache with default parameters X509 certificate "/etc/pki/katello/certs/katello-apache.crt" keylength is expected to be >= 4096
Failure/Error: its(:keylength) { should be >= 4096 }
expected: >= 4096
got: 0
|
spec/acceptance/apache_spec.rb#L29
certs::apache with default parameters X509 private key "/etc/pki/katello/private/katello-apache.key" is expected to be valid
Failure/Error: it { should be_valid }
expected `X509 private key "/etc/pki/katello/private/katello-apache.key".valid?` to be truthy, got false
|
spec/acceptance/apache_spec.rb#L30
certs::apache with default parameters X509 private key "/etc/pki/katello/private/katello-apache.key" is expected to have matching certificate "/etc/pki/katello/certs/katello-apache.crt"
Failure/Error: it { should have_matching_certificate('/etc/pki/katello/certs/katello-apache.crt') }
expected `X509 private key "/etc/pki/katello/private/katello-apache.key".has_matching_certificate?("/etc/pki/katello/certs/katello-apache.crt")` to be truthy, got false
|
The logs for this run have expired and are no longer available.
Loading