Add acceptance for zabbix::proxy class #748
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 'debian12-64-puppet7.example.com' exited with 1 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_104954459.pp.vEM9xU
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: Evaluation Error: Error while evaluating a Resource Statement, Duplicate declaration: Class[Zabbix::Database] is already declared at (file: /tmp/apply_manifest_104954459.pp.vEM9xU, line: 1); cannot redeclare (file: /etc/puppetlabs/code/environments/production/modules/zabbix/manifests/proxy.pp, line: 468) (file: /etc/puppetlabs/code/environments/production/modules/zabbix/manifests/proxy.pp, line: 468, column: 5) on node debian12-64-puppet7.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 'debian12-64-puppet7.example.com' exited with 1 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_104957689.pp.AbFSCm
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: Evaluation Error: Error while evaluating a Resource Statement, Duplicate declaration: Class[Zabbix::Database] is already declared at (file: /tmp/apply_manifest_104957689.pp.AbFSCm, line: 1); cannot redeclare (file: /etc/puppetlabs/code/environments/production/modules/zabbix/manifests/proxy.pp, line: 468) (file: /etc/puppetlabs/code/environments/production/modules/zabbix/manifests/proxy.pp, line: 468, column: 5) on node debian12-64-puppet7.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