Add logic to correctly switch between channels; Determine channel from ensure #188
Annotations
10 errors
vendor/bundle/ruby/3.2.0/gems/voxpupuli-acceptance-3.2.0/lib/voxpupuli/acceptance/examples.rb#L4
snapd class with default parameters 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 6 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_090304612.oIWOdk.pp
Last 10 lines of output were:
Info: called install
Info: called query
Info: @property_hash = {:ensure=>:purged}
Error: Could not set 'present' on ensure: undefined method `name' for [:ensure, :purged]:Array (file: /etc/puppetlabs/code/environments/production/modules/snap/manifests/init.pp, line: 46)
Error: Could not set 'present' on ensure: undefined method `name' for [:ensure, :purged]:Array (file: /etc/puppetlabs/code/environments/production/modules/snap/manifests/init.pp, line: 46)
Wrapped exception:
undefined method `name' for [:ensure, :purged]:Array
Error: /Stage[main]/Snap/Package[core]/ensure: change from 'purged' to 'present' failed: Could not set 'present' on ensure: undefined method `name' for [:ensure, :purged]:Array (file: /etc/puppetlabs/code/environments/production/modules/snap/manifests/init.pp, line: 46)
Info: Class[Snap]: Unscheduling all events on Class[Snap]
�[mNotice: Applied catalog in 12.06 seconds
Shared Example Group: "an idempotent resource" called from ./spec/acceptance/01_snapd_spec.rb:9
|
vendor/bundle/ruby/3.2.0/gems/voxpupuli-acceptance-3.2.0/lib/voxpupuli/acceptance/examples.rb#L8
snapd class with default parameters behaves like an idempotent resource applies a second time without changes
Failure/Error: raise CommandFailure, "Host '#{self}' exited with #{result.exit_code} running:\n #{cmdline}\nLast #{@options[:trace_limit]} lines of output were:\n#{result.formatted_output(@options[:trace_limit])}"
Beaker::Host::CommandFailure:
Host 'ubuntu1804-64-puppet8.example.com' exited with 4 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_090318723.M9FbQM.pp
Last 10 lines of output were:
Info: installed
Info: called install
Info: called query
Info: @property_hash = {:ensure=>:purged}
Error: Could not set 'present' on ensure: undefined method `name' for [:ensure, :purged]:Array (file: /etc/puppetlabs/code/environments/production/modules/snap/manifests/init.pp, line: 46)
Error: Could not set 'present' on ensure: undefined method `name' for [:ensure, :purged]:Array (file: /etc/puppetlabs/code/environments/production/modules/snap/manifests/init.pp, line: 46)
Wrapped exception:
undefined method `name' for [:ensure, :purged]:Array
Error: /Stage[main]/Snap/Package[core]/ensure: change from 'purged' to 'present' failed: Could not set 'present' on ensure: undefined method `name' for [:ensure, :purged]:Array (file: /etc/puppetlabs/code/environments/production/modules/snap/manifests/init.pp, line: 46)
�[mNotice: Applied catalog in 1.32 seconds
Shared Example Group: "an idempotent resource" called from ./spec/acceptance/01_snapd_spec.rb:9
|
spec/acceptance/01_snapd_spec.rb#L16
snapd class with default parameters Service "snapd" is expected to be running
Failure/Error: it { is_expected.to be_running }
expected Service "snapd" to be running
|
vendor/bundle/ruby/3.2.0/gems/voxpupuli-acceptance-3.2.0/lib/voxpupuli/acceptance/examples.rb#L4
snapd class package resource installs package behaves like an idempotent resource applies with no errors
Failure/Error: raise CommandFailure, "Host '#{self}' exited with #{result.exit_code} running:\n #{cmdline}\nLast #{@options[:trace_limit]} lines of output were:\n#{result.formatted_output(@options[:trace_limit])}"
Beaker::Host::CommandFailure:
Host 'ubuntu1804-64-puppet8.example.com' exited with 4 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_090323262.dPMxEJ.pp
Last 10 lines of output were:
Info: installed
Info: called install
Info: called query
Info: @property_hash = {:ensure=>:purged}
Error: Could not set 'present' on ensure: undefined method `name' for [:ensure, :purged]:Array (file: /tmp/apply_manifest_090323262.dPMxEJ.pp, line: 1)
Error: Could not set 'present' on ensure: undefined method `name' for [:ensure, :purged]:Array (file: /tmp/apply_manifest_090323262.dPMxEJ.pp, line: 1)
Wrapped exception:
undefined method `name' for [:ensure, :purged]:Array
Error: /Stage[main]/Main/Package[hello-world]/ensure: change from 'purged' to 'present' failed: Could not set 'present' on ensure: undefined method `name' for [:ensure, :purged]:Array (file: /tmp/apply_manifest_090323262.dPMxEJ.pp, line: 1)
�[mNotice: Applied catalog in 0.07 seconds
Shared Example Group: "an idempotent resource" called from ./spec/acceptance/01_snapd_spec.rb:36
|
vendor/bundle/ruby/3.2.0/gems/voxpupuli-acceptance-3.2.0/lib/voxpupuli/acceptance/examples.rb#L8
snapd class package resource installs package behaves like an idempotent resource applies a second time without changes
Failure/Error: raise CommandFailure, "Host '#{self}' exited with #{result.exit_code} running:\n #{cmdline}\nLast #{@options[:trace_limit]} lines of output were:\n#{result.formatted_output(@options[:trace_limit])}"
Beaker::Host::CommandFailure:
Host 'ubuntu1804-64-puppet8.example.com' exited with 4 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_090325179.QMDGNH.pp
Last 10 lines of output were:
Info: installed
Info: called install
Info: called query
Info: @property_hash = {:ensure=>:purged}
Error: Could not set 'present' on ensure: undefined method `name' for [:ensure, :purged]:Array (file: /tmp/apply_manifest_090325179.QMDGNH.pp, line: 1)
Error: Could not set 'present' on ensure: undefined method `name' for [:ensure, :purged]:Array (file: /tmp/apply_manifest_090325179.QMDGNH.pp, line: 1)
Wrapped exception:
undefined method `name' for [:ensure, :purged]:Array
Error: /Stage[main]/Main/Package[hello-world]/ensure: change from 'purged' to 'present' failed: Could not set 'present' on ensure: undefined method `name' for [:ensure, :purged]:Array (file: /tmp/apply_manifest_090325179.QMDGNH.pp, line: 1)
�[mNotice: Applied catalog in 0.01 seconds
Shared Example Group: "an idempotent resource" called from ./spec/acceptance/01_snapd_spec.rb:36
|
spec/acceptance/01_snapd_spec.rb#L39
snapd class package resource installs package Command "snap list --unicode=never --color=never" stdout is expected to match /hello-world/
Failure/Error: its(:stdout) { is_expected.to match(%r{hello-world}) }
expected "" to match /hello-world/
Diff:
@@ -1 +1 @@
-/hello-world/
+""
|
vendor/bundle/ruby/3.2.0/gems/voxpupuli-acceptance-3.2.0/lib/voxpupuli/acceptance/examples.rb#L4
snapd class package resource installs package with specified version behaves like an idempotent resource applies with no errors
Failure/Error: raise CommandFailure, "Host '#{self}' exited with #{result.exit_code} running:\n #{cmdline}\nLast #{@options[:trace_limit]} lines of output were:\n#{result.formatted_output(@options[:trace_limit])}"
Beaker::Host::CommandFailure:
Host 'ubuntu1804-64-puppet8.example.com' exited with 4 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_090330923.6nmwXz.pp
Last 10 lines of output were:
Info: called instances
Info: called query
Info: @property_hash = {}
Info: installed
Info: called install
Info: called query
Info: @property_hash = {:ensure=>:purged}
Error: Could not update: undefined method `name' for [:ensure, :purged]:Array
Error: /Stage[main]/Main/Package[hello-world]/ensure: change from 'purged' to 'latest/candidate' failed: Could not update: undefined method `name' for [:ensure, :purged]:Array
�[mNotice: Applied catalog in 0.01 seconds
Shared Example Group: "an idempotent resource" called from ./spec/acceptance/01_snapd_spec.rb:70
|
vendor/bundle/ruby/3.2.0/gems/voxpupuli-acceptance-3.2.0/lib/voxpupuli/acceptance/examples.rb#L8
snapd class package resource installs package with specified version behaves like an idempotent resource applies a second time without changes
Failure/Error: raise CommandFailure, "Host '#{self}' exited with #{result.exit_code} running:\n #{cmdline}\nLast #{@options[:trace_limit]} lines of output were:\n#{result.formatted_output(@options[:trace_limit])}"
Beaker::Host::CommandFailure:
Host 'ubuntu1804-64-puppet8.example.com' exited with 4 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_090332763.r1cJDW.pp
Last 10 lines of output were:
Info: called instances
Info: called query
Info: @property_hash = {}
Info: installed
Info: called install
Info: called query
Info: @property_hash = {:ensure=>:purged}
Error: Could not update: undefined method `name' for [:ensure, :purged]:Array
Error: /Stage[main]/Main/Package[hello-world]/ensure: change from 'purged' to 'latest/candidate' failed: Could not update: undefined method `name' for [:ensure, :purged]:Array
�[mNotice: Applied catalog in 0.01 seconds
Shared Example Group: "an idempotent resource" called from ./spec/acceptance/01_snapd_spec.rb:70
|
spec/acceptance/01_snapd_spec.rb#L73
snapd class package resource installs package with specified version Command "snap list --unicode=never --color=never" stdout is expected to match /hello-world/
Failure/Error: is_expected.to match(%r{hello-world})
expected "" to match /hello-world/
Diff:
@@ -1 +1 @@
-/hello-world/
+""
|
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_090334698.bF9MYL.pp
Last 10 lines of output were:
Info: called instances
Info: called query
Info: @property_hash = {}
Info: installed
Info: called install
Info: called query
Info: @property_hash = {:ensure=>:purged}
Error: Could not update: undefined method `name' for [:ensure, :purged]:Array
Error: /Stage[main]/Main/Package[hello-world]/ensure: change from 'purged' to 'latest/beta' failed: Could not update: undefined method `name' for [:ensure, :purged]:Array
�[mNotice: Applied catalog in 0.06 seconds
Shared Example Group: "an idempotent resource" called from ./spec/acceptance/01_snapd_spec.rb:90
|
The logs for this run have expired and are no longer available.
Loading