These failures seem to have been introduced by PS3430, reverting it gives me:
All tests successful, 1 test and 1 subtest skipped. Files=219, Tests=2540, 265 wallclock secs (167.59 cusr + 19.98 csys = 187.57 CPU)
Philippe M. Chiasson wrote:
This morning, this is what my build now looks like:
Failed Test Stat Wstat Total Fail Failed List of Failed ------------------------------------------------------------------------------- t/directive/env.t 8 1 12.50% 8 t/filter/both_str_req_add.t 1 1 100.00% 1 t/filter/out_bbs_filebucket.t 10 4 40.00% 3-4 7-8 t/modperl/merge.t 10 1 10.00% 2 t/modperl/merge2.t 10 1 10.00% 2 t/modperl/merge3.t 10 1 10.00% 2 t/modperl/status.t 15 1 6.67% 14
Joe Schaefer wrote:
I've been seeing the following tests fail for more than a few days now, and am getting consistent segfaults (which test actually triggers it seems to depend on the phase of the moon). Of course, I'm using HEAD on apr, apr-util, and httpd-2.0 on amd64. Here's the result of this morning's run:
Failed Test Stat Wstat Total Fail Failed List of Failed ------------------------------------------------------------------------------- t/apache/content_length_header.t 27 3 11.11% 2 5 17 t/api/aplog.t 33 1 3.03% 24 t/directive/env.t 8 1 12.50% 8 t/filter/both_str_req_add.t 1 1 100.00% 1 t/modperl/merge.t 10 1 10.00% 2 t/modperl/merge2.t 10 1 10.00% 2 t/modperl/merge3.t 10 1 10.00% 2 4 tests skipped. Failed 7/218 test scripts, 96.79% okay. 9/4179 subtests failed, 99.78% okay. [warning] server localhost.localdomain:8529 shutdown [warning] port 8529 still in use... done [ error] error running tests (please examine t/logs/error_log) [ error] oh dangnabit, server dumped core
Is anyone else seeing the same thing?
I'm trying to resolve a few of these today, especially the segfault. I'll try to hang out on #modperl irc today if anyone's looking to help.
Thanks.
-- -------------------------------------------------------------------------------- Philippe M. Chiasson m/gozer\@(apache|cpan|ectoplasm)\.org/ GPG KeyID : 88C3A5A5 http://gozer.ectoplasm.org/ F9BF E0C2 480E 7680 1AE5 3631 CB32 A107 88C3A5A5
--------------------- PatchSet 3430 Date: 2004/09/23 02:44:10 Author: stas Branch: HEAD Tag: (none) Log: move tests with trans and init handler into their own vhosts, so that they don't intervene with debugging of other tests PR: Obtained from: Submitted by: Reviewed by:
Members:
t/hooks/.cvsignore:1.6->1.7
t/hooks/init.t:INITIAL->1.1
t/hooks/trans.t:1.4->1.5
t/hooks/TestHooks/init.pm:1.5->1.6
t/hooks/TestHooks/trans.pm:1.5->1.6
t/modules/proxy.t:1.4->1.5
t/response/TestModules/proxy.pm:1.5->1.6
t/response/TestUser/rewrite.pm:1.2->1.3
t/user/.cvsignore:1.1->1.2
t/user/rewrite.t:INITIAL->1.1
Index: modperl-2.0/t/hooks/.cvsignore
diff -u modperl-2.0/t/hooks/.cvsignore:1.6 modperl-2.0/t/hooks/.cvsignore:1.7
--- modperl-2.0/t/hooks/.cvsignore:1.6 Sat Feb 21 20:07:35 2004
+++ modperl-2.0/t/hooks/.cvsignore Wed Sep 22 18:44:10 2004
@@ -3,8 +3,6 @@
authen.t
authz.t
fixup.t
-trans.t
-init.t
push_handlers_same_phase.t
push_handlers_blessed.t
set_handlers.t
--- /dev/null 2004-02-23 13:02:56.000000000 -0800
+++ modperl-2.0/t/hooks/init.t 2004-09-23 11:49:22.428584000 -0700
@@ -0,0 +1,16 @@
+use strict;
+use warnings FATAL => 'all';
+
+use Apache::TestRequest qw(GET_BODY_ASSERT);
+use Apache::Test;
+use Apache::TestUtil;
+
+my $module = 'TestHooks::init';
+
+Apache::TestRequest::module($module);
+my $path = Apache::TestRequest::module2path($module);
+my $config = Apache::Test::config();
+my $hostport = Apache::TestRequest::hostport($config);
+t_debug("connecting to $hostport");
+
+print GET_BODY_ASSERT "http://$hostport/$path";
Index: modperl-2.0/t/hooks/trans.t
diff -u modperl-2.0/t/hooks/trans.t:1.4 modperl-2.0/t/hooks/trans.t:1.5
--- modperl-2.0/t/hooks/trans.t:1.4 Mon Mar 31 20:39:30 2003
+++ modperl-2.0/t/hooks/trans.t Wed Sep 22 18:44:10 2004
@@ -8,15 +8,20 @@
use Apache2 ();
use Apache::Const ':common';
+my $module = 'TestHooks::trans';
+Apache::TestRequest::module($module);
+my $path = Apache::TestRequest::module2path($module);
+my $config = Apache::Test::config();
+my $hostport = Apache::TestRequest::hostport($config);
+t_debug("connecting to $hostport");
+
plan tests => 3;
t_client_log_error_is_expected();
-ok GET_RC('/nope') == NOT_FOUND;
-
-my $module = '/TestHooks/trans.pm';
+ok t_cmp GET_RC("http://$hostport/nope"), NOT_FOUND;
-my $body = GET_BODY $module;
+my $body = GET_BODY "http://$hostport/TestHooks/trans.pm";
-ok $body =~ /package TestHooks::trans/;
+ok $body =~ /package $module/;
-ok GET_OK '/phooey';
+ok GET_OK "http://$hostport/phooey";
Index: modperl-2.0/t/hooks/TestHooks/init.pm
diff -u modperl-2.0/t/hooks/TestHooks/init.pm:1.5 modperl-2.0/t/hooks/TestHooks/init.pm:1.6
--- modperl-2.0/t/hooks/TestHooks/init.pm:1.5 Mon Aug 11 13:34:22 2003
+++ modperl-2.0/t/hooks/TestHooks/init.pm Wed Sep 22 18:44:10 2004
@@ -54,11 +54,15 @@
1;
__DATA__
-PerlInitHandler TestHooks::init::second
-<Base>
+<NoAutoConfig>
+ <VirtualHost TestHooks::init>
PerlModule TestHooks::init
PerlInitHandler TestHooks::init::first
-</Base>
-PerlResponseHandler TestHooks::init
-PerlResponseHandler TestHooks::init::response
-SetHandler modperl
+ <Location /TestHooks__init>
+ PerlInitHandler TestHooks::init::second
+ PerlResponseHandler TestHooks::init
+ PerlResponseHandler TestHooks::init::response
+ SetHandler modperl
+ </Location>
+ </VirtualHost>
+</NoAutoConfig>
Index: modperl-2.0/t/hooks/TestHooks/trans.pm
diff -u modperl-2.0/t/hooks/TestHooks/trans.pm:1.5 modperl-2.0/t/hooks/TestHooks/trans.pm:1.6
--- modperl-2.0/t/hooks/TestHooks/trans.pm:1.5 Thu Apr 17 23:18:58 2003
+++ modperl-2.0/t/hooks/TestHooks/trans.pm Wed Sep 22 18:44:11 2004
@@ -37,5 +37,12 @@
1;
__DATA__
-PerlResponseHandler Apache::TestHandler::ok1
-SetHandler modperl
+<NoAutoConfig>
+ <VirtualHost TestHooks::trans>
+ PerlTransHandler TestHooks::trans
+ <Location /TestHooks__trans>
+ PerlResponseHandler Apache::TestHandler::ok1
+ SetHandler modperl
+ </Location>
+ </VirtualHost>
+</NoAutoConfig>
Index: modperl-2.0/t/modules/proxy.t
diff -u modperl-2.0/t/modules/proxy.t:1.4 modperl-2.0/t/modules/proxy.t:1.5
--- modperl-2.0/t/modules/proxy.t:1.4 Tue Aug 3 09:16:22 2004
+++ modperl-2.0/t/modules/proxy.t Wed Sep 22 18:44:11 2004
@@ -3,14 +3,19 @@
use Apache::Test;
use Apache::TestUtil;
-
use Apache::TestRequest;
-my $location = "/TestModules__proxy";
+my $module = 'TestModules::proxy';
+
+Apache::TestRequest::module($module);
+my $path = Apache::TestRequest::module2path($module);
+my $config = Apache::Test::config();
+my $hostport = Apache::TestRequest::hostport($config);
+t_debug("connecting to $hostport");
plan tests => 1, (need_module('proxy') &&
need_access);
my $expected = "ok";
-my $received = GET_BODY_ASSERT $location;
+my $received = GET_BODY_ASSERT "http://$hostport/$path";;
ok t_cmp($received, $expected, "internally proxified request");
Index: modperl-2.0/t/response/TestModules/proxy.pm
diff -u modperl-2.0/t/response/TestModules/proxy.pm:1.5 modperl-2.0/t/response/TestModules/proxy.pm:1.6
--- modperl-2.0/t/response/TestModules/proxy.pm:1.5 Fri Jul 9 01:01:21 2004
+++ modperl-2.0/t/response/TestModules/proxy.pm Wed Sep 22 18:44:11 2004
@@ -43,6 +43,7 @@
1;
__END__
<NoAutoConfig>
+ <VirtualHost TestModules::proxy>
<IfModule mod_proxy.c>
<Proxy http://@servername@:@port@/*>
<IfModule @ACCESS_MODULE@>
@@ -59,5 +60,6 @@
PerlResponseHandler TestModules::proxy::response
</Location>
</IfModule>
+ </VirtualHost>
</NoAutoConfig>
Index: modperl-2.0/t/response/TestUser/rewrite.pm
diff -u modperl-2.0/t/response/TestUser/rewrite.pm:1.2 modperl-2.0/t/response/TestUser/rewrite.pm:1.3
--- modperl-2.0/t/response/TestUser/rewrite.pm:1.2 Fri Jul 9 14:52:49 2004
+++ modperl-2.0/t/response/TestUser/rewrite.pm Wed Sep 22 18:44:11 2004
@@ -62,6 +62,7 @@
1;
__END__
<NoAutoConfig>
+ <VirtualHost TestUser::rewrite>
PerlModule TestUser::rewrite
PerlTransHandler TestUser::rewrite::trans
PerlMapToStorageHandler TestUser::rewrite::map2storage
@@ -69,5 +70,6 @@
SetHandler modperl
PerlResponseHandler TestUser::rewrite::response
</Location>
+ </VirtualHost>
</NoAutoConfig>
Index: modperl-2.0/t/user/.cvsignore
diff -u modperl-2.0/t/user/.cvsignore:1.1 modperl-2.0/t/user/.cvsignore:1.2
--- modperl-2.0/t/user/.cvsignore:1.1 Sat Apr 17 18:31:21 2004
+++ modperl-2.0/t/user/.cvsignore Wed Sep 22 18:44:10 2004
@@ -1,2 +1,2 @@
-rewrite.t
+
--- /dev/null 2004-02-23 13:02:56.000000000 -0800
+++ modperl-2.0/t/user/rewrite.t 2004-09-23 11:49:32.075399000 -0700
@@ -0,0 +1,16 @@
+use strict;
+use warnings FATAL => 'all';
+
+use Apache::TestRequest qw(GET_BODY_ASSERT);
+use Apache::Test;
+use Apache::TestUtil;
+
+my $module = 'TestUser::rewrite';
+
+Apache::TestRequest::module($module);
+my $path = Apache::TestRequest::module2path($module);
+my $config = Apache::Test::config();
+my $hostport = Apache::TestRequest::hostport($config);
+t_debug("connecting to $hostport");
+
+print GET_BODY_ASSERT "http://$hostport/$path";
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
