You are viewing a plain text version of this content. The canonical link for it is here.
Posted to modperl@perl.apache.org by Frank Maas <fr...@cheiron-it.nl> on 2006/12/31 00:04:53 UTC

[bugreport] Several (auth) tests fail for 2.0.3 (?)

I have an SVN of ModPerl 2.0.3 RC1 installed which works (after a slight 
tweak of a test), but now 2.0.3 is released I like to upgrade. However... 
the test suite fails a couple of times. I tried to look for the cause of 
the problem, but was unable to (sorry if it is something obvious).

-------------8<---------- Start Bug Report ------------8<----------
1. Problem Description:

make test fails:

Failed Test             Stat Wstat Total Fail  List of Failed
-------------------------------------------------------------------------------
t/compat/conn_authen.t                 1    1  1
t/directive/perl.t                     8    2  3 7
t/hooks/authen_basic.t                 4    1  3
t/hooks/authen_digest.t                7    1  1

>From the error_log it seems that there is (at least) a problem with the group 
file:

*** The following warn entry is expected and harmless ***
[Sat Dec 30 22:41:15 2006] [warn] Apache::Server::warn ok
[Sat Dec 30 22:41:18 2006] [crit] [client 127.0.0.1] configuration error:  could
n't check access.  No groups file?: /TestCompat__conn_authen
[Sat Dec 30 22:41:21 2006] [crit] [client 127.0.0.1] configuration error:  could
n't check access.  No groups file?: /perl_sections/index.html
[Sat Dec 30 22:41:21 2006] [crit] [client 127.0.0.1] configuration error:  could
n't check access.  No groups file?: /perl_sections_readconfig/index.html

*** The following 2 error entries are expected and harmless ***
[Sat Dec 30 22:41:35 2006] [error] [client 127.0.0.1] This filter must die at /u
sr/local/src/apache/mod_perl-2.0.3/t/filter/TestFilter/in_error.pm line 26.\n
[Sat Dec 30 22:41:35 2006] [error] [client 127.0.0.1] Apache2::RequestIO::read:
(120001) filter handler has failed at /usr/local/src/apache/mod_perl-2.0.3/t/fil
ter/TestFilter/in_error.pm line 41
[Sat Dec 30 22:41:48 2006] [crit] [client 127.0.0.1] configuration error:  could
n't check access.  No groups file?: /TestHooks__authen_basic
[Sat Dec 30 22:41:48 2006] [crit] [client 127.0.0.1] configuration error:  could
n't check access.  No groups file?: /TestHooks__authen_digest
[Sat Dec 30 22:41:51 2006] [error] [client 127.0.0.1] Undefined subroutine &Test
Hooks::error::bomb called at /usr/local/src/apache/mod_perl-2.0.3/t/hooks/TestHo
oks/error.pm line 21.\n
[Sat Dec 30 22:41:51 2006] [error] [client 127.0.0.1] Undefined subroutine &Test
Hooks::error::bomb called at /usr/local/src/apache/mod_perl-2.0.3/t/hooks/TestHo
oks/error.pm line 21.\n

2. Used Components and their Configuration:

*** mod_perl version 2.000003

*** using /usr/local/src/apache/mod_perl-2.0.3/lib/Apache2/BuildConfig.pm

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


*** /usr/local/apache_2.2.3/bin/httpd -V
Server version: Apache/2.2.3
Server built:   Nov  6 2006 16:17:23
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_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/apache_2.2.3"
 -D SUEXEC_BIN="/usr/local/apache_2.2.3/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/apache_2.2.3/bin/httpd
	libm.so.6 => /lib64/libm.so.6 (0x0000003175000000)
	libaprutil-1.so.0 => /usr/local/apache_2.2.3/lib/libaprutil-1.so.0 (0x00002aaaaaac4000)
	libexpat.so.0 => /usr/lib64/libexpat.so.0 (0x0000003176100000)
	libsqlite3.so.0 => /usr/lib64/libsqlite3.so.0 (0x0000003175f00000)
	libapr-1.so.0 => /usr/local/apache_2.2.3/lib/libapr-1.so.0 (0x00002aaaaabde000)
	libuuid.so.1 => /lib64/libuuid.so.1 (0x00002aaaaad05000)
	librt.so.1 => /lib64/librt.so.1 (0x00000035bcf00000)
	libcrypt.so.1 => /lib64/libcrypt.so.1 (0x0000003177900000)
	libpthread.so.0 => /lib64/libpthread.so.0 (0x0000003175400000)
	libdl.so.2 => /lib64/libdl.so.2 (0x0000003174e00000)
	libc.so.6 => /lib64/libc.so.6 (0x0000003174b00000)
	/lib64/ld-linux-x86-64.so.2 (0x0000003174900000)


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

 -L/usr/local/apache_2.2.3/lib -laprutil-1 -lsqlite3 -lexpat 
 -L/usr/local/apache_2.2.3/lib -lapr-1 -luuid -lrt -lcrypt  -lpthread -ldl 



*** /usr/local/bin/perl -V
Summary of my perl5 (revision 5 version 8 subversion 8) configuration:
  Platform:
    osname=linux, osvers=2.6.11-1.1369_fc4smp, archname=x86_64-linux
    uname='linux data2 2.6.11-1.1369_fc4smp #1 smp thu jun 2 23:16:33 edt 2005 x86_64 x86_64 x86_64 gnulinux '
    config_args='-de -Duseshrplib -Dprefix=/usr/local/perl_5.8.8'
    hint=previous, useposix=true, d_sigaction=define
    usethreads=undef use5005threads=undef useithreads=undef usemultiplicity=undef
    useperlio=define d_sfio=undef uselargefiles=define usesocks=undef
    use64bitint=define use64bitall=define uselongdouble=undef
    usemymalloc=n, bincompat5005=undef
  Compiler:
    cc='cc', ccflags ='-fno-strict-aliasing -pipe -Wdeclaration-after-statement -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm',
    optimize='-O2',
    cppflags='-fno-strict-aliasing -pipe -Wdeclaration-after-statement -I/usr/local/include -I/usr/include/gdbm -fno-strict-aliasing -pipe -Wdeclaration-after-statement -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -fno-strict-aliasing -pipe -Wdeclaration-after-statement -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm'
    ccversion='', gccversion='4.0.0 20050519 (Red Hat 4.0.0-8)', gccosandvers=''
    intsize=4, longsize=8, ptrsize=8, doublesize=8, byteorder=12345678
    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='cc', ldflags =' -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.3.5.so, so=so, useshrplib=true, libperl=libperl.so
    gnulibc_version='2.3.5'
  Dynamic Linking:
    dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-Wl,-E -Wl,-rpath,/usr/local/lib/perl5/5.8.8/x86_64-linux/CORE'
    cccdlflags='-fpic', lddlflags='-shared -L/usr/local/lib'


Characteristics of this binary (from libperl): 
  Compile-time options: PERL_MALLOC_WRAP USE_64_BIT_ALL USE_64_BIT_INT
                        USE_LARGE_FILES USE_PERLIO
  Built under linux
  Compiled at Nov  6 2006 17:58:40
  %ENV:
    PERL_LWP_USE_HTTP_10="1"
  @INC:
    /usr/local/lib/perl5/5.8.8/x86_64-linux
    /usr/local/lib/perl5/5.8.8
    /usr/local/lib/perl5/site_perl/5.8.8/x86_64-linux
    /usr/local/lib/perl5/site_perl/5.8.8
    /usr/local/lib/perl5/site_perl/5.8.7/x86_64-linux
    /usr/local/lib/perl5/site_perl/5.8.7
    /usr/local/lib/perl5/site_perl
    .

*** Packages of interest status:

Apache2            : -
Apache2::Request   : -
CGI                : 3.25
ExtUtils::MakeMaker: 6.31
LWP                : 5.803, 5.805
mod_perl           : -
mod_perl2          : 2.000002, 2.000003


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

N/A

This report was generated by t/REPORT on Sat Dec 30 21:46:58 2006 GMT.

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