[Bucardo-general] Failed tests during build
Paul Theodoropoulos
paul at anastrophe.com
Fri Jul 26 17:34:56 UTC 2013
I'm building from the git repo, but I'm also not a coder or perl wonk,
so I've no idea exactly how serious errors are during 'make test'. My
existing bucardo appears to run fine, but that and $3.50 will buy you a
latte. I'm running on Deb Squeeze in AWS, 64 bit, against a postgresql
8.4 db.
What level of concern should I have about the following make test output?
postgres at m50-aws-tru-main-primary-DEV: /usr/local/src/bucardo $ make test
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e"
"test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/00-release.t ............... skipped: Test skipped unless environment
variable RELEASE_TESTING is set
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 .............. 45/81
# Failed test '(fullcopy) B.Bucardo_test3 copy ok (BIGINT) [line:
103]'
# at t/10-fullcopy.t line 103.
# Structures begin differing at:
# $got->[1] = ARRAY(0x21f7f10)
# $expected->[1] = Does not exist
# Failed test '(fullcopy) B.bucardo space test copy ok (INT) [line: 103]'
# at t/10-fullcopy.t line 103.
# Structures begin differing at:
# $got->[1] = ARRAY(0x21f7e50)
# $expected->[1] = Does not exist
# Failed test '(fullcopy) B.bucardo_test1 copy ok (SMALLINT)
[line: 103]'
# at t/10-fullcopy.t line 103.
# Structures begin differing at:
# $got->[1] = ARRAY(0x21f7d60)
# $expected->[1] = Does not exist
# Failed test '(fullcopy) B.bucardo_test10 copy ok (TIMESTAMPTZ)
[line: 103]'
# at t/10-fullcopy.t line 103.
# Structures begin differing at:
# $got->[1] = ARRAY(0x21f7b38)
# $expected->[1] = Does not exist
# Failed test '(fullcopy) B.bucardo_test2 copy ok (INT) [line: 103]'
# at t/10-fullcopy.t line 103.
# Structures begin differing at:
# $got->[1] = ARRAY(0x21f80f0)
# $expected->[1] = Does not exist
# Failed test '(fullcopy) B.bucardo_test4 copy ok (TEXT) [line: 103]'
# at t/10-fullcopy.t line 103.
# Structures begin differing at:
# $got->[1] = ARRAY(0x21f8090)
# $expected->[1] = Does not exist
# Failed test '(fullcopy) B.bucardo_test5 copy ok (DATE) [line: 103]'
# at t/10-fullcopy.t line 103.
# Structures begin differing at:
# $got->[1] = ARRAY(0x21f8180)
# $expected->[1] = Does not exist
# Failed test '(fullcopy) B.bucardo_test6 copy ok (TIMESTAMP)
[line: 103]'
# at t/10-fullcopy.t line 103.
# Structures begin differing at:
# $got->[1] = ARRAY(0x21f8240)
# $expected->[1] = Does not exist
# Failed test '(fullcopy) B.bucardo_test7 copy ok (NUMERIC)
[line: 103]'
# at t/10-fullcopy.t line 103.
# Structures begin differing at:
# $got->[1] = ARRAY(0x21f8300)
# $expected->[1] = Does not exist
# Failed test '(fullcopy) B.bucardo_test8 copy ok (BYTEA) [line:
103]'
# at t/10-fullcopy.t line 103.
# Structures begin differing at:
# $got->[1] = ARRAY(0x21f83c0)
# $expected->[1] = Does not exist
# Failed test '(fullcopy) B.bucardo_test9 copy ok (int_unsigned)
[line: 103]'
# at t/10-fullcopy.t line 103.
# Structures begin differing at:
# $got->[1] = ARRAY(0x21f8480)
# $expected->[1] = Does not exist
# Failed test '(fullcopy) C.Bucardo_test3 copy ok (BIGINT) [line:
103]'
# at t/10-fullcopy.t line 103.
# Structures begin differing at:
# $got->[0] = Does not exist
# $expected->[0] = ARRAY(0xfe2988)
# Failed test '(fullcopy) C.bucardo space test copy ok (INT) [line: 103]'
# at t/10-fullcopy.t line 103.
# Structures begin differing at:
# $got->[0] = Does not exist
# $expected->[0] = ARRAY(0xfe2988)
# Failed test '(fullcopy) C.bucardo_test1 copy ok (SMALLINT)
[line: 103]'
# at t/10-fullcopy.t line 103.
# Structures begin differing at:
# $got->[0] = Does not exist
# $expected->[0] = ARRAY(0xfe2988)
# Failed test '(fullcopy) C.bucardo_test10 copy ok (TIMESTAMPTZ)
[line: 103]'
# at t/10-fullcopy.t line 103.
# Structures begin differing at:
# $got->[0] = Does not exist
# $expected->[0] = ARRAY(0xfe2988)
# Failed test '(fullcopy) C.bucardo_test2 copy ok (INT) [line: 103]'
# at t/10-fullcopy.t line 103.
# Structures begin differing at:
# $got->[0] = Does not exist
# $expected->[0] = ARRAY(0xfe2988)
# Failed test '(fullcopy) C.bucardo_test4 copy ok (TEXT) [line: 103]'
# at t/10-fullcopy.t line 103.
# Structures begin differing at:
# $got->[0] = Does not exist
# $expected->[0] = ARRAY(0xfe2988)
# Failed test '(fullcopy) C.bucardo_test5 copy ok (DATE) [line: 103]'
# at t/10-fullcopy.t line 103.
# Structures begin differing at:
# $got->[0] = Does not exist
# $expected->[0] = ARRAY(0xfe2988)
# Failed test '(fullcopy) C.bucardo_test6 copy ok (TIMESTAMP)
[line: 103]'
# at t/10-fullcopy.t line 103.
# Structures begin differing at:
# $got->[0] = Does not exist
# $expected->[0] = ARRAY(0xfe2988)
# Failed test '(fullcopy) C.bucardo_test7 copy ok (NUMERIC)
[line: 103]'
# at t/10-fullcopy.t line 103.
# Structures begin differing at:
# $got->[0] = Does not exist
# $expected->[0] = ARRAY(0xfe2988)
# Failed test '(fullcopy) C.bucardo_test8 copy ok (BYTEA) [line:
103]'
# at t/10-fullcopy.t line 103.
# Structures begin differing at:
# $got->[0] = Does not exist
# $expected->[0] = ARRAY(0xfe2988)
# Failed test '(fullcopy) C.bucardo_test9 copy ok (int_unsigned)
[line: 103]'
# at t/10-fullcopy.t line 103.
# Structures begin differing at:
# $got->[0] = Does not exist
# $expected->[0] = ARRAY(0xfe2988)
# Failed test 'Sequence bucardo_test_seq1 NOT the same'
# at t/BucardoTesting.pm line 1795.
# last_value is different on A vs B: 25 vs 1
# start_value is different on A vs B: 20 vs 1
# min_value is different on A vs B: 10 vs 1
# max_value is different on A vs B: 100 vs 9223372036854775807
# last_value is different on A vs C: 25 vs 1
# start_value is different on A vs C: 20 vs 1
# min_value is different on A vs C: 10 vs 1
# max_value is different on A vs C: 100 vs 9223372036854775807
# last_value is different on A vs D: 25 vs 1
# start_value is different on A vs D: 20 vs 1
# min_value is different on A vs D: 10 vs 1
# max_value is different on A vs D: 100 vs 9223372036854775807
# Looks like you failed 23 tests of 81.
t/10-fullcopy.t .............. Dubious, test returned 23 (wstat 5888,
0x1700)
Failed 23/81 subtests
t/10-makedelta.t ............. 19/50
# Failed test 'Should have the test1 row in B'
# at t/10-makedelta.t line 80.
# Structures begin differing at:
# $got->[0] = Does not exist
# $expected->[0] = ARRAY(0x2967498)
t/10-makedelta.t ............. 33/50
# Failed test 'Should have the A test2 row in A'
# at t/10-makedelta.t line 106.
# Structures begin differing at:
# $got->[0] = Does not exist
# $expected->[0] = ARRAY(0x29668e0)
# Failed test 'Should have the A test2 row in C'
# at t/10-makedelta.t line 110.
# Structures begin differing at:
# $got->[0] = Does not exist
# $expected->[0] = ARRAY(0x2966fe8)
t/10-makedelta.t ............. 48/50 # Looks like you failed 3 tests of 50.
t/10-makedelta.t ............. Dubious, test returned 3 (wstat 768, 0x300)
Failed 3/50 subtests
t/20-drizzle.t ............... skipped: Cannot test Drizzle unless the
Perl module DBD::drizzle is installed
t/20-mariadb.t ............... skipped: Cannot test MariaDB as we cannot
connect to a running MariaDB database
t/20-mongo.t ................. skipped: Cannot test mongo unless the
Perl module MongoDB is installed
t/20-mysql.t ................. skipped: Cannot test MySQL as we cannot
connect to a running MySQL database
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-delta.t ................. ok
t/40-customcode-exception.t .. ok
t/40-serializable.t .......... 16/45
# Failed test 'Should have the test1 row in B'
# at t/40-serializable.t line 98.
# Structures begin differing at:
# $got->[0] = Does not exist
# $expected->[0] = ARRAY(0x1aefcc8)
# Failed test 'Should have two syncruns'
# at t/40-serializable.t line 107.
# got: '1'
# expected: '2'
# Failed test 'New run should have an "ended" value'
# at t/40-serializable.t line 108.
# Failed test 'It should be marked "last good"'
# at t/40-serializable.t line 109.
Use of uninitialized value $this in pattern match (m//) at
t/40-serializable.t line 110.
# Failed test 'Its status should be "Complete"'
# at t/40-serializable.t line 110.
# undef
# doesn't match '(?-xism:^Complete)'
t/40-serializable.t .......... 36/45
# Failed test 'Should have four syncruns'
# at t/40-serializable.t line 133.
# got: '3'
# expected: '4'
# Failed test 'Third run should be marked "last bad"'
# at t/40-serializable.t line 135.
# Failed test 'Third run status should be "Bad"'
# at t/40-serializable.t line 136.
# 'Complete (KID 5779)'
# doesn't match '(?-xism:^Failed)'
# Failed test 'Fourth run should have an "ended" value'
# at t/40-serializable.t line 138.
# Failed test 'Fourth run should be marked "last good"'
# at t/40-serializable.t line 139.
Use of uninitialized value $this in pattern match (m//) at
t/40-serializable.t line 140.
# Failed test 'Fourth run status should be "Complete"'
# at t/40-serializable.t line 140.
# undef
# doesn't match '(?-xism:^Complete)'
# Looks like you failed 11 tests of 45.
t/40-serializable.t .......... Dubious, test returned 11 (wstat 2816, 0xb00)
Failed 11/45 subtests
t/98-cleanup.t ............... ok
t/99-lint.t .................. skipped: Test skipped unless environment
variable RELEASE_TESTING is set
t/99-perlcritic.t ............ skipped: Test skipped unless environment
variable RELEASE_TESTING is set
t/99-signature.t ............. skipped: Test skipped unless environment
variable RELEASE_TESTING is set
t/99-spellcheck.t ............ skipped: Test skipped unless environment
variable RELEASE_TESTING is set
t/99-yaml.t .................. skipped: Test skipped unless environment
variable RELEASE_TESTING is set
Test Summary Report
-------------------
t/10-fullcopy.t (Wstat: 5888 Tests: 81 Failed: 23)
Failed tests: 45-66, 79
Non-zero exit status: 23
t/10-makedelta.t (Wstat: 768 Tests: 50 Failed: 3)
Failed tests: 31, 36-37
Non-zero exit status: 3
t/40-serializable.t (Wstat: 2816 Tests: 45 Failed: 11)
Failed tests: 28, 30-33, 39, 41-45
Non-zero exit status: 11
Files=27, Tests=1057, 324 wallclock secs ( 0.31 usr 0.22 sys + 69.69
cusr 43.45 csys = 113.67 CPU)
Result: FAIL
Failed 3/27 test programs. 37/1057 subtests failed.
make: *** [test_dynamic] Error 255
postgres at m50-aws-tru-main-primary-DEV: /usr/local/src/bucardo $
--
Paul Theodoropoulos
www.anastrophe.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.endcrypt.com/pipermail/bucardo-general/attachments/20130726/e411c617/attachment-0001.html>
More information about the Bucardo-general
mailing list