Mailing List Archive

test failure w Apache 2.4, perl-5.24.0 and trunk
Since Steve Hay asked for trunk vs 5.24 and 2.4 reports, I
gave it a whirl on Omnios/Illumos.
t/filter/in_bbs_inject_header.t is my only fail with
useithreads=undef perl and -with-mpm=prefork httpd.

John
groenveld@acm.org

$ env PATH=/opt/apache24/bin:/opt/apache24/perl-5.24.0/bin:/usr/bin:/usr/sbin:/usr/ccs/bin:/opt/gcc-5.1.0/bin:/usr/gnu/bin:/usr/sfw/bin perl Makefile.PL APXS=/opt/apache24/bin/apxs MAKE=gmake MP_NO_THREADS=1

[warning] Skipping 'set unlimited ulimit for coredumps', since we are running as a non-root user on Solaris
/opt/apache24/bin/httpd -d /home/bernice.1/john/trunk/t -f /home/bernice.1/john/trunk/t/conf/httpd.conf -D APACHE2 -D APACHE2_4
using Apache/2.4.23 (prefork MPM)

waiting 300 seconds for server to start: .[Fri Jul 22 17:37:41.545978 2016] [env:warn] [pid 26677] AH01506: PassEnv variable LD_LIBRARY_PATH was undefined
[Fri Jul 22 17:37:41.603542 2016] [perl:info] [pid 26677] 6 Apache2:: modules loaded
[Fri Jul 22 17:37:41.603624 2016] [perl:info] [pid 26677] 0 APR:: modules loaded
[Fri Jul 22 17:37:41.603700 2016] [perl:info] [pid 26677] base server + 32 vhosts ready to run tests
...
waiting 300 seconds for server to start: ok (waited 3 secs)
server localhost:8529 started
server localhost:8530 listening (perlsections)
server localhost:8531 listening (inherit)
server localhost:8532 listening (filter_out_apache)
server localhost:8533 listening (TestUser::rewrite)
server localhost:8534 listening (TestModperl::merge)
server localhost:8535 listening (TestModperl::setupenv)
server localhost:8536 listening (TestModperl::perl_options2)
server localhost:8537 listening (TestModperl::perl_options)
server localhost:8538 listening (TestVhost::config)
server localhost:8539 listening (TestVhost::log)
server localhost:8540 listening (TestDirective::perlcleanuphandler)
server localhost:8541 listening (TestModules::proxy)
server localhost:8542 listening (TestProtocol::pseudo_http)
server localhost:8543 listening (TestProtocol::echo_filter)
server localhost:8544 listening (TestProtocol::eliza)
server localhost:8545 listening (TestProtocol::echo_nonblock)
server localhost:8546 listening (TestProtocol::echo_timeout)
server localhost:8547 listening (TestProtocol::echo_bbs2)
server localhost:8548 listening (TestProtocol::echo_block)
server localhost:8549 listening (TestProtocol::echo_bbs)
server localhost:8550 listening (TestPreConnection::note)
server localhost:8551 listening (TestHooks::stacked_handlers2)
server localhost:8552 listening (TestHooks::startup)
server localhost:8553 listening (TestHooks::init)
server localhost:8554 listening (TestHooks::hookrun)
server localhost:8555 listening (TestHooks::trans)
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 (TestFilter::both_str_con_add)
server localhost:8560 listening (TestDirective::perlrequire)
server localhost:8561 listening (TestDirective::perlmodule)
server localhost:8562 listening (TestPerl::ithreads)
server localhost:8563 listening (TestPerl::ithreads3)
server localhost:8564 listening (TestDirective::perlloadmodule3)
server localhost:8565 listening (TestDirective::perlloadmodule5)
server localhost:8566 listening (TestDirective::perlloadmodule4)
server localhost:8567 listening (TestAPI::add_config)
server localhost:8568 listening (TestDirective::perlloadmodule6)
server localhost:8569 listening (TestHooks::push_handlers_anon)
# 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
t/filter/in_bbs_inject_header.t ..
# connecting to localhost:8556
1..36
# Running under perl version 5.024000 for solaris
# Current time local: Fri Jul 22 17:37:46 2016
# Current time GMT: Fri Jul 22 21:37:46 2016
# Using Test.pm version 1.28
# Using Apache/Test.pm version 1.39
# 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
# 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
# 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
# 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, 2 wallclock secs ( 0.06 usr 0.03 sys + 1.02 cusr 0.56 csys = 1.67 CPU)
Result: FAIL
Failed 1/1 test programs. 3/36 subtests failed.
[warning] server localhost:8529 shutdown
[warning] port 8529 still in use...
done
[ error] error running tests (please examine t/logs/error_log)