Respect all files extracted from tar_file #1230
Annotations
6 errors
Run tests:
vendor/bundle/ruby/3.2.0/gems/voxpupuli-acceptance-3.2.0/lib/voxpupuli/acceptance/examples.rb#L8
certs with tar file with default ca 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 'centos9-64-puppet7.example.com' exited with 2 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_142416147.0dG8Qc.pp
Last 10 lines of output were:
Info: Loading facts
Warning: Facter: Container runtime, 'docker', is unsupported, setting to 'container_other'
�[mNotice: Compiled catalog for centos9-64-puppet7.example.com in environment production in 0.07 seconds
Info: Using environment 'production'
Info: Applying configuration version '1726151057'
�[mNotice: /Stage[main]/Certs/Certs::Tar_extract[/root/foreman-proxy.example.com.tar.gz]/Exec[extract /root/foreman-proxy.example.com.tar.gz]/returns: executed successfully
�[mNotice: /Stage[main]/Certs::Ca/File[/root/ssl-build/katello-server-ca.crt]/content: content changed '{sha256}58f837fb59906efeb67685a8ce905171751c6fb4230e5500f19db40b74a0c788' to '{sha256}cd263b6e15d4df4ede6f0cd976bd246e8a3353c071bdac15640cbde3ae52eace'
�[mNotice: /Stage[main]/Certs::Ca/File[/etc/pki/katello/certs/katello-default-ca.crt]/content: content changed '{sha256}c3c7fdea7e515c13bcb4d9b5577a6e32953388e9d78d03889f604ccfb99af88a' to '{sha256}cd263b6e15d4df4ede6f0cd976bd246e8a3353c071bdac15640cbde3ae52eace'
�[mNotice: /Stage[main]/Certs::Ca/File[/etc/pki/katello/certs/katello-server-ca.crt]/content: content changed '{sha256}c3c7fdea7e515c13bcb4d9b5577a6e32953388e9d78d03889f604ccfb99af88a' to '{sha256}cd263b6e15d4df4ede6f0cd976bd246e8a3353c071bdac15640cbde3ae52eace'
�[mNotice: Applied catalog in 0.09 seconds
Shared Example Group: "an idempotent resource" called from ./spec/acceptance/certs_spec.rb:172
|
Run tests:
vendor/bundle/ruby/3.2.0/gems/voxpupuli-acceptance-3.2.0/lib/voxpupuli/acceptance/examples.rb#L8
certs with tar file with custom certificates 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 'centos9-64-puppet7.example.com' exited with 2 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_142424404.ym45nG.pp
Last 10 lines of output were:
Info: Loading facts
Warning: Facter: Container runtime, 'docker', is unsupported, setting to 'container_other'
�[mNotice: Compiled catalog for centos9-64-puppet7.example.com in environment production in 0.07 seconds
Info: Using environment 'production'
Info: Applying configuration version '1726151066'
�[mNotice: /Stage[main]/Certs/Certs::Tar_extract[/root/foreman-proxy.example.com.tar.gz]/Exec[extract /root/foreman-proxy.example.com.tar.gz]/returns: executed successfully
�[mNotice: /Stage[main]/Certs::Ca/File[/root/ssl-build/katello-server-ca.crt]/content: content changed '{sha256}58f837fb59906efeb67685a8ce905171751c6fb4230e5500f19db40b74a0c788' to '{sha256}cd263b6e15d4df4ede6f0cd976bd246e8a3353c071bdac15640cbde3ae52eace'
�[mNotice: /Stage[main]/Certs::Ca/File[/etc/pki/katello/certs/katello-default-ca.crt]/content: content changed '{sha256}bc622793e65ba629a1014e5058c033ceacb87b91292ad9451ec004c4f8df85eb' to '{sha256}cd263b6e15d4df4ede6f0cd976bd246e8a3353c071bdac15640cbde3ae52eace'
�[mNotice: /Stage[main]/Certs::Ca/File[/etc/pki/katello/certs/katello-server-ca.crt]/content: content changed '{sha256}bc622793e65ba629a1014e5058c033ceacb87b91292ad9451ec004c4f8df85eb' to '{sha256}cd263b6e15d4df4ede6f0cd976bd246e8a3353c071bdac15640cbde3ae52eace'
�[mNotice: Applied catalog in 0.08 seconds
Shared Example Group: "an idempotent resource" called from ./spec/acceptance/certs_spec.rb:218
|
Run tests:
spec/acceptance/certs_spec.rb#L229
certs with tar file with custom certificates default and server ca certs match is expected not to eq "-----BEGIN CERTIFICATE-----\nMIIHATCCBOmgAwIBAgIUBJ8Zeqs/SGc9y6dfjA6ju9GU1OswDQYJKoZIhvcNAQEL\nBQAwg...RfV9qWBEsPvlU2skl2AWLiLhdUK/kBBtlU80cKzn\nLcJ0R0Ux5aJ1w094qmTSANhJzocu\n-----END CERTIFICATE-----\n"
Failure/Error: it { expect(file('/etc/pki/katello/certs/katello-default-ca.crt').content).not_to eq(file('/etc/pki/katello/certs/katello-server-ca.crt').content) }
expected: value != "-----BEGIN CERTIFICATE-----\nMIIHATCCBOmgAwIBAgIUBJ8Zeqs/SGc9y6dfjA6ju9GU1OswDQYJKoZIhvcNAQEL\nBQAwg...RfV9qWBEsPvlU2skl2AWLiLhdUK/kBBtlU80cKzn\nLcJ0R0Ux5aJ1w094qmTSANhJzocu\n-----END CERTIFICATE-----\n"
got: "-----BEGIN CERTIFICATE-----\nMIIHATCCBOmgAwIBAgIUBJ8Zeqs/SGc9y6dfjA6ju9GU1OswDQYJKoZIhvcNAQEL\nBQAwg...RfV9qWBEsPvlU2skl2AWLiLhdUK/kBBtlU80cKzn\nLcJ0R0Ux5aJ1w094qmTSANhJzocu\n-----END CERTIFICATE-----\n"
(compared using ==)
|
Run tests:
spec/acceptance/certs_spec.rb#L247
certs with tar file with custom certificates X509 certificate "/etc/pki/katello/certs/katello-server-ca.crt" issuer is expected to match without whitespace /CN = Fake LE Root X1/
Failure/Error: its(:issuer) { should match_without_whitespace(/CN = Fake LE Root X1/) }
Actual:
C=US,ST=NorthCarolina,L=Raleigh,O=Katello,OU=SomeOrgUnit,CN=centos9-64-puppet7.example.com
Expected:
CN = Fake LE Root X1
|
Run tests:
spec/acceptance/certs_spec.rb#L248
certs with tar file with custom certificates X509 certificate "/etc/pki/katello/certs/katello-server-ca.crt" subject is expected to match without whitespace /CN = Fake LE Intermediate X1/
Failure/Error: its(:subject) { should match_without_whitespace(/CN = Fake LE Intermediate X1/) }
Actual:
C=US,ST=NorthCarolina,L=Raleigh,O=Katello,OU=SomeOrgUnit,CN=centos9-64-puppet7.example.com
Expected:
CN = Fake LE Intermediate X1
|
Run tests
Process completed with exit code 1.
|
Loading