Skip to content

remove legacy facts #84

remove legacy facts

remove legacy facts #84

Triggered via pull request February 15, 2024 09:53
Status Failure
Total duration 2m 22s
Artifacts

ci.yml

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

Annotations

10 errors
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: 33, column: 8) on node fv-az714-520.22nzjvkrszmuhkvqy55p1tioig.phxx.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: 33, column: 8) on node fv-az714-520.22nzjvkrszmuhkvqy55p1tioig.phxx.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: 33, column: 8) on node fv-az714-520.22nzjvkrszmuhkvqy55p1tioig.phxx.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: 33, column: 8) on node fv-az714-520.22nzjvkrszmuhkvqy55p1tioig.phxx.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: 33, column: 8) on node fv-az714-520.22nzjvkrszmuhkvqy55p1tioig.phxx.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: 33, column: 8) on node fv-az714-520.22nzjvkrszmuhkvqy55p1tioig.phxx.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: 33, column: 8) on node fv-az714-520.22nzjvkrszmuhkvqy55p1tioig.phxx.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: is_expected.to compile.and_raise_error(%r{Parameters source and content are mutually exclusive}) 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: 33, column: 8) on node fv-az714-520.22nzjvkrszmuhkvqy55p1tioig.phxx.internal.cloudapp.net
Puppet / 7 (Ruby 2.7): spec/defines/check_spec.rb#L153
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: 33, column: 8) on node fv-az714-520.22nzjvkrszmuhkvqy55p1tioig.phxx.internal.cloudapp.net
Puppet / 7 (Ruby 2.7): spec/defines/check_spec.rb#L153
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: 33, column: 8) on node fv-az714-520.22nzjvkrszmuhkvqy55p1tioig.phxx.internal.cloudapp.net