[check_postgres] make test failures
raf
raf at raf.org
Mon Aug 8 01:42:58 UTC 2011
macosx-10.6.8
postgresql-9.0.4
perl-5.10.0
check_postgres-2.16.0
---------------------
$ tar xzf check_postgres.tar.gz
$ cd check_postgres-2.16.0
$ perl Makefile.PL
Configuring check_postgres 2.16.0
Checking if your kit is complete...
Looks good
Writing Makefile for check_postgres
$ make
cp check_postgres.pl blib/lib/check_postgres.pl
cp check_postgres.pl blib/script/check_postgres.pl
/usr/bin/perl -MExtUtils::MY -e 'MY->fixin(shift)' -- blib/script/check_postgres.pl
Manifying blib/man3/check_postgres.3pm
$ 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 ......... # Creating database in directory "test_database_check_postgres"
# No matching test file found for action "archive_ready" (expected t/02_archive_ready.t)
# No matching test file found for action "hot_standby_delay" (expected t/02_hot_standby_delay.t)
# No matching test file found for action "new_version_tnm" (expected t/02_new_version_tnm.t)
# No matching test file found for action "pgb_pool_cl_active" (expected t/02_pgb_pool_cl_active.t)
# No matching test file found for action "pgb_pool_cl_waiting" (expected t/02_pgb_pool_cl_waiting.t)
# No matching test file found for action "pgb_pool_maxwait" (expected t/02_pgb_pool_maxwait.t)
# No matching test file found for action "pgb_pool_sv_active" (expected t/02_pgb_pool_sv_active.t)
# No matching test file found for action "pgb_pool_sv_idle" (expected t/02_pgb_pool_sv_idle.t)
# No matching test file found for action "pgb_pool_sv_login" (expected t/02_pgb_pool_sv_login.t)
# No matching test file found for action "pgb_pool_sv_tested" (expected t/02_pgb_pool_sv_tested.t)
# No matching test file found for action "pgb_pool_sv_used" (expected t/02_pgb_pool_sv_used.t)
t/00_test_tester.t ......... 1/1
# Failed test 'Did not find a test for every action'
# at t/00_test_tester.t line 44.
# Looks like you failed 1 test of 1.
t/00_test_tester.t ......... Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/1 subtests
t/02_autovac_freeze.t ...... ok
t/02_backends.t ............ 35/53
# Failed test 'Action 'backends' works with critical option as a negative number'
# at t/02_backends.t line 126.
# 'POSTGRES_BACKENDS OK: (host:/tmp/cptesting_socket) 3 of 10 connections (30%) | time=0.01 'ardala'=0;4;4;0;10 'beedeebeedee'=0;4;4;0;10 'postgres'=3;4;4;0;10 'template0'=0;4;4;0;10 'template1'=0;4;4;0;10
# '
# doesn't match '(?-xism:^POSTGRES_BACKENDS CRITICAL)'
# Failed test 'Action 'backends' works with critical option as a negative number'
# at t/02_backends.t line 129.
# 'POSTGRES_BACKENDS CRITICAL: (host:/tmp/cptesting_socket) 3 of 10 connections (30%) | time=0.01 'ardala'=0;2;2;0;10 'beedeebeedee'=0;2;2;0;10 'postgres'=3;2;2;0;10 'template0'=0;2;2;0;10 'template1'=0;2;2;0;10
# '
# doesn't match '(?-xism:^POSTGRES_BACKENDS OK)'
t/02_backends.t ............ 50/53 # Looks like you failed 2 tests of 53.
t/02_backends.t ............ Dubious, test returned 2 (wstat 512, 0x200)
Failed 2/53 subtests
t/02_bloat.t ............... ok
t/02_checkpoint.t .......... ok
t/02_connection.t .......... ok
t/02_custom_query.t ........ ok
t/02_database_size.t ....... ok
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_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_cp.t ...... 1/4
# Failed test 'Action 'new_version_cp' returns warning for mismatched major version'
# at t/02_new_version_cp.t line 28.
# '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 ...... 2/5
# Failed test 'Action 'new_version_pg' returns critical for outdated Postgres revision'
# at t/02_new_version_pg.t line 31.
# '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 35.
# '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
More information about the Check_postgres
mailing list