Run acceptance tests in CI #120
Annotations
10 errors
|
Run tests:
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
|
Run tests:
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
|
Run tests:
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
|
Run tests:
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
|
Run tests:
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_135021995.pp.3KtACp
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.07 seconds
Info: Using environment 'production'
Info: Applying configuration version '1706363423'
�[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.18 seconds
|
Run tests:
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
|
Run tests:
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 ==)
|
Run tests:
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
|
Run tests
The operation was canceled.
|
The logs for this run have expired and are no longer available.
Loading