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 'almalinux8-64-puppet8.example.com' exited with 2 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_142413266.yzo7Yy.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 almalinux8-64-puppet8.example.com in environment production in 0.07 seconds
Info: Using environment 'production'
Info: Applying configuration version '1726151055'
�[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}24c31394abb05672b92795814b3307a2d3ba7f8f6d7e50d010728cf975e430d9'
�[mNotice: /Stage[main]/Certs::Ca/File[/etc/pki/katello/certs/katello-default-ca.crt]/content: content changed '{sha256}c202102bf9f1d0d0c25444d82ef4f997dbbb0828e7424893065a0b07a305fe65' to '{sha256}24c31394abb05672b92795814b3307a2d3ba7f8f6d7e50d010728cf975e430d9'
�[mNotice: /Stage[main]/Certs::Ca/File[/etc/pki/katello/certs/katello-server-ca.crt]/content: content changed '{sha256}c202102bf9f1d0d0c25444d82ef4f997dbbb0828e7424893065a0b07a305fe65' to '{sha256}24c31394abb05672b92795814b3307a2d3ba7f8f6d7e50d010728cf975e430d9'
�[mNotice: Applied catalog in 0.08 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 'almalinux8-64-puppet8.example.com' exited with 2 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_142422334.nLe1Cd.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 almalinux8-64-puppet8.example.com in environment production in 0.07 seconds
Info: Using environment 'production'
Info: Applying configuration version '1726151064'
�[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}24c31394abb05672b92795814b3307a2d3ba7f8f6d7e50d010728cf975e430d9'
�[mNotice: /Stage[main]/Certs::Ca/File[/etc/pki/katello/certs/katello-default-ca.crt]/content: content changed '{sha256}9bb12921cadf505a8f925be407455183540011b071e1f6d9fa4923ecdc4399b2' to '{sha256}24c31394abb05672b92795814b3307a2d3ba7f8f6d7e50d010728cf975e430d9'
�[mNotice: /Stage[main]/Certs::Ca/File[/etc/pki/katello/certs/katello-server-ca.crt]/content: content changed '{sha256}9bb12921cadf505a8f925be407455183540011b071e1f6d9fa4923ecdc4399b2' to '{sha256}24c31394abb05672b92795814b3307a2d3ba7f8f6d7e50d010728cf975e430d9'
�[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-----\nMIIHIDCCBQigAwIBAgIUZG2YWz360JERHWTOWVMhySBWAg0wDQYJKoZIhvcNAQEL\nBQAwg...Hm/eGea/O7jV3WtyzpioWfiDJod+XTGHlCpk6tx4qeUpgiDA3/5WqATPQvBg\nc4TJ1A==\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-----\nMIIHIDCCBQigAwIBAgIUZG2YWz360JERHWTOWVMhySBWAg0wDQYJKoZIhvcNAQEL\nBQAwg...Hm/eGea/O7jV3WtyzpioWfiDJod+XTGHlCpk6tx4qeUpgiDA3/5WqATPQvBg\nc4TJ1A==\n-----END CERTIFICATE-----\n"
got: "-----BEGIN CERTIFICATE-----\nMIIHIDCCBQigAwIBAgIUZG2YWz360JERHWTOWVMhySBWAg0wDQYJKoZIhvcNAQEL\nBQAwg...Hm/eGea/O7jV3WtyzpioWfiDJod+XTGHlCpk6tx4qeUpgiDA3/5WqATPQvBg\nc4TJ1A==\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=almalinux8-64-puppet8.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=almalinux8-64-puppet8.example.com
Expected:
CN = Fake LE Intermediate X1
|
Run tests
Process completed with exit code 1.
|
Loading