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-puppet7.example.com' exited with 4 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_080729156.dcmt64.pp
Last 10 lines of output were:
Warning: Facter: Container runtime, 'docker', is unsupported, setting to 'container_other'
�[mNotice: Compiled catalog for centos9-64-puppet7.example.com in environment production in 0.36 seconds
Info: Using environment 'production'
Info: Applying configuration version '1726128450'
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.25 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-puppet7.example.com' exited with 4 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_080732055.9R43Kt.pp
Last 10 lines of output were:
Warning: Facter: Container runtime, 'docker', is unsupported, setting to 'container_other'
�[mNotice: Compiled catalog for centos9-64-puppet7.example.com in environment production in 0.24 seconds
Info: Using environment 'production'
Info: Applying configuration version '1726128453'
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-puppet7.example.com' exited with 4 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_080733768.0qdDEc.pp
Last 10 lines of output were:
Warning: Facter: Container runtime, 'docker', is unsupported, setting to 'container_other'
�[mNotice: Compiled catalog for centos9-64-puppet7.example.com in environment production in 0.24 seconds
Info: Using environment 'production'
Info: Applying configuration version '1726128455'
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-puppet7.example.com' exited with 4 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_080735590.KqQyVw.pp
Last 10 lines of output were:
Warning: Facter: Container runtime, 'docker', is unsupported, setting to 'container_other'
�[mNotice: Compiled catalog for centos9-64-puppet7.example.com in environment production in 0.25 seconds
Info: Using environment 'production'
Info: Applying configuration version '1726128456'
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-puppet7.example.com' exited with 4 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_080737288.9qSBp8.pp
Last 10 lines of output were:
Warning: Facter: Container runtime, 'docker', is unsupported, setting to 'container_other'
�[mNotice: Compiled catalog for centos9-64-puppet7.example.com in environment production in 0.25 seconds
Info: Using environment 'production'
Info: Applying configuration version '1726128458'
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-puppet7.example.com' exited with 4 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_080739078.cP5dyu.pp
Last 10 lines of output were:
Warning: Facter: Container runtime, 'docker', is unsupported, setting to 'container_other'
�[mNotice: Compiled catalog for centos9-64-puppet7.example.com in environment production in 0.25 seconds
Info: Using environment 'production'
Info: Applying configuration version '1726128460'
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-puppet7.example.com' exited with 4 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_080740804.eXjowZ.pp
Last 10 lines of output were:
Warning: Facter: Container runtime, 'docker', is unsupported, setting to 'container_other'
�[mNotice: Compiled catalog for centos9-64-puppet7.example.com in environment production in 0.25 seconds
Info: Using environment 'production'
Info: Applying configuration version '1726128462'
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-puppet7.example.com' exited with 4 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_080742619.TucQzb.pp
Last 10 lines of output were:
Warning: Facter: Container runtime, 'docker', is unsupported, setting to 'container_other'
�[mNotice: Compiled catalog for centos9-64-puppet7.example.com in environment production in 0.25 seconds
Info: Using environment 'production'
Info: Applying configuration version '1726128463'
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
|
This job failed
Loading