Add class to handle creation of certs for advisor service on localhost #1256
ci.yml
on: pull_request
Puppet
/
Static validations
34s
Matrix: Puppet / acceptance
Matrix: Puppet / unit
Puppet
/
Test suite
2s
Annotations
21 errors and 1 warning
Puppet / Puppet 7 - AlmaLinux 8:
vendor/bundle/ruby/3.2.0/gems/voxpupuli-acceptance-3.3.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 'almalinux8-64-puppet7.example.com' exited with 4 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_145025014.6bg4Vh.pp
Last 10 lines of output were:
Warning: /Stage[main]/Certs::Ca/Ca[katello-default-ca]: Skipping because of failed dependencies
Warning: /Stage[main]/Certs::Ca/File[/root/ssl-build/katello-server-ca.crt]: Skipping because of failed dependencies
Warning: /Stage[main]/Certs::Ca/File[/root/ssl-build/KATELLO-TRUSTED-SSL-CERT]: Skipping because of failed dependencies
Warning: /Stage[main]/Certs::Ca/File[/etc/pki/katello/certs/katello-default-ca.crt]: Skipping because of failed dependencies
Warning: /Stage[main]/Certs::Ca/File[/etc/pki/katello/certs/katello-server-ca.crt]: Skipping because of failed dependencies
Warning: /Stage[main]/Certs::Apache/Cert[almalinux8-64-puppet7.example.com-apache]: Skipping because of failed dependencies
Warning: /Stage[main]/Certs::Apache/Certs::Keypair[almalinux8-64-puppet7.example.com-apache]/Private_key[/etc/pki/katello/private/katello-apache.key]: Skipping because of failed dependencies
Warning: /Stage[main]/Certs::Apache/Certs::Keypair[almalinux8-64-puppet7.example.com-apache]/File[/etc/pki/katello/private/katello-apache.key]: Skipping because of failed dependencies
Warning: /Stage[main]/Certs::Apache/Certs::Keypair[almalinux8-64-puppet7.example.com-apache]/File[/etc/pki/katello/certs/katello-apache.crt]: Skipping because of failed dependencies
�[mNotice: Applied catalog in 0.74 seconds
Shared Example Group: "an idempotent resource" called from ./spec/acceptance/apache_spec.rb:14
|
Puppet / Puppet 7 - AlmaLinux 8:
vendor/bundle/ruby/3.2.0/gems/voxpupuli-acceptance-3.3.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 'almalinux8-64-puppet7.example.com' exited with 4 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_145027830.nB5dbU.pp
Last 10 lines of output were:
Warning: /Stage[main]/Certs::Ca/Ca[katello-default-ca]: Skipping because of failed dependencies
Warning: /Stage[main]/Certs::Ca/File[/root/ssl-build/katello-server-ca.crt]: Skipping because of failed dependencies
Warning: /Stage[main]/Certs::Ca/File[/root/ssl-build/KATELLO-TRUSTED-SSL-CERT]: Skipping because of failed dependencies
Warning: /Stage[main]/Certs::Ca/File[/etc/pki/katello/certs/katello-default-ca.crt]: Skipping because of failed dependencies
Warning: /Stage[main]/Certs::Ca/File[/etc/pki/katello/certs/katello-server-ca.crt]: Skipping because of failed dependencies
Warning: /Stage[main]/Certs::Apache/Cert[almalinux8-64-puppet7.example.com-apache]: Skipping because of failed dependencies
Warning: /Stage[main]/Certs::Apache/Certs::Keypair[almalinux8-64-puppet7.example.com-apache]/Private_key[/etc/pki/katello/private/katello-apache.key]: Skipping because of failed dependencies
Warning: /Stage[main]/Certs::Apache/Certs::Keypair[almalinux8-64-puppet7.example.com-apache]/File[/etc/pki/katello/private/katello-apache.key]: Skipping because of failed dependencies
Warning: /Stage[main]/Certs::Apache/Certs::Keypair[almalinux8-64-puppet7.example.com-apache]/File[/etc/pki/katello/certs/katello-apache.crt]: Skipping because of failed dependencies
�[mNotice: Applied catalog in 0.50 seconds
Shared Example Group: "an idempotent resource" called from ./spec/acceptance/apache_spec.rb:14
|
Puppet / Puppet 7 - AlmaLinux 8:
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
|
Puppet / Puppet 7 - AlmaLinux 8:
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
|
Puppet / Puppet 7 - AlmaLinux 8:
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
|
Puppet / Puppet 7 - AlmaLinux 8:
spec/acceptance/apache_spec.rb#L22
certs::apache with default parameters X509 certificate "/etc/pki/katello/certs/katello-apache.crt" issuer is expected to match without whitespace /C = US, ST = North Carolina, L = Raleigh, O = Katello, OU = SomeOrgUnit, CN = almalinux8-64-puppet7.example.com/
Failure/Error: its(:issuer) { should match_without_whitespace(/C = US, ST = North Carolina, L = Raleigh, O = Katello, OU = SomeOrgUnit, CN = #{fact('fqdn')}/) }
Actual:
Expected:
C = US, ST = North Carolina, L = Raleigh, O = Katello, OU = SomeOrgUnit, CN = almalinux8-64-puppet7.example.com
|
Puppet / Puppet 7 - AlmaLinux 8:
spec/acceptance/apache_spec.rb#L23
certs::apache with default parameters X509 certificate "/etc/pki/katello/certs/katello-apache.crt" subject is expected to match without whitespace /C = US, ST = North Carolina, O = Katello, OU = SomeOrgUnit, CN = almalinux8-64-puppet7.example.com/
Failure/Error: its(:subject) { should match_without_whitespace(/C = US, ST = North Carolina, O = Katello, OU = SomeOrgUnit, CN = #{fact('fqdn')}/) }
Actual:
Expected:
C = US, ST = North Carolina, O = Katello, OU = SomeOrgUnit, CN = almalinux8-64-puppet7.example.com
|
Puppet / Puppet 7 - AlmaLinux 8:
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
|
Puppet / Puppet 7 - AlmaLinux 8:
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
|
Puppet / Puppet 7 - AlmaLinux 8:
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
|
Puppet / Puppet 8 - AlmaLinux 8:
vendor/bundle/ruby/3.2.0/gems/voxpupuli-acceptance-3.3.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 'almalinux8-64-puppet8.example.com' exited with 4 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_145021718.Clz17z.pp
Last 10 lines of output were:
Warning: /Stage[main]/Certs::Ca/Ca[katello-default-ca]: Skipping because of failed dependencies
Warning: /Stage[main]/Certs::Ca/File[/root/ssl-build/katello-server-ca.crt]: Skipping because of failed dependencies
Warning: /Stage[main]/Certs::Ca/File[/root/ssl-build/KATELLO-TRUSTED-SSL-CERT]: Skipping because of failed dependencies
Warning: /Stage[main]/Certs::Ca/File[/etc/pki/katello/certs/katello-default-ca.crt]: Skipping because of failed dependencies
Warning: /Stage[main]/Certs::Ca/File[/etc/pki/katello/certs/katello-server-ca.crt]: Skipping because of failed dependencies
Warning: /Stage[main]/Certs::Apache/Cert[almalinux8-64-puppet8.example.com-apache]: Skipping because of failed dependencies
Warning: /Stage[main]/Certs::Apache/Certs::Keypair[almalinux8-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[almalinux8-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[almalinux8-64-puppet8.example.com-apache]/File[/etc/pki/katello/certs/katello-apache.crt]: Skipping because of failed dependencies
�[mNotice: Applied catalog in 0.94 seconds
Shared Example Group: "an idempotent resource" called from ./spec/acceptance/apache_spec.rb:14
|
Puppet / Puppet 8 - AlmaLinux 8:
vendor/bundle/ruby/3.2.0/gems/voxpupuli-acceptance-3.3.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 'almalinux8-64-puppet8.example.com' exited with 4 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_145024776.lAoF3Y.pp
Last 10 lines of output were:
Warning: /Stage[main]/Certs::Ca/Ca[katello-default-ca]: Skipping because of failed dependencies
Warning: /Stage[main]/Certs::Ca/File[/root/ssl-build/katello-server-ca.crt]: Skipping because of failed dependencies
Warning: /Stage[main]/Certs::Ca/File[/root/ssl-build/KATELLO-TRUSTED-SSL-CERT]: Skipping because of failed dependencies
Warning: /Stage[main]/Certs::Ca/File[/etc/pki/katello/certs/katello-default-ca.crt]: Skipping because of failed dependencies
Warning: /Stage[main]/Certs::Ca/File[/etc/pki/katello/certs/katello-server-ca.crt]: Skipping because of failed dependencies
Warning: /Stage[main]/Certs::Apache/Cert[almalinux8-64-puppet8.example.com-apache]: Skipping because of failed dependencies
Warning: /Stage[main]/Certs::Apache/Certs::Keypair[almalinux8-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[almalinux8-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[almalinux8-64-puppet8.example.com-apache]/File[/etc/pki/katello/certs/katello-apache.crt]: Skipping because of failed dependencies
�[mNotice: Applied catalog in 0.83 seconds
Shared Example Group: "an idempotent resource" called from ./spec/acceptance/apache_spec.rb:14
|
Puppet / Puppet 8 - AlmaLinux 8:
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
|
Puppet / Puppet 8 - AlmaLinux 8:
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
|
Puppet / Puppet 8 - AlmaLinux 8:
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
|
Puppet / Puppet 8 - AlmaLinux 8:
spec/acceptance/apache_spec.rb#L22
certs::apache with default parameters X509 certificate "/etc/pki/katello/certs/katello-apache.crt" issuer is expected to match without whitespace /C = US, ST = North Carolina, L = Raleigh, O = Katello, OU = SomeOrgUnit, CN = almalinux8-64-puppet8.example.com/
Failure/Error: its(:issuer) { should match_without_whitespace(/C = US, ST = North Carolina, L = Raleigh, O = Katello, OU = SomeOrgUnit, CN = #{fact('fqdn')}/) }
Actual:
Expected:
C = US, ST = North Carolina, L = Raleigh, O = Katello, OU = SomeOrgUnit, CN = almalinux8-64-puppet8.example.com
|
Puppet / Puppet 8 - AlmaLinux 8:
spec/acceptance/apache_spec.rb#L23
certs::apache with default parameters X509 certificate "/etc/pki/katello/certs/katello-apache.crt" subject is expected to match without whitespace /C = US, ST = North Carolina, O = Katello, OU = SomeOrgUnit, CN = almalinux8-64-puppet8.example.com/
Failure/Error: its(:subject) { should match_without_whitespace(/C = US, ST = North Carolina, O = Katello, OU = SomeOrgUnit, CN = #{fact('fqdn')}/) }
Actual:
Expected:
C = US, ST = North Carolina, O = Katello, OU = SomeOrgUnit, CN = almalinux8-64-puppet8.example.com
|
Puppet / Puppet 8 - AlmaLinux 8:
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
|
Puppet / Puppet 8 - AlmaLinux 8:
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
|
Puppet / Puppet 8 - AlmaLinux 8:
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
|
Puppet / Test suite
Process completed with exit code 1.
|
Puppet / Static validations:
metadata.json#L1
Skipping EOL operating system CentOS 8
|