[Bucardo-general] make test failures again

Paul Theodoropoulos paul at anastrophe.com
Tue Sep 9 23:46:41 UTC 2014


Today I cloned from git and attempted to build 5.11. Make test tended to 
fail spectacularly, so I downloaded 5.11 official. This fails more 
gracefully, but fails nonetheless. In general, I've always had trouble 
with make test, and the application still ran fine after installation. 
What brings me to upgrade is an apparent memleak in 4.99.12 -

USER       PID %CPU %MEM    VSZ   RSS TTY      STAT START   TIME COMMAND
postgres  6771  0.5 51.8 3084892 1614084 ?     S    Jul14 475:49 Bucardo 
Kid. Sync "trumgr_main_sync"

which exhausted most free memory on the server.

What's most curious is that on a _nearly_ identical server make test 
completes without errors. Both servers are Debian Squeeze 32bit, but 
there are some rev differences between some of the packages -

on the successfully building server (a development server):
ii  libpq-dev 9.1.4-1~bpo60+1              header files for libpq5 
(PostgreSQL library)
ii  libpq5 9.1.4-1~bpo60+1              PostgreSQL C client library
ii  php5-pgsql 5.3.3-7+squeeze13            PostgreSQL module for php5
ii  postgresql-client-common 134wheezy2~bpo60+1           manager for 
multiple PostgreSQL client versions
ii  postgresql-common 134wheezy2~bpo60+1           PostgreSQL 
database-cluster manager

on the failing server (the production server)
ii  libpq-dev 9.1.9-1~bpo60+1              header files for libpq5 
(PostgreSQL library)
ii  libpq5 9.1.9-1~bpo60+1              PostgreSQL C client library
ii  php5-pgsql 5.3.3-7+squeeze17            PostgreSQL module for php5
ii  postgresql-client-common 129~bpo60+1                  manager for 
multiple PostgreSQL client versions
ii  postgresql-common 129~bpo60+1                  PostgreSQL 
database-cluster manager

Anyway, here's the failing output:

postgres at mia-tm-tru-main-primary: /usr/local/src/Bucardo-5.1.1 $ make test
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" 
"test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/01-basic.t ................. ok
t/02-bctl-customname.t ....... ok
t/02-bctl-db.t ............... ok
t/02-bctl-dbg.t .............. ok
t/02-bctl-herd.t ............. ok
t/02-bctl-sync.t ............. ok
t/02-bctl-table.t ............ ok
t/10-fullcopy.t .............. ok
t/10-makedelta.t ............. ok
t/10-object-names.t .......... skipped: Test skipped unless DBD::Pg is 
version 3 or higher: this is 2.19.3
t/20-drizzle.t ............... skipped: Cannot test Drizzle unless the 
Perl module DBD::drizzle is installed
t/20-mariadb.t ............... skipped: Cannot test MariaDB unless the 
Perl module DBD::mysql is installed
t/20-mongo.t ................. skipped: Cannot test mongo unless the 
Perl module MongoDB is installed
t/20-mysql.t ................. skipped: Cannot test MySQL unless the 
Perl module DBD::mysql is installed
t/20-oracle.t ................ skipped: Cannot test Oracle unless the 
Perl module DBD::Oracle is installed
t/20-postgres.t .............. ok
t/20-redis.t ................. skipped: Cannot test Redis unless the 
Perl module Redis is installed
t/20-sqlite.t ................ skipped: Cannot test SQLite unless the 
Perl module DBD::SQLite is installed
t/30-crash.t ................. 35/?
#   Failed test '(crash) D.Bucardo_test3      copy ok (BIGINT) [line: 101]'
#   at t/30-crash.t line 101.
#     Structures begin differing at:
#          $got->[1] = Does not exist
#     $expected->[1] = ARRAY(0x9342e08)
Bailout called.  Further testing stopped:  Stopping on a failed 
'check_for_row' test from line 101
# Tests were run but no plan was declared and done_testing() was not seen.
FAILED--Further testing stopped: Stopping on a failed 'check_for_row' 
test from line 101
make: *** [test_dynamic] Error 255
postgres at mia-tm-tru-main-primary: /usr/local/src/Bucardo-5.1.1 $

Is this is show-stopper level failure?

-- 
Paul Theodoropoulos
www.anastrophe.com

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.endcrypt.com/pipermail/bucardo-general/attachments/20140909/7d1c6b3b/attachment.html>


More information about the Bucardo-general mailing list