[Bucardo-general] can't put a simple test working. :(

Alexandre Rodrigues alex454 at gmail.com
Fri Jun 25 16:43:05 UTC 2010


Hello all,

I installed bucardo in a CentOS release 5.5 with postgres 8.4.4, but i can't
put a simple example working. Bucardo starts but the tables don't
synchronize.

I get the following output in the bucardo 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.....................ok

t/02-monkey_with_db_table......Could not open
"bucardo_test_database_A_8.4.4/postgresql.conf": No such file or directory
# Looks like your test died before it could output anything.
t/02-monkey_with_db_table......dubious

    Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 1-8
    Failed 8/8 tests, 0.00% okay
t/02-monkey_with_goat_table....Could not open
"bucardo_test_database_A_8.4.4/postgresql.conf": No such file or directory
# Looks like your test died before it could output anything.
t/02-monkey_with_goat_table....dubious

    Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 1-3
    Failed 3/3 tests, 0.00% okay
t/02-monkey_with_herd..........ok 1/4

#   Failed test 'Calling bucardo_ctl with 'add herd' gives expected message'
#   in t/02-monkey_with_herd.t at line 25.
#                   'DBI
connect('dbname=bucardo_control_test;host=/usr/src/store/Bucardo-4.4.0/bucardo_test_database_A_8.4.4/socket;port=58921','root',...)
failed: could not connect to server: No such file or directory
#     Is the server running locally and accepting
#     connections on Unix domain socket
"/usr/src/store/Bucardo-4.4.0/bucardo_test_database_A_8.4.4/socket/.s.PGSQL.58921"?
at blib/script/bucardo_ctl line 194
# '
#     doesn't match '(?-xism:Usage: add herd <name>)'
t/02-monkey_with_herd..........NOK 2

#   Failed test 'Running add herd works as expeceted'
#   in t/02-monkey_with_herd.t at line 33.
#                   'DBI
connect('dbname=bucardo_control_test;host=/usr/src/store/Bucardo-4.4.0/bucardo_test_database_A_8.4.4/socket;port=58921','root',...)
failed: could not connect to server: No such file or directory
#     Is the server running locally and accepting
#     connections on Unix domain socket
"/usr/src/store/Bucardo-4.4.0/bucardo_test_database_A_8.4.4/socket/.s.PGSQL.58921"?
at blib/script/bucardo_ctl line 194
# '
#     doesn't match '(?-xism:Added herd "testherd1")'
t/02-monkey_with_herd..........NOK 3# Looks like you failed 2 tests of 4.

t/02-monkey_with_herd..........dubious

    Test returned status 2 (wstat 512, 0x200)
DIED. FAILED tests 2-3
    Failed 2/4 tests, 50.00% okay
t/02-monkey_with_sync_table....ok 1/10Could not open
"bucardo_test_database_A_8.4.4/postgresql.conf": No such file or directory
# Looks like you planned 10 tests but only ran 2.
# Looks like your test died just after 2.
t/02-monkey_with_sync_table....dubious

    Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 3-10
    Failed 8/10 tests, 20.00% okay
t/02-simple....................ok 1/0Could not open
"bucardo_test_database_A_8.4.4/postgresql.conf": No such file or directory
# Looks like your test died just after 1.
t/02-simple....................dubious

    Test returned status 255 (wstat 65280, 0xff00)
    after all the subtests completed successfully
t/03-goat......................ok

t/04-pushdelta.................ok 1/194Could not open
"bucardo_test_database_A_8.4.4/postgresql.conf": No such file or directory
Can't call method "disconnect" on an undefined value at t/04-pushdelta.t
line 331.
END failed--call queue aborted.
# Looks like you planned 194 tests but only ran 1.
# Looks like your test died just after 1.
t/04-pushdelta.................dubious

    Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 2-194
    Failed 193/194 tests, 0.52% okay
t/05-fullcopy..................ok 1/131Could not open
"bucardo_test_database_A_8.4.4/postgresql.conf": No such file or directory
Can't call method "disconnect" on an undefined value at t/05-fullcopy.t line
297.
END failed--call queue aborted.
# Looks like you planned 131 tests but only ran 1.
# Looks like your test died just after 1.
t/05-fullcopy..................dubious

    Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 2-131
    Failed 130/131 tests, 0.76% okay
t/06-multicolpk................ok 1/0Could not open
"bucardo_test_database_A_8.4.4/postgresql.conf": No such file or directory
Can't call method "disconnect" on an undefined value at t/06-multicolpk.t
line 135.
END failed--call queue aborted.
# Looks like your test died just after 1.
t/06-multicolpk................dubious

    Test returned status 255 (wstat 65280, 0xff00)
    after all the subtests completed successfully
t/06-multicolpushdelta.........ok 1/0Could not open
"bucardo_test_database_A_8.4.4/postgresql.conf": No such file or directory
Can't call method "disconnect" on an undefined value at
t/06-multicolpushdelta.t line 93.
END failed--call queue aborted.
# Looks like your test died just after 1.
t/06-multicolpushdelta.........dubious

    Test returned status 255 (wstat 65280, 0xff00)
    after all the subtests completed successfully
t/07-multicolswap..............ok 1/0Could not open
"bucardo_test_database_A_8.4.4/postgresql.conf": No such file or directory
Can't call method "disconnect" on an undefined value at t/07-multicolswap.t
line 115.
END failed--call queue aborted.
# Looks like your test died just after 1.
t/07-multicolswap..............dubious

    Test returned status 255 (wstat 65280, 0xff00)
    after all the subtests completed successfully
t/08-wildkick..................ok 1/0Could not open
"bucardo_test_database_A_8.4.4/postgresql.conf": No such file or directory
Can't call method "disconnect" on an undefined value at t/08-wildkick.t line
107.
END failed--call queue aborted.
# Looks like your test died just after 2.
t/08-wildkick..................dubious

    Test returned status 255 (wstat 65280, 0xff00)
    after all the subtests completed successfully
t/09-uniqueconstraint..........ok 1/14Could not open
"bucardo_test_database_A_8.4.4/postgresql.conf": No such file or directory
Can't call method "disconnect" on an undefined value at
t/09-uniqueconstraint.t line 208.
END failed--call queue aborted.
# Looks like you planned 14 tests but only ran 1.
# Looks like your test died just after 1.
t/09-uniqueconstraint..........dubious

    Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 2-14
    Failed 13/14 tests, 7.14% okay
t/10-makedelta.................ok 1/15Could not open
"bucardo_test_database_A_8.4.4/postgresql.conf": No such file or directory
Can't call method "disconnect" on an undefined value at t/10-makedelta.t
line 115.
END failed--call queue aborted.
# Looks like you planned 15 tests but only ran 1.
# Looks like your test died just after 1.
t/10-makedelta.................dubious

    Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 2-15
    Failed 14/15 tests, 6.67% okay
t/11-customselect..............ok 1/12Could not open
"bucardo_test_database_A_8.4.4/postgresql.conf": No such file or directory
Can't call method "disconnect" on an undefined value at t/11-customselect.t
line 137.
END failed--call queue aborted.
# Looks like you planned 12 tests but only ran 1.
# Looks like your test died just after 1.
t/11-customselect..............dubious

    Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 2-12
    Failed 11/12 tests, 8.33% okay
t/12-addtable..................ok 1/0Could not open
"bucardo_test_database_A_8.4.4/postgresql.conf": No such file or directory
Can't call method "disconnect" on an undefined value at t/12-addtable.t line
79.
END failed--call queue aborted.
# Looks like your test died just after 1.
t/12-addtable..................dubious

    Test returned status 255 (wstat 65280, 0xff00)
    after all the subtests completed successfully
t/13-ddl.......................ok 1/0Could not open
"bucardo_test_database_A_8.4.4/postgresql.conf": No such file or directory
Can't call method "disconnect" on an undefined value at t/13-ddl.t line 49.
END failed--call queue aborted.
# Looks like your test died just after 1.
t/13-ddl.......................dubious

    Test returned status 255 (wstat 65280, 0xff00)
    after all the subtests completed successfully
t/14-truncate..................Could not open
"bucardo_test_database_A_8.4.4/postgresql.conf": No such file or directory
# Looks like your test died before it could output anything.
t/14-truncate..................dubious

    Test returned status 255 (wstat 65280, 0xff00)
t/15-star......................ok 1/34Could not open
"bucardo_test_database_A_8.4.4/postgresql.conf": No such file or directory
Can't call method "disconnect" on an undefined value at t/15-star.t line
169.
END failed--call queue aborted.
# Looks like you planned 34 tests but only ran 2.
# Looks like your test died just after 2.
t/15-star......................dubious

    Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 3-34
    Failed 32/34 tests, 5.88% okay
t/98-cleanup...................ok

t/99-signature.................skipped
        all skipped: Test skipped unless environment variable
RELEASE_TESTING is set
Failed Test                   Stat Wstat Total Fail  Failed  List of Failed
-------------------------------------------------------------------------------
t/02-monkey_with_db_table.t    255 65280     8   16 200.00%  1-8
t/02-monkey_with_goat_table.t  255 65280     3    6 200.00%  1-3
t/02-monkey_with_herd.t          2   512     4    2  50.00%  2-3
t/02-monkey_with_sync_table.t  255 65280    10   16 160.00%  3-10
t/02-simple.t                  255 65280     1    0   0.00%  ??
t/04-pushdelta.t               255 65280   194  386 198.97%  2-194
t/05-fullcopy.t                255 65280   131  260 198.47%  2-131
t/06-multicolpk.t              255 65280     1    0   0.00%  ??
t/06-multicolpushdelta.t       255 65280     1    0   0.00%  ??
t/07-multicolswap.t            255 65280     1    0   0.00%  ??
t/08-wildkick.t                255 65280     2    0   0.00%  ??
t/09-uniqueconstraint.t        255 65280    14   26 185.71%  2-14
t/10-makedelta.t               255 65280    15   28 186.67%  2-15
t/11-customselect.t            255 65280    12   22 183.33%  2-12
t/12-addtable.t                255 65280     1    0   0.00%  ??
t/13-ddl.t                     255 65280     1    0   0.00%  ??
t/14-truncate.t                255 65280    ??   ??       %  ??
t/15-star.t                    255 65280    34   64 188.24%  3-34
1 test skipped.
Failed 18/22 test scripts, 18.18% okay. 414/440 subtests failed, 5.91% okay.
make: *** [test_dynamic] Error 255


Where configure  the "bucardo_test_database_A_8.4.4/postgresql.conf" the
enhace this test?

Thanks in advance,

Alex
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://mail.endcrypt.com/pipermail/bucardo-general/attachments/20100625/84d55a97/attachment.html 


More information about the Bucardo-general mailing list