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

2010-10-30 Thread Fred Moyer
On Fri, Oct 29, 2010 at 11:21 AM, Doug Schrag dsch...@oneupweb.com wrote:
 Fred:

 All tests pass on 2.0-trunk, but 1.b. [sysdump()] and 1.c. below still
 apply.

Patches applied r1029211.  All tests still pass for me.  Can you
update your subversion checkout and test again?

 So when is the next stable release expected?? ;-)

It looks like we will be moving forward with the release very soon -
http://www.gossamer-threads.com/lists/modperl/dev/102192



 ---from t/logs/error_log
 [Fri Oct 29 13:47:33 2010] [error] [client 127.0.0.1] Use of uninitialized
 value in lc at /usr/local/src/apache/mod_perl-2.0/blib/lib/Apache2/Status.pm
 line 181.\n

 So when is the next stable release expected?? ;-)

 DLS

 -Original Message-
 From: Fred Moyer [mailto:f...@redhotpenguin.com]
 Sent: Fri 10/29/2010 1:30 PM
 To: Doug Schrag
 Cc: modperl@perl.apache.org
 Subject: Re: [mp2] Test failures with new Perls (patch included)

 Can you pull the latest svn trunk and test against that version?
 2.0.4 is about two years old and has several fixes applied to it.

 http://perl.apache.org/download/source.html

 On Fri, Oct 29, 2010 at 10:19 AM, Doug Schrag dsch...@oneupweb.com wrote:
 -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.04

 *** 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 =  (0x00ff)
     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 (0x0076)
     /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

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

2010-10-29 Thread Fred Moyer
Can you pull the latest svn trunk and test against that version?
2.0.4 is about two years old and has several fixes applied to it.

http://perl.apache.org/download/source.html

On Fri, Oct 29, 2010 at 10:19 AM, Doug Schrag dsch...@oneupweb.com wrote:
 -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.04

 *** 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 =  (0x00ff)
     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 (0x0076)
     /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