[Bucardo-general] 4.99.5, fullcopy test failures with make test but not prove

Bryan Bonvallet bryan.bonvallet at majellagt.com
Wed Jan 9 20:17:32 UTC 2013


Hello,

I cloned the github repo and checked out the 4.99.5 tag.

When I run `make test`, I get 23 failures in t/10-fullcopy.t. The log will
be pasted below.

Following another suggestion on this list, I ran that test with extra
debug: `BUCARDO_DEBUG=1 prove --blib . t/10-fullcopy.t`

With the debug, running the single test, there are no problems:
---- output ----
t/10-fullcopy.t .. ok
All tests successful.
Files=1, Tests=81, 56 wallclock secs ( 0.05 usr  0.01 sys + 26.08 cusr
15.89 csys = 42.03 CPU)
Result: PASS
-------------------

This is consistent. `make test` will always fail those 23 times, but
running the full debug to troubleshoot fullcopy will always succeed
completely. Is this a known bug, and I should ignore the make test results?

I'd be happy to provide any extra information needed about my system
(software versions, etc) if necessary.
-Bryan

---- make test output ----
$ 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/BucardoTesting.pm line 1726.
#     Structures begin differing at:
#          $got->[1] = ARRAY(0x974d970)
#     $expected->[1] = Does not exist

#   Failed test '(fullcopy) B.bucardo space test copy ok (INT) [line: 103]'
#   at t/BucardoTesting.pm line 1726.
#     Structures begin differing at:
#          $got->[1] = ARRAY(0x974da88)
#     $expected->[1] = Does not exist

#   Failed test '(fullcopy) B.bucardo_test1      copy ok (SMALLINT) [line:
103]'
#   at t/BucardoTesting.pm line 1726.
#     Structures begin differing at:
#          $got->[1] = ARRAY(0x974da24)
#     $expected->[1] = Does not exist

#   Failed test '(fullcopy) B.bucardo_test10     copy ok (TIMESTAMPTZ)
[line: 103]'
#   at t/BucardoTesting.pm line 1726.
#     Structures begin differing at:
#          $got->[1] = ARRAY(0x974db3c)
#     $expected->[1] = Does not exist

#   Failed test '(fullcopy) B.bucardo_test2      copy ok (INT) [line: 103]'
#   at t/BucardoTesting.pm line 1726.
#     Structures begin differing at:
#          $got->[1] = ARRAY(0x974dc04)
#     $expected->[1] = Does not exist

#   Failed test '(fullcopy) B.bucardo_test4      copy ok (TEXT) [line: 103]'
#   at t/BucardoTesting.pm line 1726.
#     Structures begin differing at:
#          $got->[1] = ARRAY(0x974e08c)
#     $expected->[1] = Does not exist

#   Failed test '(fullcopy) B.bucardo_test5      copy ok (DATE) [line: 103]'
#   at t/BucardoTesting.pm line 1726.
#     Structures begin differing at:
#          $got->[1] = ARRAY(0x974e294)
#     $expected->[1] = Does not exist

#   Failed test '(fullcopy) B.bucardo_test6      copy ok (TIMESTAMP) [line:
103]'
#   at t/BucardoTesting.pm line 1726.
#     Structures begin differing at:
#          $got->[1] = ARRAY(0x974e3ac)
#     $expected->[1] = Does not exist

#   Failed test '(fullcopy) B.bucardo_test7      copy ok (NUMERIC) [line:
103]'
#   at t/BucardoTesting.pm line 1726.
#     Structures begin differing at:
#          $got->[1] = ARRAY(0x974e334)
#     $expected->[1] = Does not exist

#   Failed test '(fullcopy) B.bucardo_test8      copy ok (BYTEA) [line:
103]'
#   at t/BucardoTesting.pm line 1726.
#     Structures begin differing at:
#          $got->[1] = ARRAY(0x97540cc)
#     $expected->[1] = Does not exist

#   Failed test '(fullcopy) B.bucardo_test9      copy ok (int_unsigned)
[line: 103]'
#   at t/BucardoTesting.pm line 1726.
#     Structures begin differing at:
#          $got->[1] = ARRAY(0x975416c)
#     $expected->[1] = Does not exist

#   Failed test '(fullcopy) C.Bucardo_test3      copy ok (BIGINT) [line:
103]'
#   at t/BucardoTesting.pm line 1726.
#     Structures begin differing at:
#          $got->[0] = Does not exist
#     $expected->[0] = ARRAY(0x96f7460)

#   Failed test '(fullcopy) C.bucardo space test copy ok (INT) [line: 103]'
#   at t/BucardoTesting.pm line 1726.
#     Structures begin differing at:
#          $got->[0] = Does not exist
#     $expected->[0] = ARRAY(0x96f7460)

#   Failed test '(fullcopy) C.bucardo_test1      copy ok (SMALLINT) [line:
103]'
#   at t/BucardoTesting.pm line 1726.
#     Structures begin differing at:
#          $got->[0] = Does not exist
#     $expected->[0] = ARRAY(0x96f7460)

#   Failed test '(fullcopy) C.bucardo_test10     copy ok (TIMESTAMPTZ)
[line: 103]'
#   at t/BucardoTesting.pm line 1726.
#     Structures begin differing at:
#          $got->[0] = Does not exist
#     $expected->[0] = ARRAY(0x96f7460)

#   Failed test '(fullcopy) C.bucardo_test2      copy ok (INT) [line: 103]'
#   at t/BucardoTesting.pm line 1726.
#     Structures begin differing at:
#          $got->[0] = Does not exist
#     $expected->[0] = ARRAY(0x96f7460)

#   Failed test '(fullcopy) C.bucardo_test4      copy ok (TEXT) [line: 103]'
#   at t/BucardoTesting.pm line 1726.
#     Structures begin differing at:
#          $got->[0] = Does not exist
#     $expected->[0] = ARRAY(0x96f7460)

#   Failed test '(fullcopy) C.bucardo_test5      copy ok (DATE) [line: 103]'
#   at t/BucardoTesting.pm line 1726.
#     Structures begin differing at:
#          $got->[0] = Does not exist
#     $expected->[0] = ARRAY(0x96f7460)

#   Failed test '(fullcopy) C.bucardo_test6      copy ok (TIMESTAMP) [line:
103]'
#   at t/BucardoTesting.pm line 1726.
#     Structures begin differing at:
#          $got->[0] = Does not exist
#     $expected->[0] = ARRAY(0x96f7460)

#   Failed test '(fullcopy) C.bucardo_test7      copy ok (NUMERIC) [line:
103]'
#   at t/BucardoTesting.pm line 1726.
#     Structures begin differing at:
#          $got->[0] = Does not exist
#     $expected->[0] = ARRAY(0x96f7460)

#   Failed test '(fullcopy) C.bucardo_test8      copy ok (BYTEA) [line:
103]'
#   at t/BucardoTesting.pm line 1726.
#     Structures begin differing at:
#          $got->[0] = Does not exist
#     $expected->[0] = ARRAY(0x96f7460)

#   Failed test '(fullcopy) C.bucardo_test9      copy ok (int_unsigned)
[line: 103]'
#   at t/BucardoTesting.pm line 1726.
#     Structures begin differing at:
#          $got->[0] = Does not exist
#     $expected->[0] = ARRAY(0x96f7460)
t/10-fullcopy.t ......... 74/81
#   Failed test 'Sequence bucardo_test_seq1 NOT the same'
#   at t/BucardoTesting.pm line 1701.
# 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/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-delta.t ............ ok
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
Files=24, Tests=845, 158 wallclock secs ( 0.28 usr  0.14 sys + 45.39 cusr
10.89 csys = 56.70 CPU)
Result: FAIL
Failed 1/24 test programs. 23/845 subtests failed.
make: *** [test_dynamic] Error 255
-----


-- 
*Software Engineer*
*Majella Global Technologies
*
*email: *bryan.bonvallet at MajellaGT.com
*phone: *617-678-8215
*web: *Majella <http://majellagt.com/>GT
<http://majellagt.com/>.com<http://majellagt.com/>

This e-mail message, including any attachments, is a confidential
communication between Majella Group of Companies and the addressee. If you
are not the intended recipient(s), or the employee or agent responsible for
delivery of this message to the intended recipient(s), you are hereby
notified that any dissemination, distribution, or copying of this e-mail
message is strictly prohibited. If you have received this message in error,
please immediately notify the sender and delete this e-mail message from
your system.  Majella Group of Companies does not represent that the
integrity of this email has been maintained, nor that it is free from
errors, viruses, interceptions or interference.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.endcrypt.com/pipermail/bucardo-general/attachments/20130109/03c6f989/attachment.html>


More information about the Bucardo-general mailing list