Add logic to correctly switch between channels; Determine channel from ensure #179
Annotations
10 errors
vendor/bundle/ruby/3.2.0/gems/voxpupuli-acceptance-3.2.0/lib/voxpupuli/acceptance/examples.rb#L8
snapd class with default parameters 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 'centos9-64-puppet8.example.com' exited with 4 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_080704343.YP5f9g.pp
Last 10 lines of output were:
Warning: Facter: Container runtime, 'docker', is unsupported, setting to 'container_other'
�[mNotice: Compiled catalog for centos9-64-puppet8.example.com in environment production in 0.40 seconds
Info: Using environment 'production'
Info: Applying configuration version '1726128425'
Info: called instances
Info: installed_snaps = [{"name"=>"core", "tracking-channel"=>"latest/stable"}]
Error: Could not prefetch package provider 'snap': undefined method `name' for {"name"=>"core", "tracking-channel"=>"latest/stable"}:Hash
Warning: /Stage[main]/Snap/Package[core]: Skipping because provider prefetch failed
�[mNotice: Applied catalog in 0.30 seconds
Shared Example Group: "an idempotent resource" called from ./spec/acceptance/01_snapd_spec.rb:9
|
vendor/bundle/ruby/3.2.0/gems/voxpupuli-acceptance-3.2.0/lib/voxpupuli/acceptance/examples.rb#L4
snapd class package resource installs package 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 'centos9-64-puppet8.example.com' exited with 4 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_080707471.dX8QHY.pp
Last 10 lines of output were:
Warning: Facter: Container runtime, 'docker', is unsupported, setting to 'container_other'
�[mNotice: Compiled catalog for centos9-64-puppet8.example.com in environment production in 0.26 seconds
Info: Using environment 'production'
Info: Applying configuration version '1726128428'
Info: called instances
Info: installed_snaps = [{"name"=>"core", "tracking-channel"=>"latest/stable"}]
Error: Could not prefetch package provider 'snap': undefined method `name' for {"name"=>"core", "tracking-channel"=>"latest/stable"}:Hash
Warning: /Stage[main]/Main/Package[hello-world]: Skipping because provider prefetch failed
�[mNotice: Applied catalog in 0.01 seconds
Shared Example Group: "an idempotent resource" called from ./spec/acceptance/01_snapd_spec.rb:36
|
vendor/bundle/ruby/3.2.0/gems/voxpupuli-acceptance-3.2.0/lib/voxpupuli/acceptance/examples.rb#L8
snapd class package resource installs package 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 'centos9-64-puppet8.example.com' exited with 4 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_080709356.Kc8piY.pp
Last 10 lines of output were:
Warning: Facter: Container runtime, 'docker', is unsupported, setting to 'container_other'
�[mNotice: Compiled catalog for centos9-64-puppet8.example.com in environment production in 0.26 seconds
Info: Using environment 'production'
Info: Applying configuration version '1726128430'
Info: called instances
Info: installed_snaps = [{"name"=>"core", "tracking-channel"=>"latest/stable"}]
Error: Could not prefetch package provider 'snap': undefined method `name' for {"name"=>"core", "tracking-channel"=>"latest/stable"}:Hash
Warning: /Stage[main]/Main/Package[hello-world]: Skipping because provider prefetch failed
�[mNotice: Applied catalog in 0.01 seconds
Shared Example Group: "an idempotent resource" called from ./spec/acceptance/01_snapd_spec.rb:36
|
spec/acceptance/01_snapd_spec.rb#L39
snapd class package resource installs package Command "snap list --unicode=never --color=never" stdout is expected to match /hello-world/
Failure/Error: its(:stdout) { is_expected.to match(%r{hello-world}) }
expected "Name Version Rev Tracking Publisher Notes\ncore 16-2.61.4-20240607 17200 latest/stable canonical** core\n" to match /hello-world/
Diff:
@@ -1,2 +1,3 @@
-/hello-world/
+Name Version Rev Tracking Publisher Notes
+core 16-2.61.4-20240607 17200 latest/stable canonical** core
|
vendor/bundle/ruby/3.2.0/gems/voxpupuli-acceptance-3.2.0/lib/voxpupuli/acceptance/examples.rb#L4
snapd class package resource uninstalls package 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 'centos9-64-puppet8.example.com' exited with 4 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_080711322.tUKSZE.pp
Last 10 lines of output were:
Warning: Facter: Container runtime, 'docker', is unsupported, setting to 'container_other'
�[mNotice: Compiled catalog for centos9-64-puppet8.example.com in environment production in 0.26 seconds
Info: Using environment 'production'
Info: Applying configuration version '1726128432'
Info: called instances
Info: installed_snaps = [{"name"=>"core", "tracking-channel"=>"latest/stable"}]
Error: Could not prefetch package provider 'snap': undefined method `name' for {"name"=>"core", "tracking-channel"=>"latest/stable"}:Hash
Warning: /Stage[main]/Main/Package[hello-world]: Skipping because provider prefetch failed
�[mNotice: Applied catalog in 0.01 seconds
Shared Example Group: "an idempotent resource" called from ./spec/acceptance/01_snapd_spec.rb:53
|
vendor/bundle/ruby/3.2.0/gems/voxpupuli-acceptance-3.2.0/lib/voxpupuli/acceptance/examples.rb#L8
snapd class package resource uninstalls package 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 'centos9-64-puppet8.example.com' exited with 4 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_080713176.2bRRZg.pp
Last 10 lines of output were:
Warning: Facter: Container runtime, 'docker', is unsupported, setting to 'container_other'
�[mNotice: Compiled catalog for centos9-64-puppet8.example.com in environment production in 0.26 seconds
Info: Using environment 'production'
Info: Applying configuration version '1726128434'
Info: called instances
Info: installed_snaps = [{"name"=>"core", "tracking-channel"=>"latest/stable"}]
Error: Could not prefetch package provider 'snap': undefined method `name' for {"name"=>"core", "tracking-channel"=>"latest/stable"}:Hash
Warning: /Stage[main]/Main/Package[hello-world]: Skipping because provider prefetch failed
�[mNotice: Applied catalog in 0.01 seconds
Shared Example Group: "an idempotent resource" called from ./spec/acceptance/01_snapd_spec.rb:53
|
vendor/bundle/ruby/3.2.0/gems/voxpupuli-acceptance-3.2.0/lib/voxpupuli/acceptance/examples.rb#L4
snapd class package resource installs package with specified version 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 'centos9-64-puppet8.example.com' exited with 4 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_080715113.woCgnF.pp
Last 10 lines of output were:
Warning: Facter: Container runtime, 'docker', is unsupported, setting to 'container_other'
�[mNotice: Compiled catalog for centos9-64-puppet8.example.com in environment production in 0.26 seconds
Info: Using environment 'production'
Info: Applying configuration version '1726128436'
Info: called instances
Info: installed_snaps = [{"name"=>"core", "tracking-channel"=>"latest/stable"}]
Error: Could not prefetch package provider 'snap': undefined method `name' for {"name"=>"core", "tracking-channel"=>"latest/stable"}:Hash
Warning: /Stage[main]/Main/Package[hello-world]: Skipping because provider prefetch failed
�[mNotice: Applied catalog in 0.01 seconds
Shared Example Group: "an idempotent resource" called from ./spec/acceptance/01_snapd_spec.rb:70
|
vendor/bundle/ruby/3.2.0/gems/voxpupuli-acceptance-3.2.0/lib/voxpupuli/acceptance/examples.rb#L8
snapd class package resource installs package with specified version 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 'centos9-64-puppet8.example.com' exited with 4 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_080716956.d3UvA0.pp
Last 10 lines of output were:
Warning: Facter: Container runtime, 'docker', is unsupported, setting to 'container_other'
�[mNotice: Compiled catalog for centos9-64-puppet8.example.com in environment production in 0.26 seconds
Info: Using environment 'production'
Info: Applying configuration version '1726128438'
Info: called instances
Info: installed_snaps = [{"name"=>"core", "tracking-channel"=>"latest/stable"}]
Error: Could not prefetch package provider 'snap': undefined method `name' for {"name"=>"core", "tracking-channel"=>"latest/stable"}:Hash
Warning: /Stage[main]/Main/Package[hello-world]: Skipping because provider prefetch failed
�[mNotice: Applied catalog in 0.01 seconds
Shared Example Group: "an idempotent resource" called from ./spec/acceptance/01_snapd_spec.rb:70
|
spec/acceptance/01_snapd_spec.rb#L73
snapd class package resource installs package with specified version Command "snap list --unicode=never --color=never" stdout is expected to match /hello-world/
Failure/Error: is_expected.to match(%r{hello-world})
expected "Name Version Rev Tracking Publisher Notes\ncore 16-2.61.4-20240607 17200 latest/stable canonical** core\n" to match /hello-world/
Diff:
@@ -1,2 +1,3 @@
-/hello-world/
+Name Version Rev Tracking Publisher Notes
+core 16-2.61.4-20240607 17200 latest/stable canonical** core
|
vendor/bundle/ruby/3.2.0/gems/voxpupuli-acceptance-3.2.0/lib/voxpupuli/acceptance/examples.rb#L4
snapd class package resource changes installed channel 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 'centos9-64-puppet8.example.com' exited with 4 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_080718891.xaS7BB.pp
Last 10 lines of output were:
Warning: Facter: Container runtime, 'docker', is unsupported, setting to 'container_other'
�[mNotice: Compiled catalog for centos9-64-puppet8.example.com in environment production in 0.26 seconds
Info: Using environment 'production'
Info: Applying configuration version '1726128440'
Info: called instances
Info: installed_snaps = [{"name"=>"core", "tracking-channel"=>"latest/stable"}]
Error: Could not prefetch package provider 'snap': undefined method `name' for {"name"=>"core", "tracking-channel"=>"latest/stable"}:Hash
Warning: /Stage[main]/Main/Package[hello-world]: Skipping because provider prefetch failed
�[mNotice: Applied catalog in 0.01 seconds
Shared Example Group: "an idempotent resource" called from ./spec/acceptance/01_snapd_spec.rb:90
|
The logs for this run have expired and are no longer available.
Loading