Re: make test fails on HPUX/IA64: Can't locate TestFilter/both_str_req_add.pm

[prev] [thread] [next] [Date index for 2004/12/07]

From: Stas Bekman
Subject: Re: make test fails on HPUX/IA64: Can't locate TestFilter/both_str_req_add.pm
Date: 16:38 on 07 Dec 2004
Gisle Aas wrote:
> Stas Bekman <stas@xxxxxx.xxx> writes:
> 
> 
>>>$ make test
>>
>>>[Tue Dec 07 04:05:24 2004] [error] Can't locate
>>>TestFilter/both_str_req_add.pm in @INC (@INC contains:
>>
>>[...]
>>
>>>/home/gisle/mod_perl-1.99_17/t/filter
>>
>>I think you hit the open filehandles limit (mp2 test suite opens a lot
>>of those)
>>http://perl.apache.org/docs/2.0/user/troubleshooting/troubleshooting.html#Can_t_locate_F_TestFilter_in_str_consume_pm__in_C__INC____
>>since the file
>>/home/gisle/mod_perl-1.99_17/t/filter/TestFilter/both_str_req_add.pm
>>is there, right?
> 
> 
> Did not think about that.  Yes, the default limit is 60 opened files
> on this machine.  I ran 'ulimit -n 1024' and then 'make test' again.

Great.

I wish we could somehow automate this diagnostics to save the wasted time 
for the report-response email cycle. As you can see it's not the first 
time we get it reported. Ideas?

> This time it worked much better, but it fails when trying to load the
> APR.so module.

> Failed Test             Stat Wstat Total Fail  Failed  List of Failed
> ------------------------------------------------------------------------------------------------------------------------------
> t/apr-ext/base64.t       255 65280    ??   ??       %  ??
> t/apr-ext/bucket.t       255 65280    ??   ??       %  ??
> t/apr-ext/date.t         255 65280    ??   ??       %  ??
> t/apr-ext/finfo.t        255 65280    ??   ??       %  ??
> t/apr-ext/pool.t         255 65280    ??   ??       %  ??
> t/apr-ext/string.t       255 65280    ??   ??       %  ??
> t/apr-ext/table.t        255 65280    ??   ??       %  ??
> t/apr-ext/threadmutex.t  255 65280    ??   ??       %  ??
> t/apr-ext/uri.t          255 65280    ??   ??       %  ??
> t/apr-ext/util.t         255 65280    ??   ??       %  ??
> t/apr-ext/uuid.t         255 65280    ??   ??       %  ??
> t/apr/constants.t        255 65280    ??   ??       %  ??
> 15 tests skipped.
> Failed 12/216 test scripts, 94.44% okay. 0/1825 subtests failed, 100.00% okay.

OK, first of all, all these tests aren't modperl tests, but testing APR::* 
API outside modperl, so you can safely run 'make install'. (well you 
probably want to 'chdir ModPerl-Registry && make test' too).

> t/apr-ext/base64........................Can't load
'/home/gisle/mod_perl-1.99_17/blib/arch/auto/APR/APR.so' for module APR:
Exec format error at
/home/gisle/5.8.6/lib/perl5/5.8.6/IA64.ARCHREV_0/DynaLoader.pm line 230.
> at /home/gisle/mod_perl-1.99_17/blib/lib/APR/Base64.pm line 23 

Well, I hope you can tell us what is the problem. I'm not familiar with 
HPUX/IA64. May be take a look at the make's log and it'll give you the 
needed information to tell? Thanks Gisle.

        -- 
        __________________________________________________________________
Stas Bekman            JAm_pH ------> Just Another mod_perl Hacker
http://stason.org/     mod_perl Guide ---> http://perl.apache.org
mailto:stas@xxxxxx.xxx http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org   http://ticketmaster.com

-- 
Report problems: http://perl.apache.org/bugs/
Mail list info: http://perl.apache.org/maillist/modperl.html
List etiquette: http://perl.apache.org/maillist/email-etiquette.html

(message missing)

Re: make test fails on HPUX/IA64: Can't locate TestFilter/both_str_req_add.pm
Stas Bekman 16:38 on 07 Dec 2004

Generated at 11:26 on 21 Dec 2004 by mariachi v0.52