Test failures when upgrading from 2.000004 to 2.000005

Test failures when upgrading from 2.000004 to 2.000005

am 26.04.2011 12:25:07 von john.obrien

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,

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#Reporting_Probl ems the o=
utput from t/TEST -verbose is:

$ t/TEST -clean
[warning] se=
tting ulimit to allow core files
ulimit -c unlimited; /usr/bin/per=
l /home/jkobrien/.cpanplus/5.10.1/build/mod_perl-2.0.5/t/TEST -clean<=
br>
$ 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/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
using Apache/2.2.16 (prefork MP=
M)

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 2=
011] [info] 0 APR:: modules loaded
[Tue Apr 26 10:55:49 2011] [inf=
o] base server + 28 vhosts ready to run tests
.
waiting 120 sec=
onds for server to start: ok (waited 0 secs)
server localhost.loca=
ldomain:8529 started
server localhost.localdomain:8530 listening (=
perlsections)
server localhost.localdomain:8531 listening (inherit=
)
server localhost.localdomain:8532 listening (filter_out_apache)<=
br>server localhost.localdomain:8533 listening (TestModperl::perl_opt=
ions)
server localhost.localdomain:8534 listening (TestModperl::pe=
rl_options2)
server localhost.localdomain:8535 listening (TestModp=
erl::setupenv)
server localhost.localdomain:8536 listening (TestMo=
dperl::merge)
server localhost.localdomain:8537 listening (TestUse=
r::rewrite)
server localhost.localdomain:8538 listening (TestVhost=
::log)
server localhost.localdomain:8539 listening (TestVhost::con=
fig)
server localhost.localdomain:8540 listening (TestModules::pro=
xy)
server localhost.localdomain:8541 listening (TestProtocol::ech=
o_block)
server localhost.localdomain:8542 listening (TestProtocol=
::echo_nonblock)
server localhost.localdomain:8543 listening (Test=
Protocol::echo_timeout)
server localhost.localdomain:8544 listenin=
g (TestProtocol::echo_filter)
server localhost.localdomain:8545 li=
stening (TestProtocol::echo_bbs)
server localhost.localdomain:8546=
listening (TestProtocol::pseudo_http)
server localhost.localdomai=
n:8547 listening (TestProtocol::echo_bbs2)
server localhost.locald=
omain:8548 listening (TestPreConnection::note)
server localhost.lo=
caldomain:8549 listening (TestHooks::startup)
server localhost.loc=
aldomain:8550 listening (TestHooks::stacked_handlers2)
server loca=
lhost.localdomain:8551 listening (TestHooks::init)
server localhos=
t.localdomain:8552 listening (TestHooks::hookrun)
server localhost=
..localdomain:8553 listening (TestHooks::trans)
server localhost.lo=
caldomain: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_heade=
r)
server localhost.localdomain:8557 listening (TestFilter::in_str=
_msg)
server localhost.localdomain:8558 listening (TestDirective::=
perlrequire)
server localhost.localdomain:8559 listening (TestDire=
ctive::perlmodule)
server localhost.localdomain:8560 listening (Te=
stAPI::add_config)
server localhost.localdomain:8561 listening (Te=
stDirective::perlloadmodule5)
server localhost.localdomain:8562 li=
stening (TestDirective::perlloadmodule3)
server localhost.localdom=
ain:8563 listening (TestDirective::perlloadmodule4)
server localho=
st.localdomain:8564 listening (TestDirective::perlloadmodule6)
ser=
ver localhost.localdomain:8565 listening (TestHooks::push_handlers_an=
on)
[warning] Using random number seed: 2008441511 (autogenerated)=

t/api/request_rec.t .........
1..55
# Running under perl v=
ersion 5.010001 for linux
# Current time local: Tue Apr 26 10:55:4=
9 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: localho=
st.localdomain
ok 14
# testing : $r->hostname rw
# expect=
ed: 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
# expec=
ted: 0
# received: 0
ok 20
ok 21
ok 22
ok 23
ok 24<=
br>ok 25
ok 26
ok 27
ok 28
ok 29
ok 30
# buffered r># testing : buffered print
# expected: 11
# received: 11
o=
k 31
# testing : buffered print
# expected: 0E0
# received: =
0E0
ok 32
# not buffered
# testing : unbuffered print
# e=
xpected: 15
# received: 15
ok 33
# expected: /TestAPI__reque=
st_rec/my_path_info?my_args=3D3
# received: /TestAPI__request_rec/=
my_path_info?my_args=3D3
ok 34
# testing : $r->uri
# expe=
cted: /TestAPI__request_rec/my_path_info
# received: /TestAPI__req=
uest_rec/my_path_info
ok 35
# testing : $r->path_info
# e=
xpected: /my_path_info
# received: /my_path_info
ok 36
# tes=
ting : $r->args
# expected: my_args=3D3
# received: my_args=
=3D3
ok 37
# testing : $r->the_request
# expected: GET /T=
estAPI__request_rec/my_path_info?my_args=3D3 HTTP/1.0
# received: =
GET /TestAPI__request_rec/my_path_info?my_args=3D3 HTTP/1.1
not ok=
38
# testing : $r->the_request rw
# expected: GET /TestAPI_=
_request_rec/my_path_info?my_args=3D3&foo=3Dbar HTTP/1.0
# rec=
eived: GET /TestAPI__request_rec/my_path_info?my_args=3D3&foo=
=3Dbar 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<=
br># expected: 1296678226
# received: 1296678226
ok 43
# tes=
ting : $r->finfo
# expected: /home/jkobrien/.cpanplus/5.10.1/bu=
ild/mod_perl-2.0.5/t/response/TestAPI/request_rec.pm
# received: /=
home/jkobrien/.cpanplus/5.10.1/build/mod_perl-2.0.5/t/respon se/TestAP=
I/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->con=
tent_languages
# expected: [
#     fr,
#=
     us,
#     cn,
# ]<=
br># received: [
#     fr,
#  &nb=
sp;  us,
#     cn,
# ]
ok 50
# t=
esting : $r->content_languages(invalid)
# expected: (?-xism:Not=
an array reference)
# 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.
ok 51
# testing : invalid Apache2::Request=
Rec=3DHASH(0xba464ef0) object
# expected: (?-xism:method `uri' inv=
oked by a `Apache2::RequestRec' object with no `r' key!)
# 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.
ok 52
# testing : invalid =
NonExisting=3DHASH(0xba464c70) object
# expected: (?-xism:method `=
uri' invoked by a `NonExisting' object with no `r' key!)
# 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.
ok 53
# testing : invalid HASH(0xb=
a4670e8) object
# expected: (?-xism:method `uri' invoked by a `unk=
nown' 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/response/TestAPI/request_rec.pm line 227. r>ok 54
ok 55
Failed 2/55 subtests
    =
    (less 2 skipped subtests: 51 okay)
t/api/err_he=
aders_out.t .....
1..6
# Running under perl version 5.010001 f=
or linux
# Current time local: Tue Apr 26 10:55:51 2011
# Curre=
nt 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-er=
r_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_he=
aders_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 u=
nder 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: abcdefghij=
klmnopqrstuvwxyz
# 0123456789
# Reversed by mod_perl 2.0
# r=
eceived: abcdefghijklmnopqrstuvwxyz
# 0123456789
# Reversed by =
mod_perl 2.0
ok 1
# testing : reverse filter
# expected: abc=
defghijklmnopqrstuvwxyz
# 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
Fail=
ed 1/2 subtests

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


$ cat t/logs/error_log
EN=
D in modperl_extra.pl, pid=3D29802
[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
[Tue Apr 2=
6 10:55:50 2011] [info] Server built: Nov 18 2010 21:17:29
[Tue Ap=
r 26 10:55:50 2011] [debug] prefork.c(1013): AcceptMutex: sysvsem (de=
fault: sysvsem)
# 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 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
[Tue Apr 26 10=
:55:52 2011] [info] Child process pid=3D29817 is exiting
[Tue Apr =
26 10:55:52 2011] [info] Child process pid=3D29816 is exiting
[Tue=
Apr 26 10:55:52 2011] [info] Child process pid=3D29817 is exiting - =
server push
[Tue Apr 26 10:55:52 2011] [info] Child process pid=
=3D29816 is exiting - server push
END in modperl_extra.pl, pid=
=3D29817
END in modperl_extra.pl, pid=3D29816
[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)
[Tue Apr 26 10:55=
:52 2011] [notice] caught SIGTERM, shutting down
END in modperl_ex=
tra.pl, pid=3D29809


Thanks,

John O'Brien

--Boundary_(ID_GJfDXEnnAi9m9Y9rjbv+JA)--

Re: Test failures when upgrading from 2.000004 to 2.000005

am 26.04.2011 13:15:09 von torsten.foertsch

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=20
something 6.xx?

The point is LWP 5.xx used HTTP/1.0. LWP 6.xx has silently switched to=20
HTTP/1.1. There is currently no easy way (afaik) to have LWP 6 use=20
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=20
performing HTTP/1.0 calls. So, for the time being I'd recommend going=20
back to LWP 5.

modperl trunk should work with LWP 6.00. Some of the changes to make it=20
work were quite ugly. So, if someone wants a small project to contribute=20
improving the current state and fixing the bugs in LWP would be a good=20
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=
=20
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 (_)=20
as well as minus characters (-).

=2D should work with LWP 5 and LWP 6

Torsten Förtsch

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

Like fantasy? http://kabatinte.net

Re: Test failures when upgrading from 2.000004 to 2.000005

am 26.04.2011 16:22:44 von john.obrien

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
Date: Tuesday, April 26, 2011 12:15 pm
Subject: Re: Test failures when upgrading from 2.000004 to 2.000005
To: modperl@perl.apache.org
Cc: John O'Brien

> 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
>=20
> Could it be that you have upgraded not only modperl but also LWP=
=20
> to=20
> something 6.xx?
>=20
> The point is LWP 5.xx used HTTP/1.0. LWP 6.xx has silently=20
> switched to=20
> HTTP/1.1. There is currently no easy way (afaik) to have LWP 6=20
> use=20
> HTTP/1.0. Further, LWP 6 still seems quite buggy to me.
>=20
> Some of our test suite (and also the httpd framework) depends on=
=20
> LWP=20
> performing HTTP/1.0 calls. So, for the time being I'd recommend=
=20
> going=20
> back to LWP 5.
>=20
> modperl trunk should work with LWP 6.00. Some of the changes to=
=20
> make it=20
> work were quite ugly. So, if someone wants a small project to=20
> contribute=20
> improving the current state and fixing the bugs in LWP would be=
=20
> a good=20
> thing.
>=20
> We need for Apache::TestRequest:
>=20
> - a simple way to switch between HTTP/1.1 and HTTP/1.0 (with=20
> HTTP/1.0 as=20
> default). See also (for half of a very ugly solution)
>=20
> http://www.gossamer-threads.com/lists/apache/dev/398087#3980 87
>=20
> - a way to fetch response headers that contain underline=20
> characters (_)=20
> as well as minus characters (-).
>=20
> - should work with LWP 5 and LWP 6
>=20
> Torsten Förtsch
>=20
> --=20
> Need professional modperl support? Hire me! (http://foertsch.name)
>=20
> 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,

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

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.

All the best,

John


----- Original Mess=
age -----
From: Torsten Förtsch <torsten.foertsch@gmx.net>=

Date: Tuesday, April 26, 2011 12:15 pm
Subject: Re: Test failu=
res when upgrading from 2.000004 to 2.000005
To: modperl@perl.apac=
he.org
Cc: John O'Brien <john.obrien@ucd.ie>

> On =
Tuesday, April 26, 2011 12:25:07 John O'Brien wrote:
> > I h=
ave mod_perl 2.000004 and tried to upgrade to 2.000005
>
&g=
t; Could it be that you have upgraded not only modperl but also LWP <=
br>> to
> something 6.xx?
>
> The point is LWP=
5.xx used HTTP/1.0. LWP 6.xx has silently
> switched to
&=
gt; HTTP/1.1. There is currently no easy way (afaik) to have LWP 6 r>> use
> HTTP/1.0. Further, LWP 6 still seems quite buggy =
to me.
>
> Some of our test suite (and also the httpd fr=
amework) 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
> im=
proving the current state and fixing the bugs in LWP would be
>=
; a good
> thing.
>
> We need for Apache::TestReq=
uest:
>
> - 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.goss=
amer-threads.com/lists/apache/dev/398087#398087
>
> - a =
way to fetch response headers that contain underline
> charact=
ers (_)
> as well as minus characters (-).
>
> - =
should work with LWP 5 and LWP 6
>
> Torsten Förtsch r>>
> --
> Need professional modperl support? Hire m=
e! (http://foertsch.name)
>
> Like fantasy? http://kabat=
inte.net

--Boundary_(ID_WMNx0SW38AsT/ZM/7Hz8mA)--