Re: [RELEASE CANDIDATE] mod_perl-2.0.11 RC3

Jie Gao <[email protected]>
Newsgroups gmane.comp.apache.mod-perl,gmane.comp.java.openwebbeans.devel
Message-ID <[email protected]>
My test result as follows:


t/filter/in_bbs_inject_header.t ......... 1/? # Failed test 22 in t/filter/in_bbs_inject_header.t at line 58 fail #6
# Failed test 26 in t/filter/in_bbs_inject_header.t at line 58 fail #7
# Failed test 30 in t/filter/in_bbs_inject_header.t at line 58 fail #8

Test Summary Report
-------------------
t/filter/in_bbs_inject_header.t       (Wstat: 0 Tests: 36 Failed: 3)
  Failed tests:  22, 26, 30
Files=245, Tests=2977, 125 wallclock secs ( 1.24 usr  0.53 sys + 81.62 cusr 24.81 csys = 108.20 CPU)
Result: FAIL
Failed 1/245 test programs. 3/2977 subtests failed.

> t/TEST -verbose t/filter/in_bbs_inject_header.t
[warning] setting ulimit to allow core files
ulimit -c unlimited; /usr/local/bin/perl /usr/local/src/mod_perl-2.0.11-rc3/t/TEST -verbose 't/filter/in_bbs_inject_header.t'
/usr/local/httpd-2.4.41/bin/httpd  -d /usr/local/src/mod_perl-2.0.11-rc3/t -f /usr/local/src/mod_perl-2.0.11-rc3/t/conf/httpd.conf -D APACHE2 -D APACHE2_4 -D PERL_USEITHREADS
using Apache/2.4.41 (worker MPM)

waiting 300 seconds for server to start: .[Fri Sep 27 10:30:29.336068 2019] [core:trace3] [pid 1229:tid 140710015452928] core.c(3355): Setting LogLevel for all modules to trace8
[Fri Sep 27 10:30:29.336224 2019] [env:warn] [pid 1229:tid 140710015452928] AH01506: PassEnv variable LD_LIBRARY_PATH was undefined
[Fri Sep 27 10:30:29.356678 2019] [perl:info] [pid 1229:tid 140710015452928] 6 Apache2:: modules loaded
[Fri Sep 27 10:30:29.356710 2019] [perl:info] [pid 1229:tid 140710015452928] 0 APR:: modules loaded
[Fri Sep 27 10:30:29.356747 2019] [perl:info] [pid 1229:tid 140710015452928] base server + 29 vhosts ready to run tests
..
waiting 300 seconds for server to start: ok (waited 1 secs)
server localhost:8529 started
server localhost:8530 listening (filter_out_apache)
server localhost:8531 listening (perlsections)
server localhost:8532 listening (inherit)
server localhost:8533 listening (TestModperl::perl_options2)
server localhost:8534 listening (TestModperl::perl_options)
server localhost:8535 listening (TestModperl::setupenv)
server localhost:8536 listening (TestModperl::merge)
server localhost:8537 listening (TestUser::rewrite)
server localhost:8538 listening (TestModules::proxy)
server localhost:8539 listening (TestVhost::config)
server localhost:8540 listening (TestVhost::log)
server localhost:8541 listening (TestDirective::perlcleanuphandler)
server localhost:8542 listening (TestProtocol::echo_nonblock)
server localhost:8543 listening (TestProtocol::echo_block)
server localhost:8544 listening (TestProtocol::echo_timeout)
server localhost:8545 listening (TestProtocol::echo_bbs2)
server localhost:8546 listening (TestProtocol::pseudo_http)
server localhost:8547 listening (TestProtocol::echo_filter)
server localhost:8548 listening (TestProtocol::echo_bbs)
server localhost:8549 listening (TestPreConnection::note)
server localhost:8550 listening (TestHooks::startup)
server localhost:8551 listening (TestHooks::hookrun)
server localhost:8552 listening (TestHooks::trans)
server localhost:8553 listening (TestHooks::stacked_handlers2)
server localhost:8554 listening (TestHooks::init)
server localhost:8555 listening (TestFilter::both_str_con_add)
server localhost:8556 listening (TestFilter::in_bbs_inject_header)
server localhost:8557 listening (TestFilter::in_str_msg)
server localhost:8558 listening (TestFilter::in_bbs_msg)
server localhost:8559 listening (TestDirective::perlrequire)
server localhost:8560 listening (TestDirective::perlmodule)
server localhost:8561 listening (TestDirective::perlloadmodule3)
server localhost:8562 listening (TestDirective::perlloadmodule5)
server localhost:8563 listening (TestDirective::perlloadmodule4)
server localhost:8564 listening (TestAPI::add_config)
server localhost:8565 listening (TestDirective::perlloadmodule6)
server localhost:8566 listening (TestHooks::push_handlers_anon)
t/filter/in_bbs_inject_header.t .. 
# connecting to localhost:8556
1..36
# Running under perl version 5.020002 for linux
# Current time local: Fri Sep 27 10:30:31 2019
# Current time GMT:   Fri Sep 27 00:30:31 2019
# Using Test.pm version 1.26
# Using Apache/Test.pm version 1.42
# testing : body
# expected: 'This body shouldn\'t be seen by the filter'
# received: 'This body shouldn\'t be seen by the filter'
ok 1
# testing : injected header X-My-Protocol
# expected: 'POST-IT'
# received: 'POST-IT'
ok 2
# testing : injected header X-Extra-Header2
# expected: 'Value 2'
# received: 'Value 2'
ok 3
# testing : injected header X-Extra-Header3
# expected: 'Value 3'
# received: 'Value 3'
ok 4
# testing : body
# expected: 'This body shouldn\'t be seen by the filter'
# received: 'This body shouldn\'t be seen by the filter'
ok 5
# testing : injected header X-My-Protocol
# expected: 'POST-IT'
# received: 'POST-IT'
ok 6
# testing : injected header X-Extra-Header2
# expected: 'Value 2'
# received: 'Value 2'
ok 7
# testing : injected header X-Extra-Header3
# expected: 'Value 3'
# received: 'Value 3'
ok 8
# testing : body
# expected: 'This body shouldn\'t be seen by the filter'
# received: 'This body shouldn\'t be seen by the filter'
ok 9
# testing : injected header X-My-Protocol
# expected: 'POST-IT'
# received: 'POST-IT'
ok 10
# testing : injected header X-Extra-Header2
# expected: 'Value 2'
# received: 'Value 2'
ok 11
# testing : injected header X-Extra-Header3
# expected: 'Value 3'
# received: 'Value 3'
ok 12
# testing : body
# expected: 'This body shouldn\'t be seen by the filter'
# received: 'This body shouldn\'t be seen by the filter'
ok 13
# testing : injected header X-My-Protocol
# expected: 'POST-IT'
# received: 'POST-IT'
ok 14
# testing : injected header X-Extra-Header2
# expected: 'Value 2'
# received: 'Value 2'
ok 15
# testing : injected header X-Extra-Header3
# expected: 'Value 3'
# received: 'Value 3'
ok 16
# testing : body
# expected: 'This body shouldn\'t be seen by the filter'
# received: 'This body shouldn\'t be seen by the filter'
ok 17
# testing : injected header X-My-Protocol
# expected: 'POST-IT'
# received: 'POST-IT'
ok 18
# testing : injected header X-Extra-Header2
# expected: 'Value 2'
# received: 'Value 2'
ok 19
# testing : injected header X-Extra-Header3
# expected: 'Value 3'
# received: 'Value 3'
ok 20
# testing : body
# expected: 'This body shouldn\'t be seen by the filter'
# received: 'This body shouldn\'t be seen by the filter'
ok 21
# testing : injected header X-My-Protocol
# expected: 'POST-IT'
# received: ''
not ok 22
# Failed test 22 in t/filter/in_bbs_inject_header.t at line 58 fail #6
# testing : injected header X-Extra-Header2
# expected: 'Value 2'
# received: 'Value 2'
ok 23
# testing : injected header X-Extra-Header3
# expected: 'Value 3'
# received: 'Value 3'
ok 24
# testing : body
# expected: 'This body shouldn\'t be seen by the filter'
# received: 'This body shouldn\'t be seen by the filter'
ok 25
# testing : injected header X-My-Protocol
# expected: 'POST-IT'
# received: ''
not ok 26
# Failed test 26 in t/filter/in_bbs_inject_header.t at line 58 fail #7
# testing : injected header X-Extra-Header2
# expected: 'Value 2'
# received: 'Value 2'
ok 27
# testing : injected header X-Extra-Header3
# expected: 'Value 3'
# received: 'Value 3'
ok 28
# testing : body
# expected: 'This body shouldn\'t be seen by the filter'
# received: 'This body shouldn\'t be seen by the filter'
ok 29
# testing : injected header X-My-Protocol
# expected: 'POST-IT'
# received: ''
not ok 30
# Failed test 30 in t/filter/in_bbs_inject_header.t at line 58 fail #8
# testing : injected header X-Extra-Header2
# expected: 'Value 2'
# received: 'Value 2'
ok 31
# testing : injected header X-Extra-Header3
# expected: 'Value 3'
# received: 'Value 3'
ok 32
# testing : body
# expected: 'This body shouldn\'t be seen by the filter'
# received: 'This body shouldn\'t be seen by the filter'
ok 33
# testing : injected header X-My-Protocol
# expected: 'POST-IT'
# received: 'POST-IT'
ok 34
# testing : injected header X-Extra-Header2
# expected: 'Value 2'
# received: 'Value 2'
ok 35
# testing : injected header X-Extra-Header3
# expected: 'Value 3'
# received: 'Value 3'
ok 36
Failed 3/36 subtests 

Test Summary Report
-------------------
t/filter/in_bbs_inject_header.t (Wstat: 0 Tests: 36 Failed: 3)
  Failed tests:  22, 26, 30
Files=1, Tests=36,  1 wallclock secs ( 0.03 usr  0.01 sys +  0.37 cusr  0.11 csys =  0.52 CPU)
Result: FAIL
Failed 1/1 test programs. 3/36 subtests failed.

> t/REPORT
-------------8<---------- Start Bug Report ------------8<----------
1. Problem Description:

  [DESCRIBE THE PROBLEM HERE]

2. Used Components and their Configuration:

*** mod_perl version 2.000011

*** using /usr/local/src/mod_perl-2.0.11-rc3/lib/Apache2/BuildConfig.pm

*** Makefile.PL options:
  MP_APR_CONFIG  => /usr/local/httpd-2.4.41/bin/apr-1-config
  MP_APR_LIB     => aprext
  MP_APXS        => /usr/local/httpd-2.4.41/bin/apxs
  MP_COMPAT_1X   => 1
  MP_GENERATE_XS => 1
  MP_LIBNAME     => mod_perl
  MP_USE_DSO     => 1


*** /usr/local/httpd-2.4.41/bin/httpd -V
Server version: Apache/2.4.41 (Unix)
Server built:   Sep 24 2019 13:39:03
Server's Module Magic Number: 20120211:88
Server loaded:  APR 1.5.1, APR-UTIL 1.5.4
Compiled using: APR 1.5.1, APR-UTIL 1.5.4
Architecture:   64-bit
Server MPM:     worker
  threaded:     yes (fixed thread count)
    forked:     yes (variable process count)
Server compiled with....
 -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=256
 -D HTTPD_ROOT="/usr/local/httpd-2.4.41"
 -D SUEXEC_BIN="/usr/local/httpd-2.4.41/bin/suexec"
 -D DEFAULT_PIDLOG="logs/httpd.pid"
 -D DEFAULT_SCOREBOARD="logs/apache_runtime_status"
 -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/httpd-2.4.41/bin/httpd
        linux-vdso.so.1 =>  (0x00007ffdee988000)
        libpcre.so.0 => /lib64/libpcre.so.0 (0x0000003a4ee00000)
        libaprutil-1.so.0 => /usr/local/apr/lib/libaprutil-1.so.0 (0x00007ff72cad2000)
        libdb-4.7.so => /lib64/libdb-4.7.so (0x0000003a5ea00000)
        libexpat.so.1 => /lib64/libexpat.so.1 (0x0000003a51200000)
        libapr-1.so.0 => /usr/local/apr/lib/libapr-1.so.0 (0x00007ff72c89c000)
        librt.so.1 => /lib64/librt.so.1 (0x0000003a4d200000)
        libcrypt.so.1 => /lib64/libcrypt.so.1 (0x0000003a50e00000)
        libpthread.so.0 => /lib64/libpthread.so.0 (0x0000003a4ca00000)
        libc.so.6 => /lib64/libc.so.6 (0x0000003a4c600000)
        /lib64/ld-linux-x86-64.so.2 (0x00005561b6b0a000)
        libfreebl3.so => /lib64/libfreebl3.so (0x0000003a51600000)
        libdl.so.2 => /lib64/libdl.so.2 (0x0000003a4ce00000)


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

 -L/usr/local/apr/lib -laprutil-1  -ldb-4.7   -lexpat -L/usr/include/lib
 -L/usr/local/apr/lib -lapr-1 -lrt -lcrypt  -lpthread 



*** /usr/local/bin/perl -V
Summary of my perl5 (revision 5 version 20 subversion 2) configuration:
   
  Platform:
    osname=linux, osvers=2.6.32-504.12.2.el6.x86_64, archname=x86_64-linux-thread-multi
    uname='linux xx.xx.xx.xx 2.6.32-504.12.2.el6.x86_64 #1 smp sun feb 1 12:14:02 est 2015 x86_64 x86_64 x86_64 gnulinux '
    config_args='-Dcc=gcc -Dusethreads -Dprefix=/usr/local -des -A ccflags=-fPIC'
    hint=recommended, useposix=true, d_sigaction=define
    useithreads=define, usemultiplicity=define
    use64bitint=define, use64bitall=define, uselongdouble=undef
    usemymalloc=n, bincompat5005=undef
  Compiler:
    cc='gcc', ccflags ='-D_REENTRANT -D_GNU_SOURCE -fPIC -fwrapv -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',
    optimize='-O2',
    cppflags='-D_REENTRANT -D_GNU_SOURCE -fPIC -fwrapv -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include'
    ccversion='', gccversion='4.4.7 20120313 (Red Hat 4.4.7-11)', 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='gcc', ldflags =' -fstack-protector -L/usr/local/lib'
    libpth=/usr/local/lib /usr/lib /lib/../lib64 /usr/lib/../lib64 /lib /lib64 /usr/lib64 /usr/local/lib64
    libs=-lnsl -lgdbm -ldb -ldl -lm -lcrypt -lutil -lpthread -lc
    perllibs=-lnsl -ldl -lm -lcrypt -lutil -lpthread -lc
    libc=libc-2.12.so, so=so, useshrplib=false, libperl=libperl.a
    gnulibc_version='2.12'
  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: HAS_TIMES MULTIPLICITY PERLIO_LAYERS
                        PERL_DONT_CREATE_GVSV
                        PERL_HASH_FUNC_ONE_AT_A_TIME_HARD
                        PERL_IMPLICIT_CONTEXT PERL_MALLOC_WRAP
                        PERL_NEW_COPY_ON_WRITE PERL_PRESERVE_IVUV
                        USE_64_BIT_ALL USE_64_BIT_INT USE_ITHREADS
                        USE_LARGE_FILES USE_LOCALE USE_LOCALE_COLLATE
                        USE_LOCALE_CTYPE USE_LOCALE_NUMERIC USE_PERLIO
                        USE_PERL_ATOF USE_REENTRANT_API
  Built under linux
  Compiled at Mar 27 2015 14:50:02
  %ENV:
    PERL_LWP_USE_HTTP_10="1"
  @INC:
    /usr/local/lib/perl5/site_perl/5.20.2/x86_64-linux-thread-multi
    /usr/local/lib/perl5/site_perl/5.20.2
    /usr/local/lib/perl5/5.20.2/x86_64-linux-thread-multi
    /usr/local/lib/perl5/5.20.2
    /usr/local/lib/perl5/site_perl/5.18.2
    /usr/local/lib/perl5/site_perl/5.18.0
    /usr/local/lib/perl5/site_perl
    .

*** Packages of interest status:

Apache2            : -
Apache2::Request   : -
CGI                : 3.65
ExtUtils::MakeMaker: 6.98
LWP                : 5.837, 6.25
mod_perl           : -
mod_perl2          : 2.000011


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 Fri Sep 27 00:32:54 2019 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].
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.