-------------8<---------- Start Bug Report ------------8<---------- 1. Problem Description:
While installing mod_perl2 on a FreeBSD 5.3 jail environment, I received the following test errors: Failed Test Stat Wstat Total Fail Failed List of Failed ------------------------------------------------------------------------------- t/filter/both_str_con_add.t 4 3 75.00% 2-4 t/preconnection/note.t 1 1 100.00% 1 t/protocol/echo_block.t 3 2 66.67% 2-3 t/protocol/echo_filter.t 3 2 66.67% 2-3 t/protocol/pseudo_http.t 13 9 69.23% 3-8 11-13 18 tests skipped. Failed 5/222 test scripts, 97.75% okay. 17/2105 subtests failed, 99.19% okay. No output in the error_log indicated a problem. I subsequently ran each failing test in verbose mode. Here is the failing output: t/TEST t/filter/both_str_con_add.t -v # expected: 2.0 # received: not ok 3 # expected: rules # received: not ok 4 t/TEST t/preconnection/note.t -v # testing : connection notes # Failed test 1 in t/preconnection/note.t at line 16 # expected: 127.0.0.1 # received: 166.70.252.34 t/TEST t/protocol/echo_block.t -v # Failed test 2 in t/protocol/echo_block.t at line 22 # expected: hello # received: # Failed test 3 in t/protocol/echo_block.t at line 22 fail #2 not ok 2 # expected: world # received: not ok 3 t/TEST t/protocol/echo_filter.t -v # expected: HELLO # received: not ok 2 # Failed test 2 in t/protocol/echo_filter.t at line 22 # expected: WORLD # received: not ok 3 # Failed test 3 in t/protocol/echo_filter.t at line 22 fail #2 t/TEST t/protocol/pseudo_http.t -v # send: HELO # testing : login # expected: Login: # Failed test 3 in t/protocol/pseudo_http.t at line 63 fail #2 # received: not ok 3 # send: stas # testing : good password # Failed test 4 in t/protocol/pseudo_http.t at line 63 fail #3 # expected: Password: # Failed test 5 in t/protocol/pseudo_http.t at line 57 # received: not ok 4 # Failed test 6 in t/protocol/pseudo_http.t at line 63 fail #4 # send: foobar # Failed test 7 in t/protocol/pseudo_http.t at line 63 fail #5 # testing : banner # Failed test 8 in t/protocol/pseudo_http.t at line 57 fail #2 # expected: Welcome to TestProtocol::pseudo_http # received: not ok 5 # testing : date # expected: Available commands: date quit # received: not ok 6 # send: date # testing : quit # expected: (?-xism:The time is:) # received: not ok 7 # send: quit # testing : end of transmission # expected: Goodbye # received: not ok 8 ok 9 # testing : greeting # expected: HELO # received: HELO ok 10 # send: HELO # testing : login # expected: Login: # received: # Failed test 11 in t/protocol/pseudo_http.t at line 63 fail #7 not ok 11 # send: stas # testing : wrong password # expected: Password: # Failed test 12 in t/protocol/pseudo_http.t at line 63 fail #8 # Failed test 13 in t/protocol/pseudo_http.t at line 57 fail #3 # received: not ok 12 # send: foObaR # testing : end of transmission # expected: Access Denied # received: not ok 13 2. Used Components and their Configuration: *** mod_perl version 1.999021 *** using /stubs/usr_local/src/mod_perl-2.0.0-RC4/lib/Apache/BuildConfig.pm *** Makefile.PL options: MP_APR_LIB => aprext MP_AP_CONFIGURE => --with-mpm=prefork MP_AP_PREFIX => /usr/local/src/httpd-2.0.53_perl MP_COMPAT_1X => 1 MP_GENERATE_XS => 1 MP_LIBNAME => mod_perl MP_USE_STATIC => 1 *** /usr/local/src/httpd-2.0.53_perl/httpd -V Server version: Apache/2.0.53 Server built: Feb 13 2005 11:43:35 Server's Module Magic Number: 20020903:9 Architecture: 32-bit 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 disabled) -D APR_USE_FLOCK_SERIALIZE -D SINGLE_LISTEN_UNSERIALIZED_ACCEPT -D APR_HAS_OTHER_CHILD -D AP_HAVE_RELIABLE_PIPED_LOGS -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" *** (apr|apu)-config linking info -L/usr/local/src/httpd-2.0.53_perl/srclib/apr/.libs -L/usr/local/src/httpd-2.0.53_perl/srclib/apr -lapr-0 -lm -lcrypt -L/usr/local/src/httpd-2.0.53_perl/srclib/apr-util/.libs -L/usr/local/src/httpd-2.0.53_perl/srclib/apr-util -laprutil-0 /usr/local/src/httpd-2.0.53_perl/srclib/apr-util/xml/expat/lib/libexpat.la *** /usr/public/bin/perl -V Summary of my perl5 (revision 5 version 8 subversion 6) configuration: Platform: osname=freebsd, osvers=5.3-release-p5, archname=i386-freebsd-64int uname='freebsd hobbiton.shire.net 5.3-release-p5 freebsd 5.3-release-p5 #3: thu feb 3 23:10:24 mst 2005 [EMAIL PROTECTED]:usrobjusrsrcsysbywater-smp i386 ' config_args='-sde -Dprefix=/usr/public -Dotherlibdirs=/usr/local/lib/perl5/5.8.6 -Darchlib=/usr/public/lib/perl5/5.8.6/mach -Dprivlib=/usr/public/lib/perl5/5.8.6 -Dman3dir=/usr/public/lib/perl5/5.8.6/perl/man/man3 -Dman1dir=/usr/public/man/man1 -Dsitearch=/usr/public/lib/perl5/site_perl/5.8.6/mach -Dsitelib=/usr/public/lib/perl5/site_perl/5.8.6 -Dscriptdir=/usr/public/bin -Dsiteman3dir=/usr/public/lib/perl5/5.8.6/man/man3 -Dsiteman1dir=/usr/public/man/man1 -Ui_malloc -Ui_iconv -Uinstallusrbinperl -Dcc=cc -Doptimize=-O -pipe -Duseshrplib -Dccflags=-DAPPLLIB_EXP="/usr/public/lib/perl5/5.8.6/BSDPAN" -Ud_dosuid -Ui_gdbm -Dusethreads=n -Dusemymalloc=y -Duse64bitint' hint=recommended, 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=undef uselongdouble=undef usemymalloc=y, bincompat5005=undef Compiler: cc='cc', ccflags ='-DAPPLLIB_EXP="/usr/public/lib/perl5/5.8.6/BSDPAN" -DHAS_FPSETMASK -DHAS_FLOATINGPOINT_H -fno-strict-aliasing -pipe -I/usr/local/include', optimize='-O -pipe ', cppflags='-DAPPLLIB_EXP="/usr/public/lib/perl5/5.8.6/BSDPAN" -DHAS_FPSETMASK -DHAS_FLOATINGPOINT_H -fno-strict-aliasing -pipe -I/usr/local/include' ccversion='', gccversion='3.4.2 [FreeBSD] 20040728', gccosandvers='' intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=12345678 d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=12 ivtype='long long', ivsize=8, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=8 alignbytes=4, prototype=define Linker and Libraries: ld='cc', ldflags =' -Wl,-E -L/usr/local/lib' libpth=/usr/lib /usr/local/lib libs=-lm -lcrypt -lutil perllibs=-lm -lcrypt -lutil libc=, so=so, useshrplib=true, libperl=libperl.so gnulibc_version='' Dynamic Linking: dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags=' -Wl,-R/usr/public/lib/perl5/5.8.6/mach/CORE' cccdlflags='-DPIC -fPIC', lddlflags='-shared -L/usr/local/lib' Characteristics of this binary (from libperl): Compile-time options: USE_64_BIT_INT USE_LARGE_FILES Locally applied patches: SUIDPERLIO0 - fix PERLIO_DEBUG local root exploit (CAN-2005-0155) SUIDPERLIO1 - fix PERLIO_DEBUG buffer overflow (CAN-2005-0156) Built under freebsd Compiled at Feb 12 2005 14:28:45 %ENV: PERL_LWP_USE_HTTP_10="1" @INC: /usr/public/lib/perl5/site_perl/5.8.6/mach /usr/public/lib/perl5/site_perl/5.8.6 /usr/public/lib/perl5/site_perl /usr/public/lib/perl5/5.8.6/BSDPAN /usr/public/lib/perl5/5.8.6/mach /usr/public/lib/perl5/5.8.6 /usr/local/lib/perl5/5.8.6 . *** Packages of interest status: Apache::Request: - CGI : 3.05 LWP : - mod_perl : - 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 Sun Feb 13 17:45:16 2005 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] -- Knowmad Services Inc. http://www.knowmad.com