You are viewing a plain text version of this content. The canonical link for it is here.
Posted to modperl@perl.apache.org by bowen <li...@gmail.com> on 2006/10/05 04:21:40 UTC

Help, mod_perl svn make test fail.

My environment apache 2.2.3 worker MPM, perl 5.8.8.

shell> perl -v
This is perl, v5.8.8 built for i486-linux-gnu-thread-multi   .......
shell> /usr/local/apache2/bin/httpd -l
...
  mod_proxy.c
  mod_proxy_connect.c
  mod_proxy_ftp.c
  mod_proxy_http.c
  mod_proxy_ajp.c
  mod_proxy_balancer.c
...

When I make test. There are some errors below.
......
t/filter/both_str_req_proxy.............# Failed test 1 in
t/filter/both_str_req_proxy.t at line 16
t/filter/both_str_req_proxy.............FAILED test 1
        Failed 1/1 tests, 0.00% okay
......
t/filter/out_str_subreq_default.........NOK 1# Failed test 1 in
t/filter/out_str_subreq_default.t at line 23
t/filter/out_str_subreq_default.........FAILED test 1
        Failed 1/1 tests, 0.00% okay
......
t/modules/proxy.........................request has failed (the
response code was: 502)
see t/logs/error_log for more details
t/modules/proxy.........................dubious
        Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED test 1
        Failed 1/1 tests, 0.00% okay
.......
t/perl/ithreads_args....................request has failed (the
response code was: 500)
see t/logs/error_log for more details
t/perl/ithreads_args....................dubious
        Test returned status 255 (wstat 65280, 0xff00)
........


In t/logs/error.log:
.........
Inflated 54 to 59 : URL /TestFilter__both_str_req_mix
[Wed Oct 04 21:27:43 2006] [debug] mod_deflate.c(447): [client
127.0.0.1] Zlib: Compressed 22 to 22 : URL
/TestFilter__both_str_req_mix
[Wed Oct 04 21:27:44 2006] [debug] mod_proxy_http.c(54): proxy: HTTP:
canonicalising URL
//localhost:8529/TestFilter__both_str_req_proxy_content/foo
[Wed Oct 04 21:27:44 2006] [debug] proxy_util.c(1378): [client
127.0.0.1] proxy: http: found worker
http://localhost:8529/TestFilter__both_str_req_proxy_content/ for
http://localhost:8529/TestFilter__both_str_req_proxy_content/foo
[Wed Oct 04 21:27:44 2006] [debug] mod_proxy.c(756): Running scheme
http handler (attempt 0)
[Wed Oct 04 21:27:44 2006] [debug] mod_proxy_http.c(1662): proxy:
HTTP: serving URL
http://localhost:8529/TestFilter__both_str_req_proxy_content/foo
[Wed Oct 04 21:27:44 2006] [debug] proxy_util.c(1798): proxy: HTTP:
has acquired connection for (localhost)
[Wed Oct 04 21:27:44 2006] [debug] proxy_util.c(1858): proxy:
connecting http://localhost:8529/TestFilter__both_str_req_proxy_content/foo
to localhost:8529
[Wed Oct 04 21:27:44 2006] [debug] proxy_util.c(1951): proxy:
connected /TestFilter__both_str_req_proxy_content/foo to
localhost:8529
[Wed Oct 04 21:27:44 2006] [debug] proxy_util.c(2045): proxy: HTTP:
fam 2 socket created to connect to localhost
[Wed Oct 04 21:27:44 2006] [debug] proxy_util.c(2141): proxy: HTTP:
connection complete to 127.0.0.1:8529 (localhost)
[Wed Oct 04 21:32:44 2006] [error] [client 127.0.0.1] proxy: error
reading status line from remote server localhost
[Wed Oct 04 21:32:44 2006] [error] [client 127.0.0.1] proxy: Error
reading from remote server returned by
/TestFilter__both_str_req_proxy/foo
[Wed Oct 04 21:32:44 2006] [debug] proxy_util.c(1816): proxy: HTTP:
has released connection for (localhost)
[Wed Oct 04 21:32:44 2006] [info] [client 127.0.0.1] (32)Broken pipe:
core_output_filter: writing data to the network

.....
[Wed Oct 04 21:34:18 2006] [debug] proxy_util.c(1858): proxy:
connecting http://localhost:8537/TestModules__proxy_real to
localhost:8537
[Wed Oct 04 21:34:18 2006] [debug] proxy_util.c(1951): proxy:
connected /TestModules__proxy_real to localhost:8537
[Wed Oct 04 21:34:18 2006] [debug] proxy_util.c(2045): proxy: HTTP:
fam 2 socket created to connect to *
[Wed Oct 04 21:34:18 2006] [debug] proxy_util.c(2141): proxy: HTTP:
connection complete to 127.0.0.1:8537 (localhost)
[Wed Oct 04 21:39:18 2006] [error] [client 127.0.0.1] proxy: error
reading status line from remote server localhost
[Wed Oct 04 21:39:18 2006] [error] [client 127.0.0.1] proxy: Error
reading from remote server returned by
http://localhost:8537/TestModules__proxy_real
[Wed Oct 04 21:39:18 2006] [debug] proxy_util.c(1816): proxy: HTTP:
has released connection for (*)
[Wed Oct 04 21:39:18 2006] [info] [client 127.0.0.1] (32)Broken pipe:
core_output_filter: writing data to the network
........
Scalars leaked: 5
Scalars leaked: 5
[Wed Oct 04 21:39:26 2006] [error] [client 127.0.0.1] failed to
resolve handler `TestPerl::ithreads_args': Devel::Peek object version
1.03 does not match $Devel::Peek::VERSION 0.96 at
/usr/lib/perl/5.8/DynaLoader.pm line 245.\nCompilation failed in
require at /root/mod_perlsvn/t/response/TestPerl/ithreads_args.pm line
9.\nBEGIN failed--compilation aborted at
/root/mod_perlsvn/t/response/TestPerl/ithreads_args.pm line
9.\nCompilation failed in require at (eval 243) line 3.\n

*** The following leak is expected (perl bug #34341) ***
Scalars leaked: 5
[Wed Oct 04 21:43:30 2006] [info] Child process pid=6556 is exiting
[Wed Oct 04 21:43:30 2006] [info] Child process pid=6556 is exiting -
server push
..............

Thanks. I found that both proxy are fail at connection realase.

And seems that my Devel::Peek is not installed properly.