You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@perl.apache.org by Ian Holsman <li...@holsman.net> on 2004/04/07 01:19:06 UTC

[mp2] -- failing some tests

this is with CVS HEAD of mod-perl & httpd (2.1)
regards
Ian..


1. Problem Description:


Failed Test                 Stat Wstat Total Fail  Failed  List of Failed
-------------------------------------------------------------------------------
t/apr/finfo.t                             17    1   5.88%  8
t/filter/both_str_con_add.t                4    3  75.00%  2-4
t/protocol/echo.t                          3    2  66.67%  2-3
t/protocol/echo_filter.t                   3    2  66.67%  2-3


2. Used Components and their Configuration:

*** mod_perl version 1.9914

*** using lib/Apache/BuildConfig.pm
*** Makefile.PL options:
   MP_APXS        => /usr/local/apache2/bin/apxs
   MP_COMPAT_1X   => 1
   MP_GENERATE_XS => 1
   MP_LIBNAME     => mod_perl
   MP_USE_DSO     => 1
   MP_USE_STATIC  => 1


*** /usr/local/apache2/bin/httpd -V
Server version: Apache/2.1.0-dev
Server built:   Apr  6 2004 16:32:11
Server's Module Magic Number: 20030821:3
Architecture:   32-bit
Server MPM:     Prefork
   threaded:     no
     forked:     yes (variable process count)
Server compiled with....
  -D APR_HAS_MMAP
  -D APR_HAVE_IPV6 (IPv4-mapped addresses enabled)
  -D APR_USE_POSIXSEM_SERIALIZE
  -D APR_USE_PTHREAD_SERIALIZE
  -D SINGLE_LISTEN_UNSERIALIZED_ACCEPT
  -D APR_HAS_OTHER_CHILD
  -D AP_HAVE_RELIABLE_PIPED_LOGS
  -D HTTPD_ROOT="/usr/local/apache2"
  -D SUEXEC_BIN="/usr/local/apache2/bin/suexec"
  -D DEFAULT_PIDLOG="logs/httpd.pid"
  -D DEFAULT_SCOREBOARD="logs/apache_runtime_status"
  -D DEFAULT_LOCKFILE="logs/accept.lock"
  -D DEFAULT_ERRORLOG="logs/error_log"
  -D AP_TYPES_CONFIG_FILE="conf/mime.types"
  -D SERVER_CONFIG_FILE="conf/httpd.conf"


*** /usr/local/bin/perl -V
Summary of my perl5 (revision 5.0 version 8 subversion 3) configuration:
   Platform:
     osname=darwin, osvers=7.3.0, archname=darwin-2level
     uname='darwin ianh.holsman.net 7.3.0 darwin kernel version 7.3.0: 
sun feb 1 20:34:55 pst 2004; root:xnuxnu-517.3.10.obj~1release_ppc power 
macintosh powerpc '
     config_args=''
     hint=recommended, useposix=true, d_sigaction=define
     usethreads=undef use5005threads=undef useithreads=undef 
usemultiplicity=undef
     useperlio=define d_sfio=undef uselargefiles=define usesocks=undef
     use64bitint=undef use64bitall=undef uselongdouble=undef
     usemymalloc=n, bincompat5005=undef
   Compiler:
     cc='cc', ccflags ='-pipe -fno-common -DPERL_DARWIN -no-cpp-precomp 
-fno-strict-aliasing -I/usr/local/include -I/sw/include',
     optimize='-O3 -mtune=G4 -mcpu=G4',
     cppflags='-no-cpp-precomp -pipe -fno-common -DPERL_DARWIN 
-no-cpp-precomp -fno-strict-aliasing -I/usr/local/include -I/sw/include'
     ccversion='', gccversion='3.3 20030304 (Apple Computer, Inc. build 
1636) (-mlongcall)', gccosandvers=''
     intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=4321
     d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=8
     ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t', 
lseeksize=8
     alignbytes=8, prototype=define
   Linker and Libraries:
     ld='env MACOSX_DEPLOYMENT_TARGET=10.3 cc', ldflags 
='-L/usr/local/lib -L/sw/lib'
     libpth=/usr/local/lib /usr/lib /sw/lib
     libs=-lgdbm -ldbm -ldb -ldl -lm -lc
     perllibs=-ldl -lm -lc
     libc=/usr/lib/libc.dylib, so=dylib, useshrplib=false, libperl=libperl.a
     gnulibc_version=''
   Dynamic Linking:
     dlsrc=dl_dyld.xs, dlext=bundle, d_dlsymun=undef, ccdlflags=' '
     cccdlflags=' ', lddlflags=' -bundle -undefined dynamic_lookup 
-L/usr/local/lib -L/sw/lib'


Characteristics of this binary (from libperl):
   Compile-time options: USE_LARGE_FILES
   Built under darwin
   Compiled at Feb 22 2004 20:46:04
   %ENV:
     PERL5LIB="/sw/lib/perl5:/sw/lib/perl5"
     PERL_LWP_USE_HTTP_10="1"
   @INC:
     /sw/lib/perl5
     /sw/lib/perl5
     /usr/local/lib/perl5/5.8.3/darwin-2level
     /usr/local/lib/perl5/5.8.3
     /usr/local/lib/perl5/site_perl/5.8.3/darwin-2level
     /usr/local/lib/perl5/site_perl/5.8.3
     /usr/local/lib/perl5/site_perl/5.8.2/darwin-2level
     /usr/local/lib/perl5/site_perl/5.8.2
     /usr/local/lib/perl5/site_perl
     .

*** Packages of interest status:

Apache::Request: -
CGI            : 3.04
LWP            : 5.76
mod_perl       : 1.9911, 1.9913


3. This is the core dump trace: (if you get a core dump):

test output..
/usr/local/apache2/bin/httpd -d /usr/local/src/modperl-2.0/t -f 
/usr/local/src/modperl-2.0/t/conf/httpd.conf -D APACHE2
using Apache/2.1.0-dev (prefork MPM)

waiting 120 seconds for server to start: .......
waiting 120 seconds for server to start: ok (waited 6 secs)
server localhost:8529 started
server localhost:8530 listening (TestModperl::merge)
server localhost:8531 listening (TestModperl::perl_options)
server localhost:8532 listening (TestModperl::setupenv)
server localhost:8533 listening (TestVhost::config)
server localhost:8534 listening (TestProtocol::echo)
server localhost:8535 listening (TestProtocol::echo_filter)
server localhost:8536 listening (TestProtocol::eliza)
server localhost:8537 listening (TestPreConnection::note)
server localhost:8538 listening (TestHooks::stacked_handlers2)
server localhost:8539 listening (TestHooks::startup)
server localhost:8540 listening (TestFilter::both_str_con_add)
server localhost:8541 listening (TestFilter::in_bbs_inject_header)
server localhost:8542 listening (TestFilter::in_bbs_msg)
server localhost:8543 listening (TestFilter::in_str_msg)
server localhost:8544 listening (TestDirective::perlmodule)
server localhost:8545 listening (TestDirective::perlrequire)
server localhost:8546 listening (TestPerl::ithreads)
server localhost:8547 listening (TestDirective::perlloadmodule3)
server localhost:8548 listening (TestDirective::perlloadmodule4)
server localhost:8549 listening (TestDirective::perlloadmodule5)
server localhost:8550 listening (TestDirective::perlloadmodule6)
t/apr/finfo..................1..17
# Running under perl version 5.008003 for darwin
# Current time local: Wed Apr  7 09:12:36 2004
# Current time GMT:   Tue Apr  6 23:12:36 2004
# Using Test.pm version 1.24
# $r->finfo APR::Finfo=SCALAR(0x1ca82c0)
ok 1
# $r->finfo->pool APR::Pool=SCALAR(0x1c0b2e8)
ok 2
# testing : stat /usr/local/src/modperl-2.0/t/htdocs/index.html
# expected: 0
# received: 0
ok 3
# testing : $r->finfo->device()
# expected: 234881026
# received: 234881026
ok 4
# testing : $r->finfo->inode()
# expected: 3691700
# received: 3691700
ok 5
# testing : $r->finfo->nlink()
# expected: 1
# received: 1
ok 6
# testing : $r->finfo->user()
# expected: 501
# received: 501
ok 7
# testing : $r->finfo->group()
# expected: 4294967294
# received: -2
not ok 8
# testing : $r->finfo->size()
# expected: 691
# received: 691
ok 9
# testing : $r->finfo->atime()
# expected: 1081293128
# received: 1081293128
ok 10
# testing : $r->finfo->mtime()
# expected: 1081292407
# received: 1081292407
ok 11
# testing : $r->finfo->ctime()
# expected: 1081292407
# received: 1081292407
ok 12
# testing : $r->finfo->protection() & APR::WREAD
# expected: 4
# received: 4
ok 13
# testing : $r->finfo->protection() & APR::WWRITE
# expected: 0
# received: 0
ok 14
# testing : $r->finfo->protection() & APR::WEXECUTE
# expected: 0
# received: 0
ok 15
# testing : $r->finfo->fname()
# expected: /usr/local/src/modperl-2.0/t/htdocs/index.html
# received: /usr/local/src/modperl-2.0/t/htdocs/index.html
ok 16
# testing : $r->finfo->filetype()
# expected: 1
# received: 1
ok 17
FAILED test 8
	Failed 1/17 tests, 94.12% okay
t/filter/both_str_con_add....1..4
# Running under perl version 5.008003 for darwin
# Current time local: Wed Apr  7 09:12:41 2004
# Current time GMT:   Tue Apr  6 23:12:41 2004
# Using Test.pm version 1.24
ok 1
# expected: mod_perl
# received:
not ok 2
# expected: 2.0
# received:
not ok 3
# expected: rules
# received:
not ok 4
FAILED tests 2-4
	Failed 3/4 tests, 25.00% okay
t/protocol/echo..............1..3
# Running under perl version 5.008003 for darwin
# Current time local: Wed Apr  7 09:12:42 2004
# Current time GMT:   Tue Apr  6 23:12:42 2004
# Using Test.pm version 1.24
ok 1
# expected: hello
# received:
not ok 2
# expected: world
# received:
not ok 3
FAILED tests 2-3
	Failed 2/3 tests, 33.33% okay
t/protocol/echo_filter.......1..3
# Running under perl version 5.008003 for darwin
# Current time local: Wed Apr  7 09:12:43 2004
# Current time GMT:   Tue Apr  6 23:12:43 2004
# Using Test.pm version 1.24
ok 1
# expected: hello
# received:
not ok 2
# expected: world
# received:
not ok 3
FAILED tests 2-3
	Failed 2/3 tests, 33.33% okay
Failed Test                 Stat Wstat Total Fail  Failed  List of Failed
-------------------------------------------------------------------------------
t/apr/finfo.t                             17    1   5.88%  8
t/filter/both_str_con_add.t                4    3  75.00%  2-4
t/protocol/echo.t                          3    2  66.67%  2-3
t/protocol/echo_filter.t                   3    2  66.67%  2-3




This report was generated by t/REPORT on Tue Apr  6 22:56:56 2004 GMT.



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@perl.apache.org
For additional commands, e-mail: dev-help@perl.apache.org


Re: [mp2] -- failing some tests

Posted by stas <st...@stason.org>.
Ian Holsman wrote:
> 
> this is with CVS HEAD of mod-perl & httpd (2.1)


> t/filter/both_str_con_add.t                4    3  75.00%  2-4
> t/protocol/echo.t                          3    2  66.67%  2-3
> t/protocol/echo_filter.t                   3    2  66.67%  2-3

Yes, we had at least two similar reports on Solaris with httpd 2.0 too. 
All three tests have the same thing in common - they use APR sockets to 
communicate with the client. As I can't reproduce this problem, I can't 
quite debug it. So far noone has tried to check what's going wrong. One 
needs to step through with gdb while running echo.t and see why the APR 
socket fails to read/write the connection socket.

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

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@perl.apache.org
For additional commands, e-mail: dev-help@perl.apache.org


Re: [mp2] -- failing some tests

Posted by Geoffrey Young <ge...@modperlcookbook.org>.
> The patch silences the error.
> the only 'interesting' data point was that I have _13-dev running, (from
> about a month or two ago) and this test didn't fail then.

that's strange.  can you track it down to any other factor?  different perl,
different apache, different kernel, etc?

what is really boggling me is that both perl and apr are reporting back the
wrong answer, so really we're dealing with 3 individual results of which
only one is correct.  I have no idea how to debug the problem, or even where
it resides, when none of the tools we are involved with (apache/apr and
perl) can get the right answer consistently.

anyway, I've commited the patch which skips $finfo->group on darwin until we
have some real answers.  if you come up with anything let me know.

--Geoff

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@perl.apache.org
For additional commands, e-mail: dev-help@perl.apache.org


Re: [mp2] -- failing some tests

Posted by Stas Bekman <st...@stason.org>.
Ian Holsman wrote:

> these are the remaining errors

> t/filter/both_str_con_add.t                4    3  75.00%  2-4
> t/protocol/echo_filter.t                   3    2  66.67%  2-3

These seem to be due to a bug/feature introduced in 2.0.49, which does 
nonblocking IO on the socket on several platforms (at least Solaris and OSX). 
Joe Orton has promised to look at these.

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

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@perl.apache.org
For additional commands, e-mail: dev-help@perl.apache.org


Re: [mp2] -- failing some tests

Posted by Ian Holsman <li...@holsman.net>.
Geoffrey Young wrote:

>>>># testing : $r->finfo->group()
>>>># expected: 4294967294
>>>># received: -2
>>>>not ok 8
>>>
> 
>>$ id ianh
>>uid=501(ianh) gid=20(staff) groups=20(staff), 80(admin)
> 
> 
> ok, well if neither perl nor apr give the real answer then we have no choice
> but to simply sweep it under the carpet - in both cases we merely pass along
> the results we're given, and if perl proper doesn't give the real answer
> either there must be a problem within the OS itself.
> 
> so, give this patch a whirl.  I'm not happy about doing it, but as with
> win32 it seems we're kind of out of options if the two pieces of software we
> rely on can't give true answers on darwin.
> 
> --Geoff

The patch silences the error.
the only 'interesting' data point was that I have _13-dev running, (from 
about a month or two ago) and this test didn't fail then.

these are the remaining errors
t/filter/both_str_con_add....1..4
# Running under perl version 5.008003 for darwin
# Current time local: Thu Apr 15 19:50:28 2004
# Current time GMT:   Thu Apr 15 09:50:28 2004
# Using Test.pm version 1.24
ok 1
# expected: mod_perl
# received:
not ok 2
# Failed test 2 in t/filter/both_str_con_add.t at line 22
#  t/filter/both_str_con_add.t line 22 is:     ok t_cmp($str, $reply);
# expected: 2.0
# received:
not ok 3
# Failed test 3 in t/filter/both_str_con_add.t at line 22 fail #2
# expected: rules
# received:
not ok 4
# Failed test 4 in t/filter/both_str_con_add.t at line 22 fail #3
FAILED tests 2-4
         Failed 3/4 tests, 25.00% okay
t/protocol/echo_filter.......1..3
# Running under perl version 5.008003 for darwin
# Current time local: Thu Apr 15 19:50:29 2004
# Current time GMT:   Thu Apr 15 09:50:29 2004
# Using Test.pm version 1.24
ok 1
# expected: hello
# received:
not ok 2
# Failed test 2 in t/protocol/echo_filter.t at line 19
#  t/protocol/echo_filter.t line 19 is:     ok t_cmp($_, $reply);
# expected: world
# received:
not ok 3
# Failed test 3 in t/protocol/echo_filter.t at line 19 fail #2
FAILED tests 2-3
         Failed 2/3 tests, 33.33% okay
Failed Test                 Stat Wstat Total Fail  Failed  List of Failed
-------------------------------------------------------------------------------
t/filter/both_str_con_add.t                4    3  75.00%  2-4
t/protocol/echo_filter.t                   3    2  66.67%  2-3
[warning] server localhost:8529 shutdown
[  error] error running tests (please examine t/logs/error_log)
ianh:/usr/local/src/modperl-2.0 ianh$



> 
> 
> ------------------------------------------------------------------------
> 
> Index: Apache-Test/lib/Apache/TestConfig.pm
> ===================================================================
> RCS file: /home/cvs/httpd-test/perl-framework/Apache-Test/lib/Apache/TestConfig.pm,v
> retrieving revision 1.218
> diff -u -r1.218 TestConfig.pm
> --- Apache-Test/lib/Apache/TestConfig.pm	5 Apr 2004 04:35:21 -0000	1.218
> +++ Apache-Test/lib/Apache/TestConfig.pm	8 Apr 2004 13:49:18 -0000
> @@ -18,6 +18,7 @@
>  use warnings FATAL => 'all';
>  
>  use constant WIN32   => $^O eq 'MSWin32';
> +use constant OSX     => $^O eq 'darwin';
>  use constant CYGWIN  => $^O eq 'cygwin';
>  use constant NETWARE => $^O eq 'NetWare';
>  use constant SOLARIS => $^O eq 'solaris';
> Index: t/response/TestAPR/finfo.pm
> ===================================================================
> RCS file: /home/cvs/modperl-2.0/t/response/TestAPR/finfo.pm,v
> retrieving revision 1.8
> diff -u -r1.8 finfo.pm
> --- t/response/TestAPR/finfo.pm	14 Jan 2004 21:27:41 -0000	1.8
> +++ t/response/TestAPR/finfo.pm	8 Apr 2004 13:49:19 -0000
> @@ -8,6 +8,7 @@
>  use Apache::TestTrace;
>  use Apache::TestConfig;
>  use constant WIN32 => Apache::TestConfig::WIN32;
> +use constant OSX   => Apache::TestConfig::OSX;
>  
>  use Apache::RequestRec ();
>  use APR::Finfo ();
> @@ -55,10 +56,17 @@
>          our ($device, $inode, $protection, $nlink, $user, $group,
>               undef, $size, $atime, $mtime, $ctime) = stat $file;
>  
> -        # skip certain tests on Win32 (and others?)
> -        # atime is wrong on NTFS, but OK on FAT32
> -        my %skip =  WIN32 ?
> -            (map {$_ => 1} qw(device inode user group atime) ) : ();
> +        # skip certain tests on Win32 and others
> +        my %skip = ();
> +
> +        if (WIN32) {
> +            # atime is wrong on NTFS, but OK on FAT32
> +            %skip = map {$_ => 1} qw(device inode user group atime);
> +        }
> +        elsif (OSX) {
> +            # both apr and perl report incorrect group values
> +            %skip = (group => 1);
> +        }
>  
>          # compare stat fields between perl and apr_stat
>          {


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@perl.apache.org
For additional commands, e-mail: dev-help@perl.apache.org


Re: [mp2] -- failing some tests

Posted by Stas Bekman <st...@stason.org>.
Geoffrey Young wrote:
>>>># testing : $r->finfo->group()
>>>># expected: 4294967294
>>>># received: -2
>>>>not ok 8
>>>
> 
>>$ id ianh
>>uid=501(ianh) gid=20(staff) groups=20(staff), 80(admin)
> 
> 
> ok, well if neither perl nor apr give the real answer then we have no choice
> but to simply sweep it under the carpet - in both cases we merely pass along
> the results we're given, and if perl proper doesn't give the real answer
> either there must be a problem within the OS itself.
> 
> so, give this patch a whirl.  I'm not happy about doing it, but as with
> win32 it seems we're kind of out of options if the two pieces of software we
> rely on can't give true answers on darwin.
> 
> --Geoff
> 
> 
> ------------------------------------------------------------------------
> 
> Index: Apache-Test/lib/Apache/TestConfig.pm
> ===================================================================
> RCS file: /home/cvs/httpd-test/perl-framework/Apache-Test/lib/Apache/TestConfig.pm,v
> retrieving revision 1.218
> diff -u -r1.218 TestConfig.pm
> --- Apache-Test/lib/Apache/TestConfig.pm	5 Apr 2004 04:35:21 -0000	1.218
> +++ Apache-Test/lib/Apache/TestConfig.pm	8 Apr 2004 13:49:18 -0000
> @@ -18,6 +18,7 @@
>  use warnings FATAL => 'all';
>  
>  use constant WIN32   => $^O eq 'MSWin32';
> +use constant OSX     => $^O eq 'darwin';
>  use constant CYGWIN  => $^O eq 'cygwin';
>  use constant NETWARE => $^O eq 'NetWare';
>  use constant SOLARIS => $^O eq 'solaris';
> Index: t/response/TestAPR/finfo.pm
> ===================================================================
> RCS file: /home/cvs/modperl-2.0/t/response/TestAPR/finfo.pm,v
> retrieving revision 1.8
> diff -u -r1.8 finfo.pm
> --- t/response/TestAPR/finfo.pm	14 Jan 2004 21:27:41 -0000	1.8
> +++ t/response/TestAPR/finfo.pm	8 Apr 2004 13:49:19 -0000
> @@ -8,6 +8,7 @@
>  use Apache::TestTrace;
>  use Apache::TestConfig;
>  use constant WIN32 => Apache::TestConfig::WIN32;
> +use constant OSX   => Apache::TestConfig::OSX;
>  
>  use Apache::RequestRec ();
>  use APR::Finfo ();
> @@ -55,10 +56,17 @@
>          our ($device, $inode, $protection, $nlink, $user, $group,
>               undef, $size, $atime, $mtime, $ctime) = stat $file;
>  
> -        # skip certain tests on Win32 (and others?)
> -        # atime is wrong on NTFS, but OK on FAT32
> -        my %skip =  WIN32 ?
> -            (map {$_ => 1} qw(device inode user group atime) ) : ();
> +        # skip certain tests on Win32 and others
> +        my %skip = ();
> +
> +        if (WIN32) {
> +            # atime is wrong on NTFS, but OK on FAT32
> +            %skip = map {$_ => 1} qw(device inode user group atime);
> +        }
> +        elsif (OSX) {
> +            # both apr and perl report incorrect group values
> +            %skip = (group => 1);
> +        }
>  
>          # compare stat fields between perl and apr_stat
>          {

In which case, this needs to be documented in the APR::Finfo manpage. i.e. 
that one better not rely on the above attributes, since they won't work on all 
platforms, listing the explicit problems. Thanks.

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

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@perl.apache.org
For additional commands, e-mail: dev-help@perl.apache.org


Re: [mp2] -- failing some tests

Posted by Geoffrey Young <ge...@modperlcookbook.org>.
>>> # testing : $r->finfo->group()
>>> # expected: 4294967294
>>> # received: -2
>>> not ok 8
>>

> $ id ianh
> uid=501(ianh) gid=20(staff) groups=20(staff), 80(admin)

ok, well if neither perl nor apr give the real answer then we have no choice
but to simply sweep it under the carpet - in both cases we merely pass along
the results we're given, and if perl proper doesn't give the real answer
either there must be a problem within the OS itself.

so, give this patch a whirl.  I'm not happy about doing it, but as with
win32 it seems we're kind of out of options if the two pieces of software we
rely on can't give true answers on darwin.

--Geoff

Re: [mp2] -- failing some tests

Posted by Ian Holsman <li...@holsman.net>.
Geoffrey Young wrote:

> 
> Ian Holsman wrote:
> 
>>this is with CVS HEAD of mod-perl & httpd (2.1)
> 
> 
> are the results any different with 2.0 (APR 0.9)?

I'll build that now, and post the results in a hour or so.
> 
> 
>>    osname=darwin, osvers=7.3.0, archname=darwin-2level
> 
> 
>># testing : $r->finfo->group()
>># expected: 4294967294
>># received: -2
>>not ok 8
> 
> 
> hmm.  have we seen this before on darwin?  it's sounding familiar.  just out
> of curiosity, what is the group number in /etc/groups for the user you are
> running the test as?  I find it strange that user passes but group does not,
> and both apr and perl look to be giving unrealistic answers.
$ id ianh
uid=501(ianh) gid=20(staff) groups=20(staff), 80(admin)



> 
> anyway, we skip user and group (and a few others) on win32 because of
> incompatibilities, so we may have to do that on OSX as well.
> 
> unfortunately, the only OSX box I have access to is moof and I wasn't able
> to get httpd to compile there last I tried, so my ability to troubleshoot
> this is limited.  any help appreciated.
> 
> --Geoff
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@perl.apache.org
For additional commands, e-mail: dev-help@perl.apache.org


Re: [mp2] -- failing some tests

Posted by Geoffrey Young <ge...@modperlcookbook.org>.

Ian Holsman wrote:
> 
> this is with CVS HEAD of mod-perl & httpd (2.1)

are the results any different with 2.0 (APR 0.9)?

>     osname=darwin, osvers=7.3.0, archname=darwin-2level

> # testing : $r->finfo->group()
> # expected: 4294967294
> # received: -2
> not ok 8

hmm.  have we seen this before on darwin?  it's sounding familiar.  just out
of curiosity, what is the group number in /etc/groups for the user you are
running the test as?  I find it strange that user passes but group does not,
and both apr and perl look to be giving unrealistic answers.

anyway, we skip user and group (and a few others) on win32 because of
incompatibilities, so we may have to do that on OSX as well.

unfortunately, the only OSX box I have access to is moof and I wasn't able
to get httpd to compile there last I tried, so my ability to troubleshoot
this is limited.  any help appreciated.

--Geoff


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@perl.apache.org
For additional commands, e-mail: dev-help@perl.apache.org