Skip to content

Use OpenSSL::PKey.generate_pkey instead of OpenSSL::PKey::Algo #239

Use OpenSSL::PKey.generate_pkey instead of OpenSSL::PKey::Algo

Use OpenSSL::PKey.generate_pkey instead of OpenSSL::PKey::Algo #239

Triggered via pull request July 18, 2024 16:13
Status Failure
Total duration 15m 32s
Artifacts

ci.yml

on: pull_request
Puppet  /  Static validations
18s
Puppet / Static validations
Matrix: Puppet / acceptance
Matrix: Puppet / unit
Puppet  /  Test suite
0s
Puppet / Test suite
Fit to window
Zoom out
Zoom in

Annotations

130 errors
Puppet / 7 (Ruby 2.7): spec/unit/puppet/provider/ssl_pkey/openssl_spec.rb#L26
The openssl provider for the ssl_pkey type when creating a key with defaults creates an rsa key Failure/Error: OpenSSL::PKey.generate_parameters('RSA', 'rsa_keygen_bits' => resource[:size]) NoMethodError: undefined method `generate_parameters' for OpenSSL::PKey:Module
Puppet / 7 (Ruby 2.7): spec/unit/puppet/provider/ssl_pkey/openssl_spec.rb#L33
The openssl provider for the ssl_pkey type when creating a key with defaults when setting size creates with given size Failure/Error: OpenSSL::PKey.generate_parameters('RSA', 'rsa_keygen_bits' => resource[:size]) NoMethodError: undefined method `generate_parameters' for OpenSSL::PKey:Module
Puppet / 7 (Ruby 2.7): spec/unit/puppet/provider/ssl_pkey/openssl_spec.rb#L42
The openssl provider for the ssl_pkey type when creating a key with defaults when setting password creates with given password Failure/Error: OpenSSL::PKey.generate_parameters('RSA', 'rsa_keygen_bits' => resource[:size]) NoMethodError: undefined method `generate_parameters' for OpenSSL::PKey:Module
Puppet / 7 (Ruby 2.7): spec/unit/puppet/provider/ssl_pkey/openssl_spec.rb#L53
The openssl provider for the ssl_pkey type when setting authentication to rsa creates a dsa key Failure/Error: OpenSSL::PKey.generate_parameters('RSA', 'rsa_keygen_bits' => resource[:size]) NoMethodError: undefined method `generate_parameters' for OpenSSL::PKey:Module
Puppet / 7 (Ruby 2.7): spec/unit/puppet/provider/ssl_pkey/openssl_spec.rb#L61
The openssl provider for the ssl_pkey type when setting authentication to rsa when setting size creates with given size Failure/Error: OpenSSL::PKey.generate_parameters('RSA', 'rsa_keygen_bits' => resource[:size]) NoMethodError: undefined method `generate_parameters' for OpenSSL::PKey:Module
Puppet / 7 (Ruby 2.7): spec/unit/puppet/provider/ssl_pkey/openssl_spec.rb#L71
The openssl provider for the ssl_pkey type when setting authentication to rsa when setting password creates with given password Failure/Error: OpenSSL::PKey.generate_parameters('RSA', 'rsa_keygen_bits' => resource[:size]) NoMethodError: undefined method `generate_parameters' for OpenSSL::PKey:Module
Puppet / 7 (Ruby 2.7): spec/unit/puppet/provider/ssl_pkey/openssl_spec.rb#L83
The openssl provider for the ssl_pkey type when setting authentication to dsa creates a dsa key Failure/Error: OpenSSL::PKey.generate_parameters('DSA', 'dsa_paramgen_bits' => resource[:size]) NoMethodError: undefined method `generate_parameters' for OpenSSL::PKey:Module
Puppet / 7 (Ruby 2.7): spec/unit/puppet/provider/ssl_pkey/openssl_spec.rb#L91
The openssl provider for the ssl_pkey type when setting authentication to dsa when setting size creates with given size Failure/Error: OpenSSL::PKey.generate_parameters('DSA', 'dsa_paramgen_bits' => resource[:size]) NoMethodError: undefined method `generate_parameters' for OpenSSL::PKey:Module
Puppet / 7 (Ruby 2.7): spec/unit/puppet/provider/ssl_pkey/openssl_spec.rb#L101
The openssl provider for the ssl_pkey type when setting authentication to dsa when setting password creates with given password Failure/Error: OpenSSL::PKey.generate_parameters('DSA', 'dsa_paramgen_bits' => resource[:size]) NoMethodError: undefined method `generate_parameters' for OpenSSL::PKey:Module
Puppet / 7 (Ruby 2.7): spec/unit/puppet/provider/ssl_pkey/openssl_spec.rb#L115
The openssl provider for the ssl_pkey type when setting authentication to ec creates an ec key Failure/Error: OpenSSL::PKey.generate_parameters('EC', 'ec_paramgen_curve' => resource[:curve]) NoMethodError: undefined method `generate_parameters' for OpenSSL::PKey:Module
Puppet / Puppet 7 - AlmaLinux 9: vendor/bundle/ruby/3.2.0/gems/voxpupuli-acceptance-3.2.0/lib/voxpupuli/acceptance/examples.rb#L4
x509_cert example 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 'almalinux9-64-puppet7.example.com' exited with 4 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_161652221.ADuHag.pp Last 10 lines of output were: undefined method `generate_parameters' for OpenSSL::PKey:Module Error: /Stage[main]/Main/Openssl::Certificate::X509[foo.example.com]/Ssl_pkey[/tmp/foo.example.com.key]/ensure: change from 'absent' to 'present' failed: Could not set 'present' on ensure: undefined method `generate_parameters' for OpenSSL::PKey:Module (file: /etc/puppetlabs/code/environments/production/modules/openssl/manifests/certificate/x509.pp, line: 157) �[mNotice: /Stage[main]/Main/Openssl::Certificate::X509[foo.example.com]/File[/tmp/foo.example.com.key]: Dependency Ssl_pkey[/tmp/foo.example.com.key] has failures: true Warning: /Stage[main]/Main/Openssl::Certificate::X509[foo.example.com]/File[/tmp/foo.example.com.key]: Skipping because of failed dependencies Warning: /Stage[main]/Main/Openssl::Certificate::X509[foo.example.com]/Openssl::Config[/tmp/foo.example.com.cnf]/File[/tmp/foo.example.com.cnf]: Skipping because of failed dependencies Warning: /Stage[main]/Main/Openssl::Certificate::X509[foo.example.com]/X509_request[/tmp/foo.example.com.csr]: Skipping because of failed dependencies Warning: /Stage[main]/Main/Openssl::Certificate::X509[foo.example.com]/X509_cert[/tmp/foo.example.com.crt]: Skipping because of failed dependencies Warning: /Stage[main]/Main/Openssl::Certificate::X509[foo.example.com]/File[/tmp/foo.example.com.crt]: Skipping because of failed dependencies Warning: /Stage[main]/Main/Openssl::Certificate::X509[foo.example.com]/File[/tmp/foo.example.com.csr]: Skipping because of failed dependencies �[mNotice: Applied catalog in 0.01 seconds Shared Example Group: "an idempotent resource" called from ./vendor/bundle/ruby/3.2.0/gems/voxpupuli-acceptance-3.2.0/lib/voxpupuli/acceptance/examples.rb:14 Shared Example Group: "the example" called from ./spec/acceptance/x509_cert_spec.rb:10
Puppet / Puppet 7 - AlmaLinux 9: vendor/bundle/ruby/3.2.0/gems/voxpupuli-acceptance-3.2.0/lib/voxpupuli/acceptance/examples.rb#L8
x509_cert example 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 'almalinux9-64-puppet7.example.com' exited with 4 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_161654178.hAFDT2.pp Last 10 lines of output were: undefined method `generate_parameters' for OpenSSL::PKey:Module Error: /Stage[main]/Main/Openssl::Certificate::X509[foo.example.com]/Ssl_pkey[/tmp/foo.example.com.key]/ensure: change from 'absent' to 'present' failed: Could not set 'present' on ensure: undefined method `generate_parameters' for OpenSSL::PKey:Module (file: /etc/puppetlabs/code/environments/production/modules/openssl/manifests/certificate/x509.pp, line: 157) �[mNotice: /Stage[main]/Main/Openssl::Certificate::X509[foo.example.com]/File[/tmp/foo.example.com.key]: Dependency Ssl_pkey[/tmp/foo.example.com.key] has failures: true Warning: /Stage[main]/Main/Openssl::Certificate::X509[foo.example.com]/File[/tmp/foo.example.com.key]: Skipping because of failed dependencies Warning: /Stage[main]/Main/Openssl::Certificate::X509[foo.example.com]/Openssl::Config[/tmp/foo.example.com.cnf]/File[/tmp/foo.example.com.cnf]: Skipping because of failed dependencies Warning: /Stage[main]/Main/Openssl::Certificate::X509[foo.example.com]/X509_request[/tmp/foo.example.com.csr]: Skipping because of failed dependencies Warning: /Stage[main]/Main/Openssl::Certificate::X509[foo.example.com]/X509_cert[/tmp/foo.example.com.crt]: Skipping because of failed dependencies Warning: /Stage[main]/Main/Openssl::Certificate::X509[foo.example.com]/File[/tmp/foo.example.com.crt]: Skipping because of failed dependencies Warning: /Stage[main]/Main/Openssl::Certificate::X509[foo.example.com]/File[/tmp/foo.example.com.csr]: Skipping because of failed dependencies �[mNotice: Applied catalog in 0.01 seconds Shared Example Group: "an idempotent resource" called from ./vendor/bundle/ruby/3.2.0/gems/voxpupuli-acceptance-3.2.0/lib/voxpupuli/acceptance/examples.rb:14 Shared Example Group: "the example" called from ./spec/acceptance/x509_cert_spec.rb:10
Puppet / Puppet 7 - AlmaLinux 9: spec/acceptance/x509_cert_spec.rb#L11
x509_cert example behaves like the example is expected to be file and have attributes {:owner => "nobody"} Failure/Error: it { expect(file('/tmp/foo.example.com.crt')).to be_file.and(have_attributes(owner: 'nobody')) } expected `File "/tmp/foo.example.com.crt".file?` to be truthy, got false ...and: expected File "/tmp/foo.example.com.crt" to have attributes {:owner => "nobody"} but had attributes {:owner => ""} Diff for (have attributes {:owner => "nobody"}): @@ -1 +1 @@ -:owner => "nobody", +:owner => "", Shared Example Group: "the example" called from ./spec/acceptance/x509_cert_spec.rb:10
Puppet / Puppet 7 - AlmaLinux 9: spec/acceptance/x509_cert_spec.rb#L21
x509_cert example behaves like the example is expected to be file and have attributes {:mode => "600", :owner => "nobody"} Failure/Error: it { expect(file('/tmp/foo.example.com.key')).to be_file.and(have_attributes(owner: 'nobody', mode: '600')) } expected `File "/tmp/foo.example.com.key".file?` to be truthy, got false ...and: expected File "/tmp/foo.example.com.key" to have attributes {:mode => "600", :owner => "nobody"} but had attributes {:mode => "", :owner => ""} Diff for (have attributes {:mode => "600", :owner => "nobody"}): @@ -1,3 +1,3 @@ -:mode => "600", -:owner => "nobody", +:mode => "", +:owner => "", Shared Example Group: "the example" called from ./spec/acceptance/x509_cert_spec.rb:10
Puppet / Puppet 7 - AlmaLinux 9: spec/acceptance/x509_cert_spec.rb#L22
x509_cert example behaves like the example is expected to have matching certificate "/tmp/foo.example.com.crt" Failure/Error: it { expect(x509_private_key('/tmp/foo.example.com.key', passin: 'pass:mahje1Qu')).to have_matching_certificate('/tmp/foo.example.com.crt') } expected `X509 private key "/tmp/foo.example.com.key".has_matching_certificate?("/tmp/foo.example.com.crt")` to be truthy, got false Shared Example Group: "the example" called from ./spec/acceptance/x509_cert_spec.rb:10
Puppet / Puppet 7 - AlmaLinux 9: spec/acceptance/x509_cert_spec.rb#L15
x509_cert example behaves like the example X509 certificate "/tmp/foo.example.com.crt" is expected to be certificate Failure/Error: it { is_expected.to be_certificate } expected `X509 certificate "/tmp/foo.example.com.crt".certificate?` to be truthy, got false Shared Example Group: "the example" called from ./spec/acceptance/x509_cert_spec.rb:10
Puppet / Puppet 7 - AlmaLinux 9: spec/acceptance/x509_cert_spec.rb#L16
x509_cert example behaves like the example X509 certificate "/tmp/foo.example.com.crt" is expected to be valid Failure/Error: it { is_expected.to be_valid } expected `X509 certificate "/tmp/foo.example.com.crt".valid?` to be truthy, got false Shared Example Group: "the example" called from ./spec/acceptance/x509_cert_spec.rb:10
Puppet / Puppet 7 - AlmaLinux 9: spec/acceptance/x509_cert_spec.rb#L17
x509_cert example behaves like the example X509 certificate "/tmp/foo.example.com.crt" subject is expected to match without whitespace /C = CH, O = Example.com, CN = foo.example.com/ Failure/Error: its(:subject) { is_expected.to match_without_whitespace(%r{C = CH, O = Example.com, CN = foo.example.com}) } Actual: Expected: C = CH, O = Example.com, CN = foo.example.com Shared Example Group: "the example" called from ./spec/acceptance/x509_cert_spec.rb:10
Puppet / Puppet 7 - AlmaLinux 9: spec/acceptance/x509_cert_spec.rb#L18
x509_cert example behaves like the example X509 certificate "/tmp/foo.example.com.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_cert_spec.rb:10
Puppet / Puppet 7 - AlmaLinux 9
Process completed with exit code 1.
Puppet / Puppet 7 - Debian 11: vendor/bundle/ruby/3.2.0/gems/voxpupuli-acceptance-3.2.0/lib/voxpupuli/acceptance/examples.rb#L4
x509_cert example 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 4 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_161811765.vHx8CC.pp Last 10 lines of output were: undefined method `generate_parameters' for OpenSSL::PKey:Module Error: /Stage[main]/Main/Openssl::Certificate::X509[foo.example.com]/Ssl_pkey[/tmp/foo.example.com.key]/ensure: change from 'absent' to 'present' failed: Could not set 'present' on ensure: undefined method `generate_parameters' for OpenSSL::PKey:Module (file: /etc/puppetlabs/code/environments/production/modules/openssl/manifests/certificate/x509.pp, line: 157) �[mNotice: /Stage[main]/Main/Openssl::Certificate::X509[foo.example.com]/File[/tmp/foo.example.com.key]: Dependency Ssl_pkey[/tmp/foo.example.com.key] has failures: true Warning: /Stage[main]/Main/Openssl::Certificate::X509[foo.example.com]/File[/tmp/foo.example.com.key]: Skipping because of failed dependencies Warning: /Stage[main]/Main/Openssl::Certificate::X509[foo.example.com]/Openssl::Config[/tmp/foo.example.com.cnf]/File[/tmp/foo.example.com.cnf]: Skipping because of failed dependencies Warning: /Stage[main]/Main/Openssl::Certificate::X509[foo.example.com]/X509_request[/tmp/foo.example.com.csr]: Skipping because of failed dependencies Warning: /Stage[main]/Main/Openssl::Certificate::X509[foo.example.com]/X509_cert[/tmp/foo.example.com.crt]: Skipping because of failed dependencies Warning: /Stage[main]/Main/Openssl::Certificate::X509[foo.example.com]/File[/tmp/foo.example.com.crt]: Skipping because of failed dependencies Warning: /Stage[main]/Main/Openssl::Certificate::X509[foo.example.com]/File[/tmp/foo.example.com.csr]: Skipping because of failed dependencies �[mNotice: Applied catalog in 0.01 seconds Shared Example Group: "an idempotent resource" called from ./vendor/bundle/ruby/3.2.0/gems/voxpupuli-acceptance-3.2.0/lib/voxpupuli/acceptance/examples.rb:14 Shared Example Group: "the example" called from ./spec/acceptance/x509_cert_spec.rb:10
Puppet / Puppet 7 - Debian 11: vendor/bundle/ruby/3.2.0/gems/voxpupuli-acceptance-3.2.0/lib/voxpupuli/acceptance/examples.rb#L8
x509_cert example 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 4 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_161813619.9SD2Yg.pp Last 10 lines of output were: undefined method `generate_parameters' for OpenSSL::PKey:Module Error: /Stage[main]/Main/Openssl::Certificate::X509[foo.example.com]/Ssl_pkey[/tmp/foo.example.com.key]/ensure: change from 'absent' to 'present' failed: Could not set 'present' on ensure: undefined method `generate_parameters' for OpenSSL::PKey:Module (file: /etc/puppetlabs/code/environments/production/modules/openssl/manifests/certificate/x509.pp, line: 157) �[mNotice: /Stage[main]/Main/Openssl::Certificate::X509[foo.example.com]/File[/tmp/foo.example.com.key]: Dependency Ssl_pkey[/tmp/foo.example.com.key] has failures: true Warning: /Stage[main]/Main/Openssl::Certificate::X509[foo.example.com]/File[/tmp/foo.example.com.key]: Skipping because of failed dependencies Warning: /Stage[main]/Main/Openssl::Certificate::X509[foo.example.com]/Openssl::Config[/tmp/foo.example.com.cnf]/File[/tmp/foo.example.com.cnf]: Skipping because of failed dependencies Warning: /Stage[main]/Main/Openssl::Certificate::X509[foo.example.com]/X509_request[/tmp/foo.example.com.csr]: Skipping because of failed dependencies Warning: /Stage[main]/Main/Openssl::Certificate::X509[foo.example.com]/X509_cert[/tmp/foo.example.com.crt]: Skipping because of failed dependencies Warning: /Stage[main]/Main/Openssl::Certificate::X509[foo.example.com]/File[/tmp/foo.example.com.crt]: Skipping because of failed dependencies Warning: /Stage[main]/Main/Openssl::Certificate::X509[foo.example.com]/File[/tmp/foo.example.com.csr]: Skipping because of failed dependencies �[mNotice: Applied catalog in 0.01 seconds Shared Example Group: "an idempotent resource" called from ./vendor/bundle/ruby/3.2.0/gems/voxpupuli-acceptance-3.2.0/lib/voxpupuli/acceptance/examples.rb:14 Shared Example Group: "the example" called from ./spec/acceptance/x509_cert_spec.rb:10
Puppet / Puppet 7 - Debian 11: spec/acceptance/x509_cert_spec.rb#L11
x509_cert example behaves like the example is expected to be file and have attributes {:owner => "nobody"} Failure/Error: it { expect(file('/tmp/foo.example.com.crt')).to be_file.and(have_attributes(owner: 'nobody')) } expected `File "/tmp/foo.example.com.crt".file?` to be truthy, got false ...and: expected File "/tmp/foo.example.com.crt" to have attributes {:owner => "nobody"} but had attributes {:owner => ""} Diff for (have attributes {:owner => "nobody"}): @@ -1 +1 @@ -:owner => "nobody", +:owner => "", Shared Example Group: "the example" called from ./spec/acceptance/x509_cert_spec.rb:10
Puppet / Puppet 7 - Debian 11: spec/acceptance/x509_cert_spec.rb#L21
x509_cert example behaves like the example is expected to be file and have attributes {:mode => "600", :owner => "nobody"} Failure/Error: it { expect(file('/tmp/foo.example.com.key')).to be_file.and(have_attributes(owner: 'nobody', mode: '600')) } expected `File "/tmp/foo.example.com.key".file?` to be truthy, got false ...and: expected File "/tmp/foo.example.com.key" to have attributes {:mode => "600", :owner => "nobody"} but had attributes {:mode => "", :owner => ""} Diff for (have attributes {:mode => "600", :owner => "nobody"}): @@ -1,3 +1,3 @@ -:mode => "600", -:owner => "nobody", +:mode => "", +:owner => "", Shared Example Group: "the example" called from ./spec/acceptance/x509_cert_spec.rb:10
Puppet / Puppet 7 - Debian 11: spec/acceptance/x509_cert_spec.rb#L22
x509_cert example behaves like the example is expected to have matching certificate "/tmp/foo.example.com.crt" Failure/Error: it { expect(x509_private_key('/tmp/foo.example.com.key', passin: 'pass:mahje1Qu')).to have_matching_certificate('/tmp/foo.example.com.crt') } expected `X509 private key "/tmp/foo.example.com.key".has_matching_certificate?("/tmp/foo.example.com.crt")` to be truthy, got false Shared Example Group: "the example" called from ./spec/acceptance/x509_cert_spec.rb:10
Puppet / Puppet 7 - Debian 11: spec/acceptance/x509_cert_spec.rb#L15
x509_cert example behaves like the example X509 certificate "/tmp/foo.example.com.crt" is expected to be certificate Failure/Error: it { is_expected.to be_certificate } expected `X509 certificate "/tmp/foo.example.com.crt".certificate?` to be truthy, got false Shared Example Group: "the example" called from ./spec/acceptance/x509_cert_spec.rb:10
Puppet / Puppet 7 - Debian 11: spec/acceptance/x509_cert_spec.rb#L16
x509_cert example behaves like the example X509 certificate "/tmp/foo.example.com.crt" is expected to be valid Failure/Error: it { is_expected.to be_valid } expected `X509 certificate "/tmp/foo.example.com.crt".valid?` to be truthy, got false Shared Example Group: "the example" called from ./spec/acceptance/x509_cert_spec.rb:10
Puppet / Puppet 7 - Debian 11: spec/acceptance/x509_cert_spec.rb#L17
x509_cert example behaves like the example X509 certificate "/tmp/foo.example.com.crt" subject is expected to match without whitespace /C = CH, O = Example.com, CN = foo.example.com/ Failure/Error: its(:subject) { is_expected.to match_without_whitespace(%r{C = CH, O = Example.com, CN = foo.example.com}) } Actual: Expected: C = CH, O = Example.com, CN = foo.example.com Shared Example Group: "the example" called from ./spec/acceptance/x509_cert_spec.rb:10
Puppet / Puppet 7 - Debian 11: spec/acceptance/x509_cert_spec.rb#L18
x509_cert example behaves like the example X509 certificate "/tmp/foo.example.com.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_cert_spec.rb:10
Puppet / Puppet 7 - Debian 11
Process completed with exit code 1.
Puppet / Puppet 7 - Rocky 9: vendor/bundle/ruby/3.2.0/gems/voxpupuli-acceptance-3.2.0/lib/voxpupuli/acceptance/examples.rb#L4
x509_cert example 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 'rocky9-64-puppet7.example.com' exited with 4 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_161910919.WO3sCT.pp Last 10 lines of output were: undefined method `generate_parameters' for OpenSSL::PKey:Module Error: /Stage[main]/Main/Openssl::Certificate::X509[foo.example.com]/Ssl_pkey[/tmp/foo.example.com.key]/ensure: change from 'absent' to 'present' failed: Could not set 'present' on ensure: undefined method `generate_parameters' for OpenSSL::PKey:Module (file: /etc/puppetlabs/code/environments/production/modules/openssl/manifests/certificate/x509.pp, line: 157) �[mNotice: /Stage[main]/Main/Openssl::Certificate::X509[foo.example.com]/File[/tmp/foo.example.com.key]: Dependency Ssl_pkey[/tmp/foo.example.com.key] has failures: true Warning: /Stage[main]/Main/Openssl::Certificate::X509[foo.example.com]/File[/tmp/foo.example.com.key]: Skipping because of failed dependencies Warning: /Stage[main]/Main/Openssl::Certificate::X509[foo.example.com]/Openssl::Config[/tmp/foo.example.com.cnf]/File[/tmp/foo.example.com.cnf]: Skipping because of failed dependencies Warning: /Stage[main]/Main/Openssl::Certificate::X509[foo.example.com]/X509_request[/tmp/foo.example.com.csr]: Skipping because of failed dependencies Warning: /Stage[main]/Main/Openssl::Certificate::X509[foo.example.com]/X509_cert[/tmp/foo.example.com.crt]: Skipping because of failed dependencies Warning: /Stage[main]/Main/Openssl::Certificate::X509[foo.example.com]/File[/tmp/foo.example.com.crt]: Skipping because of failed dependencies Warning: /Stage[main]/Main/Openssl::Certificate::X509[foo.example.com]/File[/tmp/foo.example.com.csr]: Skipping because of failed dependencies �[mNotice: Applied catalog in 0.01 seconds Shared Example Group: "an idempotent resource" called from ./vendor/bundle/ruby/3.2.0/gems/voxpupuli-acceptance-3.2.0/lib/voxpupuli/acceptance/examples.rb:14 Shared Example Group: "the example" called from ./spec/acceptance/x509_cert_spec.rb:10
Puppet / Puppet 7 - Rocky 9: vendor/bundle/ruby/3.2.0/gems/voxpupuli-acceptance-3.2.0/lib/voxpupuli/acceptance/examples.rb#L8
x509_cert example 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 'rocky9-64-puppet7.example.com' exited with 4 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_161912965.FISbUZ.pp Last 10 lines of output were: undefined method `generate_parameters' for OpenSSL::PKey:Module Error: /Stage[main]/Main/Openssl::Certificate::X509[foo.example.com]/Ssl_pkey[/tmp/foo.example.com.key]/ensure: change from 'absent' to 'present' failed: Could not set 'present' on ensure: undefined method `generate_parameters' for OpenSSL::PKey:Module (file: /etc/puppetlabs/code/environments/production/modules/openssl/manifests/certificate/x509.pp, line: 157) �[mNotice: /Stage[main]/Main/Openssl::Certificate::X509[foo.example.com]/File[/tmp/foo.example.com.key]: Dependency Ssl_pkey[/tmp/foo.example.com.key] has failures: true Warning: /Stage[main]/Main/Openssl::Certificate::X509[foo.example.com]/File[/tmp/foo.example.com.key]: Skipping because of failed dependencies Warning: /Stage[main]/Main/Openssl::Certificate::X509[foo.example.com]/Openssl::Config[/tmp/foo.example.com.cnf]/File[/tmp/foo.example.com.cnf]: Skipping because of failed dependencies Warning: /Stage[main]/Main/Openssl::Certificate::X509[foo.example.com]/X509_request[/tmp/foo.example.com.csr]: Skipping because of failed dependencies Warning: /Stage[main]/Main/Openssl::Certificate::X509[foo.example.com]/X509_cert[/tmp/foo.example.com.crt]: Skipping because of failed dependencies Warning: /Stage[main]/Main/Openssl::Certificate::X509[foo.example.com]/File[/tmp/foo.example.com.crt]: Skipping because of failed dependencies Warning: /Stage[main]/Main/Openssl::Certificate::X509[foo.example.com]/File[/tmp/foo.example.com.csr]: Skipping because of failed dependencies �[mNotice: Applied catalog in 0.01 seconds Shared Example Group: "an idempotent resource" called from ./vendor/bundle/ruby/3.2.0/gems/voxpupuli-acceptance-3.2.0/lib/voxpupuli/acceptance/examples.rb:14 Shared Example Group: "the example" called from ./spec/acceptance/x509_cert_spec.rb:10
Puppet / Puppet 7 - Rocky 9: spec/acceptance/x509_cert_spec.rb#L11
x509_cert example behaves like the example is expected to be file and have attributes {:owner => "nobody"} Failure/Error: it { expect(file('/tmp/foo.example.com.crt')).to be_file.and(have_attributes(owner: 'nobody')) } expected `File "/tmp/foo.example.com.crt".file?` to be truthy, got false ...and: expected File "/tmp/foo.example.com.crt" to have attributes {:owner => "nobody"} but had attributes {:owner => ""} Diff for (have attributes {:owner => "nobody"}): @@ -1 +1 @@ -:owner => "nobody", +:owner => "", Shared Example Group: "the example" called from ./spec/acceptance/x509_cert_spec.rb:10
Puppet / Puppet 7 - Rocky 9: spec/acceptance/x509_cert_spec.rb#L21
x509_cert example behaves like the example is expected to be file and have attributes {:mode => "600", :owner => "nobody"} Failure/Error: it { expect(file('/tmp/foo.example.com.key')).to be_file.and(have_attributes(owner: 'nobody', mode: '600')) } expected `File "/tmp/foo.example.com.key".file?` to be truthy, got false ...and: expected File "/tmp/foo.example.com.key" to have attributes {:mode => "600", :owner => "nobody"} but had attributes {:mode => "", :owner => ""} Diff for (have attributes {:mode => "600", :owner => "nobody"}): @@ -1,3 +1,3 @@ -:mode => "600", -:owner => "nobody", +:mode => "", +:owner => "", Shared Example Group: "the example" called from ./spec/acceptance/x509_cert_spec.rb:10
Puppet / Puppet 7 - Rocky 9: spec/acceptance/x509_cert_spec.rb#L22
x509_cert example behaves like the example is expected to have matching certificate "/tmp/foo.example.com.crt" Failure/Error: it { expect(x509_private_key('/tmp/foo.example.com.key', passin: 'pass:mahje1Qu')).to have_matching_certificate('/tmp/foo.example.com.crt') } expected `X509 private key "/tmp/foo.example.com.key".has_matching_certificate?("/tmp/foo.example.com.crt")` to be truthy, got false Shared Example Group: "the example" called from ./spec/acceptance/x509_cert_spec.rb:10
Puppet / Puppet 7 - Rocky 9: spec/acceptance/x509_cert_spec.rb#L15
x509_cert example behaves like the example X509 certificate "/tmp/foo.example.com.crt" is expected to be certificate Failure/Error: it { is_expected.to be_certificate } expected `X509 certificate "/tmp/foo.example.com.crt".certificate?` to be truthy, got false Shared Example Group: "the example" called from ./spec/acceptance/x509_cert_spec.rb:10
Puppet / Puppet 7 - Rocky 9: spec/acceptance/x509_cert_spec.rb#L16
x509_cert example behaves like the example X509 certificate "/tmp/foo.example.com.crt" is expected to be valid Failure/Error: it { is_expected.to be_valid } expected `X509 certificate "/tmp/foo.example.com.crt".valid?` to be truthy, got false Shared Example Group: "the example" called from ./spec/acceptance/x509_cert_spec.rb:10
Puppet / Puppet 7 - Rocky 9: spec/acceptance/x509_cert_spec.rb#L17
x509_cert example behaves like the example X509 certificate "/tmp/foo.example.com.crt" subject is expected to match without whitespace /C = CH, O = Example.com, CN = foo.example.com/ Failure/Error: its(:subject) { is_expected.to match_without_whitespace(%r{C = CH, O = Example.com, CN = foo.example.com}) } Actual: Expected: C = CH, O = Example.com, CN = foo.example.com Shared Example Group: "the example" called from ./spec/acceptance/x509_cert_spec.rb:10
Puppet / Puppet 7 - Rocky 9: spec/acceptance/x509_cert_spec.rb#L18
x509_cert example behaves like the example X509 certificate "/tmp/foo.example.com.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_cert_spec.rb:10
Puppet / Puppet 7 - Rocky 9
Process completed with exit code 1.
Puppet / Puppet 7 - OracleLinux 8: vendor/bundle/ruby/3.2.0/gems/voxpupuli-acceptance-3.2.0/lib/voxpupuli/acceptance/examples.rb#L4
x509_cert example 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 'oracle8-64-puppet7.example.com' exited with 4 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_162013381.yC1JTy.pp Last 10 lines of output were: undefined method `generate_parameters' for OpenSSL::PKey:Module Error: /Stage[main]/Main/Openssl::Certificate::X509[foo.example.com]/Ssl_pkey[/tmp/foo.example.com.key]/ensure: change from 'absent' to 'present' failed: Could not set 'present' on ensure: undefined method `generate_parameters' for OpenSSL::PKey:Module (file: /etc/puppetlabs/code/environments/production/modules/openssl/manifests/certificate/x509.pp, line: 157) �[mNotice: /Stage[main]/Main/Openssl::Certificate::X509[foo.example.com]/File[/tmp/foo.example.com.key]: Dependency Ssl_pkey[/tmp/foo.example.com.key] has failures: true Warning: /Stage[main]/Main/Openssl::Certificate::X509[foo.example.com]/File[/tmp/foo.example.com.key]: Skipping because of failed dependencies Warning: /Stage[main]/Main/Openssl::Certificate::X509[foo.example.com]/Openssl::Config[/tmp/foo.example.com.cnf]/File[/tmp/foo.example.com.cnf]: Skipping because of failed dependencies Warning: /Stage[main]/Main/Openssl::Certificate::X509[foo.example.com]/X509_request[/tmp/foo.example.com.csr]: Skipping because of failed dependencies Warning: /Stage[main]/Main/Openssl::Certificate::X509[foo.example.com]/X509_cert[/tmp/foo.example.com.crt]: Skipping because of failed dependencies Warning: /Stage[main]/Main/Openssl::Certificate::X509[foo.example.com]/File[/tmp/foo.example.com.crt]: Skipping because of failed dependencies Warning: /Stage[main]/Main/Openssl::Certificate::X509[foo.example.com]/File[/tmp/foo.example.com.csr]: Skipping because of failed dependencies �[mNotice: Applied catalog in 0.01 seconds Shared Example Group: "an idempotent resource" called from ./vendor/bundle/ruby/3.2.0/gems/voxpupuli-acceptance-3.2.0/lib/voxpupuli/acceptance/examples.rb:14 Shared Example Group: "the example" called from ./spec/acceptance/x509_cert_spec.rb:10
Puppet / Puppet 7 - OracleLinux 8: vendor/bundle/ruby/3.2.0/gems/voxpupuli-acceptance-3.2.0/lib/voxpupuli/acceptance/examples.rb#L8
x509_cert example 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 'oracle8-64-puppet7.example.com' exited with 4 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_162015303.kcGdvt.pp Last 10 lines of output were: undefined method `generate_parameters' for OpenSSL::PKey:Module Error: /Stage[main]/Main/Openssl::Certificate::X509[foo.example.com]/Ssl_pkey[/tmp/foo.example.com.key]/ensure: change from 'absent' to 'present' failed: Could not set 'present' on ensure: undefined method `generate_parameters' for OpenSSL::PKey:Module (file: /etc/puppetlabs/code/environments/production/modules/openssl/manifests/certificate/x509.pp, line: 157) �[mNotice: /Stage[main]/Main/Openssl::Certificate::X509[foo.example.com]/File[/tmp/foo.example.com.key]: Dependency Ssl_pkey[/tmp/foo.example.com.key] has failures: true Warning: /Stage[main]/Main/Openssl::Certificate::X509[foo.example.com]/File[/tmp/foo.example.com.key]: Skipping because of failed dependencies Warning: /Stage[main]/Main/Openssl::Certificate::X509[foo.example.com]/Openssl::Config[/tmp/foo.example.com.cnf]/File[/tmp/foo.example.com.cnf]: Skipping because of failed dependencies Warning: /Stage[main]/Main/Openssl::Certificate::X509[foo.example.com]/X509_request[/tmp/foo.example.com.csr]: Skipping because of failed dependencies Warning: /Stage[main]/Main/Openssl::Certificate::X509[foo.example.com]/X509_cert[/tmp/foo.example.com.crt]: Skipping because of failed dependencies Warning: /Stage[main]/Main/Openssl::Certificate::X509[foo.example.com]/File[/tmp/foo.example.com.crt]: Skipping because of failed dependencies Warning: /Stage[main]/Main/Openssl::Certificate::X509[foo.example.com]/File[/tmp/foo.example.com.csr]: Skipping because of failed dependencies �[mNotice: Applied catalog in 0.01 seconds Shared Example Group: "an idempotent resource" called from ./vendor/bundle/ruby/3.2.0/gems/voxpupuli-acceptance-3.2.0/lib/voxpupuli/acceptance/examples.rb:14 Shared Example Group: "the example" called from ./spec/acceptance/x509_cert_spec.rb:10
Puppet / Puppet 7 - OracleLinux 8: spec/acceptance/x509_cert_spec.rb#L11
x509_cert example behaves like the example is expected to be file and have attributes {:owner => "nobody"} Failure/Error: it { expect(file('/tmp/foo.example.com.crt')).to be_file.and(have_attributes(owner: 'nobody')) } expected `File "/tmp/foo.example.com.crt".file?` to be truthy, got false ...and: expected File "/tmp/foo.example.com.crt" to have attributes {:owner => "nobody"} but had attributes {:owner => ""} Diff for (have attributes {:owner => "nobody"}): @@ -1 +1 @@ -:owner => "nobody", +:owner => "", Shared Example Group: "the example" called from ./spec/acceptance/x509_cert_spec.rb:10
Puppet / Puppet 7 - OracleLinux 8: spec/acceptance/x509_cert_spec.rb#L21
x509_cert example behaves like the example is expected to be file and have attributes {:mode => "600", :owner => "nobody"} Failure/Error: it { expect(file('/tmp/foo.example.com.key')).to be_file.and(have_attributes(owner: 'nobody', mode: '600')) } expected `File "/tmp/foo.example.com.key".file?` to be truthy, got false ...and: expected File "/tmp/foo.example.com.key" to have attributes {:mode => "600", :owner => "nobody"} but had attributes {:mode => "", :owner => ""} Diff for (have attributes {:mode => "600", :owner => "nobody"}): @@ -1,3 +1,3 @@ -:mode => "600", -:owner => "nobody", +:mode => "", +:owner => "", Shared Example Group: "the example" called from ./spec/acceptance/x509_cert_spec.rb:10
Puppet / Puppet 7 - OracleLinux 8: spec/acceptance/x509_cert_spec.rb#L22
x509_cert example behaves like the example is expected to have matching certificate "/tmp/foo.example.com.crt" Failure/Error: it { expect(x509_private_key('/tmp/foo.example.com.key', passin: 'pass:mahje1Qu')).to have_matching_certificate('/tmp/foo.example.com.crt') } expected `X509 private key "/tmp/foo.example.com.key".has_matching_certificate?("/tmp/foo.example.com.crt")` to be truthy, got false Shared Example Group: "the example" called from ./spec/acceptance/x509_cert_spec.rb:10
Puppet / Puppet 7 - OracleLinux 8: spec/acceptance/x509_cert_spec.rb#L15
x509_cert example behaves like the example X509 certificate "/tmp/foo.example.com.crt" is expected to be certificate Failure/Error: it { is_expected.to be_certificate } expected `X509 certificate "/tmp/foo.example.com.crt".certificate?` to be truthy, got false Shared Example Group: "the example" called from ./spec/acceptance/x509_cert_spec.rb:10
Puppet / Puppet 7 - OracleLinux 8: spec/acceptance/x509_cert_spec.rb#L16
x509_cert example behaves like the example X509 certificate "/tmp/foo.example.com.crt" is expected to be valid Failure/Error: it { is_expected.to be_valid } expected `X509 certificate "/tmp/foo.example.com.crt".valid?` to be truthy, got false Shared Example Group: "the example" called from ./spec/acceptance/x509_cert_spec.rb:10
Puppet / Puppet 7 - OracleLinux 8: spec/acceptance/x509_cert_spec.rb#L17
x509_cert example behaves like the example X509 certificate "/tmp/foo.example.com.crt" subject is expected to match without whitespace /C = CH, O = Example.com, CN = foo.example.com/ Failure/Error: its(:subject) { is_expected.to match_without_whitespace(%r{C = CH, O = Example.com, CN = foo.example.com}) } Actual: Expected: C = CH, O = Example.com, CN = foo.example.com Shared Example Group: "the example" called from ./spec/acceptance/x509_cert_spec.rb:10
Puppet / Puppet 7 - OracleLinux 8: spec/acceptance/x509_cert_spec.rb#L18
x509_cert example behaves like the example X509 certificate "/tmp/foo.example.com.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_cert_spec.rb:10
Puppet / Puppet 7 - OracleLinux 8
Process completed with exit code 1.
Puppet / Puppet 7 - AlmaLinux 8: vendor/bundle/ruby/3.2.0/gems/voxpupuli-acceptance-3.2.0/lib/voxpupuli/acceptance/examples.rb#L4
x509_cert example 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-puppet7.example.com' exited with 4 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_162055829.gAqFzT.pp Last 10 lines of output were: undefined method `generate_parameters' for OpenSSL::PKey:Module Error: /Stage[main]/Main/Openssl::Certificate::X509[foo.example.com]/Ssl_pkey[/tmp/foo.example.com.key]/ensure: change from 'absent' to 'present' failed: Could not set 'present' on ensure: undefined method `generate_parameters' for OpenSSL::PKey:Module (file: /etc/puppetlabs/code/environments/production/modules/openssl/manifests/certificate/x509.pp, line: 157) �[mNotice: /Stage[main]/Main/Openssl::Certificate::X509[foo.example.com]/File[/tmp/foo.example.com.key]: Dependency Ssl_pkey[/tmp/foo.example.com.key] has failures: true Warning: /Stage[main]/Main/Openssl::Certificate::X509[foo.example.com]/File[/tmp/foo.example.com.key]: Skipping because of failed dependencies Warning: /Stage[main]/Main/Openssl::Certificate::X509[foo.example.com]/Openssl::Config[/tmp/foo.example.com.cnf]/File[/tmp/foo.example.com.cnf]: Skipping because of failed dependencies Warning: /Stage[main]/Main/Openssl::Certificate::X509[foo.example.com]/X509_request[/tmp/foo.example.com.csr]: Skipping because of failed dependencies Warning: /Stage[main]/Main/Openssl::Certificate::X509[foo.example.com]/X509_cert[/tmp/foo.example.com.crt]: Skipping because of failed dependencies Warning: /Stage[main]/Main/Openssl::Certificate::X509[foo.example.com]/File[/tmp/foo.example.com.crt]: Skipping because of failed dependencies Warning: /Stage[main]/Main/Openssl::Certificate::X509[foo.example.com]/File[/tmp/foo.example.com.csr]: Skipping because of failed dependencies �[mNotice: Applied catalog in 0.01 seconds Shared Example Group: "an idempotent resource" called from ./vendor/bundle/ruby/3.2.0/gems/voxpupuli-acceptance-3.2.0/lib/voxpupuli/acceptance/examples.rb:14 Shared Example Group: "the example" called from ./spec/acceptance/x509_cert_spec.rb:10
Puppet / Puppet 7 - AlmaLinux 8: vendor/bundle/ruby/3.2.0/gems/voxpupuli-acceptance-3.2.0/lib/voxpupuli/acceptance/examples.rb#L8
x509_cert example 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-puppet7.example.com' exited with 4 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_162057778.6jvGDZ.pp Last 10 lines of output were: undefined method `generate_parameters' for OpenSSL::PKey:Module Error: /Stage[main]/Main/Openssl::Certificate::X509[foo.example.com]/Ssl_pkey[/tmp/foo.example.com.key]/ensure: change from 'absent' to 'present' failed: Could not set 'present' on ensure: undefined method `generate_parameters' for OpenSSL::PKey:Module (file: /etc/puppetlabs/code/environments/production/modules/openssl/manifests/certificate/x509.pp, line: 157) �[mNotice: /Stage[main]/Main/Openssl::Certificate::X509[foo.example.com]/File[/tmp/foo.example.com.key]: Dependency Ssl_pkey[/tmp/foo.example.com.key] has failures: true Warning: /Stage[main]/Main/Openssl::Certificate::X509[foo.example.com]/File[/tmp/foo.example.com.key]: Skipping because of failed dependencies Warning: /Stage[main]/Main/Openssl::Certificate::X509[foo.example.com]/Openssl::Config[/tmp/foo.example.com.cnf]/File[/tmp/foo.example.com.cnf]: Skipping because of failed dependencies Warning: /Stage[main]/Main/Openssl::Certificate::X509[foo.example.com]/X509_request[/tmp/foo.example.com.csr]: Skipping because of failed dependencies Warning: /Stage[main]/Main/Openssl::Certificate::X509[foo.example.com]/X509_cert[/tmp/foo.example.com.crt]: Skipping because of failed dependencies Warning: /Stage[main]/Main/Openssl::Certificate::X509[foo.example.com]/File[/tmp/foo.example.com.crt]: Skipping because of failed dependencies Warning: /Stage[main]/Main/Openssl::Certificate::X509[foo.example.com]/File[/tmp/foo.example.com.csr]: Skipping because of failed dependencies �[mNotice: Applied catalog in 0.01 seconds Shared Example Group: "an idempotent resource" called from ./vendor/bundle/ruby/3.2.0/gems/voxpupuli-acceptance-3.2.0/lib/voxpupuli/acceptance/examples.rb:14 Shared Example Group: "the example" called from ./spec/acceptance/x509_cert_spec.rb:10
Puppet / Puppet 7 - AlmaLinux 8: spec/acceptance/x509_cert_spec.rb#L11
x509_cert example behaves like the example is expected to be file and have attributes {:owner => "nobody"} Failure/Error: it { expect(file('/tmp/foo.example.com.crt')).to be_file.and(have_attributes(owner: 'nobody')) } expected `File "/tmp/foo.example.com.crt".file?` to be truthy, got false ...and: expected File "/tmp/foo.example.com.crt" to have attributes {:owner => "nobody"} but had attributes {:owner => ""} Diff for (have attributes {:owner => "nobody"}): @@ -1 +1 @@ -:owner => "nobody", +:owner => "", Shared Example Group: "the example" called from ./spec/acceptance/x509_cert_spec.rb:10
Puppet / Puppet 7 - AlmaLinux 8: spec/acceptance/x509_cert_spec.rb#L21
x509_cert example behaves like the example is expected to be file and have attributes {:mode => "600", :owner => "nobody"} Failure/Error: it { expect(file('/tmp/foo.example.com.key')).to be_file.and(have_attributes(owner: 'nobody', mode: '600')) } expected `File "/tmp/foo.example.com.key".file?` to be truthy, got false ...and: expected File "/tmp/foo.example.com.key" to have attributes {:mode => "600", :owner => "nobody"} but had attributes {:mode => "", :owner => ""} Diff for (have attributes {:mode => "600", :owner => "nobody"}): @@ -1,3 +1,3 @@ -:mode => "600", -:owner => "nobody", +:mode => "", +:owner => "", Shared Example Group: "the example" called from ./spec/acceptance/x509_cert_spec.rb:10
Puppet / Puppet 7 - AlmaLinux 8: spec/acceptance/x509_cert_spec.rb#L22
x509_cert example behaves like the example is expected to have matching certificate "/tmp/foo.example.com.crt" Failure/Error: it { expect(x509_private_key('/tmp/foo.example.com.key', passin: 'pass:mahje1Qu')).to have_matching_certificate('/tmp/foo.example.com.crt') } expected `X509 private key "/tmp/foo.example.com.key".has_matching_certificate?("/tmp/foo.example.com.crt")` to be truthy, got false Shared Example Group: "the example" called from ./spec/acceptance/x509_cert_spec.rb:10
Puppet / Puppet 7 - AlmaLinux 8: spec/acceptance/x509_cert_spec.rb#L15
x509_cert example behaves like the example X509 certificate "/tmp/foo.example.com.crt" is expected to be certificate Failure/Error: it { is_expected.to be_certificate } expected `X509 certificate "/tmp/foo.example.com.crt".certificate?` to be truthy, got false Shared Example Group: "the example" called from ./spec/acceptance/x509_cert_spec.rb:10
Puppet / Puppet 7 - AlmaLinux 8: spec/acceptance/x509_cert_spec.rb#L16
x509_cert example behaves like the example X509 certificate "/tmp/foo.example.com.crt" is expected to be valid Failure/Error: it { is_expected.to be_valid } expected `X509 certificate "/tmp/foo.example.com.crt".valid?` to be truthy, got false Shared Example Group: "the example" called from ./spec/acceptance/x509_cert_spec.rb:10
Puppet / Puppet 7 - AlmaLinux 8: spec/acceptance/x509_cert_spec.rb#L17
x509_cert example behaves like the example X509 certificate "/tmp/foo.example.com.crt" subject is expected to match without whitespace /C = CH, O = Example.com, CN = foo.example.com/ Failure/Error: its(:subject) { is_expected.to match_without_whitespace(%r{C = CH, O = Example.com, CN = foo.example.com}) } Actual: Expected: C = CH, O = Example.com, CN = foo.example.com Shared Example Group: "the example" called from ./spec/acceptance/x509_cert_spec.rb:10
Puppet / Puppet 7 - AlmaLinux 8: spec/acceptance/x509_cert_spec.rb#L18
x509_cert example behaves like the example X509 certificate "/tmp/foo.example.com.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_cert_spec.rb:10
Puppet / Puppet 7 - AlmaLinux 8
Process completed with exit code 1.
Puppet / Puppet 7 - Ubuntu 22.04: vendor/bundle/ruby/3.2.0/gems/voxpupuli-acceptance-3.2.0/lib/voxpupuli/acceptance/examples.rb#L4
x509_cert example 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 'ubuntu2204-64-puppet7.example.com' exited with 4 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_162153759.80qksc.pp Last 10 lines of output were: undefined method `generate_parameters' for OpenSSL::PKey:Module Error: /Stage[main]/Main/Openssl::Certificate::X509[foo.example.com]/Ssl_pkey[/tmp/foo.example.com.key]/ensure: change from 'absent' to 'present' failed: Could not set 'present' on ensure: undefined method `generate_parameters' for OpenSSL::PKey:Module (file: /etc/puppetlabs/code/environments/production/modules/openssl/manifests/certificate/x509.pp, line: 157) �[mNotice: /Stage[main]/Main/Openssl::Certificate::X509[foo.example.com]/File[/tmp/foo.example.com.key]: Dependency Ssl_pkey[/tmp/foo.example.com.key] has failures: true Warning: /Stage[main]/Main/Openssl::Certificate::X509[foo.example.com]/File[/tmp/foo.example.com.key]: Skipping because of failed dependencies Warning: /Stage[main]/Main/Openssl::Certificate::X509[foo.example.com]/Openssl::Config[/tmp/foo.example.com.cnf]/File[/tmp/foo.example.com.cnf]: Skipping because of failed dependencies Warning: /Stage[main]/Main/Openssl::Certificate::X509[foo.example.com]/X509_request[/tmp/foo.example.com.csr]: Skipping because of failed dependencies Warning: /Stage[main]/Main/Openssl::Certificate::X509[foo.example.com]/X509_cert[/tmp/foo.example.com.crt]: Skipping because of failed dependencies Warning: /Stage[main]/Main/Openssl::Certificate::X509[foo.example.com]/File[/tmp/foo.example.com.crt]: Skipping because of failed dependencies Warning: /Stage[main]/Main/Openssl::Certificate::X509[foo.example.com]/File[/tmp/foo.example.com.csr]: Skipping because of failed dependencies �[mNotice: Applied catalog in 0.01 seconds Shared Example Group: "an idempotent resource" called from ./vendor/bundle/ruby/3.2.0/gems/voxpupuli-acceptance-3.2.0/lib/voxpupuli/acceptance/examples.rb:14 Shared Example Group: "the example" called from ./spec/acceptance/x509_cert_spec.rb:10
Puppet / Puppet 7 - Ubuntu 22.04: vendor/bundle/ruby/3.2.0/gems/voxpupuli-acceptance-3.2.0/lib/voxpupuli/acceptance/examples.rb#L8
x509_cert example 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 'ubuntu2204-64-puppet7.example.com' exited with 4 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_162155667.Cwvp0e.pp Last 10 lines of output were: undefined method `generate_parameters' for OpenSSL::PKey:Module Error: /Stage[main]/Main/Openssl::Certificate::X509[foo.example.com]/Ssl_pkey[/tmp/foo.example.com.key]/ensure: change from 'absent' to 'present' failed: Could not set 'present' on ensure: undefined method `generate_parameters' for OpenSSL::PKey:Module (file: /etc/puppetlabs/code/environments/production/modules/openssl/manifests/certificate/x509.pp, line: 157) �[mNotice: /Stage[main]/Main/Openssl::Certificate::X509[foo.example.com]/File[/tmp/foo.example.com.key]: Dependency Ssl_pkey[/tmp/foo.example.com.key] has failures: true Warning: /Stage[main]/Main/Openssl::Certificate::X509[foo.example.com]/File[/tmp/foo.example.com.key]: Skipping because of failed dependencies Warning: /Stage[main]/Main/Openssl::Certificate::X509[foo.example.com]/Openssl::Config[/tmp/foo.example.com.cnf]/File[/tmp/foo.example.com.cnf]: Skipping because of failed dependencies Warning: /Stage[main]/Main/Openssl::Certificate::X509[foo.example.com]/X509_request[/tmp/foo.example.com.csr]: Skipping because of failed dependencies Warning: /Stage[main]/Main/Openssl::Certificate::X509[foo.example.com]/X509_cert[/tmp/foo.example.com.crt]: Skipping because of failed dependencies Warning: /Stage[main]/Main/Openssl::Certificate::X509[foo.example.com]/File[/tmp/foo.example.com.crt]: Skipping because of failed dependencies Warning: /Stage[main]/Main/Openssl::Certificate::X509[foo.example.com]/File[/tmp/foo.example.com.csr]: Skipping because of failed dependencies �[mNotice: Applied catalog in 0.01 seconds Shared Example Group: "an idempotent resource" called from ./vendor/bundle/ruby/3.2.0/gems/voxpupuli-acceptance-3.2.0/lib/voxpupuli/acceptance/examples.rb:14 Shared Example Group: "the example" called from ./spec/acceptance/x509_cert_spec.rb:10
Puppet / Puppet 7 - Ubuntu 22.04: spec/acceptance/x509_cert_spec.rb#L11
x509_cert example behaves like the example is expected to be file and have attributes {:owner => "nobody"} Failure/Error: it { expect(file('/tmp/foo.example.com.crt')).to be_file.and(have_attributes(owner: 'nobody')) } expected `File "/tmp/foo.example.com.crt".file?` to be truthy, got false ...and: expected File "/tmp/foo.example.com.crt" to have attributes {:owner => "nobody"} but had attributes {:owner => ""} Diff for (have attributes {:owner => "nobody"}): @@ -1 +1 @@ -:owner => "nobody", +:owner => "", Shared Example Group: "the example" called from ./spec/acceptance/x509_cert_spec.rb:10
Puppet / Puppet 7 - Ubuntu 22.04: spec/acceptance/x509_cert_spec.rb#L21
x509_cert example behaves like the example is expected to be file and have attributes {:mode => "600", :owner => "nobody"} Failure/Error: it { expect(file('/tmp/foo.example.com.key')).to be_file.and(have_attributes(owner: 'nobody', mode: '600')) } expected `File "/tmp/foo.example.com.key".file?` to be truthy, got false ...and: expected File "/tmp/foo.example.com.key" to have attributes {:mode => "600", :owner => "nobody"} but had attributes {:mode => "", :owner => ""} Diff for (have attributes {:mode => "600", :owner => "nobody"}): @@ -1,3 +1,3 @@ -:mode => "600", -:owner => "nobody", +:mode => "", +:owner => "", Shared Example Group: "the example" called from ./spec/acceptance/x509_cert_spec.rb:10
Puppet / Puppet 7 - Ubuntu 22.04: spec/acceptance/x509_cert_spec.rb#L22
x509_cert example behaves like the example is expected to have matching certificate "/tmp/foo.example.com.crt" Failure/Error: it { expect(x509_private_key('/tmp/foo.example.com.key', passin: 'pass:mahje1Qu')).to have_matching_certificate('/tmp/foo.example.com.crt') } expected `X509 private key "/tmp/foo.example.com.key".has_matching_certificate?("/tmp/foo.example.com.crt")` to be truthy, got false Shared Example Group: "the example" called from ./spec/acceptance/x509_cert_spec.rb:10
Puppet / Puppet 7 - Ubuntu 22.04: spec/acceptance/x509_cert_spec.rb#L15
x509_cert example behaves like the example X509 certificate "/tmp/foo.example.com.crt" is expected to be certificate Failure/Error: it { is_expected.to be_certificate } expected `X509 certificate "/tmp/foo.example.com.crt".certificate?` to be truthy, got false Shared Example Group: "the example" called from ./spec/acceptance/x509_cert_spec.rb:10
Puppet / Puppet 7 - Ubuntu 22.04: spec/acceptance/x509_cert_spec.rb#L16
x509_cert example behaves like the example X509 certificate "/tmp/foo.example.com.crt" is expected to be valid Failure/Error: it { is_expected.to be_valid } expected `X509 certificate "/tmp/foo.example.com.crt".valid?` to be truthy, got false Shared Example Group: "the example" called from ./spec/acceptance/x509_cert_spec.rb:10
Puppet / Puppet 7 - Ubuntu 22.04: spec/acceptance/x509_cert_spec.rb#L17
x509_cert example behaves like the example X509 certificate "/tmp/foo.example.com.crt" subject is expected to match without whitespace /C = CH, O = Example.com, CN = foo.example.com/ Failure/Error: its(:subject) { is_expected.to match_without_whitespace(%r{C = CH, O = Example.com, CN = foo.example.com}) } Actual: Expected: C = CH, O = Example.com, CN = foo.example.com Shared Example Group: "the example" called from ./spec/acceptance/x509_cert_spec.rb:10
Puppet / Puppet 7 - Ubuntu 22.04: spec/acceptance/x509_cert_spec.rb#L18
x509_cert example behaves like the example X509 certificate "/tmp/foo.example.com.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_cert_spec.rb:10
Puppet / Puppet 7 - Ubuntu 22.04
Process completed with exit code 1.
Puppet / Puppet 7 - Ubuntu 20.04: vendor/bundle/ruby/3.2.0/gems/voxpupuli-acceptance-3.2.0/lib/voxpupuli/acceptance/examples.rb#L4
x509_cert example 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 'ubuntu2004-64-puppet7.example.com' exited with 4 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_162214692.pAeOzY.pp Last 10 lines of output were: undefined method `generate_parameters' for OpenSSL::PKey:Module Error: /Stage[main]/Main/Openssl::Certificate::X509[foo.example.com]/Ssl_pkey[/tmp/foo.example.com.key]/ensure: change from 'absent' to 'present' failed: Could not set 'present' on ensure: undefined method `generate_parameters' for OpenSSL::PKey:Module (file: /etc/puppetlabs/code/environments/production/modules/openssl/manifests/certificate/x509.pp, line: 157) �[mNotice: /Stage[main]/Main/Openssl::Certificate::X509[foo.example.com]/File[/tmp/foo.example.com.key]: Dependency Ssl_pkey[/tmp/foo.example.com.key] has failures: true Warning: /Stage[main]/Main/Openssl::Certificate::X509[foo.example.com]/File[/tmp/foo.example.com.key]: Skipping because of failed dependencies Warning: /Stage[main]/Main/Openssl::Certificate::X509[foo.example.com]/Openssl::Config[/tmp/foo.example.com.cnf]/File[/tmp/foo.example.com.cnf]: Skipping because of failed dependencies Warning: /Stage[main]/Main/Openssl::Certificate::X509[foo.example.com]/X509_request[/tmp/foo.example.com.csr]: Skipping because of failed dependencies Warning: /Stage[main]/Main/Openssl::Certificate::X509[foo.example.com]/X509_cert[/tmp/foo.example.com.crt]: Skipping because of failed dependencies Warning: /Stage[main]/Main/Openssl::Certificate::X509[foo.example.com]/File[/tmp/foo.example.com.crt]: Skipping because of failed dependencies Warning: /Stage[main]/Main/Openssl::Certificate::X509[foo.example.com]/File[/tmp/foo.example.com.csr]: Skipping because of failed dependencies �[mNotice: Applied catalog in 0.01 seconds Shared Example Group: "an idempotent resource" called from ./vendor/bundle/ruby/3.2.0/gems/voxpupuli-acceptance-3.2.0/lib/voxpupuli/acceptance/examples.rb:14 Shared Example Group: "the example" called from ./spec/acceptance/x509_cert_spec.rb:10
Puppet / Puppet 7 - Ubuntu 20.04: vendor/bundle/ruby/3.2.0/gems/voxpupuli-acceptance-3.2.0/lib/voxpupuli/acceptance/examples.rb#L8
x509_cert example 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 'ubuntu2004-64-puppet7.example.com' exited with 4 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_162216662.t2OkDm.pp Last 10 lines of output were: undefined method `generate_parameters' for OpenSSL::PKey:Module Error: /Stage[main]/Main/Openssl::Certificate::X509[foo.example.com]/Ssl_pkey[/tmp/foo.example.com.key]/ensure: change from 'absent' to 'present' failed: Could not set 'present' on ensure: undefined method `generate_parameters' for OpenSSL::PKey:Module (file: /etc/puppetlabs/code/environments/production/modules/openssl/manifests/certificate/x509.pp, line: 157) �[mNotice: /Stage[main]/Main/Openssl::Certificate::X509[foo.example.com]/File[/tmp/foo.example.com.key]: Dependency Ssl_pkey[/tmp/foo.example.com.key] has failures: true Warning: /Stage[main]/Main/Openssl::Certificate::X509[foo.example.com]/File[/tmp/foo.example.com.key]: Skipping because of failed dependencies Warning: /Stage[main]/Main/Openssl::Certificate::X509[foo.example.com]/Openssl::Config[/tmp/foo.example.com.cnf]/File[/tmp/foo.example.com.cnf]: Skipping because of failed dependencies Warning: /Stage[main]/Main/Openssl::Certificate::X509[foo.example.com]/X509_request[/tmp/foo.example.com.csr]: Skipping because of failed dependencies Warning: /Stage[main]/Main/Openssl::Certificate::X509[foo.example.com]/X509_cert[/tmp/foo.example.com.crt]: Skipping because of failed dependencies Warning: /Stage[main]/Main/Openssl::Certificate::X509[foo.example.com]/File[/tmp/foo.example.com.crt]: Skipping because of failed dependencies Warning: /Stage[main]/Main/Openssl::Certificate::X509[foo.example.com]/File[/tmp/foo.example.com.csr]: Skipping because of failed dependencies �[mNotice: Applied catalog in 0.01 seconds Shared Example Group: "an idempotent resource" called from ./vendor/bundle/ruby/3.2.0/gems/voxpupuli-acceptance-3.2.0/lib/voxpupuli/acceptance/examples.rb:14 Shared Example Group: "the example" called from ./spec/acceptance/x509_cert_spec.rb:10
Puppet / Puppet 7 - Ubuntu 20.04: spec/acceptance/x509_cert_spec.rb#L11
x509_cert example behaves like the example is expected to be file and have attributes {:owner => "nobody"} Failure/Error: it { expect(file('/tmp/foo.example.com.crt')).to be_file.and(have_attributes(owner: 'nobody')) } expected `File "/tmp/foo.example.com.crt".file?` to be truthy, got false ...and: expected File "/tmp/foo.example.com.crt" to have attributes {:owner => "nobody"} but had attributes {:owner => ""} Diff for (have attributes {:owner => "nobody"}): @@ -1 +1 @@ -:owner => "nobody", +:owner => "", Shared Example Group: "the example" called from ./spec/acceptance/x509_cert_spec.rb:10
Puppet / Puppet 7 - Ubuntu 20.04: spec/acceptance/x509_cert_spec.rb#L21
x509_cert example behaves like the example is expected to be file and have attributes {:mode => "600", :owner => "nobody"} Failure/Error: it { expect(file('/tmp/foo.example.com.key')).to be_file.and(have_attributes(owner: 'nobody', mode: '600')) } expected `File "/tmp/foo.example.com.key".file?` to be truthy, got false ...and: expected File "/tmp/foo.example.com.key" to have attributes {:mode => "600", :owner => "nobody"} but had attributes {:mode => "", :owner => ""} Diff for (have attributes {:mode => "600", :owner => "nobody"}): @@ -1,3 +1,3 @@ -:mode => "600", -:owner => "nobody", +:mode => "", +:owner => "", Shared Example Group: "the example" called from ./spec/acceptance/x509_cert_spec.rb:10
Puppet / Puppet 7 - Ubuntu 20.04: spec/acceptance/x509_cert_spec.rb#L22
x509_cert example behaves like the example is expected to have matching certificate "/tmp/foo.example.com.crt" Failure/Error: it { expect(x509_private_key('/tmp/foo.example.com.key', passin: 'pass:mahje1Qu')).to have_matching_certificate('/tmp/foo.example.com.crt') } expected `X509 private key "/tmp/foo.example.com.key".has_matching_certificate?("/tmp/foo.example.com.crt")` to be truthy, got false Shared Example Group: "the example" called from ./spec/acceptance/x509_cert_spec.rb:10
Puppet / Puppet 7 - Ubuntu 20.04: spec/acceptance/x509_cert_spec.rb#L15
x509_cert example behaves like the example X509 certificate "/tmp/foo.example.com.crt" is expected to be certificate Failure/Error: it { is_expected.to be_certificate } expected `X509 certificate "/tmp/foo.example.com.crt".certificate?` to be truthy, got false Shared Example Group: "the example" called from ./spec/acceptance/x509_cert_spec.rb:10
Puppet / Puppet 7 - Ubuntu 20.04: spec/acceptance/x509_cert_spec.rb#L16
x509_cert example behaves like the example X509 certificate "/tmp/foo.example.com.crt" is expected to be valid Failure/Error: it { is_expected.to be_valid } expected `X509 certificate "/tmp/foo.example.com.crt".valid?` to be truthy, got false Shared Example Group: "the example" called from ./spec/acceptance/x509_cert_spec.rb:10
Puppet / Puppet 7 - Ubuntu 20.04: spec/acceptance/x509_cert_spec.rb#L17
x509_cert example behaves like the example X509 certificate "/tmp/foo.example.com.crt" subject is expected to match without whitespace /C = CH, O = Example.com, CN = foo.example.com/ Failure/Error: its(:subject) { is_expected.to match_without_whitespace(%r{C = CH, O = Example.com, CN = foo.example.com}) } Actual: Expected: C = CH, O = Example.com, CN = foo.example.com Shared Example Group: "the example" called from ./spec/acceptance/x509_cert_spec.rb:10
Puppet / Puppet 7 - Ubuntu 20.04: spec/acceptance/x509_cert_spec.rb#L18
x509_cert example behaves like the example X509 certificate "/tmp/foo.example.com.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_cert_spec.rb:10
Puppet / Puppet 7 - Ubuntu 20.04
Process completed with exit code 1.
Puppet / Puppet 7 - Rocky 8: vendor/bundle/ruby/3.2.0/gems/voxpupuli-acceptance-3.2.0/lib/voxpupuli/acceptance/examples.rb#L4
x509_cert example 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 'rocky8-64-puppet7.example.com' exited with 4 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_162233352.QitQKO.pp Last 10 lines of output were: undefined method `generate_parameters' for OpenSSL::PKey:Module Error: /Stage[main]/Main/Openssl::Certificate::X509[foo.example.com]/Ssl_pkey[/tmp/foo.example.com.key]/ensure: change from 'absent' to 'present' failed: Could not set 'present' on ensure: undefined method `generate_parameters' for OpenSSL::PKey:Module (file: /etc/puppetlabs/code/environments/production/modules/openssl/manifests/certificate/x509.pp, line: 157) �[mNotice: /Stage[main]/Main/Openssl::Certificate::X509[foo.example.com]/File[/tmp/foo.example.com.key]: Dependency Ssl_pkey[/tmp/foo.example.com.key] has failures: true Warning: /Stage[main]/Main/Openssl::Certificate::X509[foo.example.com]/File[/tmp/foo.example.com.key]: Skipping because of failed dependencies Warning: /Stage[main]/Main/Openssl::Certificate::X509[foo.example.com]/Openssl::Config[/tmp/foo.example.com.cnf]/File[/tmp/foo.example.com.cnf]: Skipping because of failed dependencies Warning: /Stage[main]/Main/Openssl::Certificate::X509[foo.example.com]/X509_request[/tmp/foo.example.com.csr]: Skipping because of failed dependencies Warning: /Stage[main]/Main/Openssl::Certificate::X509[foo.example.com]/X509_cert[/tmp/foo.example.com.crt]: Skipping because of failed dependencies Warning: /Stage[main]/Main/Openssl::Certificate::X509[foo.example.com]/File[/tmp/foo.example.com.crt]: Skipping because of failed dependencies Warning: /Stage[main]/Main/Openssl::Certificate::X509[foo.example.com]/File[/tmp/foo.example.com.csr]: Skipping because of failed dependencies �[mNotice: Applied catalog in 0.01 seconds Shared Example Group: "an idempotent resource" called from ./vendor/bundle/ruby/3.2.0/gems/voxpupuli-acceptance-3.2.0/lib/voxpupuli/acceptance/examples.rb:14 Shared Example Group: "the example" called from ./spec/acceptance/x509_cert_spec.rb:10
Puppet / Puppet 7 - Rocky 8: vendor/bundle/ruby/3.2.0/gems/voxpupuli-acceptance-3.2.0/lib/voxpupuli/acceptance/examples.rb#L8
x509_cert example 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 'rocky8-64-puppet7.example.com' exited with 4 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_162235241.STVw2f.pp Last 10 lines of output were: undefined method `generate_parameters' for OpenSSL::PKey:Module Error: /Stage[main]/Main/Openssl::Certificate::X509[foo.example.com]/Ssl_pkey[/tmp/foo.example.com.key]/ensure: change from 'absent' to 'present' failed: Could not set 'present' on ensure: undefined method `generate_parameters' for OpenSSL::PKey:Module (file: /etc/puppetlabs/code/environments/production/modules/openssl/manifests/certificate/x509.pp, line: 157) �[mNotice: /Stage[main]/Main/Openssl::Certificate::X509[foo.example.com]/File[/tmp/foo.example.com.key]: Dependency Ssl_pkey[/tmp/foo.example.com.key] has failures: true Warning: /Stage[main]/Main/Openssl::Certificate::X509[foo.example.com]/File[/tmp/foo.example.com.key]: Skipping because of failed dependencies Warning: /Stage[main]/Main/Openssl::Certificate::X509[foo.example.com]/Openssl::Config[/tmp/foo.example.com.cnf]/File[/tmp/foo.example.com.cnf]: Skipping because of failed dependencies Warning: /Stage[main]/Main/Openssl::Certificate::X509[foo.example.com]/X509_request[/tmp/foo.example.com.csr]: Skipping because of failed dependencies Warning: /Stage[main]/Main/Openssl::Certificate::X509[foo.example.com]/X509_cert[/tmp/foo.example.com.crt]: Skipping because of failed dependencies Warning: /Stage[main]/Main/Openssl::Certificate::X509[foo.example.com]/File[/tmp/foo.example.com.crt]: Skipping because of failed dependencies Warning: /Stage[main]/Main/Openssl::Certificate::X509[foo.example.com]/File[/tmp/foo.example.com.csr]: Skipping because of failed dependencies �[mNotice: Applied catalog in 0.01 seconds Shared Example Group: "an idempotent resource" called from ./vendor/bundle/ruby/3.2.0/gems/voxpupuli-acceptance-3.2.0/lib/voxpupuli/acceptance/examples.rb:14 Shared Example Group: "the example" called from ./spec/acceptance/x509_cert_spec.rb:10
Puppet / Puppet 7 - Rocky 8: spec/acceptance/x509_cert_spec.rb#L11
x509_cert example behaves like the example is expected to be file and have attributes {:owner => "nobody"} Failure/Error: it { expect(file('/tmp/foo.example.com.crt')).to be_file.and(have_attributes(owner: 'nobody')) } expected `File "/tmp/foo.example.com.crt".file?` to be truthy, got false ...and: expected File "/tmp/foo.example.com.crt" to have attributes {:owner => "nobody"} but had attributes {:owner => ""} Diff for (have attributes {:owner => "nobody"}): @@ -1 +1 @@ -:owner => "nobody", +:owner => "", Shared Example Group: "the example" called from ./spec/acceptance/x509_cert_spec.rb:10
Puppet / Puppet 7 - Rocky 8: spec/acceptance/x509_cert_spec.rb#L21
x509_cert example behaves like the example is expected to be file and have attributes {:mode => "600", :owner => "nobody"} Failure/Error: it { expect(file('/tmp/foo.example.com.key')).to be_file.and(have_attributes(owner: 'nobody', mode: '600')) } expected `File "/tmp/foo.example.com.key".file?` to be truthy, got false ...and: expected File "/tmp/foo.example.com.key" to have attributes {:mode => "600", :owner => "nobody"} but had attributes {:mode => "", :owner => ""} Diff for (have attributes {:mode => "600", :owner => "nobody"}): @@ -1,3 +1,3 @@ -:mode => "600", -:owner => "nobody", +:mode => "", +:owner => "", Shared Example Group: "the example" called from ./spec/acceptance/x509_cert_spec.rb:10
Puppet / Puppet 7 - Rocky 8: spec/acceptance/x509_cert_spec.rb#L22
x509_cert example behaves like the example is expected to have matching certificate "/tmp/foo.example.com.crt" Failure/Error: it { expect(x509_private_key('/tmp/foo.example.com.key', passin: 'pass:mahje1Qu')).to have_matching_certificate('/tmp/foo.example.com.crt') } expected `X509 private key "/tmp/foo.example.com.key".has_matching_certificate?("/tmp/foo.example.com.crt")` to be truthy, got false Shared Example Group: "the example" called from ./spec/acceptance/x509_cert_spec.rb:10
Puppet / Puppet 7 - Rocky 8: spec/acceptance/x509_cert_spec.rb#L15
x509_cert example behaves like the example X509 certificate "/tmp/foo.example.com.crt" is expected to be certificate Failure/Error: it { is_expected.to be_certificate } expected `X509 certificate "/tmp/foo.example.com.crt".certificate?` to be truthy, got false Shared Example Group: "the example" called from ./spec/acceptance/x509_cert_spec.rb:10
Puppet / Puppet 7 - Rocky 8: spec/acceptance/x509_cert_spec.rb#L16
x509_cert example behaves like the example X509 certificate "/tmp/foo.example.com.crt" is expected to be valid Failure/Error: it { is_expected.to be_valid } expected `X509 certificate "/tmp/foo.example.com.crt".valid?` to be truthy, got false Shared Example Group: "the example" called from ./spec/acceptance/x509_cert_spec.rb:10
Puppet / Puppet 7 - Rocky 8: spec/acceptance/x509_cert_spec.rb#L17
x509_cert example behaves like the example X509 certificate "/tmp/foo.example.com.crt" subject is expected to match without whitespace /C = CH, O = Example.com, CN = foo.example.com/ Failure/Error: its(:subject) { is_expected.to match_without_whitespace(%r{C = CH, O = Example.com, CN = foo.example.com}) } Actual: Expected: C = CH, O = Example.com, CN = foo.example.com Shared Example Group: "the example" called from ./spec/acceptance/x509_cert_spec.rb:10
Puppet / Puppet 7 - Rocky 8: spec/acceptance/x509_cert_spec.rb#L18
x509_cert example behaves like the example X509 certificate "/tmp/foo.example.com.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_cert_spec.rb:10
Puppet / Puppet 7 - Rocky 8
Process completed with exit code 1.
Puppet / Puppet 7 - Debian 12: vendor/bundle/ruby/3.2.0/gems/voxpupuli-acceptance-3.2.0/lib/voxpupuli/acceptance/examples.rb#L4
x509_cert example 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 'debian12-64-puppet7.example.com' exited with 4 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_162520434.U21yMa.pp Last 10 lines of output were: undefined method `generate_parameters' for OpenSSL::PKey:Module Error: /Stage[main]/Main/Openssl::Certificate::X509[foo.example.com]/Ssl_pkey[/tmp/foo.example.com.key]/ensure: change from 'absent' to 'present' failed: Could not set 'present' on ensure: undefined method `generate_parameters' for OpenSSL::PKey:Module (file: /etc/puppetlabs/code/environments/production/modules/openssl/manifests/certificate/x509.pp, line: 157) �[mNotice: /Stage[main]/Main/Openssl::Certificate::X509[foo.example.com]/File[/tmp/foo.example.com.key]: Dependency Ssl_pkey[/tmp/foo.example.com.key] has failures: true Warning: /Stage[main]/Main/Openssl::Certificate::X509[foo.example.com]/File[/tmp/foo.example.com.key]: Skipping because of failed dependencies Warning: /Stage[main]/Main/Openssl::Certificate::X509[foo.example.com]/Openssl::Config[/tmp/foo.example.com.cnf]/File[/tmp/foo.example.com.cnf]: Skipping because of failed dependencies Warning: /Stage[main]/Main/Openssl::Certificate::X509[foo.example.com]/X509_request[/tmp/foo.example.com.csr]: Skipping because of failed dependencies Warning: /Stage[main]/Main/Openssl::Certificate::X509[foo.example.com]/X509_cert[/tmp/foo.example.com.crt]: Skipping because of failed dependencies Warning: /Stage[main]/Main/Openssl::Certificate::X509[foo.example.com]/File[/tmp/foo.example.com.crt]: Skipping because of failed dependencies Warning: /Stage[main]/Main/Openssl::Certificate::X509[foo.example.com]/File[/tmp/foo.example.com.csr]: Skipping because of failed dependencies �[mNotice: Applied catalog in 0.01 seconds Shared Example Group: "an idempotent resource" called from ./vendor/bundle/ruby/3.2.0/gems/voxpupuli-acceptance-3.2.0/lib/voxpupuli/acceptance/examples.rb:14 Shared Example Group: "the example" called from ./spec/acceptance/x509_cert_spec.rb:10
Puppet / Puppet 7 - Debian 12: vendor/bundle/ruby/3.2.0/gems/voxpupuli-acceptance-3.2.0/lib/voxpupuli/acceptance/examples.rb#L8
x509_cert example 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 'debian12-64-puppet7.example.com' exited with 4 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_162522256.FUJqBo.pp Last 10 lines of output were: undefined method `generate_parameters' for OpenSSL::PKey:Module Error: /Stage[main]/Main/Openssl::Certificate::X509[foo.example.com]/Ssl_pkey[/tmp/foo.example.com.key]/ensure: change from 'absent' to 'present' failed: Could not set 'present' on ensure: undefined method `generate_parameters' for OpenSSL::PKey:Module (file: /etc/puppetlabs/code/environments/production/modules/openssl/manifests/certificate/x509.pp, line: 157) �[mNotice: /Stage[main]/Main/Openssl::Certificate::X509[foo.example.com]/File[/tmp/foo.example.com.key]: Dependency Ssl_pkey[/tmp/foo.example.com.key] has failures: true Warning: /Stage[main]/Main/Openssl::Certificate::X509[foo.example.com]/File[/tmp/foo.example.com.key]: Skipping because of failed dependencies Warning: /Stage[main]/Main/Openssl::Certificate::X509[foo.example.com]/Openssl::Config[/tmp/foo.example.com.cnf]/File[/tmp/foo.example.com.cnf]: Skipping because of failed dependencies Warning: /Stage[main]/Main/Openssl::Certificate::X509[foo.example.com]/X509_request[/tmp/foo.example.com.csr]: Skipping because of failed dependencies Warning: /Stage[main]/Main/Openssl::Certificate::X509[foo.example.com]/X509_cert[/tmp/foo.example.com.crt]: Skipping because of failed dependencies Warning: /Stage[main]/Main/Openssl::Certificate::X509[foo.example.com]/File[/tmp/foo.example.com.crt]: Skipping because of failed dependencies Warning: /Stage[main]/Main/Openssl::Certificate::X509[foo.example.com]/File[/tmp/foo.example.com.csr]: Skipping because of failed dependencies �[mNotice: Applied catalog in 0.01 seconds Shared Example Group: "an idempotent resource" called from ./vendor/bundle/ruby/3.2.0/gems/voxpupuli-acceptance-3.2.0/lib/voxpupuli/acceptance/examples.rb:14 Shared Example Group: "the example" called from ./spec/acceptance/x509_cert_spec.rb:10
Puppet / Puppet 7 - Debian 12: spec/acceptance/x509_cert_spec.rb#L11
x509_cert example behaves like the example is expected to be file and have attributes {:owner => "nobody"} Failure/Error: it { expect(file('/tmp/foo.example.com.crt')).to be_file.and(have_attributes(owner: 'nobody')) } expected `File "/tmp/foo.example.com.crt".file?` to be truthy, got false ...and: expected File "/tmp/foo.example.com.crt" to have attributes {:owner => "nobody"} but had attributes {:owner => ""} Diff for (have attributes {:owner => "nobody"}): @@ -1 +1 @@ -:owner => "nobody", +:owner => "", Shared Example Group: "the example" called from ./spec/acceptance/x509_cert_spec.rb:10
Puppet / Puppet 7 - Debian 12: spec/acceptance/x509_cert_spec.rb#L21
x509_cert example behaves like the example is expected to be file and have attributes {:mode => "600", :owner => "nobody"} Failure/Error: it { expect(file('/tmp/foo.example.com.key')).to be_file.and(have_attributes(owner: 'nobody', mode: '600')) } expected `File "/tmp/foo.example.com.key".file?` to be truthy, got false ...and: expected File "/tmp/foo.example.com.key" to have attributes {:mode => "600", :owner => "nobody"} but had attributes {:mode => "", :owner => ""} Diff for (have attributes {:mode => "600", :owner => "nobody"}): @@ -1,3 +1,3 @@ -:mode => "600", -:owner => "nobody", +:mode => "", +:owner => "", Shared Example Group: "the example" called from ./spec/acceptance/x509_cert_spec.rb:10
Puppet / Puppet 7 - Debian 12: spec/acceptance/x509_cert_spec.rb#L22
x509_cert example behaves like the example is expected to have matching certificate "/tmp/foo.example.com.crt" Failure/Error: it { expect(x509_private_key('/tmp/foo.example.com.key', passin: 'pass:mahje1Qu')).to have_matching_certificate('/tmp/foo.example.com.crt') } expected `X509 private key "/tmp/foo.example.com.key".has_matching_certificate?("/tmp/foo.example.com.crt")` to be truthy, got false Shared Example Group: "the example" called from ./spec/acceptance/x509_cert_spec.rb:10
Puppet / Puppet 7 - Debian 12: spec/acceptance/x509_cert_spec.rb#L15
x509_cert example behaves like the example X509 certificate "/tmp/foo.example.com.crt" is expected to be certificate Failure/Error: it { is_expected.to be_certificate } expected `X509 certificate "/tmp/foo.example.com.crt".certificate?` to be truthy, got false Shared Example Group: "the example" called from ./spec/acceptance/x509_cert_spec.rb:10
Puppet / Puppet 7 - Debian 12: spec/acceptance/x509_cert_spec.rb#L16
x509_cert example behaves like the example X509 certificate "/tmp/foo.example.com.crt" is expected to be valid Failure/Error: it { is_expected.to be_valid } expected `X509 certificate "/tmp/foo.example.com.crt".valid?` to be truthy, got false Shared Example Group: "the example" called from ./spec/acceptance/x509_cert_spec.rb:10
Puppet / Puppet 7 - Debian 12: spec/acceptance/x509_cert_spec.rb#L17
x509_cert example behaves like the example X509 certificate "/tmp/foo.example.com.crt" subject is expected to match without whitespace /C = CH, O = Example.com, CN = foo.example.com/ Failure/Error: its(:subject) { is_expected.to match_without_whitespace(%r{C = CH, O = Example.com, CN = foo.example.com}) } Actual: Expected: C = CH, O = Example.com, CN = foo.example.com Shared Example Group: "the example" called from ./spec/acceptance/x509_cert_spec.rb:10
Puppet / Puppet 7 - Debian 12: spec/acceptance/x509_cert_spec.rb#L18
x509_cert example behaves like the example X509 certificate "/tmp/foo.example.com.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_cert_spec.rb:10
Puppet / Puppet 7 - Debian 12
Process completed with exit code 1.
Puppet / Distro Puppet - Archlinux rolling: vendor/bundle/ruby/3.2.0/gems/voxpupuli-acceptance-3.2.0/lib/voxpupuli/acceptance/examples.rb#L4
x509_cert example 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 'archlinuxrolling-64.example.com' exited with 4 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_162637408.VBzzce.pp Last 10 lines of output were: EVP_PKEY_paramgen_init: initialization error Error: /Stage[main]/Main/Openssl::Certificate::X509[foo.example.com]/Ssl_pkey[/tmp/foo.example.com.key]/ensure: change from 'absent' to 'present' failed: Could not set 'present' on ensure: EVP_PKEY_paramgen_init: initialization error (file: /etc/puppetlabs/code/modules/openssl/manifests/certificate/x509.pp, line: 157) �[mNotice: /Stage[main]/Main/Openssl::Certificate::X509[foo.example.com]/File[/tmp/foo.example.com.key]: Dependency Ssl_pkey[/tmp/foo.example.com.key] has failures: true Warning: /Stage[main]/Main/Openssl::Certificate::X509[foo.example.com]/File[/tmp/foo.example.com.key]: Skipping because of failed dependencies Warning: /Stage[main]/Main/Openssl::Certificate::X509[foo.example.com]/Openssl::Config[/tmp/foo.example.com.cnf]/File[/tmp/foo.example.com.cnf]: Skipping because of failed dependencies Warning: /Stage[main]/Main/Openssl::Certificate::X509[foo.example.com]/X509_request[/tmp/foo.example.com.csr]: Skipping because of failed dependencies Warning: /Stage[main]/Main/Openssl::Certificate::X509[foo.example.com]/X509_cert[/tmp/foo.example.com.crt]: Skipping because of failed dependencies Warning: /Stage[main]/Main/Openssl::Certificate::X509[foo.example.com]/File[/tmp/foo.example.com.crt]: Skipping because of failed dependencies Warning: /Stage[main]/Main/Openssl::Certificate::X509[foo.example.com]/File[/tmp/foo.example.com.csr]: Skipping because of failed dependencies �[mNotice: Applied catalog in 0.01 seconds Shared Example Group: "an idempotent resource" called from ./vendor/bundle/ruby/3.2.0/gems/voxpupuli-acceptance-3.2.0/lib/voxpupuli/acceptance/examples.rb:14 Shared Example Group: "the example" called from ./spec/acceptance/x509_cert_spec.rb:10
Puppet / Distro Puppet - Archlinux rolling: vendor/bundle/ruby/3.2.0/gems/voxpupuli-acceptance-3.2.0/lib/voxpupuli/acceptance/examples.rb#L8
x509_cert example 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 'archlinuxrolling-64.example.com' exited with 4 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_162639280.IzLOpw.pp Last 10 lines of output were: EVP_PKEY_paramgen_init: initialization error Error: /Stage[main]/Main/Openssl::Certificate::X509[foo.example.com]/Ssl_pkey[/tmp/foo.example.com.key]/ensure: change from 'absent' to 'present' failed: Could not set 'present' on ensure: EVP_PKEY_paramgen_init: initialization error (file: /etc/puppetlabs/code/modules/openssl/manifests/certificate/x509.pp, line: 157) �[mNotice: /Stage[main]/Main/Openssl::Certificate::X509[foo.example.com]/File[/tmp/foo.example.com.key]: Dependency Ssl_pkey[/tmp/foo.example.com.key] has failures: true Warning: /Stage[main]/Main/Openssl::Certificate::X509[foo.example.com]/File[/tmp/foo.example.com.key]: Skipping because of failed dependencies Warning: /Stage[main]/Main/Openssl::Certificate::X509[foo.example.com]/Openssl::Config[/tmp/foo.example.com.cnf]/File[/tmp/foo.example.com.cnf]: Skipping because of failed dependencies Warning: /Stage[main]/Main/Openssl::Certificate::X509[foo.example.com]/X509_request[/tmp/foo.example.com.csr]: Skipping because of failed dependencies Warning: /Stage[main]/Main/Openssl::Certificate::X509[foo.example.com]/X509_cert[/tmp/foo.example.com.crt]: Skipping because of failed dependencies Warning: /Stage[main]/Main/Openssl::Certificate::X509[foo.example.com]/File[/tmp/foo.example.com.crt]: Skipping because of failed dependencies Warning: /Stage[main]/Main/Openssl::Certificate::X509[foo.example.com]/File[/tmp/foo.example.com.csr]: Skipping because of failed dependencies �[mNotice: Applied catalog in 0.01 seconds Shared Example Group: "an idempotent resource" called from ./vendor/bundle/ruby/3.2.0/gems/voxpupuli-acceptance-3.2.0/lib/voxpupuli/acceptance/examples.rb:14 Shared Example Group: "the example" called from ./spec/acceptance/x509_cert_spec.rb:10
Puppet / Distro Puppet - Archlinux rolling: spec/acceptance/x509_cert_spec.rb#L11
x509_cert example behaves like the example is expected to be file and have attributes {:owner => "nobody"} Failure/Error: it { expect(file('/tmp/foo.example.com.crt')).to be_file.and(have_attributes(owner: 'nobody')) } expected `File "/tmp/foo.example.com.crt".file?` to be truthy, got false ...and: expected File "/tmp/foo.example.com.crt" to have attributes {:owner => "nobody"} but had attributes {:owner => ""} Diff for (have attributes {:owner => "nobody"}): @@ -1 +1 @@ -:owner => "nobody", +:owner => "", Shared Example Group: "the example" called from ./spec/acceptance/x509_cert_spec.rb:10
Puppet / Distro Puppet - Archlinux rolling: spec/acceptance/x509_cert_spec.rb#L21
x509_cert example behaves like the example is expected to be file and have attributes {:mode => "600", :owner => "nobody"} Failure/Error: it { expect(file('/tmp/foo.example.com.key')).to be_file.and(have_attributes(owner: 'nobody', mode: '600')) } expected `File "/tmp/foo.example.com.key".file?` to be truthy, got false ...and: expected File "/tmp/foo.example.com.key" to have attributes {:mode => "600", :owner => "nobody"} but had attributes {:mode => "", :owner => ""} Diff for (have attributes {:mode => "600", :owner => "nobody"}): @@ -1,3 +1,3 @@ -:mode => "600", -:owner => "nobody", +:mode => "", +:owner => "", Shared Example Group: "the example" called from ./spec/acceptance/x509_cert_spec.rb:10
Puppet / Distro Puppet - Archlinux rolling: spec/acceptance/x509_cert_spec.rb#L22
x509_cert example behaves like the example is expected to have matching certificate "/tmp/foo.example.com.crt" Failure/Error: it { expect(x509_private_key('/tmp/foo.example.com.key', passin: 'pass:mahje1Qu')).to have_matching_certificate('/tmp/foo.example.com.crt') } expected `X509 private key "/tmp/foo.example.com.key".has_matching_certificate?("/tmp/foo.example.com.crt")` to be truthy, got false Shared Example Group: "the example" called from ./spec/acceptance/x509_cert_spec.rb:10
Puppet / Distro Puppet - Archlinux rolling: spec/acceptance/x509_cert_spec.rb#L15
x509_cert example behaves like the example X509 certificate "/tmp/foo.example.com.crt" is expected to be certificate Failure/Error: it { is_expected.to be_certificate } expected `X509 certificate "/tmp/foo.example.com.crt".certificate?` to be truthy, got false Shared Example Group: "the example" called from ./spec/acceptance/x509_cert_spec.rb:10
Puppet / Distro Puppet - Archlinux rolling: spec/acceptance/x509_cert_spec.rb#L16
x509_cert example behaves like the example X509 certificate "/tmp/foo.example.com.crt" is expected to be valid Failure/Error: it { is_expected.to be_valid } expected `X509 certificate "/tmp/foo.example.com.crt".valid?` to be truthy, got false Shared Example Group: "the example" called from ./spec/acceptance/x509_cert_spec.rb:10
Puppet / Distro Puppet - Archlinux rolling: spec/acceptance/x509_cert_spec.rb#L17
x509_cert example behaves like the example X509 certificate "/tmp/foo.example.com.crt" subject is expected to match without whitespace /C = CH, O = Example.com, CN = foo.example.com/ Failure/Error: its(:subject) { is_expected.to match_without_whitespace(%r{C = CH, O = Example.com, CN = foo.example.com}) } Actual: Expected: C = CH, O = Example.com, CN = foo.example.com Shared Example Group: "the example" called from ./spec/acceptance/x509_cert_spec.rb:10
Puppet / Distro Puppet - Archlinux rolling: spec/acceptance/x509_cert_spec.rb#L18
x509_cert example behaves like the example X509 certificate "/tmp/foo.example.com.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_cert_spec.rb:10
Puppet / Distro Puppet - Archlinux rolling
Process completed with exit code 1.
Puppet / Puppet 7 - CentOS 9: vendor/bundle/ruby/3.2.0/gems/voxpupuli-acceptance-3.2.0/lib/voxpupuli/acceptance/examples.rb#L4
x509_cert example 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 'centos9-64-puppet7.example.com' exited with 4 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_162824494.DRnh4J.pp Last 10 lines of output were: undefined method `generate_parameters' for OpenSSL::PKey:Module Error: /Stage[main]/Main/Openssl::Certificate::X509[foo.example.com]/Ssl_pkey[/tmp/foo.example.com.key]/ensure: change from 'absent' to 'present' failed: Could not set 'present' on ensure: undefined method `generate_parameters' for OpenSSL::PKey:Module (file: /etc/puppetlabs/code/environments/production/modules/openssl/manifests/certificate/x509.pp, line: 157) �[mNotice: /Stage[main]/Main/Openssl::Certificate::X509[foo.example.com]/File[/tmp/foo.example.com.key]: Dependency Ssl_pkey[/tmp/foo.example.com.key] has failures: true Warning: /Stage[main]/Main/Openssl::Certificate::X509[foo.example.com]/File[/tmp/foo.example.com.key]: Skipping because of failed dependencies Warning: /Stage[main]/Main/Openssl::Certificate::X509[foo.example.com]/Openssl::Config[/tmp/foo.example.com.cnf]/File[/tmp/foo.example.com.cnf]: Skipping because of failed dependencies Warning: /Stage[main]/Main/Openssl::Certificate::X509[foo.example.com]/X509_request[/tmp/foo.example.com.csr]: Skipping because of failed dependencies Warning: /Stage[main]/Main/Openssl::Certificate::X509[foo.example.com]/X509_cert[/tmp/foo.example.com.crt]: Skipping because of failed dependencies Warning: /Stage[main]/Main/Openssl::Certificate::X509[foo.example.com]/File[/tmp/foo.example.com.crt]: Skipping because of failed dependencies Warning: /Stage[main]/Main/Openssl::Certificate::X509[foo.example.com]/File[/tmp/foo.example.com.csr]: Skipping because of failed dependencies �[mNotice: Applied catalog in 0.01 seconds Shared Example Group: "an idempotent resource" called from ./vendor/bundle/ruby/3.2.0/gems/voxpupuli-acceptance-3.2.0/lib/voxpupuli/acceptance/examples.rb:14 Shared Example Group: "the example" called from ./spec/acceptance/x509_cert_spec.rb:10
Puppet / Puppet 7 - CentOS 9: vendor/bundle/ruby/3.2.0/gems/voxpupuli-acceptance-3.2.0/lib/voxpupuli/acceptance/examples.rb#L8
x509_cert example 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 'centos9-64-puppet7.example.com' exited with 4 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_162826402.F8TxvC.pp Last 10 lines of output were: undefined method `generate_parameters' for OpenSSL::PKey:Module Error: /Stage[main]/Main/Openssl::Certificate::X509[foo.example.com]/Ssl_pkey[/tmp/foo.example.com.key]/ensure: change from 'absent' to 'present' failed: Could not set 'present' on ensure: undefined method `generate_parameters' for OpenSSL::PKey:Module (file: /etc/puppetlabs/code/environments/production/modules/openssl/manifests/certificate/x509.pp, line: 157) �[mNotice: /Stage[main]/Main/Openssl::Certificate::X509[foo.example.com]/File[/tmp/foo.example.com.key]: Dependency Ssl_pkey[/tmp/foo.example.com.key] has failures: true Warning: /Stage[main]/Main/Openssl::Certificate::X509[foo.example.com]/File[/tmp/foo.example.com.key]: Skipping because of failed dependencies Warning: /Stage[main]/Main/Openssl::Certificate::X509[foo.example.com]/Openssl::Config[/tmp/foo.example.com.cnf]/File[/tmp/foo.example.com.cnf]: Skipping because of failed dependencies Warning: /Stage[main]/Main/Openssl::Certificate::X509[foo.example.com]/X509_request[/tmp/foo.example.com.csr]: Skipping because of failed dependencies Warning: /Stage[main]/Main/Openssl::Certificate::X509[foo.example.com]/X509_cert[/tmp/foo.example.com.crt]: Skipping because of failed dependencies Warning: /Stage[main]/Main/Openssl::Certificate::X509[foo.example.com]/File[/tmp/foo.example.com.crt]: Skipping because of failed dependencies Warning: /Stage[main]/Main/Openssl::Certificate::X509[foo.example.com]/File[/tmp/foo.example.com.csr]: Skipping because of failed dependencies �[mNotice: Applied catalog in 0.01 seconds Shared Example Group: "an idempotent resource" called from ./vendor/bundle/ruby/3.2.0/gems/voxpupuli-acceptance-3.2.0/lib/voxpupuli/acceptance/examples.rb:14 Shared Example Group: "the example" called from ./spec/acceptance/x509_cert_spec.rb:10
Puppet / Puppet 7 - CentOS 9: spec/acceptance/x509_cert_spec.rb#L11
x509_cert example behaves like the example is expected to be file and have attributes {:owner => "nobody"} Failure/Error: it { expect(file('/tmp/foo.example.com.crt')).to be_file.and(have_attributes(owner: 'nobody')) } expected `File "/tmp/foo.example.com.crt".file?` to be truthy, got false ...and: expected File "/tmp/foo.example.com.crt" to have attributes {:owner => "nobody"} but had attributes {:owner => ""} Diff for (have attributes {:owner => "nobody"}): @@ -1 +1 @@ -:owner => "nobody", +:owner => "", Shared Example Group: "the example" called from ./spec/acceptance/x509_cert_spec.rb:10
Puppet / Puppet 7 - CentOS 9: spec/acceptance/x509_cert_spec.rb#L21
x509_cert example behaves like the example is expected to be file and have attributes {:mode => "600", :owner => "nobody"} Failure/Error: it { expect(file('/tmp/foo.example.com.key')).to be_file.and(have_attributes(owner: 'nobody', mode: '600')) } expected `File "/tmp/foo.example.com.key".file?` to be truthy, got false ...and: expected File "/tmp/foo.example.com.key" to have attributes {:mode => "600", :owner => "nobody"} but had attributes {:mode => "", :owner => ""} Diff for (have attributes {:mode => "600", :owner => "nobody"}): @@ -1,3 +1,3 @@ -:mode => "600", -:owner => "nobody", +:mode => "", +:owner => "", Shared Example Group: "the example" called from ./spec/acceptance/x509_cert_spec.rb:10
Puppet / Puppet 7 - CentOS 9: spec/acceptance/x509_cert_spec.rb#L22
x509_cert example behaves like the example is expected to have matching certificate "/tmp/foo.example.com.crt" Failure/Error: it { expect(x509_private_key('/tmp/foo.example.com.key', passin: 'pass:mahje1Qu')).to have_matching_certificate('/tmp/foo.example.com.crt') } expected `X509 private key "/tmp/foo.example.com.key".has_matching_certificate?("/tmp/foo.example.com.crt")` to be truthy, got false Shared Example Group: "the example" called from ./spec/acceptance/x509_cert_spec.rb:10
Puppet / Puppet 7 - CentOS 9: spec/acceptance/x509_cert_spec.rb#L15
x509_cert example behaves like the example X509 certificate "/tmp/foo.example.com.crt" is expected to be certificate Failure/Error: it { is_expected.to be_certificate } expected `X509 certificate "/tmp/foo.example.com.crt".certificate?` to be truthy, got false Shared Example Group: "the example" called from ./spec/acceptance/x509_cert_spec.rb:10
Puppet / Puppet 7 - CentOS 9: spec/acceptance/x509_cert_spec.rb#L16
x509_cert example behaves like the example X509 certificate "/tmp/foo.example.com.crt" is expected to be valid Failure/Error: it { is_expected.to be_valid } expected `X509 certificate "/tmp/foo.example.com.crt".valid?` to be truthy, got false Shared Example Group: "the example" called from ./spec/acceptance/x509_cert_spec.rb:10
Puppet / Puppet 7 - CentOS 9: spec/acceptance/x509_cert_spec.rb#L17
x509_cert example behaves like the example X509 certificate "/tmp/foo.example.com.crt" subject is expected to match without whitespace /C = CH, O = Example.com, CN = foo.example.com/ Failure/Error: its(:subject) { is_expected.to match_without_whitespace(%r{C = CH, O = Example.com, CN = foo.example.com}) } Actual: Expected: C = CH, O = Example.com, CN = foo.example.com Shared Example Group: "the example" called from ./spec/acceptance/x509_cert_spec.rb:10
Puppet / Puppet 7 - CentOS 9: spec/acceptance/x509_cert_spec.rb#L18
x509_cert example behaves like the example X509 certificate "/tmp/foo.example.com.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_cert_spec.rb:10
Puppet / Puppet 7 - CentOS 9
Process completed with exit code 1.
Puppet / Puppet 7 - OracleLinux 9: vendor/bundle/ruby/3.2.0/gems/voxpupuli-acceptance-3.2.0/lib/voxpupuli/acceptance/examples.rb#L4
x509_cert example 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 'oracle9-64-puppet7.example.com' exited with 4 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_162836909.8d8dfu.pp Last 10 lines of output were: undefined method `generate_parameters' for OpenSSL::PKey:Module Error: /Stage[main]/Main/Openssl::Certificate::X509[foo.example.com]/Ssl_pkey[/tmp/foo.example.com.key]/ensure: change from 'absent' to 'present' failed: Could not set 'present' on ensure: undefined method `generate_parameters' for OpenSSL::PKey:Module (file: /etc/puppetlabs/code/environments/production/modules/openssl/manifests/certificate/x509.pp, line: 157) �[mNotice: /Stage[main]/Main/Openssl::Certificate::X509[foo.example.com]/File[/tmp/foo.example.com.key]: Dependency Ssl_pkey[/tmp/foo.example.com.key] has failures: true Warning: /Stage[main]/Main/Openssl::Certificate::X509[foo.example.com]/File[/tmp/foo.example.com.key]: Skipping because of failed dependencies Warning: /Stage[main]/Main/Openssl::Certificate::X509[foo.example.com]/Openssl::Config[/tmp/foo.example.com.cnf]/File[/tmp/foo.example.com.cnf]: Skipping because of failed dependencies Warning: /Stage[main]/Main/Openssl::Certificate::X509[foo.example.com]/X509_request[/tmp/foo.example.com.csr]: Skipping because of failed dependencies Warning: /Stage[main]/Main/Openssl::Certificate::X509[foo.example.com]/X509_cert[/tmp/foo.example.com.crt]: Skipping because of failed dependencies Warning: /Stage[main]/Main/Openssl::Certificate::X509[foo.example.com]/File[/tmp/foo.example.com.crt]: Skipping because of failed dependencies Warning: /Stage[main]/Main/Openssl::Certificate::X509[foo.example.com]/File[/tmp/foo.example.com.csr]: Skipping because of failed dependencies �[mNotice: Applied catalog in 0.01 seconds Shared Example Group: "an idempotent resource" called from ./vendor/bundle/ruby/3.2.0/gems/voxpupuli-acceptance-3.2.0/lib/voxpupuli/acceptance/examples.rb:14 Shared Example Group: "the example" called from ./spec/acceptance/x509_cert_spec.rb:10
Puppet / Puppet 7 - OracleLinux 9: vendor/bundle/ruby/3.2.0/gems/voxpupuli-acceptance-3.2.0/lib/voxpupuli/acceptance/examples.rb#L8
x509_cert example 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 'oracle9-64-puppet7.example.com' exited with 4 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_162838751.PaevwY.pp Last 10 lines of output were: undefined method `generate_parameters' for OpenSSL::PKey:Module Error: /Stage[main]/Main/Openssl::Certificate::X509[foo.example.com]/Ssl_pkey[/tmp/foo.example.com.key]/ensure: change from 'absent' to 'present' failed: Could not set 'present' on ensure: undefined method `generate_parameters' for OpenSSL::PKey:Module (file: /etc/puppetlabs/code/environments/production/modules/openssl/manifests/certificate/x509.pp, line: 157) �[mNotice: /Stage[main]/Main/Openssl::Certificate::X509[foo.example.com]/File[/tmp/foo.example.com.key]: Dependency Ssl_pkey[/tmp/foo.example.com.key] has failures: true Warning: /Stage[main]/Main/Openssl::Certificate::X509[foo.example.com]/File[/tmp/foo.example.com.key]: Skipping because of failed dependencies Warning: /Stage[main]/Main/Openssl::Certificate::X509[foo.example.com]/Openssl::Config[/tmp/foo.example.com.cnf]/File[/tmp/foo.example.com.cnf]: Skipping because of failed dependencies Warning: /Stage[main]/Main/Openssl::Certificate::X509[foo.example.com]/X509_request[/tmp/foo.example.com.csr]: Skipping because of failed dependencies Warning: /Stage[main]/Main/Openssl::Certificate::X509[foo.example.com]/X509_cert[/tmp/foo.example.com.crt]: Skipping because of failed dependencies Warning: /Stage[main]/Main/Openssl::Certificate::X509[foo.example.com]/File[/tmp/foo.example.com.crt]: Skipping because of failed dependencies Warning: /Stage[main]/Main/Openssl::Certificate::X509[foo.example.com]/File[/tmp/foo.example.com.csr]: Skipping because of failed dependencies �[mNotice: Applied catalog in 0.01 seconds Shared Example Group: "an idempotent resource" called from ./vendor/bundle/ruby/3.2.0/gems/voxpupuli-acceptance-3.2.0/lib/voxpupuli/acceptance/examples.rb:14 Shared Example Group: "the example" called from ./spec/acceptance/x509_cert_spec.rb:10
Puppet / Puppet 7 - OracleLinux 9: spec/acceptance/x509_cert_spec.rb#L11
x509_cert example behaves like the example is expected to be file and have attributes {:owner => "nobody"} Failure/Error: it { expect(file('/tmp/foo.example.com.crt')).to be_file.and(have_attributes(owner: 'nobody')) } expected `File "/tmp/foo.example.com.crt".file?` to be truthy, got false ...and: expected File "/tmp/foo.example.com.crt" to have attributes {:owner => "nobody"} but had attributes {:owner => ""} Diff for (have attributes {:owner => "nobody"}): @@ -1 +1 @@ -:owner => "nobody", +:owner => "", Shared Example Group: "the example" called from ./spec/acceptance/x509_cert_spec.rb:10
Puppet / Puppet 7 - OracleLinux 9: spec/acceptance/x509_cert_spec.rb#L21
x509_cert example behaves like the example is expected to be file and have attributes {:mode => "600", :owner => "nobody"} Failure/Error: it { expect(file('/tmp/foo.example.com.key')).to be_file.and(have_attributes(owner: 'nobody', mode: '600')) } expected `File "/tmp/foo.example.com.key".file?` to be truthy, got false ...and: expected File "/tmp/foo.example.com.key" to have attributes {:mode => "600", :owner => "nobody"} but had attributes {:mode => "", :owner => ""} Diff for (have attributes {:mode => "600", :owner => "nobody"}): @@ -1,3 +1,3 @@ -:mode => "600", -:owner => "nobody", +:mode => "", +:owner => "", Shared Example Group: "the example" called from ./spec/acceptance/x509_cert_spec.rb:10
Puppet / Puppet 7 - OracleLinux 9: spec/acceptance/x509_cert_spec.rb#L22
x509_cert example behaves like the example is expected to have matching certificate "/tmp/foo.example.com.crt" Failure/Error: it { expect(x509_private_key('/tmp/foo.example.com.key', passin: 'pass:mahje1Qu')).to have_matching_certificate('/tmp/foo.example.com.crt') } expected `X509 private key "/tmp/foo.example.com.key".has_matching_certificate?("/tmp/foo.example.com.crt")` to be truthy, got false Shared Example Group: "the example" called from ./spec/acceptance/x509_cert_spec.rb:10
Puppet / Puppet 7 - OracleLinux 9: spec/acceptance/x509_cert_spec.rb#L15
x509_cert example behaves like the example X509 certificate "/tmp/foo.example.com.crt" is expected to be certificate Failure/Error: it { is_expected.to be_certificate } expected `X509 certificate "/tmp/foo.example.com.crt".certificate?` to be truthy, got false Shared Example Group: "the example" called from ./spec/acceptance/x509_cert_spec.rb:10
Puppet / Puppet 7 - OracleLinux 9: spec/acceptance/x509_cert_spec.rb#L16
x509_cert example behaves like the example X509 certificate "/tmp/foo.example.com.crt" is expected to be valid Failure/Error: it { is_expected.to be_valid } expected `X509 certificate "/tmp/foo.example.com.crt".valid?` to be truthy, got false Shared Example Group: "the example" called from ./spec/acceptance/x509_cert_spec.rb:10
Puppet / Puppet 7 - OracleLinux 9: spec/acceptance/x509_cert_spec.rb#L17
x509_cert example behaves like the example X509 certificate "/tmp/foo.example.com.crt" subject is expected to match without whitespace /C = CH, O = Example.com, CN = foo.example.com/ Failure/Error: its(:subject) { is_expected.to match_without_whitespace(%r{C = CH, O = Example.com, CN = foo.example.com}) } Actual: Expected: C = CH, O = Example.com, CN = foo.example.com Shared Example Group: "the example" called from ./spec/acceptance/x509_cert_spec.rb:10
Puppet / Puppet 7 - OracleLinux 9: spec/acceptance/x509_cert_spec.rb#L18
x509_cert example behaves like the example X509 certificate "/tmp/foo.example.com.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_cert_spec.rb:10
Puppet / Puppet 7 - OracleLinux 9
Process completed with exit code 1.