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 'ubuntu2004-64-puppet8.example.com' exited with 1 running:
puppet apply --verbose /tmp/apply_manifest_185254076.pp.jJIL4q
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_185254076.pp.jJIL4q, line: 4, column: 45) on node ubuntu2004-64-puppet8.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 'ubuntu2004-64-puppet8.example.com' exited with 2 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_185347284.pp.6XBNkN
Last 10 lines of output were:
Info: Loading facts
Info: Loading facts
Info: Loading facts
Info: Loading facts
�[mNotice: Compiled catalog for ubuntu2004-64-puppet8.example.com in environment production in 0.25 seconds
Info: Using environment 'production'
Info: Applying configuration version '1710096831'
�[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.98 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 'ubuntu2004-64-puppet8.example.com' exited with 2 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_185407720.pp.bEy8qG
Last 10 lines of output were:
Info: Loading facts
Info: Loading facts
Info: Loading facts
Info: Loading facts
�[mNotice: Compiled catalog for ubuntu2004-64-puppet8.example.com in environment production in 0.25 seconds
Info: Using environment 'production'
Info: Applying configuration version '1710096851'
�[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 6.06 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 'ubuntu2004-64-puppet8.example.com' exited with 2 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_185428212.pp.1yDl7X
Last 10 lines of output were:
Info: Loading facts
Info: Loading facts
Info: Loading facts
Info: Loading facts
�[mNotice: Compiled catalog for ubuntu2004-64-puppet8.example.com in environment production in 0.22 seconds
Info: Using environment 'production'
Info: Applying configuration version '1710096872'
�[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 6.03 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 'ubuntu2004-64-puppet8.example.com' exited with 1 running:
puppet apply --verbose /tmp/apply_manifest_185438828.pp.nKFAIh
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_185438828.pp.nKFAIh, line: 4, column: 45) on node ubuntu2004-64-puppet8.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