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 'oracle8-64-puppet7.example.com' exited with 6 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_224944919.pp.218gAZ
Last 10 lines of output were:
Info: /Stage[main]/Zabbix::Server/File[/etc/zabbix/zabbix_server.conf]: Scheduling refresh of Service[zabbix-server]
�[mNotice: /Stage[main]/Zabbix::Server/File[/etc/zabbix/zabbix_server.conf.d]/ensure: created
�[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 73.82 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 'oracle8-64-puppet7.example.com' exited with 6 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_225112357.pp.kRQn6o
Last 10 lines of output were:
�[mNotice: /Stage[main]/Zabbix::Server/File[/etc/zabbix/zabbix_server.conf]/content: content changed '{sha256}5106ecb02d08eea8516f6446c96f5d6b269d7d7c16cce18186a7b61bcfb0d475' to '{sha256}bdb73be3b114571e13cf37d171d0904053ed2b212cb649ae3481d97ebff5f5d7'
�[mNotice: /Stage[main]/Zabbix::Server/File[/etc/zabbix/zabbix_server.conf]/owner: owner changed 'root' to 'zabbix'
�[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]
�[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 57.07 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 'oracle8-64-puppet7.example.com' exited with 6 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_225223094.pp.HNHaXV
Last 10 lines of output were:
Info: /Stage[main]/Zabbix::Web/File[/etc/php-fpm.d/zabbix.conf]: Scheduling refresh of Service[php-fpm]
�[mNotice: /Stage[main]/Zabbix::Web/Service[php-fpm]/ensure: ensure changed 'stopped' to 'running'
Info: /Stage[main]/Zabbix::Web/Service[php-fpm]: Unscheduling refresh on Service[php-fpm]
�[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 93.62 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 'oracle8-64-puppet7.example.com' exited with 6 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_225401741.pp.XvdODo
Last 10 lines of output were:
�[mNotice: /Stage[main]/Zabbix::Database::Postgresql/Exec[zabbix_create.sql]/returns: /bin/sh: -c: line 0: syntax error near unexpected token `;'
�[mNotice: /Stage[main]/Zabbix::Database::Postgresql/Exec[zabbix_create.sql]/returns: /bin/sh: -c: line 0: `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'
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 1 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 1 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: 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 5.82 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 'oracle8-64-puppet7.example.com' exited with 4 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_225412071.pp.oGQaHU
Last 10 lines of output were:
{
"method": "apiinfo.version",
"params": {
},
"id": 9309,
"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.09 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 'oracle8-64-puppet7.example.com' exited with 4 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_225414986.pp.ofCvsH
Last 10 lines of output were:
{
"method": "apiinfo.version",
"params": {
},
"id": 740,
"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.09 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 'oracle8-64-puppet7.example.com' exited with 4 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_225417744.pp.NuUMh0
Last 10 lines of output were:
{
"method": "apiinfo.version",
"params": {
},
"id": 75226,
"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.09 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 'oracle8-64-puppet7.example.com' exited with 4 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_225420538.pp.LZRIIN
Last 10 lines of output were:
{
"method": "apiinfo.version",
"params": {
},
"id": 90041,
"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.09 seconds
|
The logs for this run have expired and are no longer available.
Loading