perl-modperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Steve Peters <st...@fisharerojo.org>
Subject [MP2] Test failure in t/apache/content_length_header.t on mod_perl 2.0.0
Date Wed, 25 May 2005 17:33:21 GMT
-------------8<---------- Start Bug Report ------------8<----------
1. Problem Description:

While installing mod_perl 2.0.0, I had some test failures.

t/apache/content_length_header..........NOK 2# Failed test 2 in t/apache/content_length_header.t
at line 50
t/apache/content_length_header..........NOK 5# Failed test 5 in t/apache/content_length_header.t
at line 71
t/apache/content_length_header..........NOK 17# Failed test 17 in t/apache/content_length_header.t
at line 71 fail #2
t/apache/content_length_header..........FAILED tests 2, 5, 17
        Failed 3/27 tests, 88.89% okay

Here's the verbose output from the test...

steve@kirk:~/mod_perl-2.0.0$ t/TEST -verbose t/apache/content_length_header.t
[warning] setting ulimit to allow core files
ulimit -c unlimited; /usr/bin/perl /home/steve/mod_perl-2.0.0/t/TEST -verbose 't/apache/content_length_header.t'
/usr/sbin/apache2  -d /home/steve/mod_perl-2.0.0/t -f /home/steve/mod_perl-2.0.0/t/conf/httpd.conf
-D APACHE2 -D PERL_USEITHREADS
using Apache/2.0.53 (worker MPM)

waiting 300 seconds for server to start: .[Wed May 25 12:29:50 2005] [info] 6 Apache2:: modules
loaded
[Wed May 25 12:29:50 2005] [info] 0 APR:: modules loaded
[Wed May 25 12:29:50 2005] [info] base server + 27 vhosts ready to run tests
...............................................
waiting 300 seconds for server to start: ok (waited 46 secs)
server localhost.localdomain:8529 started
server localhost.localdomain:8530 listening (filter_out_apache)
server localhost.localdomain:8531 listening (TestUser::rewrite)
server localhost.localdomain:8532 listening (TestVhost::config)
server localhost.localdomain:8533 listening (TestVhost::log)
server localhost.localdomain:8534 listening (TestModperl::merge)
server localhost.localdomain:8535 listening (TestModperl::perl_options)
server localhost.localdomain:8536 listening (TestModperl::setupenv)
server localhost.localdomain:8537 listening (TestModules::proxy)
server localhost.localdomain:8538 listening (TestProtocol::pseudo_http)
server localhost.localdomain:8539 listening (TestProtocol::echo_bbs2)
server localhost.localdomain:8540 listening (TestProtocol::echo_block)
server localhost.localdomain:8541 listening (TestProtocol::echo_timeout)
server localhost.localdomain:8542 listening (TestProtocol::echo_filter)
server localhost.localdomain:8543 listening (TestProtocol::echo_bbs)
server localhost.localdomain:8544 listening (TestProtocol::echo_nonblock)
server localhost.localdomain:8545 listening (TestPreConnection::note)
server localhost.localdomain:8546 listening (TestHooks::trans)
server localhost.localdomain:8547 listening (TestHooks::hookrun)
server localhost.localdomain:8548 listening (TestHooks::startup)
server localhost.localdomain:8549 listening (TestHooks::stacked_handlers2)
server localhost.localdomain:8550 listening (TestHooks::init)
server localhost.localdomain:8551 listening (TestFilter::in_bbs_inject_header)
server localhost.localdomain:8552 listening (TestFilter::both_str_con_add)
server localhost.localdomain:8553 listening (TestFilter::in_bbs_msg)
server localhost.localdomain:8554 listening (TestFilter::in_str_msg)
server localhost.localdomain:8555 listening (TestDirective::perlmodule)
server localhost.localdomain:8556 listening (TestDirective::perlrequire)
server localhost.localdomain:8557 listening (TestDirective::perlloadmodule3)
server localhost.localdomain:8558 listening (TestDirective::perlloadmodule4)
server localhost.localdomain:8559 listening (TestDirective::perlloadmodule5)
server localhost.localdomain:8560 listening (TestDirective::perlloadmodule6)
server localhost.localdomain:8561 listening (TestHooks::push_handlers_anon)
t/apache/content_length_header....1..27
# Running under perl version 5.008004 for linux
# Current time local: Wed May 25 12:30:38 2005
# Current time GMT:   Wed May 25 17:30:38 2005
# Using Test.pm version 1.25
# Using Apache/Test.pm version 1.25
# testing : GET /TestApache__content_length_header code
# expected: 200
# received: 200
ok 1
# testing : GET /TestApache__content_length_header C-L header
# expected: 0
# received: undef
not ok 2
# Failed test 2 in t/apache/content_length_header.t at line 50
# testing : GET /TestApache__content_length_header content
# expected:
# received:
ok 3
# testing : GET /TestApache__content_length_header?set_content_length code
# expected: 200
# received: 200
ok 4
# testing : GET /TestApache__content_length_header?set_content_length C-L header
# expected: 0
# received: 25
not ok 5
# Failed test 5 in t/apache/content_length_header.t at line 71
# testing : GET /TestApache__content_length_header?set_content_length content
# expected:
# received:
ok 6
# testing : GET /TestApache__content_length_header?send_body code
# expected: 200
# received: 200
ok 7
# testing : GET /TestApache__content_length_header?send_body C-L header
# expected: undef
# received: undef
ok 8
# testing : GET /TestApache__content_length_header?send_body content
# expected: This is a response string
# received: This is a response string
ok 9
# testing : GET /TestApache__content_length_header?send_body+set_content_length code
# expected: 200
# received: 200
ok 10
# testing : GET /TestApache__content_length_header?send_body+set_content_length C-L header
# expected: 25
# received: 25
ok 11
# testing : GET /TestApache__content_length_header?send_body+set_content_length content
# expected: This is a response string
# received: This is a response string
ok 12
# testing : HEAD /TestApache__content_length_header code
# expected: 200
# received: 200
ok 13
# testing : HEAD /TestApache__content_length_header C-L header
# expected: undef
# received: undef
ok 14
# testing : HEAD /TestApache__content_length_header content
# expected:
# received:
ok 15
# testing : HEAD /TestApache__content_length_header?set_content_length code
# expected: 200
# received: 200
ok 16
# testing : HEAD /TestApache__content_length_header?set_content_length C-L header
# expected: undef
# received: 25
not ok 17
# Failed test 17 in t/apache/content_length_header.t at line 71 fail #2
# testing : HEAD /TestApache__content_length_header?set_content_length content
# expected:
# received:
ok 18
# testing : HEAD /TestApache__content_length_header?send_body code
# expected: 200
# received: 200
ok 19
# testing : HEAD /TestApache__content_length_header?send_body C-L header
# expected: undef
# received: undef
ok 20
# testing : HEAD /TestApache__content_length_header?send_body content
# expected:
# received:
ok 21
# testing : HEAD /TestApache__content_length_header?send_body+set_content_length code
# expected: 200
# received: 200
ok 22
# testing : HEAD /TestApache__content_length_header?send_body+set_content_length C-L header
# expected: 25
# received: 25
ok 23
# testing : HEAD /TestApache__content_length_header?send_body+set_content_length content
# expected:
# received:
ok 24
# testing : HEAD /TestApache__content_length_header?head_no_body+set_content_length code
# expected: 200
# received: 200
ok 25
# testing : HEAD /TestApache__content_length_header?head_no_body+set_content_length C-L header
# expected: 25
# received: 25
ok 26
# testing : HEAD /TestApache__content_length_header?head_no_body+set_content_length content
# expected:
# received:
ok 27
FAILED tests 2, 5, 17
        Failed 3/27 tests, 88.89% okay
Failed Test                      Stat Wstat Total Fail  Failed  List of Failed
-------------------------------------------------------------------------------
t/apache/content_length_header.t               27    3  11.11%  2 5 17
Failed 1/1 test scripts, 0.00% okay. 3/27 subtests failed, 88.89% okay.
[warning] server localhost.localdomain:8529 shutdown
[  error] error running tests (please examine t/logs/error_log)

...and the error_log...

steve@kirk:~/mod_perl-2.0.0$ more  t/logs/error_log
END in modperl_extra.pl, pid=12233
END in modperl_extra.pl, pid=12233
[Wed May 25 12:28:58 2005] [notice] Apache/2.0.53 (Ubuntu) world domination series/2.0 mod_perl/2.0.0
Perl/v5
.8.4 configured -- resuming normal operations
[Wed May 25 12:28:58 2005] [info] Server built: May  6 2005 08:15:16
[Wed May 25 12:28:58 2005] [debug] /build/buildd/apache2-2.0.53/build-tree/apache2/server/mpm/worker/worker.c
(1632): AcceptMutex: sysvsem (default: sysvsem)
[Wed May 25 12:29:02 2005] [info] Child process pid=12255 is exiting
[Wed May 25 12:29:02 2005] [info] Child process pid=12255 is exiting - server push
END in modperl_extra.pl, pid=12255
END in modperl_extra.pl, pid=12255
[Wed May 25 12:29:02 2005] [info] removed PID file /home/steve/mod_perl-2.0.0/t/logs/httpd.pid
(pid=12245)
[Wed May 25 12:29:02 2005] [notice] caught SIGTERM, shutting down
END in modperl_extra.pl, pid=12245
END in modperl_extra.pl, pid=12245
END in modperl_extra.pl, pid=12340
END in modperl_extra.pl, pid=12340
[Wed May 25 12:30:37 2005] [notice] Apache/2.0.53 (Ubuntu) world domination series/2.0 mod_perl/2.0.0
Perl/v5
.8.4 configured -- resuming normal operations
[Wed May 25 12:30:37 2005] [info] Server built: May  6 2005 08:15:16
[Wed May 25 12:30:37 2005] [debug] /build/buildd/apache2-2.0.53/build-tree/apache2/server/mpm/worker/worker.c
(1632): AcceptMutex: sysvsem (default: sysvsem)
[Wed May 25 12:30:41 2005] [info] Child process pid=12408 is exiting
[Wed May 25 12:30:41 2005] [info] Child process pid=12408 is exiting - server push
END in modperl_extra.pl, pid=12408
END in modperl_extra.pl, pid=12408
[Wed May 25 12:30:41 2005] [info] removed PID file /home/steve/mod_perl-2.0.0/t/logs/httpd.pid
(pid=12344)
[Wed May 25 12:30:41 2005] [notice] caught SIGTERM, shutting down
END in modperl_extra.pl, pid=12344
END in modperl_extra.pl, pid=12344

2. Used Components and their Configuration:

*** mod_perl version 2.000000

*** using /home/steve/mod_perl-2.0.0/lib/Apache2/BuildConfig.pm

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


*** /usr/sbin/apache2 -V
Server version: Apache/2.0.53
Server built:   May  6 2005 08:15:16
Server's Module Magic Number: 20020903:9
Architecture:   32-bit
Server compiled with....
 -D APACHE_MPM_DIR="server/mpm/worker"
 -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 HTTPD_ROOT=""
 -D SUEXEC_BIN="/usr/lib/apache2/suexec2"
 -D DEFAULT_SCOREBOARD="logs/apache_runtime_status"
 -D DEFAULT_ERRORLOG="logs/error_log"
 -D AP_TYPES_CONFIG_FILE="/etc/apache2/mime.types"
 -D SERVER_CONFIG_FILE="/etc/apache2/apache2.conf"


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

 -L/usr/lib -laprutil-0 -lldap -llber -ldb-4.2 -lexpat
 -L/usr/lib -lapr-0 -lrt -lm -lnsl  -lpthread



*** /usr/bin/perl -V
Summary of my perl5 (revision 5 version 8 subversion 4) configuration:
  Platform:
    osname=linux, osvers=2.6.8.1, archname=i386-linux-thread-multi
    uname='linux mcmurdo 2.6.8.1 #1 smp sat feb 26 13:03:40 utc 2005 i686 gnulinux '
    config_args='-Dusethreads -Duselargefiles -Dccflags=-DDEBIAN -Dcccdlflags=-fPIC -Darchname=i386-linux
-Dprefix=/usr -Dprivlib=/usr/share/perl/5.8 -Darchlib=/usr/lib/perl/5.8 -Dvendorprefix=/usr
-Dvendorlib=/usr/share/perl5 -Dvendorarch=/usr/lib/perl5 -Dsiteprefix=/usr/local -Dsitelib=/usr/local/share/perl/5.8.4
-Dsitearch=/usr/local/lib/perl/5.8.4 -Dman1dir=/usr/share/man/man1 -Dman3dir=/usr/share/man/man3
-Dsiteman1dir=/usr/local/man/man1 -Dsiteman3dir=/usr/local/man/man3 -Dman1ext=1 -Dman3ext=3perl
-Dpager=/usr/bin/sensible-pager -Uafs -Ud_csh -Uusesfio -Uusenm -Duseshrplib -Dlibperl=libperl.so.5.8.4
-Dd_dosuid -des'
    hint=recommended, useposix=true, d_sigaction=define
    usethreads=define use5005threads=undef useithreads=define usemultiplicity=define
    useperlio=define d_sfio=undef uselargefiles=define usesocks=undef
    use64bitint=undef use64bitall=undef uselongdouble=undef
    usemymalloc=n, bincompat5005=undef
  Compiler:
    cc='cc', ccflags ='-D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -DDEBIAN -fno-strict-aliasing
-I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',
    optimize='-O2',
    cppflags='-D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -DDEBIAN -fno-strict-aliasing
-I/usr/local/include'
    ccversion='', gccversion='3.3.5 (Debian 1:3.3.5-8ubuntu2)', 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 =' -L/usr/local/lib'
    libpth=/usr/local/lib /lib /usr/lib
    libs=-lgdbm -lgdbm_compat -ldb -ldl -lm -lpthread -lc -lcrypt
    perllibs=-ldl -lm -lpthread -lc -lcrypt
    libc=/lib/libc-2.3.2.so, so=so, useshrplib=true, libperl=libperl.so.5.8.4
    gnulibc_version='2.3.2'
  Dynamic Linking:
    dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-Wl,-E'
    cccdlflags='-fPIC', lddlflags='-shared -L/usr/local/lib'


Characteristics of this binary (from libperl):
  Compile-time options: MULTIPLICITY USE_ITHREADS USE_LARGE_FILES PERL_IMPLICIT_CONTEXT
  Built under linux
  Compiled at Mar 10 2005 13:38:00
  %ENV:
    PERL_LWP_USE_HTTP_10="1"
  @INC:
    /etc/perl
    /usr/local/lib/perl/5.8.4
    /usr/local/share/perl/5.8.4
    /usr/lib/perl5
    /usr/share/perl5
    /usr/lib/perl/5.8
    /usr/share/perl/5.8
    /usr/local/lib/site_perl
    .

*** Packages of interest status:

Apache2            : -
Apache2::Request   : -
CGI                : 3.10
ExtUtils::MakeMaker: 6.30
LWP                : 5.803
mod_perl           : -
mod_perl2          : 1.999022


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

    No core dump.

This report was generated by t/REPORT on Wed May 25 16:50:11 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 modperl-subscribe@perl.apache.org.

Mime
View raw message