Mailing List Archive

[mp2] Test failures in mod_perl 2.0.9 (Apache 2.2.31, perl 5.24.0)
-------------8<---------- Start Bug Report ------------8<----------
1. Problem Description:

Until recently we have been using Perl 5.8.8, Apache 2.2.29, and
mod_perl 2.0.8. Due to migration to a new platform, it is necessary to
rebuild our tech stack, so I am taking this opportunity to upgrade (Perl
5.8.8 doesn't want to build on the new platform anyway).

Everything compiles fine, and Apache and Perl have no issues but
mod_perl has failures running "make test":

Test Summary Report
-------------------
t/api/uri.t (Wstat: 0 Tests: 12 Failed: 0)
Parse errors: Bad plan. You planned 24 tests but ran 12.
t/apr-ext/uri.t (Wstat: 65280 Tests: 12 Failed: 0)
Non-zero exit status: 255
Parse errors: Bad plan. You planned 36 tests but ran 12.
t/apr/uri.t (Wstat: 0 Tests: 12 Failed: 0)
Parse errors: Bad plan. You planned 36 tests but ran 12.
t/directive/perlloadmodule3.t (Wstat: 0 Tests: 3 Failed: 3)
Failed tests: 1-3
t/filter/both_str_native_remove.t (Wstat: 0 Tests: 8 Failed: 4)
Failed tests: 1, 6-8
t/modperl/print.t (Wstat: 0 Tests: 5 Failed: 0)
Parse errors: Bad plan. You planned 6 tests but ran 5.
t/modperl/printf.t (Wstat: 65280 Tests: 0 Failed: 0)
Non-zero exit status: 255
Parse errors: No plan found in TAP output
Files=245, Tests=2223, 136 wallclock secs ( 1.16 usr 2.63 sys + 80.27
cusr 35.91 csys = 119.97 CPU)
Result: FAIL
Failed 7/245 test programs. 7/2223 subtests failed.

I re-ran the tests mentioned above using -verbose mode, and the results
are below.

% t/TEST -verbose api/uri apr-ext/uri apr/uri directive/perlloadmodule3
filter/both_str_native_remove modperl/print modperl/printf
[warning] setting ulimit to allow core files
ulimit -c unlimited; /arudev/tech-stack/16.09.16.06/linux/bin/perl
/scratch/wward/build/tech-stack/build/16.09.16.06/linux/cpan/build/mod_perl-2.0.9/t/TEST
-verbose 'api/uri' 'apr-ext/uri' 'apr/uri' 'directive/perlloadmodule3'
'filter/both_str_native_remove' 'modperl/print' 'modperl/printf'
/arudev/tech-stack/16.09.16.06/linux/bin/httpd -d
/scratch/wward/build/tech-stack/build/16.09.16.06/linux/cpan/build/mod_perl-2.0.9/t
-f
/scratch/wward/build/tech-stack/build/16.09.16.06/linux/cpan/build/mod_perl-2.0.9/t/conf/httpd.conf
-D APACHE2
using Apache/2.2.31 (prefork MPM)

waiting 120 seconds for server to start: .[Thu Jul 21 14:01:34 2016]
[info] 6 Apache2:: modules loaded
[Thu Jul 21 14:01:34 2016] [info] 0 APR:: modules loaded
[Thu Jul 21 14:01:34 2016] [info] base server + 29 vhosts ready to run tests
..
waiting 120 seconds for server to start: ok (waited 2 secs)
server localhost.localdomain:8529 started
server localhost.localdomain:8530 listening (perlsections)
server localhost.localdomain:8531 listening (inherit)
server localhost.localdomain:8532 listening (filter_out_apache)
server localhost.localdomain:8533 listening (TestVhost::log)
server localhost.localdomain:8534 listening (TestVhost::config)
server localhost.localdomain:8535 listening (TestModperl::setupenv)
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
(TestDirective::perlcleanuphandler)
server localhost.localdomain:8540 listening (TestModules::proxy)
server localhost.localdomain:8541 listening (TestUser::rewrite)
server localhost.localdomain:8542 listening (TestProtocol::echo_bbs)
server localhost.localdomain:8543 listening (TestProtocol::echo_timeout)
server localhost.localdomain:8544 listening (TestProtocol::echo_block)
server localhost.localdomain:8545 listening (TestProtocol::pseudo_http)
server localhost.localdomain:8546 listening (TestProtocol::echo_filter)
server localhost.localdomain:8547 listening (TestProtocol::echo_bbs2)
server localhost.localdomain:8548 listening (TestProtocol::echo_nonblock)
server localhost.localdomain:8549 listening (TestPreConnection::note)
server localhost.localdomain:8550 listening (TestHooks::init)
server localhost.localdomain:8551 listening (TestHooks::startup)
server localhost.localdomain:8552 listening (TestHooks::hookrun)
server localhost.localdomain:8553 listening (TestHooks::stacked_handlers2)
server localhost.localdomain:8554 listening (TestHooks::trans)
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_bbs_inject_header)
server localhost.localdomain:8558 listening (TestFilter::in_str_msg)
server localhost.localdomain:8559 listening (TestDirective::perlrequire)
server localhost.localdomain:8560 listening (TestDirective::perlmodule)
server localhost.localdomain:8561 listening (TestDirective::perlloadmodule3)
server localhost.localdomain:8562 listening (TestDirective::perlloadmodule5)
server localhost.localdomain:8563 listening (TestDirective::perlloadmodule4)
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/api/uri.t ........................
1..24
# Running under perl version 5.024000 for linux
# Current time local: Thu Jul 21 14:01:36 2016
# Current time GMT: Thu Jul 21 21:01:36 2016
# Using Test.pm version 1.28
# Using Apache/Test.pm version 1.39
ok 1
# testing : path
# expected: qr/^\/TestAPI__uri/
# received: '/TestAPI__uri'
ok 2
# testing : unparse
# expected: qr/^\/TestAPI__uri/
# received: '/TestAPI__uri'
ok 3
# testing : construct_server/get_server_name/get_server_port
# expected: 'localhost.localdomain:8529'
# received: 'localhost.localdomain:8529'
ok 4
# testing : construct_server(example.com)
# expected: 'example.com:8529'
# received: 'example.com:8529'
ok 5
# testing : construct_server(example.com, 9097)
# expected: 'example.com:9097'
# received: 'example.com:9097'
ok 6
# testing : construct_server(example.com, 9097, new_pool)
# expected: 'example.com:9097'
# received: 'example.com:9097'
ok 7
# construct_url: http://localhost.localdomain:8529/TestAPI__uri
# r->uri: /TestAPI__uri
ok 8
# testing : unparse
# expected: qr/\/TestAPI__uri/
# received: 'http://localhost.localdomain:8529/TestAPI__uri'
ok 9
# testing : parsed path
# expected: '/foo/bar'
# received: '/foo/bar'
ok 10
# construct_url: http://localhost.localdomain:8529/TestAPI__uri?query
# r->uri:
# /TestAPI__uri
# testing : construct_url($uri)
# expected: qr/\/TestAPI__uri/
# received: 'http://localhost.localdomain:8529/TestAPI__uri?query'
ok 11
# testing : args vs query
# expected: 'query'
# received: 'query'
ok 12
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>200 OK</title>
</head><body>
<h1>OK</h1>
<p>The server encountered an internal error or
misconfiguration and was unable to complete
your request.</p>
<p>Please contact the server administrator,
you@example.com and inform them of the time the error occurred,
and anything you might have done that may have
caused the error.</p>
<p>More information about this error may be available
in the server error log.</p>
<hr>
<address>Apache/2.2.31 (Unix) world domination series/2.0 mod_perl/2.0.9
Perl/v5.24.0 Server at localhost.localdomain Port 8529</address>
</body></html>
Failed 12/24 subtests
Redundant argument in sprintf at
/scratch/wward/build/tech-stack/build/16.09.16.06/linux/cpan/build/mod_perl-2.0.9/t/lib/TestAPRlib/uri.pm
line 91.
t/apr-ext/uri.t ....................
1..36
# Running under perl version 5.024000 for linux
# Current time local: Thu Jul 21 14:01:38 2016
# Current time GMT: Thu Jul 21 21:01:38 2016
# Using Test.pm version 1.28
# Using Apache/Test.pm version 1.39
ok 1
ok 2
# testing : password
# expected: 'password'
# received: 'password'
ok 3
# testing : port
# expected: 8000
# received: '8000'
ok 4
# testing : query
# expected: 'query'
# received: 'query'
ok 5
# testing : user
# expected: 'user'
# received: 'user'
ok 6
# testing : path
# expected: '/path/file.pl'
# received: '/path/file.pl'
ok 7
# testing : hostname
# expected: 'www.example.com'
# received: 'www.example.com'
ok 8
# testing : fragment
# expected: 'fragment'
# received: 'fragment'
ok 9
# testing : scheme
# expected: 'http'
# received: 'http'
ok 10
# testing : hostinfo
# expected: 'user:password@www.example.com:8000'
# received: 'user:password@www.example.com:8000'
ok 11
# password: pass => pass
# port: 21 => 21
# query: undef => undef
# user: log => log
# path: /pub => /pub
# hostname: ftp.example.com => ftp.example.com
# fragment: undef => undef
# scheme: ftp => ftp
# testing : hostinfo
# expected: 'user:password@www.example.com:8000'
# received: 'user:password@www.example.com:8000'
ok 12
Dubious, test returned 255 (wstat 65280, 0xff00)
Failed 24/36 subtests
t/apr/uri.t ........................
1..36
# Running under perl version 5.024000 for linux
# Current time local: Thu Jul 21 14:01:36 2016
# Current time GMT: Thu Jul 21 21:01:36 2016
# Using Test.pm version 1.28
# Using Apache/Test.pm version 1.39
ok 1
ok 2
# testing : user
# expected: 'user'
# received: 'user'
ok 3
# testing : scheme
# expected: 'http'
# received: 'http'
ok 4
# testing : path
# expected: '/path/file.pl'
# received: '/path/file.pl'
ok 5
# testing : port
# expected: 8000
# received: '8000'
ok 6
# testing : password
# expected: 'password'
# received: 'password'
ok 7
# testing : hostname
# expected: 'www.example.com'
# received: 'www.example.com'
ok 8
# testing : fragment
# expected: 'fragment'
# received: 'fragment'
ok 9
# testing : query
# expected: 'query'
# received: 'query'
ok 10
# testing : hostinfo
# expected: 'user:password@www.example.com:8000'
# received: 'user:password@www.example.com:8000'
ok 11
# user: log => log
# scheme: ftp => ftp
# path: /pub => /pub
# port: 21 => 21
# password: pass => pass
# hostname: ftp.example.com => ftp.example.com
# fragment: undef => undef
# query: undef => undef
# testing : hostinfo
# expected: 'user:password@www.example.com:8000'
# received: 'user:password@www.example.com:8000'
ok 12
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>200 OK</title>
</head><body>
<h1>OK</h1>
<p>The server encountered an internal error or
misconfiguration and was unable to complete
your request.</p>
<p>Please contact the server administrator,
you@example.com and inform them of the time the error occurred,
and anything you might have done that may have
caused the error.</p>
<p>More information about this error may be available
in the server error log.</p>
<hr>
<address>Apache/2.2.31 (Unix) world domination series/2.0 mod_perl/2.0.9
Perl/v5.24.0 Server at localhost.localdomain Port 8529</address>
</body></html>
Failed 24/36 subtests
# Failed test 1 in t/directive/perlloadmodule3.t at line 39
# Failed test 2 in t/directive/perlloadmodule3.t at line 70
# Failed test 3 in t/directive/perlloadmodule3.t at line 98
t/directive/perlloadmodule3.t ......
1..3
# Running under perl version 5.024000 for linux
# Current time local: Thu Jul 21 14:01:39 2016
# Current time GMT: Thu Jul 21 21:01:39 2016
# Using Test.pm version 1.28
# Using Apache/Test.pm version 1.39
# connecting to localhost.localdomain:8529
# testing : server merge
# expected: '<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
# <html><head>
# <title>500 Internal Server Error</title>
# </head><body>
# <h1>Internal Server Error</h1>
# <p>The server encountered an internal error or
# misconfiguration and was unable to complete
# your request.</p>
# <p>Please contact the server administrator,
# you@example.com and inform them of the time the error occurred,
# and anything you might have done that may have
# caused the error.</p>
# <p>More information about this error may be available
# in the server error log.</p>
# <hr>
# <address>Apache/2.2.31 (Unix) world domination series/2.0
mod_perl/2.0.9 Perl/v5.24.0 Server at localhost.localdomain Port
8529</address>
# </body></html>
# '
# received: 'Processing by main server.
#
# Section 1: Main Server
# MyAppend : MainServer
# MyList : ["MainServer"]
# MyOverride : MainServer
# MyPlus : 5
#
# Section 2: Location
# MyAppend : MainServer
# MyList : ["MainServer"]
# MyOverride : MainServer
# MyPlus : 5
# '
not ok 1
# connecting to localhost.localdomain:8561
# testing : server/dir merge
# expected: 'Processing by virtual host.
#
# Section 1: Main Server
# MyAppend : MainServer
# MyList : ["MainServer"]
# MyOverride : MainServer
# MyPlus : 5
#
# Section 2: Virtual Host
# MyAppend : MainServer VHost
# MyList : ["MainServer", "VHost"]
# MyOverride : VHost
# MyPlus : 7
#
# Section 3: Location
# MyAppend : MainServer VHost Dir
# MyList : ["MainServer", "VHost", "Dir"]
# MyOverride : Dir
# MyPlus : 10
# '
# received: '<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
# <html><head>
# <title>500 Internal Server Error</title>
# </head><body>
# <h1>Internal Server Error</h1>
# <p>The server encountered an internal error or
# misconfiguration and was unable to complete
# your request.</p>
# <p>Please contact the server administrator,
# you@example.com and inform them of the time the error occurred,
# and anything you might have done that may have
# caused the error.</p>
# <p>More information about this error may be available
# in the server error log.</p>
# <hr>
# <address>Apache/2.2.31 (Unix) world domination series/2.0
mod_perl/2.0.9 Perl/v5.24.0 Server at localhost.localdomain Port
8561</address>
# </body></html>
# '
not ok 2
# testing : server/dir/subdir merge
# expected: 'Processing by virtual host.
#
# Section 1: Main Server
# MyAppend : MainServer
# MyList : ["MainServer"]
# MyOverride : MainServer
# MyPlus : 5
#
# Section 2: Virtual Host
# MyAppend : MainServer VHost
# MyList : ["MainServer", "VHost"]
# MyOverride : VHost
# MyPlus : 7
#
# Section 3: Location
# MyAppend : MainServer VHost Dir SubDir
# MyList : ["MainServer", "VHost", "Dir", "SubDir"]
# MyOverride : SubDir
# MyPlus : 11
# '
# received: '<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
# <html><head>
# <title>500 Internal Server Error</title>
# </head><body>
# <h1>Internal Server Error</h1>
# <p>The server encountered an internal error or
# misconfiguration and was unable to complete
# your request.</p>
# <p>Please contact the server administrator,
# you@example.com and inform them of the time the error occurred,
# and anything you might have done that may have
# caused the error.</p>
# <p>More information about this error may be available
# in the server error log.</p>
# <hr>
# <address>Apache/2.2.31 (Unix) world domination series/2.0
mod_perl/2.0.9 Perl/v5.24.0 Server at localhost.localdomain Port
8561</address>
# </body></html>
# '
not ok 3
Failed 3/3 subtests
# Failed test 1 in t/filter/both_str_native_remove.t at line 23
# Failed test 6 in t/filter/both_str_native_remove.t at line 46
# Failed test 7 in t/filter/both_str_native_remove.t at line 50
# Failed test 8 in t/filter/both_str_native_remove.t at line 54
t/filter/both_str_native_remove.t ..
1..8
# Running under perl version 5.024000 for linux
# Current time local: Thu Jul 21 14:01:39 2016
# Current time GMT: Thu Jul 21 21:01:39 2016
# Using Test.pm version 1.28
# Using Apache/Test.pm version 1.39
# testing : INCLUDES filter
# expected: qr/xSSI OK/
# received: 'content: gzipped text
# input1:
modperl_request_input,modperl_request_input,modperl_request_input,deflate,http_in,core_in
# input2:
modperl_request_input,modperl_request_input,deflate,http_in,core_in
# <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
# <html><head>
# <title>200 OK</title>
# </head><body>
# <h1>OK</h1>
# <p>The server encountered an internal error or
# misconfiguration and was unable to complete
# your request.</p>
# <p>Please contact the server administrator,
# you@example.com and inform them of the time the error occurred,
# and anything you might have done that may have
# caused the error.</p>
# <p>More information about this error may be available
# in the server error log.</p>
# <hr>
# <address>Apache/2.2.31 (Unix) world domination series/2.0
mod_perl/2.0.9 Perl/v5.24.0 Server at localhost.localdomain Port
8529</address>
# </body></html>
# '
not ok 1
# testing : DEFLATE filter
# expected: qr/content: gzipped text/
# received: 'content: gzipped text
# input1:
modperl_request_input,modperl_request_input,modperl_request_input,deflate,http_in,core_in
# input2:
modperl_request_input,modperl_request_input,deflate,http_in,core_in
# <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
# <html><head>
# <title>200 OK</title>
# </head><body>
# <h1>OK</h1>
# <p>The server encountered an internal error or
# misconfiguration and was unable to complete
# your request.</p>
# <p>Please contact the server administrator,
# you@example.com and inform them of the time the error occurred,
# and anything you might have done that may have
# caused the error.</p>
# <p>More information about this error may be available
# in the server error log.</p>
# <hr>
# <address>Apache/2.2.31 (Unix) world domination series/2.0
mod_perl/2.0.9 Perl/v5.24.0 Server at localhost.localdomain Port
8529</address>
# </body></html>
# '
ok 2
# testing : DEFLATE filter is present
# expected: qr/input1: [\w,]+deflate/
# received: 'content: plain text
# input1:
modperl_request_input,modperl_request_input,modperl_request_input,deflate,http_in,core_in
# input2: modperl_request_input,modperl_request_input,http_in,core_in
# <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
# <html><head>
# <title>200 OK</title>
# </head><body>
# <h1>OK</h1>
# <p>The server encountered an internal error or
# misconfiguration and was unable to complete
# your request.</p>
# <p>Please contact the server administrator,
# you@example.com and inform them of the time the error occurred,
# and anything you might have done that may have
# caused the error.</p>
# <p>More information about this error may be available
# in the server error log.</p>
# <hr>
# <address>Apache/2.2.31 (Unix) world domination series/2.0
mod_perl/2.0.9 Perl/v5.24.0 Server at localhost.localdomain Port
8529</address>
# </body></html>
# '
ok 3
# testing : DEFLATE filter is removed
# expected: qr/input2: [\w,]+deflate/
# received: 'content: plain text
# input1:
modperl_request_input,modperl_request_input,modperl_request_input,deflate,http_in,core_in
# input2: modperl_request_input,modperl_request_input,http_in,core_in
# <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
# <html><head>
# <title>200 OK</title>
# </head><body>
# <h1>OK</h1>
# <p>The server encountered an internal error or
# misconfiguration and was unable to complete
# your request.</p>
# <p>Please contact the server administrator,
# you@example.com and inform them of the time the error occurred,
# and anything you might have done that may have
# caused the error.</p>
# <p>More information about this error may be available
# in the server error log.</p>
# <hr>
# <address>Apache/2.2.31 (Unix) world domination series/2.0
mod_perl/2.0.9 Perl/v5.24.0 Server at localhost.localdomain Port
8529</address>
# </body></html>
# '
ok 4
# testing : DEFLATE filter wasn't invoked
# expected: qr/content: plain text/
# received: 'content: plain text
# input1:
modperl_request_input,modperl_request_input,modperl_request_input,deflate,http_in,core_in
# input2: modperl_request_input,modperl_request_input,http_in,core_in
# <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
# <html><head>
# <title>200 OK</title>
# </head><body>
# <h1>OK</h1>
# <p>The server encountered an internal error or
# misconfiguration and was unable to complete
# your request.</p>
# <p>Please contact the server administrator,
# you@example.com and inform them of the time the error occurred,
# and anything you might have done that may have
# caused the error.</p>
# <p>More information about this error may be available
# in the server error log.</p>
# <hr>
# <address>Apache/2.2.31 (Unix) world domination series/2.0
mod_perl/2.0.9 Perl/v5.24.0 Server at localhost.localdomain Port
8529</address>
# </body></html>
# '
ok 5
# testing : INCLUDES filter is present
# expected: qr/output1:
modperl_request_output,includes,modperl_request_output,/
# received: 'content: plain text
# input1:
modperl_request_input,modperl_request_input,modperl_request_input,deflate,http_in,core_in
# input2: modperl_request_input,modperl_request_input,http_in,core_in
# <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
# <html><head>
# <title>200 OK</title>
# </head><body>
# <h1>OK</h1>
# <p>The server encountered an internal error or
# misconfiguration and was unable to complete
# your request.</p>
# <p>Please contact the server administrator,
# you@example.com and inform them of the time the error occurred,
# and anything you might have done that may have
# caused the error.</p>
# <p>More information about this error may be available
# in the server error log.</p>
# <hr>
# <address>Apache/2.2.31 (Unix) world domination series/2.0
mod_perl/2.0.9 Perl/v5.24.0 Server at localhost.localdomain Port
8529</address>
# </body></html>
# '
not ok 6
# testing : INCLUDES filter is removed
# expected: qr/output2: modperl_request_output,(?!includes)/
# received: 'content: plain text
# input1:
modperl_request_input,modperl_request_input,modperl_request_input,deflate,http_in,core_in
# input2: modperl_request_input,modperl_request_input,http_in,core_in
# <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
# <html><head>
# <title>200 OK</title>
# </head><body>
# <h1>OK</h1>
# <p>The server encountered an internal error or
# misconfiguration and was unable to complete
# your request.</p>
# <p>Please contact the server administrator,
# you@example.com and inform them of the time the error occurred,
# and anything you might have done that may have
# caused the error.</p>
# <p>More information about this error may be available
# in the server error log.</p>
# <hr>
# <address>Apache/2.2.31 (Unix) world domination series/2.0
mod_perl/2.0.9 Perl/v5.24.0 Server at localhost.localdomain Port
8529</address>
# </body></html>
# '
not ok 7
# testing : INCLUDES filter wasn't invoked
# expected: qr/x<!--#echo var="SSI_TEST" -->x/
# received: 'content: plain text
# input1:
modperl_request_input,modperl_request_input,modperl_request_input,deflate,http_in,core_in
# input2: modperl_request_input,modperl_request_input,http_in,core_in
# <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
# <html><head>
# <title>200 OK</title>
# </head><body>
# <h1>OK</h1>
# <p>The server encountered an internal error or
# misconfiguration and was unable to complete
# your request.</p>
# <p>Please contact the server administrator,
# you@example.com and inform them of the time the error occurred,
# and anything you might have done that may have
# caused the error.</p>
# <p>More information about this error may be available
# in the server error log.</p>
# <hr>
# <address>Apache/2.2.31 (Unix) world domination series/2.0
mod_perl/2.0.9 Perl/v5.24.0 Server at localhost.localdomain Port
8529</address>
# </body></html>
# '
not ok 8
Failed 4/8 subtests
t/modperl/print.t ..................
1..6
# Running under perl version 5.024000 for linux
# Current time local: Thu Jul 21 14:01:36 2016
# Current time GMT: Thu Jul 21 21:01:36 2016
# Using Test.pm version 1.28
# Using Apache/Test.pm version 1.39
ok 1
ok 2
ok 3
ok 4
# 11 bytes
ok 5
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>200 OK</title>
</head><body>
<h1>OK</h1>
<p>The server encountered an internal error or
misconfiguration and was unable to complete
your request.</p>
<p>Please contact the server administrator,
you@example.com and inform them of the time the error occurred,
and anything you might have done that may have
caused the error.</p>
<p>More information about this error may be available
in the server error log.</p>
<hr>
<address>Apache/2.2.31 (Unix) world domination series/2.0 mod_perl/2.0.9
Perl/v5.24.0 Server at localhost.localdomain Port 8529</address>
</body></html>
Failed 1/6 subtests
request has failed (the response code was: 500)
see t/logs/error_log for more details
t/modperl/printf.t .................
Dubious, test returned 255 (wstat 65280, 0xff00)
No subtests run

Test Summary Report
-------------------
t/api/uri.t (Wstat: 0 Tests: 12 Failed: 0)
Parse errors: Bad plan. You planned 24 tests but ran 12.
t/apr-ext/uri.t (Wstat: 65280 Tests: 12 Failed: 0)
Non-zero exit status: 255
Parse errors: Bad plan. You planned 36 tests but ran 12.
t/apr/uri.t (Wstat: 0 Tests: 12 Failed: 0)
Parse errors: Bad plan. You planned 36 tests but ran 12.
t/directive/perlloadmodule3.t (Wstat: 0 Tests: 3 Failed: 3)
Failed tests: 1-3
t/filter/both_str_native_remove.t (Wstat: 0 Tests: 8 Failed: 4)
Failed tests: 1, 6-8
t/modperl/print.t (Wstat: 0 Tests: 5 Failed: 0)
Parse errors: Bad plan. You planned 6 tests but ran 5.
t/modperl/printf.t (Wstat: 65280 Tests: 0 Failed: 0)
Non-zero exit status: 255
Parse errors: No plan found in TAP output
Files=7, Tests=52, 4 wallclock secs ( 0.04 usr 0.08 sys + 2.38 cusr
0.99 csys = 3.49 CPU)
Result: FAIL
Failed 7/7 test programs. 7/52 subtests failed.
[warning] server localhost.localdomain:8529 shutdown
[ error] error running tests (please examine t/logs/error_log)
2. Used Components and their Configuration:

*** mod_perl version 2.000009

*** using
/scratch/wward/build/tech-stack/build/16.09.16.06/linux/cpan/build/mod_perl-2.0.9/lib/Apache2/BuildConfig.pm

*** Makefile.PL options:
MP_APR_LIB => aprext
MP_APXS => /arudev/tech-stack/16.09.16.06/linux/bin/apxs
MP_COMPAT_1X => 1
MP_GENERATE_XS => 1
MP_LIBNAME => mod_perl
MP_USE_DSO => 1


*** /arudev/tech-stack/16.09.16.06/linux/bin/httpd -V
Server version: Apache/2.2.31 (Unix)
Server built: Jul 21 2016 12:20:36
Server's Module Magic Number: 20051115:40
Server loaded: APR 1.5.2, APR-Util 1.5.4
Compiled using: APR 1.5.2, APR-Util 1.5.4
Architecture: 64-bit
Server MPM: Prefork
threaded: no
forked: yes (variable process count)
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 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=128
-D HTTPD_ROOT="/arudev/tech-stack/16.09.16.06/linux"
-D SUEXEC_BIN="/arudev/tech-stack/16.09.16.06/linux/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"

*** /usr/bin/ldd /arudev/tech-stack/16.09.16.06/linux/bin/httpd
linux-vdso.so.1 => (0x00007fff30ff7000)
libz.so.1 => /arudev/tech-stack/16.09.16.06/linux/lib/libz.so.1
(0x00007f3776e47000)
libm.so.6 => /lib64/libm.so.6 (0x00000038a8a00000)
libaprutil-1.so.0 =>
/arudev/tech-stack/16.09.16.06/linux/lib/libaprutil-1.so.0
(0x00007f3776bce000)
libexpat.so.1 =>
/arudev/tech-stack/16.09.16.06/linux/lib/libexpat.so.1 (0x00007f37769a6000)
libapr-1.so.0 =>
/arudev/tech-stack/16.09.16.06/linux/lib/libapr-1.so.0 (0x00007f3776772000)
libuuid.so.1 => /lib64/libuuid.so.1 (0x00000038b0a00000)
librt.so.1 => /lib64/librt.so.1 (0x00000038a9200000)
libcrypt.so.1 => /lib64/libcrypt.so.1 (0x00000038b5600000)
libpthread.so.0 => /lib64/libpthread.so.0 (0x00000038a8200000)
libc.so.6 => /lib64/libc.so.6 (0x00000038a7e00000)
/lib64/ld-linux-x86-64.so.2 (0x00000038a7a00000)
libfreebl3.so => /lib64/libfreebl3.so (0x00000038b5a00000)
libdl.so.2 => /lib64/libdl.so.2 (0x00000038a8600000)


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

-L/arudev/tech-stack/16.09.16.06/linux/lib -laprutil-1 -lexpat
-L/arudev/tech-stack/16.09.16.06/linux/lib -lapr-1 -luuid -lrt
-lcrypt -lpthread



*** /arudev/tech-stack/16.09.16.06/linux/bin//perl -V
Summary of my perl5 (revision 5 version 24 subversion 0) configuration:

Platform:
osname=linux, osvers=3.8.13-44.1.1.el6uek.x86_64, archname=x86_64-linux
uname='linux slc03qfe 3.8.13-44.1.1.el6uek.x86_64 #2 smp wed sep 10
06:10:25 pdt 2014 x86_64 x86_64 x86_64 gnulinux '
config_args='-des -A ccflags=-fPIC
-Dprefix=/arudev/tech-stack/16.09.16.06/linux -Dmake=/usr/bin/make
-Dotherlibdirs=/arudev/tech-stack/16.09.16.06/portable/lib/perl5:/arudev/tech-stack/16.09.16.06/portable/lib/perl5/site_perl
-Dbin=/arudev/tech-stack/16.09.16.06/linux/bin/ -Uinstallusrbinperl
-Duse64bitint -Duselargefiles
-Dstartperl=#!/arudev/tech-stack/16.09.16.05/linux/bin/perl5.24.0
-Dinc_version_list=none
-Dscriptdir=/arudev/tech-stack/16.09.16.06/linux/bin
-Dsitebin=/arudev/tech-stack/16.09.16.06/linux/bin'
hint=recommended, useposix=true, d_sigaction=define
useithreads=undef, usemultiplicity=undef
use64bitint=define, use64bitall=define, uselongdouble=undef
usemymalloc=n, bincompat5005=undef
Compiler:
cc='cc', ccflags ='-fPIC -fwrapv -fno-strict-aliasing -pipe
-fstack-protector -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
-D_FORTIFY_SOURCE=2',
optimize='-O2',
cppflags='-fPIC -fwrapv -fno-strict-aliasing -pipe -fstack-protector'
ccversion='', gccversion='4.4.7 20120313 (Red Hat 4.4.7-11)',
gccosandvers=''
intsize=4, longsize=8, ptrsize=8, doublesize=8, byteorder=12345678,
doublekind=3
d_longlong=define, longlongsize=8, d_longdbl=define,
longdblsize=16, longdblkind=3
ivtype='long', ivsize=8, nvtype='double', nvsize=8, Off_t='off_t',
lseeksize=8
alignbytes=8, prototype=define
Linker and Libraries:
ld='cc', ldflags =' -fstack-protector'
libpth=/usr/lib /lib/../lib64 /usr/lib/../lib64 /lib /lib64
/usr/lib64 /usr/local/lib64
libs=-lpthread -lnsl -lgdbm -ldb -ldl -lm -lcrypt -lutil -lc
perllibs=-lpthread -lnsl -ldl -lm -lcrypt -lutil -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 -fstack-protector'


Characteristics of this binary (from libperl):
Compile-time options: HAS_TIMES PERLIO_LAYERS PERL_COPY_ON_WRITE
PERL_DONT_CREATE_GVSV
PERL_HASH_FUNC_ONE_AT_A_TIME_HARD PERL_MALLOC_WRAP
PERL_PRESERVE_IVUV USE_64_BIT_ALL USE_64_BIT_INT
USE_LARGE_FILES USE_LOCALE USE_LOCALE_COLLATE
USE_LOCALE_CTYPE USE_LOCALE_NUMERIC USE_LOCALE_TIME
USE_PERLIO USE_PERL_ATOF
Built under linux
Compiled at Jul 21 2016 12:34:27
%ENV:
PERL5LIB="/arudev/tech-stack/16.09.16.06/portable/lib/perl5:/arudev/tech-stack/16.09.16.06/portable/lib/perl5/site_perl"
PERL_LWP_USE_HTTP_10="1"
@INC:
/arudev/tech-stack/16.09.16.06/portable/lib/perl5/x86_64-linux
/arudev/tech-stack/16.09.16.06/portable/lib/perl5
/arudev/tech-stack/16.09.16.06/portable/lib/perl5/site_perl/5.24.0/x86_64-linux
/arudev/tech-stack/16.09.16.06/portable/lib/perl5/site_perl/5.24.0
/arudev/tech-stack/16.09.16.06/portable/lib/perl5/site_perl
/arudev/tech-stack/16.09.16.06/linux/lib/perl5/site_perl/5.24.0/x86_64-linux
/arudev/tech-stack/16.09.16.06/linux/lib/perl5/site_perl/5.24.0
/arudev/tech-stack/16.09.16.06/linux/lib/perl5/5.24.0/x86_64-linux
/arudev/tech-stack/16.09.16.06/linux/lib/perl5/5.24.0
/arudev/tech-stack/16.09.16.06/portable/lib/perl5/site_perl/5.24.0/x86_64-linux
/arudev/tech-stack/16.09.16.06/portable/lib/perl5/site_perl/5.24.0
/arudev/tech-stack/16.09.16.06/portable/lib/perl5/x86_64-linux
/arudev/tech-stack/16.09.16.06/portable/lib/perl5
/arudev/tech-stack/16.09.16.06/portable/lib/perl5/site_perl
.

*** Packages of interest status:

Apache2 : -
Apache2::Request : -
CGI : 4.31
ExtUtils::MakeMaker: 7.10_01, 7.18
LWP : -
mod_perl : -
mod_perl2 : -


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

n/a

This report was generated by t/REPORT on Thu Jul 21 20:54:40 2016 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.
Re: [mp2] Test failures in mod_perl 2.0.9 (Apache 2.2.31, perl 5.24.0) [ In reply to ]
there are changes in SVN to support perls >= 5.22, but the work hasn't
been released and may not be complete yet. This is the bug:

https://rt.cpan.org/Public/Bug/Display.html?id=101962

If you can downgrade your perl to 5.20 then you should be able to get
things running.

Adam


On 07/21/2016 05:16 PM, William Ward wrote:
> -------------8<---------- Start Bug Report ------------8<----------
> 1. Problem Description:
>
> Until recently we have been using Perl 5.8.8, Apache 2.2.29, and
> mod_perl 2.0.8. Due to migration to a new platform, it is necessary to
> rebuild our tech stack, so I am taking this opportunity to upgrade
> (Perl 5.8.8 doesn't want to build on the new platform anyway).
>
> Everything compiles fine, and Apache and Perl have no issues but
> mod_perl has failures running "make test":
>
> Test Summary Report
> -------------------
> t/api/uri.t (Wstat: 0 Tests: 12 Failed: 0)
> Parse errors: Bad plan. You planned 24 tests but ran 12.
> t/apr-ext/uri.t (Wstat: 65280 Tests: 12 Failed: 0)
> Non-zero exit status: 255
> Parse errors: Bad plan. You planned 36 tests but ran 12.
> t/apr/uri.t (Wstat: 0 Tests: 12 Failed: 0)
> Parse errors: Bad plan. You planned 36 tests but ran 12.
> t/directive/perlloadmodule3.t (Wstat: 0 Tests: 3 Failed: 3)
> Failed tests: 1-3
> t/filter/both_str_native_remove.t (Wstat: 0 Tests: 8 Failed: 4)
> Failed tests: 1, 6-8
> t/modperl/print.t (Wstat: 0 Tests: 5 Failed: 0)
> Parse errors: Bad plan. You planned 6 tests but ran 5.
> t/modperl/printf.t (Wstat: 65280 Tests: 0 Failed: 0)
> Non-zero exit status: 255
> Parse errors: No plan found in TAP output
> Files=245, Tests=2223, 136 wallclock secs ( 1.16 usr 2.63 sys + 80.27
> cusr 35.91 csys = 119.97 CPU)
> Result: FAIL
> Failed 7/245 test programs. 7/2223 subtests failed.
>
> I re-ran the tests mentioned above using -verbose mode, and the
> results are below.
>
> % t/TEST -verbose api/uri apr-ext/uri apr/uri
> directive/perlloadmodule3 filter/both_str_native_remove modperl/print
> modperl/printf
> [warning] setting ulimit to allow core files
> ulimit -c unlimited; /arudev/tech-stack/16.09.16.06/linux/bin/perl
> /scratch/wward/build/tech-stack/build/16.09.16.06/linux/cpan/build/mod_perl-2.0.9/t/TEST
> -verbose 'api/uri' 'apr-ext/uri' 'apr/uri' 'directive/perlloadmodule3'
> 'filter/both_str_native_remove' 'modperl/print' 'modperl/printf'
> /arudev/tech-stack/16.09.16.06/linux/bin/httpd -d
> /scratch/wward/build/tech-stack/build/16.09.16.06/linux/cpan/build/mod_perl-2.0.9/t
> -f
> /scratch/wward/build/tech-stack/build/16.09.16.06/linux/cpan/build/mod_perl-2.0.9/t/conf/httpd.conf
> -D APACHE2
> using Apache/2.2.31 (prefork MPM)
>
> waiting 120 seconds for server to start: .[Thu Jul 21 14:01:34 2016]
> [info] 6 Apache2:: modules loaded
> [Thu Jul 21 14:01:34 2016] [info] 0 APR:: modules loaded
> [Thu Jul 21 14:01:34 2016] [info] base server + 29 vhosts ready to run
> tests
> ..
> waiting 120 seconds for server to start: ok (waited 2 secs)
> server localhost.localdomain:8529 started
> server localhost.localdomain:8530 listening (perlsections)
> server localhost.localdomain:8531 listening (inherit)
> server localhost.localdomain:8532 listening (filter_out_apache)
> server localhost.localdomain:8533 listening (TestVhost::log)
> server localhost.localdomain:8534 listening (TestVhost::config)
> server localhost.localdomain:8535 listening (TestModperl::setupenv)
> 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
> (TestDirective::perlcleanuphandler)
> server localhost.localdomain:8540 listening (TestModules::proxy)
> server localhost.localdomain:8541 listening (TestUser::rewrite)
> server localhost.localdomain:8542 listening (TestProtocol::echo_bbs)
> server localhost.localdomain:8543 listening (TestProtocol::echo_timeout)
> server localhost.localdomain:8544 listening (TestProtocol::echo_block)
> server localhost.localdomain:8545 listening (TestProtocol::pseudo_http)
> server localhost.localdomain:8546 listening (TestProtocol::echo_filter)
> server localhost.localdomain:8547 listening (TestProtocol::echo_bbs2)
> server localhost.localdomain:8548 listening (TestProtocol::echo_nonblock)
> server localhost.localdomain:8549 listening (TestPreConnection::note)
> server localhost.localdomain:8550 listening (TestHooks::init)
> server localhost.localdomain:8551 listening (TestHooks::startup)
> server localhost.localdomain:8552 listening (TestHooks::hookrun)
> server localhost.localdomain:8553 listening
> (TestHooks::stacked_handlers2)
> server localhost.localdomain:8554 listening (TestHooks::trans)
> 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_bbs_inject_header)
> server localhost.localdomain:8558 listening (TestFilter::in_str_msg)
> server localhost.localdomain:8559 listening (TestDirective::perlrequire)
> server localhost.localdomain:8560 listening (TestDirective::perlmodule)
> server localhost.localdomain:8561 listening
> (TestDirective::perlloadmodule3)
> server localhost.localdomain:8562 listening
> (TestDirective::perlloadmodule5)
> server localhost.localdomain:8563 listening
> (TestDirective::perlloadmodule4)
> 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/api/uri.t ........................
> 1..24
> # Running under perl version 5.024000 for linux
> # Current time local: Thu Jul 21 14:01:36 2016
> # Current time GMT: Thu Jul 21 21:01:36 2016
> # Using Test.pm version 1.28
> # Using Apache/Test.pm version 1.39
> ok 1
> # testing : path
> # expected: qr/^\/TestAPI__uri/
> # received: '/TestAPI__uri'
> ok 2
> # testing : unparse
> # expected: qr/^\/TestAPI__uri/
> # received: '/TestAPI__uri'
> ok 3
> # testing : construct_server/get_server_name/get_server_port
> # expected: 'localhost.localdomain:8529'
> # received: 'localhost.localdomain:8529'
> ok 4
> # testing : construct_server(example.com)
> # expected: 'example.com:8529'
> # received: 'example.com:8529'
> ok 5
> # testing : construct_server(example.com, 9097)
> # expected: 'example.com:9097'
> # received: 'example.com:9097'
> ok 6
> # testing : construct_server(example.com, 9097, new_pool)
> # expected: 'example.com:9097'
> # received: 'example.com:9097'
> ok 7
> # construct_url: http://localhost.localdomain:8529/TestAPI__uri
> # r->uri: /TestAPI__uri
> ok 8
> # testing : unparse
> # expected: qr/\/TestAPI__uri/
> # received: 'http://localhost.localdomain:8529/TestAPI__uri'
> ok 9
> # testing : parsed path
> # expected: '/foo/bar'
> # received: '/foo/bar'
> ok 10
> # construct_url: http://localhost.localdomain:8529/TestAPI__uri?query
> # r->uri:
> # /TestAPI__uri
> # testing : construct_url($uri)
> # expected: qr/\/TestAPI__uri/
> # received: 'http://localhost.localdomain:8529/TestAPI__uri?query'
> ok 11
> # testing : args vs query
> # expected: 'query'
> # received: 'query'
> ok 12
> <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
> <html><head>
> <title>200 OK</title>
> </head><body>
> <h1>OK</h1>
> <p>The server encountered an internal error or
> misconfiguration and was unable to complete
> your request.</p>
> <p>Please contact the server administrator,
> you@example.com and inform them of the time the error occurred,
> and anything you might have done that may have
> caused the error.</p>
> <p>More information about this error may be available
> in the server error log.</p>
> <hr>
> <address>Apache/2.2.31 (Unix) world domination series/2.0
> mod_perl/2.0.9 Perl/v5.24.0 Server at localhost.localdomain Port
> 8529</address>
> </body></html>
> Failed 12/24 subtests
> Redundant argument in sprintf at
> /scratch/wward/build/tech-stack/build/16.09.16.06/linux/cpan/build/mod_perl-2.0.9/t/lib/TestAPRlib/uri.pm
> line 91.
> t/apr-ext/uri.t ....................
> 1..36
> # Running under perl version 5.024000 for linux
> # Current time local: Thu Jul 21 14:01:38 2016
> # Current time GMT: Thu Jul 21 21:01:38 2016
> # Using Test.pm version 1.28
> # Using Apache/Test.pm version 1.39
> ok 1
> ok 2
> # testing : password
> # expected: 'password'
> # received: 'password'
> ok 3
> # testing : port
> # expected: 8000
> # received: '8000'
> ok 4
> # testing : query
> # expected: 'query'
> # received: 'query'
> ok 5
> # testing : user
> # expected: 'user'
> # received: 'user'
> ok 6
> # testing : path
> # expected: '/path/file.pl'
> # received: '/path/file.pl'
> ok 7
> # testing : hostname
> # expected: 'www.example.com'
> # received: 'www.example.com'
> ok 8
> # testing : fragment
> # expected: 'fragment'
> # received: 'fragment'
> ok 9
> # testing : scheme
> # expected: 'http'
> # received: 'http'
> ok 10
> # testing : hostinfo
> # expected: 'user:password@www.example.com:8000'
> # received: 'user:password@www.example.com:8000'
> ok 11
> # password: pass => pass
> # port: 21 => 21
> # query: undef => undef
> # user: log => log
> # path: /pub => /pub
> # hostname: ftp.example.com => ftp.example.com
> # fragment: undef => undef
> # scheme: ftp => ftp
> # testing : hostinfo
> # expected: 'user:password@www.example.com:8000'
> # received: 'user:password@www.example.com:8000'
> ok 12
> Dubious, test returned 255 (wstat 65280, 0xff00)
> Failed 24/36 subtests
> t/apr/uri.t ........................
> 1..36
> # Running under perl version 5.024000 for linux
> # Current time local: Thu Jul 21 14:01:36 2016
> # Current time GMT: Thu Jul 21 21:01:36 2016
> # Using Test.pm version 1.28
> # Using Apache/Test.pm version 1.39
> ok 1
> ok 2
> # testing : user
> # expected: 'user'
> # received: 'user'
> ok 3
> # testing : scheme
> # expected: 'http'
> # received: 'http'
> ok 4
> # testing : path
> # expected: '/path/file.pl'
> # received: '/path/file.pl'
> ok 5
> # testing : port
> # expected: 8000
> # received: '8000'
> ok 6
> # testing : password
> # expected: 'password'
> # received: 'password'
> ok 7
> # testing : hostname
> # expected: 'www.example.com'
> # received: 'www.example.com'
> ok 8
> # testing : fragment
> # expected: 'fragment'
> # received: 'fragment'
> ok 9
> # testing : query
> # expected: 'query'
> # received: 'query'
> ok 10
> # testing : hostinfo
> # expected: 'user:password@www.example.com:8000'
> # received: 'user:password@www.example.com:8000'
> ok 11
> # user: log => log
> # scheme: ftp => ftp
> # path: /pub => /pub
> # port: 21 => 21
> # password: pass => pass
> # hostname: ftp.example.com => ftp.example.com
> # fragment: undef => undef
> # query: undef => undef
> # testing : hostinfo
> # expected: 'user:password@www.example.com:8000'
> # received: 'user:password@www.example.com:8000'
> ok 12
> <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
> <html><head>
> <title>200 OK</title>
> </head><body>
> <h1>OK</h1>
> <p>The server encountered an internal error or
> misconfiguration and was unable to complete
> your request.</p>
> <p>Please contact the server administrator,
> you@example.com and inform them of the time the error occurred,
> and anything you might have done that may have
> caused the error.</p>
> <p>More information about this error may be available
> in the server error log.</p>
> <hr>
> <address>Apache/2.2.31 (Unix) world domination series/2.0
> mod_perl/2.0.9 Perl/v5.24.0 Server at localhost.localdomain Port
> 8529</address>
> </body></html>
> Failed 24/36 subtests
> # Failed test 1 in t/directive/perlloadmodule3.t at line 39
> # Failed test 2 in t/directive/perlloadmodule3.t at line 70
> # Failed test 3 in t/directive/perlloadmodule3.t at line 98
> t/directive/perlloadmodule3.t ......
> 1..3
> # Running under perl version 5.024000 for linux
> # Current time local: Thu Jul 21 14:01:39 2016
> # Current time GMT: Thu Jul 21 21:01:39 2016
> # Using Test.pm version 1.28
> # Using Apache/Test.pm version 1.39
> # connecting to localhost.localdomain:8529
> # testing : server merge
> # expected: '<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
> # <html><head>
> # <title>500 Internal Server Error</title>
> # </head><body>
> # <h1>Internal Server Error</h1>
> # <p>The server encountered an internal error or
> # misconfiguration and was unable to complete
> # your request.</p>
> # <p>Please contact the server administrator,
> # you@example.com and inform them of the time the error occurred,
> # and anything you might have done that may have
> # caused the error.</p>
> # <p>More information about this error may be available
> # in the server error log.</p>
> # <hr>
> # <address>Apache/2.2.31 (Unix) world domination series/2.0
> mod_perl/2.0.9 Perl/v5.24.0 Server at localhost.localdomain Port
> 8529</address>
> # </body></html>
> # '
> # received: 'Processing by main server.
> #
> # Section 1: Main Server
> # MyAppend : MainServer
> # MyList : ["MainServer"]
> # MyOverride : MainServer
> # MyPlus : 5
> #
> # Section 2: Location
> # MyAppend : MainServer
> # MyList : ["MainServer"]
> # MyOverride : MainServer
> # MyPlus : 5
> # '
> not ok 1
> # connecting to localhost.localdomain:8561
> # testing : server/dir merge
> # expected: 'Processing by virtual host.
> #
> # Section 1: Main Server
> # MyAppend : MainServer
> # MyList : ["MainServer"]
> # MyOverride : MainServer
> # MyPlus : 5
> #
> # Section 2: Virtual Host
> # MyAppend : MainServer VHost
> # MyList : ["MainServer", "VHost"]
> # MyOverride : VHost
> # MyPlus : 7
> #
> # Section 3: Location
> # MyAppend : MainServer VHost Dir
> # MyList : ["MainServer", "VHost", "Dir"]
> # MyOverride : Dir
> # MyPlus : 10
> # '
> # received: '<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
> # <html><head>
> # <title>500 Internal Server Error</title>
> # </head><body>
> # <h1>Internal Server Error</h1>
> # <p>The server encountered an internal error or
> # misconfiguration and was unable to complete
> # your request.</p>
> # <p>Please contact the server administrator,
> # you@example.com and inform them of the time the error occurred,
> # and anything you might have done that may have
> # caused the error.</p>
> # <p>More information about this error may be available
> # in the server error log.</p>
> # <hr>
> # <address>Apache/2.2.31 (Unix) world domination series/2.0
> mod_perl/2.0.9 Perl/v5.24.0 Server at localhost.localdomain Port
> 8561</address>
> # </body></html>
> # '
> not ok 2
> # testing : server/dir/subdir merge
> # expected: 'Processing by virtual host.
> #
> # Section 1: Main Server
> # MyAppend : MainServer
> # MyList : ["MainServer"]
> # MyOverride : MainServer
> # MyPlus : 5
> #
> # Section 2: Virtual Host
> # MyAppend : MainServer VHost
> # MyList : ["MainServer", "VHost"]
> # MyOverride : VHost
> # MyPlus : 7
> #
> # Section 3: Location
> # MyAppend : MainServer VHost Dir SubDir
> # MyList : ["MainServer", "VHost", "Dir", "SubDir"]
> # MyOverride : SubDir
> # MyPlus : 11
> # '
> # received: '<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
> # <html><head>
> # <title>500 Internal Server Error</title>
> # </head><body>
> # <h1>Internal Server Error</h1>
> # <p>The server encountered an internal error or
> # misconfiguration and was unable to complete
> # your request.</p>
> # <p>Please contact the server administrator,
> # you@example.com and inform them of the time the error occurred,
> # and anything you might have done that may have
> # caused the error.</p>
> # <p>More information about this error may be available
> # in the server error log.</p>
> # <hr>
> # <address>Apache/2.2.31 (Unix) world domination series/2.0
> mod_perl/2.0.9 Perl/v5.24.0 Server at localhost.localdomain Port
> 8561</address>
> # </body></html>
> # '
> not ok 3
> Failed 3/3 subtests
> # Failed test 1 in t/filter/both_str_native_remove.t at line 23
> # Failed test 6 in t/filter/both_str_native_remove.t at line 46
> # Failed test 7 in t/filter/both_str_native_remove.t at line 50
> # Failed test 8 in t/filter/both_str_native_remove.t at line 54
> t/filter/both_str_native_remove.t ..
> 1..8
> # Running under perl version 5.024000 for linux
> # Current time local: Thu Jul 21 14:01:39 2016
> # Current time GMT: Thu Jul 21 21:01:39 2016
> # Using Test.pm version 1.28
> # Using Apache/Test.pm version 1.39
> # testing : INCLUDES filter
> # expected: qr/xSSI OK/
> # received: 'content: gzipped text
> # input1:
> modperl_request_input,modperl_request_input,modperl_request_input,deflate,http_in,core_in
> # input2:
> modperl_request_input,modperl_request_input,deflate,http_in,core_in
> # <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
> # <html><head>
> # <title>200 OK</title>
> # </head><body>
> # <h1>OK</h1>
> # <p>The server encountered an internal error or
> # misconfiguration and was unable to complete
> # your request.</p>
> # <p>Please contact the server administrator,
> # you@example.com and inform them of the time the error occurred,
> # and anything you might have done that may have
> # caused the error.</p>
> # <p>More information about this error may be available
> # in the server error log.</p>
> # <hr>
> # <address>Apache/2.2.31 (Unix) world domination series/2.0
> mod_perl/2.0.9 Perl/v5.24.0 Server at localhost.localdomain Port
> 8529</address>
> # </body></html>
> # '
> not ok 1
> # testing : DEFLATE filter
> # expected: qr/content: gzipped text/
> # received: 'content: gzipped text
> # input1:
> modperl_request_input,modperl_request_input,modperl_request_input,deflate,http_in,core_in
> # input2:
> modperl_request_input,modperl_request_input,deflate,http_in,core_in
> # <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
> # <html><head>
> # <title>200 OK</title>
> # </head><body>
> # <h1>OK</h1>
> # <p>The server encountered an internal error or
> # misconfiguration and was unable to complete
> # your request.</p>
> # <p>Please contact the server administrator,
> # you@example.com and inform them of the time the error occurred,
> # and anything you might have done that may have
> # caused the error.</p>
> # <p>More information about this error may be available
> # in the server error log.</p>
> # <hr>
> # <address>Apache/2.2.31 (Unix) world domination series/2.0
> mod_perl/2.0.9 Perl/v5.24.0 Server at localhost.localdomain Port
> 8529</address>
> # </body></html>
> # '
> ok 2
> # testing : DEFLATE filter is present
> # expected: qr/input1: [\w,]+deflate/
> # received: 'content: plain text
> # input1:
> modperl_request_input,modperl_request_input,modperl_request_input,deflate,http_in,core_in
> # input2: modperl_request_input,modperl_request_input,http_in,core_in
> # <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
> # <html><head>
> # <title>200 OK</title>
> # </head><body>
> # <h1>OK</h1>
> # <p>The server encountered an internal error or
> # misconfiguration and was unable to complete
> # your request.</p>
> # <p>Please contact the server administrator,
> # you@example.com and inform them of the time the error occurred,
> # and anything you might have done that may have
> # caused the error.</p>
> # <p>More information about this error may be available
> # in the server error log.</p>
> # <hr>
> # <address>Apache/2.2.31 (Unix) world domination series/2.0
> mod_perl/2.0.9 Perl/v5.24.0 Server at localhost.localdomain Port
> 8529</address>
> # </body></html>
> # '
> ok 3
> # testing : DEFLATE filter is removed
> # expected: qr/input2: [\w,]+deflate/
> # received: 'content: plain text
> # input1:
> modperl_request_input,modperl_request_input,modperl_request_input,deflate,http_in,core_in
> # input2: modperl_request_input,modperl_request_input,http_in,core_in
> # <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
> # <html><head>
> # <title>200 OK</title>
> # </head><body>
> # <h1>OK</h1>
> # <p>The server encountered an internal error or
> # misconfiguration and was unable to complete
> # your request.</p>
> # <p>Please contact the server administrator,
> # you@example.com and inform them of the time the error occurred,
> # and anything you might have done that may have
> # caused the error.</p>
> # <p>More information about this error may be available
> # in the server error log.</p>
> # <hr>
> # <address>Apache/2.2.31 (Unix) world domination series/2.0
> mod_perl/2.0.9 Perl/v5.24.0 Server at localhost.localdomain Port
> 8529</address>
> # </body></html>
> # '
> ok 4
> # testing : DEFLATE filter wasn't invoked
> # expected: qr/content: plain text/
> # received: 'content: plain text
> # input1:
> modperl_request_input,modperl_request_input,modperl_request_input,deflate,http_in,core_in
> # input2: modperl_request_input,modperl_request_input,http_in,core_in
> # <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
> # <html><head>
> # <title>200 OK</title>
> # </head><body>
> # <h1>OK</h1>
> # <p>The server encountered an internal error or
> # misconfiguration and was unable to complete
> # your request.</p>
> # <p>Please contact the server administrator,
> # you@example.com and inform them of the time the error occurred,
> # and anything you might have done that may have
> # caused the error.</p>
> # <p>More information about this error may be available
> # in the server error log.</p>
> # <hr>
> # <address>Apache/2.2.31 (Unix) world domination series/2.0
> mod_perl/2.0.9 Perl/v5.24.0 Server at localhost.localdomain Port
> 8529</address>
> # </body></html>
> # '
> ok 5
> # testing : INCLUDES filter is present
> # expected: qr/output1:
> modperl_request_output,includes,modperl_request_output,/
> # received: 'content: plain text
> # input1:
> modperl_request_input,modperl_request_input,modperl_request_input,deflate,http_in,core_in
> # input2: modperl_request_input,modperl_request_input,http_in,core_in
> # <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
> # <html><head>
> # <title>200 OK</title>
> # </head><body>
> # <h1>OK</h1>
> # <p>The server encountered an internal error or
> # misconfiguration and was unable to complete
> # your request.</p>
> # <p>Please contact the server administrator,
> # you@example.com and inform them of the time the error occurred,
> # and anything you might have done that may have
> # caused the error.</p>
> # <p>More information about this error may be available
> # in the server error log.</p>
> # <hr>
> # <address>Apache/2.2.31 (Unix) world domination series/2.0
> mod_perl/2.0.9 Perl/v5.24.0 Server at localhost.localdomain Port
> 8529</address>
> # </body></html>
> # '
> not ok 6
> # testing : INCLUDES filter is removed
> # expected: qr/output2: modperl_request_output,(?!includes)/
> # received: 'content: plain text
> # input1:
> modperl_request_input,modperl_request_input,modperl_request_input,deflate,http_in,core_in
> # input2: modperl_request_input,modperl_request_input,http_in,core_in
> # <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
> # <html><head>
> # <title>200 OK</title>
> # </head><body>
> # <h1>OK</h1>
> # <p>The server encountered an internal error or
> # misconfiguration and was unable to complete
> # your request.</p>
> # <p>Please contact the server administrator,
> # you@example.com and inform them of the time the error occurred,
> # and anything you might have done that may have
> # caused the error.</p>
> # <p>More information about this error may be available
> # in the server error log.</p>
> # <hr>
> # <address>Apache/2.2.31 (Unix) world domination series/2.0
> mod_perl/2.0.9 Perl/v5.24.0 Server at localhost.localdomain Port
> 8529</address>
> # </body></html>
> # '
> not ok 7
> # testing : INCLUDES filter wasn't invoked
> # expected: qr/x<!--#echo var="SSI_TEST" -->x/
> # received: 'content: plain text
> # input1:
> modperl_request_input,modperl_request_input,modperl_request_input,deflate,http_in,core_in
> # input2: modperl_request_input,modperl_request_input,http_in,core_in
> # <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
> # <html><head>
> # <title>200 OK</title>
> # </head><body>
> # <h1>OK</h1>
> # <p>The server encountered an internal error or
> # misconfiguration and was unable to complete
> # your request.</p>
> # <p>Please contact the server administrator,
> # you@example.com and inform them of the time the error occurred,
> # and anything you might have done that may have
> # caused the error.</p>
> # <p>More information about this error may be available
> # in the server error log.</p>
> # <hr>
> # <address>Apache/2.2.31 (Unix) world domination series/2.0
> mod_perl/2.0.9 Perl/v5.24.0 Server at localhost.localdomain Port
> 8529</address>
> # </body></html>
> # '
> not ok 8
> Failed 4/8 subtests
> t/modperl/print.t ..................
> 1..6
> # Running under perl version 5.024000 for linux
> # Current time local: Thu Jul 21 14:01:36 2016
> # Current time GMT: Thu Jul 21 21:01:36 2016
> # Using Test.pm version 1.28
> # Using Apache/Test.pm version 1.39
> ok 1
> ok 2
> ok 3
> ok 4
> # 11 bytes
> ok 5
> <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
> <html><head>
> <title>200 OK</title>
> </head><body>
> <h1>OK</h1>
> <p>The server encountered an internal error or
> misconfiguration and was unable to complete
> your request.</p>
> <p>Please contact the server administrator,
> you@example.com and inform them of the time the error occurred,
> and anything you might have done that may have
> caused the error.</p>
> <p>More information about this error may be available
> in the server error log.</p>
> <hr>
> <address>Apache/2.2.31 (Unix) world domination series/2.0
> mod_perl/2.0.9 Perl/v5.24.0 Server at localhost.localdomain Port
> 8529</address>
> </body></html>
> Failed 1/6 subtests
> request has failed (the response code was: 500)
> see t/logs/error_log for more details
> t/modperl/printf.t .................
> Dubious, test returned 255 (wstat 65280, 0xff00)
> No subtests run
>
> Test Summary Report
> -------------------
> t/api/uri.t (Wstat: 0 Tests: 12 Failed: 0)
> Parse errors: Bad plan. You planned 24 tests but ran 12.
> t/apr-ext/uri.t (Wstat: 65280 Tests: 12 Failed: 0)
> Non-zero exit status: 255
> Parse errors: Bad plan. You planned 36 tests but ran 12.
> t/apr/uri.t (Wstat: 0 Tests: 12 Failed: 0)
> Parse errors: Bad plan. You planned 36 tests but ran 12.
> t/directive/perlloadmodule3.t (Wstat: 0 Tests: 3 Failed: 3)
> Failed tests: 1-3
> t/filter/both_str_native_remove.t (Wstat: 0 Tests: 8 Failed: 4)
> Failed tests: 1, 6-8
> t/modperl/print.t (Wstat: 0 Tests: 5 Failed: 0)
> Parse errors: Bad plan. You planned 6 tests but ran 5.
> t/modperl/printf.t (Wstat: 65280 Tests: 0 Failed: 0)
> Non-zero exit status: 255
> Parse errors: No plan found in TAP output
> Files=7, Tests=52, 4 wallclock secs ( 0.04 usr 0.08 sys + 2.38
> cusr 0.99 csys = 3.49 CPU)
> Result: FAIL
> Failed 7/7 test programs. 7/52 subtests failed.
> [warning] server localhost.localdomain:8529 shutdown
> [ error] error running tests (please examine t/logs/error_log)
> 2. Used Components and their Configuration:
>
> *** mod_perl version 2.000009
>
> *** using
> /scratch/wward/build/tech-stack/build/16.09.16.06/linux/cpan/build/mod_perl-2.0.9/lib/Apache2/BuildConfig.pm
>
> *** Makefile.PL options:
> MP_APR_LIB => aprext
> MP_APXS => /arudev/tech-stack/16.09.16.06/linux/bin/apxs
> MP_COMPAT_1X => 1
> MP_GENERATE_XS => 1
> MP_LIBNAME => mod_perl
> MP_USE_DSO => 1
>
>
> *** /arudev/tech-stack/16.09.16.06/linux/bin/httpd -V
> Server version: Apache/2.2.31 (Unix)
> Server built: Jul 21 2016 12:20:36
> Server's Module Magic Number: 20051115:40
> Server loaded: APR 1.5.2, APR-Util 1.5.4
> Compiled using: APR 1.5.2, APR-Util 1.5.4
> Architecture: 64-bit
> Server MPM: Prefork
> threaded: no
> forked: yes (variable process count)
> 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 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=128
> -D HTTPD_ROOT="/arudev/tech-stack/16.09.16.06/linux"
> -D SUEXEC_BIN="/arudev/tech-stack/16.09.16.06/linux/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"
>
> *** /usr/bin/ldd /arudev/tech-stack/16.09.16.06/linux/bin/httpd
> linux-vdso.so.1 => (0x00007fff30ff7000)
> libz.so.1 => /arudev/tech-stack/16.09.16.06/linux/lib/libz.so.1
> (0x00007f3776e47000)
> libm.so.6 => /lib64/libm.so.6 (0x00000038a8a00000)
> libaprutil-1.so.0 =>
> /arudev/tech-stack/16.09.16.06/linux/lib/libaprutil-1.so.0
> (0x00007f3776bce000)
> libexpat.so.1 =>
> /arudev/tech-stack/16.09.16.06/linux/lib/libexpat.so.1
> (0x00007f37769a6000)
> libapr-1.so.0 =>
> /arudev/tech-stack/16.09.16.06/linux/lib/libapr-1.so.0
> (0x00007f3776772000)
> libuuid.so.1 => /lib64/libuuid.so.1 (0x00000038b0a00000)
> librt.so.1 => /lib64/librt.so.1 (0x00000038a9200000)
> libcrypt.so.1 => /lib64/libcrypt.so.1 (0x00000038b5600000)
> libpthread.so.0 => /lib64/libpthread.so.0 (0x00000038a8200000)
> libc.so.6 => /lib64/libc.so.6 (0x00000038a7e00000)
> /lib64/ld-linux-x86-64.so.2 (0x00000038a7a00000)
> libfreebl3.so => /lib64/libfreebl3.so (0x00000038b5a00000)
> libdl.so.2 => /lib64/libdl.so.2 (0x00000038a8600000)
>
>
> *** (apr|apu)-config linking info
>
> -L/arudev/tech-stack/16.09.16.06/linux/lib -laprutil-1 -lexpat
> -L/arudev/tech-stack/16.09.16.06/linux/lib -lapr-1 -luuid -lrt
> -lcrypt -lpthread
>
>
>
> *** /arudev/tech-stack/16.09.16.06/linux/bin//perl -V
> Summary of my perl5 (revision 5 version 24 subversion 0) configuration:
>
> Platform:
> osname=linux, osvers=3.8.13-44.1.1.el6uek.x86_64,
> archname=x86_64-linux
> uname='linux slc03qfe 3.8.13-44.1.1.el6uek.x86_64 #2 smp wed sep
> 10 06:10:25 pdt 2014 x86_64 x86_64 x86_64 gnulinux '
> config_args='-des -A ccflags=-fPIC
> -Dprefix=/arudev/tech-stack/16.09.16.06/linux -Dmake=/usr/bin/make
> -Dotherlibdirs=/arudev/tech-stack/16.09.16.06/portable/lib/perl5:/arudev/tech-stack/16.09.16.06/portable/lib/perl5/site_perl
> -Dbin=/arudev/tech-stack/16.09.16.06/linux/bin/ -Uinstallusrbinperl
> -Duse64bitint -Duselargefiles
> -Dstartperl=#!/arudev/tech-stack/16.09.16.05/linux/bin/perl5.24.0
> -Dinc_version_list=none
> -Dscriptdir=/arudev/tech-stack/16.09.16.06/linux/bin
> -Dsitebin=/arudev/tech-stack/16.09.16.06/linux/bin'
> hint=recommended, useposix=true, d_sigaction=define
> useithreads=undef, usemultiplicity=undef
> use64bitint=define, use64bitall=define, uselongdouble=undef
> usemymalloc=n, bincompat5005=undef
> Compiler:
> cc='cc', ccflags ='-fPIC -fwrapv -fno-strict-aliasing -pipe
> -fstack-protector -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
> -D_FORTIFY_SOURCE=2',
> optimize='-O2',
> cppflags='-fPIC -fwrapv -fno-strict-aliasing -pipe -fstack-protector'
> ccversion='', gccversion='4.4.7 20120313 (Red Hat 4.4.7-11)',
> gccosandvers=''
> intsize=4, longsize=8, ptrsize=8, doublesize=8,
> byteorder=12345678, doublekind=3
> d_longlong=define, longlongsize=8, d_longdbl=define,
> longdblsize=16, longdblkind=3
> ivtype='long', ivsize=8, nvtype='double', nvsize=8, Off_t='off_t',
> lseeksize=8
> alignbytes=8, prototype=define
> Linker and Libraries:
> ld='cc', ldflags =' -fstack-protector'
> libpth=/usr/lib /lib/../lib64 /usr/lib/../lib64 /lib /lib64
> /usr/lib64 /usr/local/lib64
> libs=-lpthread -lnsl -lgdbm -ldb -ldl -lm -lcrypt -lutil -lc
> perllibs=-lpthread -lnsl -ldl -lm -lcrypt -lutil -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 -fstack-protector'
>
>
> Characteristics of this binary (from libperl):
> Compile-time options: HAS_TIMES PERLIO_LAYERS PERL_COPY_ON_WRITE
> PERL_DONT_CREATE_GVSV
> PERL_HASH_FUNC_ONE_AT_A_TIME_HARD
> PERL_MALLOC_WRAP
> PERL_PRESERVE_IVUV USE_64_BIT_ALL USE_64_BIT_INT
> USE_LARGE_FILES USE_LOCALE USE_LOCALE_COLLATE
> USE_LOCALE_CTYPE USE_LOCALE_NUMERIC
> USE_LOCALE_TIME
> USE_PERLIO USE_PERL_ATOF
> Built under linux
> Compiled at Jul 21 2016 12:34:27
> %ENV:
> PERL5LIB="/arudev/tech-stack/16.09.16.06/portable/lib/perl5:/arudev/tech-stack/16.09.16.06/portable/lib/perl5/site_perl"
>
> PERL_LWP_USE_HTTP_10="1"
> @INC:
> /arudev/tech-stack/16.09.16.06/portable/lib/perl5/x86_64-linux
> /arudev/tech-stack/16.09.16.06/portable/lib/perl5
> /arudev/tech-stack/16.09.16.06/portable/lib/perl5/site_perl/5.24.0/x86_64-linux
>
> /arudev/tech-stack/16.09.16.06/portable/lib/perl5/site_perl/5.24.0
> /arudev/tech-stack/16.09.16.06/portable/lib/perl5/site_perl
> /arudev/tech-stack/16.09.16.06/linux/lib/perl5/site_perl/5.24.0/x86_64-linux
>
> /arudev/tech-stack/16.09.16.06/linux/lib/perl5/site_perl/5.24.0
> /arudev/tech-stack/16.09.16.06/linux/lib/perl5/5.24.0/x86_64-linux
> /arudev/tech-stack/16.09.16.06/linux/lib/perl5/5.24.0
> /arudev/tech-stack/16.09.16.06/portable/lib/perl5/site_perl/5.24.0/x86_64-linux
>
> /arudev/tech-stack/16.09.16.06/portable/lib/perl5/site_perl/5.24.0
> /arudev/tech-stack/16.09.16.06/portable/lib/perl5/x86_64-linux
> /arudev/tech-stack/16.09.16.06/portable/lib/perl5
> /arudev/tech-stack/16.09.16.06/portable/lib/perl5/site_perl
> .
>
> *** Packages of interest status:
>
> Apache2 : -
> Apache2::Request : -
> CGI : 4.31
> ExtUtils::MakeMaker: 7.10_01, 7.18
> LWP : -
> mod_perl : -
> mod_perl2 : -
>
>
> 3. This is the core dump trace: (if you get a core dump):
>
> n/a
>
> This report was generated by t/REPORT on Thu Jul 21 20:54:40 2016 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.
>
>
Re: [mp2] Test failures in mod_perl 2.0.9 (Apache 2.2.31, perl 5.24.0) [ In reply to ]
OK I will give that a try. Unfortunate, as 5.24.0 has been blessed with
LTS status by the Perl gods. Hopefully a new mod_perl will come out that
includes this fix.

Bill.


On 7/21/2016 6:10 PM, Adam Prime wrote:
> there are changes in SVN to support perls >= 5.22, but the work hasn't
> been released and may not be complete yet. This is the bug:
>
> https://rt.cpan.org/Public/Bug/Display.html?id=101962
>
> If you can downgrade your perl to 5.20 then you should be able to get
> things running.
>
> Adam
>
>
> On 07/21/2016 05:16 PM, William Ward wrote:
>> -------------8<---------- Start Bug Report ------------8<----------
>> 1. Problem Description:
>>
>> Until recently we have been using Perl 5.8.8, Apache 2.2.29, and
>> mod_perl 2.0.8. Due to migration to a new platform, it is necessary to
>> rebuild our tech stack, so I am taking this opportunity to upgrade
>> (Perl 5.8.8 doesn't want to build on the new platform anyway).
>>
>> Everything compiles fine, and Apache and Perl have no issues but
>> mod_perl has failures running "make test":
>>
>> Test Summary Report
>> -------------------
>> t/api/uri.t (Wstat: 0 Tests: 12 Failed: 0)
>> Parse errors: Bad plan. You planned 24 tests but ran 12.
>> t/apr-ext/uri.t (Wstat: 65280 Tests: 12 Failed: 0)
>> Non-zero exit status: 255
>> Parse errors: Bad plan. You planned 36 tests but ran 12.
>> t/apr/uri.t (Wstat: 0 Tests: 12 Failed: 0)
>> Parse errors: Bad plan. You planned 36 tests but ran 12.
>> t/directive/perlloadmodule3.t (Wstat: 0 Tests: 3 Failed: 3)
>> Failed tests: 1-3
>> t/filter/both_str_native_remove.t (Wstat: 0 Tests: 8 Failed: 4)
>> Failed tests: 1, 6-8
>> t/modperl/print.t (Wstat: 0 Tests: 5 Failed: 0)
>> Parse errors: Bad plan. You planned 6 tests but ran 5.
>> t/modperl/printf.t (Wstat: 65280 Tests: 0 Failed: 0)
>> Non-zero exit status: 255
>> Parse errors: No plan found in TAP output
>> Files=245, Tests=2223, 136 wallclock secs ( 1.16 usr 2.63 sys + 80.27
>> cusr 35.91 csys = 119.97 CPU)
>> Result: FAIL
>> Failed 7/245 test programs. 7/2223 subtests failed.
>>
>> I re-ran the tests mentioned above using -verbose mode, and the
>> results are below.
>>
>> % t/TEST -verbose api/uri apr-ext/uri apr/uri
>> directive/perlloadmodule3 filter/both_str_native_remove modperl/print
>> modperl/printf
>> [warning] setting ulimit to allow core files
>> ulimit -c unlimited; /arudev/tech-stack/16.09.16.06/linux/bin/perl
>> /scratch/wward/build/tech-stack/build/16.09.16.06/linux/cpan/build/mod_perl-2.0.9/t/TEST
>> -verbose 'api/uri' 'apr-ext/uri' 'apr/uri' 'directive/perlloadmodule3'
>> 'filter/both_str_native_remove' 'modperl/print' 'modperl/printf'
>> /arudev/tech-stack/16.09.16.06/linux/bin/httpd -d
>> /scratch/wward/build/tech-stack/build/16.09.16.06/linux/cpan/build/mod_perl-2.0.9/t
>> -f
>> /scratch/wward/build/tech-stack/build/16.09.16.06/linux/cpan/build/mod_perl-2.0.9/t/conf/httpd.conf
>> -D APACHE2
>> using Apache/2.2.31 (prefork MPM)
>>
>> waiting 120 seconds for server to start: .[Thu Jul 21 14:01:34 2016]
>> [info] 6 Apache2:: modules loaded
>> [Thu Jul 21 14:01:34 2016] [info] 0 APR:: modules loaded
>> [Thu Jul 21 14:01:34 2016] [info] base server + 29 vhosts ready to run
>> tests
>> ..
>> waiting 120 seconds for server to start: ok (waited 2 secs)
>> server localhost.localdomain:8529 started
>> server localhost.localdomain:8530 listening (perlsections)
>> server localhost.localdomain:8531 listening (inherit)
>> server localhost.localdomain:8532 listening (filter_out_apache)
>> server localhost.localdomain:8533 listening (TestVhost::log)
>> server localhost.localdomain:8534 listening (TestVhost::config)
>> server localhost.localdomain:8535 listening (TestModperl::setupenv)
>> 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
>> (TestDirective::perlcleanuphandler)
>> server localhost.localdomain:8540 listening (TestModules::proxy)
>> server localhost.localdomain:8541 listening (TestUser::rewrite)
>> server localhost.localdomain:8542 listening (TestProtocol::echo_bbs)
>> server localhost.localdomain:8543 listening (TestProtocol::echo_timeout)
>> server localhost.localdomain:8544 listening (TestProtocol::echo_block)
>> server localhost.localdomain:8545 listening (TestProtocol::pseudo_http)
>> server localhost.localdomain:8546 listening (TestProtocol::echo_filter)
>> server localhost.localdomain:8547 listening (TestProtocol::echo_bbs2)
>> server localhost.localdomain:8548 listening (TestProtocol::echo_nonblock)
>> server localhost.localdomain:8549 listening (TestPreConnection::note)
>> server localhost.localdomain:8550 listening (TestHooks::init)
>> server localhost.localdomain:8551 listening (TestHooks::startup)
>> server localhost.localdomain:8552 listening (TestHooks::hookrun)
>> server localhost.localdomain:8553 listening
>> (TestHooks::stacked_handlers2)
>> server localhost.localdomain:8554 listening (TestHooks::trans)
>> 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_bbs_inject_header)
>> server localhost.localdomain:8558 listening (TestFilter::in_str_msg)
>> server localhost.localdomain:8559 listening (TestDirective::perlrequire)
>> server localhost.localdomain:8560 listening (TestDirective::perlmodule)
>> server localhost.localdomain:8561 listening
>> (TestDirective::perlloadmodule3)
>> server localhost.localdomain:8562 listening
>> (TestDirective::perlloadmodule5)
>> server localhost.localdomain:8563 listening
>> (TestDirective::perlloadmodule4)
>> 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/api/uri.t ........................
>> 1..24
>> # Running under perl version 5.024000 for linux
>> # Current time local: Thu Jul 21 14:01:36 2016
>> # Current time GMT: Thu Jul 21 21:01:36 2016
>> # Using Test.pm version 1.28
>> # Using Apache/Test.pm version 1.39
>> ok 1
>> # testing : path
>> # expected: qr/^\/TestAPI__uri/
>> # received: '/TestAPI__uri'
>> ok 2
>> # testing : unparse
>> # expected: qr/^\/TestAPI__uri/
>> # received: '/TestAPI__uri'
>> ok 3
>> # testing : construct_server/get_server_name/get_server_port
>> # expected: 'localhost.localdomain:8529'
>> # received: 'localhost.localdomain:8529'
>> ok 4
>> # testing : construct_server(example.com)
>> # expected: 'example.com:8529'
>> # received: 'example.com:8529'
>> ok 5
>> # testing : construct_server(example.com, 9097)
>> # expected: 'example.com:9097'
>> # received: 'example.com:9097'
>> ok 6
>> # testing : construct_server(example.com, 9097, new_pool)
>> # expected: 'example.com:9097'
>> # received: 'example.com:9097'
>> ok 7
>> # construct_url: http://localhost.localdomain:8529/TestAPI__uri
>> # r->uri: /TestAPI__uri
>> ok 8
>> # testing : unparse
>> # expected: qr/\/TestAPI__uri/
>> # received: 'http://localhost.localdomain:8529/TestAPI__uri'
>> ok 9
>> # testing : parsed path
>> # expected: '/foo/bar'
>> # received: '/foo/bar'
>> ok 10
>> # construct_url: http://localhost.localdomain:8529/TestAPI__uri?query
>> # r->uri:
>> # /TestAPI__uri
>> # testing : construct_url($uri)
>> # expected: qr/\/TestAPI__uri/
>> # received: 'http://localhost.localdomain:8529/TestAPI__uri?query'
>> ok 11
>> # testing : args vs query
>> # expected: 'query'
>> # received: 'query'
>> ok 12
>> <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
>> <html><head>
>> <title>200 OK</title>
>> </head><body>
>> <h1>OK</h1>
>> <p>The server encountered an internal error or
>> misconfiguration and was unable to complete
>> your request.</p>
>> <p>Please contact the server administrator,
>> you@example.com and inform them of the time the error occurred,
>> and anything you might have done that may have
>> caused the error.</p>
>> <p>More information about this error may be available
>> in the server error log.</p>
>> <hr>
>> <address>Apache/2.2.31 (Unix) world domination series/2.0
>> mod_perl/2.0.9 Perl/v5.24.0 Server at localhost.localdomain Port
>> 8529</address>
>> </body></html>
>> Failed 12/24 subtests
>> Redundant argument in sprintf at
>> /scratch/wward/build/tech-stack/build/16.09.16.06/linux/cpan/build/mod_perl-2.0.9/t/lib/TestAPRlib/uri.pm
>> line 91.
>> t/apr-ext/uri.t ....................
>> 1..36
>> # Running under perl version 5.024000 for linux
>> # Current time local: Thu Jul 21 14:01:38 2016
>> # Current time GMT: Thu Jul 21 21:01:38 2016
>> # Using Test.pm version 1.28
>> # Using Apache/Test.pm version 1.39
>> ok 1
>> ok 2
>> # testing : password
>> # expected: 'password'
>> # received: 'password'
>> ok 3
>> # testing : port
>> # expected: 8000
>> # received: '8000'
>> ok 4
>> # testing : query
>> # expected: 'query'
>> # received: 'query'
>> ok 5
>> # testing : user
>> # expected: 'user'
>> # received: 'user'
>> ok 6
>> # testing : path
>> # expected: '/path/file.pl'
>> # received: '/path/file.pl'
>> ok 7
>> # testing : hostname
>> # expected: 'www.example.com'
>> # received: 'www.example.com'
>> ok 8
>> # testing : fragment
>> # expected: 'fragment'
>> # received: 'fragment'
>> ok 9
>> # testing : scheme
>> # expected: 'http'
>> # received: 'http'
>> ok 10
>> # testing : hostinfo
>> # expected: 'user:password@www.example.com:8000'
>> # received: 'user:password@www.example.com:8000'
>> ok 11
>> # password: pass => pass
>> # port: 21 => 21
>> # query: undef => undef
>> # user: log => log
>> # path: /pub => /pub
>> # hostname: ftp.example.com => ftp.example.com
>> # fragment: undef => undef
>> # scheme: ftp => ftp
>> # testing : hostinfo
>> # expected: 'user:password@www.example.com:8000'
>> # received: 'user:password@www.example.com:8000'
>> ok 12
>> Dubious, test returned 255 (wstat 65280, 0xff00)
>> Failed 24/36 subtests
>> t/apr/uri.t ........................
>> 1..36
>> # Running under perl version 5.024000 for linux
>> # Current time local: Thu Jul 21 14:01:36 2016
>> # Current time GMT: Thu Jul 21 21:01:36 2016
>> # Using Test.pm version 1.28
>> # Using Apache/Test.pm version 1.39
>> ok 1
>> ok 2
>> # testing : user
>> # expected: 'user'
>> # received: 'user'
>> ok 3
>> # testing : scheme
>> # expected: 'http'
>> # received: 'http'
>> ok 4
>> # testing : path
>> # expected: '/path/file.pl'
>> # received: '/path/file.pl'
>> ok 5
>> # testing : port
>> # expected: 8000
>> # received: '8000'
>> ok 6
>> # testing : password
>> # expected: 'password'
>> # received: 'password'
>> ok 7
>> # testing : hostname
>> # expected: 'www.example.com'
>> # received: 'www.example.com'
>> ok 8
>> # testing : fragment
>> # expected: 'fragment'
>> # received: 'fragment'
>> ok 9
>> # testing : query
>> # expected: 'query'
>> # received: 'query'
>> ok 10
>> # testing : hostinfo
>> # expected: 'user:password@www.example.com:8000'
>> # received: 'user:password@www.example.com:8000'
>> ok 11
>> # user: log => log
>> # scheme: ftp => ftp
>> # path: /pub => /pub
>> # port: 21 => 21
>> # password: pass => pass
>> # hostname: ftp.example.com => ftp.example.com
>> # fragment: undef => undef
>> # query: undef => undef
>> # testing : hostinfo
>> # expected: 'user:password@www.example.com:8000'
>> # received: 'user:password@www.example.com:8000'
>> ok 12
>> <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
>> <html><head>
>> <title>200 OK</title>
>> </head><body>
>> <h1>OK</h1>
>> <p>The server encountered an internal error or
>> misconfiguration and was unable to complete
>> your request.</p>
>> <p>Please contact the server administrator,
>> you@example.com and inform them of the time the error occurred,
>> and anything you might have done that may have
>> caused the error.</p>
>> <p>More information about this error may be available
>> in the server error log.</p>
>> <hr>
>> <address>Apache/2.2.31 (Unix) world domination series/2.0
>> mod_perl/2.0.9 Perl/v5.24.0 Server at localhost.localdomain Port
>> 8529</address>
>> </body></html>
>> Failed 24/36 subtests
>> # Failed test 1 in t/directive/perlloadmodule3.t at line 39
>> # Failed test 2 in t/directive/perlloadmodule3.t at line 70
>> # Failed test 3 in t/directive/perlloadmodule3.t at line 98
>> t/directive/perlloadmodule3.t ......
>> 1..3
>> # Running under perl version 5.024000 for linux
>> # Current time local: Thu Jul 21 14:01:39 2016
>> # Current time GMT: Thu Jul 21 21:01:39 2016
>> # Using Test.pm version 1.28
>> # Using Apache/Test.pm version 1.39
>> # connecting to localhost.localdomain:8529
>> # testing : server merge
>> # expected: '<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
>> # <html><head>
>> # <title>500 Internal Server Error</title>
>> # </head><body>
>> # <h1>Internal Server Error</h1>
>> # <p>The server encountered an internal error or
>> # misconfiguration and was unable to complete
>> # your request.</p>
>> # <p>Please contact the server administrator,
>> # you@example.com and inform them of the time the error occurred,
>> # and anything you might have done that may have
>> # caused the error.</p>
>> # <p>More information about this error may be available
>> # in the server error log.</p>
>> # <hr>
>> # <address>Apache/2.2.31 (Unix) world domination series/2.0
>> mod_perl/2.0.9 Perl/v5.24.0 Server at localhost.localdomain Port
>> 8529</address>
>> # </body></html>
>> # '
>> # received: 'Processing by main server.
>> #
>> # Section 1: Main Server
>> # MyAppend : MainServer
>> # MyList : ["MainServer"]
>> # MyOverride : MainServer
>> # MyPlus : 5
>> #
>> # Section 2: Location
>> # MyAppend : MainServer
>> # MyList : ["MainServer"]
>> # MyOverride : MainServer
>> # MyPlus : 5
>> # '
>> not ok 1
>> # connecting to localhost.localdomain:8561
>> # testing : server/dir merge
>> # expected: 'Processing by virtual host.
>> #
>> # Section 1: Main Server
>> # MyAppend : MainServer
>> # MyList : ["MainServer"]
>> # MyOverride : MainServer
>> # MyPlus : 5
>> #
>> # Section 2: Virtual Host
>> # MyAppend : MainServer VHost
>> # MyList : ["MainServer", "VHost"]
>> # MyOverride : VHost
>> # MyPlus : 7
>> #
>> # Section 3: Location
>> # MyAppend : MainServer VHost Dir
>> # MyList : ["MainServer", "VHost", "Dir"]
>> # MyOverride : Dir
>> # MyPlus : 10
>> # '
>> # received: '<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
>> # <html><head>
>> # <title>500 Internal Server Error</title>
>> # </head><body>
>> # <h1>Internal Server Error</h1>
>> # <p>The server encountered an internal error or
>> # misconfiguration and was unable to complete
>> # your request.</p>
>> # <p>Please contact the server administrator,
>> # you@example.com and inform them of the time the error occurred,
>> # and anything you might have done that may have
>> # caused the error.</p>
>> # <p>More information about this error may be available
>> # in the server error log.</p>
>> # <hr>
>> # <address>Apache/2.2.31 (Unix) world domination series/2.0
>> mod_perl/2.0.9 Perl/v5.24.0 Server at localhost.localdomain Port
>> 8561</address>
>> # </body></html>
>> # '
>> not ok 2
>> # testing : server/dir/subdir merge
>> # expected: 'Processing by virtual host.
>> #
>> # Section 1: Main Server
>> # MyAppend : MainServer
>> # MyList : ["MainServer"]
>> # MyOverride : MainServer
>> # MyPlus : 5
>> #
>> # Section 2: Virtual Host
>> # MyAppend : MainServer VHost
>> # MyList : ["MainServer", "VHost"]
>> # MyOverride : VHost
>> # MyPlus : 7
>> #
>> # Section 3: Location
>> # MyAppend : MainServer VHost Dir SubDir
>> # MyList : ["MainServer", "VHost", "Dir", "SubDir"]
>> # MyOverride : SubDir
>> # MyPlus : 11
>> # '
>> # received: '<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
>> # <html><head>
>> # <title>500 Internal Server Error</title>
>> # </head><body>
>> # <h1>Internal Server Error</h1>
>> # <p>The server encountered an internal error or
>> # misconfiguration and was unable to complete
>> # your request.</p>
>> # <p>Please contact the server administrator,
>> # you@example.com and inform them of the time the error occurred,
>> # and anything you might have done that may have
>> # caused the error.</p>
>> # <p>More information about this error may be available
>> # in the server error log.</p>
>> # <hr>
>> # <address>Apache/2.2.31 (Unix) world domination series/2.0
>> mod_perl/2.0.9 Perl/v5.24.0 Server at localhost.localdomain Port
>> 8561</address>
>> # </body></html>
>> # '
>> not ok 3
>> Failed 3/3 subtests
>> # Failed test 1 in t/filter/both_str_native_remove.t at line 23
>> # Failed test 6 in t/filter/both_str_native_remove.t at line 46
>> # Failed test 7 in t/filter/both_str_native_remove.t at line 50
>> # Failed test 8 in t/filter/both_str_native_remove.t at line 54
>> t/filter/both_str_native_remove.t ..
>> 1..8
>> # Running under perl version 5.024000 for linux
>> # Current time local: Thu Jul 21 14:01:39 2016
>> # Current time GMT: Thu Jul 21 21:01:39 2016
>> # Using Test.pm version 1.28
>> # Using Apache/Test.pm version 1.39
>> # testing : INCLUDES filter
>> # expected: qr/xSSI OK/
>> # received: 'content: gzipped text
>> # input1:
>> modperl_request_input,modperl_request_input,modperl_request_input,deflate,http_in,core_in
>> # input2:
>> modperl_request_input,modperl_request_input,deflate,http_in,core_in
>> # <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
>> # <html><head>
>> # <title>200 OK</title>
>> # </head><body>
>> # <h1>OK</h1>
>> # <p>The server encountered an internal error or
>> # misconfiguration and was unable to complete
>> # your request.</p>
>> # <p>Please contact the server administrator,
>> # you@example.com and inform them of the time the error occurred,
>> # and anything you might have done that may have
>> # caused the error.</p>
>> # <p>More information about this error may be available
>> # in the server error log.</p>
>> # <hr>
>> # <address>Apache/2.2.31 (Unix) world domination series/2.0
>> mod_perl/2.0.9 Perl/v5.24.0 Server at localhost.localdomain Port
>> 8529</address>
>> # </body></html>
>> # '
>> not ok 1
>> # testing : DEFLATE filter
>> # expected: qr/content: gzipped text/
>> # received: 'content: gzipped text
>> # input1:
>> modperl_request_input,modperl_request_input,modperl_request_input,deflate,http_in,core_in
>> # input2:
>> modperl_request_input,modperl_request_input,deflate,http_in,core_in
>> # <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
>> # <html><head>
>> # <title>200 OK</title>
>> # </head><body>
>> # <h1>OK</h1>
>> # <p>The server encountered an internal error or
>> # misconfiguration and was unable to complete
>> # your request.</p>
>> # <p>Please contact the server administrator,
>> # you@example.com and inform them of the time the error occurred,
>> # and anything you might have done that may have
>> # caused the error.</p>
>> # <p>More information about this error may be available
>> # in the server error log.</p>
>> # <hr>
>> # <address>Apache/2.2.31 (Unix) world domination series/2.0
>> mod_perl/2.0.9 Perl/v5.24.0 Server at localhost.localdomain Port
>> 8529</address>
>> # </body></html>
>> # '
>> ok 2
>> # testing : DEFLATE filter is present
>> # expected: qr/input1: [\w,]+deflate/
>> # received: 'content: plain text
>> # input1:
>> modperl_request_input,modperl_request_input,modperl_request_input,deflate,http_in,core_in
>> # input2: modperl_request_input,modperl_request_input,http_in,core_in
>> # <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
>> # <html><head>
>> # <title>200 OK</title>
>> # </head><body>
>> # <h1>OK</h1>
>> # <p>The server encountered an internal error or
>> # misconfiguration and was unable to complete
>> # your request.</p>
>> # <p>Please contact the server administrator,
>> # you@example.com and inform them of the time the error occurred,
>> # and anything you might have done that may have
>> # caused the error.</p>
>> # <p>More information about this error may be available
>> # in the server error log.</p>
>> # <hr>
>> # <address>Apache/2.2.31 (Unix) world domination series/2.0
>> mod_perl/2.0.9 Perl/v5.24.0 Server at localhost.localdomain Port
>> 8529</address>
>> # </body></html>
>> # '
>> ok 3
>> # testing : DEFLATE filter is removed
>> # expected: qr/input2: [\w,]+deflate/
>> # received: 'content: plain text
>> # input1:
>> modperl_request_input,modperl_request_input,modperl_request_input,deflate,http_in,core_in
>> # input2: modperl_request_input,modperl_request_input,http_in,core_in
>> # <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
>> # <html><head>
>> # <title>200 OK</title>
>> # </head><body>
>> # <h1>OK</h1>
>> # <p>The server encountered an internal error or
>> # misconfiguration and was unable to complete
>> # your request.</p>
>> # <p>Please contact the server administrator,
>> # you@example.com and inform them of the time the error occurred,
>> # and anything you might have done that may have
>> # caused the error.</p>
>> # <p>More information about this error may be available
>> # in the server error log.</p>
>> # <hr>
>> # <address>Apache/2.2.31 (Unix) world domination series/2.0
>> mod_perl/2.0.9 Perl/v5.24.0 Server at localhost.localdomain Port
>> 8529</address>
>> # </body></html>
>> # '
>> ok 4
>> # testing : DEFLATE filter wasn't invoked
>> # expected: qr/content: plain text/
>> # received: 'content: plain text
>> # input1:
>> modperl_request_input,modperl_request_input,modperl_request_input,deflate,http_in,core_in
>> # input2: modperl_request_input,modperl_request_input,http_in,core_in
>> # <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
>> # <html><head>
>> # <title>200 OK</title>
>> # </head><body>
>> # <h1>OK</h1>
>> # <p>The server encountered an internal error or
>> # misconfiguration and was unable to complete
>> # your request.</p>
>> # <p>Please contact the server administrator,
>> # you@example.com and inform them of the time the error occurred,
>> # and anything you might have done that may have
>> # caused the error.</p>
>> # <p>More information about this error may be available
>> # in the server error log.</p>
>> # <hr>
>> # <address>Apache/2.2.31 (Unix) world domination series/2.0
>> mod_perl/2.0.9 Perl/v5.24.0 Server at localhost.localdomain Port
>> 8529</address>
>> # </body></html>
>> # '
>> ok 5
>> # testing : INCLUDES filter is present
>> # expected: qr/output1:
>> modperl_request_output,includes,modperl_request_output,/
>> # received: 'content: plain text
>> # input1:
>> modperl_request_input,modperl_request_input,modperl_request_input,deflate,http_in,core_in
>> # input2: modperl_request_input,modperl_request_input,http_in,core_in
>> # <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
>> # <html><head>
>> # <title>200 OK</title>
>> # </head><body>
>> # <h1>OK</h1>
>> # <p>The server encountered an internal error or
>> # misconfiguration and was unable to complete
>> # your request.</p>
>> # <p>Please contact the server administrator,
>> # you@example.com and inform them of the time the error occurred,
>> # and anything you might have done that may have
>> # caused the error.</p>
>> # <p>More information about this error may be available
>> # in the server error log.</p>
>> # <hr>
>> # <address>Apache/2.2.31 (Unix) world domination series/2.0
>> mod_perl/2.0.9 Perl/v5.24.0 Server at localhost.localdomain Port
>> 8529</address>
>> # </body></html>
>> # '
>> not ok 6
>> # testing : INCLUDES filter is removed
>> # expected: qr/output2: modperl_request_output,(?!includes)/
>> # received: 'content: plain text
>> # input1:
>> modperl_request_input,modperl_request_input,modperl_request_input,deflate,http_in,core_in
>> # input2: modperl_request_input,modperl_request_input,http_in,core_in
>> # <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
>> # <html><head>
>> # <title>200 OK</title>
>> # </head><body>
>> # <h1>OK</h1>
>> # <p>The server encountered an internal error or
>> # misconfiguration and was unable to complete
>> # your request.</p>
>> # <p>Please contact the server administrator,
>> # you@example.com and inform them of the time the error occurred,
>> # and anything you might have done that may have
>> # caused the error.</p>
>> # <p>More information about this error may be available
>> # in the server error log.</p>
>> # <hr>
>> # <address>Apache/2.2.31 (Unix) world domination series/2.0
>> mod_perl/2.0.9 Perl/v5.24.0 Server at localhost.localdomain Port
>> 8529</address>
>> # </body></html>
>> # '
>> not ok 7
>> # testing : INCLUDES filter wasn't invoked
>> # expected: qr/x<!--#echo var="SSI_TEST" -->x/
>> # received: 'content: plain text
>> # input1:
>> modperl_request_input,modperl_request_input,modperl_request_input,deflate,http_in,core_in
>> # input2: modperl_request_input,modperl_request_input,http_in,core_in
>> # <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
>> # <html><head>
>> # <title>200 OK</title>
>> # </head><body>
>> # <h1>OK</h1>
>> # <p>The server encountered an internal error or
>> # misconfiguration and was unable to complete
>> # your request.</p>
>> # <p>Please contact the server administrator,
>> # you@example.com and inform them of the time the error occurred,
>> # and anything you might have done that may have
>> # caused the error.</p>
>> # <p>More information about this error may be available
>> # in the server error log.</p>
>> # <hr>
>> # <address>Apache/2.2.31 (Unix) world domination series/2.0
>> mod_perl/2.0.9 Perl/v5.24.0 Server at localhost.localdomain Port
>> 8529</address>
>> # </body></html>
>> # '
>> not ok 8
>> Failed 4/8 subtests
>> t/modperl/print.t ..................
>> 1..6
>> # Running under perl version 5.024000 for linux
>> # Current time local: Thu Jul 21 14:01:36 2016
>> # Current time GMT: Thu Jul 21 21:01:36 2016
>> # Using Test.pm version 1.28
>> # Using Apache/Test.pm version 1.39
>> ok 1
>> ok 2
>> ok 3
>> ok 4
>> # 11 bytes
>> ok 5
>> <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
>> <html><head>
>> <title>200 OK</title>
>> </head><body>
>> <h1>OK</h1>
>> <p>The server encountered an internal error or
>> misconfiguration and was unable to complete
>> your request.</p>
>> <p>Please contact the server administrator,
>> you@example.com and inform them of the time the error occurred,
>> and anything you might have done that may have
>> caused the error.</p>
>> <p>More information about this error may be available
>> in the server error log.</p>
>> <hr>
>> <address>Apache/2.2.31 (Unix) world domination series/2.0
>> mod_perl/2.0.9 Perl/v5.24.0 Server at localhost.localdomain Port
>> 8529</address>
>> </body></html>
>> Failed 1/6 subtests
>> request has failed (the response code was: 500)
>> see t/logs/error_log for more details
>> t/modperl/printf.t .................
>> Dubious, test returned 255 (wstat 65280, 0xff00)
>> No subtests run
>>
>> Test Summary Report
>> -------------------
>> t/api/uri.t (Wstat: 0 Tests: 12 Failed: 0)
>> Parse errors: Bad plan. You planned 24 tests but ran 12.
>> t/apr-ext/uri.t (Wstat: 65280 Tests: 12 Failed: 0)
>> Non-zero exit status: 255
>> Parse errors: Bad plan. You planned 36 tests but ran 12.
>> t/apr/uri.t (Wstat: 0 Tests: 12 Failed: 0)
>> Parse errors: Bad plan. You planned 36 tests but ran 12.
>> t/directive/perlloadmodule3.t (Wstat: 0 Tests: 3 Failed: 3)
>> Failed tests: 1-3
>> t/filter/both_str_native_remove.t (Wstat: 0 Tests: 8 Failed: 4)
>> Failed tests: 1, 6-8
>> t/modperl/print.t (Wstat: 0 Tests: 5 Failed: 0)
>> Parse errors: Bad plan. You planned 6 tests but ran 5.
>> t/modperl/printf.t (Wstat: 65280 Tests: 0 Failed: 0)
>> Non-zero exit status: 255
>> Parse errors: No plan found in TAP output
>> Files=7, Tests=52, 4 wallclock secs ( 0.04 usr 0.08 sys + 2.38
>> cusr 0.99 csys = 3.49 CPU)
>> Result: FAIL
>> Failed 7/7 test programs. 7/52 subtests failed.
>> [warning] server localhost.localdomain:8529 shutdown
>> [ error] error running tests (please examine t/logs/error_log)
>> 2. Used Components and their Configuration:
>>
>> *** mod_perl version 2.000009
>>
>> *** using
>> /scratch/wward/build/tech-stack/build/16.09.16.06/linux/cpan/build/mod_perl-2.0.9/lib/Apache2/BuildConfig.pm
>>
>> *** Makefile.PL options:
>> MP_APR_LIB => aprext
>> MP_APXS => /arudev/tech-stack/16.09.16.06/linux/bin/apxs
>> MP_COMPAT_1X => 1
>> MP_GENERATE_XS => 1
>> MP_LIBNAME => mod_perl
>> MP_USE_DSO => 1
>>
>>
>> *** /arudev/tech-stack/16.09.16.06/linux/bin/httpd -V
>> Server version: Apache/2.2.31 (Unix)
>> Server built: Jul 21 2016 12:20:36
>> Server's Module Magic Number: 20051115:40
>> Server loaded: APR 1.5.2, APR-Util 1.5.4
>> Compiled using: APR 1.5.2, APR-Util 1.5.4
>> Architecture: 64-bit
>> Server MPM: Prefork
>> threaded: no
>> forked: yes (variable process count)
>> 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 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=128
>> -D HTTPD_ROOT="/arudev/tech-stack/16.09.16.06/linux"
>> -D SUEXEC_BIN="/arudev/tech-stack/16.09.16.06/linux/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"
>>
>> *** /usr/bin/ldd /arudev/tech-stack/16.09.16.06/linux/bin/httpd
>> linux-vdso.so.1 => (0x00007fff30ff7000)
>> libz.so.1 => /arudev/tech-stack/16.09.16.06/linux/lib/libz.so.1
>> (0x00007f3776e47000)
>> libm.so.6 => /lib64/libm.so.6 (0x00000038a8a00000)
>> libaprutil-1.so.0 =>
>> /arudev/tech-stack/16.09.16.06/linux/lib/libaprutil-1.so.0
>> (0x00007f3776bce000)
>> libexpat.so.1 =>
>> /arudev/tech-stack/16.09.16.06/linux/lib/libexpat.so.1
>> (0x00007f37769a6000)
>> libapr-1.so.0 =>
>> /arudev/tech-stack/16.09.16.06/linux/lib/libapr-1.so.0
>> (0x00007f3776772000)
>> libuuid.so.1 => /lib64/libuuid.so.1 (0x00000038b0a00000)
>> librt.so.1 => /lib64/librt.so.1 (0x00000038a9200000)
>> libcrypt.so.1 => /lib64/libcrypt.so.1 (0x00000038b5600000)
>> libpthread.so.0 => /lib64/libpthread.so.0 (0x00000038a8200000)
>> libc.so.6 => /lib64/libc.so.6 (0x00000038a7e00000)
>> /lib64/ld-linux-x86-64.so.2 (0x00000038a7a00000)
>> libfreebl3.so => /lib64/libfreebl3.so (0x00000038b5a00000)
>> libdl.so.2 => /lib64/libdl.so.2 (0x00000038a8600000)
>>
>>
>> *** (apr|apu)-config linking info
>>
>> -L/arudev/tech-stack/16.09.16.06/linux/lib -laprutil-1 -lexpat
>> -L/arudev/tech-stack/16.09.16.06/linux/lib -lapr-1 -luuid -lrt
>> -lcrypt -lpthread
>>
>>
>>
>> *** /arudev/tech-stack/16.09.16.06/linux/bin//perl -V
>> Summary of my perl5 (revision 5 version 24 subversion 0) configuration:
>>
>> Platform:
>> osname=linux, osvers=3.8.13-44.1.1.el6uek.x86_64,
>> archname=x86_64-linux
>> uname='linux slc03qfe 3.8.13-44.1.1.el6uek.x86_64 #2 smp wed sep
>> 10 06:10:25 pdt 2014 x86_64 x86_64 x86_64 gnulinux '
>> config_args='-des -A ccflags=-fPIC
>> -Dprefix=/arudev/tech-stack/16.09.16.06/linux -Dmake=/usr/bin/make
>> -Dotherlibdirs=/arudev/tech-stack/16.09.16.06/portable/lib/perl5:/arudev/tech-stack/16.09.16.06/portable/lib/perl5/site_perl
>> -Dbin=/arudev/tech-stack/16.09.16.06/linux/bin/ -Uinstallusrbinperl
>> -Duse64bitint -Duselargefiles
>> -Dstartperl=#!/arudev/tech-stack/16.09.16.05/linux/bin/perl5.24.0
>> -Dinc_version_list=none
>> -Dscriptdir=/arudev/tech-stack/16.09.16.06/linux/bin
>> -Dsitebin=/arudev/tech-stack/16.09.16.06/linux/bin'
>> hint=recommended, useposix=true, d_sigaction=define
>> useithreads=undef, usemultiplicity=undef
>> use64bitint=define, use64bitall=define, uselongdouble=undef
>> usemymalloc=n, bincompat5005=undef
>> Compiler:
>> cc='cc', ccflags ='-fPIC -fwrapv -fno-strict-aliasing -pipe
>> -fstack-protector -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
>> -D_FORTIFY_SOURCE=2',
>> optimize='-O2',
>> cppflags='-fPIC -fwrapv -fno-strict-aliasing -pipe -fstack-protector'
>> ccversion='', gccversion='4.4.7 20120313 (Red Hat 4.4.7-11)',
>> gccosandvers=''
>> intsize=4, longsize=8, ptrsize=8, doublesize=8,
>> byteorder=12345678, doublekind=3
>> d_longlong=define, longlongsize=8, d_longdbl=define,
>> longdblsize=16, longdblkind=3
>> ivtype='long', ivsize=8, nvtype='double', nvsize=8, Off_t='off_t',
>> lseeksize=8
>> alignbytes=8, prototype=define
>> Linker and Libraries:
>> ld='cc', ldflags =' -fstack-protector'
>> libpth=/usr/lib /lib/../lib64 /usr/lib/../lib64 /lib /lib64
>> /usr/lib64 /usr/local/lib64
>> libs=-lpthread -lnsl -lgdbm -ldb -ldl -lm -lcrypt -lutil -lc
>> perllibs=-lpthread -lnsl -ldl -lm -lcrypt -lutil -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 -fstack-protector'
>>
>>
>> Characteristics of this binary (from libperl):
>> Compile-time options: HAS_TIMES PERLIO_LAYERS PERL_COPY_ON_WRITE
>> PERL_DONT_CREATE_GVSV
>> PERL_HASH_FUNC_ONE_AT_A_TIME_HARD
>> PERL_MALLOC_WRAP
>> PERL_PRESERVE_IVUV USE_64_BIT_ALL USE_64_BIT_INT
>> USE_LARGE_FILES USE_LOCALE USE_LOCALE_COLLATE
>> USE_LOCALE_CTYPE USE_LOCALE_NUMERIC
>> USE_LOCALE_TIME
>> USE_PERLIO USE_PERL_ATOF
>> Built under linux
>> Compiled at Jul 21 2016 12:34:27
>> %ENV:
>> PERL5LIB="/arudev/tech-stack/16.09.16.06/portable/lib/perl5:/arudev/tech-stack/16.09.16.06/portable/lib/perl5/site_perl"
>>
>> PERL_LWP_USE_HTTP_10="1"
>> @INC:
>> /arudev/tech-stack/16.09.16.06/portable/lib/perl5/x86_64-linux
>> /arudev/tech-stack/16.09.16.06/portable/lib/perl5
>> /arudev/tech-stack/16.09.16.06/portable/lib/perl5/site_perl/5.24.0/x86_64-linux
>>
>> /arudev/tech-stack/16.09.16.06/portable/lib/perl5/site_perl/5.24.0
>> /arudev/tech-stack/16.09.16.06/portable/lib/perl5/site_perl
>> /arudev/tech-stack/16.09.16.06/linux/lib/perl5/site_perl/5.24.0/x86_64-linux
>>
>> /arudev/tech-stack/16.09.16.06/linux/lib/perl5/site_perl/5.24.0
>> /arudev/tech-stack/16.09.16.06/linux/lib/perl5/5.24.0/x86_64-linux
>> /arudev/tech-stack/16.09.16.06/linux/lib/perl5/5.24.0
>> /arudev/tech-stack/16.09.16.06/portable/lib/perl5/site_perl/5.24.0/x86_64-linux
>>
>> /arudev/tech-stack/16.09.16.06/portable/lib/perl5/site_perl/5.24.0
>> /arudev/tech-stack/16.09.16.06/portable/lib/perl5/x86_64-linux
>> /arudev/tech-stack/16.09.16.06/portable/lib/perl5
>> /arudev/tech-stack/16.09.16.06/portable/lib/perl5/site_perl
>> .
>>
>> *** Packages of interest status:
>>
>> Apache2 : -
>> Apache2::Request : -
>> CGI : 4.31
>> ExtUtils::MakeMaker: 7.10_01, 7.18
>> LWP : -
>> mod_perl : -
>> mod_perl2 : -
>>
>>
>> 3. This is the core dump trace: (if you get a core dump):
>>
>> n/a
>>
>> This report was generated by t/REPORT on Thu Jul 21 20:54:40 2016 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.
>>
>>
Re: [mp2] Test failures in mod_perl 2.0.9 (Apache 2.2.31, perl 5.24.0) [ In reply to ]
Yes, I intend to make a new mod_perl release with the fix very soon
after two maint perl releases (5.22.3 / 5.24.1) are done. Sorry this
fix has languished so long.

In the meantime, if you're able to grab the latest SVN source and try
it then that would be a great help: It should be good to go, but more
testing is mostly what it needs.


On 22 July 2016 at 02:24, William Ward <william.ward@oracle.com> wrote:
> OK I will give that a try. Unfortunate, as 5.24.0 has been blessed with LTS
> status by the Perl gods. Hopefully a new mod_perl will come out that
> includes this fix.
>
> Bill.
>
>
>
> On 7/21/2016 6:10 PM, Adam Prime wrote:
>>
>> there are changes in SVN to support perls >= 5.22, but the work hasn't
>> been released and may not be complete yet. This is the bug:
>>
>> https://rt.cpan.org/Public/Bug/Display.html?id=101962
>>
>> If you can downgrade your perl to 5.20 then you should be able to get
>> things running.
>>
>> Adam
>>
>>
>> On 07/21/2016 05:16 PM, William Ward wrote:
>>>
>>> -------------8<---------- Start Bug Report ------------8<----------
>>> 1. Problem Description:
>>>
>>> Until recently we have been using Perl 5.8.8, Apache 2.2.29, and
>>> mod_perl 2.0.8. Due to migration to a new platform, it is necessary to
>>> rebuild our tech stack, so I am taking this opportunity to upgrade
>>> (Perl 5.8.8 doesn't want to build on the new platform anyway).
>>>
>>> Everything compiles fine, and Apache and Perl have no issues but
>>> mod_perl has failures running "make test":
>>>
>>> Test Summary Report
>>> -------------------
>>> t/api/uri.t (Wstat: 0 Tests: 12 Failed: 0)
>>> Parse errors: Bad plan. You planned 24 tests but ran 12.
>>> t/apr-ext/uri.t (Wstat: 65280 Tests: 12 Failed: 0)
>>> Non-zero exit status: 255
>>> Parse errors: Bad plan. You planned 36 tests but ran 12.
>>> t/apr/uri.t (Wstat: 0 Tests: 12 Failed: 0)
>>> Parse errors: Bad plan. You planned 36 tests but ran 12.
>>> t/directive/perlloadmodule3.t (Wstat: 0 Tests: 3 Failed: 3)
>>> Failed tests: 1-3
>>> t/filter/both_str_native_remove.t (Wstat: 0 Tests: 8 Failed: 4)
>>> Failed tests: 1, 6-8
>>> t/modperl/print.t (Wstat: 0 Tests: 5 Failed: 0)
>>> Parse errors: Bad plan. You planned 6 tests but ran 5.
>>> t/modperl/printf.t (Wstat: 65280 Tests: 0 Failed: 0)
>>> Non-zero exit status: 255
>>> Parse errors: No plan found in TAP output
>>> Files=245, Tests=2223, 136 wallclock secs ( 1.16 usr 2.63 sys + 80.27
>>> cusr 35.91 csys = 119.97 CPU)
>>> Result: FAIL
>>> Failed 7/245 test programs. 7/2223 subtests failed.
>>>
>>> I re-ran the tests mentioned above using -verbose mode, and the
>>> results are below.
>>>
>>> % t/TEST -verbose api/uri apr-ext/uri apr/uri
>>> directive/perlloadmodule3 filter/both_str_native_remove modperl/print
>>> modperl/printf
>>> [warning] setting ulimit to allow core files
>>> ulimit -c unlimited; /arudev/tech-stack/16.09.16.06/linux/bin/perl
>>>
>>> /scratch/wward/build/tech-stack/build/16.09.16.06/linux/cpan/build/mod_perl-2.0.9/t/TEST
>>> -verbose 'api/uri' 'apr-ext/uri' 'apr/uri' 'directive/perlloadmodule3'
>>> 'filter/both_str_native_remove' 'modperl/print' 'modperl/printf'
>>> /arudev/tech-stack/16.09.16.06/linux/bin/httpd -d
>>>
>>> /scratch/wward/build/tech-stack/build/16.09.16.06/linux/cpan/build/mod_perl-2.0.9/t
>>> -f
>>>
>>> /scratch/wward/build/tech-stack/build/16.09.16.06/linux/cpan/build/mod_perl-2.0.9/t/conf/httpd.conf
>>> -D APACHE2
>>> using Apache/2.2.31 (prefork MPM)
>>>
>>> waiting 120 seconds for server to start: .[Thu Jul 21 14:01:34 2016]
>>> [info] 6 Apache2:: modules loaded
>>> [Thu Jul 21 14:01:34 2016] [info] 0 APR:: modules loaded
>>> [Thu Jul 21 14:01:34 2016] [info] base server + 29 vhosts ready to run
>>> tests
>>> ..
>>> waiting 120 seconds for server to start: ok (waited 2 secs)
>>> server localhost.localdomain:8529 started
>>> server localhost.localdomain:8530 listening (perlsections)
>>> server localhost.localdomain:8531 listening (inherit)
>>> server localhost.localdomain:8532 listening (filter_out_apache)
>>> server localhost.localdomain:8533 listening (TestVhost::log)
>>> server localhost.localdomain:8534 listening (TestVhost::config)
>>> server localhost.localdomain:8535 listening (TestModperl::setupenv)
>>> 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
>>> (TestDirective::perlcleanuphandler)
>>> server localhost.localdomain:8540 listening (TestModules::proxy)
>>> server localhost.localdomain:8541 listening (TestUser::rewrite)
>>> server localhost.localdomain:8542 listening (TestProtocol::echo_bbs)
>>> server localhost.localdomain:8543 listening (TestProtocol::echo_timeout)
>>> server localhost.localdomain:8544 listening (TestProtocol::echo_block)
>>> server localhost.localdomain:8545 listening (TestProtocol::pseudo_http)
>>> server localhost.localdomain:8546 listening (TestProtocol::echo_filter)
>>> server localhost.localdomain:8547 listening (TestProtocol::echo_bbs2)
>>> server localhost.localdomain:8548 listening (TestProtocol::echo_nonblock)
>>> server localhost.localdomain:8549 listening (TestPreConnection::note)
>>> server localhost.localdomain:8550 listening (TestHooks::init)
>>> server localhost.localdomain:8551 listening (TestHooks::startup)
>>> server localhost.localdomain:8552 listening (TestHooks::hookrun)
>>> server localhost.localdomain:8553 listening
>>> (TestHooks::stacked_handlers2)
>>> server localhost.localdomain:8554 listening (TestHooks::trans)
>>> 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_bbs_inject_header)
>>> server localhost.localdomain:8558 listening (TestFilter::in_str_msg)
>>> server localhost.localdomain:8559 listening (TestDirective::perlrequire)
>>> server localhost.localdomain:8560 listening (TestDirective::perlmodule)
>>> server localhost.localdomain:8561 listening
>>> (TestDirective::perlloadmodule3)
>>> server localhost.localdomain:8562 listening
>>> (TestDirective::perlloadmodule5)
>>> server localhost.localdomain:8563 listening
>>> (TestDirective::perlloadmodule4)
>>> 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/api/uri.t ........................
>>> 1..24
>>> # Running under perl version 5.024000 for linux
>>> # Current time local: Thu Jul 21 14:01:36 2016
>>> # Current time GMT: Thu Jul 21 21:01:36 2016
>>> # Using Test.pm version 1.28
>>> # Using Apache/Test.pm version 1.39
>>> ok 1
>>> # testing : path
>>> # expected: qr/^\/TestAPI__uri/
>>> # received: '/TestAPI__uri'
>>> ok 2
>>> # testing : unparse
>>> # expected: qr/^\/TestAPI__uri/
>>> # received: '/TestAPI__uri'
>>> ok 3
>>> # testing : construct_server/get_server_name/get_server_port
>>> # expected: 'localhost.localdomain:8529'
>>> # received: 'localhost.localdomain:8529'
>>> ok 4
>>> # testing : construct_server(example.com)
>>> # expected: 'example.com:8529'
>>> # received: 'example.com:8529'
>>> ok 5
>>> # testing : construct_server(example.com, 9097)
>>> # expected: 'example.com:9097'
>>> # received: 'example.com:9097'
>>> ok 6
>>> # testing : construct_server(example.com, 9097, new_pool)
>>> # expected: 'example.com:9097'
>>> # received: 'example.com:9097'
>>> ok 7
>>> # construct_url: http://localhost.localdomain:8529/TestAPI__uri
>>> # r->uri: /TestAPI__uri
>>> ok 8
>>> # testing : unparse
>>> # expected: qr/\/TestAPI__uri/
>>> # received: 'http://localhost.localdomain:8529/TestAPI__uri'
>>> ok 9
>>> # testing : parsed path
>>> # expected: '/foo/bar'
>>> # received: '/foo/bar'
>>> ok 10
>>> # construct_url: http://localhost.localdomain:8529/TestAPI__uri?query
>>> # r->uri:
>>> # /TestAPI__uri
>>> # testing : construct_url($uri)
>>> # expected: qr/\/TestAPI__uri/
>>> # received: 'http://localhost.localdomain:8529/TestAPI__uri?query'
>>> ok 11
>>> # testing : args vs query
>>> # expected: 'query'
>>> # received: 'query'
>>> ok 12
>>> <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
>>> <html><head>
>>> <title>200 OK</title>
>>> </head><body>
>>> <h1>OK</h1>
>>> <p>The server encountered an internal error or
>>> misconfiguration and was unable to complete
>>> your request.</p>
>>> <p>Please contact the server administrator,
>>> you@example.com and inform them of the time the error occurred,
>>> and anything you might have done that may have
>>> caused the error.</p>
>>> <p>More information about this error may be available
>>> in the server error log.</p>
>>> <hr>
>>> <address>Apache/2.2.31 (Unix) world domination series/2.0
>>> mod_perl/2.0.9 Perl/v5.24.0 Server at localhost.localdomain Port
>>> 8529</address>
>>> </body></html>
>>> Failed 12/24 subtests
>>> Redundant argument in sprintf at
>>>
>>> /scratch/wward/build/tech-stack/build/16.09.16.06/linux/cpan/build/mod_perl-2.0.9/t/lib/TestAPRlib/uri.pm
>>> line 91.
>>> t/apr-ext/uri.t ....................
>>> 1..36
>>> # Running under perl version 5.024000 for linux
>>> # Current time local: Thu Jul 21 14:01:38 2016
>>> # Current time GMT: Thu Jul 21 21:01:38 2016
>>> # Using Test.pm version 1.28
>>> # Using Apache/Test.pm version 1.39
>>> ok 1
>>> ok 2
>>> # testing : password
>>> # expected: 'password'
>>> # received: 'password'
>>> ok 3
>>> # testing : port
>>> # expected: 8000
>>> # received: '8000'
>>> ok 4
>>> # testing : query
>>> # expected: 'query'
>>> # received: 'query'
>>> ok 5
>>> # testing : user
>>> # expected: 'user'
>>> # received: 'user'
>>> ok 6
>>> # testing : path
>>> # expected: '/path/file.pl'
>>> # received: '/path/file.pl'
>>> ok 7
>>> # testing : hostname
>>> # expected: 'www.example.com'
>>> # received: 'www.example.com'
>>> ok 8
>>> # testing : fragment
>>> # expected: 'fragment'
>>> # received: 'fragment'
>>> ok 9
>>> # testing : scheme
>>> # expected: 'http'
>>> # received: 'http'
>>> ok 10
>>> # testing : hostinfo
>>> # expected: 'user:password@www.example.com:8000'
>>> # received: 'user:password@www.example.com:8000'
>>> ok 11
>>> # password: pass => pass
>>> # port: 21 => 21
>>> # query: undef => undef
>>> # user: log => log
>>> # path: /pub => /pub
>>> # hostname: ftp.example.com => ftp.example.com
>>> # fragment: undef => undef
>>> # scheme: ftp => ftp
>>> # testing : hostinfo
>>> # expected: 'user:password@www.example.com:8000'
>>> # received: 'user:password@www.example.com:8000'
>>> ok 12
>>> Dubious, test returned 255 (wstat 65280, 0xff00)
>>> Failed 24/36 subtests
>>> t/apr/uri.t ........................
>>> 1..36
>>> # Running under perl version 5.024000 for linux
>>> # Current time local: Thu Jul 21 14:01:36 2016
>>> # Current time GMT: Thu Jul 21 21:01:36 2016
>>> # Using Test.pm version 1.28
>>> # Using Apache/Test.pm version 1.39
>>> ok 1
>>> ok 2
>>> # testing : user
>>> # expected: 'user'
>>> # received: 'user'
>>> ok 3
>>> # testing : scheme
>>> # expected: 'http'
>>> # received: 'http'
>>> ok 4
>>> # testing : path
>>> # expected: '/path/file.pl'
>>> # received: '/path/file.pl'
>>> ok 5
>>> # testing : port
>>> # expected: 8000
>>> # received: '8000'
>>> ok 6
>>> # testing : password
>>> # expected: 'password'
>>> # received: 'password'
>>> ok 7
>>> # testing : hostname
>>> # expected: 'www.example.com'
>>> # received: 'www.example.com'
>>> ok 8
>>> # testing : fragment
>>> # expected: 'fragment'
>>> # received: 'fragment'
>>> ok 9
>>> # testing : query
>>> # expected: 'query'
>>> # received: 'query'
>>> ok 10
>>> # testing : hostinfo
>>> # expected: 'user:password@www.example.com:8000'
>>> # received: 'user:password@www.example.com:8000'
>>> ok 11
>>> # user: log => log
>>> # scheme: ftp => ftp
>>> # path: /pub => /pub
>>> # port: 21 => 21
>>> # password: pass => pass
>>> # hostname: ftp.example.com => ftp.example.com
>>> # fragment: undef => undef
>>> # query: undef => undef
>>> # testing : hostinfo
>>> # expected: 'user:password@www.example.com:8000'
>>> # received: 'user:password@www.example.com:8000'
>>> ok 12
>>> <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
>>> <html><head>
>>> <title>200 OK</title>
>>> </head><body>
>>> <h1>OK</h1>
>>> <p>The server encountered an internal error or
>>> misconfiguration and was unable to complete
>>> your request.</p>
>>> <p>Please contact the server administrator,
>>> you@example.com and inform them of the time the error occurred,
>>> and anything you might have done that may have
>>> caused the error.</p>
>>> <p>More information about this error may be available
>>> in the server error log.</p>
>>> <hr>
>>> <address>Apache/2.2.31 (Unix) world domination series/2.0
>>> mod_perl/2.0.9 Perl/v5.24.0 Server at localhost.localdomain Port
>>> 8529</address>
>>> </body></html>
>>> Failed 24/36 subtests
>>> # Failed test 1 in t/directive/perlloadmodule3.t at line 39
>>> # Failed test 2 in t/directive/perlloadmodule3.t at line 70
>>> # Failed test 3 in t/directive/perlloadmodule3.t at line 98
>>> t/directive/perlloadmodule3.t ......
>>> 1..3
>>> # Running under perl version 5.024000 for linux
>>> # Current time local: Thu Jul 21 14:01:39 2016
>>> # Current time GMT: Thu Jul 21 21:01:39 2016
>>> # Using Test.pm version 1.28
>>> # Using Apache/Test.pm version 1.39
>>> # connecting to localhost.localdomain:8529
>>> # testing : server merge
>>> # expected: '<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
>>> # <html><head>
>>> # <title>500 Internal Server Error</title>
>>> # </head><body>
>>> # <h1>Internal Server Error</h1>
>>> # <p>The server encountered an internal error or
>>> # misconfiguration and was unable to complete
>>> # your request.</p>
>>> # <p>Please contact the server administrator,
>>> # you@example.com and inform them of the time the error occurred,
>>> # and anything you might have done that may have
>>> # caused the error.</p>
>>> # <p>More information about this error may be available
>>> # in the server error log.</p>
>>> # <hr>
>>> # <address>Apache/2.2.31 (Unix) world domination series/2.0
>>> mod_perl/2.0.9 Perl/v5.24.0 Server at localhost.localdomain Port
>>> 8529</address>
>>> # </body></html>
>>> # '
>>> # received: 'Processing by main server.
>>> #
>>> # Section 1: Main Server
>>> # MyAppend : MainServer
>>> # MyList : ["MainServer"]
>>> # MyOverride : MainServer
>>> # MyPlus : 5
>>> #
>>> # Section 2: Location
>>> # MyAppend : MainServer
>>> # MyList : ["MainServer"]
>>> # MyOverride : MainServer
>>> # MyPlus : 5
>>> # '
>>> not ok 1
>>> # connecting to localhost.localdomain:8561
>>> # testing : server/dir merge
>>> # expected: 'Processing by virtual host.
>>> #
>>> # Section 1: Main Server
>>> # MyAppend : MainServer
>>> # MyList : ["MainServer"]
>>> # MyOverride : MainServer
>>> # MyPlus : 5
>>> #
>>> # Section 2: Virtual Host
>>> # MyAppend : MainServer VHost
>>> # MyList : ["MainServer", "VHost"]
>>> # MyOverride : VHost
>>> # MyPlus : 7
>>> #
>>> # Section 3: Location
>>> # MyAppend : MainServer VHost Dir
>>> # MyList : ["MainServer", "VHost", "Dir"]
>>> # MyOverride : Dir
>>> # MyPlus : 10
>>> # '
>>> # received: '<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
>>> # <html><head>
>>> # <title>500 Internal Server Error</title>
>>> # </head><body>
>>> # <h1>Internal Server Error</h1>
>>> # <p>The server encountered an internal error or
>>> # misconfiguration and was unable to complete
>>> # your request.</p>
>>> # <p>Please contact the server administrator,
>>> # you@example.com and inform them of the time the error occurred,
>>> # and anything you might have done that may have
>>> # caused the error.</p>
>>> # <p>More information about this error may be available
>>> # in the server error log.</p>
>>> # <hr>
>>> # <address>Apache/2.2.31 (Unix) world domination series/2.0
>>> mod_perl/2.0.9 Perl/v5.24.0 Server at localhost.localdomain Port
>>> 8561</address>
>>> # </body></html>
>>> # '
>>> not ok 2
>>> # testing : server/dir/subdir merge
>>> # expected: 'Processing by virtual host.
>>> #
>>> # Section 1: Main Server
>>> # MyAppend : MainServer
>>> # MyList : ["MainServer"]
>>> # MyOverride : MainServer
>>> # MyPlus : 5
>>> #
>>> # Section 2: Virtual Host
>>> # MyAppend : MainServer VHost
>>> # MyList : ["MainServer", "VHost"]
>>> # MyOverride : VHost
>>> # MyPlus : 7
>>> #
>>> # Section 3: Location
>>> # MyAppend : MainServer VHost Dir SubDir
>>> # MyList : ["MainServer", "VHost", "Dir", "SubDir"]
>>> # MyOverride : SubDir
>>> # MyPlus : 11
>>> # '
>>> # received: '<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
>>> # <html><head>
>>> # <title>500 Internal Server Error</title>
>>> # </head><body>
>>> # <h1>Internal Server Error</h1>
>>> # <p>The server encountered an internal error or
>>> # misconfiguration and was unable to complete
>>> # your request.</p>
>>> # <p>Please contact the server administrator,
>>> # you@example.com and inform them of the time the error occurred,
>>> # and anything you might have done that may have
>>> # caused the error.</p>
>>> # <p>More information about this error may be available
>>> # in the server error log.</p>
>>> # <hr>
>>> # <address>Apache/2.2.31 (Unix) world domination series/2.0
>>> mod_perl/2.0.9 Perl/v5.24.0 Server at localhost.localdomain Port
>>> 8561</address>
>>> # </body></html>
>>> # '
>>> not ok 3
>>> Failed 3/3 subtests
>>> # Failed test 1 in t/filter/both_str_native_remove.t at line 23
>>> # Failed test 6 in t/filter/both_str_native_remove.t at line 46
>>> # Failed test 7 in t/filter/both_str_native_remove.t at line 50
>>> # Failed test 8 in t/filter/both_str_native_remove.t at line 54
>>> t/filter/both_str_native_remove.t ..
>>> 1..8
>>> # Running under perl version 5.024000 for linux
>>> # Current time local: Thu Jul 21 14:01:39 2016
>>> # Current time GMT: Thu Jul 21 21:01:39 2016
>>> # Using Test.pm version 1.28
>>> # Using Apache/Test.pm version 1.39
>>> # testing : INCLUDES filter
>>> # expected: qr/xSSI OK/
>>> # received: 'content: gzipped text
>>> # input1:
>>>
>>> modperl_request_input,modperl_request_input,modperl_request_input,deflate,http_in,core_in
>>> # input2:
>>> modperl_request_input,modperl_request_input,deflate,http_in,core_in
>>> # <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
>>> # <html><head>
>>> # <title>200 OK</title>
>>> # </head><body>
>>> # <h1>OK</h1>
>>> # <p>The server encountered an internal error or
>>> # misconfiguration and was unable to complete
>>> # your request.</p>
>>> # <p>Please contact the server administrator,
>>> # you@example.com and inform them of the time the error occurred,
>>> # and anything you might have done that may have
>>> # caused the error.</p>
>>> # <p>More information about this error may be available
>>> # in the server error log.</p>
>>> # <hr>
>>> # <address>Apache/2.2.31 (Unix) world domination series/2.0
>>> mod_perl/2.0.9 Perl/v5.24.0 Server at localhost.localdomain Port
>>> 8529</address>
>>> # </body></html>
>>> # '
>>> not ok 1
>>> # testing : DEFLATE filter
>>> # expected: qr/content: gzipped text/
>>> # received: 'content: gzipped text
>>> # input1:
>>>
>>> modperl_request_input,modperl_request_input,modperl_request_input,deflate,http_in,core_in
>>> # input2:
>>> modperl_request_input,modperl_request_input,deflate,http_in,core_in
>>> # <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
>>> # <html><head>
>>> # <title>200 OK</title>
>>> # </head><body>
>>> # <h1>OK</h1>
>>> # <p>The server encountered an internal error or
>>> # misconfiguration and was unable to complete
>>> # your request.</p>
>>> # <p>Please contact the server administrator,
>>> # you@example.com and inform them of the time the error occurred,
>>> # and anything you might have done that may have
>>> # caused the error.</p>
>>> # <p>More information about this error may be available
>>> # in the server error log.</p>
>>> # <hr>
>>> # <address>Apache/2.2.31 (Unix) world domination series/2.0
>>> mod_perl/2.0.9 Perl/v5.24.0 Server at localhost.localdomain Port
>>> 8529</address>
>>> # </body></html>
>>> # '
>>> ok 2
>>> # testing : DEFLATE filter is present
>>> # expected: qr/input1: [\w,]+deflate/
>>> # received: 'content: plain text
>>> # input1:
>>>
>>> modperl_request_input,modperl_request_input,modperl_request_input,deflate,http_in,core_in
>>> # input2: modperl_request_input,modperl_request_input,http_in,core_in
>>> # <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
>>> # <html><head>
>>> # <title>200 OK</title>
>>> # </head><body>
>>> # <h1>OK</h1>
>>> # <p>The server encountered an internal error or
>>> # misconfiguration and was unable to complete
>>> # your request.</p>
>>> # <p>Please contact the server administrator,
>>> # you@example.com and inform them of the time the error occurred,
>>> # and anything you might have done that may have
>>> # caused the error.</p>
>>> # <p>More information about this error may be available
>>> # in the server error log.</p>
>>> # <hr>
>>> # <address>Apache/2.2.31 (Unix) world domination series/2.0
>>> mod_perl/2.0.9 Perl/v5.24.0 Server at localhost.localdomain Port
>>> 8529</address>
>>> # </body></html>
>>> # '
>>> ok 3
>>> # testing : DEFLATE filter is removed
>>> # expected: qr/input2: [\w,]+deflate/
>>> # received: 'content: plain text
>>> # input1:
>>>
>>> modperl_request_input,modperl_request_input,modperl_request_input,deflate,http_in,core_in
>>> # input2: modperl_request_input,modperl_request_input,http_in,core_in
>>> # <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
>>> # <html><head>
>>> # <title>200 OK</title>
>>> # </head><body>
>>> # <h1>OK</h1>
>>> # <p>The server encountered an internal error or
>>> # misconfiguration and was unable to complete
>>> # your request.</p>
>>> # <p>Please contact the server administrator,
>>> # you@example.com and inform them of the time the error occurred,
>>> # and anything you might have done that may have
>>> # caused the error.</p>
>>> # <p>More information about this error may be available
>>> # in the server error log.</p>
>>> # <hr>
>>> # <address>Apache/2.2.31 (Unix) world domination series/2.0
>>> mod_perl/2.0.9 Perl/v5.24.0 Server at localhost.localdomain Port
>>> 8529</address>
>>> # </body></html>
>>> # '
>>> ok 4
>>> # testing : DEFLATE filter wasn't invoked
>>> # expected: qr/content: plain text/
>>> # received: 'content: plain text
>>> # input1:
>>>
>>> modperl_request_input,modperl_request_input,modperl_request_input,deflate,http_in,core_in
>>> # input2: modperl_request_input,modperl_request_input,http_in,core_in
>>> # <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
>>> # <html><head>
>>> # <title>200 OK</title>
>>> # </head><body>
>>> # <h1>OK</h1>
>>> # <p>The server encountered an internal error or
>>> # misconfiguration and was unable to complete
>>> # your request.</p>
>>> # <p>Please contact the server administrator,
>>> # you@example.com and inform them of the time the error occurred,
>>> # and anything you might have done that may have
>>> # caused the error.</p>
>>> # <p>More information about this error may be available
>>> # in the server error log.</p>
>>> # <hr>
>>> # <address>Apache/2.2.31 (Unix) world domination series/2.0
>>> mod_perl/2.0.9 Perl/v5.24.0 Server at localhost.localdomain Port
>>> 8529</address>
>>> # </body></html>
>>> # '
>>> ok 5
>>> # testing : INCLUDES filter is present
>>> # expected: qr/output1:
>>> modperl_request_output,includes,modperl_request_output,/
>>> # received: 'content: plain text
>>> # input1:
>>>
>>> modperl_request_input,modperl_request_input,modperl_request_input,deflate,http_in,core_in
>>> # input2: modperl_request_input,modperl_request_input,http_in,core_in
>>> # <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
>>> # <html><head>
>>> # <title>200 OK</title>
>>> # </head><body>
>>> # <h1>OK</h1>
>>> # <p>The server encountered an internal error or
>>> # misconfiguration and was unable to complete
>>> # your request.</p>
>>> # <p>Please contact the server administrator,
>>> # you@example.com and inform them of the time the error occurred,
>>> # and anything you might have done that may have
>>> # caused the error.</p>
>>> # <p>More information about this error may be available
>>> # in the server error log.</p>
>>> # <hr>
>>> # <address>Apache/2.2.31 (Unix) world domination series/2.0
>>> mod_perl/2.0.9 Perl/v5.24.0 Server at localhost.localdomain Port
>>> 8529</address>
>>> # </body></html>
>>> # '
>>> not ok 6
>>> # testing : INCLUDES filter is removed
>>> # expected: qr/output2: modperl_request_output,(?!includes)/
>>> # received: 'content: plain text
>>> # input1:
>>>
>>> modperl_request_input,modperl_request_input,modperl_request_input,deflate,http_in,core_in
>>> # input2: modperl_request_input,modperl_request_input,http_in,core_in
>>> # <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
>>> # <html><head>
>>> # <title>200 OK</title>
>>> # </head><body>
>>> # <h1>OK</h1>
>>> # <p>The server encountered an internal error or
>>> # misconfiguration and was unable to complete
>>> # your request.</p>
>>> # <p>Please contact the server administrator,
>>> # you@example.com and inform them of the time the error occurred,
>>> # and anything you might have done that may have
>>> # caused the error.</p>
>>> # <p>More information about this error may be available
>>> # in the server error log.</p>
>>> # <hr>
>>> # <address>Apache/2.2.31 (Unix) world domination series/2.0
>>> mod_perl/2.0.9 Perl/v5.24.0 Server at localhost.localdomain Port
>>> 8529</address>
>>> # </body></html>
>>> # '
>>> not ok 7
>>> # testing : INCLUDES filter wasn't invoked
>>> # expected: qr/x<!--#echo var="SSI_TEST" -->x/
>>> # received: 'content: plain text
>>> # input1:
>>>
>>> modperl_request_input,modperl_request_input,modperl_request_input,deflate,http_in,core_in
>>> # input2: modperl_request_input,modperl_request_input,http_in,core_in
>>> # <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
>>> # <html><head>
>>> # <title>200 OK</title>
>>> # </head><body>
>>> # <h1>OK</h1>
>>> # <p>The server encountered an internal error or
>>> # misconfiguration and was unable to complete
>>> # your request.</p>
>>> # <p>Please contact the server administrator,
>>> # you@example.com and inform them of the time the error occurred,
>>> # and anything you might have done that may have
>>> # caused the error.</p>
>>> # <p>More information about this error may be available
>>> # in the server error log.</p>
>>> # <hr>
>>> # <address>Apache/2.2.31 (Unix) world domination series/2.0
>>> mod_perl/2.0.9 Perl/v5.24.0 Server at localhost.localdomain Port
>>> 8529</address>
>>> # </body></html>
>>> # '
>>> not ok 8
>>> Failed 4/8 subtests
>>> t/modperl/print.t ..................
>>> 1..6
>>> # Running under perl version 5.024000 for linux
>>> # Current time local: Thu Jul 21 14:01:36 2016
>>> # Current time GMT: Thu Jul 21 21:01:36 2016
>>> # Using Test.pm version 1.28
>>> # Using Apache/Test.pm version 1.39
>>> ok 1
>>> ok 2
>>> ok 3
>>> ok 4
>>> # 11 bytes
>>> ok 5
>>> <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
>>> <html><head>
>>> <title>200 OK</title>
>>> </head><body>
>>> <h1>OK</h1>
>>> <p>The server encountered an internal error or
>>> misconfiguration and was unable to complete
>>> your request.</p>
>>> <p>Please contact the server administrator,
>>> you@example.com and inform them of the time the error occurred,
>>> and anything you might have done that may have
>>> caused the error.</p>
>>> <p>More information about this error may be available
>>> in the server error log.</p>
>>> <hr>
>>> <address>Apache/2.2.31 (Unix) world domination series/2.0
>>> mod_perl/2.0.9 Perl/v5.24.0 Server at localhost.localdomain Port
>>> 8529</address>
>>> </body></html>
>>> Failed 1/6 subtests
>>> request has failed (the response code was: 500)
>>> see t/logs/error_log for more details
>>> t/modperl/printf.t .................
>>> Dubious, test returned 255 (wstat 65280, 0xff00)
>>> No subtests run
>>>
>>> Test Summary Report
>>> -------------------
>>> t/api/uri.t (Wstat: 0 Tests: 12 Failed: 0)
>>> Parse errors: Bad plan. You planned 24 tests but ran 12.
>>> t/apr-ext/uri.t (Wstat: 65280 Tests: 12 Failed: 0)
>>> Non-zero exit status: 255
>>> Parse errors: Bad plan. You planned 36 tests but ran 12.
>>> t/apr/uri.t (Wstat: 0 Tests: 12 Failed: 0)
>>> Parse errors: Bad plan. You planned 36 tests but ran 12.
>>> t/directive/perlloadmodule3.t (Wstat: 0 Tests: 3 Failed: 3)
>>> Failed tests: 1-3
>>> t/filter/both_str_native_remove.t (Wstat: 0 Tests: 8 Failed: 4)
>>> Failed tests: 1, 6-8
>>> t/modperl/print.t (Wstat: 0 Tests: 5 Failed: 0)
>>> Parse errors: Bad plan. You planned 6 tests but ran 5.
>>> t/modperl/printf.t (Wstat: 65280 Tests: 0 Failed: 0)
>>> Non-zero exit status: 255
>>> Parse errors: No plan found in TAP output
>>> Files=7, Tests=52, 4 wallclock secs ( 0.04 usr 0.08 sys + 2.38
>>> cusr 0.99 csys = 3.49 CPU)
>>> Result: FAIL
>>> Failed 7/7 test programs. 7/52 subtests failed.
>>> [warning] server localhost.localdomain:8529 shutdown
>>> [ error] error running tests (please examine t/logs/error_log)
>>> 2. Used Components and their Configuration:
>>>
>>> *** mod_perl version 2.000009
>>>
>>> *** using
>>>
>>> /scratch/wward/build/tech-stack/build/16.09.16.06/linux/cpan/build/mod_perl-2.0.9/lib/Apache2/BuildConfig.pm
>>>
>>> *** Makefile.PL options:
>>> MP_APR_LIB => aprext
>>> MP_APXS => /arudev/tech-stack/16.09.16.06/linux/bin/apxs
>>> MP_COMPAT_1X => 1
>>> MP_GENERATE_XS => 1
>>> MP_LIBNAME => mod_perl
>>> MP_USE_DSO => 1
>>>
>>>
>>> *** /arudev/tech-stack/16.09.16.06/linux/bin/httpd -V
>>> Server version: Apache/2.2.31 (Unix)
>>> Server built: Jul 21 2016 12:20:36
>>> Server's Module Magic Number: 20051115:40
>>> Server loaded: APR 1.5.2, APR-Util 1.5.4
>>> Compiled using: APR 1.5.2, APR-Util 1.5.4
>>> Architecture: 64-bit
>>> Server MPM: Prefork
>>> threaded: no
>>> forked: yes (variable process count)
>>> 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 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=128
>>> -D HTTPD_ROOT="/arudev/tech-stack/16.09.16.06/linux"
>>> -D SUEXEC_BIN="/arudev/tech-stack/16.09.16.06/linux/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"
>>>
>>> *** /usr/bin/ldd /arudev/tech-stack/16.09.16.06/linux/bin/httpd
>>> linux-vdso.so.1 => (0x00007fff30ff7000)
>>> libz.so.1 => /arudev/tech-stack/16.09.16.06/linux/lib/libz.so.1
>>> (0x00007f3776e47000)
>>> libm.so.6 => /lib64/libm.so.6 (0x00000038a8a00000)
>>> libaprutil-1.so.0 =>
>>> /arudev/tech-stack/16.09.16.06/linux/lib/libaprutil-1.so.0
>>> (0x00007f3776bce000)
>>> libexpat.so.1 =>
>>> /arudev/tech-stack/16.09.16.06/linux/lib/libexpat.so.1
>>> (0x00007f37769a6000)
>>> libapr-1.so.0 =>
>>> /arudev/tech-stack/16.09.16.06/linux/lib/libapr-1.so.0
>>> (0x00007f3776772000)
>>> libuuid.so.1 => /lib64/libuuid.so.1 (0x00000038b0a00000)
>>> librt.so.1 => /lib64/librt.so.1 (0x00000038a9200000)
>>> libcrypt.so.1 => /lib64/libcrypt.so.1 (0x00000038b5600000)
>>> libpthread.so.0 => /lib64/libpthread.so.0 (0x00000038a8200000)
>>> libc.so.6 => /lib64/libc.so.6 (0x00000038a7e00000)
>>> /lib64/ld-linux-x86-64.so.2 (0x00000038a7a00000)
>>> libfreebl3.so => /lib64/libfreebl3.so (0x00000038b5a00000)
>>> libdl.so.2 => /lib64/libdl.so.2 (0x00000038a8600000)
>>>
>>>
>>> *** (apr|apu)-config linking info
>>>
>>> -L/arudev/tech-stack/16.09.16.06/linux/lib -laprutil-1 -lexpat
>>> -L/arudev/tech-stack/16.09.16.06/linux/lib -lapr-1 -luuid -lrt
>>> -lcrypt -lpthread
>>>
>>>
>>>
>>> *** /arudev/tech-stack/16.09.16.06/linux/bin//perl -V
>>> Summary of my perl5 (revision 5 version 24 subversion 0) configuration:
>>>
>>> Platform:
>>> osname=linux, osvers=3.8.13-44.1.1.el6uek.x86_64,
>>> archname=x86_64-linux
>>> uname='linux slc03qfe 3.8.13-44.1.1.el6uek.x86_64 #2 smp wed sep
>>> 10 06:10:25 pdt 2014 x86_64 x86_64 x86_64 gnulinux '
>>> config_args='-des -A ccflags=-fPIC
>>> -Dprefix=/arudev/tech-stack/16.09.16.06/linux -Dmake=/usr/bin/make
>>>
>>> -Dotherlibdirs=/arudev/tech-stack/16.09.16.06/portable/lib/perl5:/arudev/tech-stack/16.09.16.06/portable/lib/perl5/site_perl
>>> -Dbin=/arudev/tech-stack/16.09.16.06/linux/bin/ -Uinstallusrbinperl
>>> -Duse64bitint -Duselargefiles
>>> -Dstartperl=#!/arudev/tech-stack/16.09.16.05/linux/bin/perl5.24.0
>>> -Dinc_version_list=none
>>> -Dscriptdir=/arudev/tech-stack/16.09.16.06/linux/bin
>>> -Dsitebin=/arudev/tech-stack/16.09.16.06/linux/bin'
>>> hint=recommended, useposix=true, d_sigaction=define
>>> useithreads=undef, usemultiplicity=undef
>>> use64bitint=define, use64bitall=define, uselongdouble=undef
>>> usemymalloc=n, bincompat5005=undef
>>> Compiler:
>>> cc='cc', ccflags ='-fPIC -fwrapv -fno-strict-aliasing -pipe
>>> -fstack-protector -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
>>> -D_FORTIFY_SOURCE=2',
>>> optimize='-O2',
>>> cppflags='-fPIC -fwrapv -fno-strict-aliasing -pipe
>>> -fstack-protector'
>>> ccversion='', gccversion='4.4.7 20120313 (Red Hat 4.4.7-11)',
>>> gccosandvers=''
>>> intsize=4, longsize=8, ptrsize=8, doublesize=8,
>>> byteorder=12345678, doublekind=3
>>> d_longlong=define, longlongsize=8, d_longdbl=define,
>>> longdblsize=16, longdblkind=3
>>> ivtype='long', ivsize=8, nvtype='double', nvsize=8, Off_t='off_t',
>>> lseeksize=8
>>> alignbytes=8, prototype=define
>>> Linker and Libraries:
>>> ld='cc', ldflags =' -fstack-protector'
>>> libpth=/usr/lib /lib/../lib64 /usr/lib/../lib64 /lib /lib64
>>> /usr/lib64 /usr/local/lib64
>>> libs=-lpthread -lnsl -lgdbm -ldb -ldl -lm -lcrypt -lutil -lc
>>> perllibs=-lpthread -lnsl -ldl -lm -lcrypt -lutil -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 -fstack-protector'
>>>
>>>
>>> Characteristics of this binary (from libperl):
>>> Compile-time options: HAS_TIMES PERLIO_LAYERS PERL_COPY_ON_WRITE
>>> PERL_DONT_CREATE_GVSV
>>> PERL_HASH_FUNC_ONE_AT_A_TIME_HARD
>>> PERL_MALLOC_WRAP
>>> PERL_PRESERVE_IVUV USE_64_BIT_ALL USE_64_BIT_INT
>>> USE_LARGE_FILES USE_LOCALE USE_LOCALE_COLLATE
>>> USE_LOCALE_CTYPE USE_LOCALE_NUMERIC
>>> USE_LOCALE_TIME
>>> USE_PERLIO USE_PERL_ATOF
>>> Built under linux
>>> Compiled at Jul 21 2016 12:34:27
>>> %ENV:
>>>
>>> PERL5LIB="/arudev/tech-stack/16.09.16.06/portable/lib/perl5:/arudev/tech-stack/16.09.16.06/portable/lib/perl5/site_perl"
>>>
>>> PERL_LWP_USE_HTTP_10="1"
>>> @INC:
>>> /arudev/tech-stack/16.09.16.06/portable/lib/perl5/x86_64-linux
>>> /arudev/tech-stack/16.09.16.06/portable/lib/perl5
>>>
>>> /arudev/tech-stack/16.09.16.06/portable/lib/perl5/site_perl/5.24.0/x86_64-linux
>>>
>>> /arudev/tech-stack/16.09.16.06/portable/lib/perl5/site_perl/5.24.0
>>> /arudev/tech-stack/16.09.16.06/portable/lib/perl5/site_perl
>>>
>>> /arudev/tech-stack/16.09.16.06/linux/lib/perl5/site_perl/5.24.0/x86_64-linux
>>>
>>> /arudev/tech-stack/16.09.16.06/linux/lib/perl5/site_perl/5.24.0
>>> /arudev/tech-stack/16.09.16.06/linux/lib/perl5/5.24.0/x86_64-linux
>>> /arudev/tech-stack/16.09.16.06/linux/lib/perl5/5.24.0
>>>
>>> /arudev/tech-stack/16.09.16.06/portable/lib/perl5/site_perl/5.24.0/x86_64-linux
>>>
>>> /arudev/tech-stack/16.09.16.06/portable/lib/perl5/site_perl/5.24.0
>>> /arudev/tech-stack/16.09.16.06/portable/lib/perl5/x86_64-linux
>>> /arudev/tech-stack/16.09.16.06/portable/lib/perl5
>>> /arudev/tech-stack/16.09.16.06/portable/lib/perl5/site_perl
>>> .
>>>
>>> *** Packages of interest status:
>>>
>>> Apache2 : -
>>> Apache2::Request : -
>>> CGI : 4.31
>>> ExtUtils::MakeMaker: 7.10_01, 7.18
>>> LWP : -
>>> mod_perl : -
>>> mod_perl2 : -
>>>
>>>
>>> 3. This is the core dump trace: (if you get a core dump):
>>>
>>> n/a
>>>
>>> This report was generated by t/REPORT on Thu Jul 21 20:54:40 2016 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.
>>>
>>>
>
Re: [mp2] Test failures in mod_perl 2.0.9 (Apache 2.2.31, perl 5.24.0) [ In reply to ]
On Thu, Jul 21, 2016 at 06:24:05PM -0700, William Ward wrote:
> OK I will give that a try. Unfortunate, as 5.24.0 has been blessed with LTS
> status by the Perl gods. Hopefully a new mod_perl will come out that
> includes this fix.

Where do you find a reference to LTS support for perl 5.24.0? As far
as I know the support policy is unchanged and uniform for each stable
release:

http://perldoc.perl.org/perlpolicy.html#MAINTENANCE-AND-SUPPORT

Cheers,
Dominic.
Re: [mp2] Test failures in mod_perl 2.0.9 (Apache 2.2.31, perl 5.24.0) [ In reply to ]
I thought I saw somewhere the term LTS used with respect to Perl 5.24
but can't find it now... however they do push pretty hard to run the
latest version:

* On https://www.perl.org/get.html it says, "We recommend that you
always run the latest stable version, currently 5.24.0. If you're
running a version older than 5.8.3, you may find that the latest
version of CPAN modules will not work."
* On http://www.cpan.org/src/README.html it says "End of life" for all
versions earlier than 5.22.2

If mod_perl doesn't work on any version except those marked "End of
life" in CPAN, I think that's a problem.
Bill

On 7/22/2016 1:47 AM, Dominic Hargreaves wrote:
> On Thu, Jul 21, 2016 at 06:24:05PM -0700, William Ward wrote:
>> OK I will give that a try. Unfortunate, as 5.24.0 has been blessed with LTS
>> status by the Perl gods. Hopefully a new mod_perl will come out that
>> includes this fix.
> Where do you find a reference to LTS support for perl 5.24.0? As far
> as I know the support policy is unchanged and uniform for each stable
> release:
>
> http://perldoc.perl.org/perlpolicy.html#MAINTENANCE-AND-SUPPORT
>
> Cheers,
> Dominic.
>
Re: [mp2] Test failures in mod_perl 2.0.9 (Apache 2.2.31, perl 5.24.0) [ In reply to ]
Sorry, with all the things we're upgrading I don't want to add the
variable of experimental code into the mix. I'll just run 5.20.3 for now.

Bill


On 7/22/2016 12:12 AM, Steve Hay wrote:
> Yes, I intend to make a new mod_perl release with the fix very soon
> after two maint perl releases (5.22.3 / 5.24.1) are done. Sorry this
> fix has languished so long.
>
> In the meantime, if you're able to grab the latest SVN source and try
> it then that would be a great help: It should be good to go, but more
> testing is mostly what it needs.
>
>
> On 22 July 2016 at 02:24, William Ward <william.ward@oracle.com> wrote:
>> OK I will give that a try. Unfortunate, as 5.24.0 has been blessed with LTS
>> status by the Perl gods. Hopefully a new mod_perl will come out that
>> includes this fix.
>>
>> Bill.
>>
>>
>>
>> On 7/21/2016 6:10 PM, Adam Prime wrote:
>>> there are changes in SVN to support perls >= 5.22, but the work hasn't
>>> been released and may not be complete yet. This is the bug:
>>>
>>> https://rt.cpan.org/Public/Bug/Display.html?id=101962
>>>
>>> If you can downgrade your perl to 5.20 then you should be able to get
>>> things running.
>>>
>>> Adam
>>>
>>>
>>> On 07/21/2016 05:16 PM, William Ward wrote:
>>>> -------------8<---------- Start Bug Report ------------8<----------
>>>> 1. Problem Description:
>>>>
>>>> Until recently we have been using Perl 5.8.8, Apache 2.2.29, and
>>>> mod_perl 2.0.8. Due to migration to a new platform, it is necessary to
>>>> rebuild our tech stack, so I am taking this opportunity to upgrade
>>>> (Perl 5.8.8 doesn't want to build on the new platform anyway).
>>>>
>>>> Everything compiles fine, and Apache and Perl have no issues but
>>>> mod_perl has failures running "make test":
>>>>
>>>> Test Summary Report
>>>> -------------------
>>>> t/api/uri.t (Wstat: 0 Tests: 12 Failed: 0)
>>>> Parse errors: Bad plan. You planned 24 tests but ran 12.
>>>> t/apr-ext/uri.t (Wstat: 65280 Tests: 12 Failed: 0)
>>>> Non-zero exit status: 255
>>>> Parse errors: Bad plan. You planned 36 tests but ran 12.
>>>> t/apr/uri.t (Wstat: 0 Tests: 12 Failed: 0)
>>>> Parse errors: Bad plan. You planned 36 tests but ran 12.
>>>> t/directive/perlloadmodule3.t (Wstat: 0 Tests: 3 Failed: 3)
>>>> Failed tests: 1-3
>>>> t/filter/both_str_native_remove.t (Wstat: 0 Tests: 8 Failed: 4)
>>>> Failed tests: 1, 6-8
>>>> t/modperl/print.t (Wstat: 0 Tests: 5 Failed: 0)
>>>> Parse errors: Bad plan. You planned 6 tests but ran 5.
>>>> t/modperl/printf.t (Wstat: 65280 Tests: 0 Failed: 0)
>>>> Non-zero exit status: 255
>>>> Parse errors: No plan found in TAP output
>>>> Files=245, Tests=2223, 136 wallclock secs ( 1.16 usr 2.63 sys + 80.27
>>>> cusr 35.91 csys = 119.97 CPU)
>>>> Result: FAIL
>>>> Failed 7/245 test programs. 7/2223 subtests failed.
>>>>
>>>> I re-ran the tests mentioned above using -verbose mode, and the
>>>> results are below.
>>>>
>>>> % t/TEST -verbose api/uri apr-ext/uri apr/uri
>>>> directive/perlloadmodule3 filter/both_str_native_remove modperl/print
>>>> modperl/printf
>>>> [warning] setting ulimit to allow core files
>>>> ulimit -c unlimited; /arudev/tech-stack/16.09.16.06/linux/bin/perl
>>>>
>>>> /scratch/wward/build/tech-stack/build/16.09.16.06/linux/cpan/build/mod_perl-2.0.9/t/TEST
>>>> -verbose 'api/uri' 'apr-ext/uri' 'apr/uri' 'directive/perlloadmodule3'
>>>> 'filter/both_str_native_remove' 'modperl/print' 'modperl/printf'
>>>> /arudev/tech-stack/16.09.16.06/linux/bin/httpd -d
>>>>
>>>> /scratch/wward/build/tech-stack/build/16.09.16.06/linux/cpan/build/mod_perl-2.0.9/t
>>>> -f
>>>>
>>>> /scratch/wward/build/tech-stack/build/16.09.16.06/linux/cpan/build/mod_perl-2.0.9/t/conf/httpd.conf
>>>> -D APACHE2
>>>> using Apache/2.2.31 (prefork MPM)
>>>>
>>>> waiting 120 seconds for server to start: .[Thu Jul 21 14:01:34 2016]
>>>> [info] 6 Apache2:: modules loaded
>>>> [Thu Jul 21 14:01:34 2016] [info] 0 APR:: modules loaded
>>>> [Thu Jul 21 14:01:34 2016] [info] base server + 29 vhosts ready to run
>>>> tests
>>>> ..
>>>> waiting 120 seconds for server to start: ok (waited 2 secs)
>>>> server localhost.localdomain:8529 started
>>>> server localhost.localdomain:8530 listening (perlsections)
>>>> server localhost.localdomain:8531 listening (inherit)
>>>> server localhost.localdomain:8532 listening (filter_out_apache)
>>>> server localhost.localdomain:8533 listening (TestVhost::log)
>>>> server localhost.localdomain:8534 listening (TestVhost::config)
>>>> server localhost.localdomain:8535 listening (TestModperl::setupenv)
>>>> 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
>>>> (TestDirective::perlcleanuphandler)
>>>> server localhost.localdomain:8540 listening (TestModules::proxy)
>>>> server localhost.localdomain:8541 listening (TestUser::rewrite)
>>>> server localhost.localdomain:8542 listening (TestProtocol::echo_bbs)
>>>> server localhost.localdomain:8543 listening (TestProtocol::echo_timeout)
>>>> server localhost.localdomain:8544 listening (TestProtocol::echo_block)
>>>> server localhost.localdomain:8545 listening (TestProtocol::pseudo_http)
>>>> server localhost.localdomain:8546 listening (TestProtocol::echo_filter)
>>>> server localhost.localdomain:8547 listening (TestProtocol::echo_bbs2)
>>>> server localhost.localdomain:8548 listening (TestProtocol::echo_nonblock)
>>>> server localhost.localdomain:8549 listening (TestPreConnection::note)
>>>> server localhost.localdomain:8550 listening (TestHooks::init)
>>>> server localhost.localdomain:8551 listening (TestHooks::startup)
>>>> server localhost.localdomain:8552 listening (TestHooks::hookrun)
>>>> server localhost.localdomain:8553 listening
>>>> (TestHooks::stacked_handlers2)
>>>> server localhost.localdomain:8554 listening (TestHooks::trans)
>>>> 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_bbs_inject_header)
>>>> server localhost.localdomain:8558 listening (TestFilter::in_str_msg)
>>>> server localhost.localdomain:8559 listening (TestDirective::perlrequire)
>>>> server localhost.localdomain:8560 listening (TestDirective::perlmodule)
>>>> server localhost.localdomain:8561 listening
>>>> (TestDirective::perlloadmodule3)
>>>> server localhost.localdomain:8562 listening
>>>> (TestDirective::perlloadmodule5)
>>>> server localhost.localdomain:8563 listening
>>>> (TestDirective::perlloadmodule4)
>>>> 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/api/uri.t ........................
>>>> 1..24
>>>> # Running under perl version 5.024000 for linux
>>>> # Current time local: Thu Jul 21 14:01:36 2016
>>>> # Current time GMT: Thu Jul 21 21:01:36 2016
>>>> # Using Test.pm version 1.28
>>>> # Using Apache/Test.pm version 1.39
>>>> ok 1
>>>> # testing : path
>>>> # expected: qr/^\/TestAPI__uri/
>>>> # received: '/TestAPI__uri'
>>>> ok 2
>>>> # testing : unparse
>>>> # expected: qr/^\/TestAPI__uri/
>>>> # received: '/TestAPI__uri'
>>>> ok 3
>>>> # testing : construct_server/get_server_name/get_server_port
>>>> # expected: 'localhost.localdomain:8529'
>>>> # received: 'localhost.localdomain:8529'
>>>> ok 4
>>>> # testing : construct_server(example.com)
>>>> # expected: 'example.com:8529'
>>>> # received: 'example.com:8529'
>>>> ok 5
>>>> # testing : construct_server(example.com, 9097)
>>>> # expected: 'example.com:9097'
>>>> # received: 'example.com:9097'
>>>> ok 6
>>>> # testing : construct_server(example.com, 9097, new_pool)
>>>> # expected: 'example.com:9097'
>>>> # received: 'example.com:9097'
>>>> ok 7
>>>> # construct_url: http://localhost.localdomain:8529/TestAPI__uri
>>>> # r->uri: /TestAPI__uri
>>>> ok 8
>>>> # testing : unparse
>>>> # expected: qr/\/TestAPI__uri/
>>>> # received: 'http://localhost.localdomain:8529/TestAPI__uri'
>>>> ok 9
>>>> # testing : parsed path
>>>> # expected: '/foo/bar'
>>>> # received: '/foo/bar'
>>>> ok 10
>>>> # construct_url: http://localhost.localdomain:8529/TestAPI__uri?query
>>>> # r->uri:
>>>> # /TestAPI__uri
>>>> # testing : construct_url($uri)
>>>> # expected: qr/\/TestAPI__uri/
>>>> # received: 'http://localhost.localdomain:8529/TestAPI__uri?query'
>>>> ok 11
>>>> # testing : args vs query
>>>> # expected: 'query'
>>>> # received: 'query'
>>>> ok 12
>>>> <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
>>>> <html><head>
>>>> <title>200 OK</title>
>>>> </head><body>
>>>> <h1>OK</h1>
>>>> <p>The server encountered an internal error or
>>>> misconfiguration and was unable to complete
>>>> your request.</p>
>>>> <p>Please contact the server administrator,
>>>> you@example.com and inform them of the time the error occurred,
>>>> and anything you might have done that may have
>>>> caused the error.</p>
>>>> <p>More information about this error may be available
>>>> in the server error log.</p>
>>>> <hr>
>>>> <address>Apache/2.2.31 (Unix) world domination series/2.0
>>>> mod_perl/2.0.9 Perl/v5.24.0 Server at localhost.localdomain Port
>>>> 8529</address>
>>>> </body></html>
>>>> Failed 12/24 subtests
>>>> Redundant argument in sprintf at
>>>>
>>>> /scratch/wward/build/tech-stack/build/16.09.16.06/linux/cpan/build/mod_perl-2.0.9/t/lib/TestAPRlib/uri.pm
>>>> line 91.
>>>> t/apr-ext/uri.t ....................
>>>> 1..36
>>>> # Running under perl version 5.024000 for linux
>>>> # Current time local: Thu Jul 21 14:01:38 2016
>>>> # Current time GMT: Thu Jul 21 21:01:38 2016
>>>> # Using Test.pm version 1.28
>>>> # Using Apache/Test.pm version 1.39
>>>> ok 1
>>>> ok 2
>>>> # testing : password
>>>> # expected: 'password'
>>>> # received: 'password'
>>>> ok 3
>>>> # testing : port
>>>> # expected: 8000
>>>> # received: '8000'
>>>> ok 4
>>>> # testing : query
>>>> # expected: 'query'
>>>> # received: 'query'
>>>> ok 5
>>>> # testing : user
>>>> # expected: 'user'
>>>> # received: 'user'
>>>> ok 6
>>>> # testing : path
>>>> # expected: '/path/file.pl'
>>>> # received: '/path/file.pl'
>>>> ok 7
>>>> # testing : hostname
>>>> # expected: 'www.example.com'
>>>> # received: 'www.example.com'
>>>> ok 8
>>>> # testing : fragment
>>>> # expected: 'fragment'
>>>> # received: 'fragment'
>>>> ok 9
>>>> # testing : scheme
>>>> # expected: 'http'
>>>> # received: 'http'
>>>> ok 10
>>>> # testing : hostinfo
>>>> # expected: 'user:password@www.example.com:8000'
>>>> # received: 'user:password@www.example.com:8000'
>>>> ok 11
>>>> # password: pass => pass
>>>> # port: 21 => 21
>>>> # query: undef => undef
>>>> # user: log => log
>>>> # path: /pub => /pub
>>>> # hostname: ftp.example.com => ftp.example.com
>>>> # fragment: undef => undef
>>>> # scheme: ftp => ftp
>>>> # testing : hostinfo
>>>> # expected: 'user:password@www.example.com:8000'
>>>> # received: 'user:password@www.example.com:8000'
>>>> ok 12
>>>> Dubious, test returned 255 (wstat 65280, 0xff00)
>>>> Failed 24/36 subtests
>>>> t/apr/uri.t ........................
>>>> 1..36
>>>> # Running under perl version 5.024000 for linux
>>>> # Current time local: Thu Jul 21 14:01:36 2016
>>>> # Current time GMT: Thu Jul 21 21:01:36 2016
>>>> # Using Test.pm version 1.28
>>>> # Using Apache/Test.pm version 1.39
>>>> ok 1
>>>> ok 2
>>>> # testing : user
>>>> # expected: 'user'
>>>> # received: 'user'
>>>> ok 3
>>>> # testing : scheme
>>>> # expected: 'http'
>>>> # received: 'http'
>>>> ok 4
>>>> # testing : path
>>>> # expected: '/path/file.pl'
>>>> # received: '/path/file.pl'
>>>> ok 5
>>>> # testing : port
>>>> # expected: 8000
>>>> # received: '8000'
>>>> ok 6
>>>> # testing : password
>>>> # expected: 'password'
>>>> # received: 'password'
>>>> ok 7
>>>> # testing : hostname
>>>> # expected: 'www.example.com'
>>>> # received: 'www.example.com'
>>>> ok 8
>>>> # testing : fragment
>>>> # expected: 'fragment'
>>>> # received: 'fragment'
>>>> ok 9
>>>> # testing : query
>>>> # expected: 'query'
>>>> # received: 'query'
>>>> ok 10
>>>> # testing : hostinfo
>>>> # expected: 'user:password@www.example.com:8000'
>>>> # received: 'user:password@www.example.com:8000'
>>>> ok 11
>>>> # user: log => log
>>>> # scheme: ftp => ftp
>>>> # path: /pub => /pub
>>>> # port: 21 => 21
>>>> # password: pass => pass
>>>> # hostname: ftp.example.com => ftp.example.com
>>>> # fragment: undef => undef
>>>> # query: undef => undef
>>>> # testing : hostinfo
>>>> # expected: 'user:password@www.example.com:8000'
>>>> # received: 'user:password@www.example.com:8000'
>>>> ok 12
>>>> <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
>>>> <html><head>
>>>> <title>200 OK</title>
>>>> </head><body>
>>>> <h1>OK</h1>
>>>> <p>The server encountered an internal error or
>>>> misconfiguration and was unable to complete
>>>> your request.</p>
>>>> <p>Please contact the server administrator,
>>>> you@example.com and inform them of the time the error occurred,
>>>> and anything you might have done that may have
>>>> caused the error.</p>
>>>> <p>More information about this error may be available
>>>> in the server error log.</p>
>>>> <hr>
>>>> <address>Apache/2.2.31 (Unix) world domination series/2.0
>>>> mod_perl/2.0.9 Perl/v5.24.0 Server at localhost.localdomain Port
>>>> 8529</address>
>>>> </body></html>
>>>> Failed 24/36 subtests
>>>> # Failed test 1 in t/directive/perlloadmodule3.t at line 39
>>>> # Failed test 2 in t/directive/perlloadmodule3.t at line 70
>>>> # Failed test 3 in t/directive/perlloadmodule3.t at line 98
>>>> t/directive/perlloadmodule3.t ......
>>>> 1..3
>>>> # Running under perl version 5.024000 for linux
>>>> # Current time local: Thu Jul 21 14:01:39 2016
>>>> # Current time GMT: Thu Jul 21 21:01:39 2016
>>>> # Using Test.pm version 1.28
>>>> # Using Apache/Test.pm version 1.39
>>>> # connecting to localhost.localdomain:8529
>>>> # testing : server merge
>>>> # expected: '<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
>>>> # <html><head>
>>>> # <title>500 Internal Server Error</title>
>>>> # </head><body>
>>>> # <h1>Internal Server Error</h1>
>>>> # <p>The server encountered an internal error or
>>>> # misconfiguration and was unable to complete
>>>> # your request.</p>
>>>> # <p>Please contact the server administrator,
>>>> # you@example.com and inform them of the time the error occurred,
>>>> # and anything you might have done that may have
>>>> # caused the error.</p>
>>>> # <p>More information about this error may be available
>>>> # in the server error log.</p>
>>>> # <hr>
>>>> # <address>Apache/2.2.31 (Unix) world domination series/2.0
>>>> mod_perl/2.0.9 Perl/v5.24.0 Server at localhost.localdomain Port
>>>> 8529</address>
>>>> # </body></html>
>>>> # '
>>>> # received: 'Processing by main server.
>>>> #
>>>> # Section 1: Main Server
>>>> # MyAppend : MainServer
>>>> # MyList : ["MainServer"]
>>>> # MyOverride : MainServer
>>>> # MyPlus : 5
>>>> #
>>>> # Section 2: Location
>>>> # MyAppend : MainServer
>>>> # MyList : ["MainServer"]
>>>> # MyOverride : MainServer
>>>> # MyPlus : 5
>>>> # '
>>>> not ok 1
>>>> # connecting to localhost.localdomain:8561
>>>> # testing : server/dir merge
>>>> # expected: 'Processing by virtual host.
>>>> #
>>>> # Section 1: Main Server
>>>> # MyAppend : MainServer
>>>> # MyList : ["MainServer"]
>>>> # MyOverride : MainServer
>>>> # MyPlus : 5
>>>> #
>>>> # Section 2: Virtual Host
>>>> # MyAppend : MainServer VHost
>>>> # MyList : ["MainServer", "VHost"]
>>>> # MyOverride : VHost
>>>> # MyPlus : 7
>>>> #
>>>> # Section 3: Location
>>>> # MyAppend : MainServer VHost Dir
>>>> # MyList : ["MainServer", "VHost", "Dir"]
>>>> # MyOverride : Dir
>>>> # MyPlus : 10
>>>> # '
>>>> # received: '<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
>>>> # <html><head>
>>>> # <title>500 Internal Server Error</title>
>>>> # </head><body>
>>>> # <h1>Internal Server Error</h1>
>>>> # <p>The server encountered an internal error or
>>>> # misconfiguration and was unable to complete
>>>> # your request.</p>
>>>> # <p>Please contact the server administrator,
>>>> # you@example.com and inform them of the time the error occurred,
>>>> # and anything you might have done that may have
>>>> # caused the error.</p>
>>>> # <p>More information about this error may be available
>>>> # in the server error log.</p>
>>>> # <hr>
>>>> # <address>Apache/2.2.31 (Unix) world domination series/2.0
>>>> mod_perl/2.0.9 Perl/v5.24.0 Server at localhost.localdomain Port
>>>> 8561</address>
>>>> # </body></html>
>>>> # '
>>>> not ok 2
>>>> # testing : server/dir/subdir merge
>>>> # expected: 'Processing by virtual host.
>>>> #
>>>> # Section 1: Main Server
>>>> # MyAppend : MainServer
>>>> # MyList : ["MainServer"]
>>>> # MyOverride : MainServer
>>>> # MyPlus : 5
>>>> #
>>>> # Section 2: Virtual Host
>>>> # MyAppend : MainServer VHost
>>>> # MyList : ["MainServer", "VHost"]
>>>> # MyOverride : VHost
>>>> # MyPlus : 7
>>>> #
>>>> # Section 3: Location
>>>> # MyAppend : MainServer VHost Dir SubDir
>>>> # MyList : ["MainServer", "VHost", "Dir", "SubDir"]
>>>> # MyOverride : SubDir
>>>> # MyPlus : 11
>>>> # '
>>>> # received: '<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
>>>> # <html><head>
>>>> # <title>500 Internal Server Error</title>
>>>> # </head><body>
>>>> # <h1>Internal Server Error</h1>
>>>> # <p>The server encountered an internal error or
>>>> # misconfiguration and was unable to complete
>>>> # your request.</p>
>>>> # <p>Please contact the server administrator,
>>>> # you@example.com and inform them of the time the error occurred,
>>>> # and anything you might have done that may have
>>>> # caused the error.</p>
>>>> # <p>More information about this error may be available
>>>> # in the server error log.</p>
>>>> # <hr>
>>>> # <address>Apache/2.2.31 (Unix) world domination series/2.0
>>>> mod_perl/2.0.9 Perl/v5.24.0 Server at localhost.localdomain Port
>>>> 8561</address>
>>>> # </body></html>
>>>> # '
>>>> not ok 3
>>>> Failed 3/3 subtests
>>>> # Failed test 1 in t/filter/both_str_native_remove.t at line 23
>>>> # Failed test 6 in t/filter/both_str_native_remove.t at line 46
>>>> # Failed test 7 in t/filter/both_str_native_remove.t at line 50
>>>> # Failed test 8 in t/filter/both_str_native_remove.t at line 54
>>>> t/filter/both_str_native_remove.t ..
>>>> 1..8
>>>> # Running under perl version 5.024000 for linux
>>>> # Current time local: Thu Jul 21 14:01:39 2016
>>>> # Current time GMT: Thu Jul 21 21:01:39 2016
>>>> # Using Test.pm version 1.28
>>>> # Using Apache/Test.pm version 1.39
>>>> # testing : INCLUDES filter
>>>> # expected: qr/xSSI OK/
>>>> # received: 'content: gzipped text
>>>> # input1:
>>>>
>>>> modperl_request_input,modperl_request_input,modperl_request_input,deflate,http_in,core_in
>>>> # input2:
>>>> modperl_request_input,modperl_request_input,deflate,http_in,core_in
>>>> # <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
>>>> # <html><head>
>>>> # <title>200 OK</title>
>>>> # </head><body>
>>>> # <h1>OK</h1>
>>>> # <p>The server encountered an internal error or
>>>> # misconfiguration and was unable to complete
>>>> # your request.</p>
>>>> # <p>Please contact the server administrator,
>>>> # you@example.com and inform them of the time the error occurred,
>>>> # and anything you might have done that may have
>>>> # caused the error.</p>
>>>> # <p>More information about this error may be available
>>>> # in the server error log.</p>
>>>> # <hr>
>>>> # <address>Apache/2.2.31 (Unix) world domination series/2.0
>>>> mod_perl/2.0.9 Perl/v5.24.0 Server at localhost.localdomain Port
>>>> 8529</address>
>>>> # </body></html>
>>>> # '
>>>> not ok 1
>>>> # testing : DEFLATE filter
>>>> # expected: qr/content: gzipped text/
>>>> # received: 'content: gzipped text
>>>> # input1:
>>>>
>>>> modperl_request_input,modperl_request_input,modperl_request_input,deflate,http_in,core_in
>>>> # input2:
>>>> modperl_request_input,modperl_request_input,deflate,http_in,core_in
>>>> # <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
>>>> # <html><head>
>>>> # <title>200 OK</title>
>>>> # </head><body>
>>>> # <h1>OK</h1>
>>>> # <p>The server encountered an internal error or
>>>> # misconfiguration and was unable to complete
>>>> # your request.</p>
>>>> # <p>Please contact the server administrator,
>>>> # you@example.com and inform them of the time the error occurred,
>>>> # and anything you might have done that may have
>>>> # caused the error.</p>
>>>> # <p>More information about this error may be available
>>>> # in the server error log.</p>
>>>> # <hr>
>>>> # <address>Apache/2.2.31 (Unix) world domination series/2.0
>>>> mod_perl/2.0.9 Perl/v5.24.0 Server at localhost.localdomain Port
>>>> 8529</address>
>>>> # </body></html>
>>>> # '
>>>> ok 2
>>>> # testing : DEFLATE filter is present
>>>> # expected: qr/input1: [\w,]+deflate/
>>>> # received: 'content: plain text
>>>> # input1:
>>>>
>>>> modperl_request_input,modperl_request_input,modperl_request_input,deflate,http_in,core_in
>>>> # input2: modperl_request_input,modperl_request_input,http_in,core_in
>>>> # <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
>>>> # <html><head>
>>>> # <title>200 OK</title>
>>>> # </head><body>
>>>> # <h1>OK</h1>
>>>> # <p>The server encountered an internal error or
>>>> # misconfiguration and was unable to complete
>>>> # your request.</p>
>>>> # <p>Please contact the server administrator,
>>>> # you@example.com and inform them of the time the error occurred,
>>>> # and anything you might have done that may have
>>>> # caused the error.</p>
>>>> # <p>More information about this error may be available
>>>> # in the server error log.</p>
>>>> # <hr>
>>>> # <address>Apache/2.2.31 (Unix) world domination series/2.0
>>>> mod_perl/2.0.9 Perl/v5.24.0 Server at localhost.localdomain Port
>>>> 8529</address>
>>>> # </body></html>
>>>> # '
>>>> ok 3
>>>> # testing : DEFLATE filter is removed
>>>> # expected: qr/input2: [\w,]+deflate/
>>>> # received: 'content: plain text
>>>> # input1:
>>>>
>>>> modperl_request_input,modperl_request_input,modperl_request_input,deflate,http_in,core_in
>>>> # input2: modperl_request_input,modperl_request_input,http_in,core_in
>>>> # <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
>>>> # <html><head>
>>>> # <title>200 OK</title>
>>>> # </head><body>
>>>> # <h1>OK</h1>
>>>> # <p>The server encountered an internal error or
>>>> # misconfiguration and was unable to complete
>>>> # your request.</p>
>>>> # <p>Please contact the server administrator,
>>>> # you@example.com and inform them of the time the error occurred,
>>>> # and anything you might have done that may have
>>>> # caused the error.</p>
>>>> # <p>More information about this error may be available
>>>> # in the server error log.</p>
>>>> # <hr>
>>>> # <address>Apache/2.2.31 (Unix) world domination series/2.0
>>>> mod_perl/2.0.9 Perl/v5.24.0 Server at localhost.localdomain Port
>>>> 8529</address>
>>>> # </body></html>
>>>> # '
>>>> ok 4
>>>> # testing : DEFLATE filter wasn't invoked
>>>> # expected: qr/content: plain text/
>>>> # received: 'content: plain text
>>>> # input1:
>>>>
>>>> modperl_request_input,modperl_request_input,modperl_request_input,deflate,http_in,core_in
>>>> # input2: modperl_request_input,modperl_request_input,http_in,core_in
>>>> # <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
>>>> # <html><head>
>>>> # <title>200 OK</title>
>>>> # </head><body>
>>>> # <h1>OK</h1>
>>>> # <p>The server encountered an internal error or
>>>> # misconfiguration and was unable to complete
>>>> # your request.</p>
>>>> # <p>Please contact the server administrator,
>>>> # you@example.com and inform them of the time the error occurred,
>>>> # and anything you might have done that may have
>>>> # caused the error.</p>
>>>> # <p>More information about this error may be available
>>>> # in the server error log.</p>
>>>> # <hr>
>>>> # <address>Apache/2.2.31 (Unix) world domination series/2.0
>>>> mod_perl/2.0.9 Perl/v5.24.0 Server at localhost.localdomain Port
>>>> 8529</address>
>>>> # </body></html>
>>>> # '
>>>> ok 5
>>>> # testing : INCLUDES filter is present
>>>> # expected: qr/output1:
>>>> modperl_request_output,includes,modperl_request_output,/
>>>> # received: 'content: plain text
>>>> # input1:
>>>>
>>>> modperl_request_input,modperl_request_input,modperl_request_input,deflate,http_in,core_in
>>>> # input2: modperl_request_input,modperl_request_input,http_in,core_in
>>>> # <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
>>>> # <html><head>
>>>> # <title>200 OK</title>
>>>> # </head><body>
>>>> # <h1>OK</h1>
>>>> # <p>The server encountered an internal error or
>>>> # misconfiguration and was unable to complete
>>>> # your request.</p>
>>>> # <p>Please contact the server administrator,
>>>> # you@example.com and inform them of the time the error occurred,
>>>> # and anything you might have done that may have
>>>> # caused the error.</p>
>>>> # <p>More information about this error may be available
>>>> # in the server error log.</p>
>>>> # <hr>
>>>> # <address>Apache/2.2.31 (Unix) world domination series/2.0
>>>> mod_perl/2.0.9 Perl/v5.24.0 Server at localhost.localdomain Port
>>>> 8529</address>
>>>> # </body></html>
>>>> # '
>>>> not ok 6
>>>> # testing : INCLUDES filter is removed
>>>> # expected: qr/output2: modperl_request_output,(?!includes)/
>>>> # received: 'content: plain text
>>>> # input1:
>>>>
>>>> modperl_request_input,modperl_request_input,modperl_request_input,deflate,http_in,core_in
>>>> # input2: modperl_request_input,modperl_request_input,http_in,core_in
>>>> # <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
>>>> # <html><head>
>>>> # <title>200 OK</title>
>>>> # </head><body>
>>>> # <h1>OK</h1>
>>>> # <p>The server encountered an internal error or
>>>> # misconfiguration and was unable to complete
>>>> # your request.</p>
>>>> # <p>Please contact the server administrator,
>>>> # you@example.com and inform them of the time the error occurred,
>>>> # and anything you might have done that may have
>>>> # caused the error.</p>
>>>> # <p>More information about this error may be available
>>>> # in the server error log.</p>
>>>> # <hr>
>>>> # <address>Apache/2.2.31 (Unix) world domination series/2.0
>>>> mod_perl/2.0.9 Perl/v5.24.0 Server at localhost.localdomain Port
>>>> 8529</address>
>>>> # </body></html>
>>>> # '
>>>> not ok 7
>>>> # testing : INCLUDES filter wasn't invoked
>>>> # expected: qr/x<!--#echo var="SSI_TEST" -->x/
>>>> # received: 'content: plain text
>>>> # input1:
>>>>
>>>> modperl_request_input,modperl_request_input,modperl_request_input,deflate,http_in,core_in
>>>> # input2: modperl_request_input,modperl_request_input,http_in,core_in
>>>> # <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
>>>> # <html><head>
>>>> # <title>200 OK</title>
>>>> # </head><body>
>>>> # <h1>OK</h1>
>>>> # <p>The server encountered an internal error or
>>>> # misconfiguration and was unable to complete
>>>> # your request.</p>
>>>> # <p>Please contact the server administrator,
>>>> # you@example.com and inform them of the time the error occurred,
>>>> # and anything you might have done that may have
>>>> # caused the error.</p>
>>>> # <p>More information about this error may be available
>>>> # in the server error log.</p>
>>>> # <hr>
>>>> # <address>Apache/2.2.31 (Unix) world domination series/2.0
>>>> mod_perl/2.0.9 Perl/v5.24.0 Server at localhost.localdomain Port
>>>> 8529</address>
>>>> # </body></html>
>>>> # '
>>>> not ok 8
>>>> Failed 4/8 subtests
>>>> t/modperl/print.t ..................
>>>> 1..6
>>>> # Running under perl version 5.024000 for linux
>>>> # Current time local: Thu Jul 21 14:01:36 2016
>>>> # Current time GMT: Thu Jul 21 21:01:36 2016
>>>> # Using Test.pm version 1.28
>>>> # Using Apache/Test.pm version 1.39
>>>> ok 1
>>>> ok 2
>>>> ok 3
>>>> ok 4
>>>> # 11 bytes
>>>> ok 5
>>>> <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
>>>> <html><head>
>>>> <title>200 OK</title>
>>>> </head><body>
>>>> <h1>OK</h1>
>>>> <p>The server encountered an internal error or
>>>> misconfiguration and was unable to complete
>>>> your request.</p>
>>>> <p>Please contact the server administrator,
>>>> you@example.com and inform them of the time the error occurred,
>>>> and anything you might have done that may have
>>>> caused the error.</p>
>>>> <p>More information about this error may be available
>>>> in the server error log.</p>
>>>> <hr>
>>>> <address>Apache/2.2.31 (Unix) world domination series/2.0
>>>> mod_perl/2.0.9 Perl/v5.24.0 Server at localhost.localdomain Port
>>>> 8529</address>
>>>> </body></html>
>>>> Failed 1/6 subtests
>>>> request has failed (the response code was: 500)
>>>> see t/logs/error_log for more details
>>>> t/modperl/printf.t .................
>>>> Dubious, test returned 255 (wstat 65280, 0xff00)
>>>> No subtests run
>>>>
>>>> Test Summary Report
>>>> -------------------
>>>> t/api/uri.t (Wstat: 0 Tests: 12 Failed: 0)
>>>> Parse errors: Bad plan. You planned 24 tests but ran 12.
>>>> t/apr-ext/uri.t (Wstat: 65280 Tests: 12 Failed: 0)
>>>> Non-zero exit status: 255
>>>> Parse errors: Bad plan. You planned 36 tests but ran 12.
>>>> t/apr/uri.t (Wstat: 0 Tests: 12 Failed: 0)
>>>> Parse errors: Bad plan. You planned 36 tests but ran 12.
>>>> t/directive/perlloadmodule3.t (Wstat: 0 Tests: 3 Failed: 3)
>>>> Failed tests: 1-3
>>>> t/filter/both_str_native_remove.t (Wstat: 0 Tests: 8 Failed: 4)
>>>> Failed tests: 1, 6-8
>>>> t/modperl/print.t (Wstat: 0 Tests: 5 Failed: 0)
>>>> Parse errors: Bad plan. You planned 6 tests but ran 5.
>>>> t/modperl/printf.t (Wstat: 65280 Tests: 0 Failed: 0)
>>>> Non-zero exit status: 255
>>>> Parse errors: No plan found in TAP output
>>>> Files=7, Tests=52, 4 wallclock secs ( 0.04 usr 0.08 sys + 2.38
>>>> cusr 0.99 csys = 3.49 CPU)
>>>> Result: FAIL
>>>> Failed 7/7 test programs. 7/52 subtests failed.
>>>> [warning] server localhost.localdomain:8529 shutdown
>>>> [ error] error running tests (please examine t/logs/error_log)
>>>> 2. Used Components and their Configuration:
>>>>
>>>> *** mod_perl version 2.000009
>>>>
>>>> *** using
>>>>
>>>> /scratch/wward/build/tech-stack/build/16.09.16.06/linux/cpan/build/mod_perl-2.0.9/lib/Apache2/BuildConfig.pm
>>>>
>>>> *** Makefile.PL options:
>>>> MP_APR_LIB => aprext
>>>> MP_APXS => /arudev/tech-stack/16.09.16.06/linux/bin/apxs
>>>> MP_COMPAT_1X => 1
>>>> MP_GENERATE_XS => 1
>>>> MP_LIBNAME => mod_perl
>>>> MP_USE_DSO => 1
>>>>
>>>>
>>>> *** /arudev/tech-stack/16.09.16.06/linux/bin/httpd -V
>>>> Server version: Apache/2.2.31 (Unix)
>>>> Server built: Jul 21 2016 12:20:36
>>>> Server's Module Magic Number: 20051115:40
>>>> Server loaded: APR 1.5.2, APR-Util 1.5.4
>>>> Compiled using: APR 1.5.2, APR-Util 1.5.4
>>>> Architecture: 64-bit
>>>> Server MPM: Prefork
>>>> threaded: no
>>>> forked: yes (variable process count)
>>>> 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 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=128
>>>> -D HTTPD_ROOT="/arudev/tech-stack/16.09.16.06/linux"
>>>> -D SUEXEC_BIN="/arudev/tech-stack/16.09.16.06/linux/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"
>>>>
>>>> *** /usr/bin/ldd /arudev/tech-stack/16.09.16.06/linux/bin/httpd
>>>> linux-vdso.so.1 => (0x00007fff30ff7000)
>>>> libz.so.1 => /arudev/tech-stack/16.09.16.06/linux/lib/libz.so.1
>>>> (0x00007f3776e47000)
>>>> libm.so.6 => /lib64/libm.so.6 (0x00000038a8a00000)
>>>> libaprutil-1.so.0 =>
>>>> /arudev/tech-stack/16.09.16.06/linux/lib/libaprutil-1.so.0
>>>> (0x00007f3776bce000)
>>>> libexpat.so.1 =>
>>>> /arudev/tech-stack/16.09.16.06/linux/lib/libexpat.so.1
>>>> (0x00007f37769a6000)
>>>> libapr-1.so.0 =>
>>>> /arudev/tech-stack/16.09.16.06/linux/lib/libapr-1.so.0
>>>> (0x00007f3776772000)
>>>> libuuid.so.1 => /lib64/libuuid.so.1 (0x00000038b0a00000)
>>>> librt.so.1 => /lib64/librt.so.1 (0x00000038a9200000)
>>>> libcrypt.so.1 => /lib64/libcrypt.so.1 (0x00000038b5600000)
>>>> libpthread.so.0 => /lib64/libpthread.so.0 (0x00000038a8200000)
>>>> libc.so.6 => /lib64/libc.so.6 (0x00000038a7e00000)
>>>> /lib64/ld-linux-x86-64.so.2 (0x00000038a7a00000)
>>>> libfreebl3.so => /lib64/libfreebl3.so (0x00000038b5a00000)
>>>> libdl.so.2 => /lib64/libdl.so.2 (0x00000038a8600000)
>>>>
>>>>
>>>> *** (apr|apu)-config linking info
>>>>
>>>> -L/arudev/tech-stack/16.09.16.06/linux/lib -laprutil-1 -lexpat
>>>> -L/arudev/tech-stack/16.09.16.06/linux/lib -lapr-1 -luuid -lrt
>>>> -lcrypt -lpthread
>>>>
>>>>
>>>>
>>>> *** /arudev/tech-stack/16.09.16.06/linux/bin//perl -V
>>>> Summary of my perl5 (revision 5 version 24 subversion 0) configuration:
>>>>
>>>> Platform:
>>>> osname=linux, osvers=3.8.13-44.1.1.el6uek.x86_64,
>>>> archname=x86_64-linux
>>>> uname='linux slc03qfe 3.8.13-44.1.1.el6uek.x86_64 #2 smp wed sep
>>>> 10 06:10:25 pdt 2014 x86_64 x86_64 x86_64 gnulinux '
>>>> config_args='-des -A ccflags=-fPIC
>>>> -Dprefix=/arudev/tech-stack/16.09.16.06/linux -Dmake=/usr/bin/make
>>>>
>>>> -Dotherlibdirs=/arudev/tech-stack/16.09.16.06/portable/lib/perl5:/arudev/tech-stack/16.09.16.06/portable/lib/perl5/site_perl
>>>> -Dbin=/arudev/tech-stack/16.09.16.06/linux/bin/ -Uinstallusrbinperl
>>>> -Duse64bitint -Duselargefiles
>>>> -Dstartperl=#!/arudev/tech-stack/16.09.16.05/linux/bin/perl5.24.0
>>>> -Dinc_version_list=none
>>>> -Dscriptdir=/arudev/tech-stack/16.09.16.06/linux/bin
>>>> -Dsitebin=/arudev/tech-stack/16.09.16.06/linux/bin'
>>>> hint=recommended, useposix=true, d_sigaction=define
>>>> useithreads=undef, usemultiplicity=undef
>>>> use64bitint=define, use64bitall=define, uselongdouble=undef
>>>> usemymalloc=n, bincompat5005=undef
>>>> Compiler:
>>>> cc='cc', ccflags ='-fPIC -fwrapv -fno-strict-aliasing -pipe
>>>> -fstack-protector -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
>>>> -D_FORTIFY_SOURCE=2',
>>>> optimize='-O2',
>>>> cppflags='-fPIC -fwrapv -fno-strict-aliasing -pipe
>>>> -fstack-protector'
>>>> ccversion='', gccversion='4.4.7 20120313 (Red Hat 4.4.7-11)',
>>>> gccosandvers=''
>>>> intsize=4, longsize=8, ptrsize=8, doublesize=8,
>>>> byteorder=12345678, doublekind=3
>>>> d_longlong=define, longlongsize=8, d_longdbl=define,
>>>> longdblsize=16, longdblkind=3
>>>> ivtype='long', ivsize=8, nvtype='double', nvsize=8, Off_t='off_t',
>>>> lseeksize=8
>>>> alignbytes=8, prototype=define
>>>> Linker and Libraries:
>>>> ld='cc', ldflags =' -fstack-protector'
>>>> libpth=/usr/lib /lib/../lib64 /usr/lib/../lib64 /lib /lib64
>>>> /usr/lib64 /usr/local/lib64
>>>> libs=-lpthread -lnsl -lgdbm -ldb -ldl -lm -lcrypt -lutil -lc
>>>> perllibs=-lpthread -lnsl -ldl -lm -lcrypt -lutil -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 -fstack-protector'
>>>>
>>>>
>>>> Characteristics of this binary (from libperl):
>>>> Compile-time options: HAS_TIMES PERLIO_LAYERS PERL_COPY_ON_WRITE
>>>> PERL_DONT_CREATE_GVSV
>>>> PERL_HASH_FUNC_ONE_AT_A_TIME_HARD
>>>> PERL_MALLOC_WRAP
>>>> PERL_PRESERVE_IVUV USE_64_BIT_ALL USE_64_BIT_INT
>>>> USE_LARGE_FILES USE_LOCALE USE_LOCALE_COLLATE
>>>> USE_LOCALE_CTYPE USE_LOCALE_NUMERIC
>>>> USE_LOCALE_TIME
>>>> USE_PERLIO USE_PERL_ATOF
>>>> Built under linux
>>>> Compiled at Jul 21 2016 12:34:27
>>>> %ENV:
>>>>
>>>> PERL5LIB="/arudev/tech-stack/16.09.16.06/portable/lib/perl5:/arudev/tech-stack/16.09.16.06/portable/lib/perl5/site_perl"
>>>>
>>>> PERL_LWP_USE_HTTP_10="1"
>>>> @INC:
>>>> /arudev/tech-stack/16.09.16.06/portable/lib/perl5/x86_64-linux
>>>> /arudev/tech-stack/16.09.16.06/portable/lib/perl5
>>>>
>>>> /arudev/tech-stack/16.09.16.06/portable/lib/perl5/site_perl/5.24.0/x86_64-linux
>>>>
>>>> /arudev/tech-stack/16.09.16.06/portable/lib/perl5/site_perl/5.24.0
>>>> /arudev/tech-stack/16.09.16.06/portable/lib/perl5/site_perl
>>>>
>>>> /arudev/tech-stack/16.09.16.06/linux/lib/perl5/site_perl/5.24.0/x86_64-linux
>>>>
>>>> /arudev/tech-stack/16.09.16.06/linux/lib/perl5/site_perl/5.24.0
>>>> /arudev/tech-stack/16.09.16.06/linux/lib/perl5/5.24.0/x86_64-linux
>>>> /arudev/tech-stack/16.09.16.06/linux/lib/perl5/5.24.0
>>>>
>>>> /arudev/tech-stack/16.09.16.06/portable/lib/perl5/site_perl/5.24.0/x86_64-linux
>>>>
>>>> /arudev/tech-stack/16.09.16.06/portable/lib/perl5/site_perl/5.24.0
>>>> /arudev/tech-stack/16.09.16.06/portable/lib/perl5/x86_64-linux
>>>> /arudev/tech-stack/16.09.16.06/portable/lib/perl5
>>>> /arudev/tech-stack/16.09.16.06/portable/lib/perl5/site_perl
>>>> .
>>>>
>>>> *** Packages of interest status:
>>>>
>>>> Apache2 : -
>>>> Apache2::Request : -
>>>> CGI : 4.31
>>>> ExtUtils::MakeMaker: 7.10_01, 7.18
>>>> LWP : -
>>>> mod_perl : -
>>>> mod_perl2 : -
>>>>
>>>>
>>>> 3. This is the core dump trace: (if you get a core dump):
>>>>
>>>> n/a
>>>>
>>>> This report was generated by t/REPORT on Thu Jul 21 20:54:40 2016 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.
>>>>
>>>>
Re: [mp2] Test failures in mod_perl 2.0.9 (Apache 2.2.31, perl 5.24.0) [ In reply to ]
On Jul 21, 2016 8:24 PM, "William Ward" <william.ward@oracle.com> wrote:
>
> OK I will give that a try. Unfortunate, as 5.24.0 has been blessed with
LTS status by the Perl gods. Hopefully a new mod_perl will come out that
includes this fix.

Note that httpd 2.4.23 announcement warned of the imminent end of httpd 2.2
as well. You would do well to build your httpd 2.4 / perl 5.24 / mod
perl.next that should be tagged soon as your next stack.
Re: [mp2] Test failures in mod_perl 2.0.9 (Apache 2.2.31, perl 5.24.0) [ In reply to ]
In message <CACsi253hti627uEk2=iryhR-r8gGai5uAEa4NS5pjoAWh3oxOw@mail.gmail.com>
, William A Rowe Jr writes:
>Note that httpd 2.4.23 announcement warned of the imminent end of httpd 2.2
>as well. You would do well to build your httpd 2.4 / perl 5.24 / mod
>perl.next that should be tagged soon as your next stack.

<URL:http://mail-archives.apache.org/mod_mbox/httpd-announce/201607.mbox/browser>
| Please note that Apache Web Server Project will only provide maintenance
| releases of the 2.2.x flavor through June of 2017, and will provide some
| security patches beyond this date through at least December of 2017.
| Minimal maintenance patches of 2.2.x are expected throughout this period,
| and users are strongly encouraged to promptly complete their transitions
| to the the 2.4.x flavor of httpd to benefit from a much larger assortment
| of minor security and bug fixes as well as new features.

John
groenveld@acm.org
Re: [mp2] Test failures in mod_perl 2.0.9 (Apache 2.2.31, perl 5.24.0) [ In reply to ]
Thanks for the heads up ... will definitely put that on the roadmap. For
now I will stick to 2.2 to reduce the number of things that might go
wrong, but once we get stable on this version I'll look into 2.4

Bill


On 7/22/2016 12:27 PM, John D Groenveld wrote:
> In message <CACsi253hti627uEk2=iryhR-r8gGai5uAEa4NS5pjoAWh3oxOw@mail.gmail.com>
> , William A Rowe Jr writes:
>> Note that httpd 2.4.23 announcement warned of the imminent end of httpd 2.2
>> as well. You would do well to build your httpd 2.4 / perl 5.24 / mod
>> perl.next that should be tagged soon as your next stack.
> <URL:http://mail-archives.apache.org/mod_mbox/httpd-announce/201607.mbox/browser>
> | Please note that Apache Web Server Project will only provide maintenance
> | releases of the 2.2.x flavor through June of 2017, and will provide some
> | security patches beyond this date through at least December of 2017.
> | Minimal maintenance patches of 2.2.x are expected throughout this period,
> | and users are strongly encouraged to promptly complete their transitions
> | to the the 2.4.x flavor of httpd to benefit from a much larger assortment
> | of minor security and bug fixes as well as new features.
>
> John
> groenveld@acm.org