Skip Menu |

This queue is for tickets about the mod_perl CPAN distribution.

Report information
The Basics
Id: 25506
Status: open
Priority: 0/
Queue: mod_perl

People
Owner: Nobody in particular
Requestors: imacat [...] mail.imacat.idv.tw
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: 2.0.2
Fixed in: (no value)



Subject: Failed "make test" in mod_perl 2.0.3

Message body is not shown because it is too large.

Subject: Failed "make test" in 2.0.3 at t/apache/util.t and t/api/server_const.t
(Is this not plain text? ^^;) It's in fact broken in 2.0.3, but there is no such option above. Hi. This is imacat, a mod_perl user in Taiwan. I encounter failurs when doing "make test", at t/apache/util.t and t/api/server_const.t. But mail servers of perl.org, namely mx.develooper.com. and x3.develooper.com., seems to have problem that I can't submit fail test report. So I attached the terminal logs here. Hope that this helps. Please tell me if I could be of any help or if you have any question.

Message body is not shown because it is too large.

Subject: Failed "make test" in 2.0.3 at t/apache/util.t and t/api/server_const.t
From: imacat [...] mail.imacat.idv.tw
Hi. This is imacat. I have more information regarding to this failure. I searched the Google and found a way to dig into this issue, so I did more tests. The error in t/apache/util.t is due to the locale issue that the server return the time in the user's locale. Maybe you should unset the locale or set it to "C" before testing. The error in t/api/server_const.t is due to the minor version difference in server version text, as described and suggested in: http://marc.theaimsgroup.com/?l=apache-modperl&m=116923516222025&w=2 I attached the console log that reproduces this error. Please tell me if you need any more information. Thank you.
imacat@rinse src/mod_perl-2.0.3 % /usr/sbin/httpd -d /usr/local/src/mod_perl-2.0.3/t -f /usr/local/src/mod_perl-2.0.3/t/conf/httpd.conf -D APACHE2 -D PERL_USEITHREADS [Sat Mar 17 14:20:36 2007] [warn] Useless use of AllowOverride in line 1461. [Sat Mar 17 14:20:36 2007] [info] 6 Apache2:: modules loaded [Sat Mar 17 14:20:36 2007] [info] 0 APR:: modules loaded [Sat Mar 17 14:20:36 2007] [info] base server + 29 vhosts ready to run tests [Sat Mar 17 14:20:37 2007] [warn] The Alias directive in mod_perl at line 1 will probably never match because it overlaps an earlier Alias. [Sat Mar 17 14:20:37 2007] [warn] The Alias directive in mod_perl at line 1 will probably never match because it overlaps an earlier Alias. [Sat Mar 17 14:20:37 2007] [warn] The Alias directive in mod_perl at line 1 will probably never match because it overlaps an earlier Alias. [Sat Mar 17 14:20:37 2007] [warn] The Alias directive in mod_perl at line 1 will probably never match because it overlaps an earlier Alias. [Sat Mar 17 14:20:37 2007] [warn] The Alias directive in mod_perl at line 1 will probably never match because it overlaps an earlier Alias. imacat@rinse src/mod_perl-2.0.3 % lynx -dump http://127.0.0.1:8529/TestApache__util 1..8 # Running under perl version 5.008008 for linux # Current time local: Sat Mar 17 14:20:37 2007 # Current time GMT: Sat Mar 17 06:20:37 2007 # Using Test.pm version 1.25 # Using Apache/Test.pm version 1.29 # testing : Apache2::Util::ht_time($pool) # expected: (?-xism:^\w+, \d\d \w+ \d\d\d\d \d\d:\d\d:\d\d) # received: ¤», 17 3¤ë 2007 06:21:11 GMT not ok 1 # testing : Apache2::Util::ht_time($pool, $time) # expected: (?-xism:^\w+, \d\d \w+ \d\d\d\d \d\d:\d\d:\d\d) # received: ¤», 17 3¤ë 2007 06:21:11 GMT not ok 2 # testing : Apache2::Util::ht_time($pool, $time, $fmt) # expected: (?-xism:^\w+, \d\d \w+ \d\d\d\d \d\d:\d\d:\d\d) # received: ¤», 17 3¤ë 2007 06:21:11 GMT not ok 3 # testing : Apache2::Util::ht_time($pool, $time, $fmt, $gmt) # expected: (?-xism:^\w+, \d\d \w+ \d\d\d\d \d\d:\d\d:\d\d) # received: ¤», 17 3¤ë 2007 14:21:11 CST not ok 4 # testing : Apache2::Util::escape_path / partial=1 / default # expected: a%20'long'%20file%3f.html # received: a%20'long'%20file%3f.html ok 5 # testing : Apache2::Util::escape_path / partial=1 / explicit # expected: a%20'long'%20file%3f.html # received: a%20'long'%20file%3f.html ok 6 # testing : Apache2::Util::escape_path / partial=0 # expected: a%20'long'%20file%3f.html # received: a%20'long'%20file%3f.html ok 7 # testing : Apache2::Util::escape_path / partial=0 / ./ prefix # expected: ./a%20'long'%20file%3f.html: # received: ./a%20'long'%20file%3f.html: ok 8 imacat@rinse src/mod_perl-2.0.3 % lynx -dump http://127.0.0.1:8529/TestAPI__server_const 1..3 # Running under perl version 5.008008 for linux # Current time local: Sat Mar 17 14:20:37 2007 # Current time GMT: Sat Mar 17 06:20:37 2007 # Using Test.pm version 1.25 # Using Apache/Test.pm version 1.29 # testing : Apache2::ServerUtil::server_root() # expected: /usr/local/src/mod_perl-2.0.3/t # received: /usr/local/src/mod_perl-2.0.3/t ok 1 # testing : Apache2::ServerUtil::get_server_built() # expected: Mar 15 2007 14:21:02 # received: Mar 15 2007 14:21:02 ok 2 # testing : Apache2::ServerUtil::get_server_version() # expected: Apache/2.2.4 (Unix) # received: Apache/2.2.4 not ok 3 imacat@rinse src/mod_perl-2.0.3 % kill $(</usr/local/src/mod_perl-2.0.3/t/logs/httpd.pid) imacat@rinse src/mod_perl-2.0.3 %
From: gozer [...] apache.org
Show quoted text
> The error in t/apache/util.t is due to the locale issue that the > server return the time in the user's locale. Maybe you should unset the > locale or set it to "C" before testing.
Yup, probably should do something like that. Just for the record, what's the value of your LANG env variable ? Show quoted text
> The error in t/api/server_const.t is due to the minor version > difference in server version text, as described and suggested in:
Yes, that's correct. This is due to a slight default behaviour change in the httpd-2.2.x branch, nothing to worry about.
Subject: Re: [rt.cpan.org #25506] Failed "make test" in mod_perl 2.0.3
Date: Mon, 19 Mar 2007 14:39:19 +0800
To: bug-mod_perl [...] rt.cpan.org
From: imacat <imacat [...] mail.imacat.idv.tw>
On Mon, 19 Mar 2007 02:34:09 -0400 " via RT" <bug-mod_perl@rt.cpan.org> wrote: Show quoted text
> <URL: http://rt.cpan.org/Ticket/Display.html?id=25506 >
> > The error in t/apache/util.t is due to the locale issue that the
> > server return the time in the user's locale. Maybe you should unset the > > locale or set it to "C" before testing.
> Yup, probably should do something like that. Just for the record, what's > the value of your LANG env variable ?
zh_TW. imacat@rinse ~ % echo $LANG zh_TW imacat@rinse ~ % -- imacat ^_*' imacat@mail.imacat.idv.tw PGP Key: http://www.imacat.idv.tw/me/pgpkey.txt Tavern IMACAT's http://www.imacat.idv.tw/ Woman's Voice http://www.wov.idv.tw/ TLUG List Manager http://www.linux.org.tw/mailman/listinfo/tlug
Download (untitled)
application/pgp-signature 195b

Message body not shown because it is not plain text.

Thanks for the info, and I'll get these issues fixed. In the meantime, I would not worry about my mod_perl installation. If these are the only failures you've experienced, you are in pretty good shape.