[check_postgres] check_postgres.pl - make test output error

Sureshkumar Rajayokkian sureshkraja at gmail.com
Thu Aug 28 06:44:20 UTC 2014


Hello Team,

I tried to install "check_postgres-2.21" using complete method and got
below errors while executing "make test". Could you please review the
attached file and let me know what needs to be corrected here.

Best Regards,
Suresh
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.endcrypt.com/pipermail/check_postgres/attachments/20140828/9c4ebb29/attachment-0001.html>
-------------- next part --------------
[root at Nagiosserver01 check_postgres-2.21.0]# make test
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/00_basic.t ............... ok
t/00_signature.t ........... skipped: Test skipped unless environment variable RELEASE_TESTING is set
t/00_test_tester.t ......... skipped: Test skipped unless environment variable RELEASE_TESTING is set
t/01_validate_range.t ...... ok
t/02_autovac_freeze.t ...... # Creating database in directory "test_database_check_postgres"
Could not open "test_database_check_postgres/data space/postgresql.conf": No such file or directory
# Looks like your test exited with 2 before it could output anything.
t/02_autovac_freeze.t ...... Dubious, test returned 2 (wstat 512, 0x200)
Failed 8/8 subtests
t/02_backends.t ............ Could not open "test_database_check_postgres/data space/postgresql.conf": No such file or directory
# Looks like your test exited with 2 before it could output anything.
t/02_backends.t ............ Dubious, test returned 2 (wstat 512, 0x200)
Failed 52/52 subtests
t/02_bloat.t ............... Could not open "test_database_check_postgres/data space/postgresql.conf": No such file or directory
# Looks like your test exited with 2 before it could output anything.
t/02_bloat.t ............... Dubious, test returned 2 (wstat 512, 0x200)
Failed 30/30 subtests
t/02_checkpoint.t .......... Could not open "test_database_check_postgres/data space/postgresql.conf": No such file or directory
# Looks like your test exited with 2 before it could output anything.
t/02_checkpoint.t .......... Dubious, test returned 2 (wstat 512, 0x200)
Failed 14/14 subtests
t/02_cluster_id.t .......... Could not open "test_database_check_postgres/data space/postgresql.conf": No such file or directory
# Looks like your test exited with 2 before it could output anything.
t/02_cluster_id.t .......... Dubious, test returned 2 (wstat 512, 0x200)
Failed 14/14 subtests
t/02_commitratio.t ......... Could not open "test_database_check_postgres/data space/postgresql.conf": No such file or directory
# Looks like your test exited with 2 before it could output anything.
t/02_commitratio.t ......... Dubious, test returned 2 (wstat 512, 0x200)
Failed 23/23 subtests
t/02_connection.t .......... Could not open "test_database_check_postgres/data space/postgresql.conf": No such file or directory
# Looks like your test exited with 2 before it could output anything.
t/02_connection.t .......... Dubious, test returned 2 (wstat 512, 0x200)
Failed 12/12 subtests
t/02_custom_query.t ........ Could not open "test_database_check_postgres/data space/postgresql.conf": No such file or directory
# Looks like your test exited with 2 before it could output anything.
t/02_custom_query.t ........ Dubious, test returned 2 (wstat 512, 0x200)
Failed 12/12 subtests
t/02_database_size.t ....... Could not open "test_database_check_postgres/data space/postgresql.conf": No such file or directory
# Looks like your test exited with 2 before it could output anything.
t/02_database_size.t ....... Dubious, test returned 2 (wstat 512, 0x200)
Failed 49/49 subtests
t/02_dbstats.t ............. Could not open "test_database_check_postgres/data space/postgresql.conf": No such file or directory
# Looks like your test exited with 2 before it could output anything.
t/02_dbstats.t ............. Dubious, test returned 2 (wstat 512, 0x200)
Failed 42/42 subtests
t/02_disabled_triggers.t ... Could not open "test_database_check_postgres/data space/postgresql.conf": No such file or directory
Can't call method "rollback" on an undefined value at t/02_disabled_triggers.t line 67.
END failed--call queue aborted at t/02_disabled_triggers.t line 106.
# Looks like your test exited with 22 before it could output anything.
t/02_disabled_triggers.t ... Dubious, test returned 22 (wstat 5632, 0x1600)
Failed 13/13 subtests
t/02_disk_space.t .......... Could not open "test_database_check_postgres/data space/postgresql.conf": No such file or directory
# Looks like your test exited with 2 before it could output anything.
t/02_disk_space.t .......... Dubious, test returned 2 (wstat 512, 0x200)
Failed 8/8 subtests
t/02_fsm_pages.t ........... Could not open "test_database_check_postgres/data space/postgresql.conf": No such file or directory
# Looks like your test exited with 2 before it could output anything.
t/02_fsm_pages.t ........... Dubious, test returned 2 (wstat 512, 0x200)
Failed 7/7 subtests
t/02_fsm_relations.t ....... Could not open "test_database_check_postgres/data space/postgresql.conf": No such file or directory
# Looks like your test exited with 2 before it could output anything.
t/02_fsm_relations.t ....... Dubious, test returned 2 (wstat 512, 0x200)
Failed 7/7 subtests
t/02_hitratio.t ............ Could not open "test_database_check_postgres/data space/postgresql.conf": No such file or directory
# Looks like your test exited with 2 before it could output anything.
t/02_hitratio.t ............ Dubious, test returned 2 (wstat 512, 0x200)
Failed 23/23 subtests
t/02_last_analyze.t ........ Could not open "test_database_check_postgres/data space/postgresql.conf": No such file or directory
# Looks like your test exited with 2 before it could output anything.
t/02_last_analyze.t ........ Dubious, test returned 2 (wstat 512, 0x200)
Failed 14/14 subtests
t/02_last_vacuum.t ......... Could not open "test_database_check_postgres/data space/postgresql.conf": No such file or directory
# Looks like your test exited with 2 before it could output anything.
t/02_last_vacuum.t ......... Dubious, test returned 2 (wstat 512, 0x200)
Failed 14/14 subtests
t/02_listener.t ............ Could not open "test_database_check_postgres/data space/postgresql.conf": No such file or directory
# Looks like your test exited with 2 before it could output anything.
t/02_listener.t ............ Dubious, test returned 2 (wstat 512, 0x200)
Failed 8/8 subtests
t/02_locks.t ............... Could not open "test_database_check_postgres/data space/postgresql.conf": No such file or directory
# Looks like your test exited with 2 before it could output anything.
t/02_locks.t ............... Dubious, test returned 2 (wstat 512, 0x200)
Failed 14/14 subtests
t/02_logfile.t ............. Could not open "test_database_check_postgres/data space/postgresql.conf": No such file or directory
# Looks like your test exited with 2 before it could output anything.
t/02_logfile.t ............. Dubious, test returned 2 (wstat 512, 0x200)
Failed 11/11 subtests
t/02_new_version_bc.t ...... Could not open "test_database_check_postgres/data space/postgresql.conf": No such file or directory
# Looks like your test exited with 2 before it could output anything.
t/02_new_version_bc.t ...... Dubious, test returned 2 (wstat 512, 0x200)
Failed 1/1 subtests
t/02_new_version_box.t ..... Could not open "test_database_check_postgres/data space/postgresql.conf": No such file or directory
# Looks like your test exited with 2 before it could output anything.
t/02_new_version_box.t ..... Dubious, test returned 2 (wstat 512, 0x200)
Failed 1/1 subtests
t/02_new_version_cp.t ...... Could not open "test_database_check_postgres/data space/postgresql.conf": No such file or directory
# Looks like your test exited with 2 before it could output anything.
t/02_new_version_cp.t ...... Dubious, test returned 2 (wstat 512, 0x200)
Failed 4/4 subtests
t/02_new_version_pg.t ...... Could not open "test_database_check_postgres/data space/postgresql.conf": No such file or directory
# Looks like your test exited with 2 before it could output anything.
t/02_new_version_pg.t ...... Dubious, test returned 2 (wstat 512, 0x200)
Failed 5/5 subtests
t/02_new_version_tnm.t ..... Could not open "test_database_check_postgres/data space/postgresql.conf": No such file or directory
# Looks like your test exited with 2 before it could output anything.
t/02_new_version_tnm.t ..... Dubious, test returned 2 (wstat 512, 0x200)
Failed 1/1 subtests
t/02_pgagent_jobs.t ........ Could not open "test_database_check_postgres/data space/postgresql.conf": No such file or directory
Can't call method "do" on an undefined value at t/02_pgagent_jobs.t line 61.
END failed--call queue aborted at t/02_pgagent_jobs.t line 106.
# Looks like your test exited with 22 before it could output anything.
t/02_pgagent_jobs.t ........ Dubious, test returned 22 (wstat 5632, 0x1600)
Failed 48/48 subtests
t/02_pgbouncer_checksum.t .. Could not open "test_database_check_postgres/data space/postgresql.conf": No such file or directory
# Looks like your test exited with 2 before it could output anything.
t/02_pgbouncer_checksum.t .. Dubious, test returned 2 (wstat 512, 0x200)
Failed 2/2 subtests
t/02_prepared_txns.t ....... Could not open "test_database_check_postgres/data space/postgresql.conf": No such file or directory
# Looks like your test exited with 2 before it could output anything.
t/02_prepared_txns.t ....... Dubious, test returned 2 (wstat 512, 0x200)
Failed 10/10 subtests
t/02_query_runtime.t ....... Could not open "test_database_check_postgres/data space/postgresql.conf": No such file or directory
# Looks like your test exited with 2 before it could output anything.
t/02_query_runtime.t ....... Dubious, test returned 2 (wstat 512, 0x200)
Failed 17/17 subtests
t/02_query_time.t .......... Could not open "test_database_check_postgres/data space/postgresql.conf": No such file or directory
# Looks like your test exited with 2 before it could output anything.
t/02_query_time.t .......... Dubious, test returned 2 (wstat 512, 0x200)
Failed 13/13 subtests
t/02_relation_size.t ....... Could not open "test_database_check_postgres/data space/postgresql.conf": No such file or directory
# Looks like your test exited with 2 before it could output anything.
t/02_relation_size.t ....... Dubious, test returned 2 (wstat 512, 0x200)
Failed 23/23 subtests
t/02_replicate_row.t ....... Could not open "test_database_check_postgres/data space/postgresql.conf": No such file or directory
# Looks like your test exited with 2 before it could output anything.
t/02_replicate_row.t ....... Dubious, test returned 2 (wstat 512, 0x200)
Failed 19/19 subtests
t/02_same_schema.t ......... Could not open "test_database_check_postgres/data space/postgresql.conf": No such file or directory
# Looks like your test exited with 2 before it could output anything.
t/02_same_schema.t ......... Dubious, test returned 2 (wstat 512, 0x200)
Failed 76/76 subtests
t/02_sequence.t ............ Could not open "test_database_check_postgres/data space/postgresql.conf": No such file or directory
Died at t/CP_Testing.pm line 693.
END failed--call queue aborted at t/02_sequence.t line 106.
# Looks like your test exited with 22 before it could output anything.
t/02_sequence.t ............ Dubious, test returned 22 (wstat 5632, 0x1600)
Failed 10/10 subtests
t/02_settings_checksum.t ... Could not open "test_database_check_postgres/data space/postgresql.conf": No such file or directory
# Looks like your test exited with 2 before it could output anything.
t/02_settings_checksum.t ... Dubious, test returned 2 (wstat 512, 0x200)
Failed 10/10 subtests
t/02_slony_status.t ........ Could not open "test_database_check_postgres/data space/postgresql.conf": No such file or directory
# Looks like your test exited with 2 before it could output anything.
t/02_slony_status.t ........ Dubious, test returned 2 (wstat 512, 0x200)
Failed 20/20 subtests
t/02_timesync.t ............ Could not open "test_database_check_postgres/data space/postgresql.conf": No such file or directory
# Looks like your test exited with 2 before it could output anything.
t/02_timesync.t ............ Dubious, test returned 2 (wstat 512, 0x200)
Failed 20/20 subtests
t/02_txn_idle.t ............ Could not open "test_database_check_postgres/data space/postgresql.conf": No such file or directory
# Looks like your test exited with 2 before it could output anything.
t/02_txn_idle.t ............ Dubious, test returned 2 (wstat 512, 0x200)
Failed 15/15 subtests
t/02_txn_time.t ............ Could not open "test_database_check_postgres/data space/postgresql.conf": No such file or directory
# Looks like your test exited with 2 before it could output anything.
t/02_txn_time.t ............ Dubious, test returned 2 (wstat 512, 0x200)
Failed 14/14 subtests
t/02_txn_wraparound.t ...... Could not open "test_database_check_postgres/data space/postgresql.conf": No such file or directory
# Looks like your test exited with 2 before it could output anything.
t/02_txn_wraparound.t ...... Dubious, test returned 2 (wstat 512, 0x200)
Failed 16/16 subtests
t/02_version.t ............. Could not open "test_database_check_postgres/data space/postgresql.conf": No such file or directory
# Looks like your test exited with 2 before it could output anything.
t/02_version.t ............. Dubious, test returned 2 (wstat 512, 0x200)
Failed 28/28 subtests
t/02_wal_files.t ........... Could not open "test_database_check_postgres/data space/postgresql.conf": No such file or directory
# Looks like your test exited with 2 before it could output anything.
t/02_wal_files.t ........... Dubious, test returned 2 (wstat 512, 0x200)
Failed 11/11 subtests
t/03_translations.t ........ skipped: Test skipped unless environment variable RELEASE_TESTING is set
t/04_timeout.t ............. Could not open "test_database_check_postgres/data space/postgresql.conf": No such file or directory
# Looks like your test exited with 2 before it could output anything.
t/04_timeout.t ............. Dubious, test returned 2 (wstat 512, 0x200)
Failed 2/2 subtests
t/05_docs.t ................ ok
t/99_cleanup.t ............. ok

Test Summary Report
-------------------
t/02_autovac_freeze.t    (Wstat: 512 Tests: 0 Failed: 0)
  Non-zero exit status: 2
  Parse errors: Bad plan.  You planned 8 tests but ran 0.
t/02_backends.t          (Wstat: 512 Tests: 0 Failed: 0)
  Non-zero exit status: 2
  Parse errors: Bad plan.  You planned 52 tests but ran 0.
t/02_bloat.t             (Wstat: 512 Tests: 0 Failed: 0)
  Non-zero exit status: 2
  Parse errors: Bad plan.  You planned 30 tests but ran 0.
t/02_checkpoint.t        (Wstat: 512 Tests: 0 Failed: 0)
  Non-zero exit status: 2
  Parse errors: Bad plan.  You planned 14 tests but ran 0.
t/02_cluster_id.t        (Wstat: 512 Tests: 0 Failed: 0)
  Non-zero exit status: 2
  Parse errors: Bad plan.  You planned 14 tests but ran 0.
t/02_commitratio.t       (Wstat: 512 Tests: 0 Failed: 0)
  Non-zero exit status: 2
  Parse errors: Bad plan.  You planned 23 tests but ran 0.
t/02_connection.t        (Wstat: 512 Tests: 0 Failed: 0)
  Non-zero exit status: 2
  Parse errors: Bad plan.  You planned 12 tests but ran 0.
t/02_custom_query.t      (Wstat: 512 Tests: 0 Failed: 0)
  Non-zero exit status: 2
  Parse errors: Bad plan.  You planned 12 tests but ran 0.
t/02_database_size.t     (Wstat: 512 Tests: 0 Failed: 0)
  Non-zero exit status: 2
  Parse errors: Bad plan.  You planned 49 tests but ran 0.
t/02_dbstats.t           (Wstat: 512 Tests: 0 Failed: 0)
  Non-zero exit status: 2
  Parse errors: Bad plan.  You planned 42 tests but ran 0.
t/02_disabled_triggers.t (Wstat: 5632 Tests: 0 Failed: 0)
  Non-zero exit status: 22
  Parse errors: Bad plan.  You planned 13 tests but ran 0.
t/02_disk_space.t        (Wstat: 512 Tests: 0 Failed: 0)
  Non-zero exit status: 2
  Parse errors: Bad plan.  You planned 8 tests but ran 0.
t/02_fsm_pages.t         (Wstat: 512 Tests: 0 Failed: 0)
  Non-zero exit status: 2
  Parse errors: Bad plan.  You planned 7 tests but ran 0.
t/02_fsm_relations.t     (Wstat: 512 Tests: 0 Failed: 0)
  Non-zero exit status: 2
  Parse errors: Bad plan.  You planned 7 tests but ran 0.
t/02_hitratio.t          (Wstat: 512 Tests: 0 Failed: 0)
  Non-zero exit status: 2
  Parse errors: Bad plan.  You planned 23 tests but ran 0.
t/02_last_analyze.t      (Wstat: 512 Tests: 0 Failed: 0)
  Non-zero exit status: 2
  Parse errors: Bad plan.  You planned 14 tests but ran 0.
t/02_last_vacuum.t       (Wstat: 512 Tests: 0 Failed: 0)
  Non-zero exit status: 2
  Parse errors: Bad plan.  You planned 14 tests but ran 0.
t/02_listener.t          (Wstat: 512 Tests: 0 Failed: 0)
  Non-zero exit status: 2
  Parse errors: Bad plan.  You planned 8 tests but ran 0.
t/02_locks.t             (Wstat: 512 Tests: 0 Failed: 0)
  Non-zero exit status: 2
  Parse errors: Bad plan.  You planned 14 tests but ran 0.
t/02_logfile.t           (Wstat: 512 Tests: 0 Failed: 0)
  Non-zero exit status: 2
  Parse errors: Bad plan.  You planned 11 tests but ran 0.
t/02_new_version_bc.t    (Wstat: 512 Tests: 0 Failed: 0)
  Non-zero exit status: 2
  Parse errors: Bad plan.  You planned 1 tests but ran 0.
t/02_new_version_box.t   (Wstat: 512 Tests: 0 Failed: 0)
  Non-zero exit status: 2
  Parse errors: Bad plan.  You planned 1 tests but ran 0.
t/02_new_version_cp.t    (Wstat: 512 Tests: 0 Failed: 0)
  Non-zero exit status: 2
  Parse errors: Bad plan.  You planned 4 tests but ran 0.
t/02_new_version_pg.t    (Wstat: 512 Tests: 0 Failed: 0)
  Non-zero exit status: 2
  Parse errors: Bad plan.  You planned 5 tests but ran 0.
t/02_new_version_tnm.t   (Wstat: 512 Tests: 0 Failed: 0)
  Non-zero exit status: 2
  Parse errors: Bad plan.  You planned 1 tests but ran 0.
t/02_pgagent_jobs.t      (Wstat: 5632 Tests: 0 Failed: 0)
  Non-zero exit status: 22
  Parse errors: Bad plan.  You planned 48 tests but ran 0.
t/02_pgbouncer_checksum.t (Wstat: 512 Tests: 0 Failed: 0)
  Non-zero exit status: 2
  Parse errors: Bad plan.  You planned 2 tests but ran 0.
t/02_prepared_txns.t     (Wstat: 512 Tests: 0 Failed: 0)
  Non-zero exit status: 2
  Parse errors: Bad plan.  You planned 10 tests but ran 0.
t/02_query_runtime.t     (Wstat: 512 Tests: 0 Failed: 0)
  Non-zero exit status: 2
  Parse errors: Bad plan.  You planned 17 tests but ran 0.
t/02_query_time.t        (Wstat: 512 Tests: 0 Failed: 0)
  Non-zero exit status: 2
  Parse errors: Bad plan.  You planned 13 tests but ran 0.
t/02_relation_size.t     (Wstat: 512 Tests: 0 Failed: 0)
  Non-zero exit status: 2
  Parse errors: Bad plan.  You planned 23 tests but ran 0.
t/02_replicate_row.t     (Wstat: 512 Tests: 0 Failed: 0)
  Non-zero exit status: 2
  Parse errors: Bad plan.  You planned 19 tests but ran 0.
t/02_same_schema.t       (Wstat: 512 Tests: 0 Failed: 0)
  Non-zero exit status: 2
  Parse errors: Bad plan.  You planned 76 tests but ran 0.
t/02_sequence.t          (Wstat: 5632 Tests: 0 Failed: 0)
  Non-zero exit status: 22
  Parse errors: Bad plan.  You planned 10 tests but ran 0.
t/02_settings_checksum.t (Wstat: 512 Tests: 0 Failed: 0)
  Non-zero exit status: 2
  Parse errors: Bad plan.  You planned 10 tests but ran 0.
t/02_slony_status.t      (Wstat: 512 Tests: 0 Failed: 0)
  Non-zero exit status: 2
  Parse errors: Bad plan.  You planned 20 tests but ran 0.
t/02_timesync.t          (Wstat: 512 Tests: 0 Failed: 0)
  Non-zero exit status: 2
  Parse errors: Bad plan.  You planned 20 tests but ran 0.
t/02_txn_idle.t          (Wstat: 512 Tests: 0 Failed: 0)
  Non-zero exit status: 2
  Parse errors: Bad plan.  You planned 15 tests but ran 0.
t/02_txn_time.t          (Wstat: 512 Tests: 0 Failed: 0)
  Non-zero exit status: 2
  Parse errors: Bad plan.  You planned 14 tests but ran 0.
t/02_txn_wraparound.t    (Wstat: 512 Tests: 0 Failed: 0)
  Non-zero exit status: 2
  Parse errors: Bad plan.  You planned 16 tests but ran 0.
t/02_version.t           (Wstat: 512 Tests: 0 Failed: 0)
  Non-zero exit status: 2
  Parse errors: Bad plan.  You planned 28 tests but ran 0.
t/02_wal_files.t         (Wstat: 512 Tests: 0 Failed: 0)
  Non-zero exit status: 2
  Parse errors: Bad plan.  You planned 11 tests but ran 0.
t/04_timeout.t           (Wstat: 512 Tests: 0 Failed: 0)
  Non-zero exit status: 2
  Parse errors: Bad plan.  You planned 2 tests but ran 0.
Files=50, Tests=151,  3 wallclock secs ( 0.12 usr  0.05 sys +  1.85 cusr  0.56 csys =  2.58 CPU)
Result: FAIL
Failed 43/50 test programs. 0/151 subtests failed.
make: *** [test_dynamic] Error 255


More information about the Check_postgres mailing list