Mailing List Archive

[RELEASE CANDIDATE] mod_perl-2.0.11 RC3
Please download, test, and report back on this mod_perl 2.0.11 release
candidate.

https://dist.apache.org/repos/dist/dev/perl/mod_perl-2.0.11-rc3.tar.gz

MD5 = dd6f7918fc492be21868a9774b2e58c5
SHA1 = e4af2eaabb40962cd7e5566e5ee3342090413b30

Changes since RC2 are as follows:

Fix t/api/request_rec.t failures [Steve Hay]

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@perl.apache.org
For additional commands, e-mail: dev-help@perl.apache.org
Re: [RELEASE CANDIDATE] mod_perl-2.0.11 RC3 [ In reply to ]
-=| Steve Hay, 26.09.2019 18:17:33 +0100 |=-
> Please download, test, and report back on this mod_perl 2.0.11 release
> candidate.
>
> https://dist.apache.org/repos/dist/dev/perl/mod_perl-2.0.11-rc3.tar.gz

builds OK and tests pass on Debian/unstable amd64 and i386 with apache
2.4.41, apr 1.6.5, Perl 5.28.1, CGI 4.44

-- Damyan

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@perl.apache.org
For additional commands, e-mail: dev-help@perl.apache.org
Re: [RELEASE CANDIDATE] mod_perl-2.0.11 RC3 [ In reply to ]
This RC fails for me:

Test Summary Report
-------------------
t/filter/in_bbs_inject_header.t (Wstat: 0 Tests: 36 Failed: 3)
Failed tests: 22, 26, 30
t/modules/apache_resource.t (Wstat: 0 Tests: 1 Failed: 1)
Failed test: 1
Files=245, Tests=2607, 138 wallclock secs ( 2.26 usr 0.92 sys + 100.92 cusr 19.69 csys = 123.79 CPU)
Result: FAIL
Failed 2/245 test programs. 4/2607 subtests failed.

with apache 2.4.41 (event MPM), perl 5.20.3 on x86_64-linux-thread-multi.
I did not test any of the previous RCs.

Pete

On Thu, Sep 26, 2019 at 06:17:33PM +0100, Steve Hay wrote:
> Please download, test, and report back on this mod_perl 2.0.11 release
> candidate.
>
> https://dist.apache.org/repos/dist/dev/perl/mod_perl-2.0.11-rc3.tar.gz
>
> MD5 = dd6f7918fc492be21868a9774b2e58c5
> SHA1 = e4af2eaabb40962cd7e5566e5ee3342090413b30
>
> Changes since RC2 are as follows:
>
> Fix t/api/request_rec.t failures [Steve Hay]
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@perl.apache.org
> For additional commands, e-mail: dev-help@perl.apache.org

--
Openstrike - improving business through open source
https://www.openstrike.co.uk/ or call 01722 770036
Re: [RELEASE CANDIDATE] mod_perl-2.0.11 RC3 [ In reply to ]
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 modperl-subscribe@perl.apache.org.


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@perl.apache.org
For additional commands, e-mail: dev-help@perl.apache.org
Re: [RELEASE CANDIDATE] mod_perl-2.0.11 RC3 [ In reply to ]
On Thu, 26 Sep 2019 at 23:05, Pete Houston <ph1@openstrike.co.uk> wrote:
>
> This RC fails for me:
>
> Test Summary Report
> -------------------
> t/filter/in_bbs_inject_header.t (Wstat: 0 Tests: 36 Failed: 3)
> Failed tests: 22, 26, 30
> t/modules/apache_resource.t (Wstat: 0 Tests: 1 Failed: 1)
> Failed test: 1
> Files=245, Tests=2607, 138 wallclock secs ( 2.26 usr 0.92 sys + 100.92 cusr 19.69 csys = 123.79 CPU)
> Result: FAIL
> Failed 2/245 test programs. 4/2607 subtests failed.
>
> with apache 2.4.41 (event MPM), perl 5.20.3 on x86_64-linux-thread-multi.
> I did not test any of the previous RCs.
>

I've just updated the README with a note that the recurring
in_bbs_inject_header.t failure is a known problem.

Can you give any more detail on the apache_resource.t failure? I've
not seen that reported anywhere else.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@perl.apache.org
For additional commands, e-mail: dev-help@perl.apache.org
Re: [RELEASE CANDIDATE] mod_perl-2.0.11 RC3 [ In reply to ]
On Fri, Sep 27, 2019 at 08:22:11AM +0100, Steve Hay wrote:
> Can you give any more detail on the apache_resource.t failure? I've
> not seen that reported anywhere else.

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

waiting 300 seconds for server to start: .[Fri Sep 27 11:21:12.994001 2019] [env:warn] [pid 4182:tid 139866432870272] AH01506: PassEnv variable LD_LIBRARY_PATH was undefined
[Fri Sep 27 11:21:13.154432 2019] [perl:info] [pid 4182:tid 139866432870272] 6 Apache2:: modules loaded
[Fri Sep 27 11:21:13.154642 2019] [perl:info] [pid 4182:tid 139866432870272] 0 APR:: modules loaded
[Fri Sep 27 11:21:13.154837 2019] [perl:info] [pid 4182:tid 139866432870272] base server + 29 vhosts ready to run tests
...
waiting 300 seconds for server to start: ok (waited 3 secs)
server localhost.localdomain:8529 started
server localhost.localdomain:8530 listening (filter_out_apache)
server localhost.localdomain:8531 listening (perlsections)
server localhost.localdomain:8532 listening (inherit)
server localhost.localdomain:8533 listening (TestUser::rewrite)
server localhost.localdomain:8534 listening (TestVhost::log)
server localhost.localdomain:8535 listening (TestVhost::config)
server localhost.localdomain:8536 listening (TestModperl::perl_options2)
server localhost.localdomain:8537 listening (TestModperl::perl_options)
server localhost.localdomain:8538 listening (TestModperl::merge)
server localhost.localdomain:8539 listening (TestModperl::setupenv)
server localhost.localdomain:8540 listening (TestDirective::perlcleanuphandler)
server localhost.localdomain:8541 listening (TestModules::proxy)
server localhost.localdomain:8542 listening (TestProtocol::echo_block)
server localhost.localdomain:8543 listening (TestProtocol::echo_bbs2)
server localhost.localdomain:8544 listening (TestProtocol::pseudo_http)
server localhost.localdomain:8545 listening (TestProtocol::echo_timeout)
server localhost.localdomain:8546 listening (TestProtocol::echo_filter)
server localhost.localdomain:8547 listening (TestProtocol::echo_nonblock)
server localhost.localdomain:8548 listening (TestProtocol::echo_bbs)
server localhost.localdomain:8549 listening (TestPreConnection::note)
server localhost.localdomain:8550 listening (TestHooks::init)
server localhost.localdomain:8551 listening (TestHooks::trans)
server localhost.localdomain:8552 listening (TestHooks::hookrun)
server localhost.localdomain:8553 listening (TestHooks::stacked_handlers2)
server localhost.localdomain:8554 listening (TestHooks::startup)
server localhost.localdomain:8555 listening (TestFilter::both_str_con_add)
server localhost.localdomain:8556 listening (TestFilter::in_bbs_msg)
server localhost.localdomain:8557 listening (TestFilter::in_str_msg)
server localhost.localdomain:8558 listening (TestFilter::in_bbs_inject_header)
server localhost.localdomain:8559 listening (TestDirective::perlmodule)
server localhost.localdomain:8560 listening (TestDirective::perlrequire)
server localhost.localdomain:8561 listening (TestDirective::perlloadmodule4)
server localhost.localdomain:8562 listening (TestDirective::perlloadmodule5)
server localhost.localdomain:8563 listening (TestDirective::perlloadmodule3)
server localhost.localdomain:8564 listening (TestAPI::add_config)
server localhost.localdomain:8565 listening (TestDirective::perlloadmodule6)
server localhost.localdomain:8566 listening (TestHooks::push_handlers_anon)
t/modules/apache_resource.t ..
1..1
# Running under perl version 5.020003 for linux
# Current time local: Fri Sep 27 11:21:16 2019
# Current time GMT: Fri Sep 27 10:21:16 2019
# Using Test.pm version 1.26
# Using Apache/Test.pm version 1.42
not ok 1
# Failed test 1 in t/modules/apache_resource.t at line 18
Failed 1/1 subtests

Test Summary Report
-------------------
t/modules/apache_resource.t (Wstat: 0 Tests: 1 Failed: 1)
Failed test: 1
Files=1, Tests=1, 1 wallclock secs ( 0.05 usr 0.02 sys + 0.47 cusr 0.11 csys = 0.65 CPU)
Result: FAIL
Failed 1/1 test programs. 1/1 subtests failed.
[warning] server localhost.localdomain:8529 shutdown
[ error] error running tests (please examine t/logs/error_log)


Some potentially relevant entries in t/logs/error_log:

[Fri Sep 27 11:21:15.932361 2019] [cgid:error] [pid 4190:tid 139866432870272] (2)No such file or directory: AH01243: Couldn't bind unix domain socket /home/pete/src/mod_perl-2.0.11-rc3/t/logs/logs/cgisock.4186
...
[Fri Sep 27 11:21:16.040150 2019] [cgid:crit] [pid 4186:tid 139866432870272] AH01238: cgid daemon failed to initialize
...
[Fri Sep 27 11:21:16.546874 2019] [authz_core:debug] [pid 4193:tid 139866043488000] mod_authz_core.c(846): [client 127.0.0.1:52528] AH01628: authorization result: granted (no directives)
[Fri Sep 27 11:21:17.479647 2019] [authz_core:debug] [pid 4192:tid 139865920358144] mod_authz_core.c(846): [client 127.0.0.1:52529] AH01628: authorization result: granted (no directives)
ap_get_server_version() is deprecated since httpd/2.3.0 try using ap_get_server_(description|banner)() instead at /home/pete/src/mod_perl-2.0.11-rc3/blib/lib/Apache2/Status.pm line 145.
Use of uninitialized value $lim in pattern match (m//) at blib/lib/BSD/Resource.pm (autosplit into blib/lib/auto/BSD/Resource/_find_rlimit.al) line 579.
Use of uninitialized value $lim in pattern match (m//) at blib/lib/BSD/Resource.pm (autosplit into blib/lib/auto/BSD/Resource/_find_rlimit.al) line 585.
Use of uninitialized value $lim in concatenation (.) or string at blib/lib/BSD/Resource.pm (autosplit into blib/lib/auto/BSD/Resource/_find_rlimit.al) line 588.
[Fri Sep 27 11:21:17.504749 2019] [perl:error] [pid 4192:tid 139865920358144] [client 127.0.0.1:52529] getrlimit: Unknown limit '' at /home/pete/src/mod_perl-2.0.11-rc3/blib/lib/Apache2/Resource.pm line 119.\n

I can compress and attach the whole error log if you think it might help.

Pete
--
Openstrike - improving business through open source
https://www.openstrike.co.uk/ or call 01722 770036
Re: [RELEASE CANDIDATE] mod_perl-2.0.11 RC3 [ In reply to ]
-=| Vincent Veyron, 26.09.2019 21:40:29 +0200 |=-
> On Thu, 26 Sep 2019 21:52:29 +0300
> Damyan Ivanov <dmn@debian.org> wrote:
> >
> > builds OK and tests pass on Debian/unstable amd64 and i386 with apache
> > 2.4.41, apr 1.6.5, Perl 5.28.1, CGI 4.44
>
> Would you mind explaining what steps you took to build on Debian? I'm on Stretch (old stable), and can't build.

I am building the Debian package, not the "naked" source.

> # make
> cd "src/modules/perl" && make
> …
> /usr/bin/ld : ne peut trouver -lperl
> collect2: error: ld returned 1 exit status

Seems you miss the Perl development files. Try installing libperl-dev.

You may prefer to stick with the pre-compiled package
(libapache2-mod-perl2).


-- Damyan

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@perl.apache.org
For additional commands, e-mail: dev-help@perl.apache.org
Re: [RELEASE CANDIDATE] mod_perl-2.0.11 RC3 [ In reply to ]
+1 on gentoo with 2.4.41 prefork on perl 5.28.0

I still see the bbs tests failing as they have been. I started to look
into it a bit, and see what you're talking about with the ENV switch to
'turn off LWP', but ran out of time. It kind of looked like when LWP was
on, that the value of the header wasn't getting sent, but there seems to
be a lot of magic going on in those tests in general, that i didn't have
time to understand. It seemed like that test should be fixable though.

Adam

On 9/26/19 1:17 PM, Steve Hay wrote:
> Please download, test, and report back on this mod_perl 2.0.11 release
> candidate.
>
> https://dist.apache.org/repos/dist/dev/perl/mod_perl-2.0.11-rc3.tar.gz
>
> MD5 = dd6f7918fc492be21868a9774b2e58c5
> SHA1 = e4af2eaabb40962cd7e5566e5ee3342090413b30
>
> Changes since RC2 are as follows:
>
> Fix t/api/request_rec.t failures [Steve Hay]
>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@perl.apache.org
For additional commands, e-mail: dev-help@perl.apache.org
Re: [RELEASE CANDIDATE] mod_perl-2.0.11 RC3 [ In reply to ]
On Fri, 27 Sep 2019 at 11:32, Pete Houston <ph1@openstrike.co.uk> wrote:
>
> On Fri, Sep 27, 2019 at 08:22:11AM +0100, Steve Hay wrote:
> > Can you give any more detail on the apache_resource.t failure? I've
> > not seen that reported anywhere else.
>
> $ t/TEST -verbose t/modules/apache_resource.t
> [warning] setting ulimit to allow core files
> ulimit -c unlimited; /usr/bin/perl /home/pete/src/mod_perl-2.0.11-rc3/t/TEST -verbose 't/modules/apache_resource.t'
> /usr/local/httpd-2.4.41/bin/httpd -d /home/pete/src/mod_perl-2.0.11-rc3/t -f /home/pete/src/mod_perl-2.0.11-rc3/t/conf/httpd.conf -D APACHE2 -D APACHE2_4 -D PERL_USEITHREADS
> using Apache/2.4.41 (event MPM)
>
> waiting 300 seconds for server to start: .[Fri Sep 27 11:21:12.994001 2019] [env:warn] [pid 4182:tid 139866432870272] AH01506: PassEnv variable LD_LIBRARY_PATH was undefined
> [Fri Sep 27 11:21:13.154432 2019] [perl:info] [pid 4182:tid 139866432870272] 6 Apache2:: modules loaded
> [Fri Sep 27 11:21:13.154642 2019] [perl:info] [pid 4182:tid 139866432870272] 0 APR:: modules loaded
> [Fri Sep 27 11:21:13.154837 2019] [perl:info] [pid 4182:tid 139866432870272] base server + 29 vhosts ready to run tests
> ...
> waiting 300 seconds for server to start: ok (waited 3 secs)
> server localhost.localdomain:8529 started
> server localhost.localdomain:8530 listening (filter_out_apache)
> server localhost.localdomain:8531 listening (perlsections)
> server localhost.localdomain:8532 listening (inherit)
> server localhost.localdomain:8533 listening (TestUser::rewrite)
> server localhost.localdomain:8534 listening (TestVhost::log)
> server localhost.localdomain:8535 listening (TestVhost::config)
> server localhost.localdomain:8536 listening (TestModperl::perl_options2)
> server localhost.localdomain:8537 listening (TestModperl::perl_options)
> server localhost.localdomain:8538 listening (TestModperl::merge)
> server localhost.localdomain:8539 listening (TestModperl::setupenv)
> server localhost.localdomain:8540 listening (TestDirective::perlcleanuphandler)
> server localhost.localdomain:8541 listening (TestModules::proxy)
> server localhost.localdomain:8542 listening (TestProtocol::echo_block)
> server localhost.localdomain:8543 listening (TestProtocol::echo_bbs2)
> server localhost.localdomain:8544 listening (TestProtocol::pseudo_http)
> server localhost.localdomain:8545 listening (TestProtocol::echo_timeout)
> server localhost.localdomain:8546 listening (TestProtocol::echo_filter)
> server localhost.localdomain:8547 listening (TestProtocol::echo_nonblock)
> server localhost.localdomain:8548 listening (TestProtocol::echo_bbs)
> server localhost.localdomain:8549 listening (TestPreConnection::note)
> server localhost.localdomain:8550 listening (TestHooks::init)
> server localhost.localdomain:8551 listening (TestHooks::trans)
> server localhost.localdomain:8552 listening (TestHooks::hookrun)
> server localhost.localdomain:8553 listening (TestHooks::stacked_handlers2)
> server localhost.localdomain:8554 listening (TestHooks::startup)
> server localhost.localdomain:8555 listening (TestFilter::both_str_con_add)
> server localhost.localdomain:8556 listening (TestFilter::in_bbs_msg)
> server localhost.localdomain:8557 listening (TestFilter::in_str_msg)
> server localhost.localdomain:8558 listening (TestFilter::in_bbs_inject_header)
> server localhost.localdomain:8559 listening (TestDirective::perlmodule)
> server localhost.localdomain:8560 listening (TestDirective::perlrequire)
> server localhost.localdomain:8561 listening (TestDirective::perlloadmodule4)
> server localhost.localdomain:8562 listening (TestDirective::perlloadmodule5)
> server localhost.localdomain:8563 listening (TestDirective::perlloadmodule3)
> server localhost.localdomain:8564 listening (TestAPI::add_config)
> server localhost.localdomain:8565 listening (TestDirective::perlloadmodule6)
> server localhost.localdomain:8566 listening (TestHooks::push_handlers_anon)
> t/modules/apache_resource.t ..
> 1..1
> # Running under perl version 5.020003 for linux
> # Current time local: Fri Sep 27 11:21:16 2019
> # Current time GMT: Fri Sep 27 10:21:16 2019
> # Using Test.pm version 1.26
> # Using Apache/Test.pm version 1.42
> not ok 1
> # Failed test 1 in t/modules/apache_resource.t at line 18
> Failed 1/1 subtests
>
> Test Summary Report
> -------------------
> t/modules/apache_resource.t (Wstat: 0 Tests: 1 Failed: 1)
> Failed test: 1
> Files=1, Tests=1, 1 wallclock secs ( 0.05 usr 0.02 sys + 0.47 cusr 0.11 csys = 0.65 CPU)
> Result: FAIL
> Failed 1/1 test programs. 1/1 subtests failed.
> [warning] server localhost.localdomain:8529 shutdown
> [ error] error running tests (please examine t/logs/error_log)
>
>
> Some potentially relevant entries in t/logs/error_log:
>
> [Fri Sep 27 11:21:15.932361 2019] [cgid:error] [pid 4190:tid 139866432870272] (2)No such file or directory: AH01243: Couldn't bind unix domain socket /home/pete/src/mod_perl-2.0.11-rc3/t/logs/logs/cgisock.4186
> ...
> [Fri Sep 27 11:21:16.040150 2019] [cgid:crit] [pid 4186:tid 139866432870272] AH01238: cgid daemon failed to initialize
> ...
> [Fri Sep 27 11:21:16.546874 2019] [authz_core:debug] [pid 4193:tid 139866043488000] mod_authz_core.c(846): [client 127.0.0.1:52528] AH01628: authorization result: granted (no directives)
> [Fri Sep 27 11:21:17.479647 2019] [authz_core:debug] [pid 4192:tid 139865920358144] mod_authz_core.c(846): [client 127.0.0.1:52529] AH01628: authorization result: granted (no directives)
> ap_get_server_version() is deprecated since httpd/2.3.0 try using ap_get_server_(description|banner)() instead at /home/pete/src/mod_perl-2.0.11-rc3/blib/lib/Apache2/Status.pm line 145.
> Use of uninitialized value $lim in pattern match (m//) at blib/lib/BSD/Resource.pm (autosplit into blib/lib/auto/BSD/Resource/_find_rlimit.al) line 579.
> Use of uninitialized value $lim in pattern match (m//) at blib/lib/BSD/Resource.pm (autosplit into blib/lib/auto/BSD/Resource/_find_rlimit.al) line 585.
> Use of uninitialized value $lim in concatenation (.) or string at blib/lib/BSD/Resource.pm (autosplit into blib/lib/auto/BSD/Resource/_find_rlimit.al) line 588.
> [Fri Sep 27 11:21:17.504749 2019] [perl:error] [pid 4192:tid 139865920358144] [client 127.0.0.1:52529] getrlimit: Unknown limit '' at /home/pete/src/mod_perl-2.0.11-rc3/blib/lib/Apache2/Resource.pm line 119.\n
>
> I can compress and attach the whole error log if you think it might help.
>

I think the last line of the log extracts above is the clue, but I'm
not going to be able to fix this myself. Line 119 in
Apache2/Resource.pm is:

my ($soft, $hard) = getrlimit $val;

So it looks like $val is blank. That comes from line 118:

my $val = eval "&BSD::Resource::${res}()";

where $res is one of the keys of the $lim hashref, which comes from line 112:

my $lim = get_rlimits();

Both getrlimit() and get_rlimits() are further BSD::Resource
functions, which I see the error log also has further references to
above (several uninitialized value warnings), but is not a thing that
I have access to on Windows. Unless anyone else can help here then
we'll have to let this one go for now. Hopefully it's not a
showstopper.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@perl.apache.org
For additional commands, e-mail: dev-help@perl.apache.org
Re: [RELEASE CANDIDATE] mod_perl-2.0.11 RC3 [ In reply to ]
On Wed, Oct 02, 2019 at 08:13:59AM +0100, Steve Hay wrote:
>
> I think the last line of the log extracts above is the clue, but I'm
> not going to be able to fix this myself. Line 119 in
> Apache2/Resource.pm is:
>
> my ($soft, $hard) = getrlimit $val;
>
> So it looks like $val is blank. That comes from line 118:
>
> my $val = eval "&BSD::Resource::${res}()";
>
> where $res is one of the keys of the $lim hashref, which comes from line 112:
>
> my $lim = get_rlimits();
>
> Both getrlimit() and get_rlimits() are further BSD::Resource
> functions, which I see the error log also has further references to
> above (several uninitialized value warnings), but is not a thing that
> I have access to on Windows. Unless anyone else can help here then
> we'll have to let this one go for now. Hopefully it's not a
> showstopper.

Thanks for this diagnosis. Going through the resources here I do see
some which were undef and thus causing getrlimit to complain. Attached
is the trivial patch which now makes the test pass for me. It seemed
reasonable to simply omit undef resources but you might have a contrary
view.

For the record the undef resources I see are:

RLIMIT_NICE
RLIMIT_SIGPENDING
RLIMIT_RTTIME
RLIMIT_RTPRIO
RLIMIT_MSGQUEUE

HTH,

Pete
--
Openstrike - improving business through open source
https://www.openstrike.co.uk/ or call 01722 770036
Re: [RELEASE CANDIDATE] mod_perl-2.0.11 RC3 [ In reply to ]
On Wed, 2 Oct 2019 at 11:03, Pete Houston <ph1@openstrike.co.uk> wrote:
>
> On Wed, Oct 02, 2019 at 08:13:59AM +0100, Steve Hay wrote:
> >
> > I think the last line of the log extracts above is the clue, but I'm
> > not going to be able to fix this myself. Line 119 in
> > Apache2/Resource.pm is:
> >
> > my ($soft, $hard) = getrlimit $val;
> >
> > So it looks like $val is blank. That comes from line 118:
> >
> > my $val = eval "&BSD::Resource::${res}()";
> >
> > where $res is one of the keys of the $lim hashref, which comes from line 112:
> >
> > my $lim = get_rlimits();
> >
> > Both getrlimit() and get_rlimits() are further BSD::Resource
> > functions, which I see the error log also has further references to
> > above (several uninitialized value warnings), but is not a thing that
> > I have access to on Windows. Unless anyone else can help here then
> > we'll have to let this one go for now. Hopefully it's not a
> > showstopper.
>
> Thanks for this diagnosis. Going through the resources here I do see
> some which were undef and thus causing getrlimit to complain. Attached
> is the trivial patch which now makes the test pass for me. It seemed
> reasonable to simply omit undef resources but you might have a contrary
> view.
>
> For the record the undef resources I see are:
>
> RLIMIT_NICE
> RLIMIT_SIGPENDING
> RLIMIT_RTTIME
> RLIMIT_RTPRIO
> RLIMIT_MSGQUEUE
>

I'm not sure about this area, but if it works for with your patch then
it's probably an improvement :-)

Just out of interest, does the following alternative patch work?

Index: lib/Apache2/Resource.pm
===================================================================
--- lib/Apache2/Resource.pm (revision 1866274)
+++ lib/Apache2/Resource.pm (working copy)
@@ -115,8 +115,7 @@
"</tr>");

for my $res (keys %$lim) {
- my $val = eval "&BSD::Resource::${res}()";
- my ($soft, $hard) = getrlimit $val;
+ my ($soft, $hard) = getrlimit($lim->{$res});
(my $limit = $res) =~ s/^RLIMIT_//;
($soft, $hard) = ("$soft " . BM($soft), "$hard ". BM($hard))
if $is_mb{$limit};

This avoids making the &BSD::Resource::${res}() calls, which are what
is returning undef for you in some cases. Or does this fail just the
same because some of the values of %$lim are also undef anyway?
Re: [RELEASE CANDIDATE] mod_perl-2.0.11 RC3 [ In reply to ]
On Wed, Oct 02, 2019 at 06:07:39PM +0100, Steve Hay wrote:
>
> I'm not sure about this area, but if it works for with your patch then
> it's probably an improvement :-)
>
> Just out of interest, does the following alternative patch work?
>
> Index: lib/Apache2/Resource.pm
> ===================================================================
> --- lib/Apache2/Resource.pm (revision 1866274)
> +++ lib/Apache2/Resource.pm (working copy)
> @@ -115,8 +115,7 @@
> "</tr>");
>
> for my $res (keys %$lim) {
> - my $val = eval "&BSD::Resource::${res}()";
> - my ($soft, $hard) = getrlimit $val;
> + my ($soft, $hard) = getrlimit($lim->{$res});
> (my $limit = $res) =~ s/^RLIMIT_//;
> ($soft, $hard) = ("$soft " . BM($soft), "$hard ". BM($hard))
> if $is_mb{$limit};

Yes, that works just as well for me.

> This avoids making the &BSD::Resource::${res}() calls, which are what
> is returning undef for you in some cases. Or does this fail just the
> same because some of the values of %$lim are also undef anyway?

The %$lim values are not undef. See the attached stand-alone test and
output for the problematic values which I see and which also shows that
the limits for those resources are still retrievable via getrlimit().

HTH,

Pete
--
Openstrike - improving business through open source
https://www.openstrike.co.uk/ or call 01722 770036
Re: [RELEASE CANDIDATE] mod_perl-2.0.11 RC3 [ In reply to ]
On Thu, 3 Oct 2019 at 10:14, Pete Houston <ph1@openstrike.co.uk> wrote:
>
> On Wed, Oct 02, 2019 at 06:07:39PM +0100, Steve Hay wrote:
> >
> > I'm not sure about this area, but if it works for with your patch then
> > it's probably an improvement :-)
> >
> > Just out of interest, does the following alternative patch work?
> >
> > Index: lib/Apache2/Resource.pm
> > ===================================================================
> > --- lib/Apache2/Resource.pm (revision 1866274)
> > +++ lib/Apache2/Resource.pm (working copy)
> > @@ -115,8 +115,7 @@
> > "</tr>");
> >
> > for my $res (keys %$lim) {
> > - my $val = eval "&BSD::Resource::${res}()";
> > - my ($soft, $hard) = getrlimit $val;
> > + my ($soft, $hard) = getrlimit($lim->{$res});
> > (my $limit = $res) =~ s/^RLIMIT_//;
> > ($soft, $hard) = ("$soft " . BM($soft), "$hard ". BM($hard))
> > if $is_mb{$limit};
>
> Yes, that works just as well for me.
>
> > This avoids making the &BSD::Resource::${res}() calls, which are what
> > is returning undef for you in some cases. Or does this fail just the
> > same because some of the values of %$lim are also undef anyway?
>
> The %$lim values are not undef. See the attached stand-alone test and
> output for the problematic values which I see and which also shows that
> the limits for those resources are still retrievable via getrlimit().
>

Great! Thanks for confirming. I've now committed that fix, and hope to
make the final release soon: I don't think this single change warrants
an RC4.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@perl.apache.org
For additional commands, e-mail: dev-help@perl.apache.org