restore support for EoL Ruby / Puppet 7; enable acceptance tests #214
Annotations
8 errors
Run tests:
vendor/bundle/ruby/3.2.0/gems/voxpupuli-acceptance-3.0.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_100641647.pp.o3NHec
Last 10 lines of output were:
�[mNotice: /Stage[main]/R10k::Config/File[/etc/puppetlabs/r10k]/ensure: created
�[mNotice: /Stage[main]/R10k::Config/File[r10k.yaml]/ensure: defined content as '{sha256}1fa188e0a53fcee9ed05d8d213d6cbd09c710a3fd020b867bb2cf19cbe1b4544'
Info: Class[R10k]: Unscheduling all events on Class[R10k]
Warning: /Stage[main]/R10k::Webhook::Package/File[/tmp/webhook-go.rpm]: Skipping because of failed dependencies
Warning: /Stage[main]/R10k::Webhook::Package/Package[webhook-go]: Skipping because of failed dependencies
Warning: /Stage[main]/R10k::Webhook::Config/File[webhook.yml]: Skipping because of failed dependencies
Warning: /Stage[main]/R10k::Webhook::Service/Service[webhook-go]: Skipping because of failed dependencies
Info: Stage[main]: Unscheduling all events on Stage[main]
Info: Creating state file /opt/puppetlabs/puppet/cache/state/state.yaml
�[mNotice: Applied catalog in 14.74 seconds
Shared Example Group: "an idempotent resource" called from ./spec/acceptance/r10k_webhook_spec.rb:7
|
Run tests:
vendor/bundle/ruby/3.2.0/gems/voxpupuli-acceptance-3.0.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 'centos8-64-puppet7.example.com' exited with 4 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_100658138.pp.g5AjtH
Last 10 lines of output were:
Error: /Stage[main]/R10k::Install/Package[r10k]/ensure: change from 'absent' to 'present' failed: Execution of '/opt/puppetlabs/puppet/bin/gem install --no-document --no-document r10k' returned 1: ERROR: Error installing r10k:
The last version of faraday-net_http (>= 2.0, < 3.2) to support your Ruby & RubyGems was 3.0.2. Try installing it with `gem install faraday-net_http -v 3.0.2` and then running the current command again
faraday-net_http requires Ruby version >= 3.0.0. The current ruby version is 2.7.8.225.
�[mNotice: /Stage[main]/R10k::Install::Puppet_gem/File[/usr/bin/r10k]: Dependency Package[r10k] has failures: true
Warning: /Stage[main]/R10k::Install::Puppet_gem/File[/usr/bin/r10k]: Skipping because of failed dependencies
Warning: /Stage[main]/R10k::Webhook::Package/File[/tmp/webhook-go.rpm]: Skipping because of failed dependencies
Warning: /Stage[main]/R10k::Webhook::Package/Package[webhook-go]: Skipping because of failed dependencies
Warning: /Stage[main]/R10k::Webhook::Config/File[webhook.yml]: Skipping because of failed dependencies
Warning: /Stage[main]/R10k::Webhook::Service/Service[webhook-go]: Skipping because of failed dependencies
�[mNotice: Applied catalog in 12.51 seconds
Shared Example Group: "an idempotent resource" called from ./spec/acceptance/r10k_webhook_spec.rb:7
|
Run tests:
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
|
Run tests:
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
|
Run tests:
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
|
Run tests:
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
|
Run tests:
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/
+""
|
Run tests
Process completed with exit code 1.
|
Loading