Bootstrap agent2 support #722
Annotations
10 errors
Run tests:
spec/acceptance/agent_spec.rb#L8
zabbix::agent class with zabbix_version 6.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 'ubuntu2204-64-puppet7.example.com' exited with 1 running:
puppet apply --verbose /tmp/apply_manifest_185250840.pp.Bz3617
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_185250840.pp.Bz3617, line: 4, column: 45) on node ubuntu2204-64-puppet7.example.com
|
Run tests:
spec/acceptance/agent_spec.rb#L26
zabbix::agent class with zabbix_version 6.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 6.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 6.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 6.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 'ubuntu2204-64-puppet7.example.com' exited with 2 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_185343240.pp.SlhMhQ
Last 10 lines of output were:
Info: Loading facts
Info: Loading facts
Info: Loading facts
Info: Loading facts
�[mNotice: Compiled catalog for ubuntu2204-64-puppet7.example.com in environment production in 0.23 seconds
Info: Using environment 'production'
Info: Applying configuration version '1710096827'
�[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 5.76 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 6.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 6.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 'ubuntu2204-64-puppet7.example.com' exited with 2 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_185403717.pp.nG4y7t
Last 10 lines of output were:
Info: Loading facts
Info: Loading facts
Info: Loading facts
Info: Loading facts
�[mNotice: Compiled catalog for ubuntu2204-64-puppet7.example.com in environment production in 0.23 seconds
Info: Using environment 'production'
Info: Applying configuration version '1710096847'
�[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 5.76 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 6.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 'ubuntu2204-64-puppet7.example.com' exited with 2 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_185424189.pp.AUjdre
Last 10 lines of output were:
Info: Loading facts
Info: Loading facts
Info: Loading facts
Info: Loading facts
�[mNotice: Compiled catalog for ubuntu2204-64-puppet7.example.com in environment production in 0.25 seconds
Info: Using environment 'production'
Info: Applying configuration version '1710096868'
�[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 5.66 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 'ubuntu2204-64-puppet7.example.com' exited with 1 running:
puppet apply --verbose /tmp/apply_manifest_185434778.pp.3iZtbE
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_185434778.pp.3iZtbE, line: 4, column: 45) on node ubuntu2204-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