Make provider holdable #234
Annotations
6 errors
vendor/bundle/ruby/3.2.0/gems/voxpupuli-acceptance-3.2.0/lib/voxpupuli/acceptance/examples.rb#L8
snapd class package resource holds the package (prevents refresh) 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 'ubuntu2404-64-puppet7.example.com' exited with 2 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_084050103.DNPmfp.pp
Last 10 lines of output were:
�[mNotice: Compiled catalog for ubuntu2404-64-puppet7.example.com in environment production in 0.21 seconds
Info: Using environment 'production'
Info: Applying configuration version '1726303251'
Info: refresh-inhibit =
Info: refresh-inhibit =
Info: called hold
Info:
Info: request = {"action"=>"hold", "channel"=>"latest/beta", "hold-level"=>"general", "time"=>"forever"}
�[mNotice: /Stage[main]/Main/Package[hello-world]/mark: mark changed to 'hold'
�[mNotice: Applied catalog in 0.02 seconds
Shared Example Group: "an idempotent resource" called from ./spec/acceptance/01_snapd_spec.rb:111
|
vendor/bundle/ruby/3.2.0/gems/voxpupuli-acceptance-3.2.0/lib/voxpupuli/acceptance/examples.rb#L8
snapd class package resource can change channel while held 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 'ubuntu2404-64-puppet7.example.com' exited with 2 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_084055351.kfFDNA.pp
Last 10 lines of output were:
�[mNotice: Compiled catalog for ubuntu2404-64-puppet7.example.com in environment production in 0.21 seconds
Info: Using environment 'production'
Info: Applying configuration version '1726303256'
Info: refresh-inhibit =
Info: refresh-inhibit =
Info: called hold
Info:
Info: request = {"action"=>"hold", "channel"=>"latest/candidate", "hold-level"=>"general", "time"=>"forever"}
�[mNotice: /Stage[main]/Main/Package[hello-world]/mark: mark changed to 'hold'
�[mNotice: Applied catalog in 0.02 seconds
Shared Example Group: "an idempotent resource" called from ./spec/acceptance/01_snapd_spec.rb:133
|
vendor/bundle/ruby/3.2.0/gems/voxpupuli-acceptance-3.2.0/lib/voxpupuli/acceptance/examples.rb#L4
snapd class package resource hold until specified date 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 'ubuntu2404-64-puppet7.example.com' exited with 4 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_084057065.JgphGz.pp
Last 10 lines of output were:
�[mNotice: Compiled catalog for ubuntu2404-64-puppet7.example.com in environment production in 0.21 seconds
Info: Using environment 'production'
Info: Applying configuration version '1726303258'
Info: refresh-inhibit =
Info: refresh-inhibit =
Info: called hold
Info:
Error: undefined method `parse_time_from_options' for Class:Class
Error: /Stage[main]/Main/Package[hello-world]/mark: change from to 'hold' failed: undefined method `parse_time_from_options' for Class:Class
�[mNotice: Applied catalog in 0.01 seconds
Shared Example Group: "an idempotent resource" called from ./spec/acceptance/01_snapd_spec.rb:156
|
vendor/bundle/ruby/3.2.0/gems/voxpupuli-acceptance-3.2.0/lib/voxpupuli/acceptance/examples.rb#L8
snapd class package resource hold until specified date 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 'ubuntu2404-64-puppet7.example.com' exited with 4 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_084058720.K7Aoib.pp
Last 10 lines of output were:
�[mNotice: Compiled catalog for ubuntu2404-64-puppet7.example.com in environment production in 0.21 seconds
Info: Using environment 'production'
Info: Applying configuration version '1726303260'
Info: refresh-inhibit =
Info: refresh-inhibit =
Info: called hold
Info:
Error: undefined method `parse_time_from_options' for Class:Class
Error: /Stage[main]/Main/Package[hello-world]/mark: change from to 'hold' failed: undefined method `parse_time_from_options' for Class:Class
�[mNotice: Applied catalog in 0.01 seconds
Shared Example Group: "an idempotent resource" called from ./spec/acceptance/01_snapd_spec.rb:156
|
spec/acceptance/01_snapd_spec.rb#L180
snapd class package resource unholds the package Command "snap list --unicode=never --color=never" stdout is expected not to match /held/
Failure/Error: is_expected.not_to match(%r{held})
expected "Name Version Rev Tracking Publisher Notes\ncore 16-2.61.4... canonical** core\nhello-world 6.4 29 latest/candidate canonical** held\n" not to match /held/
Diff:
@@ -1,3 +1,5 @@
-/held/
+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** held
|
|
This job failed
Loading