Skip to content

Implement acceptance tests for webhook-go #180

Implement acceptance tests for webhook-go

Implement acceptance tests for webhook-go #180

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

ci.yml

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

Annotations

27 errors
Puppet / 8 - AlmaLinux 8: 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 'almalinux8-64-puppet8.example.com' exited with 6 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_121404861.pp.gPXG3D 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.19 seconds Shared Example Group: "an idempotent resource" called from ./spec/acceptance/r10k_webhook_spec.rb:7
Puppet / 8 - AlmaLinux 8
Process completed with exit code 1.
Puppet / 8 - OracleLinux 7: 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 'oracle7-64-puppet8.example.com' exited with 6 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_121415471.pp.XBB8sn 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.64 seconds Shared Example Group: "an idempotent resource" called from ./spec/acceptance/r10k_webhook_spec.rb:7
Puppet / 8 - OracleLinux 7
Process completed with exit code 1.
Puppet / 7 - AlmaLinux 8: 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 'almalinux8-64-puppet7.example.com' exited with 6 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_121412521.pp.1o0Cnl Last 10 lines of output were: �[mNotice: /Stage[main]/R10k::Webhook::Config/File[webhook.yml]/content: content changed '{sha256}3814c97e3b5c69bd5d118207cec7c0d5ab966bfe2c1872db234a8f01db2bc7db' to '{sha256}f6042ccbc688456de7e745bae97b3a4677cbc53017cc873fc08127b7186e1de7' 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 23.11 seconds Shared Example Group: "an idempotent resource" called from ./spec/acceptance/r10k_webhook_spec.rb:7
Puppet / 7 - AlmaLinux 8
Process completed with exit code 1.
Puppet / 8 - CentOS 8: 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_121439185.pp.vbg8cP 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.66 seconds Shared Example Group: "an idempotent resource" called from ./spec/acceptance/r10k_webhook_spec.rb:7
Puppet / 8 - CentOS 8
Process completed with exit code 1.
Puppet / 7 - OracleLinux 7: 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 'oracle7-64-puppet7.example.com' exited with 6 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_121419549.pp.Ua6kQx Last 10 lines of output were: �[mNotice: /Stage[main]/R10k::Webhook::Config/File[webhook.yml]/content: content changed '{sha256}3814c97e3b5c69bd5d118207cec7c0d5ab966bfe2c1872db234a8f01db2bc7db' to '{sha256}f6042ccbc688456de7e745bae97b3a4677cbc53017cc873fc08127b7186e1de7' 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 27.17 seconds Shared Example Group: "an idempotent resource" called from ./spec/acceptance/r10k_webhook_spec.rb:7
Puppet / 7 - OracleLinux 7
Process completed with exit code 1.
Puppet / 8 - CentOS 7: 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 'centos7-64-puppet8.example.com' exited with 6 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_121439088.pp.hM9cyM 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 4.07 seconds Shared Example Group: "an idempotent resource" called from ./spec/acceptance/r10k_webhook_spec.rb:7
Puppet / 8 - CentOS 7
Process completed with exit code 1.
Puppet / 7 - CentOS 7: 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 'centos7-64-puppet7.example.com' exited with 6 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_121424522.pp.T8H6Lc Last 10 lines of output were: �[mNotice: /Stage[main]/R10k::Webhook::Config/File[webhook.yml]/content: content changed '{sha256}3814c97e3b5c69bd5d118207cec7c0d5ab966bfe2c1872db234a8f01db2bc7db' to '{sha256}f6042ccbc688456de7e745bae97b3a4677cbc53017cc873fc08127b7186e1de7' 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 27.23 seconds Shared Example Group: "an idempotent resource" called from ./spec/acceptance/r10k_webhook_spec.rb:7
Puppet / 7 - CentOS 7
Process completed with exit code 1.
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_121453433.pp.2GvRxt 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_121456476.pp.seKMH0 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.
Puppet / 7 - CentOS 8: 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-puppet7.example.com' exited with 6 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_121436159.pp.VjLOyV Last 10 lines of output were: �[mNotice: /Stage[main]/R10k::Webhook::Config/File[webhook.yml]/content: content changed '{sha256}3814c97e3b5c69bd5d118207cec7c0d5ab966bfe2c1872db234a8f01db2bc7db' to '{sha256}f6042ccbc688456de7e745bae97b3a4677cbc53017cc873fc08127b7186e1de7' 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 22.60 seconds Shared Example Group: "an idempotent resource" called from ./spec/acceptance/r10k_webhook_spec.rb:7
Puppet / 7 - CentOS 8
Process completed with exit code 1.
Puppet / 7 - Rocky 8
Process completed with exit code 1.
Puppet / 8 - Rocky 8: 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 'rocky8-64-puppet8.example.com' exited with 6 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_122057486.pp.L5GJDi 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.81 seconds Shared Example Group: "an idempotent resource" called from ./spec/acceptance/r10k_webhook_spec.rb:7
Puppet / 8 - Rocky 8
Process completed with exit code 1.