Skip to content

bugfix: fix the vhost security configuration #539

bugfix: fix the vhost security configuration

bugfix: fix the vhost security configuration #539

Re-run triggered February 27, 2024 15:48
Status Failure
Total duration 15m 33s
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/defines/vhost_spec.rb#L1382
apache::vhost os-independent items on almalinux-8-x86_64 modsec_audit_log is expected to compile into a catalogue without dependency cycles Failure/Error: it { is_expected.to compile } error during compilation: Evaluation Error: Error while evaluating a Resource Statement, Evaluation Error: Unknown variable: '_modsec_disable_ids'. (file: /home/runner/work/puppetlabs-apache/puppetlabs-apache/spec/fixtures/modules/apache/manifests/vhost.pp, line: 2835, column: 46) (line: 3) on node fv-az800-409.sw3aludr01ludlwxm23kjb0zrh.phxx.internal.cloudapp.net
Spec / Spec tests (Puppet: ~> 8.0, Ruby Ver: 3.2): spec/defines/vhost_spec.rb#L1384
apache::vhost os-independent items on almalinux-8-x86_64 modsec_audit_log is expected to contain Concat::Fragment[rspec.example.com-security] with content =~ /^\s*SecAuditLog "\/var\/log\/httpd\/rspec\.example\.com_security\.log"$/ Failure/Error: expect(subject).to contain_concat__fragment('rspec.example.com-security').with( content: %r{^\s*SecAuditLog "/var/log/#{apache_name}/rspec\.example\.com_security\.log"$}, ) Puppet::PreformattedError: Evaluation Error: Error while evaluating a Resource Statement, Evaluation Error: Unknown variable: '_modsec_disable_ids'. (file: /home/runner/work/puppetlabs-apache/puppetlabs-apache/spec/fixtures/modules/apache/manifests/vhost.pp, line: 2835, column: 46) (line: 3) on node fv-az800-409.sw3aludr01ludlwxm23kjb0zrh.phxx.internal.cloudapp.net
Spec / Spec tests (Puppet: ~> 8.0, Ruby Ver: 3.2): spec/defines/vhost_spec.rb#L1399
apache::vhost os-independent items on almalinux-8-x86_64 modsec_audit_log_file is expected to compile into a catalogue without dependency cycles Failure/Error: it { is_expected.to compile } error during compilation: Evaluation Error: Error while evaluating a Resource Statement, Evaluation Error: Unknown variable: '_modsec_disable_ids'. (file: /home/runner/work/puppetlabs-apache/puppetlabs-apache/spec/fixtures/modules/apache/manifests/vhost.pp, line: 2835, column: 46) (line: 3) on node fv-az800-409.sw3aludr01ludlwxm23kjb0zrh.phxx.internal.cloudapp.net
Spec / Spec tests (Puppet: ~> 8.0, Ruby Ver: 3.2): spec/defines/vhost_spec.rb#L1401
apache::vhost os-independent items on almalinux-8-x86_64 modsec_audit_log_file is expected to contain Concat::Fragment[rspec.example.com-security] with content =~ /\s*SecAuditLog "\/var\/log\/httpd\/foo.log"$/ Failure/Error: expect(subject).to contain_concat__fragment('rspec.example.com-security').with( content: %r{\s*SecAuditLog "/var/log/#{apache_name}/foo.log"$}, ) Puppet::PreformattedError: Evaluation Error: Error while evaluating a Resource Statement, Evaluation Error: Unknown variable: '_modsec_disable_ids'. (file: /home/runner/work/puppetlabs-apache/puppetlabs-apache/spec/fixtures/modules/apache/manifests/vhost.pp, line: 2835, column: 46) (line: 3) on node fv-az800-409.sw3aludr01ludlwxm23kjb0zrh.phxx.internal.cloudapp.net
Spec / Spec tests (Puppet: ~> 8.0, Ruby Ver: 3.2): spec/defines/vhost_spec.rb#L1417
apache::vhost os-independent items on almalinux-8-x86_64 modsec_anomaly_threshold is expected to compile into a catalogue without dependency cycles Failure/Error: it { is_expected.to compile } error during compilation: Evaluation Error: Error while evaluating a Resource Statement, Evaluation Error: Unknown variable: '_modsec_disable_ids'. (file: /home/runner/work/puppetlabs-apache/puppetlabs-apache/spec/fixtures/modules/apache/manifests/vhost.pp, line: 2835, column: 46) (line: 3) on node fv-az800-409.sw3aludr01ludlwxm23kjb0zrh.phxx.internal.cloudapp.net
Spec / Spec tests (Puppet: ~> 8.0, Ruby Ver: 3.2): spec/defines/vhost_spec.rb#L1419
apache::vhost os-independent items on almalinux-8-x86_64 modsec_anomaly_threshold is expected to contain Concat::Fragment[rspec.example.com-security] with content =~ / ^\s+SecAction\ \\\n \s+"id:900110,\\\n \s+phase:1,\\\n \s+nolog,\\\n \s+pass,\\\n \s+t:none,\\\n \s+setvar:tx.inbound_anomaly_score_threshold=10000,\ \\\n \s+setvar:tx.outbound_anomaly_score_threshold=10000"$ /x Failure/Error: expect(subject).to contain_concat__fragment('rspec.example.com-security').with( content: %r{ ^\s+SecAction\ \\\n \s+"id:900110,\\\n \s+phase:1,\\\n \s+nolog,\\\n \s+pass,\\\n \s+t:none,\\\n \s+setvar:tx.inbound_anomaly_score_threshold=10000,\ \\\n \s+setvar:tx.outbound_anomaly_score_threshold=10000"$ Puppet::PreformattedError: Evaluation Error: Error while evaluating a Resource Statement, Evaluation Error: Unknown variable: '_modsec_disable_ids'. (file: /home/runner/work/puppetlabs-apache/puppetlabs-apache/spec/fixtures/modules/apache/manifests/vhost.pp, line: 2835, column: 46) (line: 3) on node fv-az800-409.sw3aludr01ludlwxm23kjb0zrh.phxx.internal.cloudapp.net
Spec / Spec tests (Puppet: ~> 8.0, Ruby Ver: 3.2): spec/defines/vhost_spec.rb#L1443
apache::vhost os-independent items on almalinux-8-x86_64 modsec_allowed_methods is expected to compile into a catalogue without dependency cycles Failure/Error: it { is_expected.to compile } error during compilation: Evaluation Error: Error while evaluating a Resource Statement, Evaluation Error: Unknown variable: '_modsec_disable_ids'. (file: /home/runner/work/puppetlabs-apache/puppetlabs-apache/spec/fixtures/modules/apache/manifests/vhost.pp, line: 2835, column: 46) (line: 3) on node fv-az800-409.sw3aludr01ludlwxm23kjb0zrh.phxx.internal.cloudapp.net
Spec / Spec tests (Puppet: ~> 8.0, Ruby Ver: 3.2): spec/defines/vhost_spec.rb#L1445
apache::vhost os-independent items on almalinux-8-x86_64 modsec_allowed_methods is expected to contain Concat::Fragment[rspec.example.com-security] with content =~ / ^\s+SecAction\ \\\n \s+"id:900200,\\\n \s+phase:1,\\\n \s+nolog,\\\n\s+pass,\\\n \s+t:none,\\\n \s+setvar:'tx.allowed_methods=GET\ HEAD\ POST\ OPTIONS'"$ /x Failure/Error: expect(subject).to contain_concat__fragment('rspec.example.com-security').with( content: %r{ ^\s+SecAction\ \\\n \s+"id:900200,\\\n \s+phase:1,\\\n \s+nolog,\\\n\s+pass,\\\n \s+t:none,\\\n \s+setvar:'tx.allowed_methods=GET\ HEAD\ POST\ OPTIONS'"$ }x, ) Puppet::PreformattedError: Evaluation Error: Error while evaluating a Resource Statement, Evaluation Error: Unknown variable: '_modsec_disable_ids'. (file: /home/runner/work/puppetlabs-apache/puppetlabs-apache/spec/fixtures/modules/apache/manifests/vhost.pp, line: 2835, column: 46) (line: 3) on node fv-az800-409.sw3aludr01ludlwxm23kjb0zrh.phxx.internal.cloudapp.net
Spec / Spec tests (Puppet: ~> 8.0, Ruby Ver: 3.2): spec/defines/vhost_spec.rb#L1382
apache::vhost os-independent items on centos-7-x86_64 modsec_audit_log is expected to compile into a catalogue without dependency cycles Failure/Error: it { is_expected.to compile } error during compilation: Evaluation Error: Error while evaluating a Resource Statement, Evaluation Error: Unknown variable: '_modsec_disable_ids'. (file: /home/runner/work/puppetlabs-apache/puppetlabs-apache/spec/fixtures/modules/apache/manifests/vhost.pp, line: 2835, column: 46) (line: 3) on node fv-az800-409.sw3aludr01ludlwxm23kjb0zrh.phxx.internal.cloudapp.net
Spec / Spec tests (Puppet: ~> 8.0, Ruby Ver: 3.2): spec/defines/vhost_spec.rb#L1384
apache::vhost os-independent items on centos-7-x86_64 modsec_audit_log is expected to contain Concat::Fragment[rspec.example.com-security] with content =~ /^\s*SecAuditLog "\/var\/log\/httpd\/rspec\.example\.com_security\.log"$/ Failure/Error: expect(subject).to contain_concat__fragment('rspec.example.com-security').with( content: %r{^\s*SecAuditLog "/var/log/#{apache_name}/rspec\.example\.com_security\.log"$}, ) Puppet::PreformattedError: Evaluation Error: Error while evaluating a Resource Statement, Evaluation Error: Unknown variable: '_modsec_disable_ids'. (file: /home/runner/work/puppetlabs-apache/puppetlabs-apache/spec/fixtures/modules/apache/manifests/vhost.pp, line: 2835, column: 46) (line: 3) on node fv-az800-409.sw3aludr01ludlwxm23kjb0zrh.phxx.internal.cloudapp.net
Spec / Spec tests (Puppet: ~> 7.24, Ruby Ver: 2.7): spec/defines/vhost_spec.rb#L1382
apache::vhost os-independent items on centos-8-x86_64 modsec_audit_log is expected to compile into a catalogue without dependency cycles Failure/Error: it { is_expected.to compile } error during compilation: Evaluation Error: Error while evaluating a Resource Statement, Evaluation Error: Unknown variable: '_modsec_disable_ids'. (file: /home/runner/work/puppetlabs-apache/puppetlabs-apache/spec/fixtures/modules/apache/manifests/vhost.pp, line: 2835, column: 46) (line: 3) on node fv-az1431-179.qduew5ojupzu3h2jggo52y3gab.cx.internal.cloudapp.net
Spec / Spec tests (Puppet: ~> 7.24, Ruby Ver: 2.7): spec/defines/vhost_spec.rb#L1384
apache::vhost os-independent items on centos-8-x86_64 modsec_audit_log is expected to contain Concat::Fragment[rspec.example.com-security] with content =~ /^\s*SecAuditLog "\/var\/log\/httpd\/rspec\.example\.com_security\.log"$/ Failure/Error: expect(subject).to contain_concat__fragment('rspec.example.com-security').with( content: %r{^\s*SecAuditLog "/var/log/#{apache_name}/rspec\.example\.com_security\.log"$}, ) Puppet::PreformattedError: Evaluation Error: Error while evaluating a Resource Statement, Evaluation Error: Unknown variable: '_modsec_disable_ids'. (file: /home/runner/work/puppetlabs-apache/puppetlabs-apache/spec/fixtures/modules/apache/manifests/vhost.pp, line: 2835, column: 46) (line: 3) on node fv-az1431-179.qduew5ojupzu3h2jggo52y3gab.cx.internal.cloudapp.net
Spec / Spec tests (Puppet: ~> 7.24, Ruby Ver: 2.7): spec/defines/vhost_spec.rb#L1399
apache::vhost os-independent items on centos-8-x86_64 modsec_audit_log_file is expected to compile into a catalogue without dependency cycles Failure/Error: it { is_expected.to compile } error during compilation: Evaluation Error: Error while evaluating a Resource Statement, Evaluation Error: Unknown variable: '_modsec_disable_ids'. (file: /home/runner/work/puppetlabs-apache/puppetlabs-apache/spec/fixtures/modules/apache/manifests/vhost.pp, line: 2835, column: 46) (line: 3) on node fv-az1431-179.qduew5ojupzu3h2jggo52y3gab.cx.internal.cloudapp.net
Spec / Spec tests (Puppet: ~> 7.24, Ruby Ver: 2.7): spec/defines/vhost_spec.rb#L1401
apache::vhost os-independent items on centos-8-x86_64 modsec_audit_log_file is expected to contain Concat::Fragment[rspec.example.com-security] with content =~ /\s*SecAuditLog "\/var\/log\/httpd\/foo.log"$/ Failure/Error: expect(subject).to contain_concat__fragment('rspec.example.com-security').with( content: %r{\s*SecAuditLog "/var/log/#{apache_name}/foo.log"$}, ) Puppet::PreformattedError: Evaluation Error: Error while evaluating a Resource Statement, Evaluation Error: Unknown variable: '_modsec_disable_ids'. (file: /home/runner/work/puppetlabs-apache/puppetlabs-apache/spec/fixtures/modules/apache/manifests/vhost.pp, line: 2835, column: 46) (line: 3) on node fv-az1431-179.qduew5ojupzu3h2jggo52y3gab.cx.internal.cloudapp.net
Spec / Spec tests (Puppet: ~> 7.24, Ruby Ver: 2.7): spec/defines/vhost_spec.rb#L1417
apache::vhost os-independent items on centos-8-x86_64 modsec_anomaly_threshold is expected to compile into a catalogue without dependency cycles Failure/Error: it { is_expected.to compile } error during compilation: Evaluation Error: Error while evaluating a Resource Statement, Evaluation Error: Unknown variable: '_modsec_disable_ids'. (file: /home/runner/work/puppetlabs-apache/puppetlabs-apache/spec/fixtures/modules/apache/manifests/vhost.pp, line: 2835, column: 46) (line: 3) on node fv-az1431-179.qduew5ojupzu3h2jggo52y3gab.cx.internal.cloudapp.net
Spec / Spec tests (Puppet: ~> 7.24, Ruby Ver: 2.7): spec/defines/vhost_spec.rb#L1419
apache::vhost os-independent items on centos-8-x86_64 modsec_anomaly_threshold is expected to contain Concat::Fragment[rspec.example.com-security] with content =~ / ^\s+SecAction\ \\\n \s+"id:900110,\\\n \s+phase:1,\\\n \s+nolog,\\\n \s+pass,\\\n \s+t:none,\\\n \s+setvar:tx.inbound_anomaly_score_threshold=10000,\ \\\n \s+setvar:tx.outbound_anomaly_score_threshold=10000"$ /x Failure/Error: expect(subject).to contain_concat__fragment('rspec.example.com-security').with( content: %r{ ^\s+SecAction\ \\\n \s+"id:900110,\\\n \s+phase:1,\\\n \s+nolog,\\\n \s+pass,\\\n \s+t:none,\\\n \s+setvar:tx.inbound_anomaly_score_threshold=10000,\ \\\n \s+setvar:tx.outbound_anomaly_score_threshold=10000"$ Puppet::PreformattedError: Evaluation Error: Error while evaluating a Resource Statement, Evaluation Error: Unknown variable: '_modsec_disable_ids'. (file: /home/runner/work/puppetlabs-apache/puppetlabs-apache/spec/fixtures/modules/apache/manifests/vhost.pp, line: 2835, column: 46) (line: 3) on node fv-az1431-179.qduew5ojupzu3h2jggo52y3gab.cx.internal.cloudapp.net
Spec / Spec tests (Puppet: ~> 7.24, Ruby Ver: 2.7): spec/defines/vhost_spec.rb#L1443
apache::vhost os-independent items on centos-8-x86_64 modsec_allowed_methods is expected to compile into a catalogue without dependency cycles Failure/Error: it { is_expected.to compile } error during compilation: Evaluation Error: Error while evaluating a Resource Statement, Evaluation Error: Unknown variable: '_modsec_disable_ids'. (file: /home/runner/work/puppetlabs-apache/puppetlabs-apache/spec/fixtures/modules/apache/manifests/vhost.pp, line: 2835, column: 46) (line: 3) on node fv-az1431-179.qduew5ojupzu3h2jggo52y3gab.cx.internal.cloudapp.net
Spec / Spec tests (Puppet: ~> 7.24, Ruby Ver: 2.7): spec/defines/vhost_spec.rb#L1445
apache::vhost os-independent items on centos-8-x86_64 modsec_allowed_methods is expected to contain Concat::Fragment[rspec.example.com-security] with content =~ / ^\s+SecAction\ \\\n \s+"id:900200,\\\n \s+phase:1,\\\n \s+nolog,\\\n\s+pass,\\\n \s+t:none,\\\n \s+setvar:'tx.allowed_methods=GET\ HEAD\ POST\ OPTIONS'"$ /x Failure/Error: expect(subject).to contain_concat__fragment('rspec.example.com-security').with( content: %r{ ^\s+SecAction\ \\\n \s+"id:900200,\\\n \s+phase:1,\\\n \s+nolog,\\\n\s+pass,\\\n \s+t:none,\\\n \s+setvar:'tx.allowed_methods=GET\ HEAD\ POST\ OPTIONS'"$ }x, ) Puppet::PreformattedError: Evaluation Error: Error while evaluating a Resource Statement, Evaluation Error: Unknown variable: '_modsec_disable_ids'. (file: /home/runner/work/puppetlabs-apache/puppetlabs-apache/spec/fixtures/modules/apache/manifests/vhost.pp, line: 2835, column: 46) (line: 3) on node fv-az1431-179.qduew5ojupzu3h2jggo52y3gab.cx.internal.cloudapp.net
Spec / Spec tests (Puppet: ~> 7.24, Ruby Ver: 2.7): spec/defines/vhost_spec.rb#L1382
apache::vhost os-independent items on centos-7-x86_64 modsec_audit_log is expected to compile into a catalogue without dependency cycles Failure/Error: it { is_expected.to compile } error during compilation: Evaluation Error: Error while evaluating a Resource Statement, Evaluation Error: Unknown variable: '_modsec_disable_ids'. (file: /home/runner/work/puppetlabs-apache/puppetlabs-apache/spec/fixtures/modules/apache/manifests/vhost.pp, line: 2835, column: 46) (line: 3) on node fv-az1431-179.qduew5ojupzu3h2jggo52y3gab.cx.internal.cloudapp.net
Spec / Spec tests (Puppet: ~> 7.24, Ruby Ver: 2.7): spec/defines/vhost_spec.rb#L1384
apache::vhost os-independent items on centos-7-x86_64 modsec_audit_log is expected to contain Concat::Fragment[rspec.example.com-security] with content =~ /^\s*SecAuditLog "\/var\/log\/httpd\/rspec\.example\.com_security\.log"$/ Failure/Error: expect(subject).to contain_concat__fragment('rspec.example.com-security').with( content: %r{^\s*SecAuditLog "/var/log/#{apache_name}/rspec\.example\.com_security\.log"$}, ) Puppet::PreformattedError: Evaluation Error: Error while evaluating a Resource Statement, Evaluation Error: Unknown variable: '_modsec_disable_ids'. (file: /home/runner/work/puppetlabs-apache/puppetlabs-apache/spec/fixtures/modules/apache/manifests/vhost.pp, line: 2835, column: 46) (line: 3) on node fv-az1431-179.qduew5ojupzu3h2jggo52y3gab.cx.internal.cloudapp.net