nightly #990
nightly.yml
on: schedule
Spec
/
Setup Test Matrix
39s
Matrix: Spec / spec
Matrix: Acceptance / acceptance
Annotations
32 warnings
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_undef_values_spec.rb#L23
delete_undef_values when deleting from an array when undef is represented by "" is expected to run delete_undef_values([""]) and return []
Failure/Error: it { is_expected.to run.with_params([undef_value]).and_return([]) }
expected delete_undef_values([""]) to have returned [] instead of [""]
|
Spec / Spec tests (Puppet: ~> 8.0, Ruby Ver: 3.2):
spec/functions/delete_undef_values_spec.rb#L24
delete_undef_values when deleting from an array when undef is represented by "" is expected to run delete_undef_values(["one", "", "two", "three"]) and return ["one", "two", "three"]
Failure/Error: it { is_expected.to run.with_params(['one', undef_value, 'two', 'three']).and_return(['one', 'two', 'three']) }
expected delete_undef_values(["one", "", "two", "three"]) to have returned ["one", "two", "three"] instead of ["one", "", "two", "three"]
|
Spec / Spec tests (Puppet: ~> 8.0, Ruby Ver: 3.2):
spec/functions/delete_undef_values_spec.rb#L25
delete_undef_values when deleting from an array when undef is represented by "" is expected to run delete_undef_values(["ớņέ", "", "ŧשּׁō", "ŧħґëə"]) and return ["ớņέ", "ŧשּׁō", "ŧħґëə"]
Failure/Error: it { is_expected.to run.with_params(['ớņέ', undef_value, 'ŧשּׁō', 'ŧħґëə']).and_return(['ớņέ', 'ŧשּׁō', 'ŧħґëə']) }
expected delete_undef_values(["ớņέ", "", "ŧשּׁō", "ŧħґëə"]) to have returned ["ớņέ", "ŧשּׁō", "ŧħґëə"] instead of ["ớņέ", "", "ŧשּׁō", "ŧħґëə"]
|
Spec / Spec tests (Puppet: ~> 8.0, Ruby Ver: 3.2):
spec/functions/delete_undef_values_spec.rb#L47
delete_undef_values when deleting from a hash when undef is represented by "" is expected to run delete_undef_values({"key"=>""}) and return {}
Failure/Error: it { is_expected.to run.with_params('key' => undef_value).and_return({}) }
expected delete_undef_values({"key"=>""}) to have returned {} instead of {"key"=>""}
|
Spec / Spec tests (Puppet: ~> 8.0, Ruby Ver: 3.2):
spec/functions/delete_undef_values_spec.rb#L49
delete_undef_values when deleting from a hash when undef is represented by "" is expected to run delete_undef_values({"key1"=>"value1", "undef_key"=>"", "key2"=>"value2"}) and return {"key1"=>"value1", "key2"=>"value2"}
Failure/Error:
expect(subject).to run \
.with_params('key1' => 'value1', 'undef_key' => undef_value, 'key2' => 'value2') \
.and_return('key1' => 'value1', 'key2' => 'value2')
expected delete_undef_values({"key1"=>"value1", "undef_key"=>"", "key2"=>"value2"}) to have returned {"key1"=>"value1", "key2"=>"value2"} instead of {"key1"=>"value1", "undef_key"=>"", "key2"=>"value2"}
|
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.1.0/lib/puppet/parser/functions.rb:216:in `block (2 levels) in newfunction'
/home/runner/work/puppetlabs-stdlib/puppetlabs-stdlib/vendor/bundle/ruby/3.2.0/gems/puppet-8.1.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.1.0/lib/puppet/util/profiler.rb:52:in `profile'
/home/runner/work/puppetlabs-stdlib/puppetlabs-stdlib/vendor/bundle/ruby/3.2.0/gems/puppet-8.1.0/lib/puppet/parser/functions.rb:209:in `block in newfunction'
/home/runner/work/puppetlabs-stdlib/puppetlabs-stdlib/vendor/bundle/ruby/3.2.0/gems/puppet-8.1.0/lib/puppet/functions.rb:752:in `block in call'
/home/runner/work/puppetlabs-stdlib/puppetlabs-stdlib/vendor/bundle/ruby/3.2.0/gems/puppet-8.1.0/lib/puppet/functions.rb:749:in `catch'
/home/runner/work/puppetlabs-stdlib/puppetlabs-stdlib/vendor/bundle/ruby/3.2.0/gems/puppet-8.1.0/lib/puppet/functions.rb:749:in `call'
/home/runner/work/puppetlabs-stdlib/puppetlabs-stdlib/vendor/bundle/ruby/3.2.0/gems/rspec-puppet-2.12.0/lib/rspec-puppet/example/function_example_group.rb:19:in `block in execute'
/home/runner/work/puppetlabs-stdlib/puppetlabs-stdlib/vendor/bundle/ruby/3.2.0/gems/puppet-8.1.0/lib/puppet/context.rb:63:in `override'
/home/runner/work/puppetlabs-stdlib/puppetlabs-stdlib/vendor/bundle/ruby/3.2.0/gems/puppet-8.1.0/lib/puppet.rb:286:in `override'
/home/runner/work/puppetlabs-stdlib/puppetlabs-stdlib/vendor/bundle/ruby/3.2.0/gems/rspec-puppet-2.12.0/lib/rspec-puppet/example/function_example_group.rb:18:in `execute'
/home/runner/work/puppetlabs-stdlib/puppetlabs-stdlib/vendor/bundle/ruby/3.2.0/gems/rspec-puppet-2.12.0/lib/rspec-puppet/matchers/run.rb:10:in `matches?'
/home/runner/work/puppetlabs-stdlib/puppetlabs-stdlib/vendor/bundle/ruby/3.2.0/gems/rspec-expectations-3.12.3/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.12.3/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.12.3/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.12.3/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.12.3/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.12.2/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.12.2/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.12.2/lib/rspec/core/example.rb:511:in `block in with_around_
|
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.1.0/lib/puppet/parser/functions.rb:216:in `block (2 levels) in newfunction'
/home/runner/work/puppetlabs-stdlib/puppetlabs-stdlib/vendor/bundle/ruby/3.2.0/gems/puppet-8.1.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.1.0/lib/puppet/util/profiler.rb:52:in `profile'
/home/runner/work/puppetlabs-stdlib/puppetlabs-stdlib/vendor/bundle/ruby/3.2.0/gems/puppet-8.1.0/lib/puppet/parser/functions.rb:209:in `block in newfunction'
/home/runner/work/puppetlabs-stdlib/puppetlabs-stdlib/vendor/bundle/ruby/3.2.0/gems/puppet-8.1.0/lib/puppet/functions.rb:752:in `block in call'
/home/runner/work/puppetlabs-stdlib/puppetlabs-stdlib/vendor/bundle/ruby/3.2.0/gems/puppet-8.1.0/lib/puppet/functions.rb:749:in `catch'
/home/runner/work/puppetlabs-stdlib/puppetlabs-stdlib/vendor/bundle/ruby/3.2.0/gems/puppet-8.1.0/lib/puppet/functions.rb:749:in `call'
/home/runner/work/puppetlabs-stdlib/puppetlabs-stdlib/vendor/bundle/ruby/3.2.0/gems/rspec-puppet-2.12.0/lib/rspec-puppet/example/function_example_group.rb:19:in `block in execute'
/home/runner/work/puppetlabs-stdlib/puppetlabs-stdlib/vendor/bundle/ruby/3.2.0/gems/puppet-8.1.0/lib/puppet/context.rb:63:in `override'
/home/runner/work/puppetlabs-stdlib/puppetlabs-stdlib/vendor/bundle/ruby/3.2.0/gems/puppet-8.1.0/lib/puppet.rb:286:in `override'
/home/runner/work/puppetlabs-stdlib/puppetlabs-stdlib/vendor/bundle/ruby/3.2.0/gems/rspec-puppet-2.12.0/lib/rspec-puppet/example/function_example_group.rb:18:in `execute'
/home/runner/work/puppetlabs-stdlib/puppetlabs-stdlib/vendor/bundle/ruby/3.2.0/gems/rspec-puppet-2.12.0/lib/rspec-puppet/matchers/run.rb:10:in `matches?'
/home/runner/work/puppetlabs-stdlib/puppetlabs-stdlib/vendor/bundle/ruby/3.2.0/gems/rspec-expectations-3.12.3/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.12.3/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.12.3/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.12.3/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.12.3/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.12.2/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.12.2/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.12.2/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.12.2/lib/rspec/core/example.rb:468:in `block in with_around_example
|
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/shuffle_spec.rb#L9
shuffle is expected to run shuffle([], "extra") and raise an Puppet::ParseError with the message matching /wrong number of arguments/i
Failure/Error: expect(subject).to run.with_params([], 'extra').and_raise_error(Puppet::ParseError, %r{wrong number of arguments}i)
expected shuffle([], "extra") 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/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_undef_values_spec.rb#L23
delete_undef_values when deleting from an array when undef is represented by "" is expected to run delete_undef_values([""]) and return []
Failure/Error: it { is_expected.to run.with_params([undef_value]).and_return([]) }
expected delete_undef_values([""]) to have returned [] instead of [""]
|
Spec / Spec tests (Puppet: ~> 7.24, Ruby Ver: 2.7):
spec/functions/delete_undef_values_spec.rb#L24
delete_undef_values when deleting from an array when undef is represented by "" is expected to run delete_undef_values(["one", "", "two", "three"]) and return ["one", "two", "three"]
Failure/Error: it { is_expected.to run.with_params(['one', undef_value, 'two', 'three']).and_return(['one', 'two', 'three']) }
expected delete_undef_values(["one", "", "two", "three"]) to have returned ["one", "two", "three"] instead of ["one", "", "two", "three"]
|
Spec / Spec tests (Puppet: ~> 7.24, Ruby Ver: 2.7):
spec/functions/delete_undef_values_spec.rb#L25
delete_undef_values when deleting from an array when undef is represented by "" is expected to run delete_undef_values(["ớņέ", "", "ŧשּׁō", "ŧħґëə"]) and return ["ớņέ", "ŧשּׁō", "ŧħґëə"]
Failure/Error: it { is_expected.to run.with_params(['ớņέ', undef_value, 'ŧשּׁō', 'ŧħґëə']).and_return(['ớņέ', 'ŧשּׁō', 'ŧħґëə']) }
expected delete_undef_values(["ớņέ", "", "ŧשּׁō", "ŧħґëə"]) to have returned ["ớņέ", "ŧשּׁō", "ŧħґëə"] instead of ["ớņέ", "", "ŧשּׁō", "ŧħґëə"]
|
Spec / Spec tests (Puppet: ~> 7.24, Ruby Ver: 2.7):
spec/functions/delete_undef_values_spec.rb#L47
delete_undef_values when deleting from a hash when undef is represented by "" is expected to run delete_undef_values({"key"=>""}) and return {}
Failure/Error: it { is_expected.to run.with_params('key' => undef_value).and_return({}) }
expected delete_undef_values({"key"=>""}) to have returned {} instead of {"key"=>""}
|
Spec / Spec tests (Puppet: ~> 7.24, Ruby Ver: 2.7):
spec/functions/delete_undef_values_spec.rb#L49
delete_undef_values when deleting from a hash when undef is represented by "" is expected to run delete_undef_values({"key1"=>"value1", "undef_key"=>"", "key2"=>"value2"}) and return {"key1"=>"value1", "key2"=>"value2"}
Failure/Error:
expect(subject).to run \
.with_params('key1' => 'value1', 'undef_key' => undef_value, 'key2' => 'value2') \
.and_return('key1' => 'value1', 'key2' => 'value2')
expected delete_undef_values({"key1"=>"value1", "undef_key"=>"", "key2"=>"value2"}) to have returned {"key1"=>"value1", "key2"=>"value2"} instead of {"key1"=>"value1", "undef_key"=>"", "key2"=>"value2"}
|
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.25.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.25.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.25.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.25.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.25.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.25.0/lib/puppet/functions.rb:748:in `catch'
/home/runner/work/puppetlabs-stdlib/puppetlabs-stdlib/vendor/bundle/ruby/2.7.0/gems/puppet-7.25.0/lib/puppet/functions.rb:748:in `call'
/home/runner/work/puppetlabs-stdlib/puppetlabs-stdlib/vendor/bundle/ruby/2.7.0/gems/rspec-puppet-2.12.0/lib/rspec-puppet/example/function_example_group.rb:19:in `block in execute'
/home/runner/work/puppetlabs-stdlib/puppetlabs-stdlib/vendor/bundle/ruby/2.7.0/gems/puppet-7.25.0/lib/puppet/context.rb:62:in `override'
/home/runner/work/puppetlabs-stdlib/puppetlabs-stdlib/vendor/bundle/ruby/2.7.0/gems/puppet-7.25.0/lib/puppet.rb:289:in `override'
/home/runner/work/puppetlabs-stdlib/puppetlabs-stdlib/vendor/bundle/ruby/2.7.0/gems/rspec-puppet-2.12.0/lib/rspec-puppet/example/function_example_group.rb:18:in `execute'
/home/runner/work/puppetlabs-stdlib/puppetlabs-stdlib/vendor/bundle/ruby/2.7.0/gems/rspec-puppet-2.12.0/lib/rspec-puppet/matchers/run.rb:10:in `matches?'
/home/runner/work/puppetlabs-stdlib/puppetlabs-stdlib/vendor/bundle/ruby/2.7.0/gems/rspec-expectations-3.12.3/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.12.3/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.12.3/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.12.3/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.12.3/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.12.2/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.12.2/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.12.2/lib/rspec/core/example.rb:511:in `block in wit
|
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.25.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.25.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.25.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.25.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.25.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.25.0/lib/puppet/functions.rb:748:in `catch'
/home/runner/work/puppetlabs-stdlib/puppetlabs-stdlib/vendor/bundle/ruby/2.7.0/gems/puppet-7.25.0/lib/puppet/functions.rb:748:in `call'
/home/runner/work/puppetlabs-stdlib/puppetlabs-stdlib/vendor/bundle/ruby/2.7.0/gems/rspec-puppet-2.12.0/lib/rspec-puppet/example/function_example_group.rb:19:in `block in execute'
/home/runner/work/puppetlabs-stdlib/puppetlabs-stdlib/vendor/bundle/ruby/2.7.0/gems/puppet-7.25.0/lib/puppet/context.rb:62:in `override'
/home/runner/work/puppetlabs-stdlib/puppetlabs-stdlib/vendor/bundle/ruby/2.7.0/gems/puppet-7.25.0/lib/puppet.rb:289:in `override'
/home/runner/work/puppetlabs-stdlib/puppetlabs-stdlib/vendor/bundle/ruby/2.7.0/gems/rspec-puppet-2.12.0/lib/rspec-puppet/example/function_example_group.rb:18:in `execute'
/home/runner/work/puppetlabs-stdlib/puppetlabs-stdlib/vendor/bundle/ruby/2.7.0/gems/rspec-puppet-2.12.0/lib/rspec-puppet/matchers/run.rb:10:in `matches?'
/home/runner/work/puppetlabs-stdlib/puppetlabs-stdlib/vendor/bundle/ruby/2.7.0/gems/rspec-expectations-3.12.3/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.12.3/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.12.3/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.12.3/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.12.3/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.12.2/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.12.2/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.12.2/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.12.2/lib/rspec/core/example.rb:468:in `block in with_aroun
|
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/shuffle_spec.rb#L9
shuffle is expected to run shuffle([], "extra") and raise an Puppet::ParseError with the message matching /wrong number of arguments/i
Failure/Error: expect(subject).to run.with_params([], 'extra').and_raise_error(Puppet::ParseError, %r{wrong number of arguments}i)
expected shuffle([], "extra") to have raised Puppet::ParseError matching /wrong number of arguments/i instead of returning []
|
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
|