Clean up PostgreSQL DB creation logic #628
Annotations
10 errors
spec/acceptance/server_spec.rb#L7
zabbix::server class default parameters works idempotently with no errors
Failure/Error: apply_manifest(pp, catch_failures: true)
Beaker::Host::CommandFailure:
Host 'ubuntu2004-64-puppet8.example.com' exited with 6 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_225250582.pp.ttpt7J
Last 10 lines of output were:
�[mNotice: /Stage[main]/Zabbix::Server/File[/etc/zabbix/zabbix_server.conf.d]/ensure: created
�[mNotice: /Stage[main]/Zabbix::Server/Zabbix::Startup[zabbix-server]/File[/etc/init.d/zabbix-server]/ensure: removed
�[mNotice: /Stage[main]/Zabbix::Server/Zabbix::Startup[zabbix-server]/Systemd::Unit_file[zabbix-server.service]/File[/etc/systemd/system/zabbix-server.service]/ensure: defined content as '{sha256}eaa1ec638d8115262cd7575c399869bcb28fbe54734552003ce61c15d896bc1c'
Info: /Stage[main]/Zabbix::Server/Zabbix::Startup[zabbix-server]/Systemd::Unit_file[zabbix-server.service]/File[/etc/systemd/system/zabbix-server.service]: Scheduling refresh of Systemd::Daemon_reload[zabbix-server.service]
Info: Systemd::Daemon_reload[zabbix-server.service]: Scheduling refresh of Exec[systemd-zabbix-server.service-systemctl-daemon-reload]
�[mNotice: /Stage[main]/Zabbix::Server/Zabbix::Startup[zabbix-server]/Systemd::Unit_file[zabbix-server.service]/Systemd::Daemon_reload[zabbix-server.service]/Exec[systemd-zabbix-server.service-systemctl-daemon-reload]: Triggered 'refresh' from 1 event
�[mNotice: /Stage[main]/Zabbix::Server/Service[zabbix-server]/ensure: ensure changed 'stopped' to 'running'
Info: /Stage[main]/Zabbix::Server/Service[zabbix-server]: Unscheduling refresh on Service[zabbix-server]
Info: Stage[main]: Unscheduling all events on Stage[main]
�[mNotice: Applied catalog in 30.48 seconds
|
spec/acceptance/server_spec.rb#L44
zabbix::server class default parameters Service "zabbix-server" is expected to be running
Failure/Error: it { is_expected.to be_running }
expected Service "zabbix-server" to be running
|
spec/acceptance/server_spec.rb#L57
zabbix::server class deploys a zabbix 6.0 server works idempotently with no errors
Failure/Error: apply_manifest(pp, catch_failures: true)
Beaker::Host::CommandFailure:
Host 'ubuntu2004-64-puppet8.example.com' exited with 6 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_225342667.pp.eWUA81
Last 10 lines of output were:
�[mNotice: /Stage[main]/Zabbix::Server/File[/etc/zabbix/zabbix_server.conf]/mode: mode changed '0600' to '0640'
Info: /Stage[main]/Zabbix::Server/File[/etc/zabbix/zabbix_server.conf]: Scheduling refresh of Service[zabbix-server]
Info: /Stage[main]/Zabbix::Server/File[/etc/zabbix/zabbix_server.conf]: Scheduling refresh of Service[zabbix-server]
Info: /Stage[main]/Zabbix::Server/File[/etc/zabbix/zabbix_server.conf]: Scheduling refresh of Service[zabbix-server]
Info: /Stage[main]/Zabbix::Server/File[/etc/zabbix/zabbix_server.conf]: Scheduling refresh of Service[zabbix-server]
�[mNotice: /Stage[main]/Zabbix::Server/Zabbix::Startup[zabbix-server]/File[/etc/init.d/zabbix-server]/ensure: removed
�[mNotice: /Stage[main]/Zabbix::Server/Service[zabbix-server]/ensure: ensure changed 'stopped' to 'running'
Info: /Stage[main]/Zabbix::Server/Service[zabbix-server]: Unscheduling refresh on Service[zabbix-server]
Info: Stage[main]: Unscheduling all events on Stage[main]
�[mNotice: Applied catalog in 7.97 seconds
|
spec/acceptance/server_spec.rb#L96
zabbix::server class deploys a zabbix 6.0 server Service "zabbix-server" is expected to be running
Failure/Error: it { is_expected.to be_running }
expected Service "zabbix-server" to be running
|
spec/acceptance/zabbix_host_spec.rb#L59
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 'ubuntu2004-64-puppet8.example.com' exited with 6 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_225412170.pp.ZrcBLL
Last 10 lines of output were:
�[mNotice: /Stage[main]/Zabbix::Web/File[/etc/zabbix/zabbix.conf.php]/ensure: created
�[mNotice: /Stage[main]/Zabbix::Web/Apache::Vhost[localhost]/Concat[25-localhost.conf]/File[/etc/apache2/sites-available/25-localhost.conf]/ensure: defined content as '{sha256}a0e7595477dc79cb52876368e234fb40bd17e55dee6ac1e54656313f1ba30d0c'
Info: Concat[25-localhost.conf]: Scheduling refresh of Class[Apache::Service]
�[mNotice: /Stage[main]/Zabbix::Web/Apache::Vhost[localhost]/File[25-localhost.conf symlink]/ensure: created
Info: /Stage[main]/Zabbix::Web/Apache::Vhost[localhost]/File[25-localhost.conf symlink]: 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 31.66 seconds
|
spec/acceptance/zabbix_host_spec.rb#L66
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 'ubuntu2004-64-puppet8.example.com' exited with 6 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_225450400.pp.NIpFxm
Last 10 lines of output were:
�[mNotice: Compiled catalog for ubuntu2004-64-puppet8.example.com in environment production in 1.29 seconds
Info: Using environment 'production'
Info: Applying configuration version '1699311295'
�[mNotice: /Stage[main]/Zabbix::Database::Postgresql/Exec[zabbix_create.sql]/returns: /bin/sh: 1: Syntax error: ";" unexpected
Error: 'cd /usr/share/zabbix-sql-scripts/postgresql/ && if [ -f server.sql.gz ]; then zcat server.sql.gz | psql ; else ; psql -f server.sql; fi && touch /etc/zabbix/.schema.done' returned 2 instead of one of [0]
Error: /Stage[main]/Zabbix::Database::Postgresql/Exec[zabbix_create.sql]/returns: change from 'notrun' to ['0'] failed: 'cd /usr/share/zabbix-sql-scripts/postgresql/ && if [ -f server.sql.gz ]; then zcat server.sql.gz | psql ; else ; psql -f server.sql; fi && touch /etc/zabbix/.schema.done' returned 2 instead of one of [0]
�[mNotice: /Stage[main]/Zabbix::Server/Service[zabbix-server]/ensure: ensure changed 'stopped' to 'running'
Info: /Stage[main]/Zabbix::Server/Service[zabbix-server]: Unscheduling refresh on Service[zabbix-server]
Info: Stage[main]: Unscheduling all events on Stage[main]
�[mNotice: Applied catalog in 2.14 seconds
|
spec/acceptance/zabbix_host_spec.rb#L92
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 'ubuntu2004-64-puppet8.example.com' exited with 4 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_225459096.pp.kNFmKx
Last 10 lines of output were:
{
"method": "apiinfo.version",
"params": {
},
"id": 83463,
"jsonrpc": "2.0"
}
Warning: /Stage[main]/Main/Zabbix_host[test1.example.com]: Skipping because provider prefetch failed
Warning: /Stage[main]/Main/Zabbix_host[test2.example.com]: Skipping because provider prefetch failed
�[mNotice: Applied catalog in 0.10 seconds
|
spec/acceptance/zabbix_host_spec.rb#L96
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 'ubuntu2004-64-puppet8.example.com' exited with 4 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_225504331.pp.iA8O1U
Last 10 lines of output were:
{
"method": "apiinfo.version",
"params": {
},
"id": 93507,
"jsonrpc": "2.0"
}
Warning: /Stage[main]/Main/Zabbix_host[test1.example.com]: Skipping because provider prefetch failed
Warning: /Stage[main]/Main/Zabbix_host[test2.example.com]: Skipping because provider prefetch failed
�[mNotice: Applied catalog in 0.04 seconds
|
spec/acceptance/zabbix_host_spec.rb#L121
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 'ubuntu2004-64-puppet8.example.com' exited with 4 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_225509560.pp.YxDJPD
Last 10 lines of output were:
{
"method": "apiinfo.version",
"params": {
},
"id": 7689,
"jsonrpc": "2.0"
}
Warning: /Stage[main]/Main/Zabbix_host[test3.example.com]: Skipping because provider prefetch failed
Warning: /Stage[main]/Main/Zabbix_host[test4.example.com]: Skipping because provider prefetch failed
�[mNotice: Applied catalog in 0.04 seconds
|
spec/acceptance/zabbix_host_spec.rb#L125
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 'ubuntu2004-64-puppet8.example.com' exited with 4 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_225514807.pp.pF9YXd
Last 10 lines of output were:
{
"method": "apiinfo.version",
"params": {
},
"id": 80749,
"jsonrpc": "2.0"
}
Warning: /Stage[main]/Main/Zabbix_host[test3.example.com]: Skipping because provider prefetch failed
Warning: /Stage[main]/Main/Zabbix_host[test4.example.com]: Skipping because provider prefetch failed
�[mNotice: Applied catalog in 0.04 seconds
|
The logs for this run have expired and are no longer available.
Loading