fix: remove nokeys
option and set default empty import/export passwords
#293
Annotations
10 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 'debian11-64-puppet7.example.com' exited with 1 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_095615523.qYybfU.pp
Last 10 lines of output were:
Info: Loading facts
Info: Loading facts
Warning: Facter: Container runtime, 'docker', is unsupported, setting to 'container_other'
Error: Evaluation Error: Error while evaluating a Resource Statement, Evaluation Error: Error while evaluating a Function Call, At least one of $country, $organization, $unit, $state or $commonname is required. (file: /etc/puppetlabs/code/environments/production/modules/openssl/manifests/certificate/x509.pp, line: 155, column: 5) (file: /tmp/apply_manifest_095615523.qYybfU.pp, line: 3) on node debian11-64-puppet7.example.com
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 'debian11-64-puppet7.example.com' exited with 1 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_095617294.l0kXDC.pp
Last 10 lines of output were:
Info: Loading facts
Info: Loading facts
Warning: Facter: Container runtime, 'docker', is unsupported, setting to 'container_other'
Error: Evaluation Error: Error while evaluating a Resource Statement, Evaluation Error: Error while evaluating a Function Call, At least one of $country, $organization, $unit, $state or $commonname is required. (file: /etc/puppetlabs/code/environments/production/modules/openssl/manifests/certificate/x509.pp, line: 155, column: 5) (file: /tmp/apply_manifest_095617294.l0kXDC.pp, line: 3) on node debian11-64-puppet7.example.com
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#L16
x509 to pkcs12 to pem key behaves like the example X509 certificate "/tmp/sample_x509.crt" is expected to be certificate
Failure/Error: it { is_expected.to be_certificate }
expected `X509 certificate "/tmp/sample_x509.crt".certificate?` to be truthy, got false
Shared Example Group: "the example" called from ./spec/acceptance/x509_pkcs12_spec.rb:10
|
Run tests:
spec/acceptance/x509_pkcs12_spec.rb#L17
x509 to pkcs12 to pem key behaves like the example X509 certificate "/tmp/sample_x509.crt" is expected to be valid
Failure/Error: it { is_expected.to be_valid }
expected `X509 certificate "/tmp/sample_x509.crt".valid?` to be truthy, got false
Shared Example Group: "the example" called from ./spec/acceptance/x509_pkcs12_spec.rb:10
|
Run tests:
spec/acceptance/x509_pkcs12_spec.rb#L18
x509 to pkcs12 to pem key behaves like the example X509 certificate "/tmp/sample_x509.crt" keylength is expected to eq 1024
Failure/Error: its(:keylength) { is_expected.to eq 1024 }
expected: 1024
got: 0
(compared using ==)
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