Re: [mp2] t/hooks/authz.t and t/hooks/authen_basic.t fail

Fred Moyer <[email protected]>
Newsgroups gmane.comp.apache.mod-perl
Message-ID <[email protected]>
Should be ok to use this.  I've seen this failure before but haven't
been able to reproduce or really look into it.

On Sat, Mar 20, 2010 at 5:30 AM, John Sharpe <[email protected]> wrote:
>
> Ubuntu 8.04
>
> $ make test TEST_VERBOSE=1 TEST_FILES="hooks/authz.t hooks/authen_basic.t"
>
> Test Summary Report
> -------------------
> t/hooks/authz.t       (Wstat: 0 Tests: 4 Failed: 1)
>  Failed test:  4
> t/hooks/authen_basic.t (Wstat: 0 Tests: 4 Failed: 1)
>  Failed test:  4
> Files=2, Tests=8,  2 wallclock secs ( 0.03 usr  0.00 sys +  0.81 cusr  0.12
> csys =  0.96 CPU)
> Result: FAIL
> Failed 2/2 test programs. 2/8 subtests failed.
> [warning] server localhost:8529 shutdown
> [  error] error running tests (please examine t/logs/error_log)
> +--------------------------------------------------------+
> | Please file a bug report: http://perl.apache.org/bugs/ |
> +--------------------------------------------------------+
> make: *** [run_tests] Error 1
>
> $ cat t/logs/error.log
>
> END in modperl_extra.pl, pid=6658
> [Sat Mar 20 11:06:50 2010] [notice] Apache/2.2.15 (Unix) world domination
> series/2.0 mod_perl/2.0.4 Perl/v5.10.1 configured -- resuming normal
> operations
> [Sat Mar 20 11:06:50 2010] [info] Server built: Mar 20 2010 07:17:32
> [Sat Mar 20 11:06:50 2010] [debug] prefork.c(1013): AcceptMutex: sysvsem
> (default: sysvsem)
> [Sat Mar 20 11:06:52 2010] [info] Child process pid=6673 is exiting
> [Sat Mar 20 11:06:52 2010] [info] Child process pid=6673 is exiting - server
> push
> END in modperl_extra.pl, pid=6673
> [Sat Mar 20 11:06:52 2010] [info] Child process pid=6672 is exiting
> [Sat Mar 20 11:06:52 2010] [info] Child process pid=6672 is exiting - server
> push
> END in modperl_extra.pl, pid=6672
> [Sat Mar 20 11:06:52 2010] [info] removed PID file
> /home/john/mod_perl-2.0.4/t/logs/httpd.pid (pid=6665)
> [Sat Mar 20 11:06:52 2010] [notice] caught SIGTERM, shutting down
> END in modperl_extra.pl, pid=6665
>
>
> $ cd ModPerl-Registry
> $ t/TEST -clean
> [warning] setting ulimit to allow core files
> ulimit -c unlimited; /opt/perl/bin/perl
> /home/john/mod_perl-2.0.4/ModPerl-Registry/t/TEST -clean
>
> $ t/TEST -verbose closure.t
> [warning] setting ulimit to allow core files
> ulimit -c unlimited; /opt/perl/bin/perl
> /home/john/mod_perl-2.0.4/ModPerl-Registry/t/TEST -verbose 'closure.t'
> /opt/httpd/bin/httpd  -d /home/john/mod_perl-2.0.4/ModPerl-Registry/t -f
> /home/john/mod_perl-2.0.4/ModPerl-Registry/t/conf/httpd.conf -D APACHE2
> using Apache/2.2.15 (prefork MPM)
>
> waiting 90 seconds for server to start: ..
> waiting 90 seconds for server to start: ok (waited 0 secs)
> server localhost:8529 started
> t/closure.t ..
> 1..6
> # Running under perl version 5.010001 for linux
> # Current time local: Sat Mar 20 11:35:02 2010
> # Current time GMT:   Sat Mar 20 11:35:02 2010
> # Using Test.pm version 1.25_02
> # Using Apache/Test.pm version 1.31
> # testing : never the closure problem
> # expected: 0
> # received: 0
> ok 1
> # testing : never the closure problem
> # expected: 1
> # received: 1
> ok 2
> # testing : the closure problem should exist
> # expected: 1
> # received: 1
> ok 3
> # testing : no closure on the first request
> # expected: 1
> # received: 1
> ok 4
> # testing : the closure problem should exist
> # expected: 1
> # received: 1
> ok 5
> # testing : no reload on modification, the closure problem persists
> # expected: 1
> # received: 1
> ok 6
> ok
> All tests successful.
> Files=1, Tests=6,  1 wallclock secs ( 0.04 usr  0.01 sys +  0.45 cusr  0.05
> csys =  0.55 CPU)
> Result: PASS
> [warning] server localhost:8529 shutdown
>
> --------------------
>
> -------------8<---------- Start Bug Report ------------8<----------
> 1. Problem Description:
>
>  [DESCRIBE THE PROBLEM HERE]
>
> 2. Used Components and their Configuration:
>
> *** mod_perl version 2.000004
>
> *** using /home/john/mod_perl-2.0.4/lib/Apache2/BuildConfig.pm
>
> *** Makefile.PL options:
>  MP_APR_LIB     => aprext
>  MP_AP_PREFIX   => /opt/httpd
>  MP_COMPAT_1X   => 1
>  MP_GENERATE_XS => 1
>  MP_LIBNAME     => mod_perl
>  MP_USE_DSO     => 1
>
>
> *** /opt/httpd/bin/httpd -V
> Server version: Apache/2.2.15 (Unix)
> Server built:   Mar 20 2010 07:17:32
> Server's Module Magic Number: 20051115:24
> Server loaded:  APR 1.4.2, APR-Util 1.3.9
> Compiled using: APR 1.4.2, APR-Util 1.3.9
> Architecture:   32-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_SYSVSEM_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="/opt/httpd"
> -D SUEXEC_BIN="/opt/httpd/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/bin/ldd /opt/httpd/bin/httpd
>       linux-gate.so.1 =>  (0xb7f77000)
>       libm.so.6 => /lib/tls/i686/cmov/libm.so.6 (0xb7f4c000)
>       libaprutil-1.so.0 => /opt/httpd/lib/libaprutil-1.so.0 (0xb7f30000)
>       libexpat.so.0 => /opt/httpd/lib/libexpat.so.0 (0xb7f12000)
>       libapr-1.so.0 => /opt/httpd/lib/libapr-1.so.0 (0xb7eea000)
>       librt.so.1 => /lib/tls/i686/cmov/librt.so.1 (0xb7ee1000)
>       libcrypt.so.1 => /lib/tls/i686/cmov/libcrypt.so.1 (0xb7eaf000)
>       libpthread.so.0 => /lib/tls/i686/cmov/libpthread.so.0 (0xb7e97000)
>       libdl.so.2 => /lib/tls/i686/cmov/libdl.so.2 (0xb7e92000)
>       libc.so.6 => /lib/tls/i686/cmov/libc.so.6 (0xb7d43000)
>       /lib/ld-linux.so.2 (0xb7f78000)
>
>
> *** (apr|apu)-config linking info
>
> -L/opt/httpd/lib -laprutil-1     -lexpat
> -L/opt/httpd/lib -lapr-1 -lrt -lcrypt  -lpthread -ldl
>
>
>
> *** /opt/perl/bin/perl -V
> Summary of my perl5 (revision 5 version 10 subversion 1) configuration:
>
>  Platform:
>   osname=linux, osvers=2.6.24-26-server, archname=i686-linux
>   uname='linux ubuntu 2.6.24-26-server #1 smp tue dec 1 19:19:20 utc 2009
> i686 gnulinux '
>   config_args='-des -Dprefix=/opt/perl -Uusethreads'
>   hint=recommended, useposix=true, d_sigaction=define
>   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 ='-fno-strict-aliasing -pipe -fstack-protector
> -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',
>   optimize='-O2',
>   cppflags='-fno-strict-aliasing -pipe -fstack-protector
> -I/usr/local/include'
>   ccversion='', gccversion='4.2.4 (Ubuntu 4.2.4-1ubuntu4)', gccosandvers=''
>   intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=1234
>   d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=12
>   ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t',
> lseeksize=8
>   alignbytes=4, prototype=define
>  Linker and Libraries:
>   ld='cc', ldflags =' -fstack-protector -L/usr/local/lib'
>   libpth=/usr/local/lib /lib /usr/lib
>   libs=-lnsl -ldl -lm -lcrypt -lutil -lc
>   perllibs=-lnsl -ldl -lm -lcrypt -lutil -lc
>   libc=/lib/libc-2.7.so, so=so, useshrplib=false, libperl=libperl.a
>   gnulibc_version='2.7'
>  Dynamic Linking:
>   dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-Wl,-E'
>   cccdlflags='-fPIC', lddlflags='-shared -O2 -L/usr/local/lib
> -fstack-protector'
>
>
> Characteristics of this binary (from libperl):
>  Compile-time options: PERL_DONT_CREATE_GVSV PERL_MALLOC_WRAP
>                       USE_LARGE_FILES USE_PERLIO
>  Built under linux
>  Compiled at Mar 20 2010 07:25:37
>  %ENV:
>   PERL_LWP_USE_HTTP_10="1"
>  @INC:
>   /opt/perl/lib/5.10.1/i686-linux
>   /opt/perl/lib/5.10.1
>   /opt/perl/lib/site_perl/5.10.1/i686-linux
>   /opt/perl/lib/site_perl/5.10.1
>   .
>
> *** Packages of interest status:
>
> Apache2            : -
> Apache2::Request   : -
> CGI                : 3.43
> ExtUtils::MakeMaker: 6.55_02
> LWP                : 5.834
> mod_perl           : -
> mod_perl2          : 2.000004
>
>
> 3. This is the core dump trace: (if you get a core dump):
>
>  [CORE TRACE COMES HERE]
>
> This report was generated by t/REPORT on Sat Mar 20 11:45:12 2010 GMT.
>
> -------------8<---------- End Bug Report --------------8<----------
>
> Note: Complete the rest of the details and post this bug report to
> modperl <at> perl.apache.org. To subscribe to the list send an empty
> email to [email protected].
>
>
> -------------------------------
>
> $ perl t/hooks/authz.t
> 1..4
> # Running under perl version 5.010001 for linux
> # Current time local: Sat Mar 20 12:11:07 2010
> # Current time GMT:   Sat Mar 20 12:11:07 2010
> # Using Test.pm version 1.25_02
> # Using Apache/Test.pm version 1.31
> ok 1
> not ok 2
> # Failed test 2 in t/hooks/authz.t at line 15
> not ok 3
> # Failed test 3 in t/hooks/authz.t at line 17
> ok 4
>
> $ perl t/hooks/authen_basic.t
> 1..4
> # Running under perl version 5.010001 for linux
> # Current time local: Sat Mar 20 12:12:14 2010
> # Current time GMT:   Sat Mar 20 12:12:14 2010
> # Using Test.pm version 1.25_02
> # Using Apache/Test.pm version 1.31
> ok 1
> not ok 2
> # Failed test 2 in t/hooks/authen_basic.t at line 18
> not ok 3
> # Failed test 3 in t/hooks/authen_basic.t at line 22
> ok 4
>
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.