Skip to content

modulesync 7.3.0 & puppet-lint adjustments #20

modulesync 7.3.0 & puppet-lint adjustments

modulesync 7.3.0 & puppet-lint adjustments #20

Triggered via pull request February 12, 2024 22:27
@zilchmszilchms
synchronize #24
modulesync
Status Failure
Total duration 1m 38s
Artifacts

ci.yml

on: pull_request
Puppet  /  Static validations
24s
Puppet / Static validations
Matrix: Puppet / acceptance
Matrix: Puppet / unit
Puppet  /  Test suite
0s
Puppet / Test suite
Fit to window
Zoom out
Zoom in

Annotations

15 errors
Puppet / Puppet 7 - Debian 10
Process completed with exit code 1.
Puppet / Puppet 7 - OracleLinux 7
Process completed with exit code 1.
Puppet / Puppet 7 - CentOS 7
Process completed with exit code 1.
Puppet / Puppet 7 - CentOS 8
Process completed with exit code 1.
Puppet / Puppet 7 - Ubuntu 18.04
Process completed with exit code 1.
Puppet / 7 (Ruby 2.7): spec/defines/check_spec.rb#L17
monit::check with default values for parameters is expected to compile into a catalogue without dependency cycles Failure/Error: it { is_expected.to compile.with_all_deps } error during compilation: Evaluation Error: Operator '[]' is not applicable to an Undef Value. (file: /home/runner/work/puppet-monit/puppet-monit/spec/fixtures/modules/monit/manifests/params.pp, line: 34, column: 8) on node fv-az1426-337.rca3p110zaveja4ulz44at14fe.dx.internal.cloudapp.net
Puppet / 7 (Ruby 2.7): spec/defines/check_spec.rb#L18
monit::check with default values for parameters is expected to contain Class[monit] Failure/Error: it { is_expected.to contain_class('monit') } Puppet::PreformattedError: Evaluation Error: Operator '[]' is not applicable to an Undef Value. (file: /home/runner/work/puppet-monit/puppet-monit/spec/fixtures/modules/monit/manifests/params.pp, line: 34, column: 8) on node fv-az1426-337.rca3p110zaveja4ulz44at14fe.dx.internal.cloudapp.net
Puppet / 7 (Ruby 2.7): spec/defines/check_spec.rb#L20
monit::check with default values for parameters is expected to contain File[/etc/monit/conf.d/test] with ensure => "present", owner => "root", group => "root", mode => "0644", source defined, content defined, notify => "Service[monit]" and require => "Package[monit]" Failure/Error: is_expected.to contain_file('/etc/monit/conf.d/test').with('ensure' => 'present', 'owner' => 'root', 'group' => 'root', 'mode' => '0644', 'source' => nil, 'content' => nil, 'notify' => 'Service[monit]', 'require' => 'Package[monit]') Puppet::PreformattedError: Evaluation Error: Operator '[]' is not applicable to an Undef Value. (file: /home/runner/work/puppet-monit/puppet-monit/spec/fixtures/modules/monit/manifests/params.pp, line: 34, column: 8) on node fv-az1426-337.rca3p110zaveja4ulz44at14fe.dx.internal.cloudapp.net
Puppet / 7 (Ruby 2.7): spec/defines/check_spec.rb#L40
monit::check with ensure set to valid <absent> is expected to contain File[/etc/monit/conf.d/test] with ensure => "absent", owner => "root", group => "root", mode => "0644", source defined, content defined, notify => "Service[monit]" and require => "Package[monit]" Failure/Error: is_expected.to contain_file('/etc/monit/conf.d/test').with('ensure' => value, 'owner' => 'root', 'group' => 'root', 'mode' => '0644', 'source' => nil, 'content' => nil, 'notify' => 'Service[monit]', 'require' => 'Package[monit]') Puppet::PreformattedError: Evaluation Error: Operator '[]' is not applicable to an Undef Value. (file: /home/runner/work/puppet-monit/puppet-monit/spec/fixtures/modules/monit/manifests/params.pp, line: 34, column: 8) on node fv-az1426-337.rca3p110zaveja4ulz44at14fe.dx.internal.cloudapp.net
Puppet / 7 (Ruby 2.7): spec/defines/check_spec.rb#L40
monit::check with ensure set to valid <present> is expected to contain File[/etc/monit/conf.d/test] with ensure => "present", owner => "root", group => "root", mode => "0644", source defined, content defined, notify => "Service[monit]" and require => "Package[monit]" Failure/Error: is_expected.to contain_file('/etc/monit/conf.d/test').with('ensure' => value, 'owner' => 'root', 'group' => 'root', 'mode' => '0644', 'source' => nil, 'content' => nil, 'notify' => 'Service[monit]', 'require' => 'Package[monit]') Puppet::PreformattedError: Evaluation Error: Operator '[]' is not applicable to an Undef Value. (file: /home/runner/work/puppet-monit/puppet-monit/spec/fixtures/modules/monit/manifests/params.pp, line: 34, column: 8) on node fv-az1426-337.rca3p110zaveja4ulz44at14fe.dx.internal.cloudapp.net
Puppet / 7 (Ruby 2.7): spec/defines/check_spec.rb#L67
monit::check with content set to a valid value is expected to contain File[/etc/monit/conf.d/test] with ensure => "present", owner => "root", group => "root", mode => "0644", source defined, content supplied string, notify => "Service[monit]" and require => "Package[monit]" Failure/Error: is_expected.to contain_file('/etc/monit/conf.d/test').with('ensure' => 'present', 'owner' => 'root', 'group' => 'root', 'mode' => '0644', 'source' => nil, 'content' => content, 'notify' => 'Service[monit]', 'require' => 'Package[monit]') Puppet::PreformattedError: Evaluation Error: Operator '[]' is not applicable to an Undef Value. (file: /home/runner/work/puppet-monit/puppet-monit/spec/fixtures/modules/monit/manifests/params.pp, line: 34, column: 8) on node fv-az1426-337.rca3p110zaveja4ulz44at14fe.dx.internal.cloudapp.net
Puppet / 7 (Ruby 2.7): spec/defines/check_spec.rb#L86
monit::check with source set to a valid value is expected to contain File[/etc/monit/conf.d/test] with ensure => "present", owner => "root", group => "root", mode => "0644", source => "puppet:///modules/monit/ntp", content defined, notify => "Service[monit]" and require => "Package[monit]" Failure/Error: is_expected.to contain_file('/etc/monit/conf.d/test').with('ensure' => 'present', 'owner' => 'root', 'group' => 'root', 'mode' => '0644', 'source' => 'puppet:///modules/monit/ntp', 'content' => nil, 'notify' => 'Service[monit]', 'require' => 'Package[monit]') Puppet::PreformattedError: Evaluation Error: Operator '[]' is not applicable to an Undef Value. (file: /home/runner/work/puppet-monit/puppet-monit/spec/fixtures/modules/monit/manifests/params.pp, line: 34, column: 8) on node fv-az1426-337.rca3p110zaveja4ulz44at14fe.dx.internal.cloudapp.net
Puppet / 7 (Ruby 2.7): spec/defines/check_spec.rb#L106
monit::check with content and source set at the same time fails Failure/Error: expect do catalogue end.to raise_error(Puppet::Error, %r{Parameters source and content are mutually exclusive}) expected Puppet::Error with message matching /Parameters source and content are mutually exclusive/, got #<Puppet::PreformattedError: Evaluation Error: Operator '[]' is not applicable to an Undef Value. (fi....pp, line: 34, column: 8) on node fv-az1426-337.rca3p110zaveja4ulz44at14fe.dx.internal.cloudapp.net> with backtrace: # ./vendor/bundle/ruby/2.7.0/gems/puppet-7.28.0/lib/puppet/pops/evaluator/runtime3_support.rb:39:in `optionally_fail' # ./vendor/bundle/ruby/2.7.0/gems/puppet-7.28.0/lib/puppet/pops/evaluator/runtime3_support.rb:21:in `fail' # ./vendor/bundle/ruby/2.7.0/gems/puppet-7.28.0/lib/puppet/pops/evaluator/access_operator.rb:35:in `access_Object' # ./vendor/bundle/ruby/2.7.0/gems/puppet-7.28.0/lib/puppet/pops/visitor.rb:105:in `visit_this_2' # ./vendor/bundle/ruby/2.7.0/gems/puppet-7.28.0/lib/puppet/pops/evaluator/access_operator.rb:24:in `access' # ./vendor/bundle/ruby/2.7.0/gems/puppet-7.28.0/lib/puppet/pops/evaluator/evaluator_impl.rb:523:in `eval_AccessExpression' # ./vendor/bundle/ruby/2.7.0/gems/puppet-7.28.0/lib/puppet/pops/visitor.rb:94:in `visit_this_1' # ./vendor/bundle/ruby/2.7.0/gems/puppet-7.28.0/lib/puppet/pops/evaluator/evaluator_impl.rb:81:in `evaluate' # ./vendor/bundle/ruby/2.7.0/gems/puppet-7.28.0/lib/puppet/pops/evaluator/evaluator_impl.rb:693:in `block in eval_CaseExpression' # ./vendor/bundle/ruby/2.7.0/gems/puppet-7.28.0/lib/puppet/parser/scope.rb:985:in `with_guarded_scope' # ./vendor/bundle/ruby/2.7.0/gems/puppet-7.28.0/lib/puppet/pops/evaluator/evaluator_impl.rb:692:in `eval_CaseExpression' # ./vendor/bundle/ruby/2.7.0/gems/puppet-7.28.0/lib/puppet/pops/visitor.rb:94:in `visit_this_1' # ./vendor/bundle/ruby/2.7.0/gems/puppet-7.28.0/lib/puppet/pops/evaluator/evaluator_impl.rb:81:in `evaluate' # ./vendor/bundle/ruby/2.7.0/gems/puppet-7.28.0/lib/puppet/pops/evaluator/evaluator_impl.rb:679:in `block in eval_BlockExpression' # ./vendor/bundle/ruby/2.7.0/gems/puppet-7.28.0/lib/puppet/pops/evaluator/evaluator_impl.rb:679:in `each' # ./vendor/bundle/ruby/2.7.0/gems/puppet-7.28.0/lib/puppet/pops/evaluator/evaluator_impl.rb:679:in `reduce' # ./vendor/bundle/ruby/2.7.0/gems/puppet-7.28.0/lib/puppet/pops/evaluator/evaluator_impl.rb:679:in `eval_BlockExpression' # ./vendor/bundle/ruby/2.7.0/gems/puppet-7.28.0/lib/puppet/pops/visitor.rb:94:in `visit_this_1' # ./vendor/bundle/ruby/2.7.0/gems/puppet-7.28.0/lib/puppet/pops/evaluator/evaluator_impl.rb:81:in `evaluate' # ./vendor/bundle/ruby/2.7.0/gems/puppet-7.28.0/lib/puppet/pops/parser/evaluating_parser.rb:60:in `evaluate' # ./vendor/bundle/ruby/2.7.0/gems/puppet-7.28.0/lib/puppet/parser/ast/pops_bridge.rb:27:in `evaluate' # ./vendor/bundle/ruby/2.7.0/gems/puppet-7.28.0/lib/puppet/parser/ast/pops_bridge.rb:63:in `block (2 levels) in evaluate' # ./vendor/bundle/ruby/2.7.0/gems/puppet-7.28.0/lib/puppet/parser/ast/pops_bridge.rb:62:in `catch' # ./vendor/bundle/ruby/2.7.0/gems/puppet-7.28.0/lib/puppet/parser/ast/pops_bridge.rb:62:in `block in evaluate' # ./vendor/bundle/ruby/2.7.0/gems/puppet-7.28.0/lib/puppet/parser/ast/pops_bridge.rb:61:in `catch' # ./vendor/bundle/ruby/2.7.0/gems/puppet-7.28.0/lib/puppet/parser/ast/pops_bridge.rb:61:in `evaluate' # ./vendor/bundle/ruby/2.7.0/gems/puppet-7.28.0/lib/puppet/parser/ast.rb:30:in `safeevaluate' # ./vendor/bundle/ruby/2.7.0/gems/puppet-7.28.0/lib/puppet/resource/type.rb:80:in `evaluate_code' # ./vendor/bundle/ruby/2.7.0/gems/puppet-7.28.0/lib/puppet/parser/resource.rb:79:in `block in evaluate' # ./vendor/bundle/ruby/2.7.0/gems/puppet-7.28.0/lib/puppet/util/profiler/around_profiler.rb:58:in `profile' # ./vendor/bundle/ruby/2.7.0/gems/puppet-7.28.0/lib/puppet/util/profiler.rb:51:in `profile' # ./vendor/bundle/ruby/2.7.0/gems/puppet-7.28.0/lib/puppet/parser/resource.rb:71:in `evaluate'
Puppet / 7 (Ruby 2.7): spec/defines/check_spec.rb#L155
monit::check variable type and content validations with ensure (regex_file_ensure) set to valid present (as String) is expected to compile into a catalogue without dependency cycles Failure/Error: it { is_expected.to compile } error during compilation: Evaluation Error: Operator '[]' is not applicable to an Undef Value. (file: /home/runner/work/puppet-monit/puppet-monit/spec/fixtures/modules/monit/manifests/params.pp, line: 34, column: 8) on node fv-az1426-337.rca3p110zaveja4ulz44at14fe.dx.internal.cloudapp.net
Puppet / 7 (Ruby 2.7): spec/defines/check_spec.rb#L155
monit::check variable type and content validations with ensure (regex_file_ensure) set to valid absent (as String) is expected to compile into a catalogue without dependency cycles Failure/Error: it { is_expected.to compile } error during compilation: Evaluation Error: Operator '[]' is not applicable to an Undef Value. (file: /home/runner/work/puppet-monit/puppet-monit/spec/fixtures/modules/monit/manifests/params.pp, line: 34, column: 8) on node fv-az1426-337.rca3p110zaveja4ulz44at14fe.dx.internal.cloudapp.net