Eric Lindblad
2015-Jun-10 00:52 UTC
[Xapian-discuss] make check xapian-bindings-1.2.21 & Search-Xapian-1.2.21.0
Eric Lindblad http://www.ericlindblad.blogspot.com - - - Slackware-14.0 bash-4.2# make check Making check in perl make[1]: Entering directory `/home/eric/xapian-bindings-1.2.21/perl' make check-am make[2]: Entering directory `/home/eric/xapian-bindings-1.2.21/perl' make check-TESTS make[3]: Entering directory `/home/eric/xapian-bindings-1.2.21/perl' ./t/01use.t .. ok All tests successful. Files=1, Tests=3, 0 wallclock secs ( 0.12 usr 0.02 sys + 0.23 cusr 0.02 csys = 0.39 CPU) Result: PASS PASS: t/01use.t ./t/02pod.t .. skipped: set TEST_POD to enable this test Files=1, Tests=0, 0 wallclock secs ( 0.12 usr 0.01 sys + 0.21 cusr 0.01 csys = 0.35 CPU) Result: NOTESTS PASS: t/02pod.t ./t/03podcoverage.t .. skipped: set TEST_POD_COVERAGE to enable this test Files=1, Tests=0, 1 wallclock secs ( 0.13 usr 0.00 sys + 0.31 cusr 0.01 csys = 0.45 CPU) Result: NOTESTS PASS: t/03podcoverage.t ./t/04functions.t .. ok All tests successful. Files=1, Tests=26, 1 wallclock secs ( 0.14 usr 0.01 sys + 0.26 cusr 0.02 csys = 0.43 CPU) Result: PASS PASS: t/04functions.t ./t/10query.t .. ok All tests successful. Files=1, Tests=6, 1 wallclock secs ( 0.14 usr 0.01 sys + 0.24 cusr 0.02 csys = 0.41 CPU) Result: PASS PASS: t/10query.t ./t/collapse.t .. ok All tests successful. Files=1, Tests=8, 0 wallclock secs ( 0.14 usr 0.01 sys + 0.24 cusr 0.02 csys = 0.41 CPU) Result: PASS PASS: t/collapse.t ./t/create.t .. ok All tests successful. Files=1, Tests=4, 1 wallclock secs ( 0.13 usr 0.01 sys + 0.24 cusr 0.02 csys = 0.40 CPU) Result: PASS PASS: t/create.t ./t/databasemodified.t .. ok All tests successful. Files=1, Tests=5, 2 wallclock secs ( 0.13 usr 0.01 sys + 0.68 cusr 0.04 csys = 0.86 CPU) Result: PASS PASS: t/databasemodified.t ./t/document.t .. 1/26 # Failed test 5 in ./t/document.t at line 32 # ./t/document.t line 32 is: ok( $it ne $doc->values_end() ); # Failed test 9 in ./t/document.t at line 37 # ./t/document.t line 37 is: ok( $it ne $doc->values_end() ); # Failed test 13 in ./t/document.t at line 42 # ./t/document.t line 42 is: ok( $it eq $doc->values_end() ); # Failed test 21 in ./t/document.t at line 81 # ./t/document.t line 81 is: ok( $it ne $doc->termlist_end()); # Failed test 24 in ./t/document.t at line 85 # ./t/document.t line 85 is: ok( $it eq $doc->termlist_end()); ./t/document.t .. Failed 5/26 subtests Test Summary Report ------------------- ./t/document.t (Wstat: 0 Tests: 26 Failed: 5) Failed tests: 5, 9, 13, 21, 24 Files=1, Tests=26, 1 wallclock secs ( 0.14 usr 0.02 sys + 0.22 cusr 0.01 csys = 0.39 CPU) Result: FAIL FAIL: t/document.t ./t/exception.t .. ok All tests successful. Files=1, Tests=4, 1 wallclock secs ( 0.13 usr 0.01 sys + 0.21 cusr 0.02 csys = 0.37 CPU) Result: PASS PASS: t/exception.t ./t/index.t .. 1/95 # Failed test at ./t/index.t line 77. # Failed test at ./t/index.t line 80. # Failed test at ./t/index.t line 83. # Failed test at ./t/index.t line 86. # Failed test at ./t/index.t line 89. # Failed test at ./t/index.t line 92. # Failed test at ./t/index.t line 95. # Failed test at ./t/index.t line 98. # Failed test at ./t/index.t line 101. # Failed test at ./t/index.t line 77. # Failed test at ./t/index.t line 80. # Failed test at ./t/index.t line 83. # Failed test at ./t/index.t line 86. # Failed test at ./t/index.t line 89. # Failed test at ./t/index.t line 92. # Failed test at ./t/index.t line 95. # Failed test at ./t/index.t line 98. # Failed test at ./t/index.t line 101. # Looks like you failed 18 tests of 95. ./t/index.t .. Dubious, test returned 18 (wstat 4608, 0x1200) Failed 18/95 subtests Test Summary Report ------------------- ./t/index.t (Wstat: 4608 Tests: 95 Failed: 18) Failed tests: 22, 24-25, 28, 31, 34-35, 38, 41, 67, 69-70 73, 76, 79-80, 83, 86 Non-zero exit status: 18 Files=1, Tests=95, 1 wallclock secs ( 0.20 usr 0.01 sys + 0.36 cusr 0.02 csys = 0.59 CPU) Result: FAIL FAIL: t/index.t ./t/parser.t .. 1/60 # Failed test 10 in ./t/parser.t at line 49 # ./t/parser.t line 49 is: ok( $stopper->stop_word($_) ); # Failed test 11 in ./t/parser.t at line 49 fail #2 # Failed test 12 in ./t/parser.t at line 49 fail #3 # Failed test 13 in ./t/parser.t at line 49 fail #4 # Failed test 14 in ./t/parser.t at line 49 fail #5 ./t/parser.t .. Failed 5/60 subtests Test Summary Report ------------------- ./t/parser.t (Wstat: 0 Tests: 60 Failed: 5) Failed tests: 10-14 Files=1, Tests=60, 0 wallclock secs ( 0.16 usr 0.01 sys + 0.23 cusr 0.02 csys = 0.42 CPU) Result: FAIL FAIL: t/parser.t ./t/search.t .. 1/122 # Failed test 'match set returns consistent start point' # at ./t/search.t line 74. # got: 'Search::Xapian::MSetIterator=HASH(0x971d2e0)' # expected: 'Search::Xapian::MSetIterator=HASH(0x971d400)' # Failed test 'match set iterator increments correctly' # at ./t/search.t line 76. # got: 'Search::Xapian::MSetIterator=HASH(0x971d2e0)' # expected: anything else # Failed test 'match set iterator decrements correctly' # at ./t/search.t line 89. # got: 'Search::Xapian::MSetIterator=HASH(0x971d2e0)' # expected: 'Search::Xapian::MSetIterator=HASH(0x97230a0)' # Failed test 'match set returns correct endpoint' # at ./t/search.t line 92. # got: 'Search::Xapian::MSetIterator=HASH(0x971d2e0)' # expected: 'Search::Xapian::MSetIterator=HASH(0x97230a0)' # Failed test 'document added to relevance set successfully' # at ./t/search.t line 97. # Failed test 'eset iterator reaches ESet::end() ok' # at ./t/search.t line 136. # got: 'Search::Xapian::ESetIterator=HASH(0x97238f0)' # expected: 'Search::Xapian::ESetIterator=HASH(0x9723bc0)' # Failed test 'matchless query's match set's start point and endpoint are the same' # at ./t/search.t line 148. # got: 'Search::Xapian::MSetIterator=HASH(0x9723d20)' # expected: 'Search::Xapian::MSetIterator=HASH(0x9725e20)' # Failed test at ./t/search.t line 156. # Failed test at ./t/search.t line 170. # Failed test at ./t/search.t line 173. # Failed test at ./t/search.t line 176. # Failed test at ./t/search.t line 179. # Failed test at ./t/search.t line 182. # Failed test at ./t/search.t line 185. # Failed test at ./t/search.t line 188. # Looks like you failed 15 tests of 122. ./t/search.t .. Dubious, test returned 15 (wstat 3840, 0xf00) Failed 15/122 subtests Test Summary Report ------------------- ./t/search.t (Wstat: 3840 Tests: 122 Failed: 15) Failed tests: 60, 62, 70-71, 73, 90, 97, 100, 105, 108 111, 114-115, 118, 121 Non-zero exit status: 15 Files=1, Tests=122, 0 wallclock secs ( 0.22 usr 0.01 sys + 0.41 cusr 0.02 csys = 0.66 CPU) Result: FAIL FAIL: t/search.t ./t/sorter.t .. ok All tests successful. Files=1, Tests=39, 0 wallclock secs ( 0.15 usr 0.00 sys + 0.28 cusr 0.01 csys = 0.44 CPU) Result: PASS PASS: t/sorter.t ./t/stem.t .. ok All tests successful. Files=1, Tests=2, 1 wallclock secs ( 0.13 usr 0.01 sys + 0.23 cusr 0.01 csys = 0.38 CPU) Result: PASS PASS: t/stem.t ./t/symbol-test.t .. ok All tests successful. Files=1, Tests=3, 7 wallclock secs ( 0.13 usr 0.02 sys + 5.26 cusr 0.44 csys = 5.85 CPU) Result: PASS PASS: t/symbol-test.t ./t/termgenerator.t .. 1/28 # Failed test 2 in ./t/termgenerator.t at line 26 # ./t/termgenerator.t line 26 is: ok( $ti ne $doc->termlist_end()); # Failed test 5 in ./t/termgenerator.t at line 30 # ./t/termgenerator.t line 30 is: ok( $pi ne $ti->positionlist_end() ); # Test 7 got: "Xapian::PositionIterator()" (./t/termgenerator.t at line 32) # Expected: "Xapian::PositionIterator()" # ./t/termgenerator.t line 32 is: ok( ++$pi, $ti->positionlist_end() ); # Failed test 8 in ./t/termgenerator.t at line 34 # ./t/termgenerator.t line 34 is: ok( ++$ti ne $doc->termlist_end()); # Failed test 11 in ./t/termgenerator.t at line 38 # ./t/termgenerator.t line 38 is: ok( $pi ne $ti->positionlist_end() ); # Test 13 got: "Xapian::PositionIterator()" (./t/termgenerator.t at line 40) # Expected: "Xapian::PositionIterator()" # ./t/termgenerator.t line 40 is: ok( ++$pi, $ti->positionlist_end() ); # Failed test 14 in ./t/termgenerator.t at line 42 # ./t/termgenerator.t line 42 is: ok( ++$ti ne $doc->termlist_end() ); # Failed test 17 in ./t/termgenerator.t at line 46 # ./t/termgenerator.t line 46 is: ok( $pi ne $ti->positionlist_end() ); # Failed test 19 in ./t/termgenerator.t at line 48 # ./t/termgenerator.t line 48 is: ok( ++$pi ne $ti->positionlist_end() ); # Test 21 got: "Xapian::PositionIterator()" (./t/termgenerator.t at line 50) # Expected: "Xapian::PositionIterator()" # ./t/termgenerator.t line 50 is: ok( ++$pi, $ti->positionlist_end() ); # Failed test 22 in ./t/termgenerator.t at line 52 # ./t/termgenerator.t line 52 is: ok( ++$ti ne $doc->termlist_end() ); # Test 25 got: "Xapian::PositionIterator()" (./t/termgenerator.t at line 56) # Expected: "Xapian::PositionIterator()" # ./t/termgenerator.t line 56 is: ok( $pi, $ti->positionlist_end() ); # Failed test 26 in ./t/termgenerator.t at line 58 # ./t/termgenerator.t line 58 is: ok( ++$ti eq $doc->termlist_end() ); ./t/termgenerator.t .. Failed 13/28 subtests Test Summary Report ------------------- ./t/termgenerator.t (Wstat: 0 Tests: 28 Failed: 13) Failed tests: 2, 5, 7-8, 11, 13-14, 17, 19, 21-22, 25-26 Files=1, Tests=28, 1 wallclock secs ( 0.15 usr 0.01 sys + 0.23 cusr 0.02 csys = 0.41 CPU) Result: FAIL FAIL: t/termgenerator.t ./t/thread.t .. 1/65 # Failed test 'check Enquire' # at ./t/thread.t line 108. # Failed test 'check ESet' # at ./t/thread.t line 120. # Failed test 'check MSet' # at ./t/thread.t line 123. # Failed test 'check RSet' # at ./t/thread.t line 126. # Failed test 'check Enquire' # at ./t/thread.t line 163. # Failed test 'check ESet' # at ./t/thread.t line 167. # Failed test 'check MSet' # at ./t/thread.t line 168. # Failed test 'check RSet' # at ./t/thread.t line 169. # Looks like you failed 8 tests of 65. ./t/thread.t .. Dubious, test returned 8 (wstat 2048, 0x800) Failed 8/65 subtests Test Summary Report ------------------- ./t/thread.t (Wstat: 2048 Tests: 65 Failed: 8) Failed tests: 14, 22, 24, 26, 51, 55-57 Non-zero exit status: 8 Files=1, Tests=65, 1 wallclock secs ( 0.18 usr 0.01 sys + 0.45 cusr 0.03 csys = 0.67 CPU) Result: FAIL FAIL: t/thread.t ./t/tied.t .. ok All tests successful. Files=1, Tests=22, 1 wallclock secs ( 0.14 usr 0.02 sys + 0.22 cusr 0.01 csys = 0.39 CPU) Result: PASS PASS: t/tied.t ./t/valuerange.t .. ok All tests successful. Files=1, Tests=22, 1 wallclock secs ( 0.14 usr 0.01 sys + 0.26 cusr 0.02 csys = 0.43 CPU) Result: PASS PASS: t/valuerange.t ./t/writabledatabase.t .. 4/35 # Failed test 'check term exists' # at ./t/writabledatabase.t line 72. # Failed test 'check term exists' # at ./t/writabledatabase.t line 86. # Failed test 'check term exists' # at ./t/writabledatabase.t line 93. ./t/writabledatabase.t .. 21/35 # Failed test 'check term exists' # at ./t/writabledatabase.t line 156. # Failed test 'check term exists before deleting a document' # at ./t/writabledatabase.t line 166. # Failed test 'check term exists of documents which has term "test"' # at ./t/writabledatabase.t line 178. # Looks like you failed 6 tests of 35. ./t/writabledatabase.t .. Dubious, test returned 6 (wstat 1536, 0x600) Failed 6/35 subtests Test Summary Report ------------------- ./t/writabledatabase.t (Wstat: 1536 Tests: 35 Failed: 6) Failed tests: 4, 7, 10, 22, 25, 30 Non-zero exit status: 6 Files=1, Tests=35, 3 wallclock secs ( 0.17 usr 0.02 sys + 0.76 cusr 0.06 csys = 1.01 CPU) Result: FAIL FAIL: t/writabledatabase.t ======================================7 of 21 tests failed Please report to http://xapian.org/bugs ======================================make[3]: *** [check-TESTS] Error 1 make[3]: Leaving directory `/home/eric/xapian-bindings-1.2.21/perl' make[2]: *** [check-am] Error 2 make[2]: Leaving directory `/home/eric/xapian-bindings-1.2.21/perl' make[1]: *** [check] Error 2 make[1]: Leaving directory `/home/eric/xapian-bindings-1.2.21/perl' make: *** [check-recursive] Error 1 bash-4.2# - - - Slackware-14.0 bash-4.2# pwd /home/eric/Search-Xapian-1.2.21.0 bash-4.2# make test PERL_DL_NONLAZY=1 /usr/bin/perl5.16.1 "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t t/01use.t ............. ok t/02pod.t ............. skipped: set TEST_POD to enable this test t/03podcoverage.t ..... skipped: set TEST_POD_COVERAGE to enable this test t/04functions.t ....... ok t/10query.t ........... ok t/collapse.t .......... ok t/create.t ............ ok t/databasemodified.t .. ok t/document.t .......... ok t/exception.t ......... ok t/index.t ............. ok t/parser.t ............ 1/62 new 0x842f698 : SV = IV(0x842f694) at 0x842f698 REFCNT = 1 FLAGS = (IOK,pIOK) IV = 138460792 new 0x82a9420 : SV = IV(0x82a941c) at 0x82a9420 REFCNT = 1 FLAGS = (IOK,pIOK) IV = 138283680 old (1): 0 SV = UNKNOWN(0xff) (0x842f668) at 0x83cfea8 REFCNT = 0 FLAGS = () old (1): 0 SV = UNKNOWN(0xff) (0x83cfea8) at 0x842f5d8 REFCNT = 0 FLAGS = () t/parser.t ............ ok t/search.t ............ ok t/sorter.t ............ 21/40 new 0x8ffa438 : SV = IV(0x8ffa434) at 0x8ffa438 REFCNT = 1 FLAGS = (IOK,pIOK) IV = 150223880 old (1): 0 SV = UNKNOWN(0xff) (0x9006da0) at 0x8ff8b28 REFCNT = 0 FLAGS = () t/sorter.t ............ ok t/symbol-test.t ....... ok t/termgenerator.t ..... 1/29 new 0x8cc0310 : SV = IV(0x8cc030c) at 0x8cc0310 REFCNT = 1 FLAGS = (IOK,pIOK) IV = 147490352 new 0x8b4d430 : SV = IV(0x8b4d42c) at 0x8b4d430 REFCNT = 1 FLAGS = (IOK,pIOK) IV = 147408832 old (1): 0 SV = UNKNOWN(0xff) (0x8cc0320) at 0x8c94770 REFCNT = 0 FLAGS = () old (1): 0 SV = UNKNOWN(0xff) (0x8cc02f0) at 0x8ca8300 REFCNT = 0 FLAGS = () t/termgenerator.t ..... ok t/thread.t ............ Name "Test::More::TODO" used only once: possible typo at /usr/share/perl5/Exporter/Heavy.pm line 204. t/thread.t ............ ok t/tied.t .............. ok t/valuerange.t ........ ok t/writabledatabase.t .. Name "Test::More::TODO" used only once: possible typo at /usr/share/perl5/Exporter/Heavy.pm line 204. t/writabledatabase.t .. ok All tests successful. Files=20, Tests=611, 17 wallclock secs ( 0.80 usr 0.08 sys + 10.87 cusr 0.95 csys = 12.70 CPU) Result: PASS bash-4.2#
Olly Betts
2015-Jun-19 07:43 UTC
[Xapian-discuss] make check xapian-bindings-1.2.21 & Search-Xapian-1.2.21.0
On Tue, Jun 09, 2015 at 05:52:06PM -0700, Eric Lindblad wrote:> Slackware-14.0 > > bash-4.2# make check > Making check in perl > make[1]: Entering directory `/home/eric/xapian-bindings-1.2.21/perl'[...]> ./t/document.t .. 1/26 # Failed test 5 in ./t/document.t at line 32 > # ./t/document.t line 32 is: ok( $it ne $doc->values_end() ); > # Failed test 9 in ./t/document.t at line 37 > # ./t/document.t line 37 is: ok( $it ne $doc->values_end() ); > # Failed test 13 in ./t/document.t at line 42 > # ./t/document.t line 42 is: ok( $it eq $doc->values_end() ); > # Failed test 21 in ./t/document.t at line 81 > # ./t/document.t line 81 is: ok( $it ne $doc->termlist_end()); > # Failed test 24 in ./t/document.t at line 85 > # ./t/document.t line 85 is: ok( $it eq $doc->termlist_end()); > ./t/document.t .. Failed 5/26 subtests[snip more failures] I can't reproduce this on Debian unstable - all the tests pass for me.> Slackware-14.0 > > bash-4.2# pwd > /home/eric/Search-Xapian-1.2.21.0 > bash-4.2# make test > PERL_DL_NONLAZY=1 /usr/bin/perl5.16.1 "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t > t/01use.t ............. ok > t/02pod.t ............. skipped: set TEST_POD to enable this test > t/03podcoverage.t ..... skipped: set TEST_POD_COVERAGE to enable this test > t/04functions.t ....... ok > t/10query.t ........... ok > t/collapse.t .......... ok > t/create.t ............ ok > t/databasemodified.t .. ok > t/document.t .......... ok > t/exception.t ......... ok > t/index.t ............. ok > t/parser.t ............ 1/62 new 0x842f698 : SV = IV(0x842f694) at 0x842f698 > REFCNT = 1 > FLAGS = (IOK,pIOK) > IV = 138460792 > new 0x82a9420 : SV = IV(0x82a941c) at 0x82a9420 > REFCNT = 1 > FLAGS = (IOK,pIOK) > IV = 138283680 > old (1): > 0 SV = UNKNOWN(0xff) (0x842f668) at 0x83cfea8 > REFCNT = 0 > FLAGS = () > old (1): > 0 SV = UNKNOWN(0xff) (0x83cfea8) at 0x842f5d8 > REFCNT = 0 > FLAGS = ()These tests also pass for me. Incidentally, running tests as root is probably not a good idea, but doing so doesn't cause them to fail for me. I was using the debian package of xapian-core (1.2.21-1), Perl 5.20.2 and the arch is x86-64. Looks like you were using Perl 5.16.1 - what's the architecture? Have you run the tests on slackware for older Xapian versions in the past? Cheers, Olly