Skip to content

Finish conversion to EPP templates #573

Finish conversion to EPP templates

Finish conversion to EPP templates #573

Triggered via pull request May 4, 2024 22:52
@smortexsmortex
synchronize #2545
epp
Status Failure
Total duration 15m 41s
Artifacts

ci.yml

on: pull_request
Spec  /  Setup Test Matrix
28s
Spec / Setup Test Matrix
Matrix: Spec / spec
Acceptance  /  Setup Test Matrix
Acceptance / Setup Test Matrix
Matrix: Acceptance / acceptance
Waiting for pending jobs
Fit to window
Zoom out
Zoom in

Annotations

20 errors
Spec / Spec tests (Puppet: ~> 8.0, Ruby Ver: 3.2): spec/classes/mod/security_spec.rb#L22
apache::mod::security on centos-7-x86_64 on RedHat based systems is expected to contain Apache::Mod[security] with id => "security2_module" and lib => "mod_security2.so" Failure/Error: expect(subject).to contain_apache__mod('security').with( id: 'security2_module', lib: 'mod_security2.so', ) Puppet::PreformattedError: Evaluation Error: Unknown variable: 'anomaly_score_blocking'. (file: /home/runner/work/puppetlabs-apache/puppetlabs-apache/spec/fixtures/modules/apache/templates/mod/security_crs.conf.epp, line: 157, column: 40) on node fv-az772-53.zboo4qir1psufltgxvkvdwdv1g.dx.internal.cloudapp.net
Spec / Spec tests (Puppet: ~> 8.0, Ruby Ver: 3.2): spec/classes/mod/security_spec.rb#L29
apache::mod::security on centos-7-x86_64 on RedHat based systems is expected to contain Apache::Mod[unique_id] with id => "unique_id_module" and lib => "mod_unique_id.so" Failure/Error: expect(subject).to contain_apache__mod('unique_id').with( id: 'unique_id_module', lib: 'mod_unique_id.so', ) Puppet::PreformattedError: Evaluation Error: Unknown variable: 'anomaly_score_blocking'. (file: /home/runner/work/puppetlabs-apache/puppetlabs-apache/spec/fixtures/modules/apache/templates/mod/security_crs.conf.epp, line: 157, column: 40) on node fv-az772-53.zboo4qir1psufltgxvkvdwdv1g.dx.internal.cloudapp.net
Spec / Spec tests (Puppet: ~> 8.0, Ruby Ver: 3.2): spec/classes/mod/security_spec.rb#L36
apache::mod::security on centos-7-x86_64 on RedHat based systems is expected to contain Package[mod_security_crs] Failure/Error: it { is_expected.to contain_package('mod_security_crs') } Puppet::PreformattedError: Evaluation Error: Unknown variable: 'anomaly_score_blocking'. (file: /home/runner/work/puppetlabs-apache/puppetlabs-apache/spec/fixtures/modules/apache/templates/mod/security_crs.conf.epp, line: 157, column: 40) on node fv-az772-53.zboo4qir1psufltgxvkvdwdv1g.dx.internal.cloudapp.net
Spec / Spec tests (Puppet: ~> 8.0, Ruby Ver: 3.2): spec/classes/mod/security_spec.rb#L39
apache::mod::security on centos-7-x86_64 on RedHat based systems is expected to contain File[security.conf] with path => "/etc/httpd/conf.modules.d/security.conf" Failure/Error: expect(subject).to contain_file('security.conf').with( path: '/etc/httpd/conf.modules.d/security.conf', ) Puppet::PreformattedError: Evaluation Error: Unknown variable: 'anomaly_score_blocking'. (file: /home/runner/work/puppetlabs-apache/puppetlabs-apache/spec/fixtures/modules/apache/templates/mod/security_crs.conf.epp, line: 157, column: 40) on node fv-az772-53.zboo4qir1psufltgxvkvdwdv1g.dx.internal.cloudapp.net
Spec / Spec tests (Puppet: ~> 8.0, Ruby Ver: 3.2): spec/classes/mod/security_spec.rb#L46
apache::mod::security on centos-7-x86_64 on RedHat based systems is expected to contain File[security.conf] with content =~ /^\s+SecAuditLogRelevantStatus "\^\(\?:5\|4\(\?!04\)\)"$/, content =~ /^\s+SecAuditLogParts ABIJDEFHZ$/, content =~ /^\s+SecAuditLogType Serial$/, content =~ /^\s+SecDebugLog \/var\/log\/httpd\/modsec_debug.log$/, content =~ /^\s+SecAuditLog \/var\/log\/httpd\/modsec_audit.log$/ and content =~ /^\s+SecTmpDir \/var\/lib\/mod_security$/ Failure/Error: expect(subject).to contain_file('security.conf') .with_content(%r{^\s+SecAuditLogRelevantStatus "\^\(\?:5\|4\(\?!04\)\)"$}) .with_content(%r{^\s+SecAuditLogParts ABIJDEFHZ$}) .with_content(%r{^\s+SecAuditLogType Serial$}) .with_content(%r{^\s+SecDebugLog /var/log/httpd/modsec_debug.log$}) .with_content(%r{^\s+SecAuditLog /var/log/httpd/modsec_audit.log$}) .with_content(%r{^\s+SecTmpDir /var/lib/mod_security$}) Puppet::PreformattedError: Evaluation Error: Unknown variable: 'anomaly_score_blocking'. (file: /home/runner/work/puppetlabs-apache/puppetlabs-apache/spec/fixtures/modules/apache/templates/mod/security_crs.conf.epp, line: 157, column: 40) on node fv-az772-53.zboo4qir1psufltgxvkvdwdv1g.dx.internal.cloudapp.net
Spec / Spec tests (Puppet: ~> 8.0, Ruby Ver: 3.2): spec/classes/mod/security_spec.rb#L56
apache::mod::security on centos-7-x86_64 on RedHat based systems is expected to contain File[/etc/httpd/modsecurity.d] with ensure => "directory", path => "/etc/httpd/modsecurity.d", owner => "root", group => "root" and mode => "0755" Failure/Error: expect(subject).to contain_file('/etc/httpd/modsecurity.d').with( ensure: 'directory', path: '/etc/httpd/modsecurity.d', owner: 'root', group: 'root', mode: '0755' ) Puppet::PreformattedError: Evaluation Error: Unknown variable: 'anomaly_score_blocking'. (file: /home/runner/work/puppetlabs-apache/puppetlabs-apache/spec/fixtures/modules/apache/templates/mod/security_crs.conf.epp, line: 157, column: 40) on node fv-az772-53.zboo4qir1psufltgxvkvdwdv1g.dx.internal.cloudapp.net
Spec / Spec tests (Puppet: ~> 8.0, Ruby Ver: 3.2): spec/classes/mod/security_spec.rb#L63
apache::mod::security on centos-7-x86_64 on RedHat based systems is expected to contain File[/etc/httpd/modsecurity.d/activated_rules] with ensure => "directory", path => "/etc/httpd/modsecurity.d/activated_rules", owner => "apache" and group => "apache" Failure/Error: expect(subject).to contain_file('/etc/httpd/modsecurity.d/activated_rules').with( ensure: 'directory', path: '/etc/httpd/modsecurity.d/activated_rules', owner: 'apache', group: 'apache' ) Puppet::PreformattedError: Evaluation Error: Unknown variable: 'anomaly_score_blocking'. (file: /home/runner/work/puppetlabs-apache/puppetlabs-apache/spec/fixtures/modules/apache/templates/mod/security_crs.conf.epp, line: 157, column: 40) on node fv-az772-53.zboo4qir1psufltgxvkvdwdv1g.dx.internal.cloudapp.net
Spec / Spec tests (Puppet: ~> 8.0, Ruby Ver: 3.2): spec/classes/mod/security_spec.rb#L70
apache::mod::security on centos-7-x86_64 on RedHat based systems is expected to contain File[/etc/httpd/modsecurity.d/security_crs.conf] with path => "/etc/httpd/modsecurity.d/security_crs.conf" Failure/Error: expect(subject).to contain_file('/etc/httpd/modsecurity.d/security_crs.conf').with( path: '/etc/httpd/modsecurity.d/security_crs.conf', ) Puppet::PreformattedError: Evaluation Error: Unknown variable: 'anomaly_score_blocking'. (file: /home/runner/work/puppetlabs-apache/puppetlabs-apache/spec/fixtures/modules/apache/templates/mod/security_crs.conf.epp, line: 157, column: 40) on node fv-az772-53.zboo4qir1psufltgxvkvdwdv1g.dx.internal.cloudapp.net
Spec / Spec tests (Puppet: ~> 8.0, Ruby Ver: 3.2): spec/classes/mod/security_spec.rb#L77
apache::mod::security on centos-7-x86_64 on RedHat based systems is expected to contain Apache::Security::Rule_link[base_rules/modsecurity_35_bad_robots.data] Failure/Error: it { is_expected.to contain_apache__security__rule_link('base_rules/modsecurity_35_bad_robots.data') } Puppet::PreformattedError: Evaluation Error: Unknown variable: 'anomaly_score_blocking'. (file: /home/runner/work/puppetlabs-apache/puppetlabs-apache/spec/fixtures/modules/apache/templates/mod/security_crs.conf.epp, line: 157, column: 40) on node fv-az772-53.zboo4qir1psufltgxvkvdwdv1g.dx.internal.cloudapp.net
Spec / Spec tests (Puppet: ~> 8.0, Ruby Ver: 3.2): spec/classes/mod/security_spec.rb#L79
apache::mod::security on centos-7-x86_64 on RedHat based systems is expected to contain File[modsecurity_35_bad_robots.data] with path => "/etc/httpd/modsecurity.d/activated_rules/modsecurity_35_bad_robots.data" and target => "/usr/lib/modsecurity.d/base_rules/modsecurity_35_bad_robots.data" Failure/Error: expect(subject).to contain_file('modsecurity_35_bad_robots.data').with( path: '/etc/httpd/modsecurity.d/activated_rules/modsecurity_35_bad_robots.data', target: '/usr/lib/modsecurity.d/base_rules/modsecurity_35_bad_robots.data', ) Puppet::PreformattedError: Evaluation Error: Unknown variable: 'anomaly_score_blocking'. (file: /home/runner/work/puppetlabs-apache/puppetlabs-apache/spec/fixtures/modules/apache/templates/mod/security_crs.conf.epp, line: 157, column: 40) on node fv-az772-53.zboo4qir1psufltgxvkvdwdv1g.dx.internal.cloudapp.net
Spec / Spec tests (Puppet: ~> 7.24, Ruby Ver: 2.7): spec/classes/mod/security_spec.rb#L22
apache::mod::security on redhat-7-x86_64 on RedHat based systems is expected to contain Apache::Mod[security] with id => "security2_module" and lib => "mod_security2.so" Failure/Error: expect(subject).to contain_apache__mod('security').with( id: 'security2_module', lib: 'mod_security2.so', ) Puppet::PreformattedError: Evaluation Error: Unknown variable: 'anomaly_score_blocking'. (file: /home/runner/work/puppetlabs-apache/puppetlabs-apache/spec/fixtures/modules/apache/templates/mod/security_crs.conf.epp, line: 157, column: 40) on node fv-az1531-589.hsxikm2gdrvudnct5jqc1oiugc.ex.internal.cloudapp.net
Spec / Spec tests (Puppet: ~> 7.24, Ruby Ver: 2.7): spec/classes/mod/security_spec.rb#L29
apache::mod::security on redhat-7-x86_64 on RedHat based systems is expected to contain Apache::Mod[unique_id] with id => "unique_id_module" and lib => "mod_unique_id.so" Failure/Error: expect(subject).to contain_apache__mod('unique_id').with( id: 'unique_id_module', lib: 'mod_unique_id.so', ) Puppet::PreformattedError: Evaluation Error: Unknown variable: 'anomaly_score_blocking'. (file: /home/runner/work/puppetlabs-apache/puppetlabs-apache/spec/fixtures/modules/apache/templates/mod/security_crs.conf.epp, line: 157, column: 40) on node fv-az1531-589.hsxikm2gdrvudnct5jqc1oiugc.ex.internal.cloudapp.net
Spec / Spec tests (Puppet: ~> 7.24, Ruby Ver: 2.7): spec/classes/mod/security_spec.rb#L36
apache::mod::security on redhat-7-x86_64 on RedHat based systems is expected to contain Package[mod_security_crs] Failure/Error: it { is_expected.to contain_package('mod_security_crs') } Puppet::PreformattedError: Evaluation Error: Unknown variable: 'anomaly_score_blocking'. (file: /home/runner/work/puppetlabs-apache/puppetlabs-apache/spec/fixtures/modules/apache/templates/mod/security_crs.conf.epp, line: 157, column: 40) on node fv-az1531-589.hsxikm2gdrvudnct5jqc1oiugc.ex.internal.cloudapp.net
Spec / Spec tests (Puppet: ~> 7.24, Ruby Ver: 2.7): spec/classes/mod/security_spec.rb#L39
apache::mod::security on redhat-7-x86_64 on RedHat based systems is expected to contain File[security.conf] with path => "/etc/httpd/conf.modules.d/security.conf" Failure/Error: expect(subject).to contain_file('security.conf').with( path: '/etc/httpd/conf.modules.d/security.conf', ) Puppet::PreformattedError: Evaluation Error: Unknown variable: 'anomaly_score_blocking'. (file: /home/runner/work/puppetlabs-apache/puppetlabs-apache/spec/fixtures/modules/apache/templates/mod/security_crs.conf.epp, line: 157, column: 40) on node fv-az1531-589.hsxikm2gdrvudnct5jqc1oiugc.ex.internal.cloudapp.net
Spec / Spec tests (Puppet: ~> 7.24, Ruby Ver: 2.7): spec/classes/mod/security_spec.rb#L46
apache::mod::security on redhat-7-x86_64 on RedHat based systems is expected to contain File[security.conf] with content =~ /^\s+SecAuditLogRelevantStatus "\^\(\?:5\|4\(\?!04\)\)"$/, content =~ /^\s+SecAuditLogParts ABIJDEFHZ$/, content =~ /^\s+SecAuditLogType Serial$/, content =~ /^\s+SecDebugLog \/var\/log\/httpd\/modsec_debug.log$/, content =~ /^\s+SecAuditLog \/var\/log\/httpd\/modsec_audit.log$/ and content =~ /^\s+SecTmpDir \/var\/lib\/mod_security$/ Failure/Error: expect(subject).to contain_file('security.conf') .with_content(%r{^\s+SecAuditLogRelevantStatus "\^\(\?:5\|4\(\?!04\)\)"$}) .with_content(%r{^\s+SecAuditLogParts ABIJDEFHZ$}) .with_content(%r{^\s+SecAuditLogType Serial$}) .with_content(%r{^\s+SecDebugLog /var/log/httpd/modsec_debug.log$}) .with_content(%r{^\s+SecAuditLog /var/log/httpd/modsec_audit.log$}) .with_content(%r{^\s+SecTmpDir /var/lib/mod_security$}) Puppet::PreformattedError: Evaluation Error: Unknown variable: 'anomaly_score_blocking'. (file: /home/runner/work/puppetlabs-apache/puppetlabs-apache/spec/fixtures/modules/apache/templates/mod/security_crs.conf.epp, line: 157, column: 40) on node fv-az1531-589.hsxikm2gdrvudnct5jqc1oiugc.ex.internal.cloudapp.net
Spec / Spec tests (Puppet: ~> 7.24, Ruby Ver: 2.7): spec/classes/mod/security_spec.rb#L56
apache::mod::security on redhat-7-x86_64 on RedHat based systems is expected to contain File[/etc/httpd/modsecurity.d] with ensure => "directory", path => "/etc/httpd/modsecurity.d", owner => "root", group => "root" and mode => "0755" Failure/Error: expect(subject).to contain_file('/etc/httpd/modsecurity.d').with( ensure: 'directory', path: '/etc/httpd/modsecurity.d', owner: 'root', group: 'root', mode: '0755' ) Puppet::PreformattedError: Evaluation Error: Unknown variable: 'anomaly_score_blocking'. (file: /home/runner/work/puppetlabs-apache/puppetlabs-apache/spec/fixtures/modules/apache/templates/mod/security_crs.conf.epp, line: 157, column: 40) on node fv-az1531-589.hsxikm2gdrvudnct5jqc1oiugc.ex.internal.cloudapp.net
Spec / Spec tests (Puppet: ~> 7.24, Ruby Ver: 2.7): spec/classes/mod/security_spec.rb#L63
apache::mod::security on redhat-7-x86_64 on RedHat based systems is expected to contain File[/etc/httpd/modsecurity.d/activated_rules] with ensure => "directory", path => "/etc/httpd/modsecurity.d/activated_rules", owner => "apache" and group => "apache" Failure/Error: expect(subject).to contain_file('/etc/httpd/modsecurity.d/activated_rules').with( ensure: 'directory', path: '/etc/httpd/modsecurity.d/activated_rules', owner: 'apache', group: 'apache' ) Puppet::PreformattedError: Evaluation Error: Unknown variable: 'anomaly_score_blocking'. (file: /home/runner/work/puppetlabs-apache/puppetlabs-apache/spec/fixtures/modules/apache/templates/mod/security_crs.conf.epp, line: 157, column: 40) on node fv-az1531-589.hsxikm2gdrvudnct5jqc1oiugc.ex.internal.cloudapp.net
Spec / Spec tests (Puppet: ~> 7.24, Ruby Ver: 2.7): spec/classes/mod/security_spec.rb#L70
apache::mod::security on redhat-7-x86_64 on RedHat based systems is expected to contain File[/etc/httpd/modsecurity.d/security_crs.conf] with path => "/etc/httpd/modsecurity.d/security_crs.conf" Failure/Error: expect(subject).to contain_file('/etc/httpd/modsecurity.d/security_crs.conf').with( path: '/etc/httpd/modsecurity.d/security_crs.conf', ) Puppet::PreformattedError: Evaluation Error: Unknown variable: 'anomaly_score_blocking'. (file: /home/runner/work/puppetlabs-apache/puppetlabs-apache/spec/fixtures/modules/apache/templates/mod/security_crs.conf.epp, line: 157, column: 40) on node fv-az1531-589.hsxikm2gdrvudnct5jqc1oiugc.ex.internal.cloudapp.net
Spec / Spec tests (Puppet: ~> 7.24, Ruby Ver: 2.7): spec/classes/mod/security_spec.rb#L77
apache::mod::security on redhat-7-x86_64 on RedHat based systems is expected to contain Apache::Security::Rule_link[base_rules/modsecurity_35_bad_robots.data] Failure/Error: it { is_expected.to contain_apache__security__rule_link('base_rules/modsecurity_35_bad_robots.data') } Puppet::PreformattedError: Evaluation Error: Unknown variable: 'anomaly_score_blocking'. (file: /home/runner/work/puppetlabs-apache/puppetlabs-apache/spec/fixtures/modules/apache/templates/mod/security_crs.conf.epp, line: 157, column: 40) on node fv-az1531-589.hsxikm2gdrvudnct5jqc1oiugc.ex.internal.cloudapp.net
Spec / Spec tests (Puppet: ~> 7.24, Ruby Ver: 2.7): spec/classes/mod/security_spec.rb#L79
apache::mod::security on redhat-7-x86_64 on RedHat based systems is expected to contain File[modsecurity_35_bad_robots.data] with path => "/etc/httpd/modsecurity.d/activated_rules/modsecurity_35_bad_robots.data" and target => "/usr/lib/modsecurity.d/base_rules/modsecurity_35_bad_robots.data" Failure/Error: expect(subject).to contain_file('modsecurity_35_bad_robots.data').with( path: '/etc/httpd/modsecurity.d/activated_rules/modsecurity_35_bad_robots.data', target: '/usr/lib/modsecurity.d/base_rules/modsecurity_35_bad_robots.data', ) Puppet::PreformattedError: Evaluation Error: Unknown variable: 'anomaly_score_blocking'. (file: /home/runner/work/puppetlabs-apache/puppetlabs-apache/spec/fixtures/modules/apache/templates/mod/security_crs.conf.epp, line: 157, column: 40) on node fv-az1531-589.hsxikm2gdrvudnct5jqc1oiugc.ex.internal.cloudapp.net