Update gems to support testing Puppet 8 #710
Triggered via pull request
September 29, 2023 14:17
Status
Failure
Total duration
2m 39s
Artifacts
–
ci.yml
on: pull_request
Puppet
/
Static validations
23s
Matrix: Puppet / unit
Puppet
/
Test suite
0s
Annotations
11 errors
Puppet / 6 (Ruby 2.5)
The process '/opt/hostedtoolcache/Ruby/2.5.9/x64/bin/bundle' failed with exit code 6
|
Puppet / 7 (Ruby 2.7):
spec/unit/enc_spec.rb#L59
foreman_external_node should have the correct certname and hostname
Failure/Error: hash = enc.build_body('fake2.host.fqdn.com',"#{static_fixture_path}/fake.host.fqdn.com.yaml")
Psych::DisallowedClass:
Tried to load unspecified class: Time
|
Puppet / 7 (Ruby 2.7):
spec/unit/report_spec.rb#L21
foreman_report_processor making a connection should connect to the URL in the processor
Failure/Error: subject { YAML.load_file("#{static_fixture_path}/report-format-3.yaml").extend(processor) }
Psych::DisallowedClass:
Tried to load unspecified class: Puppet::Transaction::Report
|
Puppet / 7 (Ruby 2.7):
spec/unit/report_spec.rb#L31
foreman_report_processor retry on failed connection should retry the URL in the processor
Failure/Error: expect { subject.process }.not_to raise_error
expected no Exception, got #<Psych::DisallowedClass: Tried to load unspecified class: Puppet::Transaction::Report> with backtrace:
# ./vendor/bundle/ruby/2.7.0/gems/psych-5.1.0/lib/psych/class_loader.rb:99:in `find'
# ./vendor/bundle/ruby/2.7.0/gems/psych-5.1.0/lib/psych/class_loader.rb:28:in `load'
# ./vendor/bundle/ruby/2.7.0/gems/psych-5.1.0/lib/psych/visitors/to_ruby.rb:426:in `resolve_class'
# ./vendor/bundle/ruby/2.7.0/gems/psych-5.1.0/lib/psych/visitors/to_ruby.rb:215:in `visit_Psych_Nodes_Mapping'
# ./vendor/bundle/ruby/2.7.0/gems/psych-5.1.0/lib/psych/visitors/visitor.rb:30:in `visit'
# ./vendor/bundle/ruby/2.7.0/gems/psych-5.1.0/lib/psych/visitors/visitor.rb:6:in `accept'
# ./vendor/bundle/ruby/2.7.0/gems/psych-5.1.0/lib/psych/visitors/to_ruby.rb:35:in `accept'
# ./vendor/bundle/ruby/2.7.0/gems/psych-5.1.0/lib/psych/visitors/to_ruby.rb:320:in `visit_Psych_Nodes_Document'
# ./vendor/bundle/ruby/2.7.0/gems/psych-5.1.0/lib/psych/visitors/visitor.rb:30:in `visit'
# ./vendor/bundle/ruby/2.7.0/gems/psych-5.1.0/lib/psych/visitors/visitor.rb:6:in `accept'
# ./vendor/bundle/ruby/2.7.0/gems/psych-5.1.0/lib/psych/visitors/to_ruby.rb:35:in `accept'
# ./vendor/bundle/ruby/2.7.0/gems/psych-5.1.0/lib/psych.rb:334:in `safe_load'
# ./vendor/bundle/ruby/2.7.0/gems/psych-5.1.0/lib/psych.rb:369:in `load'
# ./vendor/bundle/ruby/2.7.0/gems/psych-5.1.0/lib/psych.rb:671:in `block in load_file'
# ./vendor/bundle/ruby/2.7.0/gems/psych-5.1.0/lib/psych.rb:670:in `open'
# ./vendor/bundle/ruby/2.7.0/gems/psych-5.1.0/lib/psych.rb:670:in `load_file'
# ./spec/unit/report_spec.rb:29:in `block (3 levels) in <top (required)>'
# ./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/memoized_helpers.rb:343:in `block (2 levels) in let'
# ./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/memoized_helpers.rb:179:in `block (3 levels) in fetch_or_store'
# ./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/memoized_helpers.rb:179:in `fetch'
# ./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/memoized_helpers.rb:179:in `block (2 levels) in fetch_or_store'
# ./vendor/bundle/ruby/2.7.0/gems/rspec-support-3.12.1/lib/rspec/support/reentrant_mutex.rb:23:in `synchronize'
# ./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/memoized_helpers.rb:178:in `block in fetch_or_store'
# ./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/memoized_helpers.rb:177:in `fetch'
# ./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/memoized_helpers.rb:177:in `fetch_or_store'
# ./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/memoized_helpers.rb:343:in `block in let'
# ./spec/unit/report_spec.rb:33:in `block (4 levels) in <top (required)>'
# ./vendor/bundle/ruby/2.7.0/gems/rspec-expectations-3.12.3/lib/rspec/matchers/built_in/raise_error.rb:59:in `matches?'
# ./vendor/bundle/ruby/2.7.0/gems/rspec-expectations-3.12.3/lib/rspec/matchers/built_in/raise_error.rb:81:in `does_not_match?'
# ./vendor/bundle/ruby/2.7.0/gems/rspec-expectations-3.12.3/lib/rspec/expectations/handler.rb:90:in `does_not_match?'
# ./vendor/bundle/ruby/2.7.0/gems/rspec-expectations-3.12.3/lib/rspec/expectations/handler.rb:79:in `block in handle_matcher'
# ./vendor/bundle/ruby/2.7.0/gems/rspec-expectations-3.12.3/lib/rspec/expectations/handler.rb:27:in `with_matcher'
# ./vendor/bundle/ruby/2.7.0/gems/rspec-expectations-3.12.3/lib/rspec/expectations/handler.rb:76:in `handle_matcher'
# ./vendor/bundle/ruby/2.7.0/gems/rspec-expectations-3.12.3/lib/rspec/expectations/expectation_target.rb:78:in `not_to'
# ./vendor/bundle/ruby/2.7.0/gems/rspec-expectations-3.12.3/lib/rspec/expectations/expectation_target.rb:144:in `not_to'
# ./spec/unit/report_spec.rb:33:in `block (3 levels) in <top (required)>'
# ./vendor/bund
|
Puppet / 7 (Ruby 2.7):
spec/unit/report_spec.rb#L37
foreman_report_processor retry on failed connection should give up after the configured retries
Failure/Error: expect { subject.process }.to raise_error(Puppet::Error, /Could not send report to Foreman at/)
expected Puppet::Error with message matching /Could not send report to Foreman at/, got #<Psych::DisallowedClass: Tried to load unspecified class: Puppet::Transaction::Report> with backtrace:
# ./vendor/bundle/ruby/2.7.0/gems/psych-5.1.0/lib/psych/class_loader.rb:99:in `find'
# ./vendor/bundle/ruby/2.7.0/gems/psych-5.1.0/lib/psych/class_loader.rb:28:in `load'
# ./vendor/bundle/ruby/2.7.0/gems/psych-5.1.0/lib/psych/visitors/to_ruby.rb:426:in `resolve_class'
# ./vendor/bundle/ruby/2.7.0/gems/psych-5.1.0/lib/psych/visitors/to_ruby.rb:215:in `visit_Psych_Nodes_Mapping'
# ./vendor/bundle/ruby/2.7.0/gems/psych-5.1.0/lib/psych/visitors/visitor.rb:30:in `visit'
# ./vendor/bundle/ruby/2.7.0/gems/psych-5.1.0/lib/psych/visitors/visitor.rb:6:in `accept'
# ./vendor/bundle/ruby/2.7.0/gems/psych-5.1.0/lib/psych/visitors/to_ruby.rb:35:in `accept'
# ./vendor/bundle/ruby/2.7.0/gems/psych-5.1.0/lib/psych/visitors/to_ruby.rb:320:in `visit_Psych_Nodes_Document'
# ./vendor/bundle/ruby/2.7.0/gems/psych-5.1.0/lib/psych/visitors/visitor.rb:30:in `visit'
# ./vendor/bundle/ruby/2.7.0/gems/psych-5.1.0/lib/psych/visitors/visitor.rb:6:in `accept'
# ./vendor/bundle/ruby/2.7.0/gems/psych-5.1.0/lib/psych/visitors/to_ruby.rb:35:in `accept'
# ./vendor/bundle/ruby/2.7.0/gems/psych-5.1.0/lib/psych.rb:334:in `safe_load'
# ./vendor/bundle/ruby/2.7.0/gems/psych-5.1.0/lib/psych.rb:369:in `load'
# ./vendor/bundle/ruby/2.7.0/gems/psych-5.1.0/lib/psych.rb:671:in `block in load_file'
# ./vendor/bundle/ruby/2.7.0/gems/psych-5.1.0/lib/psych.rb:670:in `open'
# ./vendor/bundle/ruby/2.7.0/gems/psych-5.1.0/lib/psych.rb:670:in `load_file'
# ./spec/unit/report_spec.rb:29:in `block (3 levels) in <top (required)>'
# ./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/memoized_helpers.rb:343:in `block (2 levels) in let'
# ./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/memoized_helpers.rb:179:in `block (3 levels) in fetch_or_store'
# ./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/memoized_helpers.rb:179:in `fetch'
# ./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/memoized_helpers.rb:179:in `block (2 levels) in fetch_or_store'
# ./vendor/bundle/ruby/2.7.0/gems/rspec-support-3.12.1/lib/rspec/support/reentrant_mutex.rb:23:in `synchronize'
# ./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/memoized_helpers.rb:178:in `block in fetch_or_store'
# ./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/memoized_helpers.rb:177:in `fetch'
# ./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/memoized_helpers.rb:177:in `fetch_or_store'
# ./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/memoized_helpers.rb:343:in `block in let'
# ./spec/unit/report_spec.rb:39:in `block (4 levels) in <top (required)>'
# ./vendor/bundle/ruby/2.7.0/gems/rspec-expectations-3.12.3/lib/rspec/matchers/built_in/raise_error.rb:59:in `matches?'
# ./vendor/bundle/ruby/2.7.0/gems/rspec-expectations-3.12.3/lib/rspec/expectations/handler.rb:51:in `block in handle_matcher'
# ./vendor/bundle/ruby/2.7.0/gems/rspec-expectations-3.12.3/lib/rspec/expectations/handler.rb:27:in `with_matcher'
# ./vendor/bundle/ruby/2.7.0/gems/rspec-expectations-3.12.3/lib/rspec/expectations/handler.rb:48:in `handle_matcher'
# ./vendor/bundle/ruby/2.7.0/gems/rspec-expectations-3.12.3/lib/rspec/expectations/expectation_target.rb:65:in `to'
# ./vendor/bundle/ruby/2.7.0/gems/rspec-expectations-3.12.3/lib/rspec/expectations/expectation_target.rb:139:in `to'
# ./spec/unit/report_spec.rb:39:in `block (3 levels) in <top (required)>'
# ./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/example.rb:263:in `instance_exec'
# ./vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/li
|
Puppet / 7 (Ruby 2.7):
spec/unit/report_spec.rb#L46
foreman_report_processor Puppet Report Format 2
Failure/Error: subject { YAML.load_file("#{static_fixture_path}/report-format-2.yaml").extend(processor) }
Psych::DisallowedClass:
Tried to load unspecified class: Puppet::Transaction::Report
|
Puppet / 7 (Ruby 2.7):
spec/unit/report_spec.rb#L53
foreman_report_processor Puppet Report Format 3
Failure/Error: subject { YAML.load_file("#{static_fixture_path}/report-format-3.yaml").extend(processor) }
Psych::DisallowedClass:
Tried to load unspecified class: Puppet::Transaction::Report
|
Puppet / 7 (Ruby 2.7):
spec/unit/report_spec.rb#L60
foreman_report_processor Puppet Report Format 6
Failure/Error: subject { YAML.load_file("#{static_fixture_path}/report-format-6.yaml").extend(processor) }
Psych::DisallowedClass:
Tried to load unspecified class: Puppet::Transaction::Report
|
Puppet / 7 (Ruby 2.7):
spec/unit/report_spec.rb#L67
foreman_report_processor report should support failure metrics
Failure/Error: subject { YAML.load_file("#{static_fixture_path}/report-2.6.5-errors.yaml").extend(processor) }
Psych::DisallowedClass:
Tried to load unspecified class: Puppet::Transaction::Report
|
Puppet / 7 (Ruby 2.7):
spec/unit/report_spec.rb#L74
foreman_report_processor report should not support noops
Failure/Error: subject { YAML.load_file("#{static_fixture_path}/report-2.6.12-noops.yaml").extend(processor) }
Psych::DisallowedClass:
Tried to load unspecified class: Puppet::Transaction::Report
|
Puppet / 7 (Ruby 2.7):
spec/unit/report_spec.rb#L81
foreman_report_processor empty reports have the correct format
Failure/Error: subject { YAML.load_file("#{static_fixture_path}/report-empty.yaml").extend(processor) }
Psych::DisallowedClass:
Tried to load unspecified class: Puppet::Transaction::Report
|