bucardo / check_postgres

Nagios check_postgres plugin for checking status of PostgreSQL databases
http://bucardo.org/wiki/Check_postgres
Other
561 stars 175 forks source link

Failed test 'Docs out of order #211

Open xavier8854 opened 7 months ago

xavier8854 commented 7 months ago

When running t/05_docs.t, test fails with a bunch of errors :

t/05_docs.t ................ 1/4 
#   Failed test 'Docs out of order: expected partman_premake in POD section, but got pgb_pool_cl_active instead!'
#   at t/05_docs.t line 82.

#   Failed test 'Docs out of order: expected pgb_pool_cl_active in POD section, but got pgb_pool_cl_waiting instead!'
#   at t/05_docs.t line 82.

#   Failed test 'Docs out of order: expected pgb_pool_cl_waiting in POD section, but got pgb_pool_sv_active instead!'
#   at t/05_docs.t line 82.

#   Failed test 'Docs out of order: expected pgb_pool_sv_active in POD section, but got pgb_pool_sv_idle instead!'
#   at t/05_docs.t line 82.

#   Failed test 'Docs out of order: expected pgb_pool_sv_idle in POD section, but got pgb_pool_sv_used instead!'
#   at t/05_docs.t line 82.

#   Failed test 'Docs out of order: expected pgb_pool_sv_used in POD section, but got pgb_pool_sv_tested instead!'
#   at t/05_docs.t line 82.

#   Failed test 'Docs out of order: expected pgb_pool_sv_tested in POD section, but got pgb_pool_sv_login instead!'
#   at t/05_docs.t line 82.

#   Failed test 'Docs out of order: expected pgb_pool_sv_login in POD section, but got pgb_pool_maxwait instead!'
#   at t/05_docs.t line 82.

#   Failed test 'Docs out of order: expected pgb_pool_maxwait in POD section, but got pgbouncer_backends instead!'
#   at t/05_docs.t line 82.

#   Failed test 'Docs out of order: expected pgbouncer_backends in POD section, but got pgbouncer_checksum instead!'
#   at t/05_docs.t line 82.

#   Failed test 'Docs out of order: expected pgbouncer_checksum in POD section, but got pgbouncer_maxwait instead!'
#   at t/05_docs.t line 82.

#   Failed test 'Docs out of order: expected pgbouncer_maxwait in POD section, but got pgagent_jobs instead!'
#   at t/05_docs.t line 82.

#   Failed test 'Docs out of order: expected pgagent_jobs in POD section, but got prepared_txns instead!'
#   at t/05_docs.t line 82.

#   Failed test 'Docs out of order: expected prepared_txns in POD section, but got query_runtime instead!'
#   at t/05_docs.t line 82.

#   Failed test 'Docs out of order: expected query_runtime in POD section, but got query_time instead!'
#   at t/05_docs.t line 82.

#   Failed test 'Docs out of order: expected query_time in POD section, but got replicate_row instead!'
#   at t/05_docs.t line 82.

#   Failed test 'Docs out of order: expected replicate_row in POD section, but got replication_slots instead!'
#   at t/05_docs.t line 82.

#   Failed test 'Docs out of order: expected replication_slots in POD section, but got same_schema instead!'
#   at t/05_docs.t line 82.

#   Failed test 'Docs out of order: expected same_schema in POD section, but got sequence instead!'
#   at t/05_docs.t line 82.

#   Failed test 'Docs out of order: expected sequence in POD section, but got settings_checksum instead!'
#   at t/05_docs.t line 82.

#   Failed test 'Docs out of order: expected settings_checksum in POD section, but got slony_status instead!'
#   at t/05_docs.t line 82.

#   Failed test 'Docs out of order: expected slony_status in POD section, but got timesync instead!'
#   at t/05_docs.t line 82.

#   Failed test 'Docs out of order: expected timesync in POD section, but got txn_idle instead!'
#   at t/05_docs.t line 82.

#   Failed test 'Docs out of order: expected txn_idle in POD section, but got txn_time instead!'
#   at t/05_docs.t line 82.

#   Failed test 'Docs out of order: expected txn_time in POD section, but got txn_wraparound instead!'
#   at t/05_docs.t line 82.

#   Failed test 'Docs out of order: expected txn_wraparound in POD section, but got version instead!'
#   at t/05_docs.t line 82.

#   Failed test 'Docs out of order: expected version in POD section, but got wal_files instead!'
#   at t/05_docs.t line 82.
Use of uninitialized value $pod in string ne at t/05_docs.t line 82.
Use of uninitialized value $pod in concatenation (.) or string at t/05_docs.t line 83.

#   Failed test 'Docs out of order: expected wal_files in POD section, but got  instead!'
#   at t/05_docs.t line 82.
# Looks like you planned 4 tests but ran 32.
# Looks like you failed 28 tests of 32 run.

Regards, Xavier

sertonix commented 4 months ago

https://github.com/bucardo/check_postgres/commit/f6bc7f09cbada0c564c43b6e575d14d775cd2815 fixes this issue