Add class to handle creation of certs for advisor service on localhost #1263
Annotations
10 errors
Run tests:
vendor/bundle/ruby/3.2.0/gems/voxpupuli-acceptance-3.3.0/lib/voxpupuli/acceptance/examples.rb#L4
certs::iop_advisor_engine with default parameters behaves like an idempotent resource 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-puppet8.example.com' exited with 1 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_134201848.ZHI7Ss.pp
Last 10 lines of output were:
Info: Loading facts
Info: Loading facts
Info: Loading facts
Info: Loading facts
Warning: Facter: Container runtime, 'docker', is unsupported, setting to 'container_other'
Error: Evaluation Error: Unknown variable: 'cert_directory'. (file: /etc/puppetlabs/code/environments/production/modules/certs/manifests/iop_advisor_engine.pp, line: 22, column: 21) on node centos9-64-puppet8.example.com
Shared Example Group: "an idempotent resource" called from ./spec/acceptance/iop_advisor_engine_spec.rb:28
|
Run tests:
vendor/bundle/ruby/3.2.0/gems/voxpupuli-acceptance-3.3.0/lib/voxpupuli/acceptance/examples.rb#L8
certs::iop_advisor_engine with default parameters behaves like an idempotent resource applies a second time without changes
Failure/Error: raise CommandFailure, "Host '#{self}' exited with #{result.exit_code} running:\n #{cmdline}\nLast #{@options[:trace_limit]} lines of output were:\n#{result.formatted_output(@options[:trace_limit])}"
Beaker::Host::CommandFailure:
Host 'centos9-64-puppet8.example.com' exited with 1 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_134203979.4hKYFS.pp
Last 10 lines of output were:
Info: Loading facts
Info: Loading facts
Info: Loading facts
Info: Loading facts
Warning: Facter: Container runtime, 'docker', is unsupported, setting to 'container_other'
Error: Evaluation Error: Unknown variable: 'cert_directory'. (file: /etc/puppetlabs/code/environments/production/modules/certs/manifests/iop_advisor_engine.pp, line: 22, column: 21) on node centos9-64-puppet8.example.com
Shared Example Group: "an idempotent resource" called from ./spec/acceptance/iop_advisor_engine_spec.rb:28
|
Run tests:
spec/acceptance/iop_advisor_engine_spec.rb#L33
certs::iop_advisor_engine with default parameters X509 certificate "/etc/iop-advisor-engine/server.cert" is expected to be certificate
Failure/Error: it { should be_certificate }
expected `X509 certificate "/etc/iop-advisor-engine/server.cert".certificate?` to be truthy, got false
|
Run tests:
spec/acceptance/iop_advisor_engine_spec.rb#L34
certs::iop_advisor_engine with default parameters X509 certificate "/etc/iop-advisor-engine/server.cert" is expected to be valid
Failure/Error: it { should be_valid }
expected `X509 certificate "/etc/iop-advisor-engine/server.cert".valid?` to be truthy, got false
|
Run tests:
spec/acceptance/iop_advisor_engine_spec.rb#L35
certs::iop_advisor_engine with default parameters X509 certificate "/etc/iop-advisor-engine/server.cert" is expected to have purpose "server"
Failure/Error: it { should have_purpose 'server' }
expected `X509 certificate "/etc/iop-advisor-engine/server.cert".has_purpose?("server")` to be truthy, got false
|
Run tests:
spec/acceptance/iop_advisor_engine_spec.rb#L36
certs::iop_advisor_engine with default parameters X509 certificate "/etc/iop-advisor-engine/server.cert" issuer is expected to match without whitespace /C = US, ST = North Carolina, L = Raleigh, O = Katello, OU = SomeOrgUnit, CN = centos9-64-puppet8.example.com/
Failure/Error: its(:issuer) { should match_without_whitespace(/C = US, ST = North Carolina, L = Raleigh, O = Katello, OU = SomeOrgUnit, CN = #{fqdn}/) }
Actual:
Expected:
C = US, ST = North Carolina, L = Raleigh, O = Katello, OU = SomeOrgUnit, CN = centos9-64-puppet8.example.com
|
Run tests:
spec/acceptance/iop_advisor_engine_spec.rb#L37
certs::iop_advisor_engine with default parameters X509 certificate "/etc/iop-advisor-engine/server.cert" subject is expected to match without whitespace /C = US, ST = North Carolina, O = Katello, OU = SomeOrgUnit, CN = localhost/
Failure/Error: its(:subject) { should match_without_whitespace(/C = US, ST = North Carolina, O = Katello, OU = SomeOrgUnit, CN = #{hostname}/) }
Actual:
Expected:
C = US, ST = North Carolina, O = Katello, OU = SomeOrgUnit, CN = localhost
|
Run tests:
spec/acceptance/iop_advisor_engine_spec.rb#L38
certs::iop_advisor_engine with default parameters X509 certificate "/etc/iop-advisor-engine/server.cert" keylength is expected to be >= 4096
Failure/Error: its(:keylength) { should be >= 4096 }
expected: >= 4096
got: 0
|
Run tests:
spec/acceptance/iop_advisor_engine_spec.rb#L42
certs::iop_advisor_engine with default parameters File "/etc/iop-advisor-engine/server.cert" is expected to be file
Failure/Error: it { should be_file }
expected `File "/etc/iop-advisor-engine/server.cert".file?` to be truthy, got false
|
Run tests:
spec/acceptance/iop_advisor_engine_spec.rb#L43
certs::iop_advisor_engine with default parameters File "/etc/iop-advisor-engine/server.cert" is expected to be mode 444
Failure/Error: it { should be_mode 444 }
expected `File "/etc/iop-advisor-engine/server.cert".mode?(444)` to be truthy, got false
|
Set up job
1s
1s
Error:
This step has been truncated due to its large size. Download the full logs from the menu
once the workflow run has completed.
Run actions/checkout@v4
1s
1s
Error:
This step has been truncated due to its large size. Download the full logs from the menu
once the workflow run has completed.
install additional packages
0s
0s
Error:
This step has been truncated due to its large size. Download the full logs from the menu
once the workflow run has completed.
Setup libvirt for Vagrant
0s
0s
Error:
This step has been truncated due to its large size. Download the full logs from the menu
once the workflow run has completed.
Setup ruby
11s
11s
Error:
This step has been truncated due to its large size. Download the full logs from the menu
once the workflow run has completed.
Run tests
6m 43s
6m 43s
Error:
This step has been truncated due to its large size. Download the full logs from the menu
once the workflow run has completed.
Post Run actions/checkout@v4
0s
0s
Error:
This step has been truncated due to its large size. Download the full logs from the menu
once the workflow run has completed.
Complete job
0s
0s
Error:
This step has been truncated due to its large size. Download the full logs from the menu
once the workflow run has completed.
Loading