Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 82091 - dev-perl/Test-Exception fails during the test phase
Summary: dev-perl/Test-Exception fails during the test phase
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Perl team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-02-15 02:05 UTC by Santiago Gala
Modified: 2005-04-02 06:16 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Santiago Gala 2005-02-15 02:05:58 UTC
The package is required by HTML-TokeParser-Simple and fails in the tests, with the following messages:

>>> md5 src_uri ;-) Test-Exception-0.15.tar.gz
>>> Checking Test-Exception-0.15.tar.gz's mtime...
>>> WORKDIR is up-to-date, keeping...
Writing Makefile for Test::Exception
Manifying blib/man3/Test::Exception.3pm
PERL_DL_NONLAZY=1 /usr/bin/perl5.8.6 "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/caller........ok
t/documented....skipped
        all skipped: need Pod::Coverage
t/Exception.....NOK 2
#     Failed test (t/Exception.t at line 68)
# STDERR is:
#
# #     Failed test (t/Exception.t at line 67)
#
# not:
# #     Failed test (t/Exception.t at line 67)
#
# as expected
t/Exception.....NOK 4
#     Failed test (t/Exception.t at line 78)
# STDERR is:
#
# #     Failed test (t/Exception.t at line 77)
# # died: a normal die
#
# not:
# #     Failed test (t/Exception.t at line 77)
# # died: a normal die
#
# as expected
t/Exception.....NOK 5
#     Failed test (t/Exception.t at line 84)
# STDERR is:
#
# #     Failed test (t/Exception.t at line 83)
# # died: Local::Error::Overload (overloaded)
#
# not:
# #     Failed test (t/Exception.t at line 83)
# # died: Local::Error::Overload (overloaded)
#
# as expected
t/Exception.....NOK 7
#     Failed test (t/Exception.t at line 95)
# STDERR is:
#
# #     Failed test (t/Exception.t at line 94)
# # expecting: /abnormal/
# # found: a normal die
#
# not:
# #     Failed test (t/Exception.t at line 94)
# # expecting: /abnormal/
# # found: a normal die
#
# as expected
t/Exception.....NOK 9
#     Failed test (t/Exception.t at line 106)
# STDERR is:
#
# #     Failed test (t/Exception.t at line 105)
# # expecting: Local::Error::Simple
# # found: normal exit
#
# not:
# #     Failed test (t/Exception.t at line 105)
# # expecting: Local::Error::Simple
# # found: normal exit
#
# as expected
t/Exception.....NOK 11
#     Failed test (t/Exception.t at line 117)
# STDERR is:
#
# #     Failed test (t/Exception.t at line 116)
# # expecting: Local::Error::Test
# # found: Local::Error::Simple=HASH(0x1011c274)
#
# not:
# #     Failed test (t/Exception.t at line 116)
# # expecting: Local::Error::Test
# # found: Local::Error::Simple=HASH(0x1011c274)
#
# as expected
t/Exception.....NOK 12
#     Failed test (t/Exception.t at line 124)
# STDERR is:
#
# #     Failed test (t/Exception.t at line 123)
# # expecting: Local::Error::Test
# # found: Local::Error::Overload (overloaded)
#
# not:
# #     Failed test (t/Exception.t at line 123)
# # expecting: Local::Error::Test
# # found: Local::Error::Overload (overloaded)
#
# as expected
t/Exception.....NOK 13
#     Failed test (t/Exception.t at line 131)
# STDERR is:
#
# #     Failed test (t/Exception.t at line 130)
# # expecting: Local::Error::Overload (overloaded)
# # found: Local::Error::Test=HASH(0x1011c424)
#
# not:
# #     Failed test (t/Exception.t at line 130)
# # expecting: Local::Error::Overload (overloaded)
# # found: Local::Error::Test=HASH(0x1011c424)
#
# as expected
t/Exception.....NOK 17
#     Failed test (t/Exception.t at line 150)
# STDERR is:
#
# #     Failed test (t/Exception.t at line 149)
# # died: Local::Error::NoFallback (no fallback)
#
# not:
# #     Failed test (t/Exception.t at line 149)
# # died: Local::Error::NoFallback (no fallback)
#
# as expected
t/Exception.....NOK 18
#     Failed test (t/Exception.t at line 157)
# STDERR is:
#
# #     Failed test (t/Exception.t at line 156)
# # expecting: Local::Error::Test
# # found: Local::Error::NoFallback (no fallback)
#
# not:
# #     Failed test (t/Exception.t at line 156)
# # expecting: Local::Error::Test
# # found: Local::Error::NoFallback (no fallback)
#
# as expected
t/Exception.....FAILED tests 2, 4-5, 7, 9, 11-13, 17-18
        Failed 10/18 tests, 44.44% okay
t/lives_and.....ok 3/3Use of uninitialized value in concatenation (.) or string at /usr/lib/perl5/vendor_perl/5.8.6/Test/Builder.pm line 431.
Use of uninitialized value in concatenation (.) or string at /usr/lib/perl5/vendor_perl/5.8.6/Test/Builder.pm line 431.
t/lives_and.....ok
t/pod...........ok
t/preserve......ok
t/return........ok
t/stacktrace....NOK 1
#     Failed test (t/stacktrace.t at line 16)
# STDERR is:
#
# #     Failed test (t/stacktrace.t at line 12)
# # expecting: /fribble/
# # found: died at /var/tmp/portage/Test-Exception-0.15/work/Test-Exception-0.15/blib/lib/Test/Exception.pm line 190
# #     Test::Exception::throws_ok() called at t/stacktrace.t line 12
#
# not:
# #     Failed test (t/stacktrace.t at line 12)
# # expecting: /fribble/
# # found: died at /var/tmp/portage/Test-Exception-0.15/work/Test-Exception-0.15/blib/lib/Test/Exception.pm line 190
# #     Test::Exception::throws_ok() called at t/stacktrace.t line 12
#
# as expected
t/stacktrace....FAILED test 1
        Failed 1/1 tests, 0.00% okay
Failed Test    Stat Wstat Total Fail  Failed  List of Failed
-------------------------------------------------------------------------------
t/Exception.t                18   10  55.56%  2 4-5 7 9 11-13 17-18
t/stacktrace.t                1    1 100.00%  1
1 test skipped.
Failed 2/8 test scripts, 75.00% okay. 11/41 subtests failed, 73.17% okay.
make: *** [test_dynamic] Error 255

!!! ERROR: dev-perl/Test-Exception-0.15 failed.
!!! Function perl-module_src_compile, Line 69, Exitcode 2
!!! test failed
!!! If you need support, post the topmost build error, NOT this status message.



Reproducible: Always
Steps to Reproduce:
1.
2.
3.




The failures are just an extra CR or LF, which looks harmless
Comment 1 Michael Cummings (RETIRED) gentoo-dev 2005-03-17 04:18:58 UTC
Which version of Test-Simple do you have running (perl -MTest::Simple -e 'print "$Test::Simple::VERSION\n;"'). I've seen similar output depending on versions of Test-Simple - no matter what the Makefile's say, some are currently functional only with <0.48, others only with >0.48 (hence the 2 ebuilds - change in Test-Simple package upstream). I've been marking the ones that only work with one or the other as I go, but it's hit or miss (and i think the last version of Test-Simple to hit the portage tree is actually closer to backwards compat to avoid these errors, added after you added this bug).
Comment 2 Santiago Gala 2005-03-17 04:56:16 UTC
I'm using 0.54, ~ppc.

I think the problem is still there, I tried to upgrade HTML-TokeParser-Simple and it still fails in the same place.

It looks like Test-Exception-0.15 is not compatible with Test-Simple-0.54
Comment 3 Michael Cummings (RETIRED) gentoo-dev 2005-03-20 03:06:15 UTC
Hmmm...running 0.54 I can't dup this on this end with 0.15. That said, seems I was keeping my overlay more up to date than the real tree - I've added 0.20 to the tree this morning, please let me know if it is more successful at its tests. The troubling part is that in looking at your output, like you said, the output is right except for a line break/CR/LF. Tempting to just disable tests on this package, though it really shouldn't be failing like this.
Comment 4 Santiago Gala 2005-03-20 09:03:53 UTC
The set of updates fixed it. It was a new version of Test-Builder, IIRC, and then the rest of the packages built.

Thanks for your effort.
Comment 5 Michael Cummings (RETIRED) gentoo-dev 2005-04-02 06:16:44 UTC
OK, so maybe I gave it a little more time than needed - marking stable :)