Add acceptance for zabbix::proxy class #747
Annotations
6 errors
Run tests:
vendor/bundle/ruby/3.2.0/gems/voxpupuli-acceptance-3.0.0/lib/voxpupuli/acceptance/examples.rb#L4
zabbix::proxy class 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 'rocky9-64-puppet8.example.com' exited with 1 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_104524914.pp.qzyxi8
Last 10 lines of output were:
Info: Loading facts
Info: Loading facts
Info: Loading facts
Info: Loading facts
Info: Loading facts
Info: Loading facts
Error: Could not parse for environment production: Syntax error at 'proxy' (file: /tmp/apply_manifest_104524914.pp.qzyxi8, line: 2, column: 27) on node rocky9-64-puppet8.example.com
Shared Example Group: "an idempotent resource" called from ./spec/acceptance/proxy_spec.rb:10
|
Run tests:
vendor/bundle/ruby/3.2.0/gems/voxpupuli-acceptance-3.0.0/lib/voxpupuli/acceptance/examples.rb#L8
zabbix::proxy class 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 'rocky9-64-puppet8.example.com' exited with 1 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_104526792.pp.shz49D
Last 10 lines of output were:
Info: Loading facts
Info: Loading facts
Info: Loading facts
Info: Loading facts
Info: Loading facts
Info: Loading facts
Error: Could not parse for environment production: Syntax error at 'proxy' (file: /tmp/apply_manifest_104526792.pp.shz49D, line: 2, column: 27) on node rocky9-64-puppet8.example.com
Shared Example Group: "an idempotent resource" called from ./spec/acceptance/proxy_spec.rb:10
|
Run tests:
spec/acceptance/proxy_spec.rb#L25
zabbix::proxy class default parameters Package "zabbix-proxy-pgsql" is expected to be installed
Failure/Error: it { is_expected.to be_installed }
expected Package "zabbix-proxy-pgsql" to be installed
|
Run tests:
spec/acceptance/proxy_spec.rb#L29
zabbix::proxy class default parameters Service "zabbix-proxy" is expected to be running
Failure/Error: it { is_expected.to be_running }
expected Service "zabbix-proxy" to be running
|
Run tests:
spec/acceptance/proxy_spec.rb#L30
zabbix::proxy class default parameters Service "zabbix-proxy" is expected to be enabled
Failure/Error: it { is_expected.to be_enabled }
expected Service "zabbix-proxy" to be enabled
|
Run tests
Process completed with exit code 1.
|
Loading