Bootstrap agent2 support #722
Annotations
10 errors
Run tests:
spec/acceptance/agent_spec.rb#L8
zabbix::agent class with zabbix_version 5.0 With minimal parameter works idempotently with no errors
Failure/Error:
apply_manifest <<~PUPPET
$services = $facts['os']['family'] ? {
'RedHat' => ['zabbix-server', 'httpd', 'zabbix-agentd', 'zabbix-agent', 'zabbix-agent2'],
'Debian' => ['zabbix-server', 'apache2', 'zabbix-agentd', 'zabbix-agent', 'zabbix-agent2'],
default => ['zabbix-agentd', zabbix-agent', 'zabbix-agent2'],
}
service { $services:
ensure => stopped
}
Beaker::Host::CommandFailure:
Host 'rocky8-64-puppet7.example.com' exited with 1 running:
puppet apply --verbose /tmp/apply_manifest_185239509.pp.7sZ2ws
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 ', ' (file: /tmp/apply_manifest_185239509.pp.7sZ2ws, line: 4, column: 45) on node rocky8-64-puppet7.example.com
|
Run tests:
spec/acceptance/agent_spec.rb#L26
zabbix::agent class with zabbix_version 5.0 With minimal parameter Package "zabbix-agent" is expected to be installed
Failure/Error: it { is_expected.to be_installed }
expected Package "zabbix-agent" to be installed
|
Run tests:
spec/acceptance/agent_spec.rb#L30
zabbix::agent class with zabbix_version 5.0 With minimal parameter Service "zabbix-agent" is expected to be running
Failure/Error: it { is_expected.to be_running }
expected Service "zabbix-agent" to be running
|
Run tests:
spec/acceptance/agent_spec.rb#L31
zabbix::agent class with zabbix_version 5.0 With minimal parameter Service "zabbix-agent" is expected to be enabled
Failure/Error: it { is_expected.to be_enabled }
expected Service "zabbix-agent" to be enabled
|
Run tests:
vendor/bundle/ruby/3.2.0/gems/voxpupuli-acceptance-3.0.0/lib/voxpupuli/acceptance/examples.rb#L8
zabbix::agent class with agent2 and zabbix_version 5.0 With minimal parameter 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 'rocky8-64-puppet7.example.com' exited with 2 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_185315225.pp.ociInG
Last 10 lines of output were:
Info: Loading facts
Info: Loading facts
Info: Loading facts
Info: Loading facts
�[mNotice: Compiled catalog for rocky8-64-puppet7.example.com in environment production in 0.15 seconds
Info: Using environment 'production'
Info: Applying configuration version '1710096796'
�[mNotice: /Stage[main]/Zabbix::Agent/Service[zabbix-agent2]/ensure: ensure changed 'stopped' to 'running'
Info: /Stage[main]/Zabbix::Agent/Service[zabbix-agent2]: Unscheduling refresh on Service[zabbix-agent2]
�[mNotice: Applied catalog in 8.01 seconds
Shared Example Group: "an idempotent resource" called from ./spec/acceptance/agent_spec.rb:102
|
Run tests:
spec/acceptance/agent_spec.rb#L126
zabbix::agent class with agent2 and zabbix_version 5.0 With minimal parameter Service "zabbix-agent2" is expected to be running
Failure/Error: it { is_expected.to be_running }
expected Service "zabbix-agent2" to be running
|
Run tests:
vendor/bundle/ruby/3.2.0/gems/voxpupuli-acceptance-3.0.0/lib/voxpupuli/acceptance/examples.rb#L8
zabbix::agent class with agent2 and zabbix_version 5.0 With ListenIP set to an IP-Address 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 'rocky8-64-puppet7.example.com' exited with 2 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_185335385.pp.d0lyiF
Last 10 lines of output were:
Info: Loading facts
Info: Loading facts
Info: Loading facts
Info: Loading facts
�[mNotice: Compiled catalog for rocky8-64-puppet7.example.com in environment production in 0.14 seconds
Info: Using environment 'production'
Info: Applying configuration version '1710096817'
�[mNotice: /Stage[main]/Zabbix::Agent/Service[zabbix-agent2]/ensure: ensure changed 'stopped' to 'running'
Info: /Stage[main]/Zabbix::Agent/Service[zabbix-agent2]: Unscheduling refresh on Service[zabbix-agent2]
�[mNotice: Applied catalog in 8.34 seconds
Shared Example Group: "an idempotent resource" called from ./spec/acceptance/agent_spec.rb:136
|
Run tests:
vendor/bundle/ruby/3.2.0/gems/voxpupuli-acceptance-3.0.0/lib/voxpupuli/acceptance/examples.rb#L8
zabbix::agent class with agent2 and zabbix_version 5.0 With ListenIP set to lo 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 'rocky8-64-puppet7.example.com' exited with 2 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_185355881.pp.wA5vtP
Last 10 lines of output were:
Info: Loading facts
Info: Loading facts
Info: Loading facts
Info: Loading facts
�[mNotice: Compiled catalog for rocky8-64-puppet7.example.com in environment production in 0.14 seconds
Info: Using environment 'production'
Info: Applying configuration version '1710096837'
�[mNotice: /Stage[main]/Zabbix::Agent/Service[zabbix-agent2]/ensure: ensure changed 'stopped' to 'running'
Info: /Stage[main]/Zabbix::Agent/Service[zabbix-agent2]: Unscheduling refresh on Service[zabbix-agent2]
�[mNotice: Applied catalog in 8.35 seconds
Shared Example Group: "an idempotent resource" called from ./spec/acceptance/agent_spec.rb:161
|
Run tests:
spec/acceptance/server_spec.rb#L7
zabbix::server class default parameters works idempotently with no errors
Failure/Error:
apply_manifest <<~PUPPET
$services = $facts['os']['family'] ? {
'RedHat' => ['zabbix-server', 'httpd', 'zabbix-agentd', 'zabbix-agent', 'zabbix-agent2'],
'Debian' => ['zabbix-server', 'apache2', 'zabbix-agentd', 'zabbix-agent', 'zabbix-agent2'],
default => ['zabbix-agentd', zabbix-agent', 'zabbix-agent2'],
}
service { $services:
ensure => stopped
}
Beaker::Host::CommandFailure:
Host 'rocky8-64-puppet7.example.com' exited with 1 running:
puppet apply --verbose /tmp/apply_manifest_185406675.pp.Tp4Mbq
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 ', ' (file: /tmp/apply_manifest_185406675.pp.Tp4Mbq, line: 4, column: 45) on node rocky8-64-puppet7.example.com
|
Run tests:
spec/acceptance/server_spec.rb#L32
zabbix::server class default parameters Package "zabbix-server-pgsql" is expected to be installed
Failure/Error: it { is_expected.to be_installed }
expected Package "zabbix-server-pgsql" to be installed
|
Loading