You are viewing a plain text version of this content. The canonical link for it is here.
Posted to modperl@perl.apache.org by Marc Esser <es...@us.ibm.com> on 2006/08/09 08:23:29 UTC

[mp2] t/api/status FAILED tests 4-5, t/apache/content_length_header FAILED test 17

Hi, 

find a bug report below. Not sure if this is the right recipient address? 
Please advise. Thanks!

1. Problem Description:

bash-3.00$ make test TEST_VERBOSE=1 TEST_FILES="api/status 
apache/content_length_header"
...
/usr/local/bin/perl -Iblib/arch -Iblib/lib \
        t/TEST -clean
[warning] Skipping 'set unlimited ulimit for coredumps', since we are 
running as a non-root user on Solaris
APACHE_TEST_GROUP= APACHE_TEST_HTTPD= APACHE_TEST_PORT= APACHE_TEST_USER= 
APACHE_TEST_APXS= \
        /usr/local/bin/perl -Iblib/arch -Iblib/lib \
        t/TEST -bugreport -verbose=1 api/status 
apache/content_length_header
[warning] Skipping 'set unlimited ulimit for coredumps', since we are 
running as a non-root user on Solaris
/usr/local/apache2/bin/httpd  -d /export/home/esserma/mod_perl-2.0.2/t -f 
/export/home/esserma/mod_perl-2.0.2/t/conf/httpd.conf -D APACHE2 -D 
PERL_USEITHREADS
using Apache/2.2.3 (prefork MPM)

waiting 120 seconds for server to start: .[Wed Aug 09 04:07:44 2006] 
[info] 6 Apache2:: modules loaded
....
t/api/status......................1..6
# Running under perl version 5.008008 for solaris
# Current time local: Wed Aug  9 04:07:49 2006
# Current time GMT:   Wed Aug  9 04:07:49 2006
# Using Test.pm version 1.25
# Using Apache/Test.pm version 1.27
...
# testing : code
# Failed test 4 in t/api/status.t at line 35
# Failed test 5 in t/api/status.t at line 36
# expected: 499
# received: 200
not ok 4
# testing : code message
# expected: FooBared
# received: OK
not ok 5
...
t/apache/content_length_header....1..27
# Running under perl version 5.008008 for solaris
# Current time local: Wed Aug  9 04:07:51 2006
# Current time GMT:   Wed Aug  9 04:07:51 2006
# Using Test.pm version 1.25
# Using Apache/Test.pm version 1.27
...
# testing : HEAD /TestApache__content_length_header?set_content_length C-L 
header
# expected: undef
# received: 25
not ok 17
FAILED test 17



error_log:

END in modperl_extra.pl, pid=4386
[Wed Aug 09 04:07:48 2006] [notice] Apache/2.2.3 (Unix) world domination 
series/2.0 mod_perl/2.0.2 Perl/v5.8.8 configured
-- resuming normal operations
[Wed Aug 09 04:07:48 2006] [info] Server built: Aug  9 2006 03:39:39
[Wed Aug 09 04:07:48 2006] [debug] prefork.c(991): AcceptMutex: fcntl 
(default: fcntl)
[Wed Aug 09 04:07:52 2006] [info] Child process pid=4417 is exiting
[Wed Aug 09 04:07:52 2006] [info] Child process pid=4417 is exiting - 
server push
[Wed Aug 09 04:07:52 2006] [info] Child process pid=4400 is exiting
END in modperl_extra.pl, pid=4417
[Wed Aug 09 04:07:52 2006] [info] Child process pid=4400 is exiting - 
server push
END in modperl_extra.pl, pid=4400
[Wed Aug 09 04:07:52 2006] [info] Child process pid=4401 is exiting
[Wed Aug 09 04:07:52 2006] [info] Child process pid=4401 is exiting - 
server push
END in modperl_extra.pl, pid=4401
[Wed Aug 09 04:07:52 2006] [info] removed PID file 
/export/home/esserma/mod_perl-2.0.2/t/logs/httpd.pid (pid=4393)
[Wed Aug 09 04:07:52 2006] [notice] caught SIGTERM, shutting down
END in modperl_extra.pl, pid=4393



2. Used Components and their Configuration:

*** mod_perl version 2.000002

*** using /export/home/esserma/mod_perl-2.0.2/lib/Apache2/BuildConfig.pm

*** Makefile.PL options:
  MP_APR_LIB     => aprext
  MP_AP_PREFIX   => /usr/local/apache2
  MP_COMPAT_1X   => 1
  MP_GENERATE_XS => 1
  MP_LIBNAME     => mod_perl
  MP_USE_DSO     => 1


*** /usr/local/apache2/bin/httpd -V
Server version: Apache/2.2.3
Server built:   Aug  9 2006 03:39:39
Server's Module Magic Number: 20051115:3
Server loaded:  APR 1.2.7, APR-Util 1.2.7
Compiled using: APR 1.2.7, APR-Util 1.2.7
Architecture:   64-bit
Server MPM:     Prefork
  threaded:     no
    forked:     yes (variable process count)
Server compiled with....
 -D APACHE_MPM_DIR="server/mpm/prefork"
 -D APR_HAS_SENDFILE
 -D APR_HAS_MMAP
 -D APR_HAVE_IPV6 (IPv4-mapped addresses enabled)
 -D APR_USE_FCNTL_SERIALIZE
 -D APR_USE_PTHREAD_SERIALIZE
 -D SINGLE_LISTEN_UNSERIALIZED_ACCEPT
 -D APR_HAS_OTHER_CHILD
 -D AP_HAVE_RELIABLE_PIPED_LOGS
 -D DYNAMIC_MODULE_LIMIT=128
 -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"

*** /bin/ldd /usr/local/apache2/bin/httpd
        libm.so.2 =>     /usr/lib/sparcv9/libm.so.2
        libaprutil-1.so.0 =>     /usr/local/apache2/lib/libaprutil-1.so.0
        libexpat.so.0 =>         /usr/local/apache2/lib/libexpat.so.0
        libapr-1.so.0 =>         /usr/local/apache2/lib/libapr-1.so.0
        libuuid.so.1 =>  /usr/lib/sparcv9/libuuid.so.1
        libsendfile.so.1 =>      /usr/lib/sparcv9/libsendfile.so.1
        librt.so.1 =>    /usr/lib/sparcv9/librt.so.1
        libsocket.so.1 =>        /usr/lib/sparcv9/libsocket.so.1
        libnsl.so.1 =>   /usr/lib/sparcv9/libnsl.so.1
        libpthread.so.1 =>       /usr/lib/sparcv9/libpthread.so.1
        libc.so.1 =>     /usr/lib/sparcv9/libc.so.1
        libgcc_s.so.1 =>         /usr/local/lib/sparcv9/libgcc_s.so.1
        libaio.so.1 =>   /usr/lib/sparcv9/libaio.so.1
        libmd5.so.1 =>   /usr/lib/sparcv9/libmd5.so.1
        libmp.so.2 =>    /usr/lib/sparcv9/libmp.so.2
        libscf.so.1 =>   /usr/lib/sparcv9/libscf.so.1
        libdoor.so.1 =>  /usr/lib/sparcv9/libdoor.so.1
        libuutil.so.1 =>         /usr/lib/sparcv9/libuutil.so.1
        /platform/SUNW,Sun-Fire-880/lib/sparcv9/libc_psr.so.1
        /platform/SUNW,Sun-Fire-880/lib/sparcv9/libmd5_psr.so.1


*** (apr|apu)-config linking info

 -L/usr/local/apache2/lib -laprutil-1 -lexpat
 -L/usr/local/apache2/lib -lapr-1 -luuid -lsendfile -lrt -lsocket -lnsl 
-lpthread



*** /usr/local/bin/perl -V
Summary of my perl5 (revision 5 version 8 subversion 8) configuration:
  Platform:
    osname=solaris, osvers=2.10, archname=sun4-solaris-thread-multi-64
    uname='sunos l10154wbd005.web.att.com 5.10 generic_118833-03 sun4u 
sparc sunw,sun-fire-880 '
    config_args='-Duse64bitall -Duseithreads -Dusethreads 
-Dusemultiplicity -Dcc=gcc -Accflags=-m64 -mcpu=v9'
    hint=recommended, useposix=true, d_sigaction=define
    usethreads=define use5005threads=undef useithreads=define 
usemultiplicity=define
    useperlio=define d_sfio=undef uselargefiles=define usesocks=undef
    use64bitint=define use64bitall=define uselongdouble=undef
    usemymalloc=n, bincompat5005=undef
  Compiler:
    cc='gcc', ccflags ='-D_REENTRANT -mcpu=v9 -m64 -Wa,-xarch=v9 -m64 
-mcpu=v9 -fno-strict-aliasing -pipe -I/usr/local/inc
lude -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DPERL_USE_SAFE_PUTENV 
-DPERL_USE_SAFE_PUTENV -DPERL_USE_SAFE_PUTENV -DPER
L_USE_SAFE_PUTENV -DPERL_USE_SAFE_PUTENV -DPERL_USE_SAFE_PUTENV 
-DPERL_USE_SAFE_PUTENV -DPERL_USE_SAFE_PUTENV -DPERL_USE_S
AFE_PUTENV -DPERL_USE_SAFE_PUTENV -DPERL_USE_SAFE_PUTENV 
-DPERL_USE_SAFE_PUTENV -DPERL_USE_SAFE_PUTENV -DPERL_USE_SAFE_PUT
ENV -DPERL_USE_SAFE_PUTENV',
    optimize='-O',
    cppflags='-D_REENTRANT -mcpu=v9 -m64 -Wa,-xarch=v9 -m64 -mcpu=v9 
-fno-strict-aliasing -pipe -I/usr/local/include'
    ccversion='', gccversion='3.3.2', gccosandvers='solaris2.10'
    intsize=4, longsize=8, ptrsize=8, doublesize=8, byteorder=87654321
    d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=16
    ivtype='long', ivsize=8, nvtype='double', nvsize=8, Off_t='off_t', 
lseeksize=8
    alignbytes=8, prototype=define
  Linker and Libraries:
    ld='gcc', ldflags =' -m64 -L/usr/lib/sparcv9 -L/usr/local/lib '
    libpth=/usr/lib/sparcv9 /usr/local/lib /usr/lib /usr/ccs/lib
    libs=-lsocket -lnsl -ldl -lm -lpthread -lc
    perllibs=-lsocket -lnsl -ldl -lm -lpthread -lc
    libc=/usr/lib/sparcv9/libc.so, so=so, useshrplib=false, 
libperl=libperl.a
    gnulibc_version=''
  Dynamic Linking:
    dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags=' '
    cccdlflags='-fPIC', lddlflags=' -G -m64 -L/usr/lib/sparcv9 
-L/usr/local/lib'


Characteristics of this binary (from libperl):
  Compile-time options: MULTIPLICITY PERL_IMPLICIT_CONTEXT
                        PERL_MALLOC_WRAP PERL_USE_SAFE_PUTENV
                        USE_64_BIT_ALL USE_64_BIT_INT USE_ITHREADS
                        USE_LARGE_FILES USE_PERLIO USE_REENTRANT_API
  Built under solaris
  Compiled at Jun 28 2006 00:10:10
  %ENV:
    PERL_LWP_USE_HTTP_10="1"
  @INC:
    /usr/local/lib/perl5/5.8.8/sun4-solaris-thread-multi-64
    /usr/local/lib/perl5/5.8.8
    /usr/local/lib/perl5/site_perl/5.8.8/sun4-solaris-thread-multi-64
    /usr/local/lib/perl5/site_perl/5.8.8
    /usr/local/lib/perl5/site_perl
    .

*** Packages of interest status:

Apache2            : -
Apache2::Request   : -
CGI                : 3.20
ExtUtils::MakeMaker: 6.30
LWP                : 5.805
mod_perl           : -
mod_perl2          : -


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

n/a

This report was generated by t/REPORT on Wed Aug  9 04:02:56 2006 GMT.


------------------
Thanks
Marc 

Re: [mp2] t/api/status FAILED tests 4-5, t/apache/content_length_header FAILED test 17

Posted by "Philip M. Gollucci" <pg...@p6m7g8.com>.
Marc Esser wrote:
> # Failed test 4 in t/api/status.t at line 35
> # Failed test 5 in t/api/status.t at line 36
> # expected: 499
> # received: 200
> not ok 4
> # testing : code message
> # expected: FooBared
> # received: OK
> not ok 5
> # testing : HEAD /TestApache__content_length_header?set_content_length
> C-L header
> # expected: undef
> # received: 25
> not ok 17
> FAILED test 17

This has been fixed in SVN over 1 month ago. This is from upstream httpd changes.
Only the mod_perl test suite was updated. This is EXPECTED.  Please read the archives of this this.

I think this solves, I'm adding the "Expected Test Failures Page" and pushing for the 2.0.3 release.
I don't think I can answer this question again.



-- 
------------------------------------------------------------------------
Philip M. Gollucci (pgollucci@p6m7g8.com) 323.219.4708
Consultant / http://p6m7g8.net/Resume/resume.shtml
Senior Software Engineer - TicketMaster - http://ticketmaster.com
1024D/A79997FA F357 0FDD 2301 6296 690F  6A47 D55A 7172 A799 97F

"In all that I've done wrong I know I must have done something right to
deserve a hug every morning and butterfly kisses at night."