Skip to content

Use default systemd timer for EL9 logrotate #86

Use default systemd timer for EL9 logrotate

Use default systemd timer for EL9 logrotate #86

Re-run triggered December 5, 2023 17:13
Status Failure
Total duration 59s
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/conf_spec.rb#L113
logrotate::conf => /etc/logrotate.conf is expected to contain File[/etc/logrotate.conf] with owner => "root", group => "root", ensure => "present", mode => "0644" and content =~ /\ninclude \/etc\/logrotate.d\n/ Failure/Error: is_expected.to contain_file('/etc/logrotate.conf').with( 'owner' => 'root', 'group' => 'root', 'ensure' => 'present', 'mode' => '0644' ).with_content(%r{\ninclude /etc/logrotate.d\n}) expected that the catalogue would contain File[/etc/logrotate.conf] with group set to "root" but it is set to "wheel", and parameter content set to /\ninclude \/etc\/logrotate.d\n/ but it is set to "# THIS FILE IS AUTOMATICALLY DISTRIBUTED BY PUPPET.\n# ANY CHANGES WILL BE OVERWRITTEN.\n\ncreate\nrotate 4\nweekly\n\n# configurable file rotations\ninclude /usr/local/etc/logrotate.d\n" Diff: @@ -1,4 +1,12 @@ -root +wheel -(?-mix:\ninclude \/etc\/logrotate.d\n) +# THIS FILE IS AUTOMATICALLY DISTRIBUTED BY PUPPET. +# ANY CHANGES WILL BE OVERWRITTEN. + +create +rotate 4 +weekly + +# configurable file rotations +include /usr/local/etc/logrotate.d
Puppet / 7 (Ruby 2.7): spec/defines/rule_spec.rb#L14
logrotate::rule ensure => absent is expected to contain File[/etc/logrotate.d/test] with ensure => "absent" Failure/Error: it { is_expected.to contain_file('/etc/logrotate.d/test').with_ensure('absent') } expected that the catalogue would contain File[/etc/logrotate.d/test]
Puppet / 7 (Ruby 2.7): spec/defines/rule_spec.rb#L28
logrotate::rule valid title base defaults is expected to contain File[/etc/logrotate.d/test] with owner => "root", group => "root", ensure => "present", mode => "0644" and content =~ /^\/var\/log\/foo\.log \{\n\}\n/ Failure/Error: is_expected.to contain_file('/etc/logrotate.d/test').with( 'owner' => 'root', 'group' => 'root', 'ensure' => 'present', 'mode' => '0644' ).with_content(%r{^/var/log/foo\.log \{\n\}\n}) expected that the catalogue would contain File[/etc/logrotate.d/test]
Puppet / 7 (Ruby 2.7): spec/defines/rule_spec.rb#L42
logrotate::rule valid title with an array path is expected to contain File[/etc/logrotate.d/test] with content =~ /\/var\/log\/foo1\.log \/var\/log\/foo2\.log \{\n\}\n/ Failure/Error: is_expected.to contain_file('/etc/logrotate.d/test'). with_content(%r{/var/log/foo1\.log /var/log/foo2\.log \{\n\}\n}) expected that the catalogue would contain File[/etc/logrotate.d/test]
Puppet / 7 (Ruby 2.7): spec/defines/rule_spec.rb#L53
logrotate::rule valid title and compresscmd => bzip2 is expected to contain File[/etc/logrotate.d/test] with content =~ /^ compresscmd bzip2$/ Failure/Error: is_expected.to contain_file('/etc/logrotate.d/test'). with_content(%r{^ compresscmd bzip2$}) expected that the catalogue would contain File[/etc/logrotate.d/test]
Puppet / 7 (Ruby 2.7): spec/defines/rule_spec.rb#L64
logrotate::rule valid title and compressext => .bz2 is expected to contain File[/etc/logrotate.d/test] with content =~ /^ compressext .bz2$/ Failure/Error: is_expected.to contain_file('/etc/logrotate.d/test'). with_content(%r{^ compressext .bz2$}) expected that the catalogue would contain File[/etc/logrotate.d/test]
Puppet / 7 (Ruby 2.7): spec/defines/rule_spec.rb#L75
logrotate::rule valid title and compressoptions => -9 is expected to contain File[/etc/logrotate.d/test] with content =~ /^ compressoptions -9$/ Failure/Error: is_expected.to contain_file('/etc/logrotate.d/test'). with_content(%r{^ compressoptions -9$}) expected that the catalogue would contain File[/etc/logrotate.d/test]
Puppet / 7 (Ruby 2.7): spec/defines/rule_spec.rb#L87
logrotate::rule valid title and create => true create only is expected to contain File[/etc/logrotate.d/test] with content =~ /^ create$/ Failure/Error: is_expected.to contain_file('/etc/logrotate.d/test'). with_content(%r{^ create$}) expected that the catalogue would contain File[/etc/logrotate.d/test]
Puppet / 7 (Ruby 2.7): spec/defines/rule_spec.rb#L102
logrotate::rule valid title and create => true and create_mode => 0777 is expected to contain File[/etc/logrotate.d/test] with content =~ /^ create 0777$/ Failure/Error: is_expected.to contain_file('/etc/logrotate.d/test').with_content(%r{^ create 0777$}) expected that the catalogue would contain File[/etc/logrotate.d/test]
Puppet / 7 (Ruby 2.7): spec/defines/rule_spec.rb#L117
logrotate::rule valid title and create => true and create_owner => www-data with mode is expected to contain File[/etc/logrotate.d/test] with content =~ /^ create 0777 www-data/ Failure/Error: is_expected.to contain_file('/etc/logrotate.d/test'). with_content(%r{^ create 0777 www-data}) expected that the catalogue would contain File[/etc/logrotate.d/test]