tasks: replace os_identification with facts #231
Annotations
2 errors and 7 warnings
spec/plans/util/retrieve_and_upload_spec.rb#L7
peadm::util::retrieve_and_upload file needs downloaded and needs uploaded
Failure/Error: expect(run_plan('peadm::util::retrieve_and_upload', 'nodes' => 'primary', 'source' => '/tmp/source', 'upload_path' => '/tmp/upload', 'local_path' => '/tmp/download')).to be_ok
RuntimeError:
Expected test -e '/tmp/download' to be called 1 times
Plan result: {"kind":"bolt/pal-error","msg":"Evaluation Error: Operator '[]' is not applicable to an Undef Value. (file: /home/runner/work/puppetlabs-peadm/puppetlabs-peadm/spec/fixtures/modules/peadm/plans/util/retrieve_and_upload.pp, line: 33, column: 36)","details":{"file":"/home/runner/work/puppetlabs-peadm/puppetlabs-peadm/spec/fixtures/modules/peadm/plans/util/retrieve_and_upload.pp","line":33,"column":36}}
/home/runner/work/puppetlabs-peadm/puppetlabs-peadm/vendor/bundle/ruby/2.7.0/gems/bolt-3.30.0/lib/bolt_spec/plans/action_stubs.rb:70:in `assert_called'
/home/runner/work/puppetlabs-peadm/puppetlabs-peadm/vendor/bundle/ruby/2.7.0/gems/bolt-3.30.0/lib/bolt_spec/plans/action_stubs.rb:24:in `block in assert_called'
/home/runner/work/puppetlabs-peadm/puppetlabs-peadm/vendor/bundle/ruby/2.7.0/gems/bolt-3.30.0/lib/bolt_spec/plans/action_stubs.rb:24:in `each'
/home/runner/work/puppetlabs-peadm/puppetlabs-peadm/vendor/bundle/ruby/2.7.0/gems/bolt-3.30.0/lib/bolt_spec/plans/action_stubs.rb:24:in `assert_called'
/home/runner/work/puppetlabs-peadm/puppetlabs-peadm/vendor/bundle/ruby/2.7.0/gems/bolt-3.30.0/lib/bolt_spec/plans/mock_executor.rb:188:in `block (2 levels) in assert_call_expectations'
/home/runner/work/puppetlabs-peadm/puppetlabs-peadm/vendor/bundle/ruby/2.7.0/gems/bolt-3.30.0/lib/bolt_spec/plans/mock_executor.rb:187:in `each'
/home/runner/work/puppetlabs-peadm/puppetlabs-peadm/vendor/bundle/ruby/2.7.0/gems/bolt-3.30.0/lib/bolt_spec/plans/mock_executor.rb:187:in `map'
/home/runner/work/puppetlabs-peadm/puppetlabs-peadm/vendor/bundle/ruby/2.7.0/gems/bolt-3.30.0/lib/bolt_spec/plans/mock_executor.rb:187:in `block in assert_call_expectations'
/home/runner/work/puppetlabs-peadm/puppetlabs-peadm/vendor/bundle/ruby/2.7.0/gems/bolt-3.30.0/lib/bolt_spec/plans/mock_executor.rb:186:in `each'
/home/runner/work/puppetlabs-peadm/puppetlabs-peadm/vendor/bundle/ruby/2.7.0/gems/bolt-3.30.0/lib/bolt_spec/plans/mock_executor.rb:186:in `assert_call_expectations'
/home/runner/work/puppetlabs-peadm/puppetlabs-peadm/vendor/bundle/ruby/2.7.0/gems/bolt-3.30.0/lib/bolt_spec/plans.rb:147:in `run_plan'
/home/runner/work/puppetlabs-peadm/puppetlabs-peadm/spec/plans/util/retrieve_and_upload_spec.rb:43:in `block (2 levels) in <top (required)>'
/home/runner/work/puppetlabs-peadm/puppetlabs-peadm/vendor/bundle/ruby/2.7.0/gems/rspec-core-3.13.0/lib/rspec/core/example.rb:263:in `instance_exec'
/home/runner/work/puppetlabs-peadm/puppetlabs-peadm/vendor/bundle/ruby/2.7.0/gems/rspec-core-3.13.0/lib/rspec/core/example.rb:263:in `block in run'
/home/runner/work/puppetlabs-peadm/puppetlabs-peadm/vendor/bundle/ruby/2.7.0/gems/rspec-core-3.13.0/lib/rspec/core/example.rb:511:in `block in with_around_and_singleton_context_hooks'
/home/runner/work/puppetlabs-peadm/puppetlabs-peadm/vendor/bundle/ruby/2.7.0/gems/rspec-core-3.13.0/lib/rspec/core/example.rb:468:in `block in with_around_example_hooks'
/home/runner/work/puppetlabs-peadm/puppetlabs-peadm/vendor/bundle/ruby/2.7.0/gems/rspec-core-3.13.0/lib/rspec/core/hooks.rb:486:in `block in run'
/home/runner/work/puppetlabs-peadm/puppetlabs-peadm/vendor/bundle/ruby/2.7.0/gems/rspec-core-3.13.0/lib/rspec/core/hooks.rb:624:in `run_around_example_hooks_for'
/home/runner/work/puppetlabs-peadm/puppetlabs-peadm/vendor/bundle/ruby/2.7.0/gems/rspec-core-3.13.0/lib/rspec/core/hooks.rb:486:in `run'
/home/runner/work/puppetlabs-peadm/puppetlabs-peadm/vendor/bundle/ruby/2.7.0/gems/rspec-core-3.13.0/lib/rspec/core/example.rb:468:in `with_around_example_hooks'
/home/runner/work/puppetlabs-peadm/puppetlabs-peadm/vendor/bundle/ruby/2.7.0/gems/rspec-core-3.13.0/lib/rspec/core/example.rb:511:in `with_around_and_singleton_context_hooks'
/home/runner/work/pupp
|
|
spec/functions/file_or_content_spec.rb#L16
peadm::file_or_content
Skipped: Temporarily skipped with xit
|
spec/functions/certname_spec.rb#L13
peadm::certname
Skipped: Temporarily skipped with xit
|
spec/functions/get_targets_spec.rb#L20
peadm::get_targets string arguments converts a string input to a Target array without count
Skipped: Being able to stub the get_targets() function
|
spec/functions/get_targets_spec.rb#L24
peadm::get_targets string arguments converts a string input to a Target array with count
Skipped: Being able to stub the get_targets() function
|
spec/functions/get_targets_spec.rb#L31
peadm::get_targets array arguments converts an array input to a Target array without count
Skipped: Being able to stub the get_targets() function
|
spec/functions/get_targets_spec.rb#L35
peadm::get_targets array arguments converts an array input to a Target array with count
Skipped: Being able to stub the get_targets() function
|
spec/plans/util/sanitize_pg_pe_conf_spec.rb#L11
peadm::util::sanitize_pg_pe_conf Runs
Failure/Error: expect(run_plan('peadm::util::sanitize_pg_pe_conf', 'targets' => 'foo,bar', 'primary_host' => 'pe-server-d8b317-0.us-west1-a.c.davidsand.internal')).to be_ok
expected `#<Bolt::PlanResult:0x0000555aac6c9380 @value=#<Bolt::PAL::PALError: no implicit conversion of Hash into String>, @status="failure">.ok?` to be truthy, got false
|
This job failed
Loading