Skip to content

Run acceptance tests in CI #121

Run acceptance tests in CI

Run acceptance tests in CI #121

Triggered via pull request January 27, 2024 13:52
Status Cancelled
Total duration 20m 57s
Artifacts

ci.yml

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

Annotations

157 errors
Puppet / Puppet 8 - CentOS 9
Process completed with exit code 1.
Puppet / Puppet 7 - Fedora 32
Process completed with exit code 1.
Puppet / Puppet 7 - CentOS 9
Process completed with exit code 1.
Puppet / Puppet 7 - Fedora 30
Process completed with exit code 1.
Puppet / Puppet 7 - Fedora 31
Process completed with exit code 1.
Puppet / Puppet 7 - Debian 11: vendor/bundle/ruby/3.2.0/gems/voxpupuli-acceptance-3.0.0/lib/voxpupuli/acceptance/examples.rb#L4
selinux class - mode switching when switching from enforcing to disabled before reboot behaves like an idempotent resource applies with no errors Failure/Error: super NameError: undefined local variable or method `manifest' for #<RSpec::ExampleGroups::SelinuxClassModeSwitching::WhenSwitchingFromEnforcingToDisabled::BeforeReboot::BehavesLikeAnIdempotentResource "applies with no errors" (./vendor/bundle/ruby/3.2.0/gems/voxpupuli-acceptance-3.0.0/lib/voxpupuli/acceptance/examples.rb:4)> Shared Example Group: "an idempotent resource" called from ./spec/acceptance/class_disabled_spec.rb:60
Puppet / Puppet 7 - Debian 11: vendor/bundle/ruby/3.2.0/gems/voxpupuli-acceptance-3.0.0/lib/voxpupuli/acceptance/examples.rb#L8
selinux class - mode switching when switching from enforcing to disabled before reboot behaves like an idempotent resource applies a second time without changes Failure/Error: super NameError: undefined local variable or method `manifest' for #<RSpec::ExampleGroups::SelinuxClassModeSwitching::WhenSwitchingFromEnforcingToDisabled::BeforeReboot::BehavesLikeAnIdempotentResource "applies a second time without changes" (./vendor/bundle/ruby/3.2.0/gems/voxpupuli-acceptance-3.0.0/lib/voxpupuli/acceptance/examples.rb:8)> Shared Example Group: "an idempotent resource" called from ./spec/acceptance/class_disabled_spec.rb:60
Puppet / Puppet 7 - Debian 11: spec/acceptance/class_disabled_spec.rb#L63
selinux class - mode switching when switching from enforcing to disabled before reboot File "/etc/selinux/config" content is expected to match /^SELINUX=disabled$/ Failure/Error: its(:content) { is_expected.to match(%r{^SELINUX=disabled$}) } expected "" to match /^SELINUX=disabled$/ Diff: @@ -1 +1 @@ -/^SELINUX=disabled$/ +""
Puppet / Puppet 7 - Debian 11: spec/acceptance/class_disabled_spec.rb#L68
selinux class - mode switching when switching from enforcing to disabled before reboot Command "getenforce" stdout is expected to match /^Permissive$/ Failure/Error: its(:stdout) { is_expected.to match(%r{^Permissive$}) } expected "" to match /^Permissive$/ Diff: @@ -1 +1 @@ -/^Permissive$/ +""
Puppet / Puppet 7 - Debian 11: spec/acceptance/class_disabled_spec.rb#L77
selinux class - mode switching when switching from enforcing to disabled after reboot applies without changes Failure/Error: hosts.each(&:reboot) Beaker::Host::RebootWarning: Could not find system boot time using 'last -F reboot || who -b': ''
Puppet / Puppet 7 - Debian 11: spec/acceptance/class_disabled_spec.rb#L82
selinux class - mode switching when switching from enforcing to disabled after reboot Command "getenforce" stdout Failure/Error: hosts.each(&:reboot) Beaker::Host::RebootWarning: Could not find system boot time using 'last -F reboot || who -b': ''
Puppet / Puppet 7 - Debian 11: spec/acceptance/class_disabled_spec.rb#L93
selinux class - mode switching while disabled File "/var/test" selinux_label Failure/Error: on(hosts, "touch #{test_file_path}") Beaker::Host::CommandFailure: Host 'debian11-64-puppet7.example.com' exited with 1 running: touch /var/test Last 10 lines of output were: /bin/bash: Permission denied
Puppet / Puppet 7 - Debian 11: vendor/bundle/ruby/3.2.0/gems/voxpupuli-acceptance-3.0.0/lib/voxpupuli/acceptance/examples.rb#L4
selinux class - mode switching when switching from disabled to permissive before reboot behaves like an idempotent resource applies with no errors Failure/Error: raise CommandFailure, "Host '#{self}' exited with #{result.exit_code} running:\n #{cmdline}\nLast #{@options[:trace_limit]} lines of output were:\n#{result.formatted_output(@options[:trace_limit])}" Beaker::Host::CommandFailure: Host 'debian11-64-puppet7.example.com' exited with 1 running: mktemp -t apply_manifest_135618585.pp.XXXXXX Last 10 lines of output were: /bin/bash: Permission denied Shared Example Group: "an idempotent resource" called from ./spec/acceptance/class_disabled_spec.rb:105
Puppet / Puppet 7 - Debian 11: vendor/bundle/ruby/3.2.0/gems/voxpupuli-acceptance-3.0.0/lib/voxpupuli/acceptance/examples.rb#L8
selinux class - mode switching when switching from disabled to permissive before reboot behaves like an idempotent resource applies a second time without changes Failure/Error: raise CommandFailure, "Host '#{self}' exited with #{result.exit_code} running:\n #{cmdline}\nLast #{@options[:trace_limit]} lines of output were:\n#{result.formatted_output(@options[:trace_limit])}" Beaker::Host::CommandFailure: Host 'debian11-64-puppet7.example.com' exited with 1 running: mktemp -t apply_manifest_135618673.pp.XXXXXX Last 10 lines of output were: /bin/bash: Permission denied Shared Example Group: "an idempotent resource" called from ./spec/acceptance/class_disabled_spec.rb:105
Puppet / Puppet 7 - Debian 11: spec/acceptance/class_disabled_spec.rb#L108
selinux class - mode switching when switching from disabled to permissive before reboot File "/etc/selinux/config" content is expected to match /^SELINUX=permissive$/ Failure/Error: its(:content) { is_expected.to match(%r{^SELINUX=permissive$}) } expected "" to match /^SELINUX=permissive$/ Diff: @@ -1 +1 @@ -/^SELINUX=permissive$/ +""
Puppet / Puppet 8 - Debian 11: vendor/bundle/ruby/3.2.0/gems/voxpupuli-acceptance-3.0.0/lib/voxpupuli/acceptance/examples.rb#L4
selinux class - mode switching when switching from enforcing to disabled before reboot behaves like an idempotent resource applies with no errors Failure/Error: super NameError: undefined local variable or method `manifest' for #<RSpec::ExampleGroups::SelinuxClassModeSwitching::WhenSwitchingFromEnforcingToDisabled::BeforeReboot::BehavesLikeAnIdempotentResource "applies with no errors" (./vendor/bundle/ruby/3.2.0/gems/voxpupuli-acceptance-3.0.0/lib/voxpupuli/acceptance/examples.rb:4)> Shared Example Group: "an idempotent resource" called from ./spec/acceptance/class_disabled_spec.rb:60
Puppet / Puppet 8 - Debian 11: vendor/bundle/ruby/3.2.0/gems/voxpupuli-acceptance-3.0.0/lib/voxpupuli/acceptance/examples.rb#L8
selinux class - mode switching when switching from enforcing to disabled before reboot behaves like an idempotent resource applies a second time without changes Failure/Error: super NameError: undefined local variable or method `manifest' for #<RSpec::ExampleGroups::SelinuxClassModeSwitching::WhenSwitchingFromEnforcingToDisabled::BeforeReboot::BehavesLikeAnIdempotentResource "applies a second time without changes" (./vendor/bundle/ruby/3.2.0/gems/voxpupuli-acceptance-3.0.0/lib/voxpupuli/acceptance/examples.rb:8)> Shared Example Group: "an idempotent resource" called from ./spec/acceptance/class_disabled_spec.rb:60
Puppet / Puppet 8 - Debian 11: spec/acceptance/class_disabled_spec.rb#L63
selinux class - mode switching when switching from enforcing to disabled before reboot File "/etc/selinux/config" content is expected to match /^SELINUX=disabled$/ Failure/Error: its(:content) { is_expected.to match(%r{^SELINUX=disabled$}) } expected "" to match /^SELINUX=disabled$/ Diff: @@ -1 +1 @@ -/^SELINUX=disabled$/ +""
Puppet / Puppet 8 - Debian 11: spec/acceptance/class_disabled_spec.rb#L68
selinux class - mode switching when switching from enforcing to disabled before reboot Command "getenforce" stdout is expected to match /^Permissive$/ Failure/Error: its(:stdout) { is_expected.to match(%r{^Permissive$}) } expected "" to match /^Permissive$/ Diff: @@ -1 +1 @@ -/^Permissive$/ +""
Puppet / Puppet 8 - Debian 11: spec/acceptance/class_disabled_spec.rb#L77
selinux class - mode switching when switching from enforcing to disabled after reboot applies without changes Failure/Error: hosts.each(&:reboot) Beaker::Host::RebootWarning: Could not find system boot time using 'last -F reboot || who -b': ''
Puppet / Puppet 8 - Debian 11: spec/acceptance/class_disabled_spec.rb#L82
selinux class - mode switching when switching from enforcing to disabled after reboot Command "getenforce" stdout Failure/Error: hosts.each(&:reboot) Beaker::Host::RebootWarning: Could not find system boot time using 'last -F reboot || who -b': ''
Puppet / Puppet 8 - Debian 11: spec/acceptance/class_disabled_spec.rb#L93
selinux class - mode switching while disabled File "/var/test" selinux_label Failure/Error: on(hosts, "touch #{test_file_path}") Beaker::Host::CommandFailure: Host 'debian11-64-puppet8.example.com' exited with 1 running: touch /var/test Last 10 lines of output were: /bin/bash: Permission denied
Puppet / Puppet 8 - Debian 11: vendor/bundle/ruby/3.2.0/gems/voxpupuli-acceptance-3.0.0/lib/voxpupuli/acceptance/examples.rb#L4
selinux class - mode switching when switching from disabled to permissive before reboot behaves like an idempotent resource applies with no errors Failure/Error: raise CommandFailure, "Host '#{self}' exited with #{result.exit_code} running:\n #{cmdline}\nLast #{@options[:trace_limit]} lines of output were:\n#{result.formatted_output(@options[:trace_limit])}" Beaker::Host::CommandFailure: Host 'debian11-64-puppet8.example.com' exited with 1 running: mktemp -t apply_manifest_135627600.pp.XXXXXX Last 10 lines of output were: /bin/bash: Permission denied Shared Example Group: "an idempotent resource" called from ./spec/acceptance/class_disabled_spec.rb:105
Puppet / Puppet 8 - Debian 11: vendor/bundle/ruby/3.2.0/gems/voxpupuli-acceptance-3.0.0/lib/voxpupuli/acceptance/examples.rb#L8
selinux class - mode switching when switching from disabled to permissive before reboot behaves like an idempotent resource applies a second time without changes Failure/Error: raise CommandFailure, "Host '#{self}' exited with #{result.exit_code} running:\n #{cmdline}\nLast #{@options[:trace_limit]} lines of output were:\n#{result.formatted_output(@options[:trace_limit])}" Beaker::Host::CommandFailure: Host 'debian11-64-puppet8.example.com' exited with 1 running: mktemp -t apply_manifest_135627689.pp.XXXXXX Last 10 lines of output were: /bin/bash: Permission denied Shared Example Group: "an idempotent resource" called from ./spec/acceptance/class_disabled_spec.rb:105
Puppet / Puppet 8 - Debian 11: spec/acceptance/class_disabled_spec.rb#L108
selinux class - mode switching when switching from disabled to permissive before reboot File "/etc/selinux/config" content is expected to match /^SELINUX=permissive$/ Failure/Error: its(:content) { is_expected.to match(%r{^SELINUX=permissive$}) } expected "" to match /^SELINUX=permissive$/ Diff: @@ -1 +1 @@ -/^SELINUX=permissive$/ +""
Puppet / Puppet 7 - Debian 10: vendor/bundle/ruby/3.2.0/gems/voxpupuli-acceptance-3.0.0/lib/voxpupuli/acceptance/examples.rb#L4
selinux class - mode switching when switching from enforcing to disabled before reboot behaves like an idempotent resource applies with no errors Failure/Error: super NameError: undefined local variable or method `manifest' for #<RSpec::ExampleGroups::SelinuxClassModeSwitching::WhenSwitchingFromEnforcingToDisabled::BeforeReboot::BehavesLikeAnIdempotentResource "applies with no errors" (./vendor/bundle/ruby/3.2.0/gems/voxpupuli-acceptance-3.0.0/lib/voxpupuli/acceptance/examples.rb:4)> Shared Example Group: "an idempotent resource" called from ./spec/acceptance/class_disabled_spec.rb:60
Puppet / Puppet 7 - Debian 10: vendor/bundle/ruby/3.2.0/gems/voxpupuli-acceptance-3.0.0/lib/voxpupuli/acceptance/examples.rb#L8
selinux class - mode switching when switching from enforcing to disabled before reboot behaves like an idempotent resource applies a second time without changes Failure/Error: super NameError: undefined local variable or method `manifest' for #<RSpec::ExampleGroups::SelinuxClassModeSwitching::WhenSwitchingFromEnforcingToDisabled::BeforeReboot::BehavesLikeAnIdempotentResource "applies a second time without changes" (./vendor/bundle/ruby/3.2.0/gems/voxpupuli-acceptance-3.0.0/lib/voxpupuli/acceptance/examples.rb:8)> Shared Example Group: "an idempotent resource" called from ./spec/acceptance/class_disabled_spec.rb:60
Puppet / Puppet 7 - Debian 10: spec/acceptance/class_disabled_spec.rb#L63
selinux class - mode switching when switching from enforcing to disabled before reboot File "/etc/selinux/config" content is expected to match /^SELINUX=disabled$/ Failure/Error: its(:content) { is_expected.to match(%r{^SELINUX=disabled$}) } expected "# This file controls the state of SELinux on the system.\n# SELINUX=enforcing\n# enforcing - SELinux...rom source\nSELINUXTYPE=default\n\n# SETLOCALDEFS= Check local definition changes\nSETLOCALDEFS=0\n" to match /^SELINUX=disabled$/ Diff: @@ -1,14 +1,27 @@ -/^SELINUX=disabled$/ +# This file controls the state of SELinux on the system. +# SELINUX=enforcing +# enforcing - SELinux security policy is enforced. +# permissive - SELinux prints warnings instead of enforcing. +# disabled - No SELinux policy is loaded. +SELINUX=enforcing +# SELINUXTYPE= can take one of these two values: +# default - equivalent to the old strict and targeted policies +# mls - Multi-Level Security (for military and educational use) +# src - Custom policy built from source +SELINUXTYPE=default + +# SETLOCALDEFS= Check local definition changes +SETLOCALDEFS=0
Puppet / Puppet 7 - Debian 10: spec/acceptance/class_disabled_spec.rb#L68
selinux class - mode switching when switching from enforcing to disabled before reboot Command "getenforce" stdout is expected to match /^Permissive$/ Failure/Error: its(:stdout) { is_expected.to match(%r{^Permissive$}) } expected "Enforcing\n" to match /^Permissive$/ Diff: @@ -1 +1 @@ -/^Permissive$/ +Enforcing
Puppet / Puppet 7 - Debian 10: spec/acceptance/class_disabled_spec.rb#L77
selinux class - mode switching when switching from enforcing to disabled after reboot applies without changes Failure/Error: apply_manifest(pp, catch_changes: true) Beaker::Host::CommandFailure: Host 'debian10-64-puppet7.example.com' exited with 2 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_135607868.pp.FY1MU2 Last 10 lines of output were: Info: Loading facts Info: Loading facts Error: Facter: Error: Facter: � �[mNotice: Compiled catalog for debian10-64-puppet7.example.com in environment production in 0.06 seconds Info: Using environment 'production' Info: Applying configuration version '1706363769' �[mNotice: /Stage[main]/Selinux::Config/File_line[set-selinux-config-to-disabled]/ensure: created �[mNotice: /Stage[main]/Selinux::Config/Exec[change-selinux-status-to-disabled]/returns: executed successfully �[mNotice: Applied catalog in 0.17 seconds
Puppet / Puppet 7 - Debian 10: spec/acceptance/class_disabled_spec.rb#L82
selinux class - mode switching when switching from enforcing to disabled after reboot Command "getenforce" stdout is expected to match /^Disabled$/ Failure/Error: its(:stdout) { is_expected.to match(%r{^Disabled$}) } expected "Permissive\n" to match /^Disabled$/ Diff: @@ -1 +1 @@ -/^Disabled$/ +Permissive
Puppet / Puppet 7 - Debian 10: spec/acceptance/class_disabled_spec.rb#L93
selinux class - mode switching while disabled File "/var/test" selinux_label is expected to eq "?" Failure/Error: its(:selinux_label) { is_expected.to eq('?') } expected: "?" got: "unconfined_u:object_r:var_t:s0" (compared using ==)
Puppet / Puppet 7 - Debian 10: spec/acceptance/class_disabled_spec.rb#L113
selinux class - mode switching when switching from disabled to permissive before reboot Command "getenforce" stdout is expected to match /^Disabled$/ Failure/Error: its(:stdout) { is_expected.to match(%r{^Disabled$}) } expected "Permissive\n" to match /^Disabled$/ Diff: @@ -1 +1 @@ -/^Disabled$/ +Permissive
Puppet / Puppet 7 - Debian 10
Process completed with exit code 1.
Puppet / Puppet 7 - CentOS 7: vendor/bundle/ruby/3.2.0/gems/voxpupuli-acceptance-3.0.0/lib/voxpupuli/acceptance/examples.rb#L4
selinux class - mode switching when switching from enforcing to disabled before reboot behaves like an idempotent resource applies with no errors Failure/Error: super NameError: undefined local variable or method `manifest' for #<RSpec::ExampleGroups::SelinuxClassModeSwitching::WhenSwitchingFromEnforcingToDisabled::BeforeReboot::BehavesLikeAnIdempotentResource "applies with no errors" (./vendor/bundle/ruby/3.2.0/gems/voxpupuli-acceptance-3.0.0/lib/voxpupuli/acceptance/examples.rb:4)> Shared Example Group: "an idempotent resource" called from ./spec/acceptance/class_disabled_spec.rb:60
Puppet / Puppet 7 - CentOS 7: vendor/bundle/ruby/3.2.0/gems/voxpupuli-acceptance-3.0.0/lib/voxpupuli/acceptance/examples.rb#L8
selinux class - mode switching when switching from enforcing to disabled before reboot behaves like an idempotent resource applies a second time without changes Failure/Error: super NameError: undefined local variable or method `manifest' for #<RSpec::ExampleGroups::SelinuxClassModeSwitching::WhenSwitchingFromEnforcingToDisabled::BeforeReboot::BehavesLikeAnIdempotentResource "applies a second time without changes" (./vendor/bundle/ruby/3.2.0/gems/voxpupuli-acceptance-3.0.0/lib/voxpupuli/acceptance/examples.rb:8)> Shared Example Group: "an idempotent resource" called from ./spec/acceptance/class_disabled_spec.rb:60
Puppet / Puppet 7 - CentOS 7: spec/acceptance/class_disabled_spec.rb#L63
selinux class - mode switching when switching from enforcing to disabled before reboot File "/etc/selinux/config" content is expected to match /^SELINUX=disabled$/ Failure/Error: its(:content) { is_expected.to match(%r{^SELINUX=disabled$}) } expected "\n# This file controls the state of SELinux on the system.\n# SELINUX=enforcing\n# enforcing - S...processes are protected. \n# mls - Multi Level Security protection.\nSELINUXTYPE=targeted\n\n\n" to match /^SELINUX=disabled$/ Diff: @@ -1,12 +1,23 @@ -/^SELINUX=disabled$/ + +# This file controls the state of SELinux on the system. +# SELINUX=enforcing +# enforcing - SELinux security policy is enforced. +# permissive - SELinux prints warnings instead of enforcing. +# disabled - No SELinux policy is loaded. +SELINUX=enforcing +# SELINUXTYPE= can take one of three values: +# targeted - Targeted processes are protected, +# minimum - Modification of targeted policy. Only selected processes are protected. +# mls - Multi Level Security protection. +SELINUXTYPE=targeted
Puppet / Puppet 7 - CentOS 7: spec/acceptance/class_disabled_spec.rb#L68
selinux class - mode switching when switching from enforcing to disabled before reboot Command "getenforce" stdout is expected to match /^Permissive$/ Failure/Error: its(:stdout) { is_expected.to match(%r{^Permissive$}) } expected "Enforcing\n" to match /^Permissive$/ Diff: @@ -1 +1 @@ -/^Permissive$/ +Enforcing
Puppet / Puppet 7 - CentOS 7: spec/acceptance/class_disabled_spec.rb#L77
selinux class - mode switching when switching from enforcing to disabled after reboot applies without changes Failure/Error: apply_manifest(pp, catch_changes: true) Beaker::Host::CommandFailure: Host 'centos7-64-puppet7.example.com' exited with 2 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_135504743.pp.EGWKPS Last 10 lines of output were: Info: Loading facts Info: Loading facts �[mNotice: Compiled catalog for centos7-64-puppet7.example.com in environment production in 0.06 seconds Info: Using environment 'production' Info: Applying configuration version '1706363705' �[mNotice: /Stage[main]/Selinux::Config/File_line[set-selinux-config-to-disabled]/ensure: created �[mNotice: /Stage[main]/Selinux::Config/Exec[change-selinux-status-to-disabled]/returns: executed successfully �[mNotice: Applied catalog in 0.10 seconds
Puppet / Puppet 7 - CentOS 7: spec/acceptance/class_disabled_spec.rb#L82
selinux class - mode switching when switching from enforcing to disabled after reboot Command "getenforce" stdout is expected to match /^Disabled$/ Failure/Error: its(:stdout) { is_expected.to match(%r{^Disabled$}) } expected "Permissive\n" to match /^Disabled$/ Diff: @@ -1 +1 @@ -/^Disabled$/ +Permissive
Puppet / Puppet 7 - CentOS 7: spec/acceptance/class_disabled_spec.rb#L93
selinux class - mode switching while disabled File "/var/test" selinux_label is expected to eq "?" Failure/Error: its(:selinux_label) { is_expected.to eq('?') } expected: "?" got: "unconfined_u:object_r:var_t:s0" (compared using ==)
Puppet / Puppet 7 - CentOS 7: spec/acceptance/class_disabled_spec.rb#L113
selinux class - mode switching when switching from disabled to permissive before reboot Command "getenforce" stdout is expected to match /^Disabled$/ Failure/Error: its(:stdout) { is_expected.to match(%r{^Disabled$}) } expected "Permissive\n" to match /^Disabled$/ Diff: @@ -1 +1 @@ -/^Disabled$/ +Permissive
Puppet / Puppet 7 - CentOS 7: vendor/bundle/ruby/3.2.0/gems/voxpupuli-acceptance-3.0.0/lib/voxpupuli/acceptance/examples.rb#L8
selinux class behaves like an idempotent resource applies a second time without changes Failure/Error: raise CommandFailure, "Host '#{self}' exited with #{result.exit_code} running:\n #{cmdline}\nLast #{@options[:trace_limit]} lines of output were:\n#{result.formatted_output(@options[:trace_limit])}" Beaker::Host::CommandFailure: Host 'centos7-64-puppet7.example.com' exited with 1 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_135629183.pp.GryBPc Last 10 lines of output were: Info: Loading facts Info: Loading facts Warning: This function is deprecated, please use stdlib::ensure_packages instead. at ["/etc/puppetlabs/code/environments/production/modules/selinux/manifests/refpolicy_package.pp", 14]:["/etc/puppetlabs/code/environments/production/modules/selinux/manifests/module.pp", 72] (location: /etc/puppetlabs/code/environments/production/modules/stdlib/lib/puppet/functions/deprecation.rb:35:in `deprecation') �[mNotice: Compiled catalog for centos7-64-puppet7.example.com in environment production in 0.16 seconds Info: Using environment 'production' Error: Failed to apply catalog: Cannot alias Selinux_fcontext[absent] to ["/tmp/fcontexts_source(/.*)?_a"]; resource ["Selinux_fcontext", "/tmp/fcontexts_source(/.*)?_a"] already declared (file: /etc/puppetlabs/code/environments/production/modules/selinux/manifests/fcontext.pp, line: 59) Shared Example Group: "an idempotent resource" called from ./spec/acceptance/class_spec.rb:108
Puppet / Puppet 7 - CentOS 7
Process completed with exit code 1.
Puppet / Puppet 8 - CentOS 7: vendor/bundle/ruby/3.2.0/gems/voxpupuli-acceptance-3.0.0/lib/voxpupuli/acceptance/examples.rb#L4
selinux class - mode switching when switching from enforcing to disabled before reboot behaves like an idempotent resource applies with no errors Failure/Error: super NameError: undefined local variable or method `manifest' for #<RSpec::ExampleGroups::SelinuxClassModeSwitching::WhenSwitchingFromEnforcingToDisabled::BeforeReboot::BehavesLikeAnIdempotentResource "applies with no errors" (./vendor/bundle/ruby/3.2.0/gems/voxpupuli-acceptance-3.0.0/lib/voxpupuli/acceptance/examples.rb:4)> Shared Example Group: "an idempotent resource" called from ./spec/acceptance/class_disabled_spec.rb:60
Puppet / Puppet 8 - CentOS 7: vendor/bundle/ruby/3.2.0/gems/voxpupuli-acceptance-3.0.0/lib/voxpupuli/acceptance/examples.rb#L8
selinux class - mode switching when switching from enforcing to disabled before reboot behaves like an idempotent resource applies a second time without changes Failure/Error: super NameError: undefined local variable or method `manifest' for #<RSpec::ExampleGroups::SelinuxClassModeSwitching::WhenSwitchingFromEnforcingToDisabled::BeforeReboot::BehavesLikeAnIdempotentResource "applies a second time without changes" (./vendor/bundle/ruby/3.2.0/gems/voxpupuli-acceptance-3.0.0/lib/voxpupuli/acceptance/examples.rb:8)> Shared Example Group: "an idempotent resource" called from ./spec/acceptance/class_disabled_spec.rb:60
Puppet / Puppet 8 - CentOS 7: spec/acceptance/class_disabled_spec.rb#L63
selinux class - mode switching when switching from enforcing to disabled before reboot File "/etc/selinux/config" content is expected to match /^SELINUX=disabled$/ Failure/Error: its(:content) { is_expected.to match(%r{^SELINUX=disabled$}) } expected "\n# This file controls the state of SELinux on the system.\n# SELINUX=enforcing\n# enforcing - S...processes are protected. \n# mls - Multi Level Security protection.\nSELINUXTYPE=targeted\n\n\n" to match /^SELINUX=disabled$/ Diff: @@ -1,12 +1,23 @@ -/^SELINUX=disabled$/ + +# This file controls the state of SELinux on the system. +# SELINUX=enforcing +# enforcing - SELinux security policy is enforced. +# permissive - SELinux prints warnings instead of enforcing. +# disabled - No SELinux policy is loaded. +SELINUX=enforcing +# SELINUXTYPE= can take one of three values: +# targeted - Targeted processes are protected, +# minimum - Modification of targeted policy. Only selected processes are protected. +# mls - Multi Level Security protection. +SELINUXTYPE=targeted
Puppet / Puppet 8 - CentOS 7: spec/acceptance/class_disabled_spec.rb#L68
selinux class - mode switching when switching from enforcing to disabled before reboot Command "getenforce" stdout is expected to match /^Permissive$/ Failure/Error: its(:stdout) { is_expected.to match(%r{^Permissive$}) } expected "Enforcing\n" to match /^Permissive$/ Diff: @@ -1 +1 @@ -/^Permissive$/ +Enforcing
Puppet / Puppet 8 - CentOS 7: spec/acceptance/class_disabled_spec.rb#L77
selinux class - mode switching when switching from enforcing to disabled after reboot applies without changes Failure/Error: apply_manifest(pp, catch_changes: true) Beaker::Host::CommandFailure: Host 'centos7-64-puppet8.example.com' exited with 2 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_135507089.pp.IjuWJE Last 10 lines of output were: Info: Loading facts Info: Loading facts �[mNotice: Compiled catalog for centos7-64-puppet8.example.com in environment production in 0.11 seconds Info: Using environment 'production' Info: Applying configuration version '1706363709' �[mNotice: /Stage[main]/Selinux::Config/File_line[set-selinux-config-to-disabled]/ensure: created �[mNotice: /Stage[main]/Selinux::Config/Exec[change-selinux-status-to-disabled]/returns: executed successfully �[mNotice: Applied catalog in 0.10 seconds
Puppet / Puppet 8 - CentOS 7: spec/acceptance/class_disabled_spec.rb#L82
selinux class - mode switching when switching from enforcing to disabled after reboot Command "getenforce" stdout is expected to match /^Disabled$/ Failure/Error: its(:stdout) { is_expected.to match(%r{^Disabled$}) } expected "Permissive\n" to match /^Disabled$/ Diff: @@ -1 +1 @@ -/^Disabled$/ +Permissive
Puppet / Puppet 8 - CentOS 7: spec/acceptance/class_disabled_spec.rb#L93
selinux class - mode switching while disabled File "/var/test" selinux_label is expected to eq "?" Failure/Error: its(:selinux_label) { is_expected.to eq('?') } expected: "?" got: "unconfined_u:object_r:var_t:s0" (compared using ==)
Puppet / Puppet 8 - CentOS 7: spec/acceptance/class_disabled_spec.rb#L113
selinux class - mode switching when switching from disabled to permissive before reboot Command "getenforce" stdout is expected to match /^Disabled$/ Failure/Error: its(:stdout) { is_expected.to match(%r{^Disabled$}) } expected "Permissive\n" to match /^Disabled$/ Diff: @@ -1 +1 @@ -/^Disabled$/ +Permissive
Puppet / Puppet 8 - CentOS 7: vendor/bundle/ruby/3.2.0/gems/voxpupuli-acceptance-3.0.0/lib/voxpupuli/acceptance/examples.rb#L8
selinux class behaves like an idempotent resource applies a second time without changes Failure/Error: raise CommandFailure, "Host '#{self}' exited with #{result.exit_code} running:\n #{cmdline}\nLast #{@options[:trace_limit]} lines of output were:\n#{result.formatted_output(@options[:trace_limit])}" Beaker::Host::CommandFailure: Host 'centos7-64-puppet8.example.com' exited with 1 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_135637101.pp.FUmMQI Last 10 lines of output were: Info: Loading facts Info: Loading facts Warning: This function is deprecated, please use stdlib::ensure_packages instead. at ["/etc/puppetlabs/code/environments/production/modules/selinux/manifests/refpolicy_package.pp", 14]:["/etc/puppetlabs/code/environments/production/modules/selinux/manifests/module.pp", 72] (location: /etc/puppetlabs/code/environments/production/modules/stdlib/lib/puppet/functions/deprecation.rb:35:in `deprecation') �[mNotice: Compiled catalog for centos7-64-puppet8.example.com in environment production in 0.27 seconds Info: Using environment 'production' Error: Failed to apply catalog: Cannot alias Selinux_fcontext[absent] to ["/tmp/fcontexts_source(/.*)?_a"]; resource ["Selinux_fcontext", "/tmp/fcontexts_source(/.*)?_a"] already declared (file: /etc/puppetlabs/code/environments/production/modules/selinux/manifests/fcontext.pp, line: 59) Shared Example Group: "an idempotent resource" called from ./spec/acceptance/class_spec.rb:108
Puppet / Puppet 8 - CentOS 7
Process completed with exit code 1.
Puppet / Puppet 7 - AlmaLinux 8: vendor/bundle/ruby/3.2.0/gems/voxpupuli-acceptance-3.0.0/lib/voxpupuli/acceptance/examples.rb#L4
selinux class - mode switching when switching from enforcing to disabled before reboot behaves like an idempotent resource applies with no errors Failure/Error: super NameError: undefined local variable or method `manifest' for #<RSpec::ExampleGroups::SelinuxClassModeSwitching::WhenSwitchingFromEnforcingToDisabled::BeforeReboot::BehavesLikeAnIdempotentResource "applies with no errors" (./vendor/bundle/ruby/3.2.0/gems/voxpupuli-acceptance-3.0.0/lib/voxpupuli/acceptance/examples.rb:4)> Shared Example Group: "an idempotent resource" called from ./spec/acceptance/class_disabled_spec.rb:60
Puppet / Puppet 7 - AlmaLinux 8: vendor/bundle/ruby/3.2.0/gems/voxpupuli-acceptance-3.0.0/lib/voxpupuli/acceptance/examples.rb#L8
selinux class - mode switching when switching from enforcing to disabled before reboot behaves like an idempotent resource applies a second time without changes Failure/Error: super NameError: undefined local variable or method `manifest' for #<RSpec::ExampleGroups::SelinuxClassModeSwitching::WhenSwitchingFromEnforcingToDisabled::BeforeReboot::BehavesLikeAnIdempotentResource "applies a second time without changes" (./vendor/bundle/ruby/3.2.0/gems/voxpupuli-acceptance-3.0.0/lib/voxpupuli/acceptance/examples.rb:8)> Shared Example Group: "an idempotent resource" called from ./spec/acceptance/class_disabled_spec.rb:60
Puppet / Puppet 7 - AlmaLinux 8: spec/acceptance/class_disabled_spec.rb#L63
selinux class - mode switching when switching from enforcing to disabled before reboot File "/etc/selinux/config" content is expected to match /^SELINUX=disabled$/ Failure/Error: its(:content) { is_expected.to match(%r{^SELINUX=disabled$}) } expected "\n# This file controls the state of SELinux on the system.\n# SELINUX=enforcing\n# enforcing - S...processes are protected. \n# mls - Multi Level Security protection.\nSELINUXTYPE=targeted\n\n\n" to match /^SELINUX=disabled$/ Diff: @@ -1,12 +1,23 @@ -/^SELINUX=disabled$/ + +# This file controls the state of SELinux on the system. +# SELINUX=enforcing +# enforcing - SELinux security policy is enforced. +# permissive - SELinux prints warnings instead of enforcing. +# disabled - No SELinux policy is loaded. +SELINUX=enforcing +# SELINUXTYPE= can take one of these three values: +# targeted - Targeted processes are protected, +# minimum - Modification of targeted policy. Only selected processes are protected. +# mls - Multi Level Security protection. +SELINUXTYPE=targeted
Puppet / Puppet 7 - AlmaLinux 8: spec/acceptance/class_disabled_spec.rb#L68
selinux class - mode switching when switching from enforcing to disabled before reboot Command "getenforce" stdout is expected to match /^Permissive$/ Failure/Error: its(:stdout) { is_expected.to match(%r{^Permissive$}) } expected "Enforcing\n" to match /^Permissive$/ Diff: @@ -1 +1 @@ -/^Permissive$/ +Enforcing
Puppet / Puppet 7 - AlmaLinux 8: spec/acceptance/class_disabled_spec.rb#L77
selinux class - mode switching when switching from enforcing to disabled after reboot applies without changes Failure/Error: apply_manifest(pp, catch_changes: true) Beaker::Host::CommandFailure: Host 'almalinux8-64-puppet7.example.com' exited with 2 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_135549072.pp.np6wm3 Last 10 lines of output were: Info: Loading facts Info: Loading facts �[mNotice: Compiled catalog for almalinux8-64-puppet7.example.com in environment production in 0.06 seconds Info: Using environment 'production' Info: Applying configuration version '1706363751' �[mNotice: /Stage[main]/Selinux::Config/File_line[set-selinux-config-to-disabled]/ensure: created �[mNotice: /Stage[main]/Selinux::Config/Exec[change-selinux-status-to-disabled]/returns: executed successfully �[mNotice: Applied catalog in 0.22 seconds
Puppet / Puppet 7 - AlmaLinux 8: spec/acceptance/class_disabled_spec.rb#L82
selinux class - mode switching when switching from enforcing to disabled after reboot Command "getenforce" stdout is expected to match /^Disabled$/ Failure/Error: its(:stdout) { is_expected.to match(%r{^Disabled$}) } expected "Permissive\n" to match /^Disabled$/ Diff: @@ -1 +1 @@ -/^Disabled$/ +Permissive
Puppet / Puppet 7 - AlmaLinux 8: spec/acceptance/class_disabled_spec.rb#L93
selinux class - mode switching while disabled File "/var/test" selinux_label is expected to eq "?" Failure/Error: its(:selinux_label) { is_expected.to eq('?') } expected: "?" got: "unconfined_u:object_r:var_t:s0" (compared using ==)
Puppet / Puppet 7 - AlmaLinux 8: spec/acceptance/class_disabled_spec.rb#L113
selinux class - mode switching when switching from disabled to permissive before reboot Command "getenforce" stdout is expected to match /^Disabled$/ Failure/Error: its(:stdout) { is_expected.to match(%r{^Disabled$}) } expected "Permissive\n" to match /^Disabled$/ Diff: @@ -1 +1 @@ -/^Disabled$/ +Permissive
Puppet / Puppet 7 - AlmaLinux 8: vendor/bundle/ruby/3.2.0/gems/voxpupuli-acceptance-3.0.0/lib/voxpupuli/acceptance/examples.rb#L8
selinux class behaves like an idempotent resource applies a second time without changes Failure/Error: raise CommandFailure, "Host '#{self}' exited with #{result.exit_code} running:\n #{cmdline}\nLast #{@options[:trace_limit]} lines of output were:\n#{result.formatted_output(@options[:trace_limit])}" Beaker::Host::CommandFailure: Host 'almalinux8-64-puppet7.example.com' exited with 1 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_135739944.pp.iFSQgC Last 10 lines of output were: Info: Loading facts Info: Loading facts Warning: This function is deprecated, please use stdlib::ensure_packages instead. at ["/etc/puppetlabs/code/environments/production/modules/selinux/manifests/refpolicy_package.pp", 14]:["/etc/puppetlabs/code/environments/production/modules/selinux/manifests/module.pp", 72] (location: /etc/puppetlabs/code/environments/production/modules/stdlib/lib/puppet/functions/deprecation.rb:35:in `deprecation') �[mNotice: Compiled catalog for almalinux8-64-puppet7.example.com in environment production in 0.18 seconds Info: Using environment 'production' Error: Failed to apply catalog: Cannot alias Selinux_fcontext[absent] to ["/tmp/fcontexts_source(/.*)?_a"]; resource ["Selinux_fcontext", "/tmp/fcontexts_source(/.*)?_a"] already declared (file: /etc/puppetlabs/code/environments/production/modules/selinux/manifests/fcontext.pp, line: 59) Shared Example Group: "an idempotent resource" called from ./spec/acceptance/class_spec.rb:108
Puppet / Puppet 7 - AlmaLinux 8
Process completed with exit code 1.
Puppet / Puppet 7 - CentOS 8: vendor/bundle/ruby/3.2.0/gems/voxpupuli-acceptance-3.0.0/lib/voxpupuli/acceptance/examples.rb#L4
selinux class - mode switching when switching from enforcing to disabled before reboot behaves like an idempotent resource applies with no errors Failure/Error: super NameError: undefined local variable or method `manifest' for #<RSpec::ExampleGroups::SelinuxClassModeSwitching::WhenSwitchingFromEnforcingToDisabled::BeforeReboot::BehavesLikeAnIdempotentResource "applies with no errors" (./vendor/bundle/ruby/3.2.0/gems/voxpupuli-acceptance-3.0.0/lib/voxpupuli/acceptance/examples.rb:4)> Shared Example Group: "an idempotent resource" called from ./spec/acceptance/class_disabled_spec.rb:60
Puppet / Puppet 7 - CentOS 8: vendor/bundle/ruby/3.2.0/gems/voxpupuli-acceptance-3.0.0/lib/voxpupuli/acceptance/examples.rb#L8
selinux class - mode switching when switching from enforcing to disabled before reboot behaves like an idempotent resource applies a second time without changes Failure/Error: super NameError: undefined local variable or method `manifest' for #<RSpec::ExampleGroups::SelinuxClassModeSwitching::WhenSwitchingFromEnforcingToDisabled::BeforeReboot::BehavesLikeAnIdempotentResource "applies a second time without changes" (./vendor/bundle/ruby/3.2.0/gems/voxpupuli-acceptance-3.0.0/lib/voxpupuli/acceptance/examples.rb:8)> Shared Example Group: "an idempotent resource" called from ./spec/acceptance/class_disabled_spec.rb:60
Puppet / Puppet 7 - CentOS 8: spec/acceptance/class_disabled_spec.rb#L63
selinux class - mode switching when switching from enforcing to disabled before reboot File "/etc/selinux/config" content is expected to match /^SELINUX=disabled$/ Failure/Error: its(:content) { is_expected.to match(%r{^SELINUX=disabled$}) } expected "\n# This file controls the state of SELinux on the system.\n# SELINUX=enforcing\n# enforcing - S...processes are protected. \n# mls - Multi Level Security protection.\nSELINUXTYPE=targeted\n\n\n" to match /^SELINUX=disabled$/ Diff: @@ -1,12 +1,23 @@ -/^SELINUX=disabled$/ + +# This file controls the state of SELinux on the system. +# SELINUX=enforcing +# enforcing - SELinux security policy is enforced. +# permissive - SELinux prints warnings instead of enforcing. +# disabled - No SELinux policy is loaded. +SELINUX=enforcing +# SELINUXTYPE= can take one of these three values: +# targeted - Targeted processes are protected, +# minimum - Modification of targeted policy. Only selected processes are protected. +# mls - Multi Level Security protection. +SELINUXTYPE=targeted
Puppet / Puppet 7 - CentOS 8: spec/acceptance/class_disabled_spec.rb#L68
selinux class - mode switching when switching from enforcing to disabled before reboot Command "getenforce" stdout is expected to match /^Permissive$/ Failure/Error: its(:stdout) { is_expected.to match(%r{^Permissive$}) } expected "Enforcing\n" to match /^Permissive$/ Diff: @@ -1 +1 @@ -/^Permissive$/ +Enforcing
Puppet / Puppet 7 - CentOS 8: spec/acceptance/class_disabled_spec.rb#L77
selinux class - mode switching when switching from enforcing to disabled after reboot applies without changes Failure/Error: apply_manifest(pp, catch_changes: true) Beaker::Host::CommandFailure: Host 'centos8-64-puppet7.example.com' exited with 2 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_135533457.pp.FUNH4l Last 10 lines of output were: Info: Loading facts Info: Loading facts �[mNotice: Compiled catalog for centos8-64-puppet7.example.com in environment production in 0.07 seconds Info: Using environment 'production' Info: Applying configuration version '1706363736' �[mNotice: /Stage[main]/Selinux::Config/File_line[set-selinux-config-to-disabled]/ensure: created �[mNotice: /Stage[main]/Selinux::Config/Exec[change-selinux-status-to-disabled]/returns: executed successfully �[mNotice: Applied catalog in 0.16 seconds
Puppet / Puppet 7 - CentOS 8: spec/acceptance/class_disabled_spec.rb#L82
selinux class - mode switching when switching from enforcing to disabled after reboot Command "getenforce" stdout is expected to match /^Disabled$/ Failure/Error: its(:stdout) { is_expected.to match(%r{^Disabled$}) } expected "Permissive\n" to match /^Disabled$/ Diff: @@ -1 +1 @@ -/^Disabled$/ +Permissive
Puppet / Puppet 7 - CentOS 8: spec/acceptance/class_disabled_spec.rb#L93
selinux class - mode switching while disabled File "/var/test" selinux_label is expected to eq "?" Failure/Error: its(:selinux_label) { is_expected.to eq('?') } expected: "?" got: "unconfined_u:object_r:var_t:s0" (compared using ==)
Puppet / Puppet 7 - CentOS 8: spec/acceptance/class_disabled_spec.rb#L113
selinux class - mode switching when switching from disabled to permissive before reboot Command "getenforce" stdout is expected to match /^Disabled$/ Failure/Error: its(:stdout) { is_expected.to match(%r{^Disabled$}) } expected "Permissive\n" to match /^Disabled$/ Diff: @@ -1 +1 @@ -/^Disabled$/ +Permissive
Puppet / Puppet 7 - CentOS 8: vendor/bundle/ruby/3.2.0/gems/voxpupuli-acceptance-3.0.0/lib/voxpupuli/acceptance/examples.rb#L8
selinux class behaves like an idempotent resource applies a second time without changes Failure/Error: raise CommandFailure, "Host '#{self}' exited with #{result.exit_code} running:\n #{cmdline}\nLast #{@options[:trace_limit]} lines of output were:\n#{result.formatted_output(@options[:trace_limit])}" Beaker::Host::CommandFailure: Host 'centos8-64-puppet7.example.com' exited with 1 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_135732275.pp.clEqj7 Last 10 lines of output were: Info: Loading facts Info: Loading facts Warning: This function is deprecated, please use stdlib::ensure_packages instead. at ["/etc/puppetlabs/code/environments/production/modules/selinux/manifests/refpolicy_package.pp", 14]:["/etc/puppetlabs/code/environments/production/modules/selinux/manifests/module.pp", 72] (location: /etc/puppetlabs/code/environments/production/modules/stdlib/lib/puppet/functions/deprecation.rb:35:in `deprecation') �[mNotice: Compiled catalog for centos8-64-puppet7.example.com in environment production in 0.19 seconds Info: Using environment 'production' Error: Failed to apply catalog: Cannot alias Selinux_fcontext[absent] to ["/tmp/fcontexts_source(/.*)?_a"]; resource ["Selinux_fcontext", "/tmp/fcontexts_source(/.*)?_a"] already declared (file: /etc/puppetlabs/code/environments/production/modules/selinux/manifests/fcontext.pp, line: 59) Shared Example Group: "an idempotent resource" called from ./spec/acceptance/class_spec.rb:108
Puppet / Puppet 7 - CentOS 8
Process completed with exit code 1.
Puppet / Puppet 8 - Rocky 8: vendor/bundle/ruby/3.2.0/gems/voxpupuli-acceptance-3.0.0/lib/voxpupuli/acceptance/examples.rb#L4
selinux class - mode switching when switching from enforcing to disabled before reboot behaves like an idempotent resource applies with no errors Failure/Error: super NameError: undefined local variable or method `manifest' for #<RSpec::ExampleGroups::SelinuxClassModeSwitching::WhenSwitchingFromEnforcingToDisabled::BeforeReboot::BehavesLikeAnIdempotentResource "applies with no errors" (./vendor/bundle/ruby/3.2.0/gems/voxpupuli-acceptance-3.0.0/lib/voxpupuli/acceptance/examples.rb:4)> Shared Example Group: "an idempotent resource" called from ./spec/acceptance/class_disabled_spec.rb:60
Puppet / Puppet 8 - Rocky 8: vendor/bundle/ruby/3.2.0/gems/voxpupuli-acceptance-3.0.0/lib/voxpupuli/acceptance/examples.rb#L8
selinux class - mode switching when switching from enforcing to disabled before reboot behaves like an idempotent resource applies a second time without changes Failure/Error: super NameError: undefined local variable or method `manifest' for #<RSpec::ExampleGroups::SelinuxClassModeSwitching::WhenSwitchingFromEnforcingToDisabled::BeforeReboot::BehavesLikeAnIdempotentResource "applies a second time without changes" (./vendor/bundle/ruby/3.2.0/gems/voxpupuli-acceptance-3.0.0/lib/voxpupuli/acceptance/examples.rb:8)> Shared Example Group: "an idempotent resource" called from ./spec/acceptance/class_disabled_spec.rb:60
Puppet / Puppet 8 - Rocky 8: spec/acceptance/class_disabled_spec.rb#L63
selinux class - mode switching when switching from enforcing to disabled before reboot File "/etc/selinux/config" content is expected to match /^SELINUX=disabled$/ Failure/Error: its(:content) { is_expected.to match(%r{^SELINUX=disabled$}) } expected "\n# This file controls the state of SELinux on the system.\n# SELINUX=enforcing\n# enforcing - S...processes are protected. \n# mls - Multi Level Security protection.\nSELINUXTYPE=targeted\n\n\n" to match /^SELINUX=disabled$/ Diff: @@ -1,12 +1,23 @@ -/^SELINUX=disabled$/ + +# This file controls the state of SELinux on the system. +# SELINUX=enforcing +# enforcing - SELinux security policy is enforced. +# permissive - SELinux prints warnings instead of enforcing. +# disabled - No SELinux policy is loaded. +SELINUX=enforcing +# SELINUXTYPE= can take one of these three values: +# targeted - Targeted processes are protected, +# minimum - Modification of targeted policy. Only selected processes are protected. +# mls - Multi Level Security protection. +SELINUXTYPE=targeted
Puppet / Puppet 8 - Rocky 8: spec/acceptance/class_disabled_spec.rb#L68
selinux class - mode switching when switching from enforcing to disabled before reboot Command "getenforce" stdout is expected to match /^Permissive$/ Failure/Error: its(:stdout) { is_expected.to match(%r{^Permissive$}) } expected "Enforcing\n" to match /^Permissive$/ Diff: @@ -1 +1 @@ -/^Permissive$/ +Enforcing
Puppet / Puppet 8 - Rocky 8: spec/acceptance/class_disabled_spec.rb#L77
selinux class - mode switching when switching from enforcing to disabled after reboot applies without changes Failure/Error: apply_manifest(pp, catch_changes: true) Beaker::Host::CommandFailure: Host 'rocky8-64-puppet8.example.com' exited with 2 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_135552474.pp.20jBgS Last 10 lines of output were: Info: Loading facts Info: Loading facts �[mNotice: Compiled catalog for rocky8-64-puppet8.example.com in environment production in 0.11 seconds Info: Using environment 'production' Info: Applying configuration version '1706363756' �[mNotice: /Stage[main]/Selinux::Config/File_line[set-selinux-config-to-disabled]/ensure: created �[mNotice: /Stage[main]/Selinux::Config/Exec[change-selinux-status-to-disabled]/returns: executed successfully �[mNotice: Applied catalog in 0.29 seconds
Puppet / Puppet 8 - Rocky 8: spec/acceptance/class_disabled_spec.rb#L82
selinux class - mode switching when switching from enforcing to disabled after reboot Command "getenforce" stdout is expected to match /^Disabled$/ Failure/Error: its(:stdout) { is_expected.to match(%r{^Disabled$}) } expected "Permissive\n" to match /^Disabled$/ Diff: @@ -1 +1 @@ -/^Disabled$/ +Permissive
Puppet / Puppet 8 - Rocky 8: spec/acceptance/class_disabled_spec.rb#L93
selinux class - mode switching while disabled File "/var/test" selinux_label is expected to eq "?" Failure/Error: its(:selinux_label) { is_expected.to eq('?') } expected: "?" got: "unconfined_u:object_r:var_t:s0" (compared using ==)
Puppet / Puppet 8 - Rocky 8: spec/acceptance/class_disabled_spec.rb#L113
selinux class - mode switching when switching from disabled to permissive before reboot Command "getenforce" stdout is expected to match /^Disabled$/ Failure/Error: its(:stdout) { is_expected.to match(%r{^Disabled$}) } expected "Permissive\n" to match /^Disabled$/ Diff: @@ -1 +1 @@ -/^Disabled$/ +Permissive
Puppet / Puppet 8 - Rocky 8: vendor/bundle/ruby/3.2.0/gems/voxpupuli-acceptance-3.0.0/lib/voxpupuli/acceptance/examples.rb#L8
selinux class behaves like an idempotent resource applies a second time without changes Failure/Error: raise CommandFailure, "Host '#{self}' exited with #{result.exit_code} running:\n #{cmdline}\nLast #{@options[:trace_limit]} lines of output were:\n#{result.formatted_output(@options[:trace_limit])}" Beaker::Host::CommandFailure: Host 'rocky8-64-puppet8.example.com' exited with 1 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_135756151.pp.Tf0d0g Last 10 lines of output were: Info: Loading facts Info: Loading facts Warning: This function is deprecated, please use stdlib::ensure_packages instead. at ["/etc/puppetlabs/code/environments/production/modules/selinux/manifests/refpolicy_package.pp", 14]:["/etc/puppetlabs/code/environments/production/modules/selinux/manifests/module.pp", 72] (location: /etc/puppetlabs/code/environments/production/modules/stdlib/lib/puppet/functions/deprecation.rb:35:in `deprecation') �[mNotice: Compiled catalog for rocky8-64-puppet8.example.com in environment production in 0.30 seconds Info: Using environment 'production' Error: Failed to apply catalog: Cannot alias Selinux_fcontext[absent] to ["/tmp/fcontexts_source(/.*)?_a"]; resource ["Selinux_fcontext", "/tmp/fcontexts_source(/.*)?_a"] already declared (file: /etc/puppetlabs/code/environments/production/modules/selinux/manifests/fcontext.pp, line: 59) Shared Example Group: "an idempotent resource" called from ./spec/acceptance/class_spec.rb:108
Puppet / Puppet 8 - Rocky 8
Process completed with exit code 1.
Puppet / Puppet 7 - Rocky 8: vendor/bundle/ruby/3.2.0/gems/voxpupuli-acceptance-3.0.0/lib/voxpupuli/acceptance/examples.rb#L4
selinux class - mode switching when switching from enforcing to disabled before reboot behaves like an idempotent resource applies with no errors Failure/Error: super NameError: undefined local variable or method `manifest' for #<RSpec::ExampleGroups::SelinuxClassModeSwitching::WhenSwitchingFromEnforcingToDisabled::BeforeReboot::BehavesLikeAnIdempotentResource "applies with no errors" (./vendor/bundle/ruby/3.2.0/gems/voxpupuli-acceptance-3.0.0/lib/voxpupuli/acceptance/examples.rb:4)> Shared Example Group: "an idempotent resource" called from ./spec/acceptance/class_disabled_spec.rb:60
Puppet / Puppet 7 - Rocky 8: vendor/bundle/ruby/3.2.0/gems/voxpupuli-acceptance-3.0.0/lib/voxpupuli/acceptance/examples.rb#L8
selinux class - mode switching when switching from enforcing to disabled before reboot behaves like an idempotent resource applies a second time without changes Failure/Error: super NameError: undefined local variable or method `manifest' for #<RSpec::ExampleGroups::SelinuxClassModeSwitching::WhenSwitchingFromEnforcingToDisabled::BeforeReboot::BehavesLikeAnIdempotentResource "applies a second time without changes" (./vendor/bundle/ruby/3.2.0/gems/voxpupuli-acceptance-3.0.0/lib/voxpupuli/acceptance/examples.rb:8)> Shared Example Group: "an idempotent resource" called from ./spec/acceptance/class_disabled_spec.rb:60
Puppet / Puppet 7 - Rocky 8: spec/acceptance/class_disabled_spec.rb#L63
selinux class - mode switching when switching from enforcing to disabled before reboot File "/etc/selinux/config" content is expected to match /^SELINUX=disabled$/ Failure/Error: its(:content) { is_expected.to match(%r{^SELINUX=disabled$}) } expected "\n# This file controls the state of SELinux on the system.\n# SELINUX=enforcing\n# enforcing - S...processes are protected. \n# mls - Multi Level Security protection.\nSELINUXTYPE=targeted\n\n\n" to match /^SELINUX=disabled$/ Diff: @@ -1,12 +1,23 @@ -/^SELINUX=disabled$/ + +# This file controls the state of SELinux on the system. +# SELINUX=enforcing +# enforcing - SELinux security policy is enforced. +# permissive - SELinux prints warnings instead of enforcing. +# disabled - No SELinux policy is loaded. +SELINUX=enforcing +# SELINUXTYPE= can take one of these three values: +# targeted - Targeted processes are protected, +# minimum - Modification of targeted policy. Only selected processes are protected. +# mls - Multi Level Security protection. +SELINUXTYPE=targeted
Puppet / Puppet 7 - Rocky 8: spec/acceptance/class_disabled_spec.rb#L68
selinux class - mode switching when switching from enforcing to disabled before reboot Command "getenforce" stdout is expected to match /^Permissive$/ Failure/Error: its(:stdout) { is_expected.to match(%r{^Permissive$}) } expected "Enforcing\n" to match /^Permissive$/ Diff: @@ -1 +1 @@ -/^Permissive$/ +Enforcing
Puppet / Puppet 7 - Rocky 8: spec/acceptance/class_disabled_spec.rb#L77
selinux class - mode switching when switching from enforcing to disabled after reboot applies without changes Failure/Error: apply_manifest(pp, catch_changes: true) Beaker::Host::CommandFailure: Host 'rocky8-64-puppet7.example.com' exited with 2 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_135550249.pp.2Ge3wR Last 10 lines of output were: Info: Loading facts Info: Loading facts �[mNotice: Compiled catalog for rocky8-64-puppet7.example.com in environment production in 0.06 seconds Info: Using environment 'production' Info: Applying configuration version '1706363753' �[mNotice: /Stage[main]/Selinux::Config/File_line[set-selinux-config-to-disabled]/ensure: created �[mNotice: /Stage[main]/Selinux::Config/Exec[change-selinux-status-to-disabled]/returns: executed successfully �[mNotice: Applied catalog in 0.30 seconds
Puppet / Puppet 7 - Rocky 8: spec/acceptance/class_disabled_spec.rb#L82
selinux class - mode switching when switching from enforcing to disabled after reboot Command "getenforce" stdout is expected to match /^Disabled$/ Failure/Error: its(:stdout) { is_expected.to match(%r{^Disabled$}) } expected "Permissive\n" to match /^Disabled$/ Diff: @@ -1 +1 @@ -/^Disabled$/ +Permissive
Puppet / Puppet 7 - Rocky 8: spec/acceptance/class_disabled_spec.rb#L93
selinux class - mode switching while disabled File "/var/test" selinux_label is expected to eq "?" Failure/Error: its(:selinux_label) { is_expected.to eq('?') } expected: "?" got: "unconfined_u:object_r:var_t:s0" (compared using ==)
Puppet / Puppet 7 - Rocky 8: spec/acceptance/class_disabled_spec.rb#L113
selinux class - mode switching when switching from disabled to permissive before reboot Command "getenforce" stdout is expected to match /^Disabled$/ Failure/Error: its(:stdout) { is_expected.to match(%r{^Disabled$}) } expected "Permissive\n" to match /^Disabled$/ Diff: @@ -1 +1 @@ -/^Disabled$/ +Permissive
Puppet / Puppet 7 - Rocky 8: vendor/bundle/ruby/3.2.0/gems/voxpupuli-acceptance-3.0.0/lib/voxpupuli/acceptance/examples.rb#L8
selinux class behaves like an idempotent resource applies a second time without changes Failure/Error: raise CommandFailure, "Host '#{self}' exited with #{result.exit_code} running:\n #{cmdline}\nLast #{@options[:trace_limit]} lines of output were:\n#{result.formatted_output(@options[:trace_limit])}" Beaker::Host::CommandFailure: Host 'rocky8-64-puppet7.example.com' exited with 1 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_135813741.pp.BCHANT Last 10 lines of output were: Info: Loading facts Info: Loading facts Warning: This function is deprecated, please use stdlib::ensure_packages instead. at ["/etc/puppetlabs/code/environments/production/modules/selinux/manifests/refpolicy_package.pp", 14]:["/etc/puppetlabs/code/environments/production/modules/selinux/manifests/module.pp", 72] (location: /etc/puppetlabs/code/environments/production/modules/stdlib/lib/puppet/functions/deprecation.rb:35:in `deprecation') �[mNotice: Compiled catalog for rocky8-64-puppet7.example.com in environment production in 0.18 seconds Info: Using environment 'production' Error: Failed to apply catalog: Cannot alias Selinux_fcontext[absent] to ["/tmp/fcontexts_source(/.*)?_a"]; resource ["Selinux_fcontext", "/tmp/fcontexts_source(/.*)?_a"] already declared (file: /etc/puppetlabs/code/environments/production/modules/selinux/manifests/fcontext.pp, line: 59) Shared Example Group: "an idempotent resource" called from ./spec/acceptance/class_spec.rb:108
Puppet / Puppet 7 - Rocky 8
Process completed with exit code 1.
Puppet / Puppet 8 - AlmaLinux 8: vendor/bundle/ruby/3.2.0/gems/voxpupuli-acceptance-3.0.0/lib/voxpupuli/acceptance/examples.rb#L4
selinux class - mode switching when switching from enforcing to disabled before reboot behaves like an idempotent resource applies with no errors Failure/Error: super NameError: undefined local variable or method `manifest' for #<RSpec::ExampleGroups::SelinuxClassModeSwitching::WhenSwitchingFromEnforcingToDisabled::BeforeReboot::BehavesLikeAnIdempotentResource "applies with no errors" (./vendor/bundle/ruby/3.2.0/gems/voxpupuli-acceptance-3.0.0/lib/voxpupuli/acceptance/examples.rb:4)> Shared Example Group: "an idempotent resource" called from ./spec/acceptance/class_disabled_spec.rb:60
Puppet / Puppet 8 - AlmaLinux 8: vendor/bundle/ruby/3.2.0/gems/voxpupuli-acceptance-3.0.0/lib/voxpupuli/acceptance/examples.rb#L8
selinux class - mode switching when switching from enforcing to disabled before reboot behaves like an idempotent resource applies a second time without changes Failure/Error: super NameError: undefined local variable or method `manifest' for #<RSpec::ExampleGroups::SelinuxClassModeSwitching::WhenSwitchingFromEnforcingToDisabled::BeforeReboot::BehavesLikeAnIdempotentResource "applies a second time without changes" (./vendor/bundle/ruby/3.2.0/gems/voxpupuli-acceptance-3.0.0/lib/voxpupuli/acceptance/examples.rb:8)> Shared Example Group: "an idempotent resource" called from ./spec/acceptance/class_disabled_spec.rb:60
Puppet / Puppet 8 - AlmaLinux 8: spec/acceptance/class_disabled_spec.rb#L63
selinux class - mode switching when switching from enforcing to disabled before reboot File "/etc/selinux/config" content is expected to match /^SELINUX=disabled$/ Failure/Error: its(:content) { is_expected.to match(%r{^SELINUX=disabled$}) } expected "\n# This file controls the state of SELinux on the system.\n# SELINUX=enforcing\n# enforcing - S...processes are protected. \n# mls - Multi Level Security protection.\nSELINUXTYPE=targeted\n\n\n" to match /^SELINUX=disabled$/ Diff: @@ -1,12 +1,23 @@ -/^SELINUX=disabled$/ + +# This file controls the state of SELinux on the system. +# SELINUX=enforcing +# enforcing - SELinux security policy is enforced. +# permissive - SELinux prints warnings instead of enforcing. +# disabled - No SELinux policy is loaded. +SELINUX=enforcing +# SELINUXTYPE= can take one of these three values: +# targeted - Targeted processes are protected, +# minimum - Modification of targeted policy. Only selected processes are protected. +# mls - Multi Level Security protection. +SELINUXTYPE=targeted
Puppet / Puppet 8 - AlmaLinux 8: spec/acceptance/class_disabled_spec.rb#L68
selinux class - mode switching when switching from enforcing to disabled before reboot Command "getenforce" stdout is expected to match /^Permissive$/ Failure/Error: its(:stdout) { is_expected.to match(%r{^Permissive$}) } expected "Enforcing\n" to match /^Permissive$/ Diff: @@ -1 +1 @@ -/^Permissive$/ +Enforcing
Puppet / Puppet 8 - AlmaLinux 8: spec/acceptance/class_disabled_spec.rb#L77
selinux class - mode switching when switching from enforcing to disabled after reboot applies without changes Failure/Error: apply_manifest(pp, catch_changes: true) Beaker::Host::CommandFailure: Host 'almalinux8-64-puppet8.example.com' exited with 2 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_135548883.pp.IDwKdM Last 10 lines of output were: Info: Loading facts Info: Loading facts �[mNotice: Compiled catalog for almalinux8-64-puppet8.example.com in environment production in 0.11 seconds Info: Using environment 'production' Info: Applying configuration version '1706363752' �[mNotice: /Stage[main]/Selinux::Config/File_line[set-selinux-config-to-disabled]/ensure: created �[mNotice: /Stage[main]/Selinux::Config/Exec[change-selinux-status-to-disabled]/returns: executed successfully �[mNotice: Applied catalog in 0.22 seconds
Puppet / Puppet 8 - AlmaLinux 8: spec/acceptance/class_disabled_spec.rb#L82
selinux class - mode switching when switching from enforcing to disabled after reboot Command "getenforce" stdout is expected to match /^Disabled$/ Failure/Error: its(:stdout) { is_expected.to match(%r{^Disabled$}) } expected "Permissive\n" to match /^Disabled$/ Diff: @@ -1 +1 @@ -/^Disabled$/ +Permissive
Puppet / Puppet 8 - AlmaLinux 8: spec/acceptance/class_disabled_spec.rb#L93
selinux class - mode switching while disabled File "/var/test" selinux_label is expected to eq "?" Failure/Error: its(:selinux_label) { is_expected.to eq('?') } expected: "?" got: "unconfined_u:object_r:var_t:s0" (compared using ==)
Puppet / Puppet 8 - AlmaLinux 8: spec/acceptance/class_disabled_spec.rb#L113
selinux class - mode switching when switching from disabled to permissive before reboot Command "getenforce" stdout is expected to match /^Disabled$/ Failure/Error: its(:stdout) { is_expected.to match(%r{^Disabled$}) } expected "Permissive\n" to match /^Disabled$/ Diff: @@ -1 +1 @@ -/^Disabled$/ +Permissive
Puppet / Puppet 8 - AlmaLinux 8: vendor/bundle/ruby/3.2.0/gems/voxpupuli-acceptance-3.0.0/lib/voxpupuli/acceptance/examples.rb#L8
selinux class behaves like an idempotent resource applies a second time without changes Failure/Error: raise CommandFailure, "Host '#{self}' exited with #{result.exit_code} running:\n #{cmdline}\nLast #{@options[:trace_limit]} lines of output were:\n#{result.formatted_output(@options[:trace_limit])}" Beaker::Host::CommandFailure: Host 'almalinux8-64-puppet8.example.com' exited with 1 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_135757196.pp.vk5CEI Last 10 lines of output were: Info: Loading facts Info: Loading facts Warning: This function is deprecated, please use stdlib::ensure_packages instead. at ["/etc/puppetlabs/code/environments/production/modules/selinux/manifests/refpolicy_package.pp", 14]:["/etc/puppetlabs/code/environments/production/modules/selinux/manifests/module.pp", 72] (location: /etc/puppetlabs/code/environments/production/modules/stdlib/lib/puppet/functions/deprecation.rb:35:in `deprecation') �[mNotice: Compiled catalog for almalinux8-64-puppet8.example.com in environment production in 0.32 seconds Info: Using environment 'production' Error: Failed to apply catalog: Cannot alias Selinux_fcontext[absent] to ["/tmp/fcontexts_source(/.*)?_a"]; resource ["Selinux_fcontext", "/tmp/fcontexts_source(/.*)?_a"] already declared (file: /etc/puppetlabs/code/environments/production/modules/selinux/manifests/fcontext.pp, line: 59) Shared Example Group: "an idempotent resource" called from ./spec/acceptance/class_spec.rb:108
Puppet / Puppet 8 - AlmaLinux 8
Process completed with exit code 1.
Puppet / Puppet 8 - CentOS 8: vendor/bundle/ruby/3.2.0/gems/voxpupuli-acceptance-3.0.0/lib/voxpupuli/acceptance/examples.rb#L4
selinux class - mode switching when switching from enforcing to disabled before reboot behaves like an idempotent resource applies with no errors Failure/Error: super NameError: undefined local variable or method `manifest' for #<RSpec::ExampleGroups::SelinuxClassModeSwitching::WhenSwitchingFromEnforcingToDisabled::BeforeReboot::BehavesLikeAnIdempotentResource "applies with no errors" (./vendor/bundle/ruby/3.2.0/gems/voxpupuli-acceptance-3.0.0/lib/voxpupuli/acceptance/examples.rb:4)> Shared Example Group: "an idempotent resource" called from ./spec/acceptance/class_disabled_spec.rb:60
Puppet / Puppet 8 - CentOS 8: vendor/bundle/ruby/3.2.0/gems/voxpupuli-acceptance-3.0.0/lib/voxpupuli/acceptance/examples.rb#L8
selinux class - mode switching when switching from enforcing to disabled before reboot behaves like an idempotent resource applies a second time without changes Failure/Error: super NameError: undefined local variable or method `manifest' for #<RSpec::ExampleGroups::SelinuxClassModeSwitching::WhenSwitchingFromEnforcingToDisabled::BeforeReboot::BehavesLikeAnIdempotentResource "applies a second time without changes" (./vendor/bundle/ruby/3.2.0/gems/voxpupuli-acceptance-3.0.0/lib/voxpupuli/acceptance/examples.rb:8)> Shared Example Group: "an idempotent resource" called from ./spec/acceptance/class_disabled_spec.rb:60
Puppet / Puppet 8 - CentOS 8: spec/acceptance/class_disabled_spec.rb#L63
selinux class - mode switching when switching from enforcing to disabled before reboot File "/etc/selinux/config" content is expected to match /^SELINUX=disabled$/ Failure/Error: its(:content) { is_expected.to match(%r{^SELINUX=disabled$}) } expected "\n# This file controls the state of SELinux on the system.\n# SELINUX=enforcing\n# enforcing - S...processes are protected. \n# mls - Multi Level Security protection.\nSELINUXTYPE=targeted\n\n\n" to match /^SELINUX=disabled$/ Diff: @@ -1,12 +1,23 @@ -/^SELINUX=disabled$/ + +# This file controls the state of SELinux on the system. +# SELINUX=enforcing +# enforcing - SELinux security policy is enforced. +# permissive - SELinux prints warnings instead of enforcing. +# disabled - No SELinux policy is loaded. +SELINUX=enforcing +# SELINUXTYPE= can take one of these three values: +# targeted - Targeted processes are protected, +# minimum - Modification of targeted policy. Only selected processes are protected. +# mls - Multi Level Security protection. +SELINUXTYPE=targeted
Puppet / Puppet 8 - CentOS 8: spec/acceptance/class_disabled_spec.rb#L68
selinux class - mode switching when switching from enforcing to disabled before reboot Command "getenforce" stdout is expected to match /^Permissive$/ Failure/Error: its(:stdout) { is_expected.to match(%r{^Permissive$}) } expected "Enforcing\n" to match /^Permissive$/ Diff: @@ -1 +1 @@ -/^Permissive$/ +Enforcing
Puppet / Puppet 8 - CentOS 8: spec/acceptance/class_disabled_spec.rb#L77
selinux class - mode switching when switching from enforcing to disabled after reboot applies without changes Failure/Error: apply_manifest(pp, catch_changes: true) Beaker::Host::CommandFailure: Host 'centos8-64-puppet8.example.com' exited with 2 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_135534121.pp.aR5xeF Last 10 lines of output were: Info: Loading facts Info: Loading facts �[mNotice: Compiled catalog for centos8-64-puppet8.example.com in environment production in 0.12 seconds Info: Using environment 'production' Info: Applying configuration version '1706363737' �[mNotice: /Stage[main]/Selinux::Config/File_line[set-selinux-config-to-disabled]/ensure: created �[mNotice: /Stage[main]/Selinux::Config/Exec[change-selinux-status-to-disabled]/returns: executed successfully �[mNotice: Applied catalog in 0.50 seconds
Puppet / Puppet 8 - CentOS 8: spec/acceptance/class_disabled_spec.rb#L82
selinux class - mode switching when switching from enforcing to disabled after reboot Command "getenforce" stdout is expected to match /^Disabled$/ Failure/Error: its(:stdout) { is_expected.to match(%r{^Disabled$}) } expected "Permissive\n" to match /^Disabled$/ Diff: @@ -1 +1 @@ -/^Disabled$/ +Permissive
Puppet / Puppet 8 - CentOS 8: spec/acceptance/class_disabled_spec.rb#L93
selinux class - mode switching while disabled File "/var/test" selinux_label is expected to eq "?" Failure/Error: its(:selinux_label) { is_expected.to eq('?') } expected: "?" got: "unconfined_u:object_r:var_t:s0" (compared using ==)
Puppet / Puppet 8 - CentOS 8: spec/acceptance/class_disabled_spec.rb#L113
selinux class - mode switching when switching from disabled to permissive before reboot Command "getenforce" stdout is expected to match /^Disabled$/ Failure/Error: its(:stdout) { is_expected.to match(%r{^Disabled$}) } expected "Permissive\n" to match /^Disabled$/ Diff: @@ -1 +1 @@ -/^Disabled$/ +Permissive
Puppet / Puppet 8 - CentOS 8: vendor/bundle/ruby/3.2.0/gems/voxpupuli-acceptance-3.0.0/lib/voxpupuli/acceptance/examples.rb#L8
selinux class behaves like an idempotent resource applies a second time without changes Failure/Error: raise CommandFailure, "Host '#{self}' exited with #{result.exit_code} running:\n #{cmdline}\nLast #{@options[:trace_limit]} lines of output were:\n#{result.formatted_output(@options[:trace_limit])}" Beaker::Host::CommandFailure: Host 'centos8-64-puppet8.example.com' exited with 1 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_135742744.pp.tXAB8I Last 10 lines of output were: Info: Loading facts Info: Loading facts Warning: This function is deprecated, please use stdlib::ensure_packages instead. at ["/etc/puppetlabs/code/environments/production/modules/selinux/manifests/refpolicy_package.pp", 14]:["/etc/puppetlabs/code/environments/production/modules/selinux/manifests/module.pp", 72] (location: /etc/puppetlabs/code/environments/production/modules/stdlib/lib/puppet/functions/deprecation.rb:35:in `deprecation') �[mNotice: Compiled catalog for centos8-64-puppet8.example.com in environment production in 0.35 seconds Info: Using environment 'production' Error: Failed to apply catalog: Cannot alias Selinux_fcontext[absent] to ["/tmp/fcontexts_source(/.*)?_a"]; resource ["Selinux_fcontext", "/tmp/fcontexts_source(/.*)?_a"] already declared (file: /etc/puppetlabs/code/environments/production/modules/selinux/manifests/fcontext.pp, line: 59) Shared Example Group: "an idempotent resource" called from ./spec/acceptance/class_spec.rb:108
Puppet / Puppet 8 - CentOS 8
Process completed with exit code 1.
Puppet / Puppet 7 - OracleLinux 8: vendor/bundle/ruby/3.2.0/gems/voxpupuli-acceptance-3.0.0/lib/voxpupuli/acceptance/examples.rb#L4
selinux class - mode switching when switching from enforcing to disabled before reboot behaves like an idempotent resource applies with no errors Failure/Error: super NameError: undefined local variable or method `manifest' for #<RSpec::ExampleGroups::SelinuxClassModeSwitching::WhenSwitchingFromEnforcingToDisabled::BeforeReboot::BehavesLikeAnIdempotentResource "applies with no errors" (./vendor/bundle/ruby/3.2.0/gems/voxpupuli-acceptance-3.0.0/lib/voxpupuli/acceptance/examples.rb:4)> Shared Example Group: "an idempotent resource" called from ./spec/acceptance/class_disabled_spec.rb:60
Puppet / Puppet 7 - OracleLinux 8: vendor/bundle/ruby/3.2.0/gems/voxpupuli-acceptance-3.0.0/lib/voxpupuli/acceptance/examples.rb#L8
selinux class - mode switching when switching from enforcing to disabled before reboot behaves like an idempotent resource applies a second time without changes Failure/Error: super NameError: undefined local variable or method `manifest' for #<RSpec::ExampleGroups::SelinuxClassModeSwitching::WhenSwitchingFromEnforcingToDisabled::BeforeReboot::BehavesLikeAnIdempotentResource "applies a second time without changes" (./vendor/bundle/ruby/3.2.0/gems/voxpupuli-acceptance-3.0.0/lib/voxpupuli/acceptance/examples.rb:8)> Shared Example Group: "an idempotent resource" called from ./spec/acceptance/class_disabled_spec.rb:60
Puppet / Puppet 7 - OracleLinux 8: spec/acceptance/class_disabled_spec.rb#L63
selinux class - mode switching when switching from enforcing to disabled before reboot File "/etc/selinux/config" content is expected to match /^SELINUX=disabled$/ Failure/Error: its(:content) { is_expected.to match(%r{^SELINUX=disabled$}) } expected "\n# This file controls the state of SELinux on the system.\n# SELINUX=enforcing\n# enforcing - S...processes are protected. \n# mls - Multi Level Security protection.\nSELINUXTYPE=targeted\n\n\n" to match /^SELINUX=disabled$/ Diff: @@ -1,12 +1,23 @@ -/^SELINUX=disabled$/ + +# This file controls the state of SELinux on the system. +# SELINUX=enforcing +# enforcing - SELinux security policy is enforced. +# permissive - SELinux prints warnings instead of enforcing. +# disabled - No SELinux policy is loaded. +SELINUX=enforcing +# SELINUXTYPE= can take one of these three values: +# targeted - Targeted processes are protected, +# minimum - Modification of targeted policy. Only selected processes are protected. +# mls - Multi Level Security protection. +SELINUXTYPE=targeted
Puppet / Puppet 7 - OracleLinux 8: spec/acceptance/class_disabled_spec.rb#L68
selinux class - mode switching when switching from enforcing to disabled before reboot Command "getenforce" stdout is expected to match /^Permissive$/ Failure/Error: its(:stdout) { is_expected.to match(%r{^Permissive$}) } expected "Enforcing\n" to match /^Permissive$/ Diff: @@ -1 +1 @@ -/^Permissive$/ +Enforcing
Puppet / Puppet 7 - OracleLinux 8: spec/acceptance/class_disabled_spec.rb#L77
selinux class - mode switching when switching from enforcing to disabled after reboot applies without changes Failure/Error: apply_manifest(pp, catch_changes: true) Beaker::Host::CommandFailure: Host 'oracle8-64-puppet7.example.com' exited with 2 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_135630703.pp.X6zmHx Last 10 lines of output were: Info: Loading facts Info: Loading facts �[mNotice: Compiled catalog for oracle8-64-puppet7.example.com in environment production in 0.07 seconds Info: Using environment 'production' Info: Applying configuration version '1706363793' �[mNotice: /Stage[main]/Selinux::Config/File_line[set-selinux-config-to-disabled]/ensure: created �[mNotice: /Stage[main]/Selinux::Config/Exec[change-selinux-status-to-disabled]/returns: executed successfully �[mNotice: Applied catalog in 0.30 seconds
Puppet / Puppet 7 - OracleLinux 8: spec/acceptance/class_disabled_spec.rb#L82
selinux class - mode switching when switching from enforcing to disabled after reboot Command "getenforce" stdout is expected to match /^Disabled$/ Failure/Error: its(:stdout) { is_expected.to match(%r{^Disabled$}) } expected "Permissive\n" to match /^Disabled$/ Diff: @@ -1 +1 @@ -/^Disabled$/ +Permissive
Puppet / Puppet 7 - OracleLinux 8: spec/acceptance/class_disabled_spec.rb#L93
selinux class - mode switching while disabled File "/var/test" selinux_label is expected to eq "?" Failure/Error: its(:selinux_label) { is_expected.to eq('?') } expected: "?" got: "unconfined_u:object_r:var_t:s0" (compared using ==)
Puppet / Puppet 7 - OracleLinux 8: spec/acceptance/class_disabled_spec.rb#L113
selinux class - mode switching when switching from disabled to permissive before reboot Command "getenforce" stdout is expected to match /^Disabled$/ Failure/Error: its(:stdout) { is_expected.to match(%r{^Disabled$}) } expected "Permissive\n" to match /^Disabled$/ Diff: @@ -1 +1 @@ -/^Disabled$/ +Permissive
Puppet / Puppet 7 - OracleLinux 8: vendor/bundle/ruby/3.2.0/gems/voxpupuli-acceptance-3.0.0/lib/voxpupuli/acceptance/examples.rb#L8
selinux class behaves like an idempotent resource applies a second time without changes Failure/Error: raise CommandFailure, "Host '#{self}' exited with #{result.exit_code} running:\n #{cmdline}\nLast #{@options[:trace_limit]} lines of output were:\n#{result.formatted_output(@options[:trace_limit])}" Beaker::Host::CommandFailure: Host 'oracle8-64-puppet7.example.com' exited with 1 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_135834773.pp.L2xUoL Last 10 lines of output were: Info: Loading facts Info: Loading facts Warning: This function is deprecated, please use stdlib::ensure_packages instead. at ["/etc/puppetlabs/code/environments/production/modules/selinux/manifests/refpolicy_package.pp", 14]:["/etc/puppetlabs/code/environments/production/modules/selinux/manifests/module.pp", 72] (location: /etc/puppetlabs/code/environments/production/modules/stdlib/lib/puppet/functions/deprecation.rb:35:in `deprecation') �[mNotice: Compiled catalog for oracle8-64-puppet7.example.com in environment production in 0.17 seconds Info: Using environment 'production' Error: Failed to apply catalog: Cannot alias Selinux_fcontext[absent] to ["/tmp/fcontexts_source(/.*)?_a"]; resource ["Selinux_fcontext", "/tmp/fcontexts_source(/.*)?_a"] already declared (file: /etc/puppetlabs/code/environments/production/modules/selinux/manifests/fcontext.pp, line: 59) Shared Example Group: "an idempotent resource" called from ./spec/acceptance/class_spec.rb:108
Puppet / Puppet 7 - OracleLinux 8
Process completed with exit code 1.
Puppet / Puppet 8 - OracleLinux 8: vendor/bundle/ruby/3.2.0/gems/voxpupuli-acceptance-3.0.0/lib/voxpupuli/acceptance/examples.rb#L4
selinux class - mode switching when switching from enforcing to disabled before reboot behaves like an idempotent resource applies with no errors Failure/Error: super NameError: undefined local variable or method `manifest' for #<RSpec::ExampleGroups::SelinuxClassModeSwitching::WhenSwitchingFromEnforcingToDisabled::BeforeReboot::BehavesLikeAnIdempotentResource "applies with no errors" (./vendor/bundle/ruby/3.2.0/gems/voxpupuli-acceptance-3.0.0/lib/voxpupuli/acceptance/examples.rb:4)> Shared Example Group: "an idempotent resource" called from ./spec/acceptance/class_disabled_spec.rb:60
Puppet / Puppet 8 - OracleLinux 8: vendor/bundle/ruby/3.2.0/gems/voxpupuli-acceptance-3.0.0/lib/voxpupuli/acceptance/examples.rb#L8
selinux class - mode switching when switching from enforcing to disabled before reboot behaves like an idempotent resource applies a second time without changes Failure/Error: super NameError: undefined local variable or method `manifest' for #<RSpec::ExampleGroups::SelinuxClassModeSwitching::WhenSwitchingFromEnforcingToDisabled::BeforeReboot::BehavesLikeAnIdempotentResource "applies a second time without changes" (./vendor/bundle/ruby/3.2.0/gems/voxpupuli-acceptance-3.0.0/lib/voxpupuli/acceptance/examples.rb:8)> Shared Example Group: "an idempotent resource" called from ./spec/acceptance/class_disabled_spec.rb:60
Puppet / Puppet 8 - OracleLinux 8: spec/acceptance/class_disabled_spec.rb#L63
selinux class - mode switching when switching from enforcing to disabled before reboot File "/etc/selinux/config" content is expected to match /^SELINUX=disabled$/ Failure/Error: its(:content) { is_expected.to match(%r{^SELINUX=disabled$}) } expected "\n# This file controls the state of SELinux on the system.\n# SELINUX=enforcing\n# enforcing - S...processes are protected. \n# mls - Multi Level Security protection.\nSELINUXTYPE=targeted\n\n\n" to match /^SELINUX=disabled$/ Diff: @@ -1,12 +1,23 @@ -/^SELINUX=disabled$/ + +# This file controls the state of SELinux on the system. +# SELINUX=enforcing +# enforcing - SELinux security policy is enforced. +# permissive - SELinux prints warnings instead of enforcing. +# disabled - No SELinux policy is loaded. +SELINUX=enforcing +# SELINUXTYPE= can take one of these three values: +# targeted - Targeted processes are protected, +# minimum - Modification of targeted policy. Only selected processes are protected. +# mls - Multi Level Security protection. +SELINUXTYPE=targeted
Puppet / Puppet 8 - OracleLinux 8: spec/acceptance/class_disabled_spec.rb#L68
selinux class - mode switching when switching from enforcing to disabled before reboot Command "getenforce" stdout is expected to match /^Permissive$/ Failure/Error: its(:stdout) { is_expected.to match(%r{^Permissive$}) } expected "Enforcing\n" to match /^Permissive$/ Diff: @@ -1 +1 @@ -/^Permissive$/ +Enforcing
Puppet / Puppet 8 - OracleLinux 8: spec/acceptance/class_disabled_spec.rb#L77
selinux class - mode switching when switching from enforcing to disabled after reboot applies without changes Failure/Error: apply_manifest(pp, catch_changes: true) Beaker::Host::CommandFailure: Host 'oracle8-64-puppet8.example.com' exited with 2 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_135647124.pp.R7gqgq Last 10 lines of output were: Info: Loading facts Info: Loading facts �[mNotice: Compiled catalog for oracle8-64-puppet8.example.com in environment production in 0.11 seconds Info: Using environment 'production' Info: Applying configuration version '1706363810' �[mNotice: /Stage[main]/Selinux::Config/File_line[set-selinux-config-to-disabled]/ensure: created �[mNotice: /Stage[main]/Selinux::Config/Exec[change-selinux-status-to-disabled]/returns: executed successfully �[mNotice: Applied catalog in 0.27 seconds
Puppet / Puppet 8 - OracleLinux 8: spec/acceptance/class_disabled_spec.rb#L82
selinux class - mode switching when switching from enforcing to disabled after reboot Command "getenforce" stdout is expected to match /^Disabled$/ Failure/Error: its(:stdout) { is_expected.to match(%r{^Disabled$}) } expected "Permissive\n" to match /^Disabled$/ Diff: @@ -1 +1 @@ -/^Disabled$/ +Permissive
Puppet / Puppet 8 - OracleLinux 8: spec/acceptance/class_disabled_spec.rb#L93
selinux class - mode switching while disabled File "/var/test" selinux_label is expected to eq "?" Failure/Error: its(:selinux_label) { is_expected.to eq('?') } expected: "?" got: "unconfined_u:object_r:var_t:s0" (compared using ==)
Puppet / Puppet 8 - OracleLinux 8: spec/acceptance/class_disabled_spec.rb#L113
selinux class - mode switching when switching from disabled to permissive before reboot Command "getenforce" stdout is expected to match /^Disabled$/ Failure/Error: its(:stdout) { is_expected.to match(%r{^Disabled$}) } expected "Permissive\n" to match /^Disabled$/ Diff: @@ -1 +1 @@ -/^Disabled$/ +Permissive
Puppet / Puppet 8 - OracleLinux 8: vendor/bundle/ruby/3.2.0/gems/voxpupuli-acceptance-3.0.0/lib/voxpupuli/acceptance/examples.rb#L8
selinux class behaves like an idempotent resource applies a second time without changes Failure/Error: raise CommandFailure, "Host '#{self}' exited with #{result.exit_code} running:\n #{cmdline}\nLast #{@options[:trace_limit]} lines of output were:\n#{result.formatted_output(@options[:trace_limit])}" Beaker::Host::CommandFailure: Host 'oracle8-64-puppet8.example.com' exited with 1 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_135852050.pp.rILsBh Last 10 lines of output were: Info: Loading facts Info: Loading facts Warning: This function is deprecated, please use stdlib::ensure_packages instead. at ["/etc/puppetlabs/code/environments/production/modules/selinux/manifests/refpolicy_package.pp", 14]:["/etc/puppetlabs/code/environments/production/modules/selinux/manifests/module.pp", 72] (location: /etc/puppetlabs/code/environments/production/modules/stdlib/lib/puppet/functions/deprecation.rb:35:in `deprecation') �[mNotice: Compiled catalog for oracle8-64-puppet8.example.com in environment production in 0.32 seconds Info: Using environment 'production' Error: Failed to apply catalog: Cannot alias Selinux_fcontext[absent] to ["/tmp/fcontexts_source(/.*)?_a"]; resource ["Selinux_fcontext", "/tmp/fcontexts_source(/.*)?_a"] already declared (file: /etc/puppetlabs/code/environments/production/modules/selinux/manifests/fcontext.pp, line: 59) Shared Example Group: "an idempotent resource" called from ./spec/acceptance/class_spec.rb:108
Puppet / Puppet 8 - OracleLinux 8
Process completed with exit code 1.
Puppet / Puppet 7 - AlmaLinux 9
Process completed with exit code 1.
Puppet / Puppet 7 - OracleLinux 9
Canceling since a higher priority waiting request for '383/merge' exists
Puppet / Puppet 7 - OracleLinux 9
The operation was canceled.
Puppet / Puppet 8 - OracleLinux 9
Canceling since a higher priority waiting request for '383/merge' exists
Puppet / Puppet 8 - OracleLinux 9
The operation was canceled.
Puppet / Puppet 8 - Rocky 9
Canceling since a higher priority waiting request for '383/merge' exists
Puppet / Puppet 8 - Rocky 9
The operation was canceled.
Puppet / Puppet 8 - AlmaLinux 9
Canceling since a higher priority waiting request for '383/merge' exists
Puppet / Puppet 8 - AlmaLinux 9
The operation was canceled.
Puppet / Puppet 7 - Rocky 9
Canceling since a higher priority waiting request for '383/merge' exists
Puppet / Puppet 7 - Rocky 9
The operation was canceled.
Puppet / Puppet 8 - Debian 10
Canceling since a higher priority waiting request for '383/merge' exists
Puppet / Puppet 8 - Debian 10: vendor/bundle/ruby/3.2.0/gems/voxpupuli-acceptance-3.0.0/lib/voxpupuli/acceptance/examples.rb#L4
selinux class - mode switching when switching from enforcing to disabled before reboot behaves like an idempotent resource applies with no errors Failure/Error: super NameError: undefined local variable or method `manifest' for #<RSpec::ExampleGroups::SelinuxClassModeSwitching::WhenSwitchingFromEnforcingToDisabled::BeforeReboot::BehavesLikeAnIdempotentResource "applies with no errors" (./vendor/bundle/ruby/3.2.0/gems/voxpupuli-acceptance-3.0.0/lib/voxpupuli/acceptance/examples.rb:4)> Shared Example Group: "an idempotent resource" called from ./spec/acceptance/class_disabled_spec.rb:60
Puppet / Puppet 8 - Debian 10: vendor/bundle/ruby/3.2.0/gems/voxpupuli-acceptance-3.0.0/lib/voxpupuli/acceptance/examples.rb#L8
selinux class - mode switching when switching from enforcing to disabled before reboot behaves like an idempotent resource applies a second time without changes Failure/Error: super NameError: undefined local variable or method `manifest' for #<RSpec::ExampleGroups::SelinuxClassModeSwitching::WhenSwitchingFromEnforcingToDisabled::BeforeReboot::BehavesLikeAnIdempotentResource "applies a second time without changes" (./vendor/bundle/ruby/3.2.0/gems/voxpupuli-acceptance-3.0.0/lib/voxpupuli/acceptance/examples.rb:8)> Shared Example Group: "an idempotent resource" called from ./spec/acceptance/class_disabled_spec.rb:60
Puppet / Puppet 8 - Debian 10: spec/acceptance/class_disabled_spec.rb#L63
selinux class - mode switching when switching from enforcing to disabled before reboot File "/etc/selinux/config" content is expected to match /^SELINUX=disabled$/ Failure/Error: its(:content) { is_expected.to match(%r{^SELINUX=disabled$}) } expected "# This file controls the state of SELinux on the system.\n# SELINUX=enforcing\n# enforcing - SELinux...rom source\nSELINUXTYPE=default\n\n# SETLOCALDEFS= Check local definition changes\nSETLOCALDEFS=0\n" to match /^SELINUX=disabled$/ Diff: @@ -1,14 +1,27 @@ -/^SELINUX=disabled$/ +# This file controls the state of SELinux on the system. +# SELINUX=enforcing +# enforcing - SELinux security policy is enforced. +# permissive - SELinux prints warnings instead of enforcing. +# disabled - No SELinux policy is loaded. +SELINUX=enforcing +# SELINUXTYPE= can take one of these two values: +# default - equivalent to the old strict and targeted policies +# mls - Multi-Level Security (for military and educational use) +# src - Custom policy built from source +SELINUXTYPE=default + +# SETLOCALDEFS= Check local definition changes +SETLOCALDEFS=0
Puppet / Puppet 8 - Debian 10: spec/acceptance/class_disabled_spec.rb#L68
selinux class - mode switching when switching from enforcing to disabled before reboot Command "getenforce" stdout is expected to match /^Permissive$/ Failure/Error: its(:stdout) { is_expected.to match(%r{^Permissive$}) } expected "Enforcing\n" to match /^Permissive$/ Diff: @@ -1 +1 @@ -/^Permissive$/ +Enforcing
Puppet / Puppet 8 - Debian 10: spec/acceptance/class_disabled_spec.rb#L77
selinux class - mode switching when switching from enforcing to disabled after reboot applies without changes Failure/Error: apply_manifest(pp, catch_changes: true) Beaker::Host::CommandFailure: Host 'debian10-64-puppet8.example.com' exited with 2 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_135641642.pp.A4HX7l Last 10 lines of output were: Info: Loading facts Info: Loading facts Error: Facter: Error: Facter: ` �[mNotice: Compiled catalog for debian10-64-puppet8.example.com in environment production in 0.10 seconds Info: Using environment 'production' Info: Applying configuration version '1706363804' �[mNotice: /Stage[main]/Selinux::Config/File_line[set-selinux-config-to-disabled]/ensure: created �[mNotice: /Stage[main]/Selinux::Config/Exec[change-selinux-status-to-disabled]/returns: executed successfully �[mNotice: Applied catalog in 0.17 seconds
Puppet / Puppet 8 - Debian 10: spec/acceptance/class_disabled_spec.rb#L82
selinux class - mode switching when switching from enforcing to disabled after reboot Command "getenforce" stdout is expected to match /^Disabled$/ Failure/Error: its(:stdout) { is_expected.to match(%r{^Disabled$}) } expected "Permissive\n" to match /^Disabled$/ Diff: @@ -1 +1 @@ -/^Disabled$/ +Permissive
Puppet / Puppet 8 - Debian 10: spec/acceptance/class_disabled_spec.rb#L93
selinux class - mode switching while disabled File "/var/test" selinux_label is expected to eq "?" Failure/Error: its(:selinux_label) { is_expected.to eq('?') } expected: "?" got: "unconfined_u:object_r:var_t:s0" (compared using ==)
Puppet / Puppet 8 - Debian 10: spec/acceptance/class_disabled_spec.rb#L113
selinux class - mode switching when switching from disabled to permissive before reboot Command "getenforce" stdout is expected to match /^Disabled$/ Failure/Error: its(:stdout) { is_expected.to match(%r{^Disabled$}) } expected "Permissive\n" to match /^Disabled$/ Diff: @@ -1 +1 @@ -/^Disabled$/ +Permissive
Puppet / Puppet 8 - Debian 10
The operation was canceled.
Puppet / Distro Puppet - Debian 12
Canceling since a higher priority waiting request for '383/merge' exists
Puppet / Distro Puppet - Debian 12
The operation was canceled.