Update modulesync and fix test #39
Annotations
10 errors
Run tests:
vendor/bundle/ruby/3.2.0/gems/voxpupuli-acceptance-3.0.0/lib/voxpupuli/acceptance/examples.rb#L4
swap_file class with multiple files config 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 'debian12-64-puppet7.example.com' exited with 6 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_130503878.pp.JY9KU8
Last 10 lines of output were:
Info: Swap_file::Files[swapfile]: Unscheduling all events on Swap_file::Files[swapfile]
�[mNotice: /Stage[main]/Swap_file/Swap_file::Files[use fallocate]/Exec[Create swap file /tmp/swapfile.fallocate]/returns: executed successfully
�[mNotice: /Stage[main]/Swap_file/Swap_file::Files[use fallocate]/File[/tmp/swapfile.fallocate]/mode: mode changed '0644' to '0600'
�[mNotice: /Stage[main]/Swap_file/Swap_file::Files[use fallocate]/Swap_file[/tmp/swapfile.fallocate]/ensure: created
Error: /Stage[main]/Swap_file/Swap_file::Files[use fallocate]/Swap_file[/tmp/swapfile.fallocate]: Could not evaluate: Execution of '/usr/sbin/swapon /tmp/swapfile.fallocate' returned 255: swapon: /tmp/swapfile.fallocate: swapon failed: Invalid argument
�[mNotice: /Stage[main]/Swap_file/Swap_file::Files[use fallocate]/Mount[/tmp/swapfile.fallocate]: Dependency Swap_file[/tmp/swapfile.fallocate] has failures: true
Warning: /Stage[main]/Swap_file/Swap_file::Files[use fallocate]/Mount[/tmp/swapfile.fallocate]: Skipping because of failed dependencies
Info: Swap_file::Files[use fallocate]: Unscheduling all events on Swap_file::Files[use fallocate]
Info: Creating state file /opt/puppetlabs/puppet/cache/state/state.yaml
�[mNotice: Applied catalog in 41.54 seconds
Shared Example Group: "an idempotent resource" called from ./spec/acceptance/swap_file_class_spec.rb:30
|
Run tests:
vendor/bundle/ruby/3.2.0/gems/voxpupuli-acceptance-3.0.0/lib/voxpupuli/acceptance/examples.rb#L8
swap_file class with multiple files config 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 'debian12-64-puppet7.example.com' exited with 6 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_130547131.pp.4NHDH1
Last 10 lines of output were:
Info: Applying configuration version '1712754348'
�[mNotice: /Stage[main]/Swap_file/Swap_file::Files[swapfile]/Swap_file[/mnt/swap.1]/ensure: created
Error: /Stage[main]/Swap_file/Swap_file::Files[swapfile]/Swap_file[/mnt/swap.1]: Could not evaluate: Execution of '/usr/sbin/swapon /mnt/swap.1' returned 255: swapon: /mnt/swap.1: swapon failed: Invalid argument
�[mNotice: /Stage[main]/Swap_file/Swap_file::Files[swapfile]/Mount[/mnt/swap.1]: Dependency Swap_file[/mnt/swap.1] has failures: true
Warning: /Stage[main]/Swap_file/Swap_file::Files[swapfile]/Mount[/mnt/swap.1]: Skipping because of failed dependencies
�[mNotice: /Stage[main]/Swap_file/Swap_file::Files[use fallocate]/Swap_file[/tmp/swapfile.fallocate]/ensure: created
Error: /Stage[main]/Swap_file/Swap_file::Files[use fallocate]/Swap_file[/tmp/swapfile.fallocate]: Could not evaluate: Execution of '/usr/sbin/swapon /tmp/swapfile.fallocate' returned 255: swapon: /tmp/swapfile.fallocate: swapon failed: Invalid argument
�[mNotice: /Stage[main]/Swap_file/Swap_file::Files[use fallocate]/Mount[/tmp/swapfile.fallocate]: Dependency Swap_file[/tmp/swapfile.fallocate] has failures: true
Warning: /Stage[main]/Swap_file/Swap_file::Files[use fallocate]/Mount[/tmp/swapfile.fallocate]: Skipping because of failed dependencies
�[mNotice: Applied catalog in 0.03 seconds
Shared Example Group: "an idempotent resource" called from ./spec/acceptance/swap_file_class_spec.rb:30
|
Run tests:
spec/acceptance/swap_file_class_spec.rb#L55
swap_file class with multiple files config File "/etc/fstab" #<Beaker::Result:0x00007f9c90437c70> content is expected to match /\/mnt\/swap.1/
Failure/Error: its(:content) { is_expected.to match %r{/mnt/swap.1} }
expected "# UNCONFIGURED FSTAB FOR BASE SYSTEM\n" to match /\/mnt\/swap.1/
Diff:
@@ -1 +1 @@
-/\/mnt\/swap.1/
+# UNCONFIGURED FSTAB FOR BASE SYSTEM
|
Run tests:
spec/acceptance/swap_file_class_spec.rb#L56
swap_file class with multiple files config File "/etc/fstab" #<Beaker::Result:0x00007f9c90437c70> content is expected to match /\/tmp\/swapfile.fallocate/
Failure/Error: its(:content) { is_expected.to match %r{/tmp/swapfile.fallocate} }
expected "# UNCONFIGURED FSTAB FOR BASE SYSTEM\n" to match /\/tmp\/swapfile.fallocate/
Diff:
@@ -1 +1 @@
-/\/tmp\/swapfile.fallocate/
+# UNCONFIGURED FSTAB FOR BASE SYSTEM
|
Run tests:
vendor/bundle/ruby/3.2.0/gems/voxpupuli-acceptance-3.0.0/lib/voxpupuli/acceptance/examples.rb#L4
swap_file::files with default parameter 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 'debian12-64-puppet7.example.com' exited with 6 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_130552574.pp.a3Z1Ew
Last 10 lines of output were:
Info: Using environment 'production'
Info: Applying configuration version '1712754354'
�[mNotice: /Stage[main]/Main/Swap_file::Files[default]/Exec[Create swap file /mnt/swap.1]/returns: executed successfully
�[mNotice: /Stage[main]/Main/Swap_file::Files[default]/File[/mnt/swap.1]/mode: mode changed '0644' to '0600'
�[mNotice: /Stage[main]/Main/Swap_file::Files[default]/Swap_file[/mnt/swap.1]/ensure: created
Error: /Stage[main]/Main/Swap_file::Files[default]/Swap_file[/mnt/swap.1]: Could not evaluate: Execution of '/usr/sbin/swapon /mnt/swap.1' returned 255: swapon: /mnt/swap.1: swapon failed: Invalid argument
�[mNotice: /Stage[main]/Main/Swap_file::Files[default]/Mount[/mnt/swap.1]: Dependency Swap_file[/mnt/swap.1] has failures: true
Warning: /Stage[main]/Main/Swap_file::Files[default]/Mount[/mnt/swap.1]: Skipping because of failed dependencies
Info: Swap_file::Files[default]: Unscheduling all events on Swap_file::Files[default]
�[mNotice: Applied catalog in 41.08 seconds
Shared Example Group: "an idempotent resource" called from ./spec/acceptance/swap_file_files_spec.rb:29
|
Run tests:
vendor/bundle/ruby/3.2.0/gems/voxpupuli-acceptance-3.0.0/lib/voxpupuli/acceptance/examples.rb#L8
swap_file::files with default parameter 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 'debian12-64-puppet7.example.com' exited with 6 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_130635241.pp.ELKCkD
Last 10 lines of output were:
Info: Loading facts
Info: Loading facts
�[mNotice: Compiled catalog for debian12-64-puppet7.example.com in environment production in 0.06 seconds
Info: Using environment 'production'
Info: Applying configuration version '1712754396'
�[mNotice: /Stage[main]/Main/Swap_file::Files[default]/Swap_file[/mnt/swap.1]/ensure: created
Error: /Stage[main]/Main/Swap_file::Files[default]/Swap_file[/mnt/swap.1]: Could not evaluate: Execution of '/usr/sbin/swapon /mnt/swap.1' returned 255: swapon: /mnt/swap.1: swapon failed: Invalid argument
�[mNotice: /Stage[main]/Main/Swap_file::Files[default]/Mount[/mnt/swap.1]: Dependency Swap_file[/mnt/swap.1] has failures: true
Warning: /Stage[main]/Main/Swap_file::Files[default]/Mount[/mnt/swap.1]: Skipping because of failed dependencies
�[mNotice: Applied catalog in 0.02 seconds
Shared Example Group: "an idempotent resource" called from ./spec/acceptance/swap_file_files_spec.rb:29
|
Run tests:
spec/acceptance/swap_file_files_spec.rb#L40
swap_file::files with default parameter File "/etc/fstab" #<Beaker::Result:0x00007f9c8fe42270> content is expected to match /\/mnt\/swap.1/
Failure/Error: its(:content) { is_expected.to match %r{/mnt/swap.1} }
expected "# UNCONFIGURED FSTAB FOR BASE SYSTEM\n" to match /\/mnt\/swap.1/
Diff:
@@ -1 +1 @@
-/\/mnt\/swap.1/
+# UNCONFIGURED FSTAB FOR BASE SYSTEM
|
Run tests:
vendor/bundle/ruby/3.2.0/gems/voxpupuli-acceptance-3.0.0/lib/voxpupuli/acceptance/examples.rb#L4
swap_file::files with custom swapfile 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 'debian12-64-puppet7.example.com' exited with 6 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_130636974.pp.zCFJv5
Last 10 lines of output were:
Info: Using environment 'production'
Info: Applying configuration version '1712754398'
�[mNotice: /Stage[main]/Main/Swap_file::Files[tmp file swap]/Exec[Create swap file /tmp/swapfile]/returns: executed successfully
�[mNotice: /Stage[main]/Main/Swap_file::Files[tmp file swap]/File[/tmp/swapfile]/mode: mode changed '0644' to '0600'
�[mNotice: /Stage[main]/Main/Swap_file::Files[tmp file swap]/Swap_file[/tmp/swapfile]/ensure: created
Error: /Stage[main]/Main/Swap_file::Files[tmp file swap]/Swap_file[/tmp/swapfile]: Could not evaluate: Execution of '/usr/sbin/swapon /tmp/swapfile' returned 255: swapon: /tmp/swapfile: swapon failed: Invalid argument
�[mNotice: /Stage[main]/Main/Swap_file::Files[tmp file swap]/Mount[/tmp/swapfile]: Dependency Swap_file[/tmp/swapfile] has failures: true
Warning: /Stage[main]/Main/Swap_file::Files[tmp file swap]/Mount[/tmp/swapfile]: Skipping because of failed dependencies
Info: Swap_file::Files[tmp file swap]: Unscheduling all events on Swap_file::Files[tmp file swap]
�[mNotice: Applied catalog in 0.17 seconds
Shared Example Group: "an idempotent resource" called from ./spec/acceptance/swap_file_files_spec.rb:45
|
Run tests:
vendor/bundle/ruby/3.2.0/gems/voxpupuli-acceptance-3.0.0/lib/voxpupuli/acceptance/examples.rb#L8
swap_file::files with custom swapfile 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 'debian12-64-puppet7.example.com' exited with 6 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_130638716.pp.Y025UE
Last 10 lines of output were:
Info: Loading facts
Info: Loading facts
�[mNotice: Compiled catalog for debian12-64-puppet7.example.com in environment production in 0.06 seconds
Info: Using environment 'production'
Info: Applying configuration version '1712754400'
�[mNotice: /Stage[main]/Main/Swap_file::Files[tmp file swap]/Swap_file[/tmp/swapfile]/ensure: created
Error: /Stage[main]/Main/Swap_file::Files[tmp file swap]/Swap_file[/tmp/swapfile]: Could not evaluate: Execution of '/usr/sbin/swapon /tmp/swapfile' returned 255: swapon: /tmp/swapfile: swapon failed: Invalid argument
�[mNotice: /Stage[main]/Main/Swap_file::Files[tmp file swap]/Mount[/tmp/swapfile]: Dependency Swap_file[/tmp/swapfile] has failures: true
Warning: /Stage[main]/Main/Swap_file::Files[tmp file swap]/Mount[/tmp/swapfile]: Skipping because of failed dependencies
�[mNotice: Applied catalog in 0.02 seconds
Shared Example Group: "an idempotent resource" called from ./spec/acceptance/swap_file_files_spec.rb:45
|
Run tests:
spec/acceptance/swap_file_files_spec.rb#L58
swap_file::files with custom swapfile File "/etc/fstab" #<Beaker::Result:0x00007f9c8fe57800> content is expected to match /\/tmp\/swapfile/
Failure/Error: its(:content) { is_expected.to match %r{/tmp/swapfile} }
expected "# UNCONFIGURED FSTAB FOR BASE SYSTEM\n" to match /\/tmp\/swapfile/
Diff:
@@ -1 +1 @@
-/\/tmp\/swapfile/
+# UNCONFIGURED FSTAB FOR BASE SYSTEM
|
The logs for this run have expired and are no longer available.
Loading