Test failures when upgrading from 2.000004 to 2.000005

This is a multi-part message in MIME format.

--Boundary_(ID_GJfDXEnnAi9m9Y9rjbv+JA)
Content-type: text/plain; charset=us-ascii
Content-transfer-encoding: 7BIT
Content-disposition: inline

Hi,

I'm running Kubuntu 10.10 (maverick meerkat), with Perl 5.10.1, Apache 2.2.16-1ubuntu3.1 on an i686 architecture.

I have mod_perl 2.000004 and tried to upgrade to 2.000005 via cpanplus, but had failures in t/api/err_headers_out.t, t/api/request_rec.t and in t/filter/out_str_reverse.t

Following the guidelines at http://perl.apache.org/docs/2.0/user/help/help.html#Reportin g_Problems the output from t/TEST -verbose is:

$ t/TEST -clean
[warning] setting ulimit to allow core files
ulimit -c unlimited; /usr/bin/perl /home/jkobrien/.cpanplus/5.10.1/build/mod_perl-2.0.5/t/TEST -clean

$ t/TEST -verbose t/api/err_headers_out.t t/api/request_rec.t t/filter/out_str_reverse.t
[warning] setting ulimit to allow core files
ulimit -c unlimited; /usr/bin/perl /home/jkobrien/.cpanplus/5.10.1/build/mod_perl-2.0.5/t/TEST -verbose 't/api/err_headers_out.t' 't/api/request_rec.t' 't/filter/out_str_reverse.t'
/usr/sbin/apache2 -d /home/jkobrien/.cpanplus/5.10.1/build/mod_perl-2.0.5/t -f /home/jkobrien/.cpanplus/5.10.1/build/mod_perl-2.0.5/t/conf/ httpd.conf -D APACHE2 -D PERL_USEITHREADS
using Apache/2.2.16 (prefork MPM)

waiting 120 seconds for server to start: .[Tue Apr 26 10:55:49 2011] [info] 6 Apache2:: modules loaded
[Tue Apr 26 10:55:49 2011] [info] 0 APR:: modules loaded
[Tue Apr 26 10:55:49 2011] [info] base server + 28 vhosts ready to run tests
..
waiting 120 seconds for server to start: ok (waited 0 secs)
server localhost.localdomain:8529 started
server localhost.localdomain:8530 listening (perlsections)
server localhost.localdomain:8531 listening (inherit)
server localhost.localdomain:8532 listening (filter_out_apache)
server localhost.localdomain:8533 listening (TestModperl::perl_options)
server localhost.localdomain:8534 listening (TestModperl::perl_options2)
server localhost.localdomain:8535 listening (TestModperl::setupenv)
server localhost.localdomain:8536 listening (TestModperl::merge)
server localhost.localdomain:8537 listening (TestUser::rewrite)
server localhost.localdomain:8538 listening (TestVhost::log)
server localhost.localdomain:8539 listening (TestVhost::config)
server localhost.localdomain:8540 listening (TestModules::proxy)
server localhost.localdomain:8541 listening (TestProtocol::echo_block)
server localhost.localdomain:8542 listening (TestProtocol::echo_nonblock)
server localhost.localdomain:8543 listening (TestProtocol::echo_timeout)
server localhost.localdomain:8544 listening (TestProtocol::echo_filter)
server localhost.localdomain:8545 listening (TestProtocol::echo_bbs)
server localhost.localdomain:8546 listening (TestProtocol::pseudo_http)
server localhost.localdomain:8547 listening (TestProtocol::echo_bbs2)
server localhost.localdomain:8548 listening (TestPreConnection::note)
server localhost.localdomain:8549 listening (TestHooks::startup)
server localhost.localdomain:8550 listening (TestHooks::stacked_handlers2)
server localhost.localdomain:8551 listening (TestHooks::init)
server localhost.localdomain:8552 listening (TestHooks::hookrun)
server localhost.localdomain:8553 listening (TestHooks::trans)
server localhost.localdomain:8554 listening (TestFilter::in_bbs_msg)
server localhost.localdomain:8555 listening (TestFilter::both_str_con_add)
server localhost.localdomain:8556 listening (TestFilter::in_bbs_inject_header)
server localhost.localdomain:8557 listening (TestFilter::in_str_msg)
server localhost.localdomain:8558 listening (TestDirective::perlrequire)
server localhost.localdomain:8559 listening (TestDirective::perlmodule)
server localhost.localdomain:8560 listening (TestAPI::add_config)
server localhost.localdomain:8561 listening (TestDirective::perlloadmodule5)
server localhost.localdomain:8562 listening (TestDirective::perlloadmodule3)
server localhost.localdomain:8563 listening (TestDirective::perlloadmodule4)
server localhost.localdomain:8564 listening (TestDirective::perlloadmodule6)
server localhost.localdomain:8565 listening (TestHooks::push_handlers_anon)
[warning] Using random number seed: 2008441511 (autogenerated)
t/api/request_rec.t .........
1..55
# Running under perl version 5.010001 for linux
# Current time local: Tue Apr 26 10:55:49 2011
# Current time GMT: Tue Apr 26 09:55:49 2011
# Using Test.pm version 1.25_02
# Using Apache/Test.pm version 1.36
ok 1
ok 2
ok 3
ok 4
ok 5
ok 6
ok 7
ok 8
ok 9
ok 10
ok 11
ok 12
# testing : t->proto_num
# expected: 1000
# received: 1001
not ok 13
# testing : $r->hostname
# expected: localhost.localdomain
# received: localhost.localdomain
ok 14
# testing : $r->hostname rw
# expected: other.hostname
# received: other.hostname
ok 15
ok 16
ok 17
ok 18
# testing : $r->method
# expected: GET
# received: GET
ok 19
# testing : $r->method_number
# expected: 0
# received: 0
ok 20
ok 21
ok 22
ok 23
ok 24
ok 25
ok 26
ok 27
ok 28
ok 29
ok 30
# buffered
# testing : buffered print
# expected: 11
# received: 11
ok 31
# testing : buffered print
# expected: 0E0
# received: 0E0
ok 32
# not buffered
# testing : unbuffered print
# expected: 15
# received: 15
ok 33
# expected: /TestAPI__request_rec/my_path_info?my_args=3
# received: /TestAPI__request_rec/my_path_info?my_args=3
ok 34
# testing : $r->uri
# expected: /TestAPI__request_rec/my_path_info
# received: /TestAPI__request_rec/my_path_info
ok 35
# testing : $r->path_info
# expected: /my_path_info
# received: /my_path_info
ok 36
# testing : $r->args
# expected: my_args=3
# received: my_args=3
ok 37
# testing : $r->the_request
# expected: GET /TestAPI__request_rec/my_path_info?my_args=3 HTTP/1.0
# received: GET /TestAPI__request_rec/my_path_info?my_args=3 HTTP/1.1
not ok 38
# testing : $r->the_request rw
# expected: GET /TestAPI__request_rec/my_path_info?my_args=3&foo=bar HTTP/1.0
# received: GET /TestAPI__request_rec/my_path_info?my_args=3&foo=bar HTTP/1.0
ok 39
ok 40
# testing : $r->location
# expected: /TestAPI__request_rec
# received: /TestAPI__request_rec
ok 41
# sent so far: 1828 bytes
ok 42
# testing : mtime
# expected: 1296678226
# received: 1296678226
ok 43
# testing : $r->finfo
# expected: /home/jkobrien/.cpanplus/5.10.1/build/mod_perl-2.0.5/t/respo nse/TestAPI/request_rec.pm
# received: /home/jkobrien/.cpanplus/5.10.1/build/mod_perl-2.0.5/t/respo nse/TestAPI/request_rec.pm
ok 44
ok 45
ok 46
ok 47
ok 48 # skip Need mod_mime
ok 49 # skip Need mod_mime
# testing : $r->content_languages
# expected: [
# fr,
# us,
# cn,
# ]
# received: [
# fr,
# us,
# cn,
# ]
ok 50
# testing : $r->content_languages(invalid)
# expected: (?-xism:Not an array reference)
# received: Not an array reference at /home/jkobrien/.cpanplus/5.10.1/build/mod_perl-2.0.5/t/respo nse/TestAPI/request_rec.pm line 203.
ok 51
# testing : invalid Apache2::RequestRec=HASH(0xba464ef0) object
# expected: (?-xism:method `uri' invoked by a `Apache2::RequestRec' object with no `r' key!)
# received: method `uri' invoked by a `Apache2::RequestRec' object with no `r' key! at /home/jkobrien/.cpanplus/5.10.1/build/mod_perl-2.0.5/t/respo nse/TestAPI/request_rec.pm line 213.
ok 52
# testing : invalid NonExisting=HASH(0xba464c70) object
# expected: (?-xism:method `uri' invoked by a `NonExisting' object with no `r' key!)
# received: method `uri' invoked by a `NonExisting' object with no `r' key! at /home/jkobrien/.cpanplus/5.10.1/build/mod_perl-2.0.5/t/respo nse/TestAPI/request_rec.pm line 220.
ok 53
# testing : invalid HASH(0xba4670e8) object
# expected: (?-xism:method `uri' invoked by a `unknown' object with no `r' key!)
# received: method `uri' invoked by a `unknown' object with no `r' key! at /home/jkobrien/.cpanplus/5.10.1/build/mod_perl-2.0.5/t/respo nse/TestAPI/request_rec.pm line 227.
ok 54
ok 55
Failed 2/55 subtests
(less 2 skipped subtests: 51 okay)
t/api/err_headers_out.t .....
1..6
# Running under perl version 5.010001 for linux
# Current time local: Tue Apr 26 10:55:51 2011
# Current time GMT: Tue Apr 26 09:55:51 2011
# Using Test.pm version 1.25_02
# Using Apache/Test.pm version 1.36
# testing : OK
# expected: 200
# received: 200
ok 1
# testing : X-err_headers_out: made it
# expected: err_headers_out
# received: undef
not ok 2
# testing : X-headers_out: made it
# expected: headers_out
# received: undef
not ok 3
# Failed test 2 in t/api/err_headers_out.t at line 22
# Failed test 3 in t/api/err_headers_out.t at line 25
# testing : not found
# expected: 404
# received: 404
ok 4
# testing : X-err_headers_out: made it
# expected: err_headers_out
# received: undef
not ok 5
ok 6
# Failed test 5 in t/api/err_headers_out.t at line 39
Failed 3/6 subtests
t/filter/out_str_reverse.t ..
1..2
# Running under perl version 5.010001 for linux
# Current time local: Tue Apr 26 10:55:51 2011
# Current time GMT: Tue Apr 26 09:55:51 2011
# Using Test.pm version 1.25_02
# Using Apache/Test.pm version 1.36
# testing : reverse filter
# expected: abcdefghijklmnopqrstuvwxyz
# 0123456789
# Reversed by mod_perl 2.0
# received: abcdefghijklmnopqrstuvwxyz
# 0123456789
# Reversed by mod_perl 2.0
ok 1
# testing : reverse filter
# expected: abcdefghijklmnopqrstuvwxyz
# 0123456789
# Reversed by mod_perl 2.0
# received: abcdefghijklmnopqrstuvwxyz
# 0123456789
not ok 2
# Failed test 2 in t/filter/out_str_reverse.t at line 30
Failed 1/2 subtests

Test Summary Report
-------------------
t/api/request_rec.t (Wstat: 0 Tests: 55 Failed: 2)
Failed tests: 13, 38
t/api/err_headers_out.t (Wstat: 0 Tests: 6 Failed: 3)
Failed tests: 2-3, 5
t/filter/out_str_reverse.t (Wstat: 0 Tests: 2 Failed: 1)
Failed test: 2
Files=3, Tests=63, 2 wallclock secs ( 0.03 usr 0.00 sys + 0.87 cusr 0.12 csys = 1.02 CPU)
Result: FAIL
Failed 3/3 test programs. 6/63 subtests failed.
[warning] server localhost.localdomain:8529 shutdown
[ error] error running tests (please examine t/logs/error_log)


$ cat t/logs/error_log
END in modperl_extra.pl, pid=29802
[Tue Apr 26 10:55:50 2011] [notice] Apache/2.2.16 (Ubuntu) world domination series/2.0 mod_perl/2.0.5 Perl/v5.10.1 configured -- resuming normal operations
[Tue Apr 26 10:55:50 2011] [info] Server built: Nov 18 2010 21:17:29
[Tue Apr 26 10:55:50 2011] [debug] prefork.c(1013): AcceptMutex: sysvsem (default: sysvsem)
# Failed test 13 in /home/jkobrien/.cpanplus/5.10.1/build/mod_perl-2.0.5/t/respo nse/TestAPI/request_rec.pm at line 61
# Failed test 38 in /home/jkobrien/.cpanplus/5.10.1/build/mod_perl-2.0.5/t/respo nse/TestAPI/request_rec.pm at line 127
[Tue Apr 26 10:55:52 2011] [info] Child process pid=29817 is exiting
[Tue Apr 26 10:55:52 2011] [info] Child process pid=29816 is exiting
[Tue Apr 26 10:55:52 2011] [info] Child process pid=29817 is exiting - server push
[Tue Apr 26 10:55:52 2011] [info] Child process pid=29816 is exiting - server push
END in modperl_extra.pl, pid=29817
END in modperl_extra.pl, pid=29816
[Tue Apr 26 10:55:52 2011] [info] removed PID file /home/jkobrien/.cpanplus/5.10.1/build/mod_perl-2.0.5/t/logs/ httpd.pid (pid=29809)
[Tue Apr 26 10:55:52 2011] [notice] caught SIGTERM, shutting down
END in modperl_extra.pl, pid=29809


Thanks,

John O'Brien


--Boundary_(ID_GJfDXEnnAi9m9Y9rjbv+JA)
Content-type: text/html; charset=us-ascii
Content-transfer-encoding: QUOTED-PRINTABLE
Content-disposition: inline

Hi,<br><br>I'm running Kubuntu 10.10 (maverick meerkat), with Perl 5.=
10.1, Apache 2.2.16-1ubuntu3.1 on an i686 architecture.<br><br>I have=
mod_perl 2.000004 and tried to upgrade to 2.000005 via cpanplus, but=
had failures in t/api/err_headers_out.t, t/api/request_rec.t and in =
t/filter/out_str_reverse.t<br><br>Following the guidelines at http://=
perl.apache.org/docs/2.0/user/help/help.html#Reporting_Probl ems the o=
utput from t/TEST -verbose is:<br><br>$ t/TEST -clean<br>[warning] se=
tting ulimit to allow core files<br>ulimit -c unlimited; /usr/bin/per=
l /home/jkobrien/.cpanplus/5.10.1/build/mod_perl-2.0.5/t/TEST -clean<=
br><br>$ t/TEST -verbose t/api/err_headers_out.t t/api/request_rec.t =
t/filter/out_str_reverse.t<br>[warning] setting ulimit to allow core =
files<br>ulimit -c unlimited; /usr/bin/perl /home/jkobrien/.cpanplus/=
5.10.1/build/mod_perl-2.0.5/t/TEST -verbose 't/api/err_headers_out.t'=
't/api/request_rec.t' 't/filter/out_str_reverse.t'<br>/usr/sbin/apac=
he2  -d /home/jkobrien/.cpanplus/5.10.1/build/mod_perl-2.0.5/t -=
f /home/jkobrien/.cpanplus/5.10.1/build/mod_perl-2.0.5/t/conf/ httpd.c=
onf -D APACHE2 -D PERL_USEITHREADS<br>using Apache/2.2.16 (prefork MP=
M)<br><br>waiting 120 seconds for server to start: .[Tue Apr 26 10:55=
:49 2011] [info] 6 Apache2:: modules loaded<br>[Tue Apr 26 10:55:49 2=
011] [info] 0 APR:: modules loaded<br>[Tue Apr 26 10:55:49 2011] [inf=
o] base server + 28 vhosts ready to run tests<br>.<br>waiting 120 sec=
onds for server to start: ok (waited 0 secs)<br>server localhost.loca=
ldomain:8529 started<br>server localhost.localdomain:8530 listening (=
perlsections)<br>server localhost.localdomain:8531 listening (inherit=
)<br>server localhost.localdomain:8532 listening (filter_out_apache)<=
br>server localhost.localdomain:8533 listening (TestModperl::perl_opt=
ions)<br>server localhost.localdomain:8534 listening (TestModperl::pe=
rl_options2)<br>server localhost.localdomain:8535 listening (TestModp=
erl::setupenv)<br>server localhost.localdomain:8536 listening (TestMo=
dperl::merge)<br>server localhost.localdomain:8537 listening (TestUse=
r::rewrite)<br>server localhost.localdomain:8538 listening (TestVhost=
::log)<br>server localhost.localdomain:8539 listening (TestVhost::con=
fig)<br>server localhost.localdomain:8540 listening (TestModules::pro=
xy)<br>server localhost.localdomain:8541 listening (TestProtocol::ech=
o_block)<br>server localhost.localdomain:8542 listening (TestProtocol=
::echo_nonblock)<br>server localhost.localdomain:8543 listening (Test=
Protocol::echo_timeout)<br>server localhost.localdomain:8544 listenin=
g (TestProtocol::echo_filter)<br>server localhost.localdomain:8545 li=
stening (TestProtocol::echo_bbs)<br>server localhost.localdomain:8546=
listening (TestProtocol::pseudo_http)<br>server localhost.localdomai=
n:8547 listening (TestProtocol::echo_bbs2)<br>server localhost.locald=
omain:8548 listening (TestPreConnection::note)<br>server localhost.lo=
caldomain:8549 listening (TestHooks::startup)<br>server localhost.loc=
aldomain:8550 listening (TestHooks::stacked_handlers2)<br>server loca=
lhost.localdomain:8551 listening (TestHooks::init)<br>server localhos=
t.localdomain:8552 listening (TestHooks::hookrun)<br>server localhost=
..localdomain:8553 listening (TestHooks::trans)<br>server localhost.lo=
caldomain:8554 listening (TestFilter::in_bbs_msg)<br>server localhost=
..localdomain:8555 listening (TestFilter::both_str_con_add)<br>server =
localhost.localdomain:8556 listening (TestFilter::in_bbs_inject_heade=
r)<br>server localhost.localdomain:8557 listening (TestFilter::in_str=
_msg)<br>server localhost.localdomain:8558 listening (TestDirective::=
perlrequire)<br>server localhost.localdomain:8559 listening (TestDire=
ctive::perlmodule)<br>server localhost.localdomain:8560 listening (Te=
stAPI::add_config)<br>server localhost.localdomain:8561 listening (Te=
stDirective::perlloadmodule5)<br>server localhost.localdomain:8562 li=
stening (TestDirective::perlloadmodule3)<br>server localhost.localdom=
ain:8563 listening (TestDirective::perlloadmodule4)<br>server localho=
st.localdomain:8564 listening (TestDirective::perlloadmodule6)<br>ser=
ver localhost.localdomain:8565 listening (TestHooks::push_handlers_an=
on)<br>[warning] Using random number seed: 2008441511 (autogenerated)=
<br>t/api/request_rec.t ......... <br>1..55<br># Running under perl v=
ersion 5.010001 for linux<br># Current time local: Tue Apr 26 10:55:4=
9 2011<br># Current time GMT:   Tue Apr 26 09:55:49 2011<br=
># Using Test.pm version 1.25_02<br># Using Apache/Test.pm version 1.=
36<br>ok 1<br>ok 2<br>ok 3<br>ok 4<br>ok 5<br>ok 6<br>ok 7<br>ok 8<br=
>ok 9<br>ok 10<br>ok 11<br>ok 12<br># testing : t->proto_num<br># =
expected: 1000<br># received: 1001<br>not ok 13<br># testing : $r->=
;hostname<br># expected: localhost.localdomain<br># received: localho=
st.localdomain<br>ok 14<br># testing : $r->hostname rw<br># expect=
ed: other.hostname<br># received: other.hostname<br>ok 15<br>ok 16<br=
>ok 17<br>ok 18<br># testing : $r->method<br># expected: GET<br># =
received: GET<br>ok 19<br># testing : $r->method_number<br># expec=
ted: 0<br># received: 0<br>ok 20<br>ok 21<br>ok 22<br>ok 23<br>ok 24<=
br>ok 25<br>ok 26<br>ok 27<br>ok 28<br>ok 29<br>ok 30<br># buffered<b=
r># testing : buffered print<br># expected: 11<br># received: 11<br>o=
k 31<br># testing : buffered print<br># expected: 0E0<br># received: =
0E0<br>ok 32<br># not buffered<br># testing : unbuffered print<br># e=
xpected: 15<br># received: 15<br>ok 33<br># expected: /TestAPI__reque=
st_rec/my_path_info?my_args=3D3<br># received: /TestAPI__request_rec/=
my_path_info?my_args=3D3<br>ok 34<br># testing : $r->uri<br># expe=
cted: /TestAPI__request_rec/my_path_info<br># received: /TestAPI__req=
uest_rec/my_path_info<br>ok 35<br># testing : $r->path_info<br># e=
xpected: /my_path_info<br># received: /my_path_info<br>ok 36<br># tes=
ting : $r->args<br># expected: my_args=3D3<br># received: my_args=
=3D3<br>ok 37<br># testing : $r->the_request<br># expected: GET /T=
estAPI__request_rec/my_path_info?my_args=3D3 HTTP/1.0<br># received: =
GET /TestAPI__request_rec/my_path_info?my_args=3D3 HTTP/1.1<br>not ok=
38<br># testing : $r->the_request rw<br># expected: GET /TestAPI_=
_request_rec/my_path_info?my_args=3D3&foo=3Dbar HTTP/1.0<br># rec=
eived: GET /TestAPI__request_rec/my_path_info?my_args=3D3&foo=
=3Dbar HTTP/1.0<br>ok 39<br>ok 40<br># testing : $r->location<br>#=
expected: /TestAPI__request_rec<br># received: /TestAPI__request_rec=
<br>ok 41<br># sent so far: 1828 bytes<br>ok 42<br># testing : mtime<=
br># expected: 1296678226<br># received: 1296678226<br>ok 43<br># tes=
ting : $r->finfo<br># expected: /home/jkobrien/.cpanplus/5.10.1/bu=
ild/mod_perl-2.0.5/t/response/TestAPI/request_rec.pm<br># received: /=
home/jkobrien/.cpanplus/5.10.1/build/mod_perl-2.0.5/t/respon se/TestAP=
I/request_rec.pm<br>ok 44<br>ok 45<br>ok 46<br>ok 47<br>ok 48 # skip =
Need mod_mime<br>ok 49 # skip Need mod_mime<br># testing : $r->con=
tent_languages<br># expected: [<br>#     fr,<br>#=
     us,<br>#     cn,<br># ]<=
br># received: [<br>#     fr,<br>#  &nb=
sp;  us,<br>#     cn,<br># ]<br>ok 50<br># t=
esting : $r->content_languages(invalid)<br># expected: (?-xism:Not=
an array reference)<br># received: Not an array reference at /home/j=
kobrien/.cpanplus/5.10.1/build/mod_perl-2.0.5/t/response/Tes tAPI/requ=
est_rec.pm line 203.<br>ok 51<br># testing : invalid Apache2::Request=
Rec=3DHASH(0xba464ef0) object<br># expected: (?-xism:method `uri' inv=
oked by a `Apache2::RequestRec' object with no `r' key!)<br># receive=
d: method `uri' invoked by a `Apache2::RequestRec' object with no `r'=
key! at /home/jkobrien/.cpanplus/5.10.1/build/mod_perl-2.0.5/t/respo =
nse/TestAPI/request_rec.pm line 213.<br>ok 52<br># testing : invalid =
NonExisting=3DHASH(0xba464c70) object<br># expected: (?-xism:method `=
uri' invoked by a `NonExisting' object with no `r' key!)<br># receive=
d: method `uri' invoked by a `NonExisting' object with no `r' key! at=
/home/jkobrien/.cpanplus/5.10.1/build/mod_perl-2.0.5/t/respo nse/Test=
API/request_rec.pm line 220.<br>ok 53<br># testing : invalid HASH(0xb=
a4670e8) object<br># expected: (?-xism:method `uri' invoked by a `unk=
nown' object with no `r' key!)<br># received: method `uri' invoked by=
a `unknown' object with no `r' key! at /home/jkobrien/.cpanplus/5.10=
..1/build/mod_perl-2.0.5/t/response/TestAPI/request_rec.pm line 227.<b=
r>ok 54<br>ok 55<br>Failed 2/55 subtests <br>    =
    (less 2 skipped subtests: 51 okay)<br>t/api/err_he=
aders_out.t ..... <br>1..6<br># Running under perl version 5.010001 f=
or linux<br># Current time local: Tue Apr 26 10:55:51 2011<br># Curre=
nt time GMT:   Tue Apr 26 09:55:51 2011<br># Using Test.pm =
version 1.25_02<br># Using Apache/Test.pm version 1.36<br># testing :=
OK<br># expected: 200<br># received: 200<br>ok 1<br># testing : X-er=
r_headers_out: made it<br># expected: err_headers_out<br># received: =
undef<br>not ok 2<br># testing : X-headers_out: made it<br># expected=
: headers_out<br># received: undef<br>not ok 3<br># Failed test 2 in =
t/api/err_headers_out.t at line 22<br># Failed test 3 in t/api/err_he=
aders_out.t at line 25<br># testing : not found<br># expected: 404<br=
># received: 404<br>ok 4<br># testing : X-err_headers_out: made it<br=
># expected: err_headers_out<br># received: undef<br>not ok 5<br>ok 6=
<br># Failed test 5 in t/api/err_headers_out.t at line 39<br>Failed 3=
/6 subtests <br>t/filter/out_str_reverse.t .. <br>1..2<br># Running u=
nder perl version 5.010001 for linux<br># Current time local: Tue Apr=
26 10:55:51 2011<br># Current time GMT:   Tue Apr 26 09:55=
:51 2011<br># Using Test.pm version 1.25_02<br># Using Apache/Test.pm=
version 1.36<br># testing : reverse filter<br># expected: abcdefghij=
klmnopqrstuvwxyz<br># 0123456789<br># Reversed by mod_perl 2.0<br># r=
eceived: abcdefghijklmnopqrstuvwxyz<br># 0123456789<br># Reversed by =
mod_perl 2.0<br>ok 1<br># testing : reverse filter<br># expected: abc=
defghijklmnopqrstuvwxyz<br># 0123456789<br># Reversed by mod_perl 2.0=
<br># received: abcdefghijklmnopqrstuvwxyz<br># 0123456789<br>not ok =
2<br># Failed test 2 in t/filter/out_str_reverse.t at line 30<br>Fail=
ed 1/2 subtests <br><br>Test Summary Report<br>-------------------<br=
>t/api/request_rec.t       (Wstat: 0 Te=
sts: 55 Failed: 2)<br>  Failed tests:  13, 38<br>t/api/err_=
headers_out.t   (Wstat: 0 Tests: 6 Failed: 3)<br>  Fai=
led tests:  2-3, 5<br>t/filter/out_str_reverse.t (Wstat: 0 Tests=
: 2 Failed: 1)<br>  Failed test:  2<br>Files=3D3, Tests=
=3D63,  2 wallclock secs ( 0.03 usr  0.00 sys +  0.87 =
cusr  0.12 csys =3D  1.02 CPU)<br>Result: FAIL<br>Failed 3/=
3 test programs. 6/63 subtests failed.<br>[warning] server localhost.=
localdomain:8529 shutdown<br>[  error] error running tests (plea=
se examine t/logs/error_log)<br><br><br>$ cat t/logs/error_log <br>EN=
D in modperl_extra.pl, pid=3D29802<br>[Tue Apr 26 10:55:50 2011] [not=
ice] Apache/2.2.16 (Ubuntu) world domination series/2.0 mod_perl/2.0.=
5 Perl/v5.10.1 configured -- resuming normal operations<br>[Tue Apr 2=
6 10:55:50 2011] [info] Server built: Nov 18 2010 21:17:29<br>[Tue Ap=
r 26 10:55:50 2011] [debug] prefork.c(1013): AcceptMutex: sysvsem (de=
fault: sysvsem)<br># Failed test 13 in /home/jkobrien/.cpanplus/5.10.=
1/build/mod_perl-2.0.5/t/response/TestAPI/request_rec.pm at line 61<b=
r># Failed test 38 in /home/jkobrien/.cpanplus/5.10.1/build/mod_perl-=
2.0.5/t/response/TestAPI/request_rec.pm at line 127<br>[Tue Apr 26 10=
:55:52 2011] [info] Child process pid=3D29817 is exiting<br>[Tue Apr =
26 10:55:52 2011] [info] Child process pid=3D29816 is exiting<br>[Tue=
Apr 26 10:55:52 2011] [info] Child process pid=3D29817 is exiting - =
server push<br>[Tue Apr 26 10:55:52 2011] [info] Child process pid=
=3D29816 is exiting - server push<br>END in modperl_extra.pl, pid=
=3D29817<br>END in modperl_extra.pl, pid=3D29816<br>[Tue Apr 26 10:55=
:52 2011] [info] removed PID file /home/jkobrien/.cpanplus/5.10.1/bui=
ld/mod_perl-2.0.5/t/logs/httpd.pid (pid=3D29809)<br>[Tue Apr 26 10:55=
:52 2011] [notice] caught SIGTERM, shutting down<br>END in modperl_ex=
tra.pl, pid=3D29809<br><br><br>Thanks,<br><br>John O'Brien

--Boundary_(ID_GJfDXEnnAi9m9Y9rjbv+JA)--
john.obrien [ Di, 26 April 2011 12:25 ] [ ID #2058784 ]

Re: Test failures when upgrading from 2.000004 to 2.000005

On Tuesday, April 26, 2011 12:25:07 John O'Brien wrote:
> I have mod_perl 2.000004 and tried to upgrade to 2.000005

Could it be that you have upgraded not only modperl but also LWP to
something 6.xx?

The point is LWP 5.xx used HTTP/1.0. LWP 6.xx has silently switched to
HTTP/1.1. There is currently no easy way (afaik) to have LWP 6 use
HTTP/1.0. Further, LWP 6 still seems quite buggy to me.

Some of our test suite (and also the httpd framework) depends on LWP
performing HTTP/1.0 calls. So, for the time being I'd recommend going
back to LWP 5.

modperl trunk should work with LWP 6.00. Some of the changes to make it
work were quite ugly. So, if someone wants a small project to contribute
improving the current state and fixing the bugs in LWP would be a good
thing.

We need for Apache::TestRequest:

=2D a simple way to switch between HTTP/1.1 and HTTP/1.0 (with HTTP/1.0 as=

default). See also (for half of a very ugly solution)

http://www.gossamer-threads.com/lists/apache/dev/398087#3980 87

=2D a way to fetch response headers that contain underline characters (_)
as well as minus characters (-).

=2D should work with LWP 5 and LWP 6

Torsten Förtsch

=2D-
Need professional modperl support? Hire me! (http://foertsch.name)

Like fantasy? http://kabatinte.net
torsten.foertsch [ Di, 26 April 2011 13:15 ] [ ID #2058785 ]

Re: Test failures when upgrading from 2.000004 to 2.000005

This is a multi-part message in MIME format.

--Boundary_(ID_WMNx0SW38AsT/ZM/7Hz8mA)
Content-type: text/plain; charset=iso-8859-1
Content-transfer-encoding: QUOTED-PRINTABLE
Content-disposition: inline

Hi Torsten,

Thanks for the speedy reply. Yes, you're right, I do have LWP 6.02 in=
stalled.

For my personal case, I'll delay dropping back to LWP 5 until I see t=
hat something is broken. I just thought I'd file the bug report as re=
quested at the end of the error output.

All the best,

John


----- Original Message -----
=46rom: Torsten Förtsch <torsten.foertsch [at] gmx.net>
Date: Tuesday, April 26, 2011 12:15 pm
Subject: Re: Test failures when upgrading from 2.000004 to 2.000005
To: modperl [at] perl.apache.org
Cc: John O'Brien <john.obrien [at] ucd.ie>

> On Tuesday, April 26, 2011 12:25:07 John O'Brien wrote:
> > I have mod_perl 2.000004 and tried to upgrade to 2.000005
>
> Could it be that you have upgraded not only modperl but also LWP=

> to
> something 6.xx?
>
> The point is LWP 5.xx used HTTP/1.0. LWP 6.xx has silently
> switched to
> HTTP/1.1. There is currently no easy way (afaik) to have LWP 6
> use
> HTTP/1.0. Further, LWP 6 still seems quite buggy to me.
>
> Some of our test suite (and also the httpd framework) depends on=

> LWP
> performing HTTP/1.0 calls. So, for the time being I'd recommend=

> going
> back to LWP 5.
>
> modperl trunk should work with LWP 6.00. Some of the changes to=

> make it
> work were quite ugly. So, if someone wants a small project to
> contribute
> improving the current state and fixing the bugs in LWP would be=

> a good
> thing.
>
> We need for Apache::TestRequest:
>
> - a simple way to switch between HTTP/1.1 and HTTP/1.0 (with
> HTTP/1.0 as
> default). See also (for half of a very ugly solution)
>
> http://www.gossamer-threads.com/lists/apache/dev/398087#3980 87
>
> - a way to fetch response headers that contain underline
> characters (_)
> as well as minus characters (-).
>
> - should work with LWP 5 and LWP 6
>
> Torsten Förtsch
>
> --
> Need professional modperl support? Hire me! (http://foertsch.name)
>
> Like fantasy? http://kabatinte.net

--Boundary_(ID_WMNx0SW38AsT/ZM/7Hz8mA)
Content-type: text/html; charset=iso-8859-1
Content-transfer-encoding: QUOTED-PRINTABLE
Content-disposition: inline

Hi Torsten,<br><br>Thanks for the speedy reply. Yes, you're right, I =
do have LWP 6.02 installed.<br><br>For my personal case, I'll delay d=
ropping back to LWP 5 until I see that something is broken. I just th=
ought I'd file the bug report as requested at the end of the error ou=
tput.<br><br>All the best,<br><br>John<br><br><br>----- Original Mess=
age -----<br>From: Torsten Förtsch <torsten.foertsch [at] gmx.net>=
<br>Date: Tuesday, April 26, 2011 12:15 pm<br>Subject: Re: Test failu=
res when upgrading from 2.000004 to 2.000005<br>To: modperl [at] perl.apac=
he.org<br>Cc: John O'Brien <john.obrien [at] ucd.ie><br><br>> On =
Tuesday, April 26, 2011 12:25:07 John O'Brien wrote:<br>> > I h=
ave mod_perl 2.000004 and tried to upgrade to 2.000005<br>> <br>&g=
t; Could it be that you have upgraded not only modperl but also LWP <=
br>> to <br>> something 6.xx?<br>> <br>> The point is LWP=
5.xx used HTTP/1.0. LWP 6.xx has silently <br>> switched to <br>&=
gt; HTTP/1.1. There is currently no easy way (afaik) to have LWP 6 <b=
r>> use <br>> HTTP/1.0. Further, LWP 6 still seems quite buggy =
to me.<br>> <br>> Some of our test suite (and also the httpd fr=
amework) depends on <br>> LWP <br>> performing HTTP/1.0 calls. =
So, for the time being I'd recommend <br>> going <br>> back to =
LWP 5.<br>> <br>> modperl trunk should work with LWP 6.00. Some=
of the changes to <br>> make it <br>> work were quite ugly. So=
, if someone wants a small project to <br>> contribute <br>> im=
proving the current state and fixing the bugs in LWP would be <br>>=
; a good <br>> thing.<br>> <br>> We need for Apache::TestReq=
uest:<br>> <br>> - a simple way to switch between HTTP/1.1 and =
HTTP/1.0 (with <br>> HTTP/1.0 as <br>> default). See also (for =
half of a very ugly solution)<br>> <br>>   http://www.goss=
amer-threads.com/lists/apache/dev/398087#398087<br>> <br>> - a =
way to fetch response headers that contain underline <br>> charact=
ers (_) <br>> as well as minus characters (-).<br>> <br>> - =
should work with LWP 5 and LWP 6<br>> <br>> Torsten Förtsch<b=
r>> <br>> -- <br>> Need professional modperl support? Hire m=
e! (http://foertsch.name)<br>> <br>> Like fantasy? http://kabat=
inte.net

--Boundary_(ID_WMNx0SW38AsT/ZM/7Hz8mA)--
john.obrien [ Di, 26 April 2011 16:22 ] [ ID #2058786 ]
Webserver » gmane.comp.apache.mod-perl » Test failures when upgrading from 2.000004 to 2.000005

Vorheriges Thema: Installation help [mod_perl 2.0.5/apache 2.2.17/perl-5.12.3]
Nächstes Thema: Surge 2011 CFP Deadline Extended