Re: make test failed on solaris 8

[prev] [thread] [next] [Date index for 2005/02/02]

From: Stas Bekman
Subject: Re: make test failed on solaris 8
Date: 03:41 on 02 Feb 2005
Tulan W. Hu wrote:
>>I'm not sure what went wrong, but there is nothing in the log. And there
>>must be something since you had 'Access Denied'
> 
> 
> Does it need to access on internet? I need to have a proxy setting to go
> out.

No, no, none of the tests require that.

>>Please do:
>>
>>t/TEST -clean
>>t/TEST -verbose t/protocol/pseudo_http.t t/apr/util.t

> t/protocol/pseudo_http....# connecting to localhost:8544

> # send: foobar
> # testing : banner
> # expected: Welcome to TestProtocol::pseudo_http
> # received: Access Denied
> not ok 5

So for some reason one of the AAA phases fail. Please apply this patch, run:

t/TEST -clean
t/TEST -verbose t/protocol/pseudo_http.t

and post only t/logs/error_log.

Index: t/protocol/TestProtocol/pseudo_http.pm
===================================================================
--- t/protocol/TestProtocol/pseudo_http.pm      (revision 148914)
+++ t/protocol/TestProtocol/pseudo_http.pm      (working copy)
@@ -84,6 +84,8 @@
      for my $method (qw(run_access_checker run_check_user_id
                         run_auth_checker)) {

+        warn "starting method: $method\n";
+
          my $rc = $r->$method();

          if ($rc != Apache::OK and $rc != Apache::DECLINED) {
@@ -98,8 +100,13 @@
              my $username = prompt($socket, "Login");
              my $password = prompt($socket, "Password");

+            warn "u/p: $username/$password\n";
+
              $r->set_basic_credentials($username, $password);
          }
+
+        warn "finished method: $method\n";
+
      }

      return Apache::OK;

> t/apr/util................1..4
> # Running under perl version 5.008006 for solaris
> # Current time local: Mon Jan 31 09:16:52 2005
> # Current time GMT:   Mon Jan 31 14:16:52 2005
> # Using Test.pm version 1.25
> # Using Apache/Test.pm version 1.21
> ok 1
> # crypt
> ok 2
> # sha1
> not ok 3

here the sha1 fails. it's strange because apparently the same test running 
outside of modperl (i.e. t/apr-ext/util.t) doesn't have this problem. Is 
that correct? Can you post the output of:

t/TEST -v t/apr-ext/util.t



        -- 
        __________________________________________________________________
Stas Bekman            JAm_pH ------> Just Another mod_perl Hacker
http://stason.org/     mod_perl Guide ---> http://perl.apache.org
mailto:stas@xxxxxx.xxx http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org   http://ticketmaster.com

(message missing)

Re: make test failed on solaris 8
Stas Bekman 00:53 on 22 Jan 2005

Re: make test failed on solaris 8
Tulan W. Hu 14:35 on 24 Jan 2005

Re: make test failed on solaris 8
Stas Bekman 01:38 on 25 Jan 2005

Re: make test failed on solaris 8
Tulan W. Hu 22:10 on 25 Jan 2005

Re: make test failed on solaris 8
Stas Bekman 23:45 on 25 Jan 2005

Re: make test failed on solaris 8
Tulan W. Hu 12:52 on 26 Jan 2005

Re: make test failed on solaris 8
Philippe M. Chiasson 23:54 on 25 Jan 2005

Re: make test failed on solaris 8
Tulan W. Hu 13:26 on 26 Jan 2005

Re: make test failed on solaris 8
Tulan W. Hu 16:44 on 26 Jan 2005

Re: make test failed on solaris 8
Stas Bekman 01:06 on 27 Jan 2005

Re: make test failed on solaris 8
Tulan W. Hu 20:56 on 27 Jan 2005

Re: make test failed on solaris 8
Stas Bekman 00:28 on 28 Jan 2005

Re: make test failed on solaris 8
Tulan W. Hu 16:22 on 28 Jan 2005

Re: make test failed on solaris 8
Stas Bekman 22:05 on 28 Jan 2005

Re: make test failed on solaris 8
Tulan W. Hu 22:42 on 28 Jan 2005

Re: make test failed on solaris 8
Stas Bekman 00:43 on 29 Jan 2005

Re: make test failed on solaris 8
Tulan W. Hu 14:22 on 31 Jan 2005

Re: make test failed on solaris 8
Stas Bekman 03:41 on 02 Feb 2005

Re: make test failed on solaris 8
Tulan W. Hu 13:19 on 02 Feb 2005

Re: make test failed on solaris 8
Stas Bekman 01:10 on 03 Feb 2005

Generated at 12:39 on 05 Feb 2005 by mariachi v0.52