Skip to content

nightly

nightly #1292

You are viewing an older attempt in the history of this workflow run. View latest attempt.
Triggered via schedule June 7, 2024 00:12
Status Failure
Total duration 27m 14s
Artifacts

nightly.yml

on: schedule
Spec  /  Setup Test Matrix
30s
Spec / Setup Test Matrix
Matrix: Spec / spec
Acceptance  /  Setup Test Matrix
34s
Acceptance / Setup Test Matrix
Matrix: Acceptance / acceptance
Fit to window
Zoom out
Zoom in

Annotations

6 errors and 32 warnings
Acceptance / Acceptance tests (RedHat-7, puppet7-nightly)
Process completed with exit code 1.
Acceptance / Acceptance tests (RedHat-8, puppet7-nightly)
Process completed with exit code 1.
Acceptance / Acceptance tests (Windows-2019, puppet7-nightly)
Process completed with exit code 1.
Acceptance / Acceptance tests (RedHat-8, puppet8-nightly)
Process completed with exit code 1.
Acceptance / Acceptance tests (Windows-2016, puppet7-nightly)
Process completed with exit code 1.
Acceptance / Acceptance tests (Windows-2022, puppet8-nightly)
Process completed with exit code 1.
Spec / Setup Test Matrix
Cannot find image for AIX-7.1
Spec / Setup Test Matrix
Cannot find image for AIX-7.2
Spec / Setup Test Matrix
Cannot find image for Solaris-11
Spec / Setup Test Matrix
Cannot find image for Windows-10
Spec / Setup Test Matrix
Cannot find image for Windows-2012
Spec / Setup Test Matrix
Cannot find image for Windows-2012 R2
Spec / Spec tests (Puppet: ~> 8.0, Ruby Ver: 3.2): spec/functions/count_spec.rb#L11
count is expected to run count("one", "two") and raise an ArgumentError Failure/Error: expect(subject).to run.with_params('one', 'two').and_raise_error(ArgumentError) expected count("one", "two") to have raised ArgumentError instead of returning 1
Spec / Spec tests (Puppet: ~> 8.0, Ruby Ver: 3.2): spec/functions/delete_at_spec.rb#L12
delete_at is expected to run delete_at(["one"], 0, 1) and raise an Puppet::ParseError Failure/Error: expect(subject).to run.with_params(['one'], 0, 1).and_raise_error(Puppet::ParseError) expected delete_at(["one"], 0, 1) to have raised Puppet::ParseError instead of returning []
Spec / Spec tests (Puppet: ~> 8.0, Ruby Ver: 3.2): spec/functions/ensure_resource_spec.rb#L16
ensure_resource is expected to run ensure_resource(1, 2, 3) and raise an Puppet::ParseError Failure/Error: expect(subject).to run.with_params(1, 2, 3).and_raise_error(Puppet::ParseError) expected ensure_resource(1, 2, 3) to have raised Puppet::ParseError instead of NoMethodError(undefined method `capitalize' for 1:Integer) /home/runner/work/puppetlabs-stdlib/puppetlabs-stdlib/spec/fixtures/modules/stdlib/lib/puppet/parser/functions/ensure_resource.rb:50:in `block (2 levels) in get_binding' /home/runner/work/puppetlabs-stdlib/puppetlabs-stdlib/spec/fixtures/modules/stdlib/lib/puppet/parser/functions/ensure_resource.rb:43:in `each' /home/runner/work/puppetlabs-stdlib/puppetlabs-stdlib/spec/fixtures/modules/stdlib/lib/puppet/parser/functions/ensure_resource.rb:43:in `block in get_binding' /home/runner/work/puppetlabs-stdlib/puppetlabs-stdlib/vendor/bundle/ruby/3.2.0/gems/puppet-8.6.0/lib/puppet/parser/functions.rb:218:in `block (2 levels) in newfunction' /home/runner/work/puppetlabs-stdlib/puppetlabs-stdlib/vendor/bundle/ruby/3.2.0/gems/puppet-8.6.0/lib/puppet/util/profiler/around_profiler.rb:59:in `profile' /home/runner/work/puppetlabs-stdlib/puppetlabs-stdlib/vendor/bundle/ruby/3.2.0/gems/puppet-8.6.0/lib/puppet/util/profiler.rb:53:in `profile' /home/runner/work/puppetlabs-stdlib/puppetlabs-stdlib/vendor/bundle/ruby/3.2.0/gems/puppet-8.6.0/lib/puppet/parser/functions.rb:210:in `block in newfunction' /home/runner/work/puppetlabs-stdlib/puppetlabs-stdlib/vendor/bundle/ruby/3.2.0/gems/puppet-8.6.0/lib/puppet/functions.rb:749:in `block in call' /home/runner/work/puppetlabs-stdlib/puppetlabs-stdlib/vendor/bundle/ruby/3.2.0/gems/puppet-8.6.0/lib/puppet/functions.rb:746:in `catch' /home/runner/work/puppetlabs-stdlib/puppetlabs-stdlib/vendor/bundle/ruby/3.2.0/gems/puppet-8.6.0/lib/puppet/functions.rb:746:in `call' /home/runner/work/puppetlabs-stdlib/puppetlabs-stdlib/vendor/bundle/ruby/3.2.0/gems/rspec-puppet-4.0.2/lib/rspec-puppet/example/function_example_group.rb:21:in `block in execute' /home/runner/work/puppetlabs-stdlib/puppetlabs-stdlib/vendor/bundle/ruby/3.2.0/gems/puppet-8.6.0/lib/puppet/context.rb:64:in `override' /home/runner/work/puppetlabs-stdlib/puppetlabs-stdlib/vendor/bundle/ruby/3.2.0/gems/puppet-8.6.0/lib/puppet.rb:288:in `override' /home/runner/work/puppetlabs-stdlib/puppetlabs-stdlib/vendor/bundle/ruby/3.2.0/gems/rspec-puppet-4.0.2/lib/rspec-puppet/example/function_example_group.rb:20:in `execute' /home/runner/work/puppetlabs-stdlib/puppetlabs-stdlib/vendor/bundle/ruby/3.2.0/gems/rspec-puppet-4.0.2/lib/rspec-puppet/matchers/run.rb:12:in `matches?' /home/runner/work/puppetlabs-stdlib/puppetlabs-stdlib/vendor/bundle/ruby/3.2.0/gems/rspec-expectations-3.13.0/lib/rspec/expectations/handler.rb:51:in `block in handle_matcher' /home/runner/work/puppetlabs-stdlib/puppetlabs-stdlib/vendor/bundle/ruby/3.2.0/gems/rspec-expectations-3.13.0/lib/rspec/expectations/handler.rb:27:in `with_matcher' /home/runner/work/puppetlabs-stdlib/puppetlabs-stdlib/vendor/bundle/ruby/3.2.0/gems/rspec-expectations-3.13.0/lib/rspec/expectations/handler.rb:48:in `handle_matcher' /home/runner/work/puppetlabs-stdlib/puppetlabs-stdlib/vendor/bundle/ruby/3.2.0/gems/rspec-expectations-3.13.0/lib/rspec/expectations/expectation_target.rb:65:in `to' /home/runner/work/puppetlabs-stdlib/puppetlabs-stdlib/vendor/bundle/ruby/3.2.0/gems/rspec-expectations-3.13.0/lib/rspec/expectations/expectation_target.rb:101:in `to' /home/runner/work/puppetlabs-stdlib/puppetlabs-stdlib/spec/functions/ensure_resource_spec.rb:18:in `block (2 levels) in <top (required)>' /home/runner/work/puppetlabs-stdlib/puppetlabs-stdlib/vendor/bundle/ruby/3.2.0/gems/rspec-core-3.13.0/lib/rspec/core/example.rb:263:in `instance_exec' /home/runner/work/puppetlabs-stdlib/puppetlabs-stdlib/vendor/bundle/ruby/3.2.0/gems/rspec-core-3.13.0/lib/rspec/core/example.rb:263:in `block in run' /home/runner/work/puppetlabs-stdlib/puppetlabs-stdlib/vendor/bundle/ruby/3.2.0/gems/rspec-core-3.13.0/lib/rspec/core/example.rb:511:in `block in with_around_and
Spec / Spec tests (Puppet: ~> 8.0, Ruby Ver: 3.2): spec/functions/grep_spec.rb#L10
grep is expected to run grep("one", "two") and raise an Puppet::ParseError with the message matching /first argument not an array/ Failure/Error: expect(subject).to run.with_params('one', 'two').and_raise_error(Puppet::ParseError, %r{first argument not an array}) expected grep("one", "two") to have raised Puppet::ParseError matching /first argument not an array/ instead of NoMethodError(undefined method `grep' for "one":String) /home/runner/work/puppetlabs-stdlib/puppetlabs-stdlib/spec/fixtures/modules/stdlib/lib/puppet/parser/functions/grep.rb:28:in `block in <module:Functions>' /home/runner/work/puppetlabs-stdlib/puppetlabs-stdlib/vendor/bundle/ruby/3.2.0/gems/puppet-8.6.0/lib/puppet/parser/functions.rb:218:in `block (2 levels) in newfunction' /home/runner/work/puppetlabs-stdlib/puppetlabs-stdlib/vendor/bundle/ruby/3.2.0/gems/puppet-8.6.0/lib/puppet/util/profiler/around_profiler.rb:59:in `profile' /home/runner/work/puppetlabs-stdlib/puppetlabs-stdlib/vendor/bundle/ruby/3.2.0/gems/puppet-8.6.0/lib/puppet/util/profiler.rb:53:in `profile' /home/runner/work/puppetlabs-stdlib/puppetlabs-stdlib/vendor/bundle/ruby/3.2.0/gems/puppet-8.6.0/lib/puppet/parser/functions.rb:210:in `block in newfunction' /home/runner/work/puppetlabs-stdlib/puppetlabs-stdlib/vendor/bundle/ruby/3.2.0/gems/puppet-8.6.0/lib/puppet/functions.rb:749:in `block in call' /home/runner/work/puppetlabs-stdlib/puppetlabs-stdlib/vendor/bundle/ruby/3.2.0/gems/puppet-8.6.0/lib/puppet/functions.rb:746:in `catch' /home/runner/work/puppetlabs-stdlib/puppetlabs-stdlib/vendor/bundle/ruby/3.2.0/gems/puppet-8.6.0/lib/puppet/functions.rb:746:in `call' /home/runner/work/puppetlabs-stdlib/puppetlabs-stdlib/vendor/bundle/ruby/3.2.0/gems/rspec-puppet-4.0.2/lib/rspec-puppet/example/function_example_group.rb:21:in `block in execute' /home/runner/work/puppetlabs-stdlib/puppetlabs-stdlib/vendor/bundle/ruby/3.2.0/gems/puppet-8.6.0/lib/puppet/context.rb:64:in `override' /home/runner/work/puppetlabs-stdlib/puppetlabs-stdlib/vendor/bundle/ruby/3.2.0/gems/puppet-8.6.0/lib/puppet.rb:288:in `override' /home/runner/work/puppetlabs-stdlib/puppetlabs-stdlib/vendor/bundle/ruby/3.2.0/gems/rspec-puppet-4.0.2/lib/rspec-puppet/example/function_example_group.rb:20:in `execute' /home/runner/work/puppetlabs-stdlib/puppetlabs-stdlib/vendor/bundle/ruby/3.2.0/gems/rspec-puppet-4.0.2/lib/rspec-puppet/matchers/run.rb:12:in `matches?' /home/runner/work/puppetlabs-stdlib/puppetlabs-stdlib/vendor/bundle/ruby/3.2.0/gems/rspec-expectations-3.13.0/lib/rspec/expectations/handler.rb:51:in `block in handle_matcher' /home/runner/work/puppetlabs-stdlib/puppetlabs-stdlib/vendor/bundle/ruby/3.2.0/gems/rspec-expectations-3.13.0/lib/rspec/expectations/handler.rb:27:in `with_matcher' /home/runner/work/puppetlabs-stdlib/puppetlabs-stdlib/vendor/bundle/ruby/3.2.0/gems/rspec-expectations-3.13.0/lib/rspec/expectations/handler.rb:48:in `handle_matcher' /home/runner/work/puppetlabs-stdlib/puppetlabs-stdlib/vendor/bundle/ruby/3.2.0/gems/rspec-expectations-3.13.0/lib/rspec/expectations/expectation_target.rb:65:in `to' /home/runner/work/puppetlabs-stdlib/puppetlabs-stdlib/vendor/bundle/ruby/3.2.0/gems/rspec-expectations-3.13.0/lib/rspec/expectations/expectation_target.rb:101:in `to' /home/runner/work/puppetlabs-stdlib/puppetlabs-stdlib/spec/functions/grep_spec.rb:12:in `block (2 levels) in <top (required)>' /home/runner/work/puppetlabs-stdlib/puppetlabs-stdlib/vendor/bundle/ruby/3.2.0/gems/rspec-core-3.13.0/lib/rspec/core/example.rb:263:in `instance_exec' /home/runner/work/puppetlabs-stdlib/puppetlabs-stdlib/vendor/bundle/ruby/3.2.0/gems/rspec-core-3.13.0/lib/rspec/core/example.rb:263:in `block in run' /home/runner/work/puppetlabs-stdlib/puppetlabs-stdlib/vendor/bundle/ruby/3.2.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-stdlib/puppetlabs-stdlib/vendor/bundle/ruby/3.2.0/gems/rspec-core-3.13.0/lib/rspec/core/example.rb:468:in `block in with_around_example_hooks' /home/runner/work/puppe
Spec / Spec tests (Puppet: ~> 8.0, Ruby Ver: 3.2): spec/functions/grep_spec.rb#L15
grep is expected to run grep(1, "two") and raise an Puppet::ParseError with the message matching /first argument not an array/ Failure/Error: expect(subject).to run.with_params(1, 'two').and_raise_error(Puppet::ParseError, %r{first argument not an array}) expected grep(1, "two") to have raised Puppet::ParseError matching /first argument not an array/ instead of NoMethodError(undefined method `grep' for 1:Integer) /home/runner/work/puppetlabs-stdlib/puppetlabs-stdlib/spec/fixtures/modules/stdlib/lib/puppet/parser/functions/grep.rb:28:in `block in <module:Functions>' /home/runner/work/puppetlabs-stdlib/puppetlabs-stdlib/vendor/bundle/ruby/3.2.0/gems/puppet-8.6.0/lib/puppet/parser/functions.rb:218:in `block (2 levels) in newfunction' /home/runner/work/puppetlabs-stdlib/puppetlabs-stdlib/vendor/bundle/ruby/3.2.0/gems/puppet-8.6.0/lib/puppet/util/profiler/around_profiler.rb:59:in `profile' /home/runner/work/puppetlabs-stdlib/puppetlabs-stdlib/vendor/bundle/ruby/3.2.0/gems/puppet-8.6.0/lib/puppet/util/profiler.rb:53:in `profile' /home/runner/work/puppetlabs-stdlib/puppetlabs-stdlib/vendor/bundle/ruby/3.2.0/gems/puppet-8.6.0/lib/puppet/parser/functions.rb:210:in `block in newfunction' /home/runner/work/puppetlabs-stdlib/puppetlabs-stdlib/vendor/bundle/ruby/3.2.0/gems/puppet-8.6.0/lib/puppet/functions.rb:749:in `block in call' /home/runner/work/puppetlabs-stdlib/puppetlabs-stdlib/vendor/bundle/ruby/3.2.0/gems/puppet-8.6.0/lib/puppet/functions.rb:746:in `catch' /home/runner/work/puppetlabs-stdlib/puppetlabs-stdlib/vendor/bundle/ruby/3.2.0/gems/puppet-8.6.0/lib/puppet/functions.rb:746:in `call' /home/runner/work/puppetlabs-stdlib/puppetlabs-stdlib/vendor/bundle/ruby/3.2.0/gems/rspec-puppet-4.0.2/lib/rspec-puppet/example/function_example_group.rb:21:in `block in execute' /home/runner/work/puppetlabs-stdlib/puppetlabs-stdlib/vendor/bundle/ruby/3.2.0/gems/puppet-8.6.0/lib/puppet/context.rb:64:in `override' /home/runner/work/puppetlabs-stdlib/puppetlabs-stdlib/vendor/bundle/ruby/3.2.0/gems/puppet-8.6.0/lib/puppet.rb:288:in `override' /home/runner/work/puppetlabs-stdlib/puppetlabs-stdlib/vendor/bundle/ruby/3.2.0/gems/rspec-puppet-4.0.2/lib/rspec-puppet/example/function_example_group.rb:20:in `execute' /home/runner/work/puppetlabs-stdlib/puppetlabs-stdlib/vendor/bundle/ruby/3.2.0/gems/rspec-puppet-4.0.2/lib/rspec-puppet/matchers/run.rb:12:in `matches?' /home/runner/work/puppetlabs-stdlib/puppetlabs-stdlib/vendor/bundle/ruby/3.2.0/gems/rspec-expectations-3.13.0/lib/rspec/expectations/handler.rb:51:in `block in handle_matcher' /home/runner/work/puppetlabs-stdlib/puppetlabs-stdlib/vendor/bundle/ruby/3.2.0/gems/rspec-expectations-3.13.0/lib/rspec/expectations/handler.rb:27:in `with_matcher' /home/runner/work/puppetlabs-stdlib/puppetlabs-stdlib/vendor/bundle/ruby/3.2.0/gems/rspec-expectations-3.13.0/lib/rspec/expectations/handler.rb:48:in `handle_matcher' /home/runner/work/puppetlabs-stdlib/puppetlabs-stdlib/vendor/bundle/ruby/3.2.0/gems/rspec-expectations-3.13.0/lib/rspec/expectations/expectation_target.rb:65:in `to' /home/runner/work/puppetlabs-stdlib/puppetlabs-stdlib/vendor/bundle/ruby/3.2.0/gems/rspec-expectations-3.13.0/lib/rspec/expectations/expectation_target.rb:101:in `to' /home/runner/work/puppetlabs-stdlib/puppetlabs-stdlib/spec/functions/grep_spec.rb:17:in `block (2 levels) in <top (required)>' /home/runner/work/puppetlabs-stdlib/puppetlabs-stdlib/vendor/bundle/ruby/3.2.0/gems/rspec-core-3.13.0/lib/rspec/core/example.rb:263:in `instance_exec' /home/runner/work/puppetlabs-stdlib/puppetlabs-stdlib/vendor/bundle/ruby/3.2.0/gems/rspec-core-3.13.0/lib/rspec/core/example.rb:263:in `block in run' /home/runner/work/puppetlabs-stdlib/puppetlabs-stdlib/vendor/bundle/ruby/3.2.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-stdlib/puppetlabs-stdlib/vendor/bundle/ruby/3.2.0/gems/rspec-core-3.13.0/lib/rspec/core/example.rb:468:in `block in with_around_example_hooks' /home/runner/work/puppetlabs-stdlib/pu
Spec / Spec tests (Puppet: ~> 8.0, Ruby Ver: 3.2): spec/functions/prefix_spec.rb#L9
prefix is expected to run prefix([], "a", "") and raise an Puppet::ParseError with the message matching /wrong number of arguments/i Failure/Error: expect(subject).to run.with_params([], 'a', '').and_raise_error(Puppet::ParseError, %r{wrong number of arguments}i) expected prefix([], "a", "") to have raised Puppet::ParseError matching /wrong number of arguments/i instead of returning []
Spec / Spec tests (Puppet: ~> 8.0, Ruby Ver: 3.2): spec/functions/member_spec.rb#L10
member is expected to run member([], [], []) and raise an Puppet::ParseError with the message matching /wrong number of arguments/i Failure/Error: expect(subject).to run.with_params([], [], []).and_raise_error(Puppet::ParseError, %r{wrong number of arguments}i) expected member([], [], []) to have raised Puppet::ParseError matching /wrong number of arguments/i instead of Puppet::ParseError(member(): You must provide item to search for within array given) /home/runner/work/puppetlabs-stdlib/puppetlabs-stdlib/spec/fixtures/modules/stdlib/lib/puppet/parser/functions/member.rb:54:in `block in <module:Functions>' /home/runner/work/puppetlabs-stdlib/puppetlabs-stdlib/vendor/bundle/ruby/3.2.0/gems/puppet-8.6.0/lib/puppet/parser/functions.rb:218:in `block (2 levels) in newfunction' /home/runner/work/puppetlabs-stdlib/puppetlabs-stdlib/vendor/bundle/ruby/3.2.0/gems/puppet-8.6.0/lib/puppet/util/profiler/around_profiler.rb:59:in `profile' /home/runner/work/puppetlabs-stdlib/puppetlabs-stdlib/vendor/bundle/ruby/3.2.0/gems/puppet-8.6.0/lib/puppet/util/profiler.rb:53:in `profile' /home/runner/work/puppetlabs-stdlib/puppetlabs-stdlib/vendor/bundle/ruby/3.2.0/gems/puppet-8.6.0/lib/puppet/parser/functions.rb:210:in `block in newfunction' /home/runner/work/puppetlabs-stdlib/puppetlabs-stdlib/vendor/bundle/ruby/3.2.0/gems/puppet-8.6.0/lib/puppet/functions.rb:749:in `block in call' /home/runner/work/puppetlabs-stdlib/puppetlabs-stdlib/vendor/bundle/ruby/3.2.0/gems/puppet-8.6.0/lib/puppet/functions.rb:746:in `catch' /home/runner/work/puppetlabs-stdlib/puppetlabs-stdlib/vendor/bundle/ruby/3.2.0/gems/puppet-8.6.0/lib/puppet/functions.rb:746:in `call' /home/runner/work/puppetlabs-stdlib/puppetlabs-stdlib/vendor/bundle/ruby/3.2.0/gems/rspec-puppet-4.0.2/lib/rspec-puppet/example/function_example_group.rb:21:in `block in execute' /home/runner/work/puppetlabs-stdlib/puppetlabs-stdlib/vendor/bundle/ruby/3.2.0/gems/puppet-8.6.0/lib/puppet/context.rb:64:in `override' /home/runner/work/puppetlabs-stdlib/puppetlabs-stdlib/vendor/bundle/ruby/3.2.0/gems/puppet-8.6.0/lib/puppet.rb:288:in `override' /home/runner/work/puppetlabs-stdlib/puppetlabs-stdlib/vendor/bundle/ruby/3.2.0/gems/rspec-puppet-4.0.2/lib/rspec-puppet/example/function_example_group.rb:20:in `execute' /home/runner/work/puppetlabs-stdlib/puppetlabs-stdlib/vendor/bundle/ruby/3.2.0/gems/rspec-puppet-4.0.2/lib/rspec-puppet/matchers/run.rb:12:in `matches?' /home/runner/work/puppetlabs-stdlib/puppetlabs-stdlib/vendor/bundle/ruby/3.2.0/gems/rspec-expectations-3.13.0/lib/rspec/expectations/handler.rb:51:in `block in handle_matcher' /home/runner/work/puppetlabs-stdlib/puppetlabs-stdlib/vendor/bundle/ruby/3.2.0/gems/rspec-expectations-3.13.0/lib/rspec/expectations/handler.rb:27:in `with_matcher' /home/runner/work/puppetlabs-stdlib/puppetlabs-stdlib/vendor/bundle/ruby/3.2.0/gems/rspec-expectations-3.13.0/lib/rspec/expectations/handler.rb:48:in `handle_matcher' /home/runner/work/puppetlabs-stdlib/puppetlabs-stdlib/vendor/bundle/ruby/3.2.0/gems/rspec-expectations-3.13.0/lib/rspec/expectations/expectation_target.rb:65:in `to' /home/runner/work/puppetlabs-stdlib/puppetlabs-stdlib/vendor/bundle/ruby/3.2.0/gems/rspec-expectations-3.13.0/lib/rspec/expectations/expectation_target.rb:101:in `to' /home/runner/work/puppetlabs-stdlib/puppetlabs-stdlib/spec/functions/member_spec.rb:12:in `block (2 levels) in <top (required)>' /home/runner/work/puppetlabs-stdlib/puppetlabs-stdlib/vendor/bundle/ruby/3.2.0/gems/rspec-core-3.13.0/lib/rspec/core/example.rb:263:in `instance_exec' /home/runner/work/puppetlabs-stdlib/puppetlabs-stdlib/vendor/bundle/ruby/3.2.0/gems/rspec-core-3.13.0/lib/rspec/core/example.rb:263:in `block in run' /home/runner/work/puppetlabs-stdlib/puppetlabs-stdlib/vendor/bundle/ruby/3.2.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-stdlib/puppetlabs-stdlib/vendor/bundle/ruby/3.2.0/gems/rspec-core-3.13.0/lib/rspec/core/example.rb:468:in `block in with_around_example_ho
Spec / Spec tests (Puppet: ~> 8.0, Ruby Ver: 3.2): spec/functions/str2bool_spec.rb#L9
str2bool is expected to run str2bool("true", "extra") and raise an Puppet::ParseError with the message matching /wrong number of arguments/i Failure/Error: expect(subject).to run.with_params('true', 'extra').and_raise_error(Puppet::ParseError, %r{wrong number of arguments}i) expected str2bool("true", "extra") to have raised Puppet::ParseError matching /wrong number of arguments/i instead of returning true
Spec / Spec tests (Puppet: ~> 8.0, Ruby Ver: 3.2): spec/functions/regexpescape_spec.rb#L10
regexpescape signature validation is expected to run regexpescape("", "") and raise an Puppet::ParseError with the message matching /wrong number of arguments/i Failure/Error: expect(subject).to run.with_params('', '').and_raise_error(Puppet::ParseError, %r{wrong number of arguments}i) expected regexpescape("", "") to have raised Puppet::ParseError matching /wrong number of arguments/i instead of returning ""
Spec / Spec tests (Puppet: ~> 8.0, Ruby Ver: 3.2): spec/functions/reject_spec.rb#L10
reject is expected to run reject("one", "two") and raise an Puppet::ParseError with the message matching /first argument not an array/ Failure/Error: expect(subject).to run.with_params('one', 'two').and_raise_error(Puppet::ParseError, %r{first argument not an array}) expected reject("one", "two") to have raised Puppet::ParseError matching /first argument not an array/ instead of NoMethodError(undefined method `grep_v' for "one":String) /home/runner/work/puppetlabs-stdlib/puppetlabs-stdlib/spec/fixtures/modules/stdlib/lib/puppet/parser/functions/reject.rb:34:in `block in <module:Functions>' /home/runner/work/puppetlabs-stdlib/puppetlabs-stdlib/vendor/bundle/ruby/3.2.0/gems/puppet-8.6.0/lib/puppet/parser/functions.rb:218:in `block (2 levels) in newfunction' /home/runner/work/puppetlabs-stdlib/puppetlabs-stdlib/vendor/bundle/ruby/3.2.0/gems/puppet-8.6.0/lib/puppet/util/profiler/around_profiler.rb:59:in `profile' /home/runner/work/puppetlabs-stdlib/puppetlabs-stdlib/vendor/bundle/ruby/3.2.0/gems/puppet-8.6.0/lib/puppet/util/profiler.rb:53:in `profile' /home/runner/work/puppetlabs-stdlib/puppetlabs-stdlib/vendor/bundle/ruby/3.2.0/gems/puppet-8.6.0/lib/puppet/parser/functions.rb:210:in `block in newfunction' /home/runner/work/puppetlabs-stdlib/puppetlabs-stdlib/vendor/bundle/ruby/3.2.0/gems/puppet-8.6.0/lib/puppet/functions.rb:749:in `block in call' /home/runner/work/puppetlabs-stdlib/puppetlabs-stdlib/vendor/bundle/ruby/3.2.0/gems/puppet-8.6.0/lib/puppet/functions.rb:746:in `catch' /home/runner/work/puppetlabs-stdlib/puppetlabs-stdlib/vendor/bundle/ruby/3.2.0/gems/puppet-8.6.0/lib/puppet/functions.rb:746:in `call' /home/runner/work/puppetlabs-stdlib/puppetlabs-stdlib/vendor/bundle/ruby/3.2.0/gems/rspec-puppet-4.0.2/lib/rspec-puppet/example/function_example_group.rb:21:in `block in execute' /home/runner/work/puppetlabs-stdlib/puppetlabs-stdlib/vendor/bundle/ruby/3.2.0/gems/puppet-8.6.0/lib/puppet/context.rb:64:in `override' /home/runner/work/puppetlabs-stdlib/puppetlabs-stdlib/vendor/bundle/ruby/3.2.0/gems/puppet-8.6.0/lib/puppet.rb:288:in `override' /home/runner/work/puppetlabs-stdlib/puppetlabs-stdlib/vendor/bundle/ruby/3.2.0/gems/rspec-puppet-4.0.2/lib/rspec-puppet/example/function_example_group.rb:20:in `execute' /home/runner/work/puppetlabs-stdlib/puppetlabs-stdlib/vendor/bundle/ruby/3.2.0/gems/rspec-puppet-4.0.2/lib/rspec-puppet/matchers/run.rb:12:in `matches?' /home/runner/work/puppetlabs-stdlib/puppetlabs-stdlib/vendor/bundle/ruby/3.2.0/gems/rspec-expectations-3.13.0/lib/rspec/expectations/handler.rb:51:in `block in handle_matcher' /home/runner/work/puppetlabs-stdlib/puppetlabs-stdlib/vendor/bundle/ruby/3.2.0/gems/rspec-expectations-3.13.0/lib/rspec/expectations/handler.rb:27:in `with_matcher' /home/runner/work/puppetlabs-stdlib/puppetlabs-stdlib/vendor/bundle/ruby/3.2.0/gems/rspec-expectations-3.13.0/lib/rspec/expectations/handler.rb:48:in `handle_matcher' /home/runner/work/puppetlabs-stdlib/puppetlabs-stdlib/vendor/bundle/ruby/3.2.0/gems/rspec-expectations-3.13.0/lib/rspec/expectations/expectation_target.rb:65:in `to' /home/runner/work/puppetlabs-stdlib/puppetlabs-stdlib/vendor/bundle/ruby/3.2.0/gems/rspec-expectations-3.13.0/lib/rspec/expectations/expectation_target.rb:101:in `to' /home/runner/work/puppetlabs-stdlib/puppetlabs-stdlib/spec/functions/reject_spec.rb:12:in `block (2 levels) in <top (required)>' /home/runner/work/puppetlabs-stdlib/puppetlabs-stdlib/vendor/bundle/ruby/3.2.0/gems/rspec-core-3.13.0/lib/rspec/core/example.rb:263:in `instance_exec' /home/runner/work/puppetlabs-stdlib/puppetlabs-stdlib/vendor/bundle/ruby/3.2.0/gems/rspec-core-3.13.0/lib/rspec/core/example.rb:263:in `block in run' /home/runner/work/puppetlabs-stdlib/puppetlabs-stdlib/vendor/bundle/ruby/3.2.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-stdlib/puppetlabs-stdlib/vendor/bundle/ruby/3.2.0/gems/rspec-core-3.13.0/lib/rspec/core/example.rb:468:in `block in with_around_example_hooks' /home/runne
Spec / Spec tests (Puppet: ~> 7.24, Ruby Ver: 2.7): spec/functions/count_spec.rb#L11
count is expected to run count("one", "two") and raise an ArgumentError Failure/Error: expect(subject).to run.with_params('one', 'two').and_raise_error(ArgumentError) expected count("one", "two") to have raised ArgumentError instead of returning 1
Spec / Spec tests (Puppet: ~> 7.24, Ruby Ver: 2.7): spec/functions/delete_at_spec.rb#L12
delete_at is expected to run delete_at(["one"], 0, 1) and raise an Puppet::ParseError Failure/Error: expect(subject).to run.with_params(['one'], 0, 1).and_raise_error(Puppet::ParseError) expected delete_at(["one"], 0, 1) to have raised Puppet::ParseError instead of returning []
Spec / Spec tests (Puppet: ~> 7.24, Ruby Ver: 2.7): spec/functions/ensure_resource_spec.rb#L16
ensure_resource is expected to run ensure_resource(1, 2, 3) and raise an Puppet::ParseError Failure/Error: expect(subject).to run.with_params(1, 2, 3).and_raise_error(Puppet::ParseError) expected ensure_resource(1, 2, 3) to have raised Puppet::ParseError instead of NoMethodError(undefined method `capitalize' for 1:Integer) /home/runner/work/puppetlabs-stdlib/puppetlabs-stdlib/spec/fixtures/modules/stdlib/lib/puppet/parser/functions/ensure_resource.rb:50:in `block (2 levels) in get_binding' /home/runner/work/puppetlabs-stdlib/puppetlabs-stdlib/spec/fixtures/modules/stdlib/lib/puppet/parser/functions/ensure_resource.rb:43:in `each' /home/runner/work/puppetlabs-stdlib/puppetlabs-stdlib/spec/fixtures/modules/stdlib/lib/puppet/parser/functions/ensure_resource.rb:43:in `block in get_binding' /home/runner/work/puppetlabs-stdlib/puppetlabs-stdlib/vendor/bundle/ruby/2.7.0/gems/puppet-7.30.0/lib/puppet/parser/functions.rb:215:in `block (2 levels) in newfunction' /home/runner/work/puppetlabs-stdlib/puppetlabs-stdlib/vendor/bundle/ruby/2.7.0/gems/puppet-7.30.0/lib/puppet/util/profiler/around_profiler.rb:58:in `profile' /home/runner/work/puppetlabs-stdlib/puppetlabs-stdlib/vendor/bundle/ruby/2.7.0/gems/puppet-7.30.0/lib/puppet/util/profiler.rb:51:in `profile' /home/runner/work/puppetlabs-stdlib/puppetlabs-stdlib/vendor/bundle/ruby/2.7.0/gems/puppet-7.30.0/lib/puppet/parser/functions.rb:208:in `block in newfunction' /home/runner/work/puppetlabs-stdlib/puppetlabs-stdlib/vendor/bundle/ruby/2.7.0/gems/puppet-7.30.0/lib/puppet/functions.rb:751:in `block in call' /home/runner/work/puppetlabs-stdlib/puppetlabs-stdlib/vendor/bundle/ruby/2.7.0/gems/puppet-7.30.0/lib/puppet/functions.rb:748:in `catch' /home/runner/work/puppetlabs-stdlib/puppetlabs-stdlib/vendor/bundle/ruby/2.7.0/gems/puppet-7.30.0/lib/puppet/functions.rb:748:in `call' /home/runner/work/puppetlabs-stdlib/puppetlabs-stdlib/vendor/bundle/ruby/2.7.0/gems/rspec-puppet-4.0.2/lib/rspec-puppet/example/function_example_group.rb:21:in `block in execute' /home/runner/work/puppetlabs-stdlib/puppetlabs-stdlib/vendor/bundle/ruby/2.7.0/gems/puppet-7.30.0/lib/puppet/context.rb:62:in `override' /home/runner/work/puppetlabs-stdlib/puppetlabs-stdlib/vendor/bundle/ruby/2.7.0/gems/puppet-7.30.0/lib/puppet.rb:289:in `override' /home/runner/work/puppetlabs-stdlib/puppetlabs-stdlib/vendor/bundle/ruby/2.7.0/gems/rspec-puppet-4.0.2/lib/rspec-puppet/example/function_example_group.rb:20:in `execute' /home/runner/work/puppetlabs-stdlib/puppetlabs-stdlib/vendor/bundle/ruby/2.7.0/gems/rspec-puppet-4.0.2/lib/rspec-puppet/matchers/run.rb:12:in `matches?' /home/runner/work/puppetlabs-stdlib/puppetlabs-stdlib/vendor/bundle/ruby/2.7.0/gems/rspec-expectations-3.13.0/lib/rspec/expectations/handler.rb:51:in `block in handle_matcher' /home/runner/work/puppetlabs-stdlib/puppetlabs-stdlib/vendor/bundle/ruby/2.7.0/gems/rspec-expectations-3.13.0/lib/rspec/expectations/handler.rb:27:in `with_matcher' /home/runner/work/puppetlabs-stdlib/puppetlabs-stdlib/vendor/bundle/ruby/2.7.0/gems/rspec-expectations-3.13.0/lib/rspec/expectations/handler.rb:48:in `handle_matcher' /home/runner/work/puppetlabs-stdlib/puppetlabs-stdlib/vendor/bundle/ruby/2.7.0/gems/rspec-expectations-3.13.0/lib/rspec/expectations/expectation_target.rb:65:in `to' /home/runner/work/puppetlabs-stdlib/puppetlabs-stdlib/vendor/bundle/ruby/2.7.0/gems/rspec-expectations-3.13.0/lib/rspec/expectations/expectation_target.rb:101:in `to' /home/runner/work/puppetlabs-stdlib/puppetlabs-stdlib/spec/functions/ensure_resource_spec.rb:18:in `block (2 levels) in <top (required)>' /home/runner/work/puppetlabs-stdlib/puppetlabs-stdlib/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-stdlib/puppetlabs-stdlib/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-stdlib/puppetlabs-stdlib/vendor/bundle/ruby/2.7.0/gems/rspec-core-3.13.0/lib/rspec/core/example.rb:511:in `block in with_a
Spec / Spec tests (Puppet: ~> 7.24, Ruby Ver: 2.7): spec/functions/grep_spec.rb#L10
grep is expected to run grep("one", "two") and raise an Puppet::ParseError with the message matching /first argument not an array/ Failure/Error: expect(subject).to run.with_params('one', 'two').and_raise_error(Puppet::ParseError, %r{first argument not an array}) expected grep("one", "two") to have raised Puppet::ParseError matching /first argument not an array/ instead of NoMethodError(undefined method `grep' for "one":String) /home/runner/work/puppetlabs-stdlib/puppetlabs-stdlib/spec/fixtures/modules/stdlib/lib/puppet/parser/functions/grep.rb:28:in `block in <module:Functions>' /home/runner/work/puppetlabs-stdlib/puppetlabs-stdlib/vendor/bundle/ruby/2.7.0/gems/puppet-7.30.0/lib/puppet/parser/functions.rb:215:in `block (2 levels) in newfunction' /home/runner/work/puppetlabs-stdlib/puppetlabs-stdlib/vendor/bundle/ruby/2.7.0/gems/puppet-7.30.0/lib/puppet/util/profiler/around_profiler.rb:58:in `profile' /home/runner/work/puppetlabs-stdlib/puppetlabs-stdlib/vendor/bundle/ruby/2.7.0/gems/puppet-7.30.0/lib/puppet/util/profiler.rb:51:in `profile' /home/runner/work/puppetlabs-stdlib/puppetlabs-stdlib/vendor/bundle/ruby/2.7.0/gems/puppet-7.30.0/lib/puppet/parser/functions.rb:208:in `block in newfunction' /home/runner/work/puppetlabs-stdlib/puppetlabs-stdlib/vendor/bundle/ruby/2.7.0/gems/puppet-7.30.0/lib/puppet/functions.rb:751:in `block in call' /home/runner/work/puppetlabs-stdlib/puppetlabs-stdlib/vendor/bundle/ruby/2.7.0/gems/puppet-7.30.0/lib/puppet/functions.rb:748:in `catch' /home/runner/work/puppetlabs-stdlib/puppetlabs-stdlib/vendor/bundle/ruby/2.7.0/gems/puppet-7.30.0/lib/puppet/functions.rb:748:in `call' /home/runner/work/puppetlabs-stdlib/puppetlabs-stdlib/vendor/bundle/ruby/2.7.0/gems/rspec-puppet-4.0.2/lib/rspec-puppet/example/function_example_group.rb:21:in `block in execute' /home/runner/work/puppetlabs-stdlib/puppetlabs-stdlib/vendor/bundle/ruby/2.7.0/gems/puppet-7.30.0/lib/puppet/context.rb:62:in `override' /home/runner/work/puppetlabs-stdlib/puppetlabs-stdlib/vendor/bundle/ruby/2.7.0/gems/puppet-7.30.0/lib/puppet.rb:289:in `override' /home/runner/work/puppetlabs-stdlib/puppetlabs-stdlib/vendor/bundle/ruby/2.7.0/gems/rspec-puppet-4.0.2/lib/rspec-puppet/example/function_example_group.rb:20:in `execute' /home/runner/work/puppetlabs-stdlib/puppetlabs-stdlib/vendor/bundle/ruby/2.7.0/gems/rspec-puppet-4.0.2/lib/rspec-puppet/matchers/run.rb:12:in `matches?' /home/runner/work/puppetlabs-stdlib/puppetlabs-stdlib/vendor/bundle/ruby/2.7.0/gems/rspec-expectations-3.13.0/lib/rspec/expectations/handler.rb:51:in `block in handle_matcher' /home/runner/work/puppetlabs-stdlib/puppetlabs-stdlib/vendor/bundle/ruby/2.7.0/gems/rspec-expectations-3.13.0/lib/rspec/expectations/handler.rb:27:in `with_matcher' /home/runner/work/puppetlabs-stdlib/puppetlabs-stdlib/vendor/bundle/ruby/2.7.0/gems/rspec-expectations-3.13.0/lib/rspec/expectations/handler.rb:48:in `handle_matcher' /home/runner/work/puppetlabs-stdlib/puppetlabs-stdlib/vendor/bundle/ruby/2.7.0/gems/rspec-expectations-3.13.0/lib/rspec/expectations/expectation_target.rb:65:in `to' /home/runner/work/puppetlabs-stdlib/puppetlabs-stdlib/vendor/bundle/ruby/2.7.0/gems/rspec-expectations-3.13.0/lib/rspec/expectations/expectation_target.rb:101:in `to' /home/runner/work/puppetlabs-stdlib/puppetlabs-stdlib/spec/functions/grep_spec.rb:12:in `block (2 levels) in <top (required)>' /home/runner/work/puppetlabs-stdlib/puppetlabs-stdlib/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-stdlib/puppetlabs-stdlib/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-stdlib/puppetlabs-stdlib/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-stdlib/puppetlabs-stdlib/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/w
Spec / Spec tests (Puppet: ~> 7.24, Ruby Ver: 2.7): spec/functions/grep_spec.rb#L15
grep is expected to run grep(1, "two") and raise an Puppet::ParseError with the message matching /first argument not an array/ Failure/Error: expect(subject).to run.with_params(1, 'two').and_raise_error(Puppet::ParseError, %r{first argument not an array}) expected grep(1, "two") to have raised Puppet::ParseError matching /first argument not an array/ instead of NoMethodError(undefined method `grep' for 1:Integer) /home/runner/work/puppetlabs-stdlib/puppetlabs-stdlib/spec/fixtures/modules/stdlib/lib/puppet/parser/functions/grep.rb:28:in `block in <module:Functions>' /home/runner/work/puppetlabs-stdlib/puppetlabs-stdlib/vendor/bundle/ruby/2.7.0/gems/puppet-7.30.0/lib/puppet/parser/functions.rb:215:in `block (2 levels) in newfunction' /home/runner/work/puppetlabs-stdlib/puppetlabs-stdlib/vendor/bundle/ruby/2.7.0/gems/puppet-7.30.0/lib/puppet/util/profiler/around_profiler.rb:58:in `profile' /home/runner/work/puppetlabs-stdlib/puppetlabs-stdlib/vendor/bundle/ruby/2.7.0/gems/puppet-7.30.0/lib/puppet/util/profiler.rb:51:in `profile' /home/runner/work/puppetlabs-stdlib/puppetlabs-stdlib/vendor/bundle/ruby/2.7.0/gems/puppet-7.30.0/lib/puppet/parser/functions.rb:208:in `block in newfunction' /home/runner/work/puppetlabs-stdlib/puppetlabs-stdlib/vendor/bundle/ruby/2.7.0/gems/puppet-7.30.0/lib/puppet/functions.rb:751:in `block in call' /home/runner/work/puppetlabs-stdlib/puppetlabs-stdlib/vendor/bundle/ruby/2.7.0/gems/puppet-7.30.0/lib/puppet/functions.rb:748:in `catch' /home/runner/work/puppetlabs-stdlib/puppetlabs-stdlib/vendor/bundle/ruby/2.7.0/gems/puppet-7.30.0/lib/puppet/functions.rb:748:in `call' /home/runner/work/puppetlabs-stdlib/puppetlabs-stdlib/vendor/bundle/ruby/2.7.0/gems/rspec-puppet-4.0.2/lib/rspec-puppet/example/function_example_group.rb:21:in `block in execute' /home/runner/work/puppetlabs-stdlib/puppetlabs-stdlib/vendor/bundle/ruby/2.7.0/gems/puppet-7.30.0/lib/puppet/context.rb:62:in `override' /home/runner/work/puppetlabs-stdlib/puppetlabs-stdlib/vendor/bundle/ruby/2.7.0/gems/puppet-7.30.0/lib/puppet.rb:289:in `override' /home/runner/work/puppetlabs-stdlib/puppetlabs-stdlib/vendor/bundle/ruby/2.7.0/gems/rspec-puppet-4.0.2/lib/rspec-puppet/example/function_example_group.rb:20:in `execute' /home/runner/work/puppetlabs-stdlib/puppetlabs-stdlib/vendor/bundle/ruby/2.7.0/gems/rspec-puppet-4.0.2/lib/rspec-puppet/matchers/run.rb:12:in `matches?' /home/runner/work/puppetlabs-stdlib/puppetlabs-stdlib/vendor/bundle/ruby/2.7.0/gems/rspec-expectations-3.13.0/lib/rspec/expectations/handler.rb:51:in `block in handle_matcher' /home/runner/work/puppetlabs-stdlib/puppetlabs-stdlib/vendor/bundle/ruby/2.7.0/gems/rspec-expectations-3.13.0/lib/rspec/expectations/handler.rb:27:in `with_matcher' /home/runner/work/puppetlabs-stdlib/puppetlabs-stdlib/vendor/bundle/ruby/2.7.0/gems/rspec-expectations-3.13.0/lib/rspec/expectations/handler.rb:48:in `handle_matcher' /home/runner/work/puppetlabs-stdlib/puppetlabs-stdlib/vendor/bundle/ruby/2.7.0/gems/rspec-expectations-3.13.0/lib/rspec/expectations/expectation_target.rb:65:in `to' /home/runner/work/puppetlabs-stdlib/puppetlabs-stdlib/vendor/bundle/ruby/2.7.0/gems/rspec-expectations-3.13.0/lib/rspec/expectations/expectation_target.rb:101:in `to' /home/runner/work/puppetlabs-stdlib/puppetlabs-stdlib/spec/functions/grep_spec.rb:17:in `block (2 levels) in <top (required)>' /home/runner/work/puppetlabs-stdlib/puppetlabs-stdlib/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-stdlib/puppetlabs-stdlib/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-stdlib/puppetlabs-stdlib/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-stdlib/puppetlabs-stdlib/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-
Spec / Spec tests (Puppet: ~> 7.24, Ruby Ver: 2.7): spec/functions/prefix_spec.rb#L9
prefix is expected to run prefix([], "a", "") and raise an Puppet::ParseError with the message matching /wrong number of arguments/i Failure/Error: expect(subject).to run.with_params([], 'a', '').and_raise_error(Puppet::ParseError, %r{wrong number of arguments}i) expected prefix([], "a", "") to have raised Puppet::ParseError matching /wrong number of arguments/i instead of returning []
Spec / Spec tests (Puppet: ~> 7.24, Ruby Ver: 2.7): spec/functions/member_spec.rb#L10
member is expected to run member([], [], []) and raise an Puppet::ParseError with the message matching /wrong number of arguments/i Failure/Error: expect(subject).to run.with_params([], [], []).and_raise_error(Puppet::ParseError, %r{wrong number of arguments}i) expected member([], [], []) to have raised Puppet::ParseError matching /wrong number of arguments/i instead of Puppet::ParseError(member(): You must provide item to search for within array given) /home/runner/work/puppetlabs-stdlib/puppetlabs-stdlib/spec/fixtures/modules/stdlib/lib/puppet/parser/functions/member.rb:54:in `block in <module:Functions>' /home/runner/work/puppetlabs-stdlib/puppetlabs-stdlib/vendor/bundle/ruby/2.7.0/gems/puppet-7.30.0/lib/puppet/parser/functions.rb:215:in `block (2 levels) in newfunction' /home/runner/work/puppetlabs-stdlib/puppetlabs-stdlib/vendor/bundle/ruby/2.7.0/gems/puppet-7.30.0/lib/puppet/util/profiler/around_profiler.rb:58:in `profile' /home/runner/work/puppetlabs-stdlib/puppetlabs-stdlib/vendor/bundle/ruby/2.7.0/gems/puppet-7.30.0/lib/puppet/util/profiler.rb:51:in `profile' /home/runner/work/puppetlabs-stdlib/puppetlabs-stdlib/vendor/bundle/ruby/2.7.0/gems/puppet-7.30.0/lib/puppet/parser/functions.rb:208:in `block in newfunction' /home/runner/work/puppetlabs-stdlib/puppetlabs-stdlib/vendor/bundle/ruby/2.7.0/gems/puppet-7.30.0/lib/puppet/functions.rb:751:in `block in call' /home/runner/work/puppetlabs-stdlib/puppetlabs-stdlib/vendor/bundle/ruby/2.7.0/gems/puppet-7.30.0/lib/puppet/functions.rb:748:in `catch' /home/runner/work/puppetlabs-stdlib/puppetlabs-stdlib/vendor/bundle/ruby/2.7.0/gems/puppet-7.30.0/lib/puppet/functions.rb:748:in `call' /home/runner/work/puppetlabs-stdlib/puppetlabs-stdlib/vendor/bundle/ruby/2.7.0/gems/rspec-puppet-4.0.2/lib/rspec-puppet/example/function_example_group.rb:21:in `block in execute' /home/runner/work/puppetlabs-stdlib/puppetlabs-stdlib/vendor/bundle/ruby/2.7.0/gems/puppet-7.30.0/lib/puppet/context.rb:62:in `override' /home/runner/work/puppetlabs-stdlib/puppetlabs-stdlib/vendor/bundle/ruby/2.7.0/gems/puppet-7.30.0/lib/puppet.rb:289:in `override' /home/runner/work/puppetlabs-stdlib/puppetlabs-stdlib/vendor/bundle/ruby/2.7.0/gems/rspec-puppet-4.0.2/lib/rspec-puppet/example/function_example_group.rb:20:in `execute' /home/runner/work/puppetlabs-stdlib/puppetlabs-stdlib/vendor/bundle/ruby/2.7.0/gems/rspec-puppet-4.0.2/lib/rspec-puppet/matchers/run.rb:12:in `matches?' /home/runner/work/puppetlabs-stdlib/puppetlabs-stdlib/vendor/bundle/ruby/2.7.0/gems/rspec-expectations-3.13.0/lib/rspec/expectations/handler.rb:51:in `block in handle_matcher' /home/runner/work/puppetlabs-stdlib/puppetlabs-stdlib/vendor/bundle/ruby/2.7.0/gems/rspec-expectations-3.13.0/lib/rspec/expectations/handler.rb:27:in `with_matcher' /home/runner/work/puppetlabs-stdlib/puppetlabs-stdlib/vendor/bundle/ruby/2.7.0/gems/rspec-expectations-3.13.0/lib/rspec/expectations/handler.rb:48:in `handle_matcher' /home/runner/work/puppetlabs-stdlib/puppetlabs-stdlib/vendor/bundle/ruby/2.7.0/gems/rspec-expectations-3.13.0/lib/rspec/expectations/expectation_target.rb:65:in `to' /home/runner/work/puppetlabs-stdlib/puppetlabs-stdlib/vendor/bundle/ruby/2.7.0/gems/rspec-expectations-3.13.0/lib/rspec/expectations/expectation_target.rb:101:in `to' /home/runner/work/puppetlabs-stdlib/puppetlabs-stdlib/spec/functions/member_spec.rb:12:in `block (2 levels) in <top (required)>' /home/runner/work/puppetlabs-stdlib/puppetlabs-stdlib/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-stdlib/puppetlabs-stdlib/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-stdlib/puppetlabs-stdlib/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-stdlib/puppetlabs-stdlib/vendor/bundle/ruby/2.7.0/gems/rspec-core-3.13.0/lib/rspec/core/example.rb:468:in `block in with_around_e
Spec / Spec tests (Puppet: ~> 7.24, Ruby Ver: 2.7): spec/functions/str2bool_spec.rb#L9
str2bool is expected to run str2bool("true", "extra") and raise an Puppet::ParseError with the message matching /wrong number of arguments/i Failure/Error: expect(subject).to run.with_params('true', 'extra').and_raise_error(Puppet::ParseError, %r{wrong number of arguments}i) expected str2bool("true", "extra") to have raised Puppet::ParseError matching /wrong number of arguments/i instead of returning true
Spec / Spec tests (Puppet: ~> 7.24, Ruby Ver: 2.7): spec/functions/regexpescape_spec.rb#L10
regexpescape signature validation is expected to run regexpescape("", "") and raise an Puppet::ParseError with the message matching /wrong number of arguments/i Failure/Error: expect(subject).to run.with_params('', '').and_raise_error(Puppet::ParseError, %r{wrong number of arguments}i) expected regexpescape("", "") to have raised Puppet::ParseError matching /wrong number of arguments/i instead of returning ""
Spec / Spec tests (Puppet: ~> 7.24, Ruby Ver: 2.7): spec/functions/reject_spec.rb#L10
reject is expected to run reject("one", "two") and raise an Puppet::ParseError with the message matching /first argument not an array/ Failure/Error: expect(subject).to run.with_params('one', 'two').and_raise_error(Puppet::ParseError, %r{first argument not an array}) expected reject("one", "two") to have raised Puppet::ParseError matching /first argument not an array/ instead of NoMethodError(undefined method `grep_v' for "one":String) /home/runner/work/puppetlabs-stdlib/puppetlabs-stdlib/spec/fixtures/modules/stdlib/lib/puppet/parser/functions/reject.rb:34:in `block in <module:Functions>' /home/runner/work/puppetlabs-stdlib/puppetlabs-stdlib/vendor/bundle/ruby/2.7.0/gems/puppet-7.30.0/lib/puppet/parser/functions.rb:215:in `block (2 levels) in newfunction' /home/runner/work/puppetlabs-stdlib/puppetlabs-stdlib/vendor/bundle/ruby/2.7.0/gems/puppet-7.30.0/lib/puppet/util/profiler/around_profiler.rb:58:in `profile' /home/runner/work/puppetlabs-stdlib/puppetlabs-stdlib/vendor/bundle/ruby/2.7.0/gems/puppet-7.30.0/lib/puppet/util/profiler.rb:51:in `profile' /home/runner/work/puppetlabs-stdlib/puppetlabs-stdlib/vendor/bundle/ruby/2.7.0/gems/puppet-7.30.0/lib/puppet/parser/functions.rb:208:in `block in newfunction' /home/runner/work/puppetlabs-stdlib/puppetlabs-stdlib/vendor/bundle/ruby/2.7.0/gems/puppet-7.30.0/lib/puppet/functions.rb:751:in `block in call' /home/runner/work/puppetlabs-stdlib/puppetlabs-stdlib/vendor/bundle/ruby/2.7.0/gems/puppet-7.30.0/lib/puppet/functions.rb:748:in `catch' /home/runner/work/puppetlabs-stdlib/puppetlabs-stdlib/vendor/bundle/ruby/2.7.0/gems/puppet-7.30.0/lib/puppet/functions.rb:748:in `call' /home/runner/work/puppetlabs-stdlib/puppetlabs-stdlib/vendor/bundle/ruby/2.7.0/gems/rspec-puppet-4.0.2/lib/rspec-puppet/example/function_example_group.rb:21:in `block in execute' /home/runner/work/puppetlabs-stdlib/puppetlabs-stdlib/vendor/bundle/ruby/2.7.0/gems/puppet-7.30.0/lib/puppet/context.rb:62:in `override' /home/runner/work/puppetlabs-stdlib/puppetlabs-stdlib/vendor/bundle/ruby/2.7.0/gems/puppet-7.30.0/lib/puppet.rb:289:in `override' /home/runner/work/puppetlabs-stdlib/puppetlabs-stdlib/vendor/bundle/ruby/2.7.0/gems/rspec-puppet-4.0.2/lib/rspec-puppet/example/function_example_group.rb:20:in `execute' /home/runner/work/puppetlabs-stdlib/puppetlabs-stdlib/vendor/bundle/ruby/2.7.0/gems/rspec-puppet-4.0.2/lib/rspec-puppet/matchers/run.rb:12:in `matches?' /home/runner/work/puppetlabs-stdlib/puppetlabs-stdlib/vendor/bundle/ruby/2.7.0/gems/rspec-expectations-3.13.0/lib/rspec/expectations/handler.rb:51:in `block in handle_matcher' /home/runner/work/puppetlabs-stdlib/puppetlabs-stdlib/vendor/bundle/ruby/2.7.0/gems/rspec-expectations-3.13.0/lib/rspec/expectations/handler.rb:27:in `with_matcher' /home/runner/work/puppetlabs-stdlib/puppetlabs-stdlib/vendor/bundle/ruby/2.7.0/gems/rspec-expectations-3.13.0/lib/rspec/expectations/handler.rb:48:in `handle_matcher' /home/runner/work/puppetlabs-stdlib/puppetlabs-stdlib/vendor/bundle/ruby/2.7.0/gems/rspec-expectations-3.13.0/lib/rspec/expectations/expectation_target.rb:65:in `to' /home/runner/work/puppetlabs-stdlib/puppetlabs-stdlib/vendor/bundle/ruby/2.7.0/gems/rspec-expectations-3.13.0/lib/rspec/expectations/expectation_target.rb:101:in `to' /home/runner/work/puppetlabs-stdlib/puppetlabs-stdlib/spec/functions/reject_spec.rb:12:in `block (2 levels) in <top (required)>' /home/runner/work/puppetlabs-stdlib/puppetlabs-stdlib/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-stdlib/puppetlabs-stdlib/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-stdlib/puppetlabs-stdlib/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-stdlib/puppetlabs-stdlib/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' /h
Acceptance / Setup Test Matrix
Cannot find image for AIX-7.1
Acceptance / Setup Test Matrix
Cannot find image for AIX-7.2
Acceptance / Setup Test Matrix
Cannot find image for Solaris-11
Acceptance / Setup Test Matrix
Cannot find image for Windows-10
Acceptance / Setup Test Matrix
Cannot find image for Windows-2012
Acceptance / Setup Test Matrix
Cannot find image for Windows-2012 R2