Skip to content

Implement acceptance tests for webhook-go #182

Implement acceptance tests for webhook-go

Implement acceptance tests for webhook-go #182

Triggered via pull request September 5, 2023 12:33
Status Failure
Total duration 3m 33s
Artifacts

ci.yml

on: pull_request
Puppet  /  Static validations
23s
Puppet / Static validations
Matrix: Puppet / acceptance
Matrix: Puppet / unit
Puppet  /  Test suite
0s
Puppet / Test suite
Fit to window
Zoom out
Zoom in

Annotations

8 errors
Puppet / - Archlinux rolling: 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 'archlinuxrolling-64-none.example.com' exited with 1 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_123525120.pp.OhdoRt Last 10 lines of output were: Info: Loading facts Info: Loading facts Info: Loading facts Info: Loading facts Error: Evaluation Error: Error while evaluating a Function Call, Operating system Archlinux not supported for packages (file: /etc/puppetlabs/code/modules/r10k/manifests/webhook/package.pp, line: 19, column: 11) on node archlinuxrolling-64-none.example.com Shared Example Group: "an idempotent resource" called from ./spec/acceptance/r10k_webhook_spec.rb:7
Puppet / - Archlinux rolling: vendor/bundle/ruby/3.0.0/gems/voxpupuli-acceptance-2.1.0/lib/voxpupuli/acceptance/examples.rb#L8
r10k::webhook tests when defaults used 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 'archlinuxrolling-64-none.example.com' exited with 1 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_123527756.pp.2nepP1 Last 10 lines of output were: Info: Loading facts Info: Loading facts Info: Loading facts Info: Loading facts Error: Evaluation Error: Error while evaluating a Function Call, Operating system Archlinux not supported for packages (file: /etc/puppetlabs/code/modules/r10k/manifests/webhook/package.pp, line: 19, column: 11) on node archlinuxrolling-64-none.example.com Shared Example Group: "an idempotent resource" called from ./spec/acceptance/r10k_webhook_spec.rb:7
Puppet / - Archlinux rolling: spec/acceptance/r10k_webhook_spec.rb#L17
r10k::webhook tests when defaults used Package "webhook-go" is expected to be installed Failure/Error: it { is_expected.to be_installed } expected Package "webhook-go" to be installed
Puppet / - Archlinux rolling: spec/acceptance/r10k_webhook_spec.rb#L21
r10k::webhook tests when defaults used File "/etc/voxpupuli/webhook.yml" exists and has content Failure/Error: expect(subject).to exist expected File "/etc/voxpupuli/webhook.yml" to exist
Puppet / - Archlinux rolling: spec/acceptance/r10k_webhook_spec.rb#L30
r10k::webhook tests when defaults used Service "webhook-go" is expected to be enabled Failure/Error: it { is_expected.to be_enabled } expected Service "webhook-go" to be enabled
Puppet / - Archlinux rolling: spec/acceptance/r10k_webhook_spec.rb#L31
r10k::webhook tests when defaults used Service "webhook-go" is expected to be running Failure/Error: it { is_expected.to be_running } expected Service "webhook-go" to be running
Puppet / - Archlinux rolling: spec/acceptance/r10k_webhook_spec.rb#L35
r10k::webhook tests when defaults used Command "systemctl cat webhook-go" stdout is expected to match /webhook-go/ Failure/Error: its(:stdout) { is_expected.to match(%r{webhook-go}) } expected "" to match /webhook-go/ Diff: @@ -1 +1 @@ -/webhook-go/ +""
Puppet / - Archlinux rolling
Process completed with exit code 1.