Add acceptance for zabbix::proxy class #776
Annotations
10 errors
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/zabbix_host_spec.rb#L39
zabbix_host type create zabbix_host resources with zabbix version 6.0 works with no error on the first apply
Failure/Error: apply_manifest(pp1, catch_failures: true)
Beaker::Host::CommandFailure:
Host 'almalinux8-64-puppet7.example.com' exited with 6 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_083001202.pp.n4limc
Last 10 lines of output were:
Info: /Stage[main]/Zabbix::Web/Service[php-fpm]: Unscheduling refresh on Service[php-fpm]
�[mNotice: /Stage[main]/Zabbix::Web/Selboolean[httpd_can_connect_zabbix]/value: value changed 'off' to 'on'
�[mNotice: /Stage[main]/Zabbix::Web/Selboolean[httpd_can_network_connect_db]/value: value changed 'off' to 'on'
�[mNotice: /Stage[main]/Zabbix::Web/Apache::Vhost[localhost]/Concat[25-localhost.conf]/File[/etc/httpd/conf.d/25-localhost.conf]/ensure: defined content as '{sha256}5624606b137b70fe6e34b2f22f12f7aab06e840773e9ddfca614fe86af5ff461'
Info: Concat[25-localhost.conf]: Scheduling refresh of Class[Apache::Service]
Info: Class[Apache::Service]: Scheduling refresh of Service[httpd]
�[mNotice: /Stage[main]/Apache::Service/Service[httpd]/ensure: ensure changed 'stopped' to 'running'
Info: /Stage[main]/Apache::Service/Service[httpd]: Unscheduling refresh on Service[httpd]
Info: Stage[main]: Unscheduling all events on Stage[main]
�[mNotice: Applied catalog in 77.02 seconds
|
Run tests:
spec/acceptance/zabbix_host_spec.rb#L46
zabbix_host type create zabbix_host resources with zabbix version 6.0 works with no error on the second apply
Failure/Error: apply_manifest(pp1, catch_failures: true)
Beaker::Host::CommandFailure:
Host 'almalinux8-64-puppet7.example.com' exited with 6 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_083121928.pp.eP8GBM
Last 10 lines of output were:
/opt/puppetlabs/puppet/bin/ruby -I /opt/puppetlabs/puppet/lib/ruby/2.7.0 -r ./siteconf20240506-15497-hcrs21.rb extconf.rb
extconf failedCannot allocate memory - /opt/puppetlabs/puppet/bin/ruby
Gem files will remain installed in /opt/puppetlabs/puppet/lib/ruby/gems/2.7.0/gems/http_parser.rb-0.6.0 for inspection.
Results logged to /opt/puppetlabs/puppet/lib/ruby/gems/2.7.0/extensions/x86_64-linux/2.7.0/http_parser.rb-0.6.0/gem_make.out
Warning: /Stage[main]/Zabbix::Resources::Web/File[/etc/zabbix/api.conf]: Skipping because of failed dependencies
Info: Class[Apache::Service]: Scheduling refresh of Service[httpd]
�[mNotice: /Stage[main]/Apache::Service/Service[httpd]: Triggered 'refresh' from 1 event
Info: Stage[main]: Unscheduling all events on Stage[main]
�[mNotice: Applied catalog in 17.20 seconds
|
Run tests:
spec/acceptance/zabbix_host_spec.rb#L72
zabbix_host type create zabbix_host resources with zabbix version 6.0 works with no error on the third apply
Failure/Error: apply_manifest(pp2, catch_failures: true)
Beaker::Host::CommandFailure:
Host 'almalinux8-64-puppet7.example.com' exited with 4 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_083142933.pp.ooSwoF
Last 10 lines of output were:
Info: Loading facts
Info: Loading facts
Info: Loading facts
Info: Loading facts
Info: Loading facts
�[mNotice: Compiled catalog for almalinux8-64-puppet7.example.com in environment production in 0.02 seconds
Info: Using environment 'production'
Info: Applying configuration version '1714984304'
Error: Could not find a suitable provider for zabbix_host
�[mNotice: Applied catalog in 0.06 seconds
|
Run tests:
spec/acceptance/zabbix_host_spec.rb#L76
zabbix_host type create zabbix_host resources with zabbix version 6.0 works without changes on the fourth apply
Failure/Error: apply_manifest(pp2, catch_changes: true)
Beaker::Host::CommandFailure:
Host 'almalinux8-64-puppet7.example.com' exited with 4 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_083145223.pp.E33fEt
Last 10 lines of output were:
Info: Loading facts
Info: Loading facts
Info: Loading facts
Info: Loading facts
Info: Loading facts
�[mNotice: Compiled catalog for almalinux8-64-puppet7.example.com in environment production in 0.02 seconds
Info: Using environment 'production'
Info: Applying configuration version '1714984306'
Error: Could not find a suitable provider for zabbix_host
�[mNotice: Applied catalog in 0.05 seconds
|
Run tests:
spec/acceptance/zabbix_host_spec.rb#L101
zabbix_host type create zabbix_host resources with zabbix version 6.0 creates hosts with SNMP interface and details without errors
Failure/Error: apply_manifest(pp3, catch_failures: true)
Beaker::Host::CommandFailure:
Host 'almalinux8-64-puppet7.example.com' exited with 4 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_083147156.pp.myS9hL
Last 10 lines of output were:
Info: Loading facts
Info: Loading facts
Info: Loading facts
Info: Loading facts
Info: Loading facts
�[mNotice: Compiled catalog for almalinux8-64-puppet7.example.com in environment production in 0.02 seconds
Info: Using environment 'production'
Info: Applying configuration version '1714984308'
Error: Could not find a suitable provider for zabbix_host
�[mNotice: Applied catalog in 0.05 seconds
|
Run tests:
spec/acceptance/zabbix_host_spec.rb#L105
zabbix_host type create zabbix_host resources with zabbix version 6.0 creates hosts with SNMP interface and details without changes
Failure/Error: apply_manifest(pp3, catch_changes: true)
Beaker::Host::CommandFailure:
Host 'almalinux8-64-puppet7.example.com' exited with 4 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_083149057.pp.XUyjU5
Last 10 lines of output were:
Info: Loading facts
Info: Loading facts
Info: Loading facts
Info: Loading facts
Info: Loading facts
�[mNotice: Compiled catalog for almalinux8-64-puppet7.example.com in environment production in 0.02 seconds
Info: Using environment 'production'
Info: Applying configuration version '1714984310'
Error: Could not find a suitable provider for zabbix_host
�[mNotice: Applied catalog in 0.05 seconds
|
Run tests:
vendor/bundle/ruby/3.2.0/gems/voxpupuli-acceptance-3.1.0/lib/voxpupuli/acceptance/examples.rb#L4
zabbix_host type create zabbix_host resources with zabbix version 6.0 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 4 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_083150961.pp.QE4fcy
Last 10 lines of output were:
Info: Loading facts
Info: Loading facts
Info: Loading facts
Info: Loading facts
Info: Loading facts
�[mNotice: Compiled catalog for almalinux8-64-puppet7.example.com in environment production in 0.02 seconds
Info: Using environment 'production'
Info: Applying configuration version '1714984312'
Error: Could not find a suitable provider for zabbix_host
�[mNotice: Applied catalog in 0.04 seconds
Shared Example Group: "an idempotent resource" called from ./spec/acceptance/zabbix_host_spec.rb:109
|
Run tests:
vendor/bundle/ruby/3.2.0/gems/voxpupuli-acceptance-3.1.0/lib/voxpupuli/acceptance/examples.rb#L8
zabbix_host type create zabbix_host resources with zabbix version 6.0 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 'almalinux8-64-puppet7.example.com' exited with 4 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_083152906.pp.tXzIUq
Last 10 lines of output were:
Info: Loading facts
Info: Loading facts
Info: Loading facts
Info: Loading facts
Info: Loading facts
�[mNotice: Compiled catalog for almalinux8-64-puppet7.example.com in environment production in 0.02 seconds
Info: Using environment 'production'
Info: Applying configuration version '1714984314'
Error: Could not find a suitable provider for zabbix_host
�[mNotice: Applied catalog in 0.04 seconds
Shared Example Group: "an idempotent resource" called from ./spec/acceptance/zabbix_host_spec.rb:109
|
Run tests:
spec/acceptance/zabbix_host_spec.rb#L144
zabbix_host type create zabbix_host resources with zabbix version 6.0 test1.example.com is created
Failure/Error: expect(test1['host']).to eq('test1.example.com')
NoMethodError:
undefined method `[]' for nil:NilClass
|
Loading