fix: remove nokeys
option and set default empty import/export passwords
#294
Annotations
7 errors
Run tests:
vendor/bundle/ruby/3.2.0/gems/voxpupuli-acceptance-3.3.0/lib/voxpupuli/acceptance/examples.rb#L4
x509 to pkcs12 to pem key behaves like the example 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 6 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_140406320.48tLTy.pp
Last 10 lines of output were:
�[mNotice: /Stage[main]/Main/Openssl::Certificate::X509[sample_x509]/Openssl::Config[/tmp/sample_x509.cnf]/File[/tmp/sample_x509.cnf]/ensure: defined content as '{sha256}cc48d9e6e87ef31604e4f8d3a44ab3005b2c1897feb2cb1832f23d7898b43017'
Info: Openssl::Config[/tmp/sample_x509.cnf]: Scheduling refresh of X509_request[/tmp/sample_x509.csr]
�[mNotice: /Stage[main]/Main/Openssl::Certificate::X509[sample_x509]/X509_request[/tmp/sample_x509.csr]/ensure: created
Info: /Stage[main]/Main/Openssl::Certificate::X509[sample_x509]/X509_request[/tmp/sample_x509.csr]: Scheduling refresh of X509_cert[/tmp/sample_x509.crt]
�[mNotice: /Stage[main]/Main/Openssl::Certificate::X509[sample_x509]/X509_request[/tmp/sample_x509.csr]: Triggered 'refresh' from 1 event
Info: /Stage[main]/Main/Openssl::Certificate::X509[sample_x509]/X509_request[/tmp/sample_x509.csr]: Scheduling refresh of X509_cert[/tmp/sample_x509.crt]
�[mNotice: /Stage[main]/Main/Openssl::Certificate::X509[sample_x509]/X509_cert[/tmp/sample_x509.crt]/ensure: created
�[mNotice: /Stage[main]/Main/Openssl::Certificate::X509[sample_x509]/X509_cert[/tmp/sample_x509.crt]: Triggered 'refresh' from 2 events
Info: Class[Main]: Unscheduling all events on Class[Main]
�[mNotice: Applied catalog in 0.12 seconds
Shared Example Group: "an idempotent resource" called from ./vendor/bundle/ruby/3.2.0/gems/voxpupuli-acceptance-3.3.0/lib/voxpupuli/acceptance/examples.rb:14
Shared Example Group: "the example" called from ./spec/acceptance/x509_pkcs12_spec.rb:10
|
Run tests:
vendor/bundle/ruby/3.2.0/gems/voxpupuli-acceptance-3.3.0/lib/voxpupuli/acceptance/examples.rb#L8
x509 to pkcs12 to pem key behaves like the example 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_140408646.8T5a43.pp
Last 10 lines of output were:
Info: Loading facts
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.10 seconds
Info: Using environment 'production'
Info: Applying configuration version '1736777050'
�[mNotice: /Stage[main]/Main/Openssl::Export::Pkcs12[export.pkcs12]/Exec[Export export.pkcs12 to /tmp/export.pkcs12.p12]/returns: executed successfully
�[mNotice: /Stage[main]/Main/Openssl::Export::Pem_key[key-UUID]/Exec[Export /tmp/export.pkcs12.p12 to /tmp/key.pem]/returns: executed successfully
�[mNotice: Applied catalog in 0.07 seconds
Shared Example Group: "an idempotent resource" called from ./vendor/bundle/ruby/3.2.0/gems/voxpupuli-acceptance-3.3.0/lib/voxpupuli/acceptance/examples.rb:14
Shared Example Group: "the example" called from ./spec/acceptance/x509_pkcs12_spec.rb:10
|
Run tests:
spec/acceptance/x509_pkcs12_spec.rb#L11
x509 to pkcs12 to pem key behaves like the example
Failure/Error: it { expect(file('/tmp/sample_x509.crt')).to be_file.and(its(:size) { is_expected.to > 0 }) }
`its` is not available from within an example (e.g. an `it` block) or from constructs that run in the scope of an example (e.g. `before`, `let`, etc). It is only available on an example group (e.g. a `describe` or `context` block).
Shared Example Group: "the example" called from ./spec/acceptance/x509_pkcs12_spec.rb:10
|
Run tests:
spec/acceptance/x509_pkcs12_spec.rb#L12
x509 to pkcs12 to pem key behaves like the example
Failure/Error: it { expect(file('/tmp/sample_x509.key')).to be_file.and(its(:size) { is_expected.to > 0 }) }
`its` is not available from within an example (e.g. an `it` block) or from constructs that run in the scope of an example (e.g. `before`, `let`, etc). It is only available on an example group (e.g. a `describe` or `context` block).
Shared Example Group: "the example" called from ./spec/acceptance/x509_pkcs12_spec.rb:10
|
Run tests:
spec/acceptance/x509_pkcs12_spec.rb#L13
x509 to pkcs12 to pem key behaves like the example
Failure/Error: it { expect(file('/tmp/export.pkcs12.p12')).to be_file.and(its(:size) { is_expected.to > 0 }) }
`its` is not available from within an example (e.g. an `it` block) or from constructs that run in the scope of an example (e.g. `before`, `let`, etc). It is only available on an example group (e.g. a `describe` or `context` block).
Shared Example Group: "the example" called from ./spec/acceptance/x509_pkcs12_spec.rb:10
|
Run tests:
spec/acceptance/x509_pkcs12_spec.rb#L22
x509 to pkcs12 to pem key behaves like the example Command "openssl -text -noout -in /tmp/export.pkcs12.p12 -inpass pass:" exit_status is expected to eq 0
Failure/Error: its(:exit_status) { is_expected.to eq 0 }
expected: 0
got: 1
(compared using ==)
Shared Example Group: "the example" called from ./spec/acceptance/x509_pkcs12_spec.rb:10
|
Run tests
Process completed with exit code 1.
|
Loading