Add logic to correctly switch between channels; Determine channel from ensure #181
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 'debian11-64-puppet7.example.com' exited with 4 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_081817126.3UFpeJ.pp
Last 10 lines of output were:
Warning: Facter: Container runtime, 'docker', is unsupported, setting to 'container_other'
�[mNotice: Compiled catalog for debian11-64-puppet7.example.com in environment production in 0.28 seconds
Info: Using environment 'production'
Info: Applying configuration version '1726129098'
Info: called instances
Info: installed_snaps = [{"name"=>"core", "tracking-channel"=>"latest/stable"}]
Info: snap = core
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.65 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 'debian11-64-puppet7.example.com' exited with 4 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_081820986.rP2Uzf.pp
Last 10 lines of output were:
Warning: Facter: Container runtime, 'docker', is unsupported, setting to 'container_other'
�[mNotice: Compiled catalog for debian11-64-puppet7.example.com in environment production in 0.20 seconds
Info: Using environment 'production'
Info: Applying configuration version '1726129102'
Info: called instances
Info: installed_snaps = [{"name"=>"core", "tracking-channel"=>"latest/stable"}]
Info: snap = core
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 'debian11-64-puppet7.example.com' exited with 4 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_081822646.Pm7xkr.pp
Last 10 lines of output were:
Warning: Facter: Container runtime, 'docker', is unsupported, setting to 'container_other'
�[mNotice: Compiled catalog for debian11-64-puppet7.example.com in environment production in 0.21 seconds
Info: Using environment 'production'
Info: Applying configuration version '1726129103'
Info: called instances
Info: installed_snaps = [{"name"=>"core", "tracking-channel"=>"latest/stable"}]
Info: snap = core
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 'debian11-64-puppet7.example.com' exited with 4 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_081824928.WiOPGk.pp
Last 10 lines of output were:
Warning: Facter: Container runtime, 'docker', is unsupported, setting to 'container_other'
�[mNotice: Compiled catalog for debian11-64-puppet7.example.com in environment production in 0.20 seconds
Info: Using environment 'production'
Info: Applying configuration version '1726129106'
Info: called instances
Info: installed_snaps = [{"name"=>"core", "tracking-channel"=>"latest/stable"}]
Info: snap = core
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 'debian11-64-puppet7.example.com' exited with 4 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_081826556.czWRgZ.pp
Last 10 lines of output were:
Warning: Facter: Container runtime, 'docker', is unsupported, setting to 'container_other'
�[mNotice: Compiled catalog for debian11-64-puppet7.example.com in environment production in 0.20 seconds
Info: Using environment 'production'
Info: Applying configuration version '1726129107'
Info: called instances
Info: installed_snaps = [{"name"=>"core", "tracking-channel"=>"latest/stable"}]
Info: snap = core
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 'debian11-64-puppet7.example.com' exited with 4 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_081828285.qaIECl.pp
Last 10 lines of output were:
Warning: Facter: Container runtime, 'docker', is unsupported, setting to 'container_other'
�[mNotice: Compiled catalog for debian11-64-puppet7.example.com in environment production in 0.21 seconds
Info: Using environment 'production'
Info: Applying configuration version '1726129109'
Info: called instances
Info: installed_snaps = [{"name"=>"core", "tracking-channel"=>"latest/stable"}]
Info: snap = core
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 'debian11-64-puppet7.example.com' exited with 4 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_081829951.nQpQCn.pp
Last 10 lines of output were:
Warning: Facter: Container runtime, 'docker', is unsupported, setting to 'container_other'
�[mNotice: Compiled catalog for debian11-64-puppet7.example.com in environment production in 0.20 seconds
Info: Using environment 'production'
Info: Applying configuration version '1726129111'
Info: called instances
Info: installed_snaps = [{"name"=>"core", "tracking-channel"=>"latest/stable"}]
Info: snap = core
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 'debian11-64-puppet7.example.com' exited with 4 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_081831707.D9fmiR.pp
Last 10 lines of output were:
Warning: Facter: Container runtime, 'docker', is unsupported, setting to 'container_other'
�[mNotice: Compiled catalog for debian11-64-puppet7.example.com in environment production in 0.20 seconds
Info: Using environment 'production'
Info: Applying configuration version '1726129113'
Info: called instances
Info: installed_snaps = [{"name"=>"core", "tracking-channel"=>"latest/stable"}]
Info: snap = core
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