Add logic to correctly switch between channels; Determine channel from ensure #185
ci.yml
on: pull_request
Puppet
/
Static validations
17s
Matrix: Puppet / acceptance
Matrix: Puppet / unit
Puppet
/
Test suite
2s
Annotations
100 errors
Puppet / Puppet 8 - CentOS 7
Process completed with exit code 1.
|
Puppet / Puppet 7 - CentOS 8
Process completed with exit code 1.
|
Puppet / Puppet 8 - CentOS 8
Process completed with exit code 1.
|
Puppet / Puppet 7 - CentOS 7
Process completed with exit code 1.
|
Puppet / Puppet 8 - Debian 11:
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-puppet8.example.com' exited with 4 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_084141813.FJDj9o.pp
Last 10 lines of output were:
Info: methods = [:status=, :ensure, :update, :description=, :adminfile, :responsefile, :configfiles, :allowcdrom, :enable_only, :query, :allow_virtual, :reinstall_on_refresh, :status, :vendor, :source, :provider, :mark, :latest, :instance, :snap_cmd, :modify_snap, :root=, :category, :provider=, :root, :determine_channel, :instance=, :description, :command, :ensure=, :source=, :flavor=, :mark=, :command=, :adminfile=, :responsefile=, :configfiles=, :category=, :vendor=, :platform, :flavor, :enable_only=, :allowcdrom=, :install_options=, :install_only=, :allow_virtual=, :uninstall_options=, :uninstall, :reinstall_on_refresh=, :install_only, :install_options, :uninstall_options, :package_settings, :platform=, :package_settings=, :install, :purge, :virtual_packages?, :targetable?, :has_features, :has_feature, :feature?, :installable?, :upgradeable?, :versionable?, :version_ranges?, :reinstallable?, :holdable?, :install_only?, :purgeable?, :satisfies?, :uninstallable?, :uninstall_options?, :features, :install_options?, :package_settings?, :disableable?, :supports_flavors?, :validate_source, :properties, :join_options, :flush, :resource=, :name, :get, :debug, :notice, :execute, :err, :clear, :inspect, :to_s, :execpipe, :set, :<=>, :info, :warning, :resource, :alert, :emerg, :crit, :clamp, :between?, :<=, :>=, :==, :<, :>, :error_context, :exceptwrap, :devfail, :adderrorcontext, :fail, :daemonize, :meta_eval, :meta_def, :meta_undef, :class_def, :singleton_class, :to_yaml, :s_, :p_, :ns_, :np_, :_, :N_, :Nn_, :n_, :to_json, :hash, :dup, :itself, :methods, :singleton_methods, :protected_methods, :private_methods, :public_methods, :instance_variables, :instance_variable_get, :instance_variable_set, :instance_variable_defined?, :remove_instance_variable, :instance_of?, :kind_of?, :is_a?, :display, :public_send, :extend, :clone, :class, :===, :!~, :tap, :then, :frozen?, :nil?, :eql?, :respond_to?, :method, :public_method, :singleton_method, :define_singleton_method, :freeze, :object_id, :yield_self, :send, :to_enum, :enum_for, :!, :equal?, :__send__, :__id__, :!=, :instance_eval, :instance_exec]
Info: called install
Info: called query
Info: @installed_snaps =
Info: installed
Info: current_ensure = absent
Info: install snap
Error: Could not update: Request failed with snap "hello-world" is already installed
Error: /Stage[main]/Main/Package[hello-world]/ensure: change from 'latest/candidate' to 'latest/beta' failed: Could not update: Request failed with snap "hello-world" is already installed
�[mNotice: Applied catalog in 0.01 seconds
Shared Example Group: "an idempotent resource" called from ./spec/acceptance/01_snapd_spec.rb:90
|
Puppet / Puppet 8 - Debian 11:
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 'debian11-64-puppet8.example.com' exited with 4 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_084143687.OVrsz6.pp
Last 10 lines of output were:
Info: methods = [:status=, :ensure, :update, :description=, :adminfile, :responsefile, :configfiles, :allowcdrom, :enable_only, :query, :allow_virtual, :reinstall_on_refresh, :status, :vendor, :source, :provider, :mark, :latest, :instance, :snap_cmd, :modify_snap, :root=, :category, :provider=, :root, :determine_channel, :instance=, :description, :command, :ensure=, :source=, :flavor=, :mark=, :command=, :adminfile=, :responsefile=, :configfiles=, :category=, :vendor=, :platform, :flavor, :enable_only=, :allowcdrom=, :install_options=, :install_only=, :allow_virtual=, :uninstall_options=, :uninstall, :reinstall_on_refresh=, :install_only, :install_options, :uninstall_options, :package_settings, :platform=, :package_settings=, :install, :purge, :virtual_packages?, :targetable?, :has_features, :has_feature, :feature?, :installable?, :upgradeable?, :versionable?, :version_ranges?, :reinstallable?, :holdable?, :install_only?, :purgeable?, :satisfies?, :uninstallable?, :uninstall_options?, :features, :install_options?, :package_settings?, :disableable?, :supports_flavors?, :validate_source, :properties, :join_options, :flush, :resource=, :name, :get, :debug, :notice, :execute, :err, :clear, :inspect, :to_s, :execpipe, :set, :<=>, :info, :warning, :resource, :alert, :emerg, :crit, :clamp, :between?, :<=, :>=, :==, :<, :>, :error_context, :exceptwrap, :devfail, :adderrorcontext, :fail, :daemonize, :meta_eval, :meta_def, :meta_undef, :class_def, :singleton_class, :to_yaml, :s_, :p_, :ns_, :np_, :_, :N_, :Nn_, :n_, :to_json, :hash, :dup, :itself, :methods, :singleton_methods, :protected_methods, :private_methods, :public_methods, :instance_variables, :instance_variable_get, :instance_variable_set, :instance_variable_defined?, :remove_instance_variable, :instance_of?, :kind_of?, :is_a?, :display, :public_send, :extend, :clone, :class, :===, :!~, :tap, :then, :frozen?, :nil?, :eql?, :respond_to?, :method, :public_method, :singleton_method, :define_singleton_method, :freeze, :object_id, :yield_self, :send, :to_enum, :enum_for, :!, :equal?, :__send__, :__id__, :!=, :instance_eval, :instance_exec]
Info: called install
Info: called query
Info: @installed_snaps =
Info: installed
Info: current_ensure = absent
Info: install snap
Error: Could not update: Request failed with snap "hello-world" is already installed
Error: /Stage[main]/Main/Package[hello-world]/ensure: change from 'latest/candidate' to 'latest/beta' failed: Could not update: Request failed with snap "hello-world" is already installed
�[mNotice: Applied catalog in 0.01 seconds
Shared Example Group: "an idempotent resource" called from ./spec/acceptance/01_snapd_spec.rb:90
|
Puppet / Puppet 8 - Debian 11:
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** -
|
Puppet / Puppet 8 - Debian 11:
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 'debian11-64-puppet8.example.com' exited with 4 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_084153518.6Mxz73.pp
Last 10 lines of output were:
Info: version = 6.4
Info: called install
Info: called query
Info: @installed_snaps =
Info: installed
Info: current_ensure = absent
Info: install snap
Error: Could not update: Request failed with snap "hello-world" is already installed
Error: /Stage[main]/Main/Package[hello-world]/ensure: change from 'latest/stable' to '6.4' failed: Could not update: Request failed with snap "hello-world" is already installed
�[mNotice: Applied catalog in 0.30 seconds
Shared Example Group: "an idempotent resource" called from ./spec/acceptance/01_snapd_spec.rb:128
|
Puppet / Puppet 8 - Debian 11
Process completed with exit code 1.
|
Puppet / Puppet 7 - Ubuntu 22.04:
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 'ubuntu2204-64-puppet7.example.com' exited with 4 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_084145311.xIpJ4F.pp
Last 10 lines of output were:
Info: methods = [:purge, :status, :query, :uninstall, :reinstall_on_refresh=, :mark, :instance, :adminfile, :responsefile, :source, :configfiles, :allowcdrom, :enable_only, :allow_virtual, :reinstall_on_refresh, :vendor, :source=, :update, :platform, :category, :snap_cmd, :root=, :modify_snap, :determine_channel, :description, :install, :instance=, :root, :provider, :latest, :ensure, :flavor, :mark=, :flavor=, :adminfile=, :command, :configfiles=, :responsefile=, :command=, :provider=, :install_only=, :platform=, :category=, :vendor=, :ensure=, :enable_only=, :allow_virtual=, :description=, :allowcdrom=, :install_only, :install_options, :install_options=, :uninstall_options=, :package_settings, :status=, :package_settings=, :uninstall_options, :install_options?, :uninstall_options?, :purgeable?, :supports_flavors?, :package_settings?, :disableable?, :targetable?, :virtual_packages?, :satisfies?, :has_feature, :has_features, :uninstallable?, :upgradeable?, :features, :versionable?, :version_ranges?, :holdable?, :feature?, :install_only?, :reinstallable?, :installable?, :properties, :join_options, :flush, :validate_source, :info, :get, :emerg, :debug, :notice, :alert, :crit, :execute, :inspect, :to_s, :warning, :resource=, :err, :<=>, :resource, :set, :execpipe, :clear, :name, :clamp, :between?, :<=, :>=, :==, :>, :<, :error_context, :exceptwrap, :devfail, :adderrorcontext, :fail, :meta_undef, :class_def, :to_yaml, :daemonize, :meta_eval, :meta_def, :singleton_class, :_, :n_, :s_, :N_, :Nn_, :ns_, :to_pson, :to_json, :dup, :itself, :yield_self, :then, :taint, :tainted?, :untaint, :untrust, :untrusted?, :trust, :frozen?, :methods, :singleton_methods, :protected_methods, :private_methods, :public_methods, :instance_variables, :instance_variable_get, :instance_variable_set, :instance_variable_defined?, :remove_instance_variable, :instance_of?, :kind_of?, :is_a?, :tap, :clone, :display, :hash, :class, :public_send, :method, :public_method, :singleton_method, :define_singleton_method, :extend, :to_enum, :enum_for, :===, :=~, :!~, :nil?, :eql?, :respond_to?, :freeze, :object_id, :send, :__send__, :!, :!=, :equal?, :__id__, :instance_eval, :instance_exec]
Info: called install
Info: called query
Info: @installed_snaps =
Info: installed
Info: current_ensure = absent
Info: install snap
Error: Could not update: Request failed with snap "hello-world" is already installed
Error: /Stage[main]/Main/Package[hello-world]/ensure: change from 'latest/candidate' to 'latest/beta' failed: Could not update: Request failed with snap "hello-world" is already installed
�[mNotice: Applied catalog in 0.01 seconds
Shared Example Group: "an idempotent resource" called from ./spec/acceptance/01_snapd_spec.rb:90
|
Puppet / Puppet 7 - Ubuntu 22.04:
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 'ubuntu2204-64-puppet7.example.com' exited with 4 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_084147245.J04hey.pp
Last 10 lines of output were:
Info: methods = [:purge, :status, :query, :uninstall, :reinstall_on_refresh=, :mark, :instance, :adminfile, :responsefile, :source, :configfiles, :allowcdrom, :enable_only, :allow_virtual, :reinstall_on_refresh, :vendor, :source=, :update, :platform, :category, :snap_cmd, :root=, :modify_snap, :determine_channel, :description, :install, :instance=, :root, :provider, :latest, :ensure, :flavor, :mark=, :flavor=, :adminfile=, :command, :configfiles=, :responsefile=, :command=, :provider=, :install_only=, :platform=, :category=, :vendor=, :ensure=, :enable_only=, :allow_virtual=, :description=, :allowcdrom=, :install_only, :install_options, :install_options=, :uninstall_options=, :package_settings, :status=, :package_settings=, :uninstall_options, :install_options?, :uninstall_options?, :purgeable?, :supports_flavors?, :package_settings?, :disableable?, :targetable?, :virtual_packages?, :satisfies?, :has_feature, :has_features, :uninstallable?, :upgradeable?, :features, :versionable?, :version_ranges?, :holdable?, :feature?, :install_only?, :reinstallable?, :installable?, :properties, :join_options, :flush, :validate_source, :info, :get, :emerg, :debug, :notice, :alert, :crit, :execute, :inspect, :to_s, :warning, :resource=, :err, :<=>, :resource, :set, :execpipe, :clear, :name, :clamp, :between?, :<=, :>=, :==, :>, :<, :error_context, :exceptwrap, :devfail, :adderrorcontext, :fail, :meta_undef, :class_def, :to_yaml, :daemonize, :meta_eval, :meta_def, :singleton_class, :_, :n_, :s_, :N_, :Nn_, :ns_, :to_pson, :to_json, :dup, :itself, :yield_self, :then, :taint, :tainted?, :untaint, :untrust, :untrusted?, :trust, :frozen?, :methods, :singleton_methods, :protected_methods, :private_methods, :public_methods, :instance_variables, :instance_variable_get, :instance_variable_set, :instance_variable_defined?, :remove_instance_variable, :instance_of?, :kind_of?, :is_a?, :tap, :clone, :display, :hash, :class, :public_send, :method, :public_method, :singleton_method, :define_singleton_method, :extend, :to_enum, :enum_for, :===, :=~, :!~, :nil?, :eql?, :respond_to?, :freeze, :object_id, :send, :__send__, :!, :!=, :equal?, :__id__, :instance_eval, :instance_exec]
Info: called install
Info: called query
Info: @installed_snaps =
Info: installed
Info: current_ensure = absent
Info: install snap
Error: Could not update: Request failed with snap "hello-world" is already installed
Error: /Stage[main]/Main/Package[hello-world]/ensure: change from 'latest/candidate' to 'latest/beta' failed: Could not update: Request failed with snap "hello-world" is already installed
�[mNotice: Applied catalog in 0.01 seconds
Shared Example Group: "an idempotent resource" called from ./spec/acceptance/01_snapd_spec.rb:90
|
Puppet / Puppet 7 - Ubuntu 22.04:
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** -
|
Puppet / Puppet 7 - Ubuntu 22.04:
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 'ubuntu2204-64-puppet7.example.com' exited with 4 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_084156771.MCFLPV.pp
Last 10 lines of output were:
Info: version = 6.4
Info: called install
Info: called query
Info: @installed_snaps =
Info: installed
Info: current_ensure = absent
Info: install snap
Error: Could not update: Request failed with snap "hello-world" is already installed
Error: /Stage[main]/Main/Package[hello-world]/ensure: change from 'latest/stable' to '6.4' failed: Could not update: Request failed with snap "hello-world" is already installed
�[mNotice: Applied catalog in 0.21 seconds
Shared Example Group: "an idempotent resource" called from ./spec/acceptance/01_snapd_spec.rb:128
|
Puppet / Puppet 7 - Ubuntu 22.04
Process completed with exit code 1.
|
Puppet / Puppet 7 - Debian 11:
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_084147633.AYUl7D.pp
Last 10 lines of output were:
Info: methods = [:purge, :uninstall, :status, :update, :mark, :adminfile, :responsefile, :instance, :configfiles, :allowcdrom, :source, :enable_only, :allow_virtual, :reinstall_on_refresh, :vendor, :source=, :platform, :category, :snap_cmd, :root=, :modify_snap, :determine_channel, :description, :install, :instance=, :root, :provider, :latest, :flavor=, :mark=, :command=, :ensure, :flavor, :command, :adminfile=, :responsefile=, :configfiles=, :category=, :vendor=, :platform=, :provider=, :install_only=, :ensure=, :enable_only=, :allow_virtual=, :install_options=, :install_only, :install_options, :description=, :uninstall_options, :uninstall_options=, :package_settings, :reinstall_on_refresh=, :package_settings=, :status=, :query, :allowcdrom=, :supports_flavors?, :package_settings?, :disableable?, :targetable?, :has_features, :virtual_packages?, :satisfies?, :has_feature, :uninstallable?, :upgradeable?, :purgeable?, :versionable?, :version_ranges?, :holdable?, :features, :install_only?, :feature?, :uninstall_options?, :install_options?, :reinstallable?, :installable?, :join_options, :validate_source, :flush, :properties, :info, :get, :emerg, :debug, :notice, :alert, :crit, :execute, :inspect, :to_s, :warning, :resource=, :err, :<=>, :resource, :set, :execpipe, :clear, :name, :clamp, :between?, :<=, :>=, :==, :>, :<, :error_context, :exceptwrap, :devfail, :adderrorcontext, :fail, :meta_undef, :class_def, :to_yaml, :daemonize, :meta_eval, :meta_def, :singleton_class, :_, :n_, :s_, :N_, :Nn_, :ns_, :to_pson, :to_json, :dup, :itself, :yield_self, :then, :taint, :tainted?, :untaint, :untrust, :untrusted?, :trust, :frozen?, :methods, :singleton_methods, :protected_methods, :private_methods, :public_methods, :instance_variables, :instance_variable_get, :instance_variable_set, :instance_variable_defined?, :remove_instance_variable, :instance_of?, :kind_of?, :is_a?, :tap, :clone, :display, :hash, :class, :public_send, :method, :public_method, :singleton_method, :define_singleton_method, :extend, :to_enum, :enum_for, :===, :=~, :!~, :nil?, :eql?, :respond_to?, :freeze, :object_id, :send, :__send__, :!, :!=, :equal?, :__id__, :instance_eval, :instance_exec]
Info: called install
Info: called query
Info: @installed_snaps =
Info: installed
Info: current_ensure = absent
Info: install snap
�[mNotice: Applied catalog in 0.01 seconds
Error: Could not update: Request failed with snap "hello-world" is already installed
Error: /Stage[main]/Main/Package[hello-world]/ensure: change from 'latest/candidate' to 'latest/beta' failed: Could not update: Request failed with snap "hello-world" is already installed
Shared Example Group: "an idempotent resource" called from ./spec/acceptance/01_snapd_spec.rb:90
|
Puppet / Puppet 7 - Debian 11:
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 'debian11-64-puppet7.example.com' exited with 4 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_084149366.Epm4k3.pp
Last 10 lines of output were:
Info: methods = [:purge, :uninstall, :status, :update, :mark, :adminfile, :responsefile, :instance, :configfiles, :allowcdrom, :source, :enable_only, :allow_virtual, :reinstall_on_refresh, :vendor, :source=, :platform, :category, :snap_cmd, :root=, :modify_snap, :determine_channel, :description, :install, :instance=, :root, :provider, :latest, :flavor=, :mark=, :command=, :ensure, :flavor, :command, :adminfile=, :responsefile=, :configfiles=, :category=, :vendor=, :platform=, :provider=, :install_only=, :ensure=, :enable_only=, :allow_virtual=, :install_options=, :install_only, :install_options, :description=, :uninstall_options, :uninstall_options=, :package_settings, :reinstall_on_refresh=, :package_settings=, :status=, :query, :allowcdrom=, :supports_flavors?, :package_settings?, :disableable?, :targetable?, :has_features, :virtual_packages?, :satisfies?, :has_feature, :uninstallable?, :upgradeable?, :purgeable?, :versionable?, :version_ranges?, :holdable?, :features, :install_only?, :feature?, :uninstall_options?, :install_options?, :reinstallable?, :installable?, :join_options, :validate_source, :flush, :properties, :info, :get, :emerg, :debug, :notice, :alert, :crit, :execute, :inspect, :to_s, :warning, :resource=, :err, :<=>, :resource, :set, :execpipe, :clear, :name, :clamp, :between?, :<=, :>=, :==, :>, :<, :error_context, :exceptwrap, :devfail, :adderrorcontext, :fail, :meta_undef, :class_def, :to_yaml, :daemonize, :meta_eval, :meta_def, :singleton_class, :_, :n_, :s_, :N_, :Nn_, :ns_, :to_pson, :to_json, :dup, :itself, :yield_self, :then, :taint, :tainted?, :untaint, :untrust, :untrusted?, :trust, :frozen?, :methods, :singleton_methods, :protected_methods, :private_methods, :public_methods, :instance_variables, :instance_variable_get, :instance_variable_set, :instance_variable_defined?, :remove_instance_variable, :instance_of?, :kind_of?, :is_a?, :tap, :clone, :display, :hash, :class, :public_send, :method, :public_method, :singleton_method, :define_singleton_method, :extend, :to_enum, :enum_for, :===, :=~, :!~, :nil?, :eql?, :respond_to?, :freeze, :object_id, :send, :__send__, :!, :!=, :equal?, :__id__, :instance_eval, :instance_exec]
Info: called install
Info: called query
Info: @installed_snaps =
Info: installed
Info: current_ensure = absent
Info: install snap
Error: Could not update: Request failed with snap "hello-world" is already installed
Error: /Stage[main]/Main/Package[hello-world]/ensure: change from 'latest/candidate' to 'latest/beta' failed: Could not update: Request failed with snap "hello-world" is already installed
�[mNotice: Applied catalog in 0.01 seconds
Shared Example Group: "an idempotent resource" called from ./spec/acceptance/01_snapd_spec.rb:90
|
Puppet / Puppet 7 - Debian 11:
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** -
|
Puppet / Puppet 7 - Debian 11:
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 'debian11-64-puppet7.example.com' exited with 4 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_084158350.ZrO8A6.pp
Last 10 lines of output were:
Info: version = 6.4
Info: called install
Info: called query
Info: @installed_snaps =
Info: installed
Info: current_ensure = absent
Info: install snap
Error: Could not update: Request failed with snap "hello-world" is already installed
Error: /Stage[main]/Main/Package[hello-world]/ensure: change from 'latest/stable' to '6.4' failed: Could not update: Request failed with snap "hello-world" is already installed
�[mNotice: Applied catalog in 0.21 seconds
Shared Example Group: "an idempotent resource" called from ./spec/acceptance/01_snapd_spec.rb:128
|
Puppet / Puppet 7 - Debian 11
Process completed with exit code 1.
|
Puppet / Puppet 7 - Debian 10:
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 'debian10-64-puppet7.example.com' exited with 4 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_084148367.Okimme.pp
Last 10 lines of output were:
Info: methods = [:purge, :status, :adminfile, :responsefile, :configfiles, :allowcdrom, :mark, :enable_only, :allow_virtual, :reinstall_on_refresh, :instance, :source, :vendor, :source=, :platform, :snap_cmd, :modify_snap, :category, :determine_channel, :root=, :description, :install, :instance=, :root, :provider, :latest, :flavor=, :mark=, :command=, :adminfile=, :responsefile=, :configfiles=, :category=, :vendor=, :allowcdrom=, :enable_only=, :install_only=, :install_options=, :ensure, :flavor, :ensure=, :command, :allow_virtual=, :reinstall_on_refresh=, :install_only, :install_options, :platform=, :provider=, :uninstall_options=, :package_settings, :package_settings=, :uninstall_options, :query, :description=, :uninstall, :update, :status=, :satisfies?, :uninstallable?, :upgradeable?, :purgeable?, :versionable?, :version_ranges?, :reinstallable?, :holdable?, :install_only?, :install_options?, :uninstall_options?, :disableable?, :supports_flavors?, :package_settings?, :virtual_packages?, :features, :targetable?, :feature?, :has_feature, :has_features, :installable?, :join_options, :validate_source, :flush, :properties, :info, :get, :emerg, :debug, :notice, :alert, :crit, :execute, :inspect, :to_s, :warning, :resource=, :err, :<=>, :resource, :set, :execpipe, :clear, :name, :clamp, :between?, :<=, :>=, :==, :>, :<, :error_context, :exceptwrap, :devfail, :adderrorcontext, :fail, :meta_undef, :class_def, :to_yaml, :daemonize, :meta_eval, :meta_def, :singleton_class, :_, :n_, :s_, :N_, :Nn_, :ns_, :to_pson, :to_json, :dup, :itself, :yield_self, :then, :taint, :tainted?, :untaint, :untrust, :untrusted?, :trust, :frozen?, :methods, :singleton_methods, :protected_methods, :private_methods, :public_methods, :instance_variables, :instance_variable_get, :instance_variable_set, :instance_variable_defined?, :remove_instance_variable, :instance_of?, :kind_of?, :is_a?, :tap, :clone, :display, :hash, :class, :public_send, :method, :public_method, :singleton_method, :define_singleton_method, :extend, :to_enum, :enum_for, :===, :=~, :!~, :nil?, :eql?, :respond_to?, :freeze, :object_id, :send, :__send__, :!, :!=, :equal?, :__id__, :instance_eval, :instance_exec]
Info: called install
Info: called query
Info: @installed_snaps =
Info: installed
Info: current_ensure = absent
Info: install snap
Error: Could not update: Request failed with snap "hello-world" is already installed
Error: /Stage[main]/Main/Package[hello-world]/ensure: change from 'latest/candidate' to 'latest/beta' failed: Could not update: Request failed with snap "hello-world" is already installed
�[mNotice: Applied catalog in 0.01 seconds
Shared Example Group: "an idempotent resource" called from ./spec/acceptance/01_snapd_spec.rb:90
|
Puppet / Puppet 7 - Debian 10:
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 'debian10-64-puppet7.example.com' exited with 4 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_084150169.OTQTZz.pp
Last 10 lines of output were:
Info: methods = [:purge, :status, :adminfile, :responsefile, :configfiles, :allowcdrom, :mark, :enable_only, :allow_virtual, :reinstall_on_refresh, :instance, :source, :vendor, :source=, :platform, :snap_cmd, :modify_snap, :category, :determine_channel, :root=, :description, :install, :instance=, :root, :provider, :latest, :flavor=, :mark=, :command=, :adminfile=, :responsefile=, :configfiles=, :category=, :vendor=, :allowcdrom=, :enable_only=, :install_only=, :install_options=, :ensure, :flavor, :ensure=, :command, :allow_virtual=, :reinstall_on_refresh=, :install_only, :install_options, :platform=, :provider=, :uninstall_options=, :package_settings, :package_settings=, :uninstall_options, :query, :description=, :uninstall, :update, :status=, :satisfies?, :uninstallable?, :upgradeable?, :purgeable?, :versionable?, :version_ranges?, :reinstallable?, :holdable?, :install_only?, :install_options?, :uninstall_options?, :disableable?, :supports_flavors?, :package_settings?, :virtual_packages?, :features, :targetable?, :feature?, :has_feature, :has_features, :installable?, :join_options, :validate_source, :flush, :properties, :info, :get, :emerg, :debug, :notice, :alert, :crit, :execute, :inspect, :to_s, :warning, :resource=, :err, :<=>, :resource, :set, :execpipe, :clear, :name, :clamp, :between?, :<=, :>=, :==, :>, :<, :error_context, :exceptwrap, :devfail, :adderrorcontext, :fail, :meta_undef, :class_def, :to_yaml, :daemonize, :meta_eval, :meta_def, :singleton_class, :_, :n_, :s_, :N_, :Nn_, :ns_, :to_pson, :to_json, :dup, :itself, :yield_self, :then, :taint, :tainted?, :untaint, :untrust, :untrusted?, :trust, :frozen?, :methods, :singleton_methods, :protected_methods, :private_methods, :public_methods, :instance_variables, :instance_variable_get, :instance_variable_set, :instance_variable_defined?, :remove_instance_variable, :instance_of?, :kind_of?, :is_a?, :tap, :clone, :display, :hash, :class, :public_send, :method, :public_method, :singleton_method, :define_singleton_method, :extend, :to_enum, :enum_for, :===, :=~, :!~, :nil?, :eql?, :respond_to?, :freeze, :object_id, :send, :__send__, :!, :!=, :equal?, :__id__, :instance_eval, :instance_exec]
Info: called install
Info: called query
Info: @installed_snaps =
Info: installed
Info: current_ensure = absent
Info: install snap
Error: Could not update: Request failed with snap "hello-world" is already installed
Error: /Stage[main]/Main/Package[hello-world]/ensure: change from 'latest/candidate' to 'latest/beta' failed: Could not update: Request failed with snap "hello-world" is already installed
�[mNotice: Applied catalog in 0.01 seconds
Shared Example Group: "an idempotent resource" called from ./spec/acceptance/01_snapd_spec.rb:90
|
Puppet / Puppet 7 - Debian 10:
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** -
|
Puppet / Puppet 7 - Debian 10:
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 'debian10-64-puppet7.example.com' exited with 4 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_084159494.YLbOzx.pp
Last 10 lines of output were:
Info: version = 6.4
Info: called install
Info: called query
Info: @installed_snaps =
Info: installed
Info: current_ensure = absent
Info: install snap
Error: Could not update: Request failed with snap "hello-world" is already installed
Error: /Stage[main]/Main/Package[hello-world]/ensure: change from 'latest/stable' to '6.4' failed: Could not update: Request failed with snap "hello-world" is already installed
�[mNotice: Applied catalog in 0.32 seconds
Shared Example Group: "an idempotent resource" called from ./spec/acceptance/01_snapd_spec.rb:128
|
Puppet / Puppet 7 - Debian 10
Process completed with exit code 1.
|
Puppet / Puppet 8 - Debian 10:
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 'debian10-64-puppet8.example.com' exited with 4 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_084146056.D4jzmp.pp
Last 10 lines of output were:
Info: methods = [:description=, :allowcdrom, :enable_only, :update, :responsefile, :allow_virtual, :reinstall_on_refresh, :ensure, :query, :status, :vendor, :source, :snap_cmd, :provider, :modify_snap, :mark, :latest, :instance, :determine_channel, :root=, :provider=, :category, :root, :instance=, :description, :ensure=, :command, :flavor=, :mark=, :command=, :adminfile=, :responsefile=, :source=, :configfiles=, :vendor=, :allowcdrom=, :category=, :enable_only=, :install_only=, :install_options=, :uninstall_options=, :allow_virtual=, :reinstall_on_refresh=, :uninstall, :flavor, :install_options, :platform, :install_only, :package_settings, :package_settings=, :uninstall_options, :install, :platform=, :purge, :status=, :adminfile, :configfiles, :has_feature, :uninstallable?, :upgradeable?, :purgeable?, :versionable?, :version_ranges?, :reinstallable?, :holdable?, :install_only?, :install_options?, :feature?, :disableable?, :uninstall_options?, :package_settings?, :installable?, :targetable?, :virtual_packages?, :supports_flavors?, :has_features, :satisfies?, :features, :properties, :validate_source, :flush, :join_options, :name, :get, :debug, :notice, :execute, :err, :clear, :execpipe, :to_s, :set, :inspect, :info, :<=>, :resource, :warning, :alert, :emerg, :resource=, :crit, :clamp, :between?, :<=, :>=, :==, :<, :>, :adderrorcontext, :fail, :error_context, :exceptwrap, :devfail, :meta_eval, :daemonize, :meta_undef, :meta_def, :class_def, :singleton_class, :to_yaml, :np_, :_, :N_, :Nn_, :n_, :s_, :p_, :ns_, :to_json, :hash, :dup, :itself, :methods, :singleton_methods, :protected_methods, :private_methods, :public_methods, :instance_variables, :instance_variable_get, :instance_variable_set, :instance_variable_defined?, :remove_instance_variable, :instance_of?, :kind_of?, :is_a?, :display, :public_send, :extend, :clone, :class, :===, :!~, :tap, :then, :frozen?, :nil?, :eql?, :respond_to?, :method, :public_method, :singleton_method, :define_singleton_method, :freeze, :object_id, :yield_self, :send, :to_enum, :enum_for, :!, :equal?, :__send__, :__id__, :!=, :instance_eval, :instance_exec]
Info: called install
Info: called query
Info: @installed_snaps =
Info: installed
Info: current_ensure = absent
Info: install snap
Error: Could not update: Request failed with snap "hello-world" is already installed
Error: /Stage[main]/Main/Package[hello-world]/ensure: change from 'latest/candidate' to 'latest/beta' failed: Could not update: Request failed with snap "hello-world" is already installed
�[mNotice: Applied catalog in 0.02 seconds
Shared Example Group: "an idempotent resource" called from ./spec/acceptance/01_snapd_spec.rb:90
|
Puppet / Puppet 8 - Debian 10:
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 'debian10-64-puppet8.example.com' exited with 4 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_084148073.kFp2IV.pp
Last 10 lines of output were:
Info: methods = [:description=, :allowcdrom, :enable_only, :update, :responsefile, :allow_virtual, :reinstall_on_refresh, :ensure, :query, :status, :vendor, :source, :snap_cmd, :provider, :modify_snap, :mark, :latest, :instance, :determine_channel, :root=, :provider=, :category, :root, :instance=, :description, :ensure=, :command, :flavor=, :mark=, :command=, :adminfile=, :responsefile=, :source=, :configfiles=, :vendor=, :allowcdrom=, :category=, :enable_only=, :install_only=, :install_options=, :uninstall_options=, :allow_virtual=, :reinstall_on_refresh=, :uninstall, :flavor, :install_options, :platform, :install_only, :package_settings, :package_settings=, :uninstall_options, :install, :platform=, :purge, :status=, :adminfile, :configfiles, :has_feature, :uninstallable?, :upgradeable?, :purgeable?, :versionable?, :version_ranges?, :reinstallable?, :holdable?, :install_only?, :install_options?, :feature?, :disableable?, :uninstall_options?, :package_settings?, :installable?, :targetable?, :virtual_packages?, :supports_flavors?, :has_features, :satisfies?, :features, :properties, :validate_source, :flush, :join_options, :name, :get, :debug, :notice, :execute, :err, :clear, :execpipe, :to_s, :set, :inspect, :info, :<=>, :resource, :warning, :alert, :emerg, :resource=, :crit, :clamp, :between?, :<=, :>=, :==, :<, :>, :adderrorcontext, :fail, :error_context, :exceptwrap, :devfail, :meta_eval, :daemonize, :meta_undef, :meta_def, :class_def, :singleton_class, :to_yaml, :np_, :_, :N_, :Nn_, :n_, :s_, :p_, :ns_, :to_json, :hash, :dup, :itself, :methods, :singleton_methods, :protected_methods, :private_methods, :public_methods, :instance_variables, :instance_variable_get, :instance_variable_set, :instance_variable_defined?, :remove_instance_variable, :instance_of?, :kind_of?, :is_a?, :display, :public_send, :extend, :clone, :class, :===, :!~, :tap, :then, :frozen?, :nil?, :eql?, :respond_to?, :method, :public_method, :singleton_method, :define_singleton_method, :freeze, :object_id, :yield_self, :send, :to_enum, :enum_for, :!, :equal?, :__send__, :__id__, :!=, :instance_eval, :instance_exec]
Info: called install
Info: called query
Info: @installed_snaps =
Info: installed
Info: current_ensure = absent
Info: install snap
Error: Could not update: Request failed with snap "hello-world" is already installed
Error: /Stage[main]/Main/Package[hello-world]/ensure: change from 'latest/candidate' to 'latest/beta' failed: Could not update: Request failed with snap "hello-world" is already installed
�[mNotice: Applied catalog in 0.01 seconds
Shared Example Group: "an idempotent resource" called from ./spec/acceptance/01_snapd_spec.rb:90
|
Puppet / Puppet 8 - Debian 10:
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** -
|
Puppet / Puppet 8 - Debian 10:
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 'debian10-64-puppet8.example.com' exited with 4 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_084158318.yugzsq.pp
Last 10 lines of output were:
Info: version = 6.4
Info: called install
Info: called query
Info: @installed_snaps =
Info: installed
Info: current_ensure = absent
Info: install snap
Error: Could not update: Request failed with snap "hello-world" is already installed
Error: /Stage[main]/Main/Package[hello-world]/ensure: change from 'latest/stable' to '6.4' failed: Could not update: Request failed with snap "hello-world" is already installed
�[mNotice: Applied catalog in 0.29 seconds
Shared Example Group: "an idempotent resource" called from ./spec/acceptance/01_snapd_spec.rb:128
|
Puppet / Puppet 8 - Debian 10
Process completed with exit code 1.
|
Puppet / Puppet 8 - OracleLinux 7:
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-puppet8.example.com' exited with 4 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_084148047.DUrSO5.pp
Last 10 lines of output were:
Info: methods = [:description=, :flavor=, :mark=, :command=, :adminfile=, :responsefile=, :configfiles=, :category=, :vendor=, :allowcdrom=, :enable_only=, :vendor, :install_only=, :install_options=, :uninstall_options=, :allow_virtual=, :reinstall_on_refresh=, :update, :query, :install_only, :provider, :status, :uninstall_options, :install_options, :package_settings, :package_settings=, :uninstall, :source, :root=, :provider=, :mark, :instance=, :adminfile, :instance, :configfiles, :responsefile, :enable_only, :latest, :allowcdrom, :allow_virtual, :reinstall_on_refresh, :category, :root, :source=, :description, :command, :flavor, :snap_cmd, :modify_snap, :determine_channel, :platform, :purge, :status=, :ensure, :install, :platform=, :ensure=, :package_settings?, :virtual_packages?, :satisfies?, :targetable?, :has_features, :has_feature, :installable?, :uninstallable?, :upgradeable?, :purgeable?, :versionable?, :version_ranges?, :reinstallable?, :holdable?, :feature?, :install_options?, :features, :disableable?, :uninstall_options?, :install_only?, :supports_flavors?, :validate_source, :properties, :flush, :join_options, :info, :name, :resource, :get, :debug, :notice, :emerg, :err, :execute, :crit, :alert, :clear, :resource=, :set, :to_s, :<=>, :warning, :execpipe, :inspect, :clamp, :between?, :<=, :>=, :==, :<, :>, :error_context, :exceptwrap, :devfail, :adderrorcontext, :fail, :meta_undef, :daemonize, :class_def, :singleton_class, :to_yaml, :meta_eval, :meta_def, :N_, :Nn_, :_, :n_, :s_, :p_, :ns_, :np_, :to_json, :hash, :dup, :itself, :methods, :singleton_methods, :protected_methods, :private_methods, :public_methods, :instance_variables, :instance_variable_get, :instance_variable_set, :instance_variable_defined?, :remove_instance_variable, :instance_of?, :kind_of?, :is_a?, :display, :public_send, :extend, :clone, :class, :===, :!~, :tap, :then, :frozen?, :nil?, :eql?, :respond_to?, :method, :public_method, :singleton_method, :define_singleton_method, :freeze, :object_id, :yield_self, :send, :to_enum, :enum_for, :!, :equal?, :__send__, :__id__, :!=, :instance_eval, :instance_exec]
Info: called install
Info: called query
Info: @installed_snaps =
Info: installed
Info: current_ensure = absent
Info: install snap
Error: Could not update: Request failed with snap "hello-world" is already installed
Error: /Stage[main]/Main/Package[hello-world]/ensure: change from 'latest/candidate' to 'latest/beta' failed: Could not update: Request failed with snap "hello-world" is already installed
�[mNotice: Applied catalog in 0.02 seconds
Shared Example Group: "an idempotent resource" called from ./spec/acceptance/01_snapd_spec.rb:90
|
Puppet / Puppet 8 - OracleLinux 7:
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-puppet8.example.com' exited with 4 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_084150301.pMThSO.pp
Last 10 lines of output were:
Info: methods = [:description=, :flavor=, :mark=, :command=, :adminfile=, :responsefile=, :configfiles=, :category=, :vendor=, :allowcdrom=, :enable_only=, :vendor, :install_only=, :install_options=, :uninstall_options=, :allow_virtual=, :reinstall_on_refresh=, :update, :query, :install_only, :provider, :status, :uninstall_options, :install_options, :package_settings, :package_settings=, :uninstall, :source, :root=, :provider=, :mark, :instance=, :adminfile, :instance, :configfiles, :responsefile, :enable_only, :latest, :allowcdrom, :allow_virtual, :reinstall_on_refresh, :category, :root, :source=, :description, :command, :flavor, :snap_cmd, :modify_snap, :determine_channel, :platform, :purge, :status=, :ensure, :install, :platform=, :ensure=, :package_settings?, :virtual_packages?, :satisfies?, :targetable?, :has_features, :has_feature, :installable?, :uninstallable?, :upgradeable?, :purgeable?, :versionable?, :version_ranges?, :reinstallable?, :holdable?, :feature?, :install_options?, :features, :disableable?, :uninstall_options?, :install_only?, :supports_flavors?, :validate_source, :properties, :flush, :join_options, :info, :name, :resource, :get, :debug, :notice, :emerg, :err, :execute, :crit, :alert, :clear, :resource=, :set, :to_s, :<=>, :warning, :execpipe, :inspect, :clamp, :between?, :<=, :>=, :==, :<, :>, :error_context, :exceptwrap, :devfail, :adderrorcontext, :fail, :meta_undef, :daemonize, :class_def, :singleton_class, :to_yaml, :meta_eval, :meta_def, :N_, :Nn_, :_, :n_, :s_, :p_, :ns_, :np_, :to_json, :hash, :dup, :itself, :methods, :singleton_methods, :protected_methods, :private_methods, :public_methods, :instance_variables, :instance_variable_get, :instance_variable_set, :instance_variable_defined?, :remove_instance_variable, :instance_of?, :kind_of?, :is_a?, :display, :public_send, :extend, :clone, :class, :===, :!~, :tap, :then, :frozen?, :nil?, :eql?, :respond_to?, :method, :public_method, :singleton_method, :define_singleton_method, :freeze, :object_id, :yield_self, :send, :to_enum, :enum_for, :!, :equal?, :__send__, :__id__, :!=, :instance_eval, :instance_exec]
Info: called install
Info: called query
Info: @installed_snaps =
Info: installed
Info: current_ensure = absent
Info: install snap
Error: Could not update: Request failed with snap "hello-world" is already installed
Error: /Stage[main]/Main/Package[hello-world]/ensure: change from 'latest/candidate' to 'latest/beta' failed: Could not update: Request failed with snap "hello-world" is already installed
�[mNotice: Applied catalog in 0.02 seconds
Shared Example Group: "an idempotent resource" called from ./spec/acceptance/01_snapd_spec.rb:90
|
Puppet / Puppet 8 - OracleLinux 7:
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** -
|
Puppet / Puppet 8 - OracleLinux 7:
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-puppet8.example.com' exited with 4 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_084201392.Nw1DAY.pp
Last 10 lines of output were:
Info: version = 6.4
Info: called install
Info: called query
Info: @installed_snaps =
Info: installed
Info: current_ensure = absent
Info: install snap
Error: Could not update: Request failed with snap "hello-world" is already installed
Error: /Stage[main]/Main/Package[hello-world]/ensure: change from 'latest/stable' to '6.4' failed: Could not update: Request failed with snap "hello-world" is already installed
�[mNotice: Applied catalog in 0.32 seconds
Shared Example Group: "an idempotent resource" called from ./spec/acceptance/01_snapd_spec.rb:128
|
Puppet / Puppet 8 - OracleLinux 7
Process completed with exit code 1.
|
Puppet / Puppet 7 - CentOS 9:
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_084157032.s0d6Ct.pp
Last 10 lines of output were:
Info: methods = [:purge, :uninstall, :status, :query, :update, :mark, :adminfile, :responsefile, :instance, :configfiles, :allowcdrom, :source, :enable_only, :allow_virtual, :reinstall_on_refresh, :vendor, :source=, :platform, :category, :snap_cmd, :root=, :modify_snap, :determine_channel, :description, :install, :instance=, :root, :provider, :latest, :flavor=, :mark=, :command=, :ensure, :flavor, :command, :adminfile=, :responsefile=, :configfiles=, :enable_only=, :vendor=, :platform=, :category=, :provider=, :ensure=, :uninstall_options=, :install_only=, :install_options=, :allowcdrom=, :install_only, :description=, :uninstall_options, :install_options, :package_settings, :reinstall_on_refresh=, :package_settings=, :status=, :allow_virtual=, :supports_flavors?, :package_settings?, :disableable?, :targetable?, :has_features, :virtual_packages?, :satisfies?, :has_feature, :uninstallable?, :upgradeable?, :purgeable?, :versionable?, :version_ranges?, :holdable?, :features, :install_only?, :feature?, :uninstall_options?, :install_options?, :reinstallable?, :installable?, :join_options, :validate_source, :flush, :properties, :info, :get, :emerg, :debug, :notice, :alert, :crit, :execute, :inspect, :to_s, :warning, :resource=, :err, :<=>, :resource, :set, :execpipe, :clear, :name, :clamp, :between?, :<=, :>=, :==, :>, :<, :error_context, :exceptwrap, :devfail, :adderrorcontext, :fail, :meta_undef, :class_def, :to_yaml, :daemonize, :meta_eval, :meta_def, :singleton_class, :_, :n_, :s_, :N_, :Nn_, :ns_, :to_pson, :to_json, :dup, :itself, :yield_self, :then, :taint, :tainted?, :untaint, :untrust, :untrusted?, :trust, :frozen?, :methods, :singleton_methods, :protected_methods, :private_methods, :public_methods, :instance_variables, :instance_variable_get, :instance_variable_set, :instance_variable_defined?, :remove_instance_variable, :instance_of?, :kind_of?, :is_a?, :tap, :clone, :display, :hash, :class, :public_send, :method, :public_method, :singleton_method, :define_singleton_method, :extend, :to_enum, :enum_for, :===, :=~, :!~, :nil?, :eql?, :respond_to?, :freeze, :object_id, :send, :__send__, :!, :!=, :equal?, :__id__, :instance_eval, :instance_exec]
Info: called install
Info: called query
Info: @installed_snaps =
Info: installed
Info: current_ensure = absent
Info: install snap
Error: Could not update: Request failed with snap "hello-world" is already installed
Error: /Stage[main]/Main/Package[hello-world]/ensure: change from 'latest/candidate' to 'latest/beta' failed: Could not update: Request failed with snap "hello-world" is already installed
�[mNotice: Applied catalog in 0.01 seconds
Shared Example Group: "an idempotent resource" called from ./spec/acceptance/01_snapd_spec.rb:90
|
Puppet / Puppet 7 - CentOS 9:
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 'centos9-64-puppet7.example.com' exited with 4 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_084158867.bfZwcU.pp
Last 10 lines of output were:
Info: methods = [:purge, :uninstall, :status, :query, :update, :mark, :adminfile, :responsefile, :instance, :configfiles, :allowcdrom, :source, :enable_only, :allow_virtual, :reinstall_on_refresh, :vendor, :source=, :platform, :category, :snap_cmd, :root=, :modify_snap, :determine_channel, :description, :install, :instance=, :root, :provider, :latest, :flavor=, :mark=, :command=, :ensure, :flavor, :command, :adminfile=, :responsefile=, :configfiles=, :enable_only=, :vendor=, :platform=, :category=, :provider=, :ensure=, :uninstall_options=, :install_only=, :install_options=, :allowcdrom=, :install_only, :description=, :uninstall_options, :install_options, :package_settings, :reinstall_on_refresh=, :package_settings=, :status=, :allow_virtual=, :supports_flavors?, :package_settings?, :disableable?, :targetable?, :has_features, :virtual_packages?, :satisfies?, :has_feature, :uninstallable?, :upgradeable?, :purgeable?, :versionable?, :version_ranges?, :holdable?, :features, :install_only?, :feature?, :uninstall_options?, :install_options?, :reinstallable?, :installable?, :join_options, :validate_source, :flush, :properties, :info, :get, :emerg, :debug, :notice, :alert, :crit, :execute, :inspect, :to_s, :warning, :resource=, :err, :<=>, :resource, :set, :execpipe, :clear, :name, :clamp, :between?, :<=, :>=, :==, :>, :<, :error_context, :exceptwrap, :devfail, :adderrorcontext, :fail, :meta_undef, :class_def, :to_yaml, :daemonize, :meta_eval, :meta_def, :singleton_class, :_, :n_, :s_, :N_, :Nn_, :ns_, :to_pson, :to_json, :dup, :itself, :yield_self, :then, :taint, :tainted?, :untaint, :untrust, :untrusted?, :trust, :frozen?, :methods, :singleton_methods, :protected_methods, :private_methods, :public_methods, :instance_variables, :instance_variable_get, :instance_variable_set, :instance_variable_defined?, :remove_instance_variable, :instance_of?, :kind_of?, :is_a?, :tap, :clone, :display, :hash, :class, :public_send, :method, :public_method, :singleton_method, :define_singleton_method, :extend, :to_enum, :enum_for, :===, :=~, :!~, :nil?, :eql?, :respond_to?, :freeze, :object_id, :send, :__send__, :!, :!=, :equal?, :__id__, :instance_eval, :instance_exec]
Info: called install
Info: called query
Info: @installed_snaps =
Info: installed
Info: current_ensure = absent
Info: install snap
Error: Could not update: Request failed with snap "hello-world" is already installed
Error: /Stage[main]/Main/Package[hello-world]/ensure: change from 'latest/candidate' to 'latest/beta' failed: Could not update: Request failed with snap "hello-world" is already installed
�[mNotice: Applied catalog in 0.02 seconds
Shared Example Group: "an idempotent resource" called from ./spec/acceptance/01_snapd_spec.rb:90
|
Puppet / Puppet 7 - CentOS 9:
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** -
|
Puppet / Puppet 7 - CentOS 9:
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 'centos9-64-puppet7.example.com' exited with 4 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_084208233.4FRGo6.pp
Last 10 lines of output were:
Info: version = 6.4
Info: called install
Info: called query
Info: @installed_snaps =
Info: installed
Info: current_ensure = absent
Info: install snap
Error: Could not update: Request failed with snap "hello-world" is already installed
Error: /Stage[main]/Main/Package[hello-world]/ensure: change from 'latest/stable' to '6.4' failed: Could not update: Request failed with snap "hello-world" is already installed
�[mNotice: Applied catalog in 0.27 seconds
Shared Example Group: "an idempotent resource" called from ./spec/acceptance/01_snapd_spec.rb:128
|
Puppet / Puppet 7 - CentOS 9
Process completed with exit code 1.
|
Puppet / Puppet 7 - OracleLinux 9:
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 'oracle9-64-puppet7.example.com' exited with 4 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_084157821.yFLTLu.pp
Last 10 lines of output were:
Info: methods = [:allow_virtual=, :status, :query, :update, :mark, :uninstall, :instance, :adminfile, :responsefile, :source, :allowcdrom, :configfiles, :enable_only, :allow_virtual, :reinstall_on_refresh, :vendor, :source=, :platform, :category, :snap_cmd, :root=, :modify_snap, :determine_channel, :description, :install, :instance=, :root, :provider, :latest, :flavor=, :flavor, :ensure, :command, :mark=, :command=, :adminfile=, :responsefile=, :allowcdrom=, :category=, :provider=, :configfiles=, :platform=, :vendor=, :ensure=, :enable_only=, :install_only=, :install_options=, :install_only, :description=, :install_options, :uninstall_options, :uninstall_options=, :package_settings, :reinstall_on_refresh=, :package_settings=, :status=, :purge, :uninstall_options?, :disableable?, :install_options?, :package_settings?, :virtual_packages?, :supports_flavors?, :targetable?, :satisfies?, :has_feature, :has_features, :uninstallable?, :upgradeable?, :purgeable?, :features, :version_ranges?, :reinstallable?, :feature?, :install_only?, :holdable?, :versionable?, :installable?, :properties, :join_options, :validate_source, :flush, :info, :get, :emerg, :debug, :notice, :alert, :crit, :execute, :inspect, :to_s, :warning, :resource=, :err, :<=>, :resource, :set, :execpipe, :clear, :name, :clamp, :between?, :<=, :>=, :==, :>, :<, :error_context, :exceptwrap, :devfail, :adderrorcontext, :fail, :meta_undef, :class_def, :to_yaml, :daemonize, :meta_eval, :meta_def, :singleton_class, :_, :n_, :s_, :N_, :Nn_, :ns_, :to_pson, :to_json, :dup, :itself, :yield_self, :then, :taint, :tainted?, :untaint, :untrust, :untrusted?, :trust, :frozen?, :methods, :singleton_methods, :protected_methods, :private_methods, :public_methods, :instance_variables, :instance_variable_get, :instance_variable_set, :instance_variable_defined?, :remove_instance_variable, :instance_of?, :kind_of?, :is_a?, :tap, :clone, :display, :hash, :class, :public_send, :method, :public_method, :singleton_method, :define_singleton_method, :extend, :to_enum, :enum_for, :===, :=~, :!~, :nil?, :eql?, :respond_to?, :freeze, :object_id, :send, :__send__, :!, :!=, :equal?, :__id__, :instance_eval, :instance_exec]
Info: called install
Info: called query
Info: @installed_snaps =
Info: installed
Info: current_ensure = absent
Info: install snap
Error: Could not update: Request failed with snap "hello-world" is already installed
Error: /Stage[main]/Main/Package[hello-world]/ensure: change from 'latest/candidate' to 'latest/beta' failed: Could not update: Request failed with snap "hello-world" is already installed
�[mNotice: Applied catalog in 0.01 seconds
Shared Example Group: "an idempotent resource" called from ./spec/acceptance/01_snapd_spec.rb:90
|
Puppet / Puppet 7 - OracleLinux 9:
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 'oracle9-64-puppet7.example.com' exited with 4 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_084159898.Z9ZXIt.pp
Last 10 lines of output were:
Info: methods = [:allow_virtual=, :status, :query, :update, :mark, :uninstall, :instance, :adminfile, :responsefile, :source, :allowcdrom, :configfiles, :enable_only, :allow_virtual, :reinstall_on_refresh, :vendor, :source=, :platform, :category, :snap_cmd, :root=, :modify_snap, :determine_channel, :description, :install, :instance=, :root, :provider, :latest, :flavor=, :flavor, :ensure, :command, :mark=, :command=, :adminfile=, :responsefile=, :allowcdrom=, :category=, :provider=, :configfiles=, :platform=, :vendor=, :ensure=, :enable_only=, :install_only=, :install_options=, :install_only, :description=, :install_options, :uninstall_options, :uninstall_options=, :package_settings, :reinstall_on_refresh=, :package_settings=, :status=, :purge, :uninstall_options?, :disableable?, :install_options?, :package_settings?, :virtual_packages?, :supports_flavors?, :targetable?, :satisfies?, :has_feature, :has_features, :uninstallable?, :upgradeable?, :purgeable?, :features, :version_ranges?, :reinstallable?, :feature?, :install_only?, :holdable?, :versionable?, :installable?, :properties, :join_options, :validate_source, :flush, :info, :get, :emerg, :debug, :notice, :alert, :crit, :execute, :inspect, :to_s, :warning, :resource=, :err, :<=>, :resource, :set, :execpipe, :clear, :name, :clamp, :between?, :<=, :>=, :==, :>, :<, :error_context, :exceptwrap, :devfail, :adderrorcontext, :fail, :meta_undef, :class_def, :to_yaml, :daemonize, :meta_eval, :meta_def, :singleton_class, :_, :n_, :s_, :N_, :Nn_, :ns_, :to_pson, :to_json, :dup, :itself, :yield_self, :then, :taint, :tainted?, :untaint, :untrust, :untrusted?, :trust, :frozen?, :methods, :singleton_methods, :protected_methods, :private_methods, :public_methods, :instance_variables, :instance_variable_get, :instance_variable_set, :instance_variable_defined?, :remove_instance_variable, :instance_of?, :kind_of?, :is_a?, :tap, :clone, :display, :hash, :class, :public_send, :method, :public_method, :singleton_method, :define_singleton_method, :extend, :to_enum, :enum_for, :===, :=~, :!~, :nil?, :eql?, :respond_to?, :freeze, :object_id, :send, :__send__, :!, :!=, :equal?, :__id__, :instance_eval, :instance_exec]
Info: called install
Info: called query
Info: @installed_snaps =
Info: installed
Info: current_ensure = absent
Info: install snap
Error: Could not update: Request failed with snap "hello-world" is already installed
Error: /Stage[main]/Main/Package[hello-world]/ensure: change from 'latest/candidate' to 'latest/beta' failed: Could not update: Request failed with snap "hello-world" is already installed
�[mNotice: Applied catalog in 0.01 seconds
Shared Example Group: "an idempotent resource" called from ./spec/acceptance/01_snapd_spec.rb:90
|
Puppet / Puppet 7 - OracleLinux 9:
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** -
|
Puppet / Puppet 7 - OracleLinux 9:
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 'oracle9-64-puppet7.example.com' exited with 4 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_084209548.jxxLbL.pp
Last 10 lines of output were:
Info: version = 6.4
Info: called install
Info: called query
Info: @installed_snaps =
Info: installed
Info: current_ensure = absent
Info: install snap
Error: Could not update: Request failed with snap "hello-world" is already installed
Error: /Stage[main]/Main/Package[hello-world]/ensure: change from 'latest/stable' to '6.4' failed: Could not update: Request failed with snap "hello-world" is already installed
�[mNotice: Applied catalog in 0.38 seconds
Shared Example Group: "an idempotent resource" called from ./spec/acceptance/01_snapd_spec.rb:128
|
Puppet / Puppet 7 - OracleLinux 9
Process completed with exit code 1.
|
Puppet / Puppet 7 - Ubuntu 20.04:
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 'ubuntu2004-64-puppet7.example.com' exited with 4 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_084202112.kFCBkx.pp
Last 10 lines of output were:
Info: methods = [:uninstall, :purge, :status, :allow_virtual=, :update, :mark, :adminfile, :responsefile, :configfiles, :instance, :allowcdrom, :enable_only, :source, :allow_virtual, :reinstall_on_refresh, :vendor, :source=, :platform, :snap_cmd, :category, :modify_snap, :root=, :determine_channel, :description, :install, :instance=, :root, :provider, :latest, :flavor=, :mark=, :command=, :adminfile=, :ensure, :flavor, :command, :responsefile=, :configfiles=, :category=, :enable_only=, :allowcdrom=, :platform=, :provider=, :ensure=, :uninstall_options=, :install_only=, :vendor=, :install_only, :install_options, :uninstall_options, :description=, :query, :package_settings, :reinstall_on_refresh=, :package_settings=, :install_options=, :status=, :package_settings?, :virtual_packages?, :supports_flavors?, :has_features, :targetable?, :satisfies?, :has_feature, :uninstallable?, :upgradeable?, :purgeable?, :versionable?, :version_ranges?, :reinstallable?, :features, :install_only?, :holdable?, :feature?, :install_options?, :uninstall_options?, :disableable?, :installable?, :join_options, :validate_source, :flush, :properties, :info, :get, :emerg, :debug, :notice, :alert, :crit, :execute, :inspect, :to_s, :warning, :resource=, :err, :<=>, :resource, :set, :execpipe, :clear, :name, :clamp, :between?, :<=, :>=, :==, :>, :<, :error_context, :exceptwrap, :devfail, :adderrorcontext, :fail, :meta_undef, :class_def, :to_yaml, :daemonize, :meta_eval, :meta_def, :singleton_class, :_, :n_, :s_, :N_, :Nn_, :ns_, :to_pson, :to_json, :dup, :itself, :yield_self, :then, :taint, :tainted?, :untaint, :untrust, :untrusted?, :trust, :frozen?, :methods, :singleton_methods, :protected_methods, :private_methods, :public_methods, :instance_variables, :instance_variable_get, :instance_variable_set, :instance_variable_defined?, :remove_instance_variable, :instance_of?, :kind_of?, :is_a?, :tap, :clone, :display, :hash, :class, :public_send, :method, :public_method, :singleton_method, :define_singleton_method, :extend, :to_enum, :enum_for, :===, :=~, :!~, :nil?, :eql?, :respond_to?, :freeze, :object_id, :send, :__send__, :!, :!=, :equal?, :__id__, :instance_eval, :instance_exec]
Info: called install
Info: called query
Info: @installed_snaps =
Info: installed
Info: current_ensure = absent
Info: install snap
Error: Could not update: Request failed with snap "hello-world" is already installed
Error: /Stage[main]/Main/Package[hello-world]/ensure: change from 'latest/candidate' to 'latest/beta' failed: Could not update: Request failed with snap "hello-world" is already installed
�[mNotice: Applied catalog in 0.01 seconds
Shared Example Group: "an idempotent resource" called from ./spec/acceptance/01_snapd_spec.rb:90
|
Puppet / Puppet 7 - Ubuntu 20.04:
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 'ubuntu2004-64-puppet7.example.com' exited with 4 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_084203970.oQjuGZ.pp
Last 10 lines of output were:
Info: methods = [:uninstall, :purge, :status, :allow_virtual=, :update, :mark, :adminfile, :responsefile, :configfiles, :instance, :allowcdrom, :enable_only, :source, :allow_virtual, :reinstall_on_refresh, :vendor, :source=, :platform, :snap_cmd, :category, :modify_snap, :root=, :determine_channel, :description, :install, :instance=, :root, :provider, :latest, :flavor=, :mark=, :command=, :adminfile=, :ensure, :flavor, :command, :responsefile=, :configfiles=, :category=, :enable_only=, :allowcdrom=, :platform=, :provider=, :ensure=, :uninstall_options=, :install_only=, :vendor=, :install_only, :install_options, :uninstall_options, :description=, :query, :package_settings, :reinstall_on_refresh=, :package_settings=, :install_options=, :status=, :package_settings?, :virtual_packages?, :supports_flavors?, :has_features, :targetable?, :satisfies?, :has_feature, :uninstallable?, :upgradeable?, :purgeable?, :versionable?, :version_ranges?, :reinstallable?, :features, :install_only?, :holdable?, :feature?, :install_options?, :uninstall_options?, :disableable?, :installable?, :join_options, :validate_source, :flush, :properties, :info, :get, :emerg, :debug, :notice, :alert, :crit, :execute, :inspect, :to_s, :warning, :resource=, :err, :<=>, :resource, :set, :execpipe, :clear, :name, :clamp, :between?, :<=, :>=, :==, :>, :<, :error_context, :exceptwrap, :devfail, :adderrorcontext, :fail, :meta_undef, :class_def, :to_yaml, :daemonize, :meta_eval, :meta_def, :singleton_class, :_, :n_, :s_, :N_, :Nn_, :ns_, :to_pson, :to_json, :dup, :itself, :yield_self, :then, :taint, :tainted?, :untaint, :untrust, :untrusted?, :trust, :frozen?, :methods, :singleton_methods, :protected_methods, :private_methods, :public_methods, :instance_variables, :instance_variable_get, :instance_variable_set, :instance_variable_defined?, :remove_instance_variable, :instance_of?, :kind_of?, :is_a?, :tap, :clone, :display, :hash, :class, :public_send, :method, :public_method, :singleton_method, :define_singleton_method, :extend, :to_enum, :enum_for, :===, :=~, :!~, :nil?, :eql?, :respond_to?, :freeze, :object_id, :send, :__send__, :!, :!=, :equal?, :__id__, :instance_eval, :instance_exec]
Info: called install
Info: called query
Info: @installed_snaps =
Info: installed
Info: current_ensure = absent
Info: install snap
Error: Could not update: Request failed with snap "hello-world" is already installed
Error: /Stage[main]/Main/Package[hello-world]/ensure: change from 'latest/candidate' to 'latest/beta' failed: Could not update: Request failed with snap "hello-world" is already installed
�[mNotice: Applied catalog in 0.01 seconds
Shared Example Group: "an idempotent resource" called from ./spec/acceptance/01_snapd_spec.rb:90
|
Puppet / Puppet 7 - Ubuntu 20.04:
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** -
|
Puppet / Puppet 7 - Ubuntu 20.04:
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 'ubuntu2004-64-puppet7.example.com' exited with 4 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_084213391.Afa53R.pp
Last 10 lines of output were:
Info: version = 6.4
Info: called install
Info: called query
Info: @installed_snaps =
Info: installed
Info: current_ensure = absent
Info: install snap
Error: Could not update: Request failed with snap "hello-world" is already installed
Error: /Stage[main]/Main/Package[hello-world]/ensure: change from 'latest/stable' to '6.4' failed: Could not update: Request failed with snap "hello-world" is already installed
�[mNotice: Applied catalog in 0.26 seconds
Shared Example Group: "an idempotent resource" called from ./spec/acceptance/01_snapd_spec.rb:128
|
Puppet / Puppet 7 - Ubuntu 20.04
Process completed with exit code 1.
|
Puppet / Puppet 7 - OracleLinux 7:
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_084158580.9K7HBt.pp
Last 10 lines of output were:
Info: methods = [:status, :mark, :instance, :source, :flavor=, :mark=, :command=, :adminfile=, :source=, :responsefile=, :configfiles=, :category=, :vendor=, :vendor, :enable_only=, :install_only=, :install_options=, :uninstall_options=, :ensure=, :reinstall_on_refresh=, :platform, :install_only, :install_options, :uninstall_options, :package_settings, :category, :package_settings=, :allow_virtual=, :allowcdrom=, :root=, :uninstall, :adminfile, :responsefile, :configfiles, :allowcdrom, :description, :enable_only, :allow_virtual, :reinstall_on_refresh, :instance=, :provider, :install, :root, :latest, :flavor, :ensure, :command, :snap_cmd, :provider=, :modify_snap, :platform=, :update, :query, :description=, :status=, :purge, :determine_channel, :satisfies?, :uninstallable?, :upgradeable?, :purgeable?, :versionable?, :version_ranges?, :reinstallable?, :holdable?, :install_only?, :install_options?, :uninstall_options?, :disableable?, :supports_flavors?, :package_settings?, :virtual_packages?, :targetable?, :feature?, :has_feature, :has_features, :features, :installable?, :properties, :join_options, :flush, :validate_source, :crit, :get, :name, :execute, :notice, :debug, :alert, :resource=, :inspect, :to_s, :warning, :resource, :err, :execpipe, :<=>, :set, :info, :clear, :emerg, :clamp, :between?, :<=, :>=, :==, :>, :<, :error_context, :exceptwrap, :devfail, :adderrorcontext, :fail, :to_yaml, :class_def, :meta_eval, :daemonize, :meta_def, :meta_undef, :singleton_class, :_, :Nn_, :ns_, :n_, :s_, :N_, :to_pson, :to_json, :dup, :itself, :yield_self, :then, :taint, :tainted?, :untaint, :untrust, :untrusted?, :trust, :frozen?, :methods, :singleton_methods, :protected_methods, :private_methods, :public_methods, :instance_variables, :instance_variable_get, :instance_variable_set, :instance_variable_defined?, :remove_instance_variable, :instance_of?, :kind_of?, :is_a?, :tap, :clone, :display, :hash, :class, :public_send, :method, :public_method, :singleton_method, :define_singleton_method, :extend, :to_enum, :enum_for, :===, :=~, :!~, :nil?, :eql?, :respond_to?, :freeze, :object_id, :send, :__send__, :!, :!=, :equal?, :__id__, :instance_eval, :instance_exec]
Info: called install
Info: called query
Info: @installed_snaps =
Info: installed
Info: current_ensure = absent
Info: install snap
Error: Could not update: Request failed with snap "hello-world" is already installed
Error: /Stage[main]/Main/Package[hello-world]/ensure: change from 'latest/candidate' to 'latest/beta' failed: Could not update: Request failed with snap "hello-world" is already installed
�[mNotice: Applied catalog in 0.02 seconds
Shared Example Group: "an idempotent resource" called from ./spec/acceptance/01_snapd_spec.rb:90
|
Puppet / Puppet 7 - OracleLinux 7:
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_084200589.QoOzbW.pp
Last 10 lines of output were:
Info: methods = [:status, :mark, :instance, :source, :flavor=, :mark=, :command=, :adminfile=, :source=, :responsefile=, :configfiles=, :category=, :vendor=, :vendor, :enable_only=, :install_only=, :install_options=, :uninstall_options=, :ensure=, :reinstall_on_refresh=, :platform, :install_only, :install_options, :uninstall_options, :package_settings, :category, :package_settings=, :allow_virtual=, :allowcdrom=, :root=, :uninstall, :adminfile, :responsefile, :configfiles, :allowcdrom, :description, :enable_only, :allow_virtual, :reinstall_on_refresh, :instance=, :provider, :install, :root, :latest, :flavor, :ensure, :command, :snap_cmd, :provider=, :modify_snap, :platform=, :update, :query, :description=, :status=, :purge, :determine_channel, :satisfies?, :uninstallable?, :upgradeable?, :purgeable?, :versionable?, :version_ranges?, :reinstallable?, :holdable?, :install_only?, :install_options?, :uninstall_options?, :disableable?, :supports_flavors?, :package_settings?, :virtual_packages?, :targetable?, :feature?, :has_feature, :has_features, :features, :installable?, :properties, :join_options, :flush, :validate_source, :crit, :get, :name, :execute, :notice, :debug, :alert, :resource=, :inspect, :to_s, :warning, :resource, :err, :execpipe, :<=>, :set, :info, :clear, :emerg, :clamp, :between?, :<=, :>=, :==, :>, :<, :error_context, :exceptwrap, :devfail, :adderrorcontext, :fail, :to_yaml, :class_def, :meta_eval, :daemonize, :meta_def, :meta_undef, :singleton_class, :_, :Nn_, :ns_, :n_, :s_, :N_, :to_pson, :to_json, :dup, :itself, :yield_self, :then, :taint, :tainted?, :untaint, :untrust, :untrusted?, :trust, :frozen?, :methods, :singleton_methods, :protected_methods, :private_methods, :public_methods, :instance_variables, :instance_variable_get, :instance_variable_set, :instance_variable_defined?, :remove_instance_variable, :instance_of?, :kind_of?, :is_a?, :tap, :clone, :display, :hash, :class, :public_send, :method, :public_method, :singleton_method, :define_singleton_method, :extend, :to_enum, :enum_for, :===, :=~, :!~, :nil?, :eql?, :respond_to?, :freeze, :object_id, :send, :__send__, :!, :!=, :equal?, :__id__, :instance_eval, :instance_exec]
Info: called install
Info: called query
Info: @installed_snaps =
Info: installed
Info: current_ensure = absent
Info: install snap
Error: Could not update: Request failed with snap "hello-world" is already installed
Error: /Stage[main]/Main/Package[hello-world]/ensure: change from 'latest/candidate' to 'latest/beta' failed: Could not update: Request failed with snap "hello-world" is already installed
�[mNotice: Applied catalog in 0.02 seconds
Shared Example Group: "an idempotent resource" called from ./spec/acceptance/01_snapd_spec.rb:90
|
Puppet / Puppet 7 - OracleLinux 7:
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** -
|
Puppet / Puppet 7 - OracleLinux 7:
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_084210797.NCRhDA.pp
Last 10 lines of output were:
Info: version = 6.4
Info: called install
Info: called query
Info: @installed_snaps =
Info: installed
Info: current_ensure = absent
Info: install snap
Error: Could not update: Request failed with snap "hello-world" is already installed
Error: /Stage[main]/Main/Package[hello-world]/ensure: change from 'latest/stable' to '6.4' failed: Could not update: Request failed with snap "hello-world" is already installed
�[mNotice: Applied catalog in 0.36 seconds
Shared Example Group: "an idempotent resource" called from ./spec/acceptance/01_snapd_spec.rb:128
|
Puppet / Puppet 7 - OracleLinux 7
Process completed with exit code 1.
|
Puppet / Puppet 7 - Ubuntu 18.04:
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 'ubuntu1804-64-puppet7.example.com' exited with 4 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_084203004.pIkCIb.pp
Last 10 lines of output were:
Info: methods = [:purge, :status, :mark, :instance, :source, :vendor, :source=, :mark=, :command=, :adminfile=, :responsefile=, :configfiles=, :category=, :platform, :allowcdrom=, :enable_only=, :flavor=, :install_only=, :install_options=, :vendor=, :ensure=, :uninstall_options=, :allow_virtual=, :reinstall_on_refresh=, :install_only, :install_options, :uninstall_options, :category, :package_settings, :package_settings=, :root=, :uninstall, :description, :adminfile, :responsefile, :configfiles, :allowcdrom, :enable_only, :allow_virtual, :install, :instance=, :root, :reinstall_on_refresh, :provider, :latest, :flavor, :ensure, :command, :platform=, :provider=, :snap_cmd, :update, :query, :description=, :modify_snap, :status=, :determine_channel, :targetable?, :has_feature, :virtual_packages?, :has_features, :satisfies?, :uninstallable?, :upgradeable?, :purgeable?, :versionable?, :version_ranges?, :reinstallable?, :holdable?, :install_only?, :features, :uninstall_options?, :install_options?, :feature?, :disableable?, :supports_flavors?, :package_settings?, :installable?, :validate_source, :join_options, :flush, :properties, :info, :get, :emerg, :debug, :notice, :alert, :crit, :execute, :inspect, :to_s, :warning, :resource=, :err, :<=>, :resource, :set, :execpipe, :clear, :name, :clamp, :between?, :<=, :>=, :==, :>, :<, :error_context, :exceptwrap, :devfail, :adderrorcontext, :fail, :meta_undef, :class_def, :to_yaml, :daemonize, :meta_eval, :meta_def, :singleton_class, :_, :n_, :s_, :N_, :Nn_, :ns_, :to_pson, :to_json, :dup, :itself, :yield_self, :then, :taint, :tainted?, :untaint, :untrust, :untrusted?, :trust, :frozen?, :methods, :singleton_methods, :protected_methods, :private_methods, :public_methods, :instance_variables, :instance_variable_get, :instance_variable_set, :instance_variable_defined?, :remove_instance_variable, :instance_of?, :kind_of?, :is_a?, :tap, :clone, :display, :hash, :class, :public_send, :method, :public_method, :singleton_method, :define_singleton_method, :extend, :to_enum, :enum_for, :===, :=~, :!~, :nil?, :eql?, :respond_to?, :freeze, :object_id, :send, :__send__, :!, :!=, :equal?, :__id__, :instance_eval, :instance_exec]
Info: called install
Info: called query
Info: @installed_snaps =
Info: installed
Info: current_ensure = absent
Info: install snap
Error: Could not update: Request failed with snap "hello-world" is already installed
Error: /Stage[main]/Main/Package[hello-world]/ensure: change from 'latest/candidate' to 'latest/beta' failed: Could not update: Request failed with snap "hello-world" is already installed
�[mNotice: Applied catalog in 0.01 seconds
Shared Example Group: "an idempotent resource" called from ./spec/acceptance/01_snapd_spec.rb:90
|
Puppet / Puppet 7 - Ubuntu 18.04:
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 'ubuntu1804-64-puppet7.example.com' exited with 4 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_084204756.ZiqMV2.pp
Last 10 lines of output were:
Info: methods = [:purge, :status, :mark, :instance, :source, :vendor, :source=, :mark=, :command=, :adminfile=, :responsefile=, :configfiles=, :category=, :platform, :allowcdrom=, :enable_only=, :flavor=, :install_only=, :install_options=, :vendor=, :ensure=, :uninstall_options=, :allow_virtual=, :reinstall_on_refresh=, :install_only, :install_options, :uninstall_options, :category, :package_settings, :package_settings=, :root=, :uninstall, :description, :adminfile, :responsefile, :configfiles, :allowcdrom, :enable_only, :allow_virtual, :install, :instance=, :root, :reinstall_on_refresh, :provider, :latest, :flavor, :ensure, :command, :platform=, :provider=, :snap_cmd, :update, :query, :description=, :modify_snap, :status=, :determine_channel, :targetable?, :has_feature, :virtual_packages?, :has_features, :satisfies?, :uninstallable?, :upgradeable?, :purgeable?, :versionable?, :version_ranges?, :reinstallable?, :holdable?, :install_only?, :features, :uninstall_options?, :install_options?, :feature?, :disableable?, :supports_flavors?, :package_settings?, :installable?, :validate_source, :join_options, :flush, :properties, :info, :get, :emerg, :debug, :notice, :alert, :crit, :execute, :inspect, :to_s, :warning, :resource=, :err, :<=>, :resource, :set, :execpipe, :clear, :name, :clamp, :between?, :<=, :>=, :==, :>, :<, :error_context, :exceptwrap, :devfail, :adderrorcontext, :fail, :meta_undef, :class_def, :to_yaml, :daemonize, :meta_eval, :meta_def, :singleton_class, :_, :n_, :s_, :N_, :Nn_, :ns_, :to_pson, :to_json, :dup, :itself, :yield_self, :then, :taint, :tainted?, :untaint, :untrust, :untrusted?, :trust, :frozen?, :methods, :singleton_methods, :protected_methods, :private_methods, :public_methods, :instance_variables, :instance_variable_get, :instance_variable_set, :instance_variable_defined?, :remove_instance_variable, :instance_of?, :kind_of?, :is_a?, :tap, :clone, :display, :hash, :class, :public_send, :method, :public_method, :singleton_method, :define_singleton_method, :extend, :to_enum, :enum_for, :===, :=~, :!~, :nil?, :eql?, :respond_to?, :freeze, :object_id, :send, :__send__, :!, :!=, :equal?, :__id__, :instance_eval, :instance_exec]
Info: called install
Info: called query
Info: @installed_snaps =
Info: installed
Info: current_ensure = absent
Info: install snap
Error: Could not update: Request failed with snap "hello-world" is already installed
Error: /Stage[main]/Main/Package[hello-world]/ensure: change from 'latest/candidate' to 'latest/beta' failed: Could not update: Request failed with snap "hello-world" is already installed
�[mNotice: Applied catalog in 0.02 seconds
Shared Example Group: "an idempotent resource" called from ./spec/acceptance/01_snapd_spec.rb:90
|
Puppet / Puppet 7 - Ubuntu 18.04:
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** -
|
Puppet / Puppet 7 - Ubuntu 18.04:
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 'ubuntu1804-64-puppet7.example.com' exited with 4 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_084214146.4JxpoG.pp
Last 10 lines of output were:
Info: version = 6.4
Info: called install
Info: called query
Info: @installed_snaps =
Info: installed
Info: current_ensure = absent
Info: install snap
Error: Could not update: Request failed with snap "hello-world" is already installed
Error: /Stage[main]/Main/Package[hello-world]/ensure: change from 'latest/stable' to '6.4' failed: Could not update: Request failed with snap "hello-world" is already installed
�[mNotice: Applied catalog in 0.31 seconds
Shared Example Group: "an idempotent resource" called from ./spec/acceptance/01_snapd_spec.rb:128
|
Puppet / Puppet 7 - Ubuntu 18.04
Process completed with exit code 1.
|
Puppet / Puppet 8 - Ubuntu 18.04:
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 'ubuntu1804-64-puppet8.example.com' exited with 4 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_084204929.J7ImAF.pp
Last 10 lines of output were:
Info: methods = [:description=, :update, :purge, :query, :ensure=, :status, :flavor=, :mark=, :command=, :adminfile=, :responsefile=, :configfiles=, :category=, :vendor, :vendor=, :allowcdrom=, :enable_only=, :source, :install_options=, :install_only=, :allow_virtual=, :provider, :uninstall, :reinstall_on_refresh=, :install_only, :mark, :install_options, :uninstall_options, :instance, :package_settings, :package_settings=, :latest, :uninstall_options=, :root=, :provider=, :category, :root, :instance=, :adminfile, :responsefile, :configfiles, :allowcdrom, :enable_only, :description, :allow_virtual, :reinstall_on_refresh, :command, :source=, :flavor, :platform, :snap_cmd, :modify_snap, :install, :platform=, :determine_channel, :status=, :ensure, :has_features, :has_feature, :uninstallable?, :upgradeable?, :purgeable?, :feature?, :version_ranges?, :reinstallable?, :versionable?, :installable?, :holdable?, :install_only?, :install_options?, :uninstall_options?, :satisfies?, :supports_flavors?, :package_settings?, :disableable?, :targetable?, :features, :virtual_packages?, :validate_source, :properties, :flush, :join_options, :name, :get, :debug, :notice, :execute, :err, :clear, :execpipe, :to_s, :set, :inspect, :info, :<=>, :resource, :warning, :alert, :emerg, :resource=, :crit, :clamp, :between?, :<=, :>=, :==, :<, :>, :adderrorcontext, :fail, :error_context, :exceptwrap, :devfail, :meta_eval, :daemonize, :meta_undef, :meta_def, :class_def, :singleton_class, :to_yaml, :np_, :_, :N_, :Nn_, :n_, :s_, :p_, :ns_, :to_json, :hash, :dup, :itself, :methods, :singleton_methods, :protected_methods, :private_methods, :public_methods, :instance_variables, :instance_variable_get, :instance_variable_set, :instance_variable_defined?, :remove_instance_variable, :instance_of?, :kind_of?, :is_a?, :display, :public_send, :extend, :clone, :class, :===, :!~, :tap, :then, :frozen?, :nil?, :eql?, :respond_to?, :method, :public_method, :singleton_method, :define_singleton_method, :freeze, :object_id, :yield_self, :send, :to_enum, :enum_for, :!, :equal?, :__send__, :__id__, :!=, :instance_eval, :instance_exec]
Info: called install
Info: called query
Info: @installed_snaps =
Info: installed
Info: current_ensure = absent
Info: install snap
Error: Could not update: Request failed with snap "hello-world" is already installed
Error: /Stage[main]/Main/Package[hello-world]/ensure: change from 'latest/candidate' to 'latest/beta' failed: Could not update: Request failed with snap "hello-world" is already installed
�[mNotice: Applied catalog in 0.01 seconds
Shared Example Group: "an idempotent resource" called from ./spec/acceptance/01_snapd_spec.rb:90
|
Puppet / Puppet 8 - Ubuntu 18.04:
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 'ubuntu1804-64-puppet8.example.com' exited with 4 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_084206941.Nrlxoj.pp
Last 10 lines of output were:
Info: methods = [:description=, :update, :purge, :query, :ensure=, :status, :flavor=, :mark=, :command=, :adminfile=, :responsefile=, :configfiles=, :category=, :vendor, :vendor=, :allowcdrom=, :enable_only=, :source, :install_options=, :install_only=, :allow_virtual=, :provider, :uninstall, :reinstall_on_refresh=, :install_only, :mark, :install_options, :uninstall_options, :instance, :package_settings, :package_settings=, :latest, :uninstall_options=, :root=, :provider=, :category, :root, :instance=, :adminfile, :responsefile, :configfiles, :allowcdrom, :enable_only, :description, :allow_virtual, :reinstall_on_refresh, :command, :source=, :flavor, :platform, :snap_cmd, :modify_snap, :install, :platform=, :determine_channel, :status=, :ensure, :has_features, :has_feature, :uninstallable?, :upgradeable?, :purgeable?, :feature?, :version_ranges?, :reinstallable?, :versionable?, :installable?, :holdable?, :install_only?, :install_options?, :uninstall_options?, :satisfies?, :supports_flavors?, :package_settings?, :disableable?, :targetable?, :features, :virtual_packages?, :validate_source, :properties, :flush, :join_options, :name, :get, :debug, :notice, :execute, :err, :clear, :execpipe, :to_s, :set, :inspect, :info, :<=>, :resource, :warning, :alert, :emerg, :resource=, :crit, :clamp, :between?, :<=, :>=, :==, :<, :>, :adderrorcontext, :fail, :error_context, :exceptwrap, :devfail, :meta_eval, :daemonize, :meta_undef, :meta_def, :class_def, :singleton_class, :to_yaml, :np_, :_, :N_, :Nn_, :n_, :s_, :p_, :ns_, :to_json, :hash, :dup, :itself, :methods, :singleton_methods, :protected_methods, :private_methods, :public_methods, :instance_variables, :instance_variable_get, :instance_variable_set, :instance_variable_defined?, :remove_instance_variable, :instance_of?, :kind_of?, :is_a?, :display, :public_send, :extend, :clone, :class, :===, :!~, :tap, :then, :frozen?, :nil?, :eql?, :respond_to?, :method, :public_method, :singleton_method, :define_singleton_method, :freeze, :object_id, :yield_self, :send, :to_enum, :enum_for, :!, :equal?, :__send__, :__id__, :!=, :instance_eval, :instance_exec]
Info: called install
Info: called query
Info: @installed_snaps =
Info: installed
Info: current_ensure = absent
Info: install snap
Error: Could not update: Request failed with snap "hello-world" is already installed
Error: /Stage[main]/Main/Package[hello-world]/ensure: change from 'latest/candidate' to 'latest/beta' failed: Could not update: Request failed with snap "hello-world" is already installed
�[mNotice: Applied catalog in 0.02 seconds
Shared Example Group: "an idempotent resource" called from ./spec/acceptance/01_snapd_spec.rb:90
|
Puppet / Puppet 8 - Ubuntu 18.04:
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** -
|
Puppet / Puppet 8 - Ubuntu 18.04:
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 'ubuntu1804-64-puppet8.example.com' exited with 4 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_084217137.DvFOJO.pp
Last 10 lines of output were:
Info: version = 6.4
Info: called install
Info: called query
Info: @installed_snaps =
Info: installed
Info: current_ensure = absent
Info: install snap
Error: Could not update: Request failed with snap "hello-world" is already installed
Error: /Stage[main]/Main/Package[hello-world]/ensure: change from 'latest/stable' to '6.4' failed: Could not update: Request failed with snap "hello-world" is already installed
�[mNotice: Applied catalog in 0.22 seconds
Shared Example Group: "an idempotent resource" called from ./spec/acceptance/01_snapd_spec.rb:128
|
Puppet / Puppet 8 - Ubuntu 18.04
Process completed with exit code 1.
|
Puppet / Puppet 8 - Ubuntu 20.04:
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 'ubuntu2004-64-puppet8.example.com' exited with 4 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_084209068.zsoeWI.pp
Last 10 lines of output were:
Info: methods = [:status=, :ensure, :update, :description=, :purge, :adminfile, :responsefile, :configfiles, :allowcdrom, :enable_only, :allow_virtual, :query, :reinstall_on_refresh, :status, :vendor, :source, :provider, :mark, :latest, :instance, :snap_cmd, :modify_snap, :root=, :category, :provider=, :root, :determine_channel, :instance=, :description, :command, :ensure=, :source=, :flavor=, :mark=, :command=, :adminfile=, :responsefile=, :configfiles=, :category=, :vendor=, :allowcdrom=, :platform, :flavor, :install_only=, :enable_only=, :uninstall_options=, :install_options=, :reinstall_on_refresh=, :allow_virtual=, :install_only, :install_options, :uninstall_options, :package_settings, :install, :package_settings=, :platform=, :uninstall, :targetable?, :has_features, :has_feature, :uninstallable?, :upgradeable?, :installable?, :purgeable?, :versionable?, :reinstallable?, :holdable?, :version_ranges?, :install_options?, :install_only?, :satisfies?, :feature?, :disableable?, :features, :uninstall_options?, :virtual_packages?, :supports_flavors?, :package_settings?, :join_options, :properties, :flush, :validate_source, :resource=, :name, :get, :debug, :notice, :execute, :err, :clear, :inspect, :to_s, :execpipe, :set, :<=>, :info, :warning, :resource, :alert, :emerg, :crit, :clamp, :between?, :<=, :>=, :==, :<, :>, :error_context, :exceptwrap, :devfail, :adderrorcontext, :fail, :daemonize, :meta_eval, :meta_def, :meta_undef, :class_def, :singleton_class, :to_yaml, :s_, :p_, :ns_, :np_, :_, :N_, :Nn_, :n_, :to_json, :hash, :dup, :itself, :methods, :singleton_methods, :protected_methods, :private_methods, :public_methods, :instance_variables, :instance_variable_get, :instance_variable_set, :instance_variable_defined?, :remove_instance_variable, :instance_of?, :kind_of?, :is_a?, :display, :public_send, :extend, :clone, :class, :===, :!~, :tap, :then, :frozen?, :nil?, :eql?, :respond_to?, :method, :public_method, :singleton_method, :define_singleton_method, :freeze, :object_id, :yield_self, :send, :to_enum, :enum_for, :!, :equal?, :__send__, :__id__, :!=, :instance_eval, :instance_exec]
Info: called install
Info: called query
Info: @installed_snaps =
Info: installed
Info: current_ensure = absent
Info: install snap
Error: Could not update: Request failed with snap "hello-world" is already installed
Error: /Stage[main]/Main/Package[hello-world]/ensure: change from 'latest/candidate' to 'latest/beta' failed: Could not update: Request failed with snap "hello-world" is already installed
�[mNotice: Applied catalog in 0.01 seconds
Shared Example Group: "an idempotent resource" called from ./spec/acceptance/01_snapd_spec.rb:90
|
Puppet / Puppet 8 - Ubuntu 20.04:
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 'ubuntu2004-64-puppet8.example.com' exited with 4 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_084211147.2Ompmf.pp
Last 10 lines of output were:
Info: methods = [:status=, :ensure, :update, :description=, :purge, :adminfile, :responsefile, :configfiles, :allowcdrom, :enable_only, :allow_virtual, :query, :reinstall_on_refresh, :status, :vendor, :source, :provider, :mark, :latest, :instance, :snap_cmd, :modify_snap, :root=, :category, :provider=, :root, :determine_channel, :instance=, :description, :command, :ensure=, :source=, :flavor=, :mark=, :command=, :adminfile=, :responsefile=, :configfiles=, :category=, :vendor=, :allowcdrom=, :platform, :flavor, :install_only=, :enable_only=, :uninstall_options=, :install_options=, :reinstall_on_refresh=, :allow_virtual=, :install_only, :install_options, :uninstall_options, :package_settings, :install, :package_settings=, :platform=, :uninstall, :targetable?, :has_features, :has_feature, :uninstallable?, :upgradeable?, :installable?, :purgeable?, :versionable?, :reinstallable?, :holdable?, :version_ranges?, :install_options?, :install_only?, :satisfies?, :feature?, :disableable?, :features, :uninstall_options?, :virtual_packages?, :supports_flavors?, :package_settings?, :join_options, :properties, :flush, :validate_source, :resource=, :name, :get, :debug, :notice, :execute, :err, :clear, :inspect, :to_s, :execpipe, :set, :<=>, :info, :warning, :resource, :alert, :emerg, :crit, :clamp, :between?, :<=, :>=, :==, :<, :>, :error_context, :exceptwrap, :devfail, :adderrorcontext, :fail, :daemonize, :meta_eval, :meta_def, :meta_undef, :class_def, :singleton_class, :to_yaml, :s_, :p_, :ns_, :np_, :_, :N_, :Nn_, :n_, :to_json, :hash, :dup, :itself, :methods, :singleton_methods, :protected_methods, :private_methods, :public_methods, :instance_variables, :instance_variable_get, :instance_variable_set, :instance_variable_defined?, :remove_instance_variable, :instance_of?, :kind_of?, :is_a?, :display, :public_send, :extend, :clone, :class, :===, :!~, :tap, :then, :frozen?, :nil?, :eql?, :respond_to?, :method, :public_method, :singleton_method, :define_singleton_method, :freeze, :object_id, :yield_self, :send, :to_enum, :enum_for, :!, :equal?, :__send__, :__id__, :!=, :instance_eval, :instance_exec]
Info: called install
Info: called query
Info: @installed_snaps =
Info: installed
Info: current_ensure = absent
Info: install snap
Error: Could not update: Request failed with snap "hello-world" is already installed
Error: /Stage[main]/Main/Package[hello-world]/ensure: change from 'latest/candidate' to 'latest/beta' failed: Could not update: Request failed with snap "hello-world" is already installed
�[mNotice: Applied catalog in 0.01 seconds
Shared Example Group: "an idempotent resource" called from ./spec/acceptance/01_snapd_spec.rb:90
|
Puppet / Puppet 8 - Ubuntu 20.04:
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** -
|
Puppet / Puppet 8 - Ubuntu 20.04:
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 'ubuntu2004-64-puppet8.example.com' exited with 4 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_084221352.CxbEj1.pp
Last 10 lines of output were:
Info: version = 6.4
Info: called install
Info: called query
Info: @installed_snaps =
Info: installed
Info: current_ensure = absent
Info: install snap
Error: Could not update: Request failed with snap "hello-world" is already installed
Error: /Stage[main]/Main/Package[hello-world]/ensure: change from 'latest/stable' to '6.4' failed: Could not update: Request failed with snap "hello-world" is already installed
�[mNotice: Applied catalog in 0.25 seconds
Shared Example Group: "an idempotent resource" called from ./spec/acceptance/01_snapd_spec.rb:128
|
Puppet / Puppet 8 - Ubuntu 20.04
Process completed with exit code 1.
|
Puppet / Puppet 8 - OracleLinux 9:
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 'oracle9-64-puppet8.example.com' exited with 4 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_084212236.XuyGFr.pp
Last 10 lines of output were:
Info: methods = [:status=, :ensure, :update, :description=, :adminfile, :responsefile, :configfiles, :allowcdrom, :enable_only, :allow_virtual, :status, :reinstall_on_refresh, :query, :vendor, :source, :provider, :mark, :latest, :instance, :snap_cmd, :modify_snap, :root=, :category, :provider=, :root, :determine_channel, :instance=, :description, :command, :source=, :ensure=, :flavor=, :mark=, :command=, :adminfile=, :responsefile=, :configfiles=, :category=, :flavor, :vendor=, :platform, :install_only=, :install_options=, :enable_only=, :uninstall_options=, :allowcdrom=, :reinstall_on_refresh=, :allow_virtual=, :install_only, :install_options, :uninstall_options, :install, :platform=, :package_settings, :package_settings=, :purge, :uninstall, :virtual_packages?, :targetable?, :has_features, :has_feature, :feature?, :installable?, :uninstallable?, :upgradeable?, :purgeable?, :versionable?, :version_ranges?, :reinstallable?, :holdable?, :satisfies?, :install_options?, :install_only?, :features, :uninstall_options?, :disableable?, :supports_flavors?, :package_settings?, :validate_source, :properties, :flush, :join_options, :resource=, :name, :get, :debug, :notice, :execute, :err, :clear, :inspect, :to_s, :execpipe, :set, :<=>, :info, :warning, :resource, :alert, :emerg, :crit, :clamp, :between?, :<=, :>=, :==, :<, :>, :error_context, :exceptwrap, :devfail, :adderrorcontext, :fail, :daemonize, :meta_eval, :meta_def, :meta_undef, :class_def, :singleton_class, :to_yaml, :s_, :p_, :ns_, :np_, :_, :N_, :Nn_, :n_, :to_json, :hash, :dup, :itself, :methods, :singleton_methods, :protected_methods, :private_methods, :public_methods, :instance_variables, :instance_variable_get, :instance_variable_set, :instance_variable_defined?, :remove_instance_variable, :instance_of?, :kind_of?, :is_a?, :display, :public_send, :extend, :clone, :class, :===, :!~, :tap, :then, :frozen?, :nil?, :eql?, :respond_to?, :method, :public_method, :singleton_method, :define_singleton_method, :freeze, :object_id, :yield_self, :send, :to_enum, :enum_for, :!, :equal?, :__send__, :__id__, :!=, :instance_eval, :instance_exec]
Info: called install
Info: called query
Info: @installed_snaps =
Info: installed
Info: current_ensure = absent
Info: install snap
Error: Could not update: Request failed with snap "hello-world" is already installed
Error: /Stage[main]/Main/Package[hello-world]/ensure: change from 'latest/candidate' to 'latest/beta' failed: Could not update: Request failed with snap "hello-world" is already installed
�[mNotice: Applied catalog in 0.01 seconds
Shared Example Group: "an idempotent resource" called from ./spec/acceptance/01_snapd_spec.rb:90
|
Puppet / Puppet 8 - OracleLinux 9:
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 'oracle9-64-puppet8.example.com' exited with 4 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_084214278.UaWSMe.pp
Last 10 lines of output were:
Info: methods = [:status=, :ensure, :update, :description=, :adminfile, :responsefile, :configfiles, :allowcdrom, :enable_only, :allow_virtual, :status, :reinstall_on_refresh, :query, :vendor, :source, :provider, :mark, :latest, :instance, :snap_cmd, :modify_snap, :root=, :category, :provider=, :root, :determine_channel, :instance=, :description, :command, :source=, :ensure=, :flavor=, :mark=, :command=, :adminfile=, :responsefile=, :configfiles=, :category=, :flavor, :vendor=, :platform, :install_only=, :install_options=, :enable_only=, :uninstall_options=, :allowcdrom=, :reinstall_on_refresh=, :allow_virtual=, :install_only, :install_options, :uninstall_options, :install, :platform=, :package_settings, :package_settings=, :purge, :uninstall, :virtual_packages?, :targetable?, :has_features, :has_feature, :feature?, :installable?, :uninstallable?, :upgradeable?, :purgeable?, :versionable?, :version_ranges?, :reinstallable?, :holdable?, :satisfies?, :install_options?, :install_only?, :features, :uninstall_options?, :disableable?, :supports_flavors?, :package_settings?, :validate_source, :properties, :flush, :join_options, :resource=, :name, :get, :debug, :notice, :execute, :err, :clear, :inspect, :to_s, :execpipe, :set, :<=>, :info, :warning, :resource, :alert, :emerg, :crit, :clamp, :between?, :<=, :>=, :==, :<, :>, :error_context, :exceptwrap, :devfail, :adderrorcontext, :fail, :daemonize, :meta_eval, :meta_def, :meta_undef, :class_def, :singleton_class, :to_yaml, :s_, :p_, :ns_, :np_, :_, :N_, :Nn_, :n_, :to_json, :hash, :dup, :itself, :methods, :singleton_methods, :protected_methods, :private_methods, :public_methods, :instance_variables, :instance_variable_get, :instance_variable_set, :instance_variable_defined?, :remove_instance_variable, :instance_of?, :kind_of?, :is_a?, :display, :public_send, :extend, :clone, :class, :===, :!~, :tap, :then, :frozen?, :nil?, :eql?, :respond_to?, :method, :public_method, :singleton_method, :define_singleton_method, :freeze, :object_id, :yield_self, :send, :to_enum, :enum_for, :!, :equal?, :__send__, :__id__, :!=, :instance_eval, :instance_exec]
Info: called install
Info: called query
Info: @installed_snaps =
Info: installed
Info: current_ensure = absent
Info: install snap
Error: Could not update: Request failed with snap "hello-world" is already installed
Error: /Stage[main]/Main/Package[hello-world]/ensure: change from 'latest/candidate' to 'latest/beta' failed: Could not update: Request failed with snap "hello-world" is already installed
�[mNotice: Applied catalog in 0.01 seconds
Shared Example Group: "an idempotent resource" called from ./spec/acceptance/01_snapd_spec.rb:90
|
Puppet / Puppet 8 - OracleLinux 9:
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** -
|
Puppet / Puppet 8 - OracleLinux 9:
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 'oracle9-64-puppet8.example.com' exited with 4 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_084224572.8A2WLc.pp
Last 10 lines of output were:
Info: version = 6.4
Info: called install
Info: called query
Info: @installed_snaps =
Info: installed
Info: current_ensure = absent
Info: install snap
Error: Could not update: Request failed with snap "hello-world" is already installed
Error: /Stage[main]/Main/Package[hello-world]/ensure: change from 'latest/stable' to '6.4' failed: Could not update: Request failed with snap "hello-world" is already installed
�[mNotice: Applied catalog in 0.33 seconds
Shared Example Group: "an idempotent resource" called from ./spec/acceptance/01_snapd_spec.rb:128
|
Puppet / Puppet 8 - OracleLinux 9
Process completed with exit code 1.
|
Puppet / Puppet 8 - CentOS 9:
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_084216032.Dur1ir.pp
Last 10 lines of output were:
Info: methods = [:status=, :ensure, :update, :description=, :adminfile, :responsefile, :configfiles, :allowcdrom, :enable_only, :query, :allow_virtual, :reinstall_on_refresh, :status, :vendor, :source, :provider, :mark, :latest, :instance, :snap_cmd, :modify_snap, :root=, :category, :provider=, :root, :determine_channel, :instance=, :description, :command, :ensure=, :source=, :flavor=, :mark=, :command=, :adminfile=, :responsefile=, :configfiles=, :category=, :vendor=, :platform, :flavor, :enable_only=, :allowcdrom=, :install_options=, :install_only=, :allow_virtual=, :uninstall_options=, :uninstall, :reinstall_on_refresh=, :install_only, :install_options, :uninstall_options, :package_settings, :platform=, :package_settings=, :install, :purge, :virtual_packages?, :targetable?, :has_features, :has_feature, :feature?, :installable?, :upgradeable?, :versionable?, :version_ranges?, :reinstallable?, :holdable?, :install_only?, :purgeable?, :satisfies?, :uninstallable?, :uninstall_options?, :features, :install_options?, :package_settings?, :disableable?, :supports_flavors?, :validate_source, :properties, :join_options, :flush, :resource=, :name, :get, :debug, :notice, :execute, :err, :clear, :inspect, :to_s, :execpipe, :set, :<=>, :info, :warning, :resource, :alert, :emerg, :crit, :clamp, :between?, :<=, :>=, :==, :<, :>, :error_context, :exceptwrap, :devfail, :adderrorcontext, :fail, :daemonize, :meta_eval, :meta_def, :meta_undef, :class_def, :singleton_class, :to_yaml, :s_, :p_, :ns_, :np_, :_, :N_, :Nn_, :n_, :to_json, :hash, :dup, :itself, :methods, :singleton_methods, :protected_methods, :private_methods, :public_methods, :instance_variables, :instance_variable_get, :instance_variable_set, :instance_variable_defined?, :remove_instance_variable, :instance_of?, :kind_of?, :is_a?, :display, :public_send, :extend, :clone, :class, :===, :!~, :tap, :then, :frozen?, :nil?, :eql?, :respond_to?, :method, :public_method, :singleton_method, :define_singleton_method, :freeze, :object_id, :yield_self, :send, :to_enum, :enum_for, :!, :equal?, :__send__, :__id__, :!=, :instance_eval, :instance_exec]
Info: called install
Info: called query
Info: @installed_snaps =
Info: installed
Info: current_ensure = absent
Info: install snap
Error: Could not update: Request failed with snap "hello-world" is already installed
Error: /Stage[main]/Main/Package[hello-world]/ensure: change from 'latest/candidate' to 'latest/beta' failed: Could not update: Request failed with snap "hello-world" is already installed
�[mNotice: Applied catalog in 0.01 seconds
Shared Example Group: "an idempotent resource" called from ./spec/acceptance/01_snapd_spec.rb:90
|
Puppet / Puppet 8 - CentOS 9:
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 'centos9-64-puppet8.example.com' exited with 4 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_084218090.jEW6J5.pp
Last 10 lines of output were:
Info: methods = [:status=, :ensure, :update, :description=, :adminfile, :responsefile, :configfiles, :allowcdrom, :enable_only, :query, :allow_virtual, :reinstall_on_refresh, :status, :vendor, :source, :provider, :mark, :latest, :instance, :snap_cmd, :modify_snap, :root=, :category, :provider=, :root, :determine_channel, :instance=, :description, :command, :ensure=, :source=, :flavor=, :mark=, :command=, :adminfile=, :responsefile=, :configfiles=, :category=, :vendor=, :platform, :flavor, :enable_only=, :allowcdrom=, :install_options=, :install_only=, :allow_virtual=, :uninstall_options=, :uninstall, :reinstall_on_refresh=, :install_only, :install_options, :uninstall_options, :package_settings, :platform=, :package_settings=, :install, :purge, :virtual_packages?, :targetable?, :has_features, :has_feature, :feature?, :installable?, :upgradeable?, :versionable?, :version_ranges?, :reinstallable?, :holdable?, :install_only?, :purgeable?, :satisfies?, :uninstallable?, :uninstall_options?, :features, :install_options?, :package_settings?, :disableable?, :supports_flavors?, :validate_source, :properties, :join_options, :flush, :resource=, :name, :get, :debug, :notice, :execute, :err, :clear, :inspect, :to_s, :execpipe, :set, :<=>, :info, :warning, :resource, :alert, :emerg, :crit, :clamp, :between?, :<=, :>=, :==, :<, :>, :error_context, :exceptwrap, :devfail, :adderrorcontext, :fail, :daemonize, :meta_eval, :meta_def, :meta_undef, :class_def, :singleton_class, :to_yaml, :s_, :p_, :ns_, :np_, :_, :N_, :Nn_, :n_, :to_json, :hash, :dup, :itself, :methods, :singleton_methods, :protected_methods, :private_methods, :public_methods, :instance_variables, :instance_variable_get, :instance_variable_set, :instance_variable_defined?, :remove_instance_variable, :instance_of?, :kind_of?, :is_a?, :display, :public_send, :extend, :clone, :class, :===, :!~, :tap, :then, :frozen?, :nil?, :eql?, :respond_to?, :method, :public_method, :singleton_method, :define_singleton_method, :freeze, :object_id, :yield_self, :send, :to_enum, :enum_for, :!, :equal?, :__send__, :__id__, :!=, :instance_eval, :instance_exec]
Info: called install
Info: called query
Info: @installed_snaps =
Info: installed
Info: current_ensure = absent
Info: install snap
Error: Could not update: Request failed with snap "hello-world" is already installed
Error: /Stage[main]/Main/Package[hello-world]/ensure: change from 'latest/candidate' to 'latest/beta' failed: Could not update: Request failed with snap "hello-world" is already installed
�[mNotice: Applied catalog in 0.02 seconds
Shared Example Group: "an idempotent resource" called from ./spec/acceptance/01_snapd_spec.rb:90
|
Puppet / Puppet 8 - CentOS 9:
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** -
|
Puppet / Puppet 8 - CentOS 9:
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 'centos9-64-puppet8.example.com' exited with 4 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_084228744.nTnv2H.pp
Last 10 lines of output were:
Info: version = 6.4
Info: called install
Info: called query
Info: @installed_snaps =
Info: installed
Info: current_ensure = absent
Info: install snap
Error: Could not update: Request failed with snap "hello-world" is already installed
Error: /Stage[main]/Main/Package[hello-world]/ensure: change from 'latest/stable' to '6.4' failed: Could not update: Request failed with snap "hello-world" is already installed
�[mNotice: Applied catalog in 0.29 seconds
Shared Example Group: "an idempotent resource" called from ./spec/acceptance/01_snapd_spec.rb:128
|
Puppet / Puppet 8 - CentOS 9
Process completed with exit code 1.
|
Puppet / Puppet 8 - Ubuntu 22.04:
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 'ubuntu2204-64-puppet8.example.com' exited with 4 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_084238764.eOtSp0.pp
Last 10 lines of output were:
Info: methods = [:status=, :ensure, :update, :description=, :purge, :uninstall, :adminfile, :responsefile, :configfiles, :query, :allowcdrom, :enable_only, :allow_virtual, :status, :reinstall_on_refresh, :vendor, :source, :provider, :mark, :latest, :instance, :snap_cmd, :modify_snap, :root=, :category, :provider=, :root, :determine_channel, :instance=, :description, :command, :source=, :ensure=, :flavor=, :mark=, :command=, :adminfile=, :responsefile=, :configfiles=, :flavor, :category=, :platform, :enable_only=, :install_only=, :install_options=, :uninstall_options=, :vendor=, :allowcdrom=, :reinstall_on_refresh=, :allow_virtual=, :install_only, :install_options, :uninstall_options, :platform=, :package_settings, :package_settings=, :install, :package_settings?, :virtual_packages?, :targetable?, :has_features, :has_feature, :feature?, :installable?, :uninstallable?, :upgradeable?, :purgeable?, :versionable?, :version_ranges?, :reinstallable?, :satisfies?, :install_only?, :holdable?, :features, :install_options?, :uninstall_options?, :disableable?, :supports_flavors?, :validate_source, :properties, :flush, :join_options, :resource=, :name, :get, :debug, :notice, :execute, :err, :clear, :inspect, :to_s, :execpipe, :set, :<=>, :info, :warning, :resource, :alert, :emerg, :crit, :clamp, :between?, :<=, :>=, :==, :<, :>, :error_context, :exceptwrap, :devfail, :adderrorcontext, :fail, :daemonize, :meta_eval, :meta_def, :meta_undef, :class_def, :singleton_class, :to_yaml, :s_, :p_, :ns_, :np_, :_, :N_, :Nn_, :n_, :to_json, :hash, :dup, :itself, :methods, :singleton_methods, :protected_methods, :private_methods, :public_methods, :instance_variables, :instance_variable_get, :instance_variable_set, :instance_variable_defined?, :remove_instance_variable, :instance_of?, :kind_of?, :is_a?, :display, :public_send, :extend, :clone, :class, :===, :!~, :tap, :then, :frozen?, :nil?, :eql?, :respond_to?, :method, :public_method, :singleton_method, :define_singleton_method, :freeze, :object_id, :yield_self, :send, :to_enum, :enum_for, :!, :equal?, :__send__, :__id__, :!=, :instance_eval, :instance_exec]
Info: called install
Info: called query
Info: @installed_snaps =
Info: installed
Info: current_ensure = absent
Info: install snap
Error: Could not update: Request failed with snap "hello-world" is already installed
Error: /Stage[main]/Main/Package[hello-world]/ensure: change from 'latest/candidate' to 'latest/beta' failed: Could not update: Request failed with snap "hello-world" is already installed
�[mNotice: Applied catalog in 0.01 seconds
Shared Example Group: "an idempotent resource" called from ./spec/acceptance/01_snapd_spec.rb:90
|
Puppet / Puppet 8 - Ubuntu 22.04:
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 'ubuntu2204-64-puppet8.example.com' exited with 4 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_084240713.bshkqp.pp
Last 10 lines of output were:
Info: methods = [:status=, :ensure, :update, :description=, :purge, :uninstall, :adminfile, :responsefile, :configfiles, :query, :allowcdrom, :enable_only, :allow_virtual, :status, :reinstall_on_refresh, :vendor, :source, :provider, :mark, :latest, :instance, :snap_cmd, :modify_snap, :root=, :category, :provider=, :root, :determine_channel, :instance=, :description, :command, :source=, :ensure=, :flavor=, :mark=, :command=, :adminfile=, :responsefile=, :configfiles=, :flavor, :category=, :platform, :enable_only=, :install_only=, :install_options=, :uninstall_options=, :vendor=, :allowcdrom=, :reinstall_on_refresh=, :allow_virtual=, :install_only, :install_options, :uninstall_options, :platform=, :package_settings, :package_settings=, :install, :package_settings?, :virtual_packages?, :targetable?, :has_features, :has_feature, :feature?, :installable?, :uninstallable?, :upgradeable?, :purgeable?, :versionable?, :version_ranges?, :reinstallable?, :satisfies?, :install_only?, :holdable?, :features, :install_options?, :uninstall_options?, :disableable?, :supports_flavors?, :validate_source, :properties, :flush, :join_options, :resource=, :name, :get, :debug, :notice, :execute, :err, :clear, :inspect, :to_s, :execpipe, :set, :<=>, :info, :warning, :resource, :alert, :emerg, :crit, :clamp, :between?, :<=, :>=, :==, :<, :>, :error_context, :exceptwrap, :devfail, :adderrorcontext, :fail, :daemonize, :meta_eval, :meta_def, :meta_undef, :class_def, :singleton_class, :to_yaml, :s_, :p_, :ns_, :np_, :_, :N_, :Nn_, :n_, :to_json, :hash, :dup, :itself, :methods, :singleton_methods, :protected_methods, :private_methods, :public_methods, :instance_variables, :instance_variable_get, :instance_variable_set, :instance_variable_defined?, :remove_instance_variable, :instance_of?, :kind_of?, :is_a?, :display, :public_send, :extend, :clone, :class, :===, :!~, :tap, :then, :frozen?, :nil?, :eql?, :respond_to?, :method, :public_method, :singleton_method, :define_singleton_method, :freeze, :object_id, :yield_self, :send, :to_enum, :enum_for, :!, :equal?, :__send__, :__id__, :!=, :instance_eval, :instance_exec]
Info: called install
Info: called query
Info: @installed_snaps =
Info: installed
Info: current_ensure = absent
Info: install snap
�[mNotice: Applied catalog in 0.01 seconds
Error: Could not update: Request failed with snap "hello-world" is already installed
Error: /Stage[main]/Main/Package[hello-world]/ensure: change from 'latest/candidate' to 'latest/beta' failed: Could not update: Request failed with snap "hello-world" is already installed
Shared Example Group: "an idempotent resource" called from ./spec/acceptance/01_snapd_spec.rb:90
|
Puppet / Puppet 8 - Ubuntu 22.04:
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** -
|
Puppet / Puppet 8 - Ubuntu 22.04:
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 'ubuntu2204-64-puppet8.example.com' exited with 4 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_084250663.w8AKQY.pp
Last 10 lines of output were:
Info: version = 6.4
Info: called install
Info: called query
Info: @installed_snaps =
Info: installed
Info: current_ensure = absent
Info: install snap
Error: Could not update: Request failed with snap "hello-world" is already installed
Error: /Stage[main]/Main/Package[hello-world]/ensure: change from 'latest/stable' to '6.4' failed: Could not update: Request failed with snap "hello-world" is already installed
�[mNotice: Applied catalog in 0.30 seconds
Shared Example Group: "an idempotent resource" called from ./spec/acceptance/01_snapd_spec.rb:128
|
Puppet / Puppet 8 - Ubuntu 22.04
Process completed with exit code 1.
|
Puppet / Puppet 7 - Fedora 34:
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 'fedora34-64-puppet7.example.com' exited with 4 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_084242724.QIPjpY.pp
Last 10 lines of output were:
Info: methods = [:configfiles, :status, :allowcdrom, :enable_only, :allow_virtual, :reinstall_on_refresh, :mark, :instance, :source, :source=, :status=, :platform, :snap_cmd, :modify_snap, :category, :determine_channel, :root=, :description, :install, :flavor=, :mark=, :command=, :adminfile=, :responsefile=, :configfiles=, :category=, :root, :vendor, :enable_only=, :vendor=, :install_only=, :install_options=, :uninstall_options=, :provider, :reinstall_on_refresh=, :allow_virtual=, :allowcdrom=, :ensure, :command, :instance=, :install_options, :package_settings, :flavor, :ensure=, :package_settings=, :platform=, :install_only, :uninstall_options, :uninstall, :update, :query, :description=, :provider=, :purge, :latest, :adminfile, :responsefile, :uninstallable?, :feature?, :upgradeable?, :purgeable?, :versionable?, :reinstallable?, :holdable?, :version_ranges?, :install_options?, :install_only?, :disableable?, :uninstall_options?, :package_settings?, :supports_flavors?, :targetable?, :satisfies?, :has_feature, :virtual_packages?, :features, :has_features, :installable?, :join_options, :validate_source, :flush, :properties, :emerg, :crit, :get, :execute, :notice, :debug, :alert, :inspect, :name, :warning, :to_s, :<=>, :err, :set, :resource, :execpipe, :resource=, :info, :clear, :clamp, :between?, :<=, :>=, :==, :>, :<, :devfail, :adderrorcontext, :fail, :error_context, :exceptwrap, :to_yaml, :class_def, :daemonize, :meta_eval, :meta_undef, :meta_def, :singleton_class, :_, :n_, :s_, :N_, :Nn_, :ns_, :to_pson, :to_json, :dup, :itself, :yield_self, :then, :taint, :tainted?, :untaint, :untrust, :untrusted?, :trust, :frozen?, :methods, :singleton_methods, :protected_methods, :private_methods, :public_methods, :instance_variables, :instance_variable_get, :instance_variable_set, :instance_variable_defined?, :remove_instance_variable, :instance_of?, :kind_of?, :is_a?, :tap, :clone, :display, :hash, :class, :public_send, :method, :public_method, :singleton_method, :define_singleton_method, :extend, :to_enum, :enum_for, :===, :=~, :!~, :nil?, :eql?, :respond_to?, :freeze, :object_id, :send, :__send__, :!, :!=, :equal?, :__id__, :instance_eval, :instance_exec]
Info: called install
Info: called query
Info: @installed_snaps =
Info: installed
Info: current_ensure = absent
Info: install snap
Error: Could not update: Request failed with snap "hello-world" is already installed
Error: /Stage[main]/Main/Package[hello-world]/ensure: change from 'latest/candidate' to 'latest/beta' failed: Could not update: Request failed with snap "hello-world" is already installed
�[mNotice: Applied catalog in 0.01 seconds
Shared Example Group: "an idempotent resource" called from ./spec/acceptance/01_snapd_spec.rb:90
|
Puppet / Puppet 7 - Fedora 34:
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 'fedora34-64-puppet7.example.com' exited with 4 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_084244587.KDjIXi.pp
Last 10 lines of output were:
Info: methods = [:configfiles, :status, :allowcdrom, :enable_only, :allow_virtual, :reinstall_on_refresh, :mark, :instance, :source, :source=, :status=, :platform, :snap_cmd, :modify_snap, :category, :determine_channel, :root=, :description, :install, :flavor=, :mark=, :command=, :adminfile=, :responsefile=, :configfiles=, :category=, :root, :vendor, :enable_only=, :vendor=, :install_only=, :install_options=, :uninstall_options=, :provider, :reinstall_on_refresh=, :allow_virtual=, :allowcdrom=, :ensure, :command, :instance=, :install_options, :package_settings, :flavor, :ensure=, :package_settings=, :platform=, :install_only, :uninstall_options, :uninstall, :update, :query, :description=, :provider=, :purge, :latest, :adminfile, :responsefile, :uninstallable?, :feature?, :upgradeable?, :purgeable?, :versionable?, :reinstallable?, :holdable?, :version_ranges?, :install_options?, :install_only?, :disableable?, :uninstall_options?, :package_settings?, :supports_flavors?, :targetable?, :satisfies?, :has_feature, :virtual_packages?, :features, :has_features, :installable?, :join_options, :validate_source, :flush, :properties, :emerg, :crit, :get, :execute, :notice, :debug, :alert, :inspect, :name, :warning, :to_s, :<=>, :err, :set, :resource, :execpipe, :resource=, :info, :clear, :clamp, :between?, :<=, :>=, :==, :>, :<, :devfail, :adderrorcontext, :fail, :error_context, :exceptwrap, :to_yaml, :class_def, :daemonize, :meta_eval, :meta_undef, :meta_def, :singleton_class, :_, :n_, :s_, :N_, :Nn_, :ns_, :to_pson, :to_json, :dup, :itself, :yield_self, :then, :taint, :tainted?, :untaint, :untrust, :untrusted?, :trust, :frozen?, :methods, :singleton_methods, :protected_methods, :private_methods, :public_methods, :instance_variables, :instance_variable_get, :instance_variable_set, :instance_variable_defined?, :remove_instance_variable, :instance_of?, :kind_of?, :is_a?, :tap, :clone, :display, :hash, :class, :public_send, :method, :public_method, :singleton_method, :define_singleton_method, :extend, :to_enum, :enum_for, :===, :=~, :!~, :nil?, :eql?, :respond_to?, :freeze, :object_id, :send, :__send__, :!, :!=, :equal?, :__id__, :instance_eval, :instance_exec]
Info: called install
Info: called query
Info: @installed_snaps =
Info: installed
Info: current_ensure = absent
Info: install snap
Error: Could not update: Request failed with snap "hello-world" is already installed
Error: /Stage[main]/Main/Package[hello-world]/ensure: change from 'latest/candidate' to 'latest/beta' failed: Could not update: Request failed with snap "hello-world" is already installed
�[mNotice: Applied catalog in 0.01 seconds
Shared Example Group: "an idempotent resource" called from ./spec/acceptance/01_snapd_spec.rb:90
|
Puppet / Puppet 7 - Fedora 34:
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-...ble 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* -
|
Puppet / Puppet 7 - Fedora 34:
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 'fedora34-64-puppet7.example.com' exited with 4 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_084254352.2IM1D4.pp
Last 10 lines of output were:
Info: version = 6.4
Info: called install
Info: called query
Info: @installed_snaps =
Info: installed
Info: current_ensure = absent
Info: install snap
Error: Could not update: Request failed with snap "hello-world" is already installed
Error: /Stage[main]/Main/Package[hello-world]/ensure: change from 'latest/stable' to '6.4' failed: Could not update: Request failed with snap "hello-world" is already installed
�[mNotice: Applied catalog in 0.26 seconds
Shared Example Group: "an idempotent resource" called from ./spec/acceptance/01_snapd_spec.rb:128
|
Puppet / Puppet 7 - Fedora 34
Process completed with exit code 1.
|
Puppet / Puppet 7 - OracleLinux 8:
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 'oracle8-64-puppet7.example.com' exited with 4 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_084333215.jOtWDw.pp
Last 10 lines of output were:
Info: methods = [:status, :adminfile, :responsefile, :configfiles, :allowcdrom, :enable_only, :mark, :allow_virtual, :reinstall_on_refresh, :instance, :source, :vendor, :source=, :platform, :snap_cmd, :modify_snap, :category, :determine_channel, :root=, :description, :install, :instance=, :root, :provider, :flavor=, :mark=, :command=, :adminfile=, :responsefile=, :configfiles=, :category=, :vendor=, :allowcdrom=, :enable_only=, :install_only=, :install_options=, :uninstall_options=, :flavor, :ensure, :ensure=, :command, :reinstall_on_refresh=, :install_only, :install_options, :uninstall_options, :platform=, :provider=, :package_settings, :package_settings=, :update, :allow_virtual=, :query, :description=, :uninstall, :latest, :status=, :purge, :virtual_packages?, :satisfies?, :uninstallable?, :purgeable?, :versionable?, :version_ranges?, :holdable?, :reinstallable?, :upgradeable?, :install_options?, :install_only?, :disableable?, :uninstall_options?, :package_settings?, :supports_flavors?, :targetable?, :features, :has_features, :feature?, :has_feature, :installable?, :validate_source, :join_options, :flush, :properties, :info, :get, :emerg, :debug, :notice, :alert, :crit, :execute, :inspect, :to_s, :warning, :resource=, :err, :<=>, :resource, :set, :execpipe, :clear, :name, :clamp, :between?, :<=, :>=, :==, :>, :<, :error_context, :exceptwrap, :devfail, :adderrorcontext, :fail, :meta_undef, :class_def, :to_yaml, :daemonize, :meta_eval, :meta_def, :singleton_class, :_, :n_, :s_, :N_, :Nn_, :ns_, :to_pson, :to_json, :dup, :itself, :yield_self, :then, :taint, :tainted?, :untaint, :untrust, :untrusted?, :trust, :frozen?, :methods, :singleton_methods, :protected_methods, :private_methods, :public_methods, :instance_variables, :instance_variable_get, :instance_variable_set, :instance_variable_defined?, :remove_instance_variable, :instance_of?, :kind_of?, :is_a?, :tap, :clone, :display, :hash, :class, :public_send, :method, :public_method, :singleton_method, :define_singleton_method, :extend, :to_enum, :enum_for, :===, :=~, :!~, :nil?, :eql?, :respond_to?, :freeze, :object_id, :send, :__send__, :!, :!=, :equal?, :__id__, :instance_eval, :instance_exec]
Info: called install
Info: called query
Info: @installed_snaps =
Info: installed
Info: current_ensure = absent
Info: install snap
Error: Could not update: Request failed with snap "hello-world" is already installed
Error: /Stage[main]/Main/Package[hello-world]/ensure: change from 'latest/candidate' to 'latest/beta' failed: Could not update: Request failed with snap "hello-world" is already installed
�[mNotice: Applied catalog in 0.01 seconds
Shared Example Group: "an idempotent resource" called from ./spec/acceptance/01_snapd_spec.rb:90
|
Puppet / Puppet 7 - OracleLinux 8:
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 'oracle8-64-puppet7.example.com' exited with 4 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_084335157.KTYU3v.pp
Last 10 lines of output were:
Info: methods = [:status, :adminfile, :responsefile, :configfiles, :allowcdrom, :enable_only, :mark, :allow_virtual, :reinstall_on_refresh, :instance, :source, :vendor, :source=, :platform, :snap_cmd, :modify_snap, :category, :determine_channel, :root=, :description, :install, :instance=, :root, :provider, :flavor=, :mark=, :command=, :adminfile=, :responsefile=, :configfiles=, :category=, :vendor=, :allowcdrom=, :enable_only=, :install_only=, :install_options=, :uninstall_options=, :flavor, :ensure, :ensure=, :command, :reinstall_on_refresh=, :install_only, :install_options, :uninstall_options, :platform=, :provider=, :package_settings, :package_settings=, :update, :allow_virtual=, :query, :description=, :uninstall, :latest, :status=, :purge, :virtual_packages?, :satisfies?, :uninstallable?, :purgeable?, :versionable?, :version_ranges?, :holdable?, :reinstallable?, :upgradeable?, :install_options?, :install_only?, :disableable?, :uninstall_options?, :package_settings?, :supports_flavors?, :targetable?, :features, :has_features, :feature?, :has_feature, :installable?, :validate_source, :join_options, :flush, :properties, :info, :get, :emerg, :debug, :notice, :alert, :crit, :execute, :inspect, :to_s, :warning, :resource=, :err, :<=>, :resource, :set, :execpipe, :clear, :name, :clamp, :between?, :<=, :>=, :==, :>, :<, :error_context, :exceptwrap, :devfail, :adderrorcontext, :fail, :meta_undef, :class_def, :to_yaml, :daemonize, :meta_eval, :meta_def, :singleton_class, :_, :n_, :s_, :N_, :Nn_, :ns_, :to_pson, :to_json, :dup, :itself, :yield_self, :then, :taint, :tainted?, :untaint, :untrust, :untrusted?, :trust, :frozen?, :methods, :singleton_methods, :protected_methods, :private_methods, :public_methods, :instance_variables, :instance_variable_get, :instance_variable_set, :instance_variable_defined?, :remove_instance_variable, :instance_of?, :kind_of?, :is_a?, :tap, :clone, :display, :hash, :class, :public_send, :method, :public_method, :singleton_method, :define_singleton_method, :extend, :to_enum, :enum_for, :===, :=~, :!~, :nil?, :eql?, :respond_to?, :freeze, :object_id, :send, :__send__, :!, :!=, :equal?, :__id__, :instance_eval, :instance_exec]
Info: called install
Info: called query
Info: @installed_snaps =
Info: installed
Info: current_ensure = absent
Info: install snap
Error: Could not update: Request failed with snap "hello-world" is already installed
Error: /Stage[main]/Main/Package[hello-world]/ensure: change from 'latest/candidate' to 'latest/beta' failed: Could not update: Request failed with snap "hello-world" is already installed
�[mNotice: Applied catalog in 0.01 seconds
Shared Example Group: "an idempotent resource" called from ./spec/acceptance/01_snapd_spec.rb:90
|
Puppet / Puppet 7 - OracleLinux 8:
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** -
|
Puppet / Puppet 7 - OracleLinux 8:
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 'oracle8-64-puppet7.example.com' exited with 4 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_084344759.KxtPJK.pp
Last 10 lines of output were:
Info: version = 6.4
Info: called install
Info: called query
Info: @installed_snaps =
Info: installed
Info: current_ensure = absent
Info: install snap
Error: Could not update: Request failed with snap "hello-world" is already installed
Error: /Stage[main]/Main/Package[hello-world]/ensure: change from 'latest/stable' to '6.4' failed: Could not update: Request failed with snap "hello-world" is already installed
�[mNotice: Applied catalog in 0.24 seconds
Shared Example Group: "an idempotent resource" called from ./spec/acceptance/01_snapd_spec.rb:128
|
Puppet / Puppet 7 - OracleLinux 8
Process completed with exit code 1.
|
Puppet / Puppet 8 - OracleLinux 8:
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 'oracle8-64-puppet8.example.com' exited with 4 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_084342378.gmPYeU.pp
Last 10 lines of output were:
Info: methods = [:status=, :ensure, :configfiles, :responsefile, :enable_only, :update, :description=, :allow_virtual, :allowcdrom, :reinstall_on_refresh, :query, :status, :vendor, :source, :snap_cmd, :provider, :mark, :latest, :instance, :modify_snap, :determine_channel, :root=, :category, :provider=, :root, :instance=, :description, :command, :ensure=, :flavor=, :mark=, :command=, :adminfile=, :responsefile=, :configfiles=, :source=, :category=, :allowcdrom=, :enable_only=, :vendor=, :install_only=, :install_options=, :uninstall_options=, :allow_virtual=, :reinstall_on_refresh=, :uninstall, :platform, :flavor, :install_options, :install_only, :package_settings, :package_settings=, :uninstall_options, :install, :platform=, :purge, :adminfile, :uninstallable?, :upgradeable?, :purgeable?, :versionable?, :version_ranges?, :reinstallable?, :holdable?, :install_only?, :install_options?, :uninstall_options?, :feature?, :installable?, :disableable?, :supports_flavors?, :package_settings?, :virtual_packages?, :targetable?, :has_features, :satisfies?, :features, :has_feature, :join_options, :properties, :flush, :validate_source, :resource=, :name, :get, :debug, :notice, :execute, :err, :clear, :inspect, :to_s, :execpipe, :set, :<=>, :info, :warning, :resource, :alert, :emerg, :crit, :clamp, :between?, :<=, :>=, :==, :<, :>, :error_context, :exceptwrap, :devfail, :adderrorcontext, :fail, :daemonize, :meta_eval, :meta_def, :meta_undef, :class_def, :singleton_class, :to_yaml, :s_, :p_, :ns_, :np_, :_, :N_, :Nn_, :n_, :to_json, :hash, :dup, :itself, :methods, :singleton_methods, :protected_methods, :private_methods, :public_methods, :instance_variables, :instance_variable_get, :instance_variable_set, :instance_variable_defined?, :remove_instance_variable, :instance_of?, :kind_of?, :is_a?, :display, :public_send, :extend, :clone, :class, :===, :!~, :tap, :then, :frozen?, :nil?, :eql?, :respond_to?, :method, :public_method, :singleton_method, :define_singleton_method, :freeze, :object_id, :yield_self, :send, :to_enum, :enum_for, :!, :equal?, :__send__, :__id__, :!=, :instance_eval, :instance_exec]
Info: called install
Info: called query
Info: @installed_snaps =
Info: installed
Info: current_ensure = absent
Info: install snap
Error: Could not update: Request failed with snap "hello-world" is already installed
Error: /Stage[main]/Main/Package[hello-world]/ensure: change from 'latest/candidate' to 'latest/beta' failed: Could not update: Request failed with snap "hello-world" is already installed
�[mNotice: Applied catalog in 0.01 seconds
Shared Example Group: "an idempotent resource" called from ./spec/acceptance/01_snapd_spec.rb:90
|
Puppet / Puppet 8 - OracleLinux 8:
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 'oracle8-64-puppet8.example.com' exited with 4 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_084344373.gKG2hA.pp
Last 10 lines of output were:
Info: methods = [:status=, :ensure, :configfiles, :responsefile, :enable_only, :update, :description=, :allow_virtual, :allowcdrom, :reinstall_on_refresh, :query, :status, :vendor, :source, :snap_cmd, :provider, :mark, :latest, :instance, :modify_snap, :determine_channel, :root=, :category, :provider=, :root, :instance=, :description, :command, :ensure=, :flavor=, :mark=, :command=, :adminfile=, :responsefile=, :configfiles=, :source=, :category=, :allowcdrom=, :enable_only=, :vendor=, :install_only=, :install_options=, :uninstall_options=, :allow_virtual=, :reinstall_on_refresh=, :uninstall, :platform, :flavor, :install_options, :install_only, :package_settings, :package_settings=, :uninstall_options, :install, :platform=, :purge, :adminfile, :uninstallable?, :upgradeable?, :purgeable?, :versionable?, :version_ranges?, :reinstallable?, :holdable?, :install_only?, :install_options?, :uninstall_options?, :feature?, :installable?, :disableable?, :supports_flavors?, :package_settings?, :virtual_packages?, :targetable?, :has_features, :satisfies?, :features, :has_feature, :join_options, :properties, :flush, :validate_source, :resource=, :name, :get, :debug, :notice, :execute, :err, :clear, :inspect, :to_s, :execpipe, :set, :<=>, :info, :warning, :resource, :alert, :emerg, :crit, :clamp, :between?, :<=, :>=, :==, :<, :>, :error_context, :exceptwrap, :devfail, :adderrorcontext, :fail, :daemonize, :meta_eval, :meta_def, :meta_undef, :class_def, :singleton_class, :to_yaml, :s_, :p_, :ns_, :np_, :_, :N_, :Nn_, :n_, :to_json, :hash, :dup, :itself, :methods, :singleton_methods, :protected_methods, :private_methods, :public_methods, :instance_variables, :instance_variable_get, :instance_variable_set, :instance_variable_defined?, :remove_instance_variable, :instance_of?, :kind_of?, :is_a?, :display, :public_send, :extend, :clone, :class, :===, :!~, :tap, :then, :frozen?, :nil?, :eql?, :respond_to?, :method, :public_method, :singleton_method, :define_singleton_method, :freeze, :object_id, :yield_self, :send, :to_enum, :enum_for, :!, :equal?, :__send__, :__id__, :!=, :instance_eval, :instance_exec]
Info: called install
Info: called query
Info: @installed_snaps =
Info: installed
Info: current_ensure = absent
Info: install snap
Error: Could not update: Request failed with snap "hello-world" is already installed
Error: /Stage[main]/Main/Package[hello-world]/ensure: change from 'latest/candidate' to 'latest/beta' failed: Could not update: Request failed with snap "hello-world" is already installed
�[mNotice: Applied catalog in 0.01 seconds
Shared Example Group: "an idempotent resource" called from ./spec/acceptance/01_snapd_spec.rb:90
|
Puppet / Puppet 8 - OracleLinux 8:
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** -
|
Puppet / Puppet 8 - OracleLinux 8:
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 'oracle8-64-puppet8.example.com' exited with 4 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_084354694.KmojAq.pp
Last 10 lines of output were:
Info: version = 6.4
Info: called install
Info: called query
Info: @installed_snaps =
Info: installed
Info: current_ensure = absent
Info: install snap
Error: Could not update: Request failed with snap "hello-world" is already installed
Error: /Stage[main]/Main/Package[hello-world]/ensure: change from 'latest/stable' to '6.4' failed: Could not update: Request failed with snap "hello-world" is already installed
�[mNotice: Applied catalog in 0.25 seconds
Shared Example Group: "an idempotent resource" called from ./spec/acceptance/01_snapd_spec.rb:128
|
Puppet / Puppet 8 - OracleLinux 8
Process completed with exit code 1.
|
Puppet / Test suite
Process completed with exit code 1.
|