Thread: [Module::Build] Module::Build hangs during test
Status: Beta
Brought to you by:
kwilliams
|
From: Jim C. <jc...@di...> - 2003-11-29 00:36:37
|
hang happens during test of 2 different CPAN modules,
on 2 different x86 linux boxes (both running 5.8.2), but not with 5.9.0
It also hangs on 5.6.2, doing a cpan> install Module::Build,
at make test. What follows is from a couple
of days ago, I shelved til I could pursue it further, but its 4th down,
I need to punt to you all, and play defense. Ill try some more to make
this report more conclusive.
heres 2 runs, 1st with 5.9.0, which behaves well,
2nd with 5.8.2, which hangs
[jimc@harpo Array-Compare-1.09]$ perl5.9.0 Makefile.PL
/usr/local/bin/perl5.9.0 Build.PL
Checking whether your kit is complete...
Looks good
Deleting Build
Removed previous script 'Build'
Creating new 'Build' script for 'Array-Compare' version '1.09'
[jimc@harpo Array-Compare-1.09]$ make
/usr/local/bin/perl5.9.0 Build
[jimc@harpo Array-Compare-1.09]$ make test
/usr/local/bin/perl5.9.0 Build test
t/pod.....ok
t/test....ok
All tests successful.
Files=2, Tests=25, 1 wallclock secs ( 1.45 cusr + 0.05 csys = 1.50 CPU)
[jimc@harpo Array-Compare-1.09]$ perl Makefile.PL
/usr/local/bin/perl Build.PL
Checking whether your kit is complete...
Looks good
Deleting Build
Removed previous script 'Build'
Creating new 'Build' script for 'Array-Compare' version '1.09'
[jimc@harpo Array-Compare-1.09]$ make
/usr/local/bin/perl Build
[jimc@harpo Array-Compare-1.09]$ make test
/usr/local/bin/perl Build test
t/pod.....make: *** [test] Interrupt
both perls are using same MB installation, ie both 5.8.1;
[jimc@harpo Array-Compare-1.09]$ perldoc -l Module::Build
/usr/local/lib/perl5/site_perl/5.8.1/Module/Build.pm
[jimc@harpo Array-Compare-1.09]$ perldoc5.9.0 -l Module::Build
/usr/local/lib/perl5/site_perl/5.8.1/Module/Build.pm
both perls are 'cpan> r' up to date.
heres a -d probe (with edits for clarity).
the breakpoint I set seems to be the last place where I
It doesnt show me a lot, but hopefully its more meaningful to some/one
of you.
[jimc@harpo Array-Compare-1.09]$ perl -d Build test
DB<1> b Test::Harness::Straps::_analyze_iterator
DB<1> c
t/test....Test::Harness::Straps::_analyze_iterator(/usr/local/lib/perl5/5.8.2/Test/Harness/Straps.pm:121):
121: my($self, $name, $it) = @_;
DB<1> T
@ = Test::Harness::Straps::_analyze_iterator(ref(Test::Harness::Straps),
't/test.t', ref(Test::Harness::Iterator::FH)) called from file
`/usr/local/lib/perl5/5.8.2/Test/Harness/Straps.pm' line 238
@ = Test::Harness::Straps::analyze_fh(ref(Test::Harness::Straps),
't/test.t', ref(GLOB)) called from file
`/usr/local/lib/perl5/5.8.2/Test/Harness/Straps.pm' line 274
@ = Test::Harness::Straps::analyze_file(ref(Test::Harness::Straps),
't/test.t') called from file
`/usr/local/lib/perl5/5.8.2/Test/Harness.pm' line 471
@ = Test::Harness::_run_all_tests('t/test.t') called from file
`/usr/local/lib/perl5/5.8.2/Test/Harness.pm' line 351
. = Test::Harness::runtests('t/test.t') called from file
`/usr/local/lib/perl5/site_perl/5.8.1/Module/Build/Base.pm' line 1030
. = Module::Build::Base::ACTION_test(ref(Module::Build)) called from
file `/usr/local/lib/perl5/site_perl/5.8.1/Module/Build/Base.pm' line 839
. = Module::Build::Base::_call_action(ref(Module::Build), 'test') called
from file `/usr/local/lib/perl5/site_perl/5.8.1/Module/Build/Base.pm'
line 830
. = Module::Build::Base::dispatch(ref(Module::Build)) called from file
`Build' line 39
DB<1> L
/usr/local/lib/perl5/5.8.2/Test/Harness/Straps.pm:
121: my($self, $name, $it) = @_;
break if (1)
DB<1>
DB<1> Unrecognized character \x03 at line 8.
The last line indicates some of the problems Im having controlling the
debugger,
but I have no insight whether this is a cause or effect.
Once I got the prompt back, I was (for 1st time) able to 'n' thru
run_all_tests(),
but with 'dubious' results.
DB<1>
t/test....dubious
Test returned status 255 (wstat 65280, 0xff00)
Test::Harness::_run_all_tests(/usr/local/lib/perl5/5.8.2/Test/Harness.pm:533):
533: $failedtests{$tfile}{name} = $tfile;
DB<1>
... more 'nexts'....
FAILED--1 test script could be run, alas--no output ever seen
Another Try
DB<1> R
main::(Build:27): if (-e 'Build.PL' and not
Module::Build->up_to_date("Build.PL", $0)) {
DB<1> c
t/test....Test::Harness::Straps::_analyze_iterator(/usr/local/lib/perl5/5.8.2/Test/Harness/Straps.pm:121):
121: my($self, $name, $it) = @_;
DB<1> c
it 'hangs' here again, I ^C to get out.
Test::Harness::Straps::_analyze_iterator(/usr/local/lib/perl5/5.8.2/Test/Harness/Straps.pm:144):
144: $totals{skip_all} = $self->{skip_all} if defined
$self->{skip_all};
DB<1> c
t/test....dubious
Test returned status 0 (wstat 2, 0x2)
FAILED--1 test script could be run, alas--no output ever seen
Test::Harness::_show_results('HASH(0x8665758)','HASH(0x866571c)')
called at /usr/local/lib/perl5/5.8.2/Test/Harness.pm line 352
Test::Harness::runtests('t/test.t') called at
/usr/local/lib/perl5/site_perl/5.8.1/Module/Build/Base.pm line 1030
Module::Build::Base::ACTION_test('Module::Build=HASH(0x87abf7c)')
called at /usr/local/lib/perl5/site_perl/5.8.1/Module/Build/Base.pm line 839
Module::Build::Base::_call_action('Module::Build=HASH(0x87abf7c)','test')
called at /usr/local/lib/perl5/site_perl/5.8.1/Module/Build/Base.pm line 830
Module::Build::Base::dispatch('Module::Build=HASH(0x87abf7c)')
called at Build line 39
|
|
From: Randy W. S. <Ra...@Th...> - 2003-11-29 11:06:35
|
On 11/28/2003 7:36 PM, Jim Cromie wrote: > > hang happens during test of 2 different CPAN modules, > on 2 different x86 linux boxes (both running 5.8.2), but not with 5.9.0 > > It also hangs on 5.6.2, doing a cpan> install Module::Build, > at make test. What follows is from a couple > of days ago, I shelved til I could pursue it further, but its 4th down, > I need to punt to you all, and play defense. Ill try some more to make > this report more conclusive. > > > heres 2 runs, 1st with 5.9.0, which behaves well, > 2nd with 5.8.2, which hangs > > > > [jimc@harpo Array-Compare-1.09]$ perl5.9.0 Makefile.PL > /usr/local/bin/perl5.9.0 Build.PL > Checking whether your kit is complete... > Looks good > Deleting Build > Removed previous script 'Build' > Creating new 'Build' script for 'Array-Compare' version '1.09' > > [jimc@harpo Array-Compare-1.09]$ make /usr/local/bin/perl5.9.0 Build > > [jimc@harpo Array-Compare-1.09]$ make test > /usr/local/bin/perl5.9.0 Build test > t/pod.....ok > > t/test....ok > > All tests successful. > Files=2, Tests=25, 1 wallclock secs ( 1.45 cusr + 0.05 csys = 1.50 CPU) > > > > [jimc@harpo Array-Compare-1.09]$ perl Makefile.PL > /usr/local/bin/perl Build.PL > Checking whether your kit is complete... > Looks good > Deleting Build > Removed previous script 'Build' > Creating new 'Build' script for 'Array-Compare' version '1.09' > [jimc@harpo Array-Compare-1.09]$ make > /usr/local/bin/perl Build > [jimc@harpo Array-Compare-1.09]$ make test > /usr/local/bin/perl Build test > t/pod.....make: *** [test] Interrupt > > perl Build test verbose=1 perl -MTest::Harness -e 'print $Test::Harness::VERSION' Randy. |