Add acceptance for zabbix::proxy class #776
Annotations
9 errors
Run tests:
vendor/bundle/ruby/3.2.0/gems/voxpupuli-acceptance-3.1.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 'centos7-64-puppet8.example.com' exited with 6 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_082742729.pp.Q7VpJk
Last 10 lines of output were:
May 06 08:28:06 centos7-64-puppet8.example.com zabbix_proxy[6840]: One child process died (PID:6844,exitcode/signal:1). Exiting ...
May 06 08:28:08 centos7-64-puppet8.example.com systemd[1]: Can't open PID file /run/zabbix/zabbix_proxy.pid (yet?) after start: No such file or directory
May 06 08:28:08 centos7-64-puppet8.example.com systemd[1]: Failed to start Zabbix Proxy.
May 06 08:28:08 centos7-64-puppet8.example.com systemd[1]: Unit zabbix-proxy.service entered failed state.
May 06 08:28:08 centos7-64-puppet8.example.com systemd[1]: zabbix-proxy.service failed.
�[mNotice: /Stage[main]/Zabbix::Proxy/Service[zabbix-proxy]: Triggered 'refresh' from 4 events
Info: Class[Zabbix::Proxy]: Unscheduling all events on Class[Zabbix::Proxy]
Info: Stage[main]: Unscheduling all events on Stage[main]
�[mNotice: Applied catalog in 23.78 seconds
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.1.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 'centos7-64-puppet8.example.com' exited with 4 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_082809032.pp.cCcMb0
Last 10 lines of output were:
May 06 08:28:22 centos7-64-puppet8.example.com zabbix_proxy[7015]: current database version (mandatory/optional): 05000000/05000007
May 06 08:28:22 centos7-64-puppet8.example.com zabbix_proxy[7015]: required mandatory version: 05000000
May 06 08:28:22 centos7-64-puppet8.example.com zabbix_proxy[7015]: proxy #0 started [main process]
May 06 08:28:22 centos7-64-puppet8.example.com zabbix_proxy[7015]: One child process died (PID:7019,exitcode/signal:1). Exiting ...
May 06 08:28:24 centos7-64-puppet8.example.com systemd[1]: Can't open PID file /run/zabbix/zabbix_proxy.pid (yet?) after start: No such file or directory
May 06 08:28:24 centos7-64-puppet8.example.com systemd[1]: Failed to start Zabbix Proxy.
May 06 08:28:24 centos7-64-puppet8.example.com systemd[1]: Unit zabbix-proxy.service entered failed state.
May 06 08:28:24 centos7-64-puppet8.example.com systemd[1]: zabbix-proxy.service failed.
�[mNotice: Applied catalog in 13.00 seconds
Shared Example Group: "an idempotent resource" called from ./spec/acceptance/proxy_spec.rb:10
|
Run tests:
spec/acceptance/proxy_spec.rb#L26
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#L27
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:
vendor/bundle/ruby/3.2.0/gems/voxpupuli-acceptance-3.1.0/lib/voxpupuli/acceptance/examples.rb#L4
zabbix::proxy class deploys a zabbix 5.0 proxy 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 4 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_082824617.pp.N51Rsk
Last 10 lines of output were:
May 06 08:28:24 centos7-64-puppet8.example.com systemd[1]: Unit zabbix-proxy.service entered failed state.
May 06 08:28:24 centos7-64-puppet8.example.com systemd[1]: zabbix-proxy.service failed.
May 06 08:28:38 centos7-64-puppet8.example.com systemd[1]: zabbix-proxy.service holdoff time over, scheduling restart.
May 06 08:28:38 centos7-64-puppet8.example.com systemd[1]: Stopped Zabbix Proxy.
May 06 08:28:38 centos7-64-puppet8.example.com systemd[1]: Starting Zabbix Proxy...
May 06 08:28:38 centos7-64-puppet8.example.com zabbix_proxy[7217]: Starting Zabbix Proxy (active) [centos7-64-puppet8.example.com]. Zabbix 5.0.42 (revision e25e9cfa36a).
May 06 08:28:38 centos7-64-puppet8.example.com zabbix_proxy[7217]: **** Enabled features ****
May 06 08:28:38 centos7-64-puppet8.example.com zabbix_proxy[7217]: SNMP monitoring: YES
�[mNotice: Applied catalog in 13.14 seconds
Shared Example Group: "an idempotent resource" called from ./spec/acceptance/proxy_spec.rb:33
|
Run tests:
vendor/bundle/ruby/3.2.0/gems/voxpupuli-acceptance-3.1.0/lib/voxpupuli/acceptance/examples.rb#L8
zabbix::proxy class deploys a zabbix 5.0 proxy 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 'centos7-64-puppet8.example.com' exited with 4 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_082840182.pp.VBopZQ
Last 10 lines of output were:
May 06 08:28:24 centos7-64-puppet8.example.com systemd[1]: Unit zabbix-proxy.service entered failed state.
May 06 08:28:24 centos7-64-puppet8.example.com systemd[1]: zabbix-proxy.service failed.
May 06 08:28:38 centos7-64-puppet8.example.com systemd[1]: zabbix-proxy.service holdoff time over, scheduling restart.
May 06 08:28:38 centos7-64-puppet8.example.com systemd[1]: Stopped Zabbix Proxy.
May 06 08:28:38 centos7-64-puppet8.example.com systemd[1]: Starting Zabbix Proxy...
May 06 08:28:38 centos7-64-puppet8.example.com zabbix_proxy[7217]: Starting Zabbix Proxy (active) [centos7-64-puppet8.example.com]. Zabbix 5.0.42 (revision e25e9cfa36a).
May 06 08:28:38 centos7-64-puppet8.example.com zabbix_proxy[7217]: **** Enabled features ****
May 06 08:28:38 centos7-64-puppet8.example.com zabbix_proxy[7217]: SNMP monitoring: YES
�[mNotice: Applied catalog in 13.09 seconds
Shared Example Group: "an idempotent resource" called from ./spec/acceptance/proxy_spec.rb:33
|
Run tests:
spec/acceptance/proxy_spec.rb#L50
zabbix::proxy class deploys a zabbix 5.0 proxy 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#L51
zabbix::proxy class deploys a zabbix 5.0 proxy 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