Implement acceptance tests for webhook-go #179
Annotations
3 errors
vendor/bundle/ruby/3.0.0/gems/voxpupuli-acceptance-2.1.0/lib/voxpupuli/acceptance/examples.rb#L4
r10k::webhook tests when defaults used 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 'centos8-64-puppet8.example.com' exited with 6 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_120953684.pp.CI3vwS
Last 10 lines of output were:
�[mNotice: /Stage[main]/R10k::Webhook::Config/File[webhook.yml]/content: content changed '{sha256}3814c97e3b5c69bd5d118207cec7c0d5ab966bfe2c1872db234a8f01db2bc7db' to '{sha256}3b1e5d8ac071cf7f9cc111f8307d63042c970e3db616eb6e4683a8f6cb95487f'
Info: /Stage[main]/R10k::Webhook::Config/File[webhook.yml]: Scheduling refresh of Service[webhook-go]
Error: Could not enable webhook-go:
Error: /Stage[main]/R10k::Webhook::Service/Service[webhook-go]/ensure: change from 'stopped' to 'running' failed: Could not enable webhook-go:
�[mNotice: /Stage[main]/R10k::Webhook::Service/Service[webhook-go]: Triggered 'refresh' from 1 event
Info: Class[R10k::Webhook::Service]: Unscheduling all events on Class[R10k::Webhook::Service]
Info: Class[R10k::Webhook]: Unscheduling all events on Class[R10k::Webhook]
Info: Stage[main]: Unscheduling all events on Stage[main]
Info: Creating state file /opt/puppetlabs/puppet/cache/state/state.yaml
�[mNotice: Applied catalog in 3.32 seconds
Shared Example Group: "an idempotent resource" called from ./spec/acceptance/r10k_webhook_spec.rb:7
|
spec/acceptance/r10k_webhook_spec.rb#L35
r10k::webhook tests when defaults used Command "systemctl cat webhook-go" is expected to contain "webhook-go"
Failure/Error: it { is_expected.to contain('webhook-go') }
NoMethodError:
undefined method `contain' for Command "systemctl cat webhook-go":Serverspec::Type::Command
Did you mean? confine
|
|
The logs for this run have expired and are no longer available.
Loading