perl-modperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Doug Schrag" <dsch...@oneupweb.com>
Subject [mp2] Test failures with new Perls (patch included)
Date Fri, 29 Oct 2010 17:19:56 GMT
-------------8<---------- Start Bug Report ------------8<----------
1. Problem Description:

[mp2] Test failures with new Perls (patch included)

Ref Message: Build fail on Ubuntu Sep 29, 2010

My issue is on a fresh install of CentOS 5.5

a. Authentication tests fail with LWP 5.815 and later
   Only test failures, induced by change to LWP
   * New versions of LWP preserve credentials across fetches with the same
     user agent. Attempts to test failure after successful authentication
     don't succeed (authentication succeeds when it should fail)
   * Apache::TestRequest provides a way to reset the user agent
   * Patched t/hooks/authen_basic.t and t/hooks/authz.t to reset the agent
     appropriately

b. Apache2::Status crashes server during B::Concise test
   * Actual problem when Apache2::Status::noh_b_terse calls has($r,"terse")
   * Test via status_config() emits a warning when "StatusTerse" config
     option is undefined
   * Warnings are FATAL, so server crashes
   * Patched Apache2/Status.pm so status_config() and sysdump() won't emit
     warnings [2.0.5-dev looks already patched for status_config() only]

c. B::Concise test won't perform unless StatusTerse is set to ON
   * Patched t/conf/extra.conf.in as follows:

    <Location /status/perl>
        PerlSetVar StatusTerse On
    </Location>

   * eval of B::Concise::compile in Apache2::Status::noh_b_terse now succeeds
   * t/logs/error_log then shows warning noise for the 'slow' test (non-fatal)
   * Don't know if this is backward-compatible or entirely correct

2. Used Components and their Configuration:

*** mod_perl version 2.000004

*** using /usr/local/src/apache/mod_perl-2.0.4/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.17 (Unix)
Server built:   Oct 25 2010 16:25:37
Server's Module Magic Number: 20051115:25
Server loaded:  APR 1.4.2, APR-Util 1.3.10
Compiled using: APR 1.4.2, APR-Util 1.3.10
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="/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/bin/ldd /usr/local/apache2/bin/httpd
	linux-gate.so.1 =>  (0x00ff0000)
	libm.so.6 => /lib/libm.so.6 (0x008c1000)
	libaprutil-1.so.0 => /usr/local/apache2/lib/libaprutil-1.so.0 (0x00f6f000)
	libexpat.so.0 => /usr/local/apache2/lib/libexpat.so.0 (0x00d04000)
	libapr-1.so.0 => /usr/local/apache2/lib/libapr-1.so.0 (0x00e0f000)
	libuuid.so.1 => /lib/libuuid.so.1 (0x03176000)
	librt.so.1 => /lib/librt.so.1 (0x0091c000)
	libcrypt.so.1 => /lib/libcrypt.so.1 (0x033c3000)
	libpthread.so.0 => /lib/libpthread.so.0 (0x008ec000)
	libdl.so.2 => /lib/libdl.so.2 (0x008ba000)
	libc.so.6 => /lib/libc.so.6 (0x00760000)
	/lib/ld-linux.so.2 (0x00741000)


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

 -L/usr/local/apache2/lib -laprutil-1     -lexpat 
 -L/usr/local/apache2/lib -lapr-1 -luuid -lrt -lcrypt  -lpthread -ldl 



*** /usr/local/bin/perl -V
Summary of my perl5 (revision 5 version 12 subversion 2) configuration:
   
  Platform:
    osname=linux, osvers=2.6.18-194.17.1.el5, archname=i686-linux
    uname='linux harriet.int.sodoit.com 2.6.18-194.17.1.el5 #1 smp wed sep 29 12:51:33 edt
2010 i686 i686 i386 gnulinux '
    config_args='-de'
    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.1.2 20080704 (Red Hat 4.1.2-48)', 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.5.so, so=so, useshrplib=false, libperl=libperl.a
    gnulibc_version='2.5'
  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 USE_PERL_ATOF
  Built under linux
  Compiled at Oct 21 2010 16:53:19
  %ENV:
    PERL5LIB=":/usr/local/sodoit/mg4/current/modules"
    PERL_LWP_USE_HTTP_10="1"
  @INC:
    /usr/local/sodoit/mg4/current/modules
    /usr/local/lib/perl5/site_perl/5.12.2/i686-linux
    /usr/local/lib/perl5/site_perl/5.12.2
    /usr/local/lib/perl5/5.12.2/i686-linux
    /usr/local/lib/perl5/5.12.2
    .

*** Packages of interest status:

Apache2            : -
Apache2::Request   : -
CGI                : 3.49
ExtUtils::MakeMaker: 6.56
LWP                : 5.837
mod_perl           : -
mod_perl2          : -

3. Patch follows:

--- lib/Apache2/Status.pm.org	2007-12-31 02:50:48.000000000 -0500
+++ lib/Apache2/Status.pm	2010-10-28 15:53:28.000000000 -0400
@@ -95,8 +95,9 @@
 
 sub status_config {
     my ($r, $key) = @_;
-    return (lc($r->dir_config($key)) eq "on") ||
-        (lc($r->dir_config('StatusOptionsAll')) eq "on");
+    # lc generates a (FATAL) warning if arg is undef
+    return (lc($r->dir_config($key) || "") eq "on") ||
+        (lc($r->dir_config('StatusOptionsAll') || "") eq "on");
 }
 
 sub menu_item {
@@ -178,7 +179,8 @@
 
     return install_hint("Devel::Symdump") unless has($r, "symdump");
 
-    my $meth = lc($r->dir_config("StatusRdump")) eq "on"
+    # lc generates a (FATAL) warning if arg is undef
+    my $meth = lc($r->dir_config("StatusRdump")||"") eq "on"
         ? "rnew" : "new";
     my $sob = Devel::Symdump->$meth($package);
     return $sob->Apache2::Status::as_HTML($package, $r);
--- t/hooks/authz.t.org	2007-11-12 00:34:00.000000000 -0500
+++ t/hooks/authz.t	2010-10-28 16:01:48.000000000 -0400
@@ -16,6 +16,9 @@
 
 ok GET_OK $location, username => 'dougm', password => 'foo';
 
+# since LWP 5.815, the user agent retains credentials
+# tell Apache::TestRequest to reinitialize its global agent
+Apache::TestRequest::user_agent(reset => 1);
 ok ! GET_OK $location, username => 'jobbob', password => 'whatever';
 
 
--- t/hooks/authen_basic.t.org	2007-11-12 00:34:00.000000000 -0500
+++ t/hooks/authen_basic.t	2010-10-28 16:01:46.000000000 -0400
@@ -21,6 +21,9 @@
     GET_OK $location, username => 'dougm', password => 'foo';
 };
 
+# since LWP 5.815, the user agent retains credentials
+# tell Apache::TestRequest to reinitialize its global agent
+Apache::TestRequest::user_agent(reset => 1);
 sok {
     ! GET_OK $location, username => 'dougm', password => 'wrong';
 };
--- t/conf/extra.conf.in.org	2007-11-12 00:34:05.000000000 -0500
+++ t/conf/extra.conf.in	2010-10-26 17:01:44.000000000 -0400
@@ -83,7 +83,7 @@
 #    PerlSetVar StatusLexInfo On
 #    PerlSetVar StatusDeparse On
 #    PerlSetVar StatusDeparseOptions "-p -sC"
-#    PerlSetVar StatusTerse On
+    PerlSetVar StatusTerse On
 #    PerlSetVar StatusTerseSize On
 #    PerlSetVar StatusTerseSizeMainSummary On
     SetHandler modperl
--- End Patch ---

4. This is the result of failed tests::

cd "src/modules/perl" && make
make[1]: Entering directory `/usr/local/src/apache/mod_perl-2.0.4/src/modules/perl'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/usr/local/src/apache/mod_perl-2.0.4/src/modules/perl'
make[1]: Entering directory `/usr/local/src/apache/mod_perl-2.0.4/Apache-Test'
make[1]: Leaving directory `/usr/local/src/apache/mod_perl-2.0.4/Apache-Test'
make[1]: Entering directory `/usr/local/src/apache/mod_perl-2.0.4/ModPerl-Registry'
make[1]: Leaving directory `/usr/local/src/apache/mod_perl-2.0.4/ModPerl-Registry'
make[1]: Entering directory `/usr/local/src/apache/mod_perl-2.0.4/WrapXS'
make[2]: Entering directory `/usr/local/src/apache/mod_perl-2.0.4/WrapXS/APR'
make[3]: Entering directory `/usr/local/src/apache/mod_perl-2.0.4/WrapXS/APR/Base64'
make[3]: Leaving directory `/usr/local/src/apache/mod_perl-2.0.4/WrapXS/APR/Base64'
make[3]: Entering directory `/usr/local/src/apache/mod_perl-2.0.4/WrapXS/APR/Brigade'
make[3]: Leaving directory `/usr/local/src/apache/mod_perl-2.0.4/WrapXS/APR/Brigade'
make[3]: Entering directory `/usr/local/src/apache/mod_perl-2.0.4/WrapXS/APR/Bucket'
make[3]: Leaving directory `/usr/local/src/apache/mod_perl-2.0.4/WrapXS/APR/Bucket'
make[3]: Entering directory `/usr/local/src/apache/mod_perl-2.0.4/WrapXS/APR/BucketAlloc'
make[3]: Leaving directory `/usr/local/src/apache/mod_perl-2.0.4/WrapXS/APR/BucketAlloc'
make[3]: Entering directory `/usr/local/src/apache/mod_perl-2.0.4/WrapXS/APR/BucketType'
make[3]: Leaving directory `/usr/local/src/apache/mod_perl-2.0.4/WrapXS/APR/BucketType'
make[3]: Entering directory `/usr/local/src/apache/mod_perl-2.0.4/WrapXS/APR/Date'
make[3]: Leaving directory `/usr/local/src/apache/mod_perl-2.0.4/WrapXS/APR/Date'
make[3]: Entering directory `/usr/local/src/apache/mod_perl-2.0.4/WrapXS/APR/Error'
make[3]: Leaving directory `/usr/local/src/apache/mod_perl-2.0.4/WrapXS/APR/Error'
make[3]: Entering directory `/usr/local/src/apache/mod_perl-2.0.4/WrapXS/APR/Finfo'
make[3]: Leaving directory `/usr/local/src/apache/mod_perl-2.0.4/WrapXS/APR/Finfo'
make[3]: Entering directory `/usr/local/src/apache/mod_perl-2.0.4/WrapXS/APR/IpSubnet'
make[3]: Leaving directory `/usr/local/src/apache/mod_perl-2.0.4/WrapXS/APR/IpSubnet'
make[3]: Entering directory `/usr/local/src/apache/mod_perl-2.0.4/WrapXS/APR/OS'
make[3]: Leaving directory `/usr/local/src/apache/mod_perl-2.0.4/WrapXS/APR/OS'
make[3]: Entering directory `/usr/local/src/apache/mod_perl-2.0.4/WrapXS/APR/Pool'
make[3]: Leaving directory `/usr/local/src/apache/mod_perl-2.0.4/WrapXS/APR/Pool'
make[3]: Entering directory `/usr/local/src/apache/mod_perl-2.0.4/WrapXS/APR/SockAddr'
make[3]: Leaving directory `/usr/local/src/apache/mod_perl-2.0.4/WrapXS/APR/SockAddr'
make[3]: Entering directory `/usr/local/src/apache/mod_perl-2.0.4/WrapXS/APR/Socket'
make[3]: Leaving directory `/usr/local/src/apache/mod_perl-2.0.4/WrapXS/APR/Socket'
make[3]: Entering directory `/usr/local/src/apache/mod_perl-2.0.4/WrapXS/APR/Status'
make[3]: Leaving directory `/usr/local/src/apache/mod_perl-2.0.4/WrapXS/APR/Status'
make[3]: Entering directory `/usr/local/src/apache/mod_perl-2.0.4/WrapXS/APR/String'
make[3]: Leaving directory `/usr/local/src/apache/mod_perl-2.0.4/WrapXS/APR/String'
make[3]: Entering directory `/usr/local/src/apache/mod_perl-2.0.4/WrapXS/APR/Table'
make[3]: Leaving directory `/usr/local/src/apache/mod_perl-2.0.4/WrapXS/APR/Table'
make[3]: Entering directory `/usr/local/src/apache/mod_perl-2.0.4/WrapXS/APR/ThreadMutex'
make[3]: Leaving directory `/usr/local/src/apache/mod_perl-2.0.4/WrapXS/APR/ThreadMutex'
make[3]: Entering directory `/usr/local/src/apache/mod_perl-2.0.4/WrapXS/APR/ThreadRWLock'
make[3]: Leaving directory `/usr/local/src/apache/mod_perl-2.0.4/WrapXS/APR/ThreadRWLock'
make[3]: Entering directory `/usr/local/src/apache/mod_perl-2.0.4/WrapXS/APR/URI'
make[3]: Leaving directory `/usr/local/src/apache/mod_perl-2.0.4/WrapXS/APR/URI'
make[3]: Entering directory `/usr/local/src/apache/mod_perl-2.0.4/WrapXS/APR/UUID'
make[3]: Leaving directory `/usr/local/src/apache/mod_perl-2.0.4/WrapXS/APR/UUID'
make[3]: Entering directory `/usr/local/src/apache/mod_perl-2.0.4/WrapXS/APR/Util'
make[3]: Leaving directory `/usr/local/src/apache/mod_perl-2.0.4/WrapXS/APR/Util'
make[2]: Leaving directory `/usr/local/src/apache/mod_perl-2.0.4/WrapXS/APR'
make[2]: Entering directory `/usr/local/src/apache/mod_perl-2.0.4/WrapXS/Apache2'
make[3]: Entering directory `/usr/local/src/apache/mod_perl-2.0.4/WrapXS/Apache2/Access'
make[3]: Leaving directory `/usr/local/src/apache/mod_perl-2.0.4/WrapXS/Apache2/Access'
make[3]: Entering directory `/usr/local/src/apache/mod_perl-2.0.4/WrapXS/Apache2/CmdParms'
make[3]: Leaving directory `/usr/local/src/apache/mod_perl-2.0.4/WrapXS/Apache2/CmdParms'
make[3]: Entering directory `/usr/local/src/apache/mod_perl-2.0.4/WrapXS/Apache2/Command'
make[3]: Leaving directory `/usr/local/src/apache/mod_perl-2.0.4/WrapXS/Apache2/Command'
make[3]: Entering directory `/usr/local/src/apache/mod_perl-2.0.4/WrapXS/Apache2/Connection'
make[3]: Leaving directory `/usr/local/src/apache/mod_perl-2.0.4/WrapXS/Apache2/Connection'
make[3]: Entering directory `/usr/local/src/apache/mod_perl-2.0.4/WrapXS/Apache2/ConnectionUtil'
make[3]: Leaving directory `/usr/local/src/apache/mod_perl-2.0.4/WrapXS/Apache2/ConnectionUtil'
make[3]: Entering directory `/usr/local/src/apache/mod_perl-2.0.4/WrapXS/Apache2/Directive'
make[3]: Leaving directory `/usr/local/src/apache/mod_perl-2.0.4/WrapXS/Apache2/Directive'
make[3]: Entering directory `/usr/local/src/apache/mod_perl-2.0.4/WrapXS/Apache2/Filter'
make[3]: Leaving directory `/usr/local/src/apache/mod_perl-2.0.4/WrapXS/Apache2/Filter'
make[3]: Entering directory `/usr/local/src/apache/mod_perl-2.0.4/WrapXS/Apache2/FilterRec'
make[3]: Leaving directory `/usr/local/src/apache/mod_perl-2.0.4/WrapXS/Apache2/FilterRec'
make[3]: Entering directory `/usr/local/src/apache/mod_perl-2.0.4/WrapXS/Apache2/HookRun'
make[3]: Leaving directory `/usr/local/src/apache/mod_perl-2.0.4/WrapXS/Apache2/HookRun'
make[3]: Entering directory `/usr/local/src/apache/mod_perl-2.0.4/WrapXS/Apache2/Log'
make[3]: Leaving directory `/usr/local/src/apache/mod_perl-2.0.4/WrapXS/Apache2/Log'
make[3]: Entering directory `/usr/local/src/apache/mod_perl-2.0.4/WrapXS/Apache2/MPM'
make[3]: Leaving directory `/usr/local/src/apache/mod_perl-2.0.4/WrapXS/Apache2/MPM'
make[3]: Entering directory `/usr/local/src/apache/mod_perl-2.0.4/WrapXS/Apache2/Module'
make[3]: Leaving directory `/usr/local/src/apache/mod_perl-2.0.4/WrapXS/Apache2/Module'
make[3]: Entering directory `/usr/local/src/apache/mod_perl-2.0.4/WrapXS/Apache2/Process'
make[3]: Leaving directory `/usr/local/src/apache/mod_perl-2.0.4/WrapXS/Apache2/Process'
make[3]: Entering directory `/usr/local/src/apache/mod_perl-2.0.4/WrapXS/Apache2/RequestIO'
make[3]: Leaving directory `/usr/local/src/apache/mod_perl-2.0.4/WrapXS/Apache2/RequestIO'
make[3]: Entering directory `/usr/local/src/apache/mod_perl-2.0.4/WrapXS/Apache2/RequestRec'
make[3]: Leaving directory `/usr/local/src/apache/mod_perl-2.0.4/WrapXS/Apache2/RequestRec'
make[3]: Entering directory `/usr/local/src/apache/mod_perl-2.0.4/WrapXS/Apache2/RequestUtil'
make[3]: Leaving directory `/usr/local/src/apache/mod_perl-2.0.4/WrapXS/Apache2/RequestUtil'
make[3]: Entering directory `/usr/local/src/apache/mod_perl-2.0.4/WrapXS/Apache2/Response'
make[3]: Leaving directory `/usr/local/src/apache/mod_perl-2.0.4/WrapXS/Apache2/Response'
make[3]: Entering directory `/usr/local/src/apache/mod_perl-2.0.4/WrapXS/Apache2/ServerRec'
make[3]: Leaving directory `/usr/local/src/apache/mod_perl-2.0.4/WrapXS/Apache2/ServerRec'
make[3]: Entering directory `/usr/local/src/apache/mod_perl-2.0.4/WrapXS/Apache2/ServerUtil'
make[3]: Leaving directory `/usr/local/src/apache/mod_perl-2.0.4/WrapXS/Apache2/ServerUtil'
make[3]: Entering directory `/usr/local/src/apache/mod_perl-2.0.4/WrapXS/Apache2/SubProcess'
make[3]: Leaving directory `/usr/local/src/apache/mod_perl-2.0.4/WrapXS/Apache2/SubProcess'
make[3]: Entering directory `/usr/local/src/apache/mod_perl-2.0.4/WrapXS/Apache2/SubRequest'
make[3]: Leaving directory `/usr/local/src/apache/mod_perl-2.0.4/WrapXS/Apache2/SubRequest'
make[3]: Entering directory `/usr/local/src/apache/mod_perl-2.0.4/WrapXS/Apache2/URI'
make[3]: Leaving directory `/usr/local/src/apache/mod_perl-2.0.4/WrapXS/Apache2/URI'
make[3]: Entering directory `/usr/local/src/apache/mod_perl-2.0.4/WrapXS/Apache2/Util'
make[3]: Leaving directory `/usr/local/src/apache/mod_perl-2.0.4/WrapXS/Apache2/Util'
make[2]: Leaving directory `/usr/local/src/apache/mod_perl-2.0.4/WrapXS/Apache2'
make[2]: Entering directory `/usr/local/src/apache/mod_perl-2.0.4/WrapXS/ModPerl'
make[3]: Entering directory `/usr/local/src/apache/mod_perl-2.0.4/WrapXS/ModPerl/Global'
make[3]: Leaving directory `/usr/local/src/apache/mod_perl-2.0.4/WrapXS/ModPerl/Global'
make[3]: Entering directory `/usr/local/src/apache/mod_perl-2.0.4/WrapXS/ModPerl/Util'
make[3]: Leaving directory `/usr/local/src/apache/mod_perl-2.0.4/WrapXS/ModPerl/Util'
make[2]: Leaving directory `/usr/local/src/apache/mod_perl-2.0.4/WrapXS/ModPerl'
make[1]: Leaving directory `/usr/local/src/apache/mod_perl-2.0.4/WrapXS'
make[1]: Entering directory `/usr/local/src/apache/mod_perl-2.0.4/xs'
make[2]: Entering directory `/usr/local/src/apache/mod_perl-2.0.4/xs/APR'
make[3]: Entering directory `/usr/local/src/apache/mod_perl-2.0.4/xs/APR/APR'
make[3]: Leaving directory `/usr/local/src/apache/mod_perl-2.0.4/xs/APR/APR'
make[3]: Entering directory `/usr/local/src/apache/mod_perl-2.0.4/xs/APR/Const'
make[3]: Leaving directory `/usr/local/src/apache/mod_perl-2.0.4/xs/APR/Const'
make[3]: Entering directory `/usr/local/src/apache/mod_perl-2.0.4/xs/APR/PerlIO'
make[3]: Leaving directory `/usr/local/src/apache/mod_perl-2.0.4/xs/APR/PerlIO'
make[3]: Entering directory `/usr/local/src/apache/mod_perl-2.0.4/xs/APR/aprext'
make[3]: Leaving directory `/usr/local/src/apache/mod_perl-2.0.4/xs/APR/aprext'
make[2]: Leaving directory `/usr/local/src/apache/mod_perl-2.0.4/xs/APR'
make[2]: Entering directory `/usr/local/src/apache/mod_perl-2.0.4/xs/Apache2'
make[3]: Entering directory `/usr/local/src/apache/mod_perl-2.0.4/xs/Apache2/Const'
make[3]: Leaving directory `/usr/local/src/apache/mod_perl-2.0.4/xs/Apache2/Const'
make[2]: Leaving directory `/usr/local/src/apache/mod_perl-2.0.4/xs/Apache2'
make[2]: Entering directory `/usr/local/src/apache/mod_perl-2.0.4/xs/ModPerl'
make[3]: Entering directory `/usr/local/src/apache/mod_perl-2.0.4/xs/ModPerl/Const'
make[3]: Leaving directory `/usr/local/src/apache/mod_perl-2.0.4/xs/ModPerl/Const'
make[2]: Leaving directory `/usr/local/src/apache/mod_perl-2.0.4/xs/ModPerl'
make[1]: Leaving directory `/usr/local/src/apache/mod_perl-2.0.4/xs'
/usr/local/bin/perl -Iblib/arch -Iblib/lib \
	t/TEST -clean
[warning] setting ulimit to allow core files
ulimit -c unlimited; /usr/local/bin/perl /usr/local/src/apache/mod_perl-2.0.4/t/TEST -clean
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 t/hooks/authen_basic.t t/hooks/authz.t t/modules/apache_status.t
[warning] setting ulimit to allow core files
ulimit -c unlimited; /usr/local/bin/perl /usr/local/src/apache/mod_perl-2.0.4/t/TEST -bugreport
-verbose=1 't/hooks/authen_basic.t' 't/hooks/authz.t' 't/modules/apache_status.t'
/usr/local/apache2/bin/httpd  -d /usr/local/src/apache/mod_perl-2.0.4/t -f /usr/local/src/apache/mod_perl-2.0.4/t/conf/httpd.conf
-D APACHE2 
using Apache/2.2.17 (prefork MPM)

waiting 120 seconds for server to start: .[Fri Oct 29 11:14:17 2010] [info] 6 Apache2:: modules
loaded
[Fri Oct 29 11:14:17 2010] [info] 0 APR:: modules loaded
[Fri Oct 29 11:14:17 2010] [info] base server + 28 vhosts ready to run tests
.
waiting 120 seconds for server to start: ok (waited 0 secs)
server harriet.int.sodoit.com:8529 started
server harriet.int.sodoit.com:8530 listening (filter_out_apache)
server harriet.int.sodoit.com:8531 listening (perlsections)
server harriet.int.sodoit.com:8532 listening (inherit)
server harriet.int.sodoit.com:8533 listening (TestModules::proxy)
server harriet.int.sodoit.com:8534 listening (TestVhost::config)
server harriet.int.sodoit.com:8535 listening (TestVhost::log)
server harriet.int.sodoit.com:8536 listening (TestModperl::setupenv)
server harriet.int.sodoit.com:8537 listening (TestModperl::perl_options)
server harriet.int.sodoit.com:8538 listening (TestModperl::merge)
server harriet.int.sodoit.com:8539 listening (TestModperl::perl_options2)
server harriet.int.sodoit.com:8540 listening (TestUser::rewrite)
server harriet.int.sodoit.com:8541 listening (TestProtocol::echo_bbs)
server harriet.int.sodoit.com:8542 listening (TestProtocol::echo_nonblock)
server harriet.int.sodoit.com:8543 listening (TestProtocol::pseudo_http)
server harriet.int.sodoit.com:8544 listening (TestProtocol::echo_bbs2)
server harriet.int.sodoit.com:8545 listening (TestProtocol::echo_filter)
server harriet.int.sodoit.com:8546 listening (TestProtocol::echo_timeout)
server harriet.int.sodoit.com:8547 listening (TestProtocol::echo_block)
server harriet.int.sodoit.com:8548 listening (TestPreConnection::note)
server harriet.int.sodoit.com:8549 listening (TestHooks::startup)
server harriet.int.sodoit.com:8550 listening (TestHooks::trans)
server harriet.int.sodoit.com:8551 listening (TestHooks::stacked_handlers2)
server harriet.int.sodoit.com:8552 listening (TestHooks::init)
server harriet.int.sodoit.com:8553 listening (TestHooks::hookrun)
server harriet.int.sodoit.com:8554 listening (TestFilter::both_str_con_add)
server harriet.int.sodoit.com:8555 listening (TestFilter::in_str_msg)
server harriet.int.sodoit.com:8556 listening (TestFilter::in_bbs_inject_header)
server harriet.int.sodoit.com:8557 listening (TestFilter::in_bbs_msg)
server harriet.int.sodoit.com:8558 listening (TestDirective::perlmodule)
server harriet.int.sodoit.com:8559 listening (TestDirective::perlrequire)
server harriet.int.sodoit.com:8560 listening (TestDirective::perlloadmodule4)
server harriet.int.sodoit.com:8561 listening (TestDirective::perlloadmodule5)
server harriet.int.sodoit.com:8562 listening (TestDirective::perlloadmodule3)
server harriet.int.sodoit.com:8563 listening (TestAPI::add_config)
server harriet.int.sodoit.com:8564 listening (TestDirective::perlloadmodule6)
server harriet.int.sodoit.com:8565 listening (TestHooks::push_handlers_anon)
# Failed test 4 in t/hooks/authen_basic.t at line 26
t/hooks/authen_basic.t ..... 
1..4
# Running under perl version 5.012002 for linux
# Current time local: Fri Oct 29 11:14:18 2010
# Current time GMT:   Fri Oct 29 15:14:18 2010
# Using Test.pm version 1.25_02
# Using Apache/Test.pm version 1.31
ok 1
ok 2
ok 3
not ok 4
Failed 1/4 subtests 
# Failed test 4 in t/hooks/authz.t at line 19
t/hooks/authz.t ............ 
1..4
# Running under perl version 5.012002 for linux
# Current time local: Fri Oct 29 11:14:19 2010
# Current time GMT:   Fri Oct 29 15:14:19 2010
# Using Test.pm version 1.25_02
# Using Apache/Test.pm version 1.31
ok 1
ok 2
ok 3
not ok 4
Failed 1/4 subtests 
# Failed test 14 in t/modules/apache_status.t at line 47
# Failed test 15 in t/modules/apache_status.t at line 47 fail #2
t/modules/apache_status.t .. 
1..15
# Running under perl version 5.012002 for linux
# Current time local: Fri Oct 29 11:14:19 2010
# Current time GMT:   Fri Oct 29 15:14:19 2010
# Using Test.pm version 1.25_02
# Using Apache/Test.pm version 1.31
# expected: (?-xism:Embedded Perl version <b>v5.12.2</b> for)
# received: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
# "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
# 
# <html lang="en" xmlns="http://www.w3.org/1999/xhtml">
#   <head>
#     <title>Apache2::Status 4.00</title>
#     <style type="text/css">
#       body {
#         color: #000;
#         background-color: #fff;
#       }
#       p.hdr {
#         background-color: #ddd;
#         border: 2px outset;
#         padding: 3px;
#         width: 99%;
#      }
#    </style>
#   </head>
#   <body>
#     <p class="hdr">
#       Embedded Perl version <b>v5.12.2</b> for <b>Apache/2.2.17</b>
process <b>4740</b>,<br />
#       running since Fri Oct 29 11:14:17 2010
#     </p>
# <p><a href="/status/perl?env">Environment</a><br />
# <a href="/status/perl?inc">Loaded Modules</a><br />
# <a href="/status/perl?inh_tree">Inheritance Tree</a><br />
# <a href="/status/perl?isa_tree">ISA Tree</a><br />
# <a href="/status/perl?myconfig">Perl Configuration</a><br />
# <a href="/status/perl?rgysubs">Compiled Registry Scripts</a><br />
# <a href="/status/perl?script">PerlRequire'd Files</a><br />
# <a href="/status/perl?section_config">Perl Section Configuration</a><br />
# <a href="/status/perl?sig">Signal Handlers</a><br />
# <a href="/status/perl?symdump">Symbol Table Dump</a><br />
# <a href="/status/perl?test_menu">Test Menu Entry</a><br />
# </p></body></html>
ok 1
ok 2
ok 3
ok 4
ok 5
ok 6
ok 7
ok 8
ok 9
ok 10
ok 11
ok 12
ok 13
not ok 14
not ok 15
Failed 2/15 subtests 

Test Summary Report
-------------------
t/hooks/authen_basic.t   (Wstat: 0 Tests: 4 Failed: 1)
  Failed test:  4
t/hooks/authz.t          (Wstat: 0 Tests: 4 Failed: 1)
  Failed test:  4
t/modules/apache_status.t (Wstat: 0 Tests: 15 Failed: 2)
  Failed tests:  14-15
Files=3, Tests=23,  2 wallclock secs ( 0.03 usr  0.01 sys +  1.04 cusr  0.19 csys =  1.27
CPU)
Result: FAIL
Failed 3/3 test programs. 4/23 subtests failed.
[warning] server harriet.int.sodoit.com: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
-------------- t/logs/error_log ----------------------------------
END in modperl_extra.pl, pid=4731
[Fri Oct 29 11:14:18 2010] [notice] Apache/2.2.17 (Unix) world domination series/2.0 mod_perl/2.0.4
Perl/v5.12.2 configured -- resuming normal operations
[Fri Oct 29 11:14:18 2010] [info] Server built: Oct 25 2010 16:25:37
[Fri Oct 29 11:14:18 2010] [debug] prefork.c(1018): AcceptMutex: sysvsem (default: sysvsem)
[Fri Oct 29 11:14:20 2010] [error] [client 127.0.0.1] Use of uninitialized value in lc at
/usr/local/src/apache/mod_perl-2.0.4/blib/lib/Apache2/Status.pm line 181.\n
[Fri Oct 29 11:14:20 2010] [error] [client 127.0.0.1] Use of uninitialized value in lc at
/usr/local/src/apache/mod_perl-2.0.4/blib/lib/Apache2/Status.pm line 98.\n
[Fri Oct 29 11:14:20 2010] [error] [client 127.0.0.1] Use of uninitialized value in lc at
/usr/local/src/apache/mod_perl-2.0.4/blib/lib/Apache2/Status.pm line 98.\n
[Fri Oct 29 11:14:20 2010] [info] Child process pid=4740 is exiting
[Fri Oct 29 11:14:20 2010] [info] Child process pid=4740 is exiting - server push
END in modperl_extra.pl, pid=4740
[Fri Oct 29 11:14:20 2010] [info] Child process pid=4739 is exiting
[Fri Oct 29 11:14:20 2010] [info] Child process pid=4739 is exiting - server push
END in modperl_extra.pl, pid=4739
[Fri Oct 29 11:14:20 2010] [info] Child process pid=4757 is exiting
[Fri Oct 29 11:14:20 2010] [info] Child process pid=4757 is exiting - server push
END in modperl_extra.pl, pid=4757
[Fri Oct 29 11:14:20 2010] [info] removed PID file /usr/local/src/apache/mod_perl-2.0.4/t/logs/httpd.pid
(pid=4735)
[Fri Oct 29 11:14:20 2010] [notice] caught SIGTERM, shutting down
END in modperl_extra.pl, pid=4735

This report was generated by t/REPORT on Thu Oct 28 20:35:22 2010 GMT.

-------------8<---------- End Bug Report --------------8<----------


DLS

Mime
View raw message