[check_postgres] Failed tests in make test

mhoram at gmx.de mhoram at gmx.de
Mon Jan 14 11:29:48 UTC 2013


Hello,

I just downloaded check_postgres-2.19.0 and during make test I got the
errors in the attached logfile, using it on Debian Squeeze with
PostgreSQL 9.1.7-1~bpo60+1

Are these critical tests?

Regards
Markus

--- BEGIN ---
mhoram at north:~/3/check_postgres-2.19.0$ export
PGBINDIR=/usr/lib/postgresql/9.1/bin
mhoram at north:~/3/check_postgres-2.19.0$ perl Makefile.PL
Configuring check_postgres 2.19.0
Checking if your kit is complete...
Looks good
Writing Makefile for check_postgres
mhoram at north:~/3/check_postgres-2.19.0$ make
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.3
mhoram at north:~/3/check_postgres-2.19.0$ make test &> output-test.log
mhoram at north:~/3/check_postgres-2.19.0$ psql --version
psql (PostgreSQL) 9.1.7
contains support for command-line editing
--- END ---
-------------- next part --------------
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
# Creating database in directory "test_database_check_postgres"
Creating new symlink socket at /tmp/cptesting_socket
t/02_autovac_freeze.t ...... ok
t/02_backends.t ............ ok
t/02_bloat.t ............... ok
t/02_checkpoint.t .......... ok
t/02_cluster_id.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 ...... ok
t/02_new_version_pg.t ...... ok
t/02_pgbouncer_checksum.t .. ok
t/02_prepared_txns.t ....... ok
t/02_query_runtime.t ....... ok
t/02_query_time.t .......... ok
t/02_relation_size.t ....... ok
t/02_replicate_row.t ....... ok
# Creating database in directory "test_database_check_postgres2"
Creating new symlink socket at /tmp/cptesting_socket2
# Creating database in directory "test_database_check_postgres3"
Creating new symlink socket at /tmp/cptesting_socket3
t/02_same_schema.t ......... ok
t/02_sequence.t ............ ok

#   Failed test 'Action 'settings_checksum' returns the expected output for MRTG(failure)'
#   at t/02_settings_checksum.t line 56.
#                   '0
# 0
# 
# a2138cf5129bd2db08ce48a80eea996c
# '
#     doesn't match '(?-xism:^0\n0\n\n\d+)'

#   Failed test 'Action 'settings_checksum' returns the expected output for MRTG(success)'
#   at t/02_settings_checksum.t line 60.
#                   '1
# 0
# 
# a2138cf5129bd2db08ce48a80eea996c
# '
#     doesn't match '(?-xism:^1\n0\n\n\d+)'
# Looks like you failed 2 tests of 10.
t/02_settings_checksum.t ... 
Dubious, test returned 2 (wstat 512, 0x200)
Failed 2/10 subtests 
t/02_slony_status.t ........ ok
t/02_timesync.t ............ ok
t/02_txn_idle.t ............ ok

#   Failed test 'Action 'txn_time' identifies a one-second running txn'
#   at t/02_txn_time.t line 76.
#                   'POSTGRES_TXN_TIME WARNING: DB "postgres" (host:/tmp/cptesting_socket) longest txn: 2s PID:31552 database:postgres username:check_postgres_testing | time=0.04s transaction_time=2s;0 
# '
#     doesn't match '(?-xism:longest txn: 1s)'
# Looks like you failed 1 test of 14.
t/02_txn_time.t ............ 
Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/14 subtests 
t/02_txn_wraparound.t ...... ok
t/02_version.t ............. ok
t/02_wal_files.t ........... ok
t/03_translations.t ........ skipped: Test skipped unless environment variable RELEASE_TESTING is set
t/04_timeout.t ............. ok
t/99_cleanup.t ............. ok

Test Summary Report
-------------------
t/02_settings_checksum.t (Wstat: 512 Tests: 10 Failed: 2)
  Failed tests:  9-10
  Non-zero exit status: 2
t/02_txn_time.t          (Wstat: 256 Tests: 14 Failed: 1)
  Failed test:  13
  Non-zero exit status: 1
Files=43, Tests=649, 728 wallclock secs ( 1.37 usr  0.26 sys + 469.69 cusr 74.29 csys = 545.61 CPU)
Result: FAIL
Failed 2/43 test programs. 3/649 subtests failed.
make: *** [test_dynamic] Error 255


More information about the Check_postgres mailing list