[check_postgres] failing test on make test

Jim Legg jalegg at teamfishel.com
Thu Oct 24 15:21:34 UTC 2013


Here's output from my make test. I'm running version 9.3 of postgresql.

What can be done to make this work? Is it important to make it work?

Thanks.

[admin at corp-postgresql check_postgres-2.21.0]$ make test
cp check_postgres.pl blib/script/check_postgres.pl
/usr/bin/perl -MExtUtils::MY -e 'MY->fixin(shift)' -- blib/script/
check_postgres.pl
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 ...... ok
t/02_backends.t ............ ok
t/02_bloat.t ............... ok
t/02_checkpoint.t .......... 8/14 # Looks like you planned 14 tests but ran
13.
t/02_checkpoint.t .......... Dubious, test returned 255 (wstat 65280,
0xff00)
Failed 1/14 subtests
        (less 6 skipped subtests: 7 okay)
t/02_cluster_id.t .......... ok
t/02_commitratio.t ......... DBD::Pg::db tables failed: no statement
executing at t/CP_Testing.pm line 802.
# Looks like your test exited with 255 before it could output anything.
t/02_commitratio.t ......... Dubious, test returned 255 (wstat 65280,
0xff00)
Failed 23/23 subtests
t/02_connection.t .......... ok
t/02_custom_query.t ........ ok
t/02_database_size.t ....... 1/49 DBD::Pg::db tables failed: no statement
executing at t/CP_Testing.pm line 802.
# Looks like you planned 49 tests but ran 1.
# Looks like your test exited with 3 just after 1.
t/02_database_size.t ....... Dubious, test returned 3 (wstat 768, 0x300)
Failed 48/49 subtests
t/02_dbstats.t ............. ok
t/02_disabled_triggers.t ... ok
t/02_disk_space.t .......... ok
t/02_fsm_pages.t ........... ok
t/02_fsm_relations.t ....... ok
t/02_hitratio.t ............ DBD::Pg::db tables failed: no statement
executing at t/CP_Testing.pm line 802.
# Looks like your test exited with 255 before it could output anything.
t/02_hitratio.t ............ Dubious, test returned 255 (wstat 65280,
0xff00)
Failed 23/23 subtests
t/02_last_analyze.t ........ ok
t/02_last_vacuum.t ......... ok
t/02_listener.t ............ ok
t/02_locks.t ............... ok
t/02_logfile.t ............. ok
t/02_new_version_bc.t ...... ok
t/02_new_version_box.t ..... ok
t/02_new_version_cp.t ...... 1/4
#   Failed test 'Action 'new_version_cp' returns warning for mismatched
major version'
#   at t/02_new_version_cp.t line 34.
#                   'POSTGRES_NEW_VERSION_CP UNKNOWN:  Could not download
version information for check_postgres
# '
#     doesn't match '(?-xism:POSTGRES_NEW_VERSION_CP WARNING:  Please
upgrade to version \d+\.\d+\.\d+ of check_postgres. You are running 1.2.3)'
Invalid version!?
# Looks like you planned 4 tests but ran 2.
# Looks like you failed 1 test of 2 run.
# Looks like your test exited with 3 just after 2.
t/02_new_version_cp.t ...... Dubious, test returned 3 (wstat 768, 0x300)
Failed 3/4 subtests
t/02_new_version_pg.t ...... 1/5
#   Failed test 'Action 'new_version_pg' returns critical for outdated
Postgres revision'
#   at t/02_new_version_pg.t line 39.
#                   'POSTGRES_NEW_VERSION_PG UNKNOWN:  Could not download
version information for Postgres
# '
#     doesn't match '(?-xism:POSTGRES_NEW_VERSION_PG CRITICAL:.+Please
upgrade to version 8.3.\d+ of Postgres)'

#   Failed test 'Action 'new_version_pg' returns unknown for non-existent
future version of Postgres'
#   at t/02_new_version_pg.t line 43.
#                   'POSTGRES_NEW_VERSION_PG UNKNOWN:  Could not download
version information for Postgres
# '
#     doesn't match '(?-xism:POSTGRES_NEW_VERSION_PG UNKNOWN:.+Your version
of Postgres \(8.2.999\) appears to be ahead of the current release!)'
Bailout called.  Further testing stopped:  Could not determine version!
FAILED--Further testing stopped: Could not determine version!
make: *** [test_dynamic] Error 255
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.endcrypt.com/pipermail/check_postgres/attachments/20131024/752318b3/attachment.html>


More information about the Check_postgres mailing list