Skip Menu |

This queue is for tickets about the Tree-Suffix CPAN distribution.

Report information
The Basics
Id: 27544
Status: rejected
Priority: 0/
Queue: Tree-Suffix

People
Owner: Nobody in particular
Requestors: johann.petrak [...] chello.at
Cc:
AdminCc:

Bug Information
Severity: Critical
Broken in: 0.16
Fixed in: (no value)



Subject: Tests failure on install
I tried to install Tree::Suffix and got a lot of test errors (see below). I have libstree-0.4.3 installed in /usr/local on an 32 bit Ubuntu Feisty system. Running make test PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t t/00_load............ok t/01_new.............ok t/02_insert..........ok t/03_lcs............. # Failed test 'lcs' # at t/03_lcs.t line 7. # Structures begin differing at: # $got->[0] = 'stringy' # $expected->[0] = 'string' t/03_lcs.............NOK 1/2 # Failed test 'lcs(min, max)' # at t/03_lcs.t line 10. # Structures begin differing at: # $got->[0] = 'astr' # $expected->[0] = 'ing' t/03_lcs.............NOK 2/2# Looks like you failed 2 tests of 2. t/03_lcs.............dubious Test returned status 2 (wstat 512, 0x200) DIED. FAILED tests 1-2 Failed 2/2 tests, 0.00% okay t/04_lrs.............ok t/05_clear...........ok t/06_remove..........NOK 2/5 # Failed test 'remaining nodes' # at t/06_remove.t line 7. # got: '4' # expected: '2' t/06_remove..........NOK 3/5 # Failed test 'strings() in list context' # at t/06_remove.t line 8. # Structures begin differing at: # $got->[1] = '1' # $expected->[1] = '2' # Failed test 'undef' # at t/06_remove.t line 10. # got: '4' # expected: '2' # Failed test 'empty string' # at t/06_remove.t line 12. # got: '4' # expected: '2' # Looks like you failed 4 tests of 5. t/06_remove..........dubious Test returned status 4 (wstat 1024, 0x400) DIED. FAILED tests 2-5 Failed 4/5 tests, 20.00% okay t/07_memleak.........# # Memory: 2980 -> 4812 # Verify that you have libstree >= 0.4.2 t/07_memleak.........NOK 1/2 # Failed test 'insert()' # at t/07_memleak.t line 28. # # Memory: 4888 -> 6672 # Verify that you have libstree >= 0.4.2 t/07_memleak.........NOK 2/2 # Failed test 'new()/insert()' # at t/07_memleak.t line 46. # Looks like you failed 2 tests of 2. t/07_memleak.........dubious Test returned status 2 (wstat 512, 0x200) DIED. FAILED tests 1-2 Failed 2/2 tests, 0.00% okay t/08_find............ok 1/12 # Failed test 'list context' # at t/08_find.t line 16. # Structures begin differing at: # $got->[0][0] = '-1' # $expected->[0][0] = '0' t/08_find............NOK 9/12 # Failed test 'list context' # at t/08_find.t line 17. # Structures begin differing at: # $got->[0][0] = '-1' # $expected->[0][0] = '0' t/08_find............NOK 10/12 # Failed test 'list context' # at t/08_find.t line 21. # Structures begin differing at: # $got->[0][0] = '-1' # $expected->[0][0] = '0' t/08_find............NOK 11/12# Looks like you failed 3 tests of 12. t/08_find............dubious Test returned status 3 (wstat 768, 0x300) DIED. FAILED tests 9-11 Failed 3/12 tests, 75.00% okay t/09_duplicates......NOK 3/13 # Failed test 'remaining strings' # at t/09_duplicates.t line 8. # got: '3' # expected: '1' t/09_duplicates......NOK 4/13 # Failed test 'find removed string' # at t/09_duplicates.t line 9. # got: '2' # expected: '0' t/09_duplicates......NOK 8/13 # Failed test 'string count' # at t/09_duplicates.t line 15. # got: '3' # expected: '1' # Looks like you failed 3 tests of 13. t/09_duplicates......dubious Test returned status 3 (wstat 768, 0x300) DIED. FAILED tests 3-4, 8 Failed 3/13 tests, 76.92% okay t/10_pod.............ok t/11_pod_coverage....ok t/12_string..........ok t/13_memleak.........ok Failed Test Stat Wstat Total Fail List of Failed ------------------------------------------------------------------------------- t/03_lcs.t 2 512 2 2 1-2 t/06_remove.t 4 1024 5 4 2-5 t/07_memleak.t 2 512 2 2 1-2 t/08_find.t 3 768 12 3 9-11 t/09_duplicates.t 3 768 13 3 3-4 8 Failed 5/14 test scripts. 14/60 subtests failed. Files=14, Tests=60, 2 wallclock secs ( 1.01 cusr + 0.07 csys = 1.08 CPU) Failed 5/14 test programs. 14/60 subtests failed. make: *** [test_dynamic] Error 255 GRAY/Tree-Suffix-0.16.tar.gz /usr/bin/make test -- NOT OK Running make install make test had returned bad status, won't install without force Failed during this command: GRAY/Tree-Suffix-0.16.tar.gz : make_test NO
libstree-0.4.3 is labeled on the author's site as a prerelease and it appear to be buggy. try running the tests from the libstree distribution by hand and you'll see they produce different results between the two versions: ~libstree-0.4.3/test > ./lcstext 0 0 string stringy astring astring stringy ~libstree-0.4.2/test > ./lcstext 0 0 string stringy astring string you can report this to the libstree author, but your best bet is to stick with 0.4.2. On Tue Jun 12 05:00:47 2007, johann_p wrote: Show quoted text
> I tried to install Tree::Suffix and got a lot of test errors (see > below). I have libstree-0.4.3 installed in /usr/local on an 32 bit > Ubuntu Feisty system. > > Running make test > PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" > "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t > t/00_load............ok > > t/01_new.............ok > > t/02_insert..........ok > > t/03_lcs............. > # Failed test 'lcs' > # at t/03_lcs.t line 7. > # Structures begin differing at: > # $got->[0] = 'stringy' > # $expected->[0] = 'string' > t/03_lcs.............NOK 1/2 > > # Failed test 'lcs(min, max)' > # at t/03_lcs.t line 10. > # Structures begin differing at: > # $got->[0] = 'astr' > # $expected->[0] = 'ing' > t/03_lcs.............NOK 2/2# Looks like you failed 2 tests of 2. > > t/03_lcs.............dubious > > Test returned status 2 (wstat 512, 0x200) > DIED. FAILED tests 1-2 > Failed 2/2 tests, 0.00% okay > t/04_lrs.............ok > > t/05_clear...........ok > > t/06_remove..........NOK 2/5 > > # Failed test 'remaining nodes' > # at t/06_remove.t line 7. > # got: '4' > # expected: '2' > t/06_remove..........NOK 3/5 > > # Failed test 'strings() in list context' > # at t/06_remove.t line 8. > # Structures begin differing at: > # $got->[1] = '1' > # $expected->[1] = '2' > > # Failed test 'undef' > # at t/06_remove.t line 10. > # got: '4' > # expected: '2' > > # Failed test 'empty string' > # at t/06_remove.t line 12. > # got: '4' > # expected: '2' > # Looks like you failed 4 tests of 5. > t/06_remove..........dubious > > Test returned status 4 (wstat 1024, 0x400) > DIED. FAILED tests 2-5 > Failed 4/5 tests, 20.00% okay > t/07_memleak.........# > # Memory: 2980 -> 4812 > # Verify that you have libstree >= 0.4.2 > t/07_memleak.........NOK 1/2 > > # Failed test 'insert()' > # at t/07_memleak.t line 28. > # > # Memory: 4888 -> 6672 > # Verify that you have libstree >= 0.4.2 > t/07_memleak.........NOK 2/2 > > # Failed test 'new()/insert()' > # at t/07_memleak.t line 46. > # Looks like you failed 2 tests of 2. > t/07_memleak.........dubious > > Test returned status 2 (wstat 512, 0x200) > DIED. FAILED tests 1-2 > Failed 2/2 tests, 0.00% okay > t/08_find............ok 1/12 > > # Failed test 'list context' > # at t/08_find.t line 16. > # Structures begin differing at: > # $got->[0][0] = '-1' > # $expected->[0][0] = '0' > t/08_find............NOK 9/12 > > # Failed test 'list context' > # at t/08_find.t line 17. > # Structures begin differing at: > # $got->[0][0] = '-1' > # $expected->[0][0] = '0' > t/08_find............NOK 10/12 > > # Failed test 'list context' > # at t/08_find.t line 21. > # Structures begin differing at: > # $got->[0][0] = '-1' > # $expected->[0][0] = '0' > t/08_find............NOK 11/12# Looks like you failed 3 tests of 12. > > t/08_find............dubious > > Test returned status 3 (wstat 768, 0x300) > DIED. FAILED tests 9-11 > Failed 3/12 tests, 75.00% okay > t/09_duplicates......NOK 3/13 > > # Failed test 'remaining strings' > # at t/09_duplicates.t line 8. > # got: '3' > # expected: '1' > t/09_duplicates......NOK 4/13 > > # Failed test 'find removed string' > # at t/09_duplicates.t line 9. > # got: '2' > # expected: '0' > t/09_duplicates......NOK 8/13 > > # Failed test 'string count' > # at t/09_duplicates.t line 15. > # got: '3' > # expected: '1' > # Looks like you failed 3 tests of 13. > t/09_duplicates......dubious > > Test returned status 3 (wstat 768, 0x300) > DIED. FAILED tests 3-4, 8 > Failed 3/13 tests, 76.92% okay > t/10_pod.............ok > > t/11_pod_coverage....ok > > t/12_string..........ok > > t/13_memleak.........ok > > Failed Test Stat Wstat Total Fail List of Failed >
------------------------------------------------------------------------------- Show quoted text
> t/03_lcs.t 2 512 2 2 1-2 > t/06_remove.t 4 1024 5 4 2-5 > t/07_memleak.t 2 512 2 2 1-2 > t/08_find.t 3 768 12 3 9-11 > t/09_duplicates.t 3 768 13 3 3-4 8 > Failed 5/14 test scripts. 14/60 subtests failed. > Files=14, Tests=60, 2 wallclock secs ( 1.01 cusr + 0.07 csys = 1.08 > CPU) > Failed 5/14 test programs. 14/60 subtests failed. > make: *** [test_dynamic] Error 255 > GRAY/Tree-Suffix-0.16.tar.gz > /usr/bin/make test -- NOT OK > Running make install > make test had returned bad status, won't install without force > Failed during this command: > GRAY/Tree-Suffix-0.16.tar.gz : make_test NO >
From: johann.petrak [...] chello.at
On Tue Jun 12 14:56:19 2007, GRAY wrote: Show quoted text
> libstree-0.4.3 is labeled on the author's site as a prerelease and it > appear to be buggy. try running the tests from the libstree > distribution > by hand and you'll see they produce different results between the two > versions: > ~libstree-0.4.3/test > ./lcstext 0 0 string stringy astring > astring stringy > ~libstree-0.4.2/test > ./lcstext 0 0 string stringy astring > string > > you can report this to the libstree author, but your best bet is to > stick with 0.4.2.
Sorry for the mixup. I installed 0.4.2 now and still get testing errors: t/00_load............ok t/01_new.............ok t/02_insert..........ok t/03_lcs.............ok t/04_lrs.............ok t/05_clear...........ok t/06_remove..........ok t/07_memleak.........ok t/08_find............ok t/09_duplicates......dubious Test returned status 0 (wstat 11, 0xb) DIED. FAILED tests 2-13 Failed 12/13 tests, 7.69% okay t/10_pod.............ok t/11_pod_coverage....ok t/12_string..........ok t/13_memleak.........ok Failed Test Stat Wstat Total Fail List of Failed ------------------------------------------------------------------------------- t/09_duplicates.t 0 11 13 24 2-13 Failed 1/14 test scripts. 12/60 subtests failed.
On Tue Jun 12 20:05:32 2007, johann_p wrote: Show quoted text
> Sorry for the mixup. > I installed 0.4.2 now and still get testing errors:
... Show quoted text
> t/09_duplicates......dubious > > Test returned status 0 (wstat 11, 0xb) > DIED. FAILED tests 2-13 > Failed 12/13 tests, 7.69% okay
this looks like a duplicate of rt #18249 please take a look at that ticket. also try to run the test program 'deltest' from the libstree distribution to help narrow down the cause.
duplicate of rt #18249