You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@perl.apache.org by Stas Bekman <st...@stason.org> on 2003/09/15 23:45:02 UTC
mp1 test suite issues
Geoff, looks like I'm a bit stuck with 5.8.1/mp2 issues. Can you please look
at the following problem in the mp1 test suite which happens with 5.8.0 and
higher (probably not a showstopper for 5.8.1, but still quite important).
The problem is caused by modules/symbol.t which calls t/net/perl/sym.pl, which
does:
delete $Apache::Registry->{+__PACKAGE__};
this causes the failure of internal/http-get and internal/http-post tests.
They fails because t/net/perl/test calls exit and it can't find Apache::exit
because of the above delete call in t/net/perl/sym.pl
this workaround "solves" the problem:
else {
- exit;
- die "shouldn't get this far!\n";
+ warn "running exit\n";
+ #exit;
+ #die "shouldn't get this far!\n";
}
but it's not right, need to check why delete
$Apache::Registry->{+__PACKAGE__}; causes this problem in first place.
it fails when I build with:
cd ../apache-1.3 && make clean ; cd ../modperl && make clean ;
/home/stas/perl/5.8.1/bin/perl Makefile.PL APACHE_SRC=../apache-1.3/src
DO_HTTPD=1 USE_APACI=1 EVERYTHING=1 DYNAMIC=1
APACHE_PREFIX=/home/stas/httpd/1.3-dynamic
APACI_ARGS="--prefix=/home/stas/httpd/1.3-dynamic --enable-shared=max
--enable-module=most --with-layout=Apache --without-execstrip" PERL_TRACE=1
PERL_DEBUG=1 && make && make test
Thanks.
__________________________________________________________________
Stas Bekman JAm_pH ------> Just Another mod_perl Hacker
http://stason.org/ mod_perl Guide ---> http://perl.apache.org
mailto:stas@stason.org http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org http://ticketmaster.com
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@perl.apache.org
For additional commands, e-mail: dev-help@perl.apache.org
Re: mp1 test suite issues
Posted by Stas Bekman <st...@stason.org>.
Stas Bekman wrote:
> Geoff, looks like I'm a bit stuck with 5.8.1/mp2 issues. Can you please
> look at the following problem in the mp1 test suite which happens with
> 5.8.0 and higher (probably not a showstopper for 5.8.1, but still quite
> important).
>
> The problem is caused by modules/symbol.t which calls t/net/perl/sym.pl,
> which does:
>
> delete $Apache::Registry->{+__PACKAGE__};
>
> this causes the failure of internal/http-get and internal/http-post
> tests. They fails because t/net/perl/test calls exit and it can't find
> Apache::exit because of the above delete call in t/net/perl/sym.pl
>
> this workaround "solves" the problem:
>
> else {
> - exit;
> - die "shouldn't get this far!\n";
> + warn "running exit\n";
> + #exit;
> + #die "shouldn't get this far!\n";
> }
>
> but it's not right, need to check why delete
> $Apache::Registry->{+__PACKAGE__}; causes this problem in first place.
I spent quite a lot of time trying to figure out what's going on, and at the
end I've found the cause: 'delete $Apache::Registry->{+__PACKAGE__};' nukes
__PACKAGE__::exit which somehow affects the real Apache::exit and loses the
XSUB entry (Apache::Status was very helpful to debug this). I don't know why
this happens, so I just committed a workaround which reloads Apache.pm, which
reinstalls XSUB for Apache::exit. It'd be nice if someone would figure out
what is really going on and whether it's a bug in perl.
__________________________________________________________________
Stas Bekman JAm_pH ------> Just Another mod_perl Hacker
http://stason.org/ mod_perl Guide ---> http://perl.apache.org
mailto:stas@stason.org http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org http://ticketmaster.com
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@perl.apache.org
For additional commands, e-mail: dev-help@perl.apache.org
Re: mp1 test suite issues
Posted by Stas Bekman <st...@stason.org>.
Geoffrey Young wrote:
>
>>> I wasn't able to reproduce it with 5.8.1-maint.
>>
>>
>>
>> Have you tried moving or tilting your machine a bit?
>>
>> Have you tried not eating those vanilla donuts while debugging?
>>
>> Have you tried not watching the movie on the same CPU while running
>> the test suite? Or if it doesn't change, have you tried watching one?
>>
>> I think mod_perl deserves an entry in the book of murphy's laws.
>>
>> ;)
>>
>
> :)
>
> but it's good that we don't see the same stuff - more bugs get flushed
> out and fixed when everybody isn't on the same page :)
right, what's not good is that we sometimes can't reproduce the bugs reported
by users...
>>> the only difference between this and mine is --without-execstrip and
>>> DYNAMIC. I've changed those for my nightly run and will see what
>>> happens with 5.8.0, maintperl, and bleedperl tonight.
>>
>>
>>
>> never mind, I will look at it, once mp2 issues get resolved (which
>> keep on adding up). Thanks for testing it.
>
>
> well, it's no biggie to let my nightly run try it out. I'll let you
> know tomorrow how it goes. whatever the problem is, it's likely that we
> can fix it on our side or in Devel::Symdump or something and let 5.8.1
> continue onward.
certainly not a showstopper, I think I saw this with 5.8.0/DSO as well.
__________________________________________________________________
Stas Bekman JAm_pH ------> Just Another mod_perl Hacker
http://stason.org/ mod_perl Guide ---> http://perl.apache.org
mailto:stas@stason.org http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org http://ticketmaster.com
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@perl.apache.org
For additional commands, e-mail: dev-help@perl.apache.org
Re: mp1 test suite issues
Posted by Geoffrey Young <ge...@modperlcookbook.org>.
>> I wasn't able to reproduce it with 5.8.1-maint.
>
>
> Have you tried moving or tilting your machine a bit?
>
> Have you tried not eating those vanilla donuts while debugging?
>
> Have you tried not watching the movie on the same CPU while running the
> test suite? Or if it doesn't change, have you tried watching one?
>
> I think mod_perl deserves an entry in the book of murphy's laws.
>
> ;)
>
:)
but it's good that we don't see the same stuff - more bugs get flushed out
and fixed when everybody isn't on the same page :)
>>
>> the only difference between this and mine is --without-execstrip and
>> DYNAMIC. I've changed those for my nightly run and will see what
>> happens with 5.8.0, maintperl, and bleedperl tonight.
>
>
> never mind, I will look at it, once mp2 issues get resolved (which keep
> on adding up). Thanks for testing it.
well, it's no biggie to let my nightly run try it out. I'll let you know
tomorrow how it goes. whatever the problem is, it's likely that we can fix
it on our side or in Devel::Symdump or something and let 5.8.1 continue onward.
--Geoff
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@perl.apache.org
For additional commands, e-mail: dev-help@perl.apache.org
Re: mp1 test suite issues
Posted by Stas Bekman <st...@stason.org>.
Geoffrey Young wrote:
>
>
> Stas Bekman wrote:
>
>> Geoff, looks like I'm a bit stuck with 5.8.1/mp2 issues. Can you
>> please look at the following problem in the mp1 test suite which
>> happens with 5.8.0 and higher (probably not a showstopper for 5.8.1,
>> but still quite important).
>
>
> I wasn't able to reproduce it with 5.8.1-maint.
Have you tried moving or tilting your machine a bit?
Have you tried not eating those vanilla donuts while debugging?
Have you tried not watching the movie on the same CPU while running the test
suite? Or if it doesn't change, have you tried watching one?
I think mod_perl deserves an entry in the book of murphy's laws.
;)
>> it fails when I build with:
>>
>> cd ../apache-1.3 && make clean ; cd ../modperl && make clean ;
>> /home/stas/perl/5.8.1/bin/perl Makefile.PL
>> APACHE_SRC=../apache-1.3/src DO_HTTPD=1 USE_APACI=1 EVERYTHING=1
>> DYNAMIC=1 APACHE_PREFIX=/home/stas/httpd/1.3-dynamic
>> APACI_ARGS="--prefix=/home/stas/httpd/1.3-dynamic --enable-shared=max
>> --enable-module=most --with-layout=Apache --without-execstrip"
>> PERL_TRACE=1 PERL_DEBUG=1 && make && make test
>
>
> the only difference between this and mine is --without-execstrip and
> DYNAMIC. I've changed those for my nightly run and will see what
> happens with 5.8.0, maintperl, and bleedperl tonight.
never mind, I will look at it, once mp2 issues get resolved (which keep on
adding up). Thanks for testing it.
Here are the mp1 builds that I smoke nightly (commented out are OK ones as of
the moment):
__DATA__
### mp1 static ###
## 5.005_03
#cd ../apache-1.3 && make clean && cd ../modperl && make clean &&
/home/stas/perl/5.005_03/bin/perl Makefile.PL APACHE_SRC=../apache-1.3/src
DO_HTTPD=1 USE_APACI=1 EVERYTHING=1 APACHE_PREFIX=/home/stas/httpd/1.3-static
APACI_ARGS="--prefix=/home/stas/httpd/1.3-static --enable-module=info
--enable-module=rewrite --enable-module=proxy --without-execstrip"
PERL_TRACE=1 PERL_DEBUG=1 && make && make test && run.mp1.static.install
## 5.6.0
#cd ../apache-1.3 && make clean && cd ../modperl && make clean &&
/home/stas/perl/5.6.0/bin/perl Makefile.PL APACHE_SRC=../apache-1.3/src
DO_HTTPD=1 USE_APACI=1 EVERYTHING=1 APACHE_PREFIX=/home/stas/httpd/1.3-static
APACI_ARGS="--prefix=/home/stas/httpd/1.3-static --enable-module=info
--enable-module=rewrite --enable-module=proxy --without-execstrip"
PERL_TRACE=1 PERL_DEBUG=1 && make && make test && run.mp1.static.install
#cd ../apache-1.3 && make clean && cd ../modperl && make clean &&
/home/stas/perl/5.6.0-ithread/bin/perl Makefile.PL
APACHE_SRC=../apache-1.3/src DO_HTTPD=1 USE_APACI=1 EVERYTHING=1
APACHE_PREFIX=/home/stas/httpd/1.3-static
APACI_ARGS="--prefix=/home/stas/httpd/1.3-static --enable-module=info
--enable-module=rewrite --enable-module=proxy --without-execstrip"
PERL_TRACE=1 PERL_DEBUG=1 && make && make test && run.mp1.static.install
## 5.6.1
#cd ../apache-1.3 && make clean && cd ../modperl && make clean &&
/home/stas/perl/5.6.1/bin/perl Makefile.PL APACHE_SRC=../apache-1.3/src
DO_HTTPD=1 USE_APACI=1 EVERYTHING=1 APACHE_PREFIX=/home/stas/httpd/1.3-static
APACI_ARGS="--prefix=/home/stas/httpd/1.3-static --enable-module=info
--enable-module=rewrite --enable-module=proxy --without-execstrip"
PERL_TRACE=1 PERL_DEBUG=1 && make && make test && run.mp1.static.install
#cd ../apache-1.3 && make clean && cd ../modperl && make clean &&
/home/stas/perl/5.6.1-ithread/bin/perl Makefile.PL
APACHE_SRC=../apache-1.3/src DO_HTTPD=1 USE_APACI=1 EVERYTHING=1
APACHE_PREFIX=/home/stas/httpd/1.3-static
APACI_ARGS="--prefix=/home/stas/httpd/1.3-static --enable-module=info
--enable-module=rewrite --enable-module=proxy --without-execstrip"
PERL_TRACE=1 PERL_DEBUG=1 && make && make test && run.mp1.static.install
## 5.8.0
#cd ../apache-1.3 && make clean && cd ../modperl && make clean &&
/home/stas/perl/5.8.0/bin/perl Makefile.PL APACHE_SRC=../apache-1.3/src
DO_HTTPD=1 USE_APACI=1 EVERYTHING=1 APACHE_PREFIX=/home/stas/httpd/1.3-static
APACI_ARGS="--prefix=/home/stas/httpd/1.3-static --enable-module=info
--enable-module=rewrite --enable-module=proxy --without-execstrip"
PERL_TRACE=1 PERL_DEBUG=1 && make && make test && run.mp1.static.install
#cd ../apache-1.3 && make clean && cd ../modperl && make clean &&
/home/stas/perl/5.8.0-ithread/bin/perl Makefile.PL
APACHE_SRC=../apache-1.3/src DO_HTTPD=1 USE_APACI=1 EVERYTHING=1
APACHE_PREFIX=/home/stas/httpd/1.3-static
APACI_ARGS="--prefix=/home/stas/httpd/1.3-static --enable-module=info
--enable-module=rewrite --enable-module=proxy --without-execstrip"
PERL_TRACE=1 PERL_DEBUG=1 && make && make test && run.mp1.static.install
## 5.8.1
#cd ../apache-1.3 && make clean && cd ../modperl && make clean &&
/home/stas/perl/5.8.1/bin/perl Makefile.PL APACHE_SRC=../apache-1.3/src
DO_HTTPD=1 USE_APACI=1 EVERYTHING=1 APACHE_PREFIX=/home/stas/httpd/1.3-static
APACI_ARGS="--prefix=/home/stas/httpd/1.3-static --enable-module=info
--enable-module=rewrite --enable-module=proxy --without-execstrip"
PERL_TRACE=1 PERL_DEBUG=1 && make && make test && run.mp1.static.install
#cd ../apache-1.3 && make clean && cd ../modperl && make clean &&
/home/stas/perl/5.8.1-ithread/bin/perl Makefile.PL
APACHE_SRC=../apache-1.3/src DO_HTTPD=1 USE_APACI=1 EVERYTHING=1
APACHE_PREFIX=/home/stas/httpd/1.3-static
APACI_ARGS="--prefix=/home/stas/httpd/1.3-static --enable-module=info
--enable-module=rewrite --enable-module=proxy --without-execstrip"
PERL_TRACE=1 PERL_DEBUG=1 && make && make test && run.mp1.static.install
# blead
cd ../apache-1.3 && make clean && cd ../modperl && make clean &&
/home/stas/perl/blead/bin/perl Makefile.PL APACHE_SRC=../apache-1.3/src
DO_HTTPD=1 USE_APACI=1 EVERYTHING=1 APACHE_PREFIX=/home/stas/httpd/1.3-static
APACI_ARGS="--prefix=/home/stas/httpd/1.3-static --enable-module=info
--enable-module=rewrite --enable-module=proxy --without-execstrip"
PERL_TRACE=1 PERL_DEBUG=1 && make && make test && run.mp1.static.install
#cd ../apache-1.3 && make clean && cd ../modperl && make clean &&
/home/stas/perl/blead-ithread/bin/perl Makefile.PL
APACHE_SRC=../apache-1.3/src DO_HTTPD=1 USE_APACI=1 EVERYTHING=1
APACHE_PREFIX=/home/stas/httpd/1.3-static
APACI_ARGS="--prefix=/home/stas/httpd/1.3-static --enable-module=info
--enable-module=rewrite --enable-module=proxy --without-execstrip"
PERL_TRACE=1 PERL_DEBUG=1 && make && make test && run.mp1.static.install
### mp1 DSO ###
## 5.005_03
#cd ../apache-1.3 && make clean && cd ../modperl && make clean &&
/home/stas/perl/5.6.0/bin/perl Makefile.PL APACHE_SRC=../apache-1.3/src
DO_HTTPD=1 USE_APACI=1 EVERYTHING=1 DYNAMIC=1
APACHE_PREFIX=/home/stas/httpd/1.3-dynamic
APACI_ARGS="--prefix=/home/stas/httpd/1.3-dynamic --enable-shared=max
--enable-module=most --with-layout=Apache --without-execstrip" PERL_TRACE=1
PERL_DEBUG=1 && make && make test && run.mp1.dynamic.install
## 5.6.0
#cd ../apache-1.3 && make clean && cd ../modperl && make clean &&
/home/stas/perl/5.6.0/bin/perl Makefile.PL APACHE_SRC=../apache-1.3/src
DO_HTTPD=1 USE_APACI=1 EVERYTHING=1 DYNAMIC=1
APACHE_PREFIX=/home/stas/httpd/1.3-dynamic
APACI_ARGS="--prefix=/home/stas/httpd/1.3-dynamic --enable-shared=max
--enable-module=most --with-layout=Apache --without-execstrip" PERL_TRACE=1
PERL_DEBUG=1 && make && make test && run.mp1.dynamic.install
#cd ../apache-1.3 && make clean && cd ../modperl && make clean &&
/home/stas/perl/5.6.0-ithread/bin/perl Makefile.PL
APACHE_SRC=../apache-1.3/src DO_HTTPD=1 USE_APACI=1 EVERYTHING=1 DYNAMIC=1
APACHE_PREFIX=/home/stas/httpd/1.3-dynamic
APACI_ARGS="--prefix=/home/stas/httpd/1.3-dynamic --enable-shared=max
--enable-module=most --with-layout=Apache --without-execstrip" PERL_TRACE=1
PERL_DEBUG=1 && make && make test && run.mp1.dynamic.install
## 5.6.1
#cd ../apache-1.3 && make clean && cd ../modperl && make clean &&
/home/stas/perl/5.6.1/bin/perl Makefile.PL APACHE_SRC=../apache-1.3/src
DO_HTTPD=1 USE_APACI=1 EVERYTHING=1 DYNAMIC=1
APACHE_PREFIX=/home/stas/httpd/1.3-dynamic
APACI_ARGS="--prefix=/home/stas/httpd/1.3-dynamic --enable-shared=max
--enable-module=most --with-layout=Apache --without-execstrip" PERL_TRACE=1
PERL_DEBUG=1 && make && make test && run.mp1.dynamic.install
#cd ../apache-1.3 && make clean && cd ../modperl && make clean &&
/home/stas/perl/5.6.1-ithread/bin/perl Makefile.PL
APACHE_SRC=../apache-1.3/src DO_HTTPD=1 USE_APACI=1 EVERYTHING=1 DYNAMIC=1
APACHE_PREFIX=/home/stas/httpd/1.3-dynamic
APACI_ARGS="--prefix=/home/stas/httpd/1.3-dynamic --enable-shared=max
--enable-module=most --with-layout=Apache --without-execstrip" PERL_TRACE=1
PERL_DEBUG=1 && make && make test && run.mp1.dynamic.install
# 5.8.0
cd ../apache-1.3 && make clean && cd ../modperl && make clean &&
/home/stas/perl/5.8.0/bin/perl Makefile.PL APACHE_SRC=../apache-1.3/src
DO_HTTPD=1 USE_APACI=1 EVERYTHING=1 DYNAMIC=1
APACHE_PREFIX=/home/stas/httpd/1.3-dynamic
APACI_ARGS="--prefix=/home/stas/httpd/1.3-dynamic --enable-shared=max
--enable-module=most --with-layout=Apache --without-execstrip" PERL_TRACE=1
PERL_DEBUG=1 && make && make test && run.mp1.dynamic.install
#cd ../apache-1.3 && make clean && cd ../modperl && make clean &&
/home/stas/perl/5.8.0-ithread/bin/perl Makefile.PL
APACHE_SRC=../apache-1.3/src DO_HTTPD=1 USE_APACI=1 EVERYTHING=1 DYNAMIC=1
APACHE_PREFIX=/home/stas/httpd/1.3-dynamic
APACI_ARGS="--prefix=/home/stas/httpd/1.3-dynamic --enable-shared=max
--enable-module=most --with-layout=Apache --without-execstrip" PERL_TRACE=1
PERL_DEBUG=1 && make && make test && run.mp1.dynamic.install
# 5.8.1
cd ../apache-1.3 && make clean && cd ../modperl && make clean &&
/home/stas/perl/5.8.1/bin/perl Makefile.PL APACHE_SRC=../apache-1.3/src
DO_HTTPD=1 USE_APACI=1 EVERYTHING=1 DYNAMIC=1
APACHE_PREFIX=/home/stas/httpd/1.3-dynamic
APACI_ARGS="--prefix=/home/stas/httpd/1.3-dynamic --enable-shared=max
--enable-module=most --with-layout=Apache --without-execstrip" PERL_TRACE=1
PERL_DEBUG=1 && make && make test && run.mp1.dynamic.install
#cd ../apache-1.3 && make clean && cd ../modperl && make clean &&
/home/stas/perl/5.8.1-ithread/bin/perl Makefile.PL
APACHE_SRC=../apache-1.3/src DO_HTTPD=1 USE_APACI=1 EVERYTHING=1 DYNAMIC=1
APACHE_PREFIX=/home/stas/httpd/1.3-dynamic
APACI_ARGS="--prefix=/home/stas/httpd/1.3-dynamic --enable-shared=max
--enable-module=most --with-layout=Apache --without-execstrip" PERL_TRACE=1
PERL_DEBUG=1 && make && make test && run.mp1.dynamic.install
# blead
cd ../apache-1.3 && make clean && cd ../modperl && make clean &&
/home/stas/perl/blead/bin/perl Makefile.PL APACHE_SRC=../apache-1.3/src
DO_HTTPD=1 USE_APACI=1 EVERYTHING=1 DYNAMIC=1
APACHE_PREFIX=/home/stas/httpd/1.3-dynamic
APACI_ARGS="--prefix=/home/stas/httpd/1.3-dynamic --enable-shared=max
--enable-module=most --with-layout=Apache --without-execstrip" PERL_TRACE=1
PERL_DEBUG=1 && make && make test && run.mp1.dynamic.install
cd ../apache-1.3 && make clean && cd ../modperl && make clean &&
/home/stas/perl/blead-ithread/bin/perl Makefile.PL
APACHE_SRC=../apache-1.3/src DO_HTTPD=1 USE_APACI=1 EVERYTHING=1 DYNAMIC=1
APACHE_PREFIX=/home/stas/httpd/1.3-dynamic
APACI_ARGS="--prefix=/home/stas/httpd/1.3-dynamic --enable-shared=max
--enable-module=most --with-layout=Apache --without-execstrip" PERL_TRACE=1
PERL_DEBUG=1 && make && make test && run.mp1.dynamic.install
__________________________________________________________________
Stas Bekman JAm_pH ------> Just Another mod_perl Hacker
http://stason.org/ mod_perl Guide ---> http://perl.apache.org
mailto:stas@stason.org http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org http://ticketmaster.com
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@perl.apache.org
For additional commands, e-mail: dev-help@perl.apache.org
Re: mp1 test suite issues
Posted by Geoffrey Young <ge...@modperlcookbook.org>.
Stas Bekman wrote:
> Geoff, looks like I'm a bit stuck with 5.8.1/mp2 issues. Can you please
> look at the following problem in the mp1 test suite which happens with
> 5.8.0 and higher (probably not a showstopper for 5.8.1, but still quite
> important).
I wasn't able to reproduce it with 5.8.1-maint.
> it fails when I build with:
>
> cd ../apache-1.3 && make clean ; cd ../modperl && make clean ;
> /home/stas/perl/5.8.1/bin/perl Makefile.PL APACHE_SRC=../apache-1.3/src
> DO_HTTPD=1 USE_APACI=1 EVERYTHING=1 DYNAMIC=1
> APACHE_PREFIX=/home/stas/httpd/1.3-dynamic
> APACI_ARGS="--prefix=/home/stas/httpd/1.3-dynamic --enable-shared=max
> --enable-module=most --with-layout=Apache --without-execstrip"
> PERL_TRACE=1 PERL_DEBUG=1 && make && make test
the only difference between this and mine is --without-execstrip and
DYNAMIC. I've changed those for my nightly run and will see what happens
with 5.8.0, maintperl, and bleedperl tonight.
--Geoff
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@perl.apache.org
For additional commands, e-mail: dev-help@perl.apache.org