Generic improvements #171
Annotations
5 errors
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 'oracle7-64-puppet7.example.com' exited with 4 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_143132972.X8thxN.pp
Last 10 lines of output were:
Info: called instances
Info: installed_snaps = [{"name"=>"core", "tracking-channel"=>"latest/stable"}, {"name"=>"hello-world", "tracking-channel"=>"latest/candidate"}]
Info: called install
Info: called query
Info: called instances
Info: installed_snaps = [{"name"=>"core", "tracking-channel"=>"latest/stable"}, {"name"=>"hello-world", "tracking-channel"=>"latest/candidate"}]
Info: installed (provider=snap)
Error: Could not update: undefined method `[]' for (provider=snap):Puppet::Type::Package::ProviderSnap
Error: /Stage[main]/Main/Package[hello-world]/ensure: change from 'latest/candidate' to 'latest/beta' failed: Could not update: undefined method `[]' for (provider=snap):Puppet::Type::Package::ProviderSnap
�[mNotice: Applied catalog in 0.01 seconds
Shared Example Group: "an idempotent resource" called from ./spec/acceptance/01_snapd_spec.rb:90
|
vendor/bundle/ruby/3.2.0/gems/voxpupuli-acceptance-3.2.0/lib/voxpupuli/acceptance/examples.rb#L8
snapd class package resource changes installed channel 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 'oracle7-64-puppet7.example.com' exited with 4 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_143134843.DJ4NiD.pp
Last 10 lines of output were:
Info: called instances
Info: installed_snaps = [{"name"=>"hello-world", "tracking-channel"=>"latest/candidate"}, {"name"=>"core", "tracking-channel"=>"latest/stable"}]
Info: called install
Info: called query
Info: called instances
Info: installed_snaps = [{"name"=>"hello-world", "tracking-channel"=>"latest/candidate"}, {"name"=>"core", "tracking-channel"=>"latest/stable"}]
Info: installed (provider=snap)
Error: Could not update: undefined method `[]' for (provider=snap):Puppet::Type::Package::ProviderSnap
Error: /Stage[main]/Main/Package[hello-world]/ensure: change from 'latest/candidate' to 'latest/beta' failed: Could not update: undefined method `[]' for (provider=snap):Puppet::Type::Package::ProviderSnap
�[mNotice: Applied catalog in 0.01 seconds
Shared Example Group: "an idempotent resource" called from ./spec/acceptance/01_snapd_spec.rb:90
|
spec/acceptance/01_snapd_spec.rb#L93
snapd class package resource changes installed channel Command "snap list --unicode=never --color=never" stdout is expected to match /beta/
Failure/Error: is_expected.to match(%r{beta})
expected "Name Version Rev Tracking Publisher Notes\ncore 16-2.61.4...e canonical** core\nhello-world 6.4 29 latest/candidate canonical** -\n" to match /beta/
Diff:
@@ -1,3 +1,5 @@
-/beta/
+Name Version Rev Tracking Publisher Notes
+core 16-2.61.4-20240607 17200 latest/stable canonical** core
+hello-world 6.4 29 latest/candidate canonical** -
|
vendor/bundle/ruby/3.2.0/gems/voxpupuli-acceptance-3.2.0/lib/voxpupuli/acceptance/examples.rb#L8
snapd class installs latest/stable when ensure: latest 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 'oracle7-64-puppet7.example.com' exited with 4 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_143144561.9ww785.pp
Last 10 lines of output were:
Info: Evaluating version
Info: version = 6.4
Info: called install
Info: called query
Info: called instances
Info: installed_snaps = [{"name"=>"core", "tracking-channel"=>"latest/stable"}, {"name"=>"hello-world", "tracking-channel"=>"latest/stable"}]
Info: installed (provider=snap)
Error: Could not update: undefined method `[]' for (provider=snap):Puppet::Type::Package::ProviderSnap
Error: /Stage[main]/Main/Package[hello-world]/ensure: change from 'latest/stable' to '6.4' failed: Could not update: undefined method `[]' for (provider=snap):Puppet::Type::Package::ProviderSnap
�[mNotice: Applied catalog in 0.25 seconds
Shared Example Group: "an idempotent resource" called from ./spec/acceptance/01_snapd_spec.rb:128
|
|
This job failed
Loading