You are viewing a plain text version of this content. The canonical link for it is here.
Posted to modperl@perl.apache.org by Steve Hay <st...@googlemail.com> on 2015/05/30 20:20:34 UTC

[RELEASE CANDIDATE]: mod_perl-2.0.9 RC2

Please download, test, and report back on this release candidate of
the long-awaited mod_perl 2.0.9.

http://people.apache.org/~stevehay/mod_perl-2.0.9-rc2.tar.gz

MD5 = 6dbf61e0724a245f1c015687fb3e4213
SHA1 = faf63c98b338ef0373ccbbe775c52506270ff3b9

Changes since RC1:

Remove PerlInterpScope. This has not been working properly with
threaded MPMs with httpd-2.4.x and the use-case of this directive was
questionable. [Jan Kaluza]

Allow running the test suite with httpd-2.4.x when mod_access_compat
is not loaded. [Steve Hay]

Re: [RELEASE CANDIDATE]: mod_perl-2.0.9 RC2

Posted by Steve Hay <st...@googlemail.com>.
On 31 May 2015 at 11:07, Vincent Veyron <vv...@wanadoo.fr> wrote:
> On Sat, 30 May 2015 19:20:34 +0100
> Steve Hay <st...@googlemail.com> wrote:
>
>> Please download, test, and report back on this release candidate of
>> the long-awaited mod_perl 2.0.9.
>>
>
> Hi Steve,
>
> I've been seeing the requests for tests, and meaning to run them for a long while now, but for the life of me, I can't figure out how to install the thing, and it's not for lack of trying.
>
> Is there a place that explains how to install and run the test suite? this page for instance, does not (unless something escapes me totally):
>
> https://perl.apache.org/docs/general/testing/testing.html
>

Just follow the instructions in INSTALL in the tarball, i.e. something like:

  % perl Makefile.PL MP_APXS=/usr/local/apache2/bin/apxs
  % make && make test
  % make install

(You can skip the last step. It's the results of "make test" that
we're interested in here.)

Re: [RELEASE CANDIDATE]: mod_perl-2.0.9 RC2

Posted by Steve Hay <st...@googlemail.com>.
On 31 May 2015 at 11:07, Vincent Veyron <vv...@wanadoo.fr> wrote:
> On Sat, 30 May 2015 19:20:34 +0100
> Steve Hay <st...@googlemail.com> wrote:
>
>> Please download, test, and report back on this release candidate of
>> the long-awaited mod_perl 2.0.9.
>>
>
> Hi Steve,
>
> I've been seeing the requests for tests, and meaning to run them for a long while now, but for the life of me, I can't figure out how to install the thing, and it's not for lack of trying.
>
> Is there a place that explains how to install and run the test suite? this page for instance, does not (unless something escapes me totally):
>
> https://perl.apache.org/docs/general/testing/testing.html
>

Just follow the instructions in INSTALL in the tarball, i.e. something like:

  % perl Makefile.PL MP_APXS=/usr/local/apache2/bin/apxs
  % make && make test
  % make install

(You can skip the last step. It's the results of "make test" that
we're interested in here.)

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


Re: [RELEASE CANDIDATE]: mod_perl-2.0.9 RC2

Posted by Vincent Veyron <vv...@wanadoo.fr>.
On Sat, 30 May 2015 19:20:34 +0100
Steve Hay <st...@googlemail.com> wrote:

> Please download, test, and report back on this release candidate of
> the long-awaited mod_perl 2.0.9.
> 

Hi Steve,

I've been seeing the requests for tests, and meaning to run them for a long while now, but for the life of me, I can't figure out how to install the thing, and it's not for lack of trying. 

Is there a place that explains how to install and run the test suite? this page for instance, does not (unless something escapes me totally):

https://perl.apache.org/docs/general/testing/testing.html

The worst is that I'm sure I've done it once years ago...

-- 
					Salutations, Vincent Veyron 


https://marica.fr/
Gestion des contentieux, des dossiers de sinistres assurance et des contrats pour le service juridique

Re: [RELEASE CANDIDATE]: mod_perl-2.0.9 RC2

Posted by Steve Hay <st...@googlemail.com>.
On 9 June 2015 at 23:42, Gregg Smith <mo...@gmail.com> wrote:
> I need to remember reply-all in this list.
>
>
> On 6/9/2015 12:56 AM, Steve Hay wrote:
>>
>> On 4 June 2015 at 05:47, Gregg Smith<mo...@gmail.com>  wrote:
>>>
>>> On 6/3/2015 1:03 AM, Steve Hay wrote:
>>>>
>>>>
>>>> On 2 June 2015 at 23:30, Gregg Smith<mo...@gmail.com>   wrote:
>>>>>
>>>>>
>>>>> On 6/2/2015 10:35 AM, Steve Hay wrote:
>>>>>>
>>>>>>
>>>>>> On 2 June 2015 at 17:52, Gregg Smith<mo...@gmail.com>    wrote:
>>>>>>>
>>>>>>>
>>>>>>> On 6/2/2015 12:49 AM, Steve Hay wrote:
>>>>>>>>
>>>>>>>>
>>>>>>>> On 1 June 2015 at 18:59, Gregg Smith<mo...@gmail.com>     wrote:
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> On 5/30/2015 11:20 AM, Steve Hay wrote:
>>>>
>>>>
>>>> Is there anything more in t/logs/error_log?
>>>
>>>
>>>
>>> Sorry for the delay, had two very busy days.
>>>
>>> The 403 in both_str_req_proxy.t is no real surprise to me and
>>> mod_access_compat being the culprit is what I had guessed.
>>> mod_access_compat
>>> should not be relied upon on 2.4. It certainly does not work as I had
>>> expected it to when I switched over from 2.2 and I see support questions
>>> because of it in forums all the time.
>>>
>>> The proxy.t error might just be Vista when I think about it since you do
>>> not
>>> get the same on Win7. Vista has a very limited number of connections that
>>> can be open. I should upgrade to 8.1 but it's so much work to get all my
>>> other needed software installed.
>>>
>>>
>>>
>>> t\filter\both_str_req_proxy.t ...........
>>> 1..1
>>> # Running under perl version 5.016003 for MSWin32
>>> # Win32::BuildNumber 1604
>>> # Current time local: Wed Jun  3 20:48:44 2015
>>> # Current time GMT:   Thu Jun  4 03:48:44 2015
>>> # Using Test.pm version 1.26
>>> # Using Apache/Test.pm version 1.39
>>> # testing : lc input and reverse output filters
>>> # Failed test 1 in t\filter\both_str_req_proxy.t at line 18
>>> # expected: 'abcdefghijklmnopqrstuvwxyz0123456789'
>>> # received: '<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
>>> #<html><head>
>>> #<title>403 Forbidden</title>
>>> #</head><body>
>>> #<h1>Forbidden</h1>
>>> #<p>You don\'t have permission to access
>>> /TestFilter__both_str_req_proxy/foo
>>> # on this server.<br />
>>> #</p>
>>> #<hr>
>>> #<address>Apache/2.4.12 (Win32) world domination series/2.0
>>> OpenSSL/1.0.1m
>>> mod_perl/2.0.9-rc2 Perl/
>>> v5.16.3 Server at gls3 Port 8529</address>
>>> #</body></html>
>>> # '
>>> not ok 1
>>> Failed 1/1 subtests
>>>
>>> [Wed Jun 03 20:48:43.885200 2015] [charset_lite:debug] [pid 3124:tid
>>> 2344]
>>> mod_charset_lite.c(216): [client 10.0.0.33:59366] AH01448: incomplete
>>> configuration: src unspecified, dst unspecified
>>> [Wed Jun 03 20:48:43.885200 2015] [deflate:debug] [pid 3124:tid 2344]
>>> mod_deflate.c(853): [client 10.0.0.33:59366] AH01384: Zlib: Compressed 21
>>> to
>>> 26 : URL /TestFilter__both_str_req_mix
>>> [Wed Jun 03 20:48:50.842800 2015] [access_compat:error] [pid 3124:tid
>>> 2344]
>>> [client 10.0.0.33:59367] AH01797: client denied by server configuration:
>>> proxy:http://GLS3:8529/TestFilter__both_str_req_proxy_content/foo
>>> [Wed Jun 03 20:48:57.909600 2015] [authz_core:debug] [pid 3124:tid 2344]
>>> mod_authz_core.c(834): [client 10.0.0.33:59368] AH01628: authorization
>>> result: granted (no directives)
>>> [Wed Jun 03 20:48:57.909600 2015] [charset_lite:debug] [pid 3124:tid
>>> 2344]
>>> mod_charset_lite.c(216): [client 10.0.0.33:59368] AH01448: incomplete
>>> configuration: src unspecified, dst unspecified
>>>
>>>
>>>
>>> # connecting to http://GLS3:8538/TestModules__proxy
>>> 1..1
>>> # Running under perl version 5.016003 for MSWin32
>>> # Win32::BuildNumber 1604
>>> # Current time local: Wed Jun  3 21:04:05 2015
>>> # Current time GMT:   Thu Jun  4 04:04:05 2015
>>> # Using Test.pm version 1.26
>>> # Using Apache/Test.pm version 1.39
>>> request has failed (the response code was: 503)
>>> see t/logs/error_log for more details
>>> Dubious, test returned 255 (wstat 65280, 0xff00)
>>> Failed 1/1 subtests
>>>
>>> [Wed Jun 03 21:04:13.855200 2015] [proxy:debug] [pid 3124:tid 2340]
>>> mod_proxy.c(1161): [client 10.0.0.33:59664] AH01143: Running scheme http
>>> handler (attempt 0)
>>> [Wed Jun 03 21:04:13.855200 2015] [proxy_fcgi:debug] [pid 3124:tid 2340]
>>> mod_proxy_fcgi.c(859): [client 10.0.0.33:59664] AH01076: url:
>>> http://gls3:8538/TestModules__proxy_real proxyname: (null) proxyport: 0
>>> [Wed Jun 03 21:04:13.855200 2015] [proxy_fcgi:debug] [pid 3124:tid 2340]
>>> mod_proxy_fcgi.c(864): [client 10.0.0.33:59664] AH01077: declining URL
>>> http://gls3:8538/TestModules__proxy_real
>>> [Wed Jun 03 21:04:13.855200 2015] [proxy_scgi:debug] [pid 3124:tid 2340]
>>> mod_proxy_scgi.c(516): [client 10.0.0.33:59664] AH00865: declining URL
>>> http://gls3:8538/TestModules__proxy_real
>>> [Wed Jun 03 21:04:13.855200 2015] [proxy:debug] [pid 3124:tid 2340]
>>> proxy_util.c(2138): AH00942: HTTP: has acquired connection for (*)
>>> [Wed Jun 03 21:04:13.855200 2015] [proxy:debug] [pid 3124:tid 2340]
>>> proxy_util.c(2192): [client 10.0.0.33:59664] AH00944: connecting
>>> http://gls3:8538/TestModules__proxy_real to gls3:8538
>>> [Wed Jun 03 21:04:13.855200 2015] [proxy:debug] [pid 3124:tid 2340]
>>> proxy_util.c(2393): [client 10.0.0.33:59664] AH00947: connected
>>> /TestModules__proxy_real to gls3:8538
>>> [Wed Jun 03 21:04:34.884000 2015] [proxy:error] [pid 3124:tid 2340] (OS
>>> 10060)A connection attempt failed because the connected party did not
>>> properly respond after a period of time, or established connection failed
>>> because connected host has failed to respond.  : AH00957: HTTP: attempt
>>> to
>>> connect to 10.0.0.3:8538 (*) failed
>>> [Wed Jun 03 21:04:34.884000 2015] [proxy_http:error] [pid 3124:tid 2340]
>>> [client 10.0.0.33:59664] AH01114: HTTP: failed to make connection to
>>> backend: gls3
>>> [Wed Jun 03 21:04:34.884000 2015] [proxy:debug] [pid 3124:tid 2340]
>>> proxy_util.c(2153): AH00943: HTTP: has released connection for (*)
>>
>>
>> I see a few differences in the httpd.conf files that you sent earlier
>> compared to mine.
>>
>> Firstly the order of modules in my files are quite random, whereas
>> yours are all alphabetical. Did you do something special to make that
>> happen? Anyway, I sorted mine for comparison and found that the Apache
>> that I built against has numerous modules that yours doesn't have:
>>
>> mod_bucketeer
>> mod_case_filter_in
>> mod_case_filter
>> mod_dialup
>> mod_echo
>> mod_example_hooks
>> mod_example_ipc
>> mod_optional_fn_export
>> mod_optional_fn_import
>> mod_optional_hook_export
>> mod_optional_hook_import
>
>
> Most of these are simply example modules for people wanting to write their
> own. I could build them (BuildAll vs. BuildBin), I just never do.
>
>>
>> although none of those end up in mod_perl's t/conf/httpd.conf, so
>> they're surely not relevant. However, your Apache also has several
>> modules that mine doesn't have:
>>
>> mod_charset_lite
>> mod_deflate
>> mod_lua
>> mod_proxy_html
>> mod_session_crypto
>> mod_ssl
>> mod_xml2enc
>>
>> I have built deflate and ssl before just by dropping zlib and openssl
>> into srclib. What am I missing that causes the others not to get
>> built? I built with -DENABLE_MODULES=a.
>
>
> mod_session_crypto requires the crypto flag to be set in apu.h. I'm not
> saying it will build with CMake, I do not know.
>
> mod_proxy_html & mod_xml2enc require libxml2 in srclib on the non-Cmake
> build.
>
>>
>> Interestingly, all of your extra modules ARE in your mod_perl's
>> t/conf/httpd.conf. Aside from that our two t/conf/httpd.conf files
>> look about the same modulo path differences.
>>
>> I see mod_deflate and mod_proxy_html both mentioned in your log file
>> snippets, but I'm not sure that they are relevant. Still, it might be
>> worth you disabling the above 7 modules in your Apache http.conf so
>> that they aren't loaded by mod_perl just to rule out that being the
>> difference.
>>
>> Otherwise I will just have to put the proxy failure down to Vista vs
>> Win7 differences, and maybe it's also OS differences that cause the
>> 403 in t\filter\both_str_req_proxy.t too? You mentioned the
>> unreliability of mod_access_compat, but the test works fine for me
>> (i.e. it runs and passes, as opposed to just being skipped on my
>> machines) on both Win7 and Win8.1.
>
>
>
> t\filter\both_str_req_proxy.t ........... ok
> t\modules\proxy.t ....................... ok
>
> This is purely stupid operator and 101% embarrassing. I was thinking about
> it for some time this afternoon and something in the log, and in the config
> finally jumped into my puny brain.
>
> The requests are coming from 10.0.0.33 but GLS3 was set to 10.0.0.3 in the
> hosts file. Allow from GLS3 is in httpd.conf. This laptop is 10.0.0.3 when
> on wireless (slow), 10.0.0.33 when wired (gigabit). I only use wireless when
> outside.
>
> Ugh!
>

That's great news :-)

So we're all good on Win32 except for a few familiar/known failures
documented in README, which I've not been able to figure out for a
long time and will have to wait until after the release.

I think things were looking similarly good or better on other
platforms too apart from numerous reports of aplog.t failing, which I
posted a patch for yesterday. If somebody who saw that failure could
confirm that my patch fixes it then I will roll an RC3, which I'm
hopeful will be the last RC, and then we'll finally have 2.0.9 :-)

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


Re: [RELEASE CANDIDATE]: mod_perl-2.0.9 RC2

Posted by Gregg Smith <mo...@gmail.com>.
I need to remember reply-all in this list.

On 6/9/2015 12:56 AM, Steve Hay wrote:
> On 4 June 2015 at 05:47, Gregg Smith<mo...@gmail.com>  wrote:
>> On 6/3/2015 1:03 AM, Steve Hay wrote:
>>>
>>> On 2 June 2015 at 23:30, Gregg Smith<mo...@gmail.com>   wrote:
>>>>
>>>> On 6/2/2015 10:35 AM, Steve Hay wrote:
>>>>>
>>>>> On 2 June 2015 at 17:52, Gregg Smith<mo...@gmail.com>    wrote:
>>>>>>
>>>>>> On 6/2/2015 12:49 AM, Steve Hay wrote:
>>>>>>>
>>>>>>> On 1 June 2015 at 18:59, Gregg Smith<mo...@gmail.com>     wrote:
>>>>>>>>
>>>>>>>> On 5/30/2015 11:20 AM, Steve Hay wrote:
>>>
>>> Is there anything more in t/logs/error_log?
>>
>>
>> Sorry for the delay, had two very busy days.
>>
>> The 403 in both_str_req_proxy.t is no real surprise to me and
>> mod_access_compat being the culprit is what I had guessed. mod_access_compat
>> should not be relied upon on 2.4. It certainly does not work as I had
>> expected it to when I switched over from 2.2 and I see support questions
>> because of it in forums all the time.
>>
>> The proxy.t error might just be Vista when I think about it since you do not
>> get the same on Win7. Vista has a very limited number of connections that
>> can be open. I should upgrade to 8.1 but it's so much work to get all my
>> other needed software installed.
>>
>>
>>
>> t\filter\both_str_req_proxy.t ...........
>> 1..1
>> # Running under perl version 5.016003 for MSWin32
>> # Win32::BuildNumber 1604
>> # Current time local: Wed Jun  3 20:48:44 2015
>> # Current time GMT:   Thu Jun  4 03:48:44 2015
>> # Using Test.pm version 1.26
>> # Using Apache/Test.pm version 1.39
>> # testing : lc input and reverse output filters
>> # Failed test 1 in t\filter\both_str_req_proxy.t at line 18
>> # expected: 'abcdefghijklmnopqrstuvwxyz0123456789'
>> # received: '<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
>> #<html><head>
>> #<title>403 Forbidden</title>
>> #</head><body>
>> #<h1>Forbidden</h1>
>> #<p>You don\'t have permission to access
>> /TestFilter__both_str_req_proxy/foo
>> # on this server.<br />
>> #</p>
>> #<hr>
>> #<address>Apache/2.4.12 (Win32) world domination series/2.0 OpenSSL/1.0.1m
>> mod_perl/2.0.9-rc2 Perl/
>> v5.16.3 Server at gls3 Port 8529</address>
>> #</body></html>
>> # '
>> not ok 1
>> Failed 1/1 subtests
>>
>> [Wed Jun 03 20:48:43.885200 2015] [charset_lite:debug] [pid 3124:tid 2344]
>> mod_charset_lite.c(216): [client 10.0.0.33:59366] AH01448: incomplete
>> configuration: src unspecified, dst unspecified
>> [Wed Jun 03 20:48:43.885200 2015] [deflate:debug] [pid 3124:tid 2344]
>> mod_deflate.c(853): [client 10.0.0.33:59366] AH01384: Zlib: Compressed 21 to
>> 26 : URL /TestFilter__both_str_req_mix
>> [Wed Jun 03 20:48:50.842800 2015] [access_compat:error] [pid 3124:tid 2344]
>> [client 10.0.0.33:59367] AH01797: client denied by server configuration:
>> proxy:http://GLS3:8529/TestFilter__both_str_req_proxy_content/foo
>> [Wed Jun 03 20:48:57.909600 2015] [authz_core:debug] [pid 3124:tid 2344]
>> mod_authz_core.c(834): [client 10.0.0.33:59368] AH01628: authorization
>> result: granted (no directives)
>> [Wed Jun 03 20:48:57.909600 2015] [charset_lite:debug] [pid 3124:tid 2344]
>> mod_charset_lite.c(216): [client 10.0.0.33:59368] AH01448: incomplete
>> configuration: src unspecified, dst unspecified
>>
>>
>>
>> # connecting to http://GLS3:8538/TestModules__proxy
>> 1..1
>> # Running under perl version 5.016003 for MSWin32
>> # Win32::BuildNumber 1604
>> # Current time local: Wed Jun  3 21:04:05 2015
>> # Current time GMT:   Thu Jun  4 04:04:05 2015
>> # Using Test.pm version 1.26
>> # Using Apache/Test.pm version 1.39
>> request has failed (the response code was: 503)
>> see t/logs/error_log for more details
>> Dubious, test returned 255 (wstat 65280, 0xff00)
>> Failed 1/1 subtests
>>
>> [Wed Jun 03 21:04:13.855200 2015] [proxy:debug] [pid 3124:tid 2340]
>> mod_proxy.c(1161): [client 10.0.0.33:59664] AH01143: Running scheme http
>> handler (attempt 0)
>> [Wed Jun 03 21:04:13.855200 2015] [proxy_fcgi:debug] [pid 3124:tid 2340]
>> mod_proxy_fcgi.c(859): [client 10.0.0.33:59664] AH01076: url:
>> http://gls3:8538/TestModules__proxy_real proxyname: (null) proxyport: 0
>> [Wed Jun 03 21:04:13.855200 2015] [proxy_fcgi:debug] [pid 3124:tid 2340]
>> mod_proxy_fcgi.c(864): [client 10.0.0.33:59664] AH01077: declining URL
>> http://gls3:8538/TestModules__proxy_real
>> [Wed Jun 03 21:04:13.855200 2015] [proxy_scgi:debug] [pid 3124:tid 2340]
>> mod_proxy_scgi.c(516): [client 10.0.0.33:59664] AH00865: declining URL
>> http://gls3:8538/TestModules__proxy_real
>> [Wed Jun 03 21:04:13.855200 2015] [proxy:debug] [pid 3124:tid 2340]
>> proxy_util.c(2138): AH00942: HTTP: has acquired connection for (*)
>> [Wed Jun 03 21:04:13.855200 2015] [proxy:debug] [pid 3124:tid 2340]
>> proxy_util.c(2192): [client 10.0.0.33:59664] AH00944: connecting
>> http://gls3:8538/TestModules__proxy_real to gls3:8538
>> [Wed Jun 03 21:04:13.855200 2015] [proxy:debug] [pid 3124:tid 2340]
>> proxy_util.c(2393): [client 10.0.0.33:59664] AH00947: connected
>> /TestModules__proxy_real to gls3:8538
>> [Wed Jun 03 21:04:34.884000 2015] [proxy:error] [pid 3124:tid 2340] (OS
>> 10060)A connection attempt failed because the connected party did not
>> properly respond after a period of time, or established connection failed
>> because connected host has failed to respond.  : AH00957: HTTP: attempt to
>> connect to 10.0.0.3:8538 (*) failed
>> [Wed Jun 03 21:04:34.884000 2015] [proxy_http:error] [pid 3124:tid 2340]
>> [client 10.0.0.33:59664] AH01114: HTTP: failed to make connection to
>> backend: gls3
>> [Wed Jun 03 21:04:34.884000 2015] [proxy:debug] [pid 3124:tid 2340]
>> proxy_util.c(2153): AH00943: HTTP: has released connection for (*)
>
> I see a few differences in the httpd.conf files that you sent earlier
> compared to mine.
>
> Firstly the order of modules in my files are quite random, whereas
> yours are all alphabetical. Did you do something special to make that
> happen? Anyway, I sorted mine for comparison and found that the Apache
> that I built against has numerous modules that yours doesn't have:
>
> mod_bucketeer
> mod_case_filter_in
> mod_case_filter
> mod_dialup
> mod_echo
> mod_example_hooks
> mod_example_ipc
> mod_optional_fn_export
> mod_optional_fn_import
> mod_optional_hook_export
> mod_optional_hook_import

Most of these are simply example modules for people wanting to write 
their own. I could build them (BuildAll vs. BuildBin), I just never do.

>
> although none of those end up in mod_perl's t/conf/httpd.conf, so
> they're surely not relevant. However, your Apache also has several
> modules that mine doesn't have:
>
> mod_charset_lite
> mod_deflate
> mod_lua
> mod_proxy_html
> mod_session_crypto
> mod_ssl
> mod_xml2enc
>
> I have built deflate and ssl before just by dropping zlib and openssl
> into srclib. What am I missing that causes the others not to get
> built? I built with -DENABLE_MODULES=a.

mod_session_crypto requires the crypto flag to be set in apu.h. I'm not 
saying it will build with CMake, I do not know.

mod_proxy_html & mod_xml2enc require libxml2 in srclib on the non-Cmake 
build.

>
> Interestingly, all of your extra modules ARE in your mod_perl's
> t/conf/httpd.conf. Aside from that our two t/conf/httpd.conf files
> look about the same modulo path differences.
>
> I see mod_deflate and mod_proxy_html both mentioned in your log file
> snippets, but I'm not sure that they are relevant. Still, it might be
> worth you disabling the above 7 modules in your Apache http.conf so
> that they aren't loaded by mod_perl just to rule out that being the
> difference.
>
> Otherwise I will just have to put the proxy failure down to Vista vs
> Win7 differences, and maybe it's also OS differences that cause the
> 403 in t\filter\both_str_req_proxy.t too? You mentioned the
> unreliability of mod_access_compat, but the test works fine for me
> (i.e. it runs and passes, as opposed to just being skipped on my
> machines) on both Win7 and Win8.1.


t\filter\both_str_req_proxy.t ........... ok
t\modules\proxy.t ....................... ok

This is purely stupid operator and 101% embarrassing. I was thinking 
about it for some time this afternoon and something in the log, and in 
the config finally jumped into my puny brain.

The requests are coming from 10.0.0.33 but GLS3 was set to 10.0.0.3 in 
the hosts file. Allow from GLS3 is in httpd.conf. This laptop is 
10.0.0.3 when on wireless (slow), 10.0.0.33 when wired (gigabit). I only 
use wireless when outside.

Ugh!



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


Re: [RELEASE CANDIDATE]: mod_perl-2.0.9 RC2

Posted by Steve Hay <st...@googlemail.com>.
On 4 June 2015 at 05:47, Gregg Smith <mo...@gmail.com> wrote:
> On 6/3/2015 1:03 AM, Steve Hay wrote:
>>
>> On 2 June 2015 at 23:30, Gregg Smith<mo...@gmail.com>  wrote:
>>>
>>> On 6/2/2015 10:35 AM, Steve Hay wrote:
>>>>
>>>> On 2 June 2015 at 17:52, Gregg Smith<mo...@gmail.com>   wrote:
>>>>>
>>>>> On 6/2/2015 12:49 AM, Steve Hay wrote:
>>>>>>
>>>>>> On 1 June 2015 at 18:59, Gregg Smith<mo...@gmail.com>    wrote:
>>>>>>>
>>>>>>> On 5/30/2015 11:20 AM, Steve Hay wrote:
>>
>> Is there anything more in t/logs/error_log?
>
>
> Sorry for the delay, had two very busy days.
>
> The 403 in both_str_req_proxy.t is no real surprise to me and
> mod_access_compat being the culprit is what I had guessed. mod_access_compat
> should not be relied upon on 2.4. It certainly does not work as I had
> expected it to when I switched over from 2.2 and I see support questions
> because of it in forums all the time.
>
> The proxy.t error might just be Vista when I think about it since you do not
> get the same on Win7. Vista has a very limited number of connections that
> can be open. I should upgrade to 8.1 but it's so much work to get all my
> other needed software installed.
>
>
>
> t\filter\both_str_req_proxy.t ...........
> 1..1
> # Running under perl version 5.016003 for MSWin32
> # Win32::BuildNumber 1604
> # Current time local: Wed Jun  3 20:48:44 2015
> # Current time GMT:   Thu Jun  4 03:48:44 2015
> # Using Test.pm version 1.26
> # Using Apache/Test.pm version 1.39
> # testing : lc input and reverse output filters
> # Failed test 1 in t\filter\both_str_req_proxy.t at line 18
> # expected: 'abcdefghijklmnopqrstuvwxyz0123456789'
> # received: '<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
> # <html><head>
> # <title>403 Forbidden</title>
> # </head><body>
> # <h1>Forbidden</h1>
> # <p>You don\'t have permission to access
> /TestFilter__both_str_req_proxy/foo
> # on this server.<br />
> # </p>
> # <hr>
> # <address>Apache/2.4.12 (Win32) world domination series/2.0 OpenSSL/1.0.1m
> mod_perl/2.0.9-rc2 Perl/
> v5.16.3 Server at gls3 Port 8529</address>
> # </body></html>
> # '
> not ok 1
> Failed 1/1 subtests
>
> [Wed Jun 03 20:48:43.885200 2015] [charset_lite:debug] [pid 3124:tid 2344]
> mod_charset_lite.c(216): [client 10.0.0.33:59366] AH01448: incomplete
> configuration: src unspecified, dst unspecified
> [Wed Jun 03 20:48:43.885200 2015] [deflate:debug] [pid 3124:tid 2344]
> mod_deflate.c(853): [client 10.0.0.33:59366] AH01384: Zlib: Compressed 21 to
> 26 : URL /TestFilter__both_str_req_mix
> [Wed Jun 03 20:48:50.842800 2015] [access_compat:error] [pid 3124:tid 2344]
> [client 10.0.0.33:59367] AH01797: client denied by server configuration:
> proxy:http://GLS3:8529/TestFilter__both_str_req_proxy_content/foo
> [Wed Jun 03 20:48:57.909600 2015] [authz_core:debug] [pid 3124:tid 2344]
> mod_authz_core.c(834): [client 10.0.0.33:59368] AH01628: authorization
> result: granted (no directives)
> [Wed Jun 03 20:48:57.909600 2015] [charset_lite:debug] [pid 3124:tid 2344]
> mod_charset_lite.c(216): [client 10.0.0.33:59368] AH01448: incomplete
> configuration: src unspecified, dst unspecified
>
>
>
> # connecting to http://GLS3:8538/TestModules__proxy
> 1..1
> # Running under perl version 5.016003 for MSWin32
> # Win32::BuildNumber 1604
> # Current time local: Wed Jun  3 21:04:05 2015
> # Current time GMT:   Thu Jun  4 04:04:05 2015
> # Using Test.pm version 1.26
> # Using Apache/Test.pm version 1.39
> request has failed (the response code was: 503)
> see t/logs/error_log for more details
> Dubious, test returned 255 (wstat 65280, 0xff00)
> Failed 1/1 subtests
>
> [Wed Jun 03 21:04:13.855200 2015] [proxy:debug] [pid 3124:tid 2340]
> mod_proxy.c(1161): [client 10.0.0.33:59664] AH01143: Running scheme http
> handler (attempt 0)
> [Wed Jun 03 21:04:13.855200 2015] [proxy_fcgi:debug] [pid 3124:tid 2340]
> mod_proxy_fcgi.c(859): [client 10.0.0.33:59664] AH01076: url:
> http://gls3:8538/TestModules__proxy_real proxyname: (null) proxyport: 0
> [Wed Jun 03 21:04:13.855200 2015] [proxy_fcgi:debug] [pid 3124:tid 2340]
> mod_proxy_fcgi.c(864): [client 10.0.0.33:59664] AH01077: declining URL
> http://gls3:8538/TestModules__proxy_real
> [Wed Jun 03 21:04:13.855200 2015] [proxy_scgi:debug] [pid 3124:tid 2340]
> mod_proxy_scgi.c(516): [client 10.0.0.33:59664] AH00865: declining URL
> http://gls3:8538/TestModules__proxy_real
> [Wed Jun 03 21:04:13.855200 2015] [proxy:debug] [pid 3124:tid 2340]
> proxy_util.c(2138): AH00942: HTTP: has acquired connection for (*)
> [Wed Jun 03 21:04:13.855200 2015] [proxy:debug] [pid 3124:tid 2340]
> proxy_util.c(2192): [client 10.0.0.33:59664] AH00944: connecting
> http://gls3:8538/TestModules__proxy_real to gls3:8538
> [Wed Jun 03 21:04:13.855200 2015] [proxy:debug] [pid 3124:tid 2340]
> proxy_util.c(2393): [client 10.0.0.33:59664] AH00947: connected
> /TestModules__proxy_real to gls3:8538
> [Wed Jun 03 21:04:34.884000 2015] [proxy:error] [pid 3124:tid 2340] (OS
> 10060)A connection attempt failed because the connected party did not
> properly respond after a period of time, or established connection failed
> because connected host has failed to respond.  : AH00957: HTTP: attempt to
> connect to 10.0.0.3:8538 (*) failed
> [Wed Jun 03 21:04:34.884000 2015] [proxy_http:error] [pid 3124:tid 2340]
> [client 10.0.0.33:59664] AH01114: HTTP: failed to make connection to
> backend: gls3
> [Wed Jun 03 21:04:34.884000 2015] [proxy:debug] [pid 3124:tid 2340]
> proxy_util.c(2153): AH00943: HTTP: has released connection for (*)

I see a few differences in the httpd.conf files that you sent earlier
compared to mine.

Firstly the order of modules in my files are quite random, whereas
yours are all alphabetical. Did you do something special to make that
happen? Anyway, I sorted mine for comparison and found that the Apache
that I built against has numerous modules that yours doesn't have:

mod_bucketeer
mod_case_filter_in
mod_case_filter
mod_dialup
mod_echo
mod_example_hooks
mod_example_ipc
mod_optional_fn_export
mod_optional_fn_import
mod_optional_hook_export
mod_optional_hook_import

although none of those end up in mod_perl's t/conf/httpd.conf, so
they're surely not relevant. However, your Apache also has several
modules that mine doesn't have:

mod_charset_lite
mod_deflate
mod_lua
mod_proxy_html
mod_session_crypto
mod_ssl
mod_xml2enc

I have built deflate and ssl before just by dropping zlib and openssl
into srclib. What am I missing that causes the others not to get
built? I built with -DENABLE_MODULES=a.

Interestingly, all of your extra modules ARE in your mod_perl's
t/conf/httpd.conf. Aside from that our two t/conf/httpd.conf files
look about the same modulo path differences.

I see mod_deflate and mod_proxy_html both mentioned in your log file
snippets, but I'm not sure that they are relevant. Still, it might be
worth you disabling the above 7 modules in your Apache http.conf so
that they aren't loaded by mod_perl just to rule out that being the
difference.

Otherwise I will just have to put the proxy failure down to Vista vs
Win7 differences, and maybe it's also OS differences that cause the
403 in t\filter\both_str_req_proxy.t too? You mentioned the
unreliability of mod_access_compat, but the test works fine for me
(i.e. it runs and passes, as opposed to just being skipped on my
machines) on both Win7 and Win8.1.

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


Re: [RELEASE CANDIDATE]: mod_perl-2.0.9 RC2

Posted by Steve Hay <st...@googlemail.com>.
On 5 June 2015 at 13:01, Jan Kaluža <jk...@redhat.com> wrote:
> On 06/04/2015 06:47 AM, Gregg Smith wrote:
>>
>> On 6/3/2015 1:03 AM, Steve Hay wrote:
>>>
>>> On 2 June 2015 at 23:30, Gregg Smith<mo...@gmail.com>  wrote:
>>>>
>>>> On 6/2/2015 10:35 AM, Steve Hay wrote:
>>>>>
>>>>> On 2 June 2015 at 17:52, Gregg Smith<mo...@gmail.com>   wrote:
>>>>>>
>>>>>> On 6/2/2015 12:49 AM, Steve Hay wrote:
>>>>>>>
>>>>>>> On 1 June 2015 at 18:59, Gregg Smith<mo...@gmail.com>    wrote:
>>>>>>>>
>>>>>>>> On 5/30/2015 11:20 AM, Steve Hay wrote:
>>>
>>> Is there anything more in t/logs/error_log?
>>
>>
>> Sorry for the delay, had two very busy days.
>>
>> The 403 in both_str_req_proxy.t is no real surprise to me and
>> mod_access_compat being the culprit is what I had guessed.
>> mod_access_compat should not be relied upon on 2.4. It certainly does
>> not work as I had expected it to when I switched over from 2.2 and I see
>> support questions because of it in forums all the time.
>
>
> Could you please try to fix it, since you are able to reproduce this issue?
> Or is there anyone else with Windows who can reproduce it and fix it?
>
> It would be really great to spend some time fixing these bugs which cannot
> be reproduced globally, so we can finally release 2.4.x support :).

I intend to look at it, but if anyone else wants to get there first
then please feel free :-)


>
>> The proxy.t error might just be Vista when I think about it since you do
>> not get the same on Win7. Vista has a very limited number of connections
>> that can be open. I should upgrade to 8.1 but it's so much work to get
>> all my other needed software installed.
>>
>>
>>
>> t\filter\both_str_req_proxy.t ...........
>> 1..1
>> # Running under perl version 5.016003 for MSWin32
>> # Win32::BuildNumber 1604
>> # Current time local: Wed Jun  3 20:48:44 2015
>> # Current time GMT:   Thu Jun  4 03:48:44 2015
>> # Using Test.pm version 1.26
>> # Using Apache/Test.pm version 1.39
>> # testing : lc input and reverse output filters
>> # Failed test 1 in t\filter\both_str_req_proxy.t at line 18
>> # expected: 'abcdefghijklmnopqrstuvwxyz0123456789'
>> # received: '<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
>> # <html><head>
>> # <title>403 Forbidden</title>
>> # </head><body>
>> # <h1>Forbidden</h1>
>> # <p>You don\'t have permission to access
>> /TestFilter__both_str_req_proxy/foo
>> # on this server.<br />
>> # </p>
>> # <hr>
>> # <address>Apache/2.4.12 (Win32) world domination series/2.0
>> OpenSSL/1.0.1m mod_perl/2.0.9-rc2 Perl/
>> v5.16.3 Server at gls3 Port 8529</address>
>> # </body></html>
>> # '
>> not ok 1
>> Failed 1/1 subtests
>>
>> [Wed Jun 03 20:48:43.885200 2015] [charset_lite:debug] [pid 3124:tid
>> 2344] mod_charset_lite.c(216): [client 10.0.0.33:59366] AH01448:
>> incomplete configuration: src unspecified, dst unspecified
>> [Wed Jun 03 20:48:43.885200 2015] [deflate:debug] [pid 3124:tid 2344]
>> mod_deflate.c(853): [client 10.0.0.33:59366] AH01384: Zlib: Compressed
>> 21 to 26 : URL /TestFilter__both_str_req_mix
>> [Wed Jun 03 20:48:50.842800 2015] [access_compat:error] [pid 3124:tid
>> 2344] [client 10.0.0.33:59367] AH01797: client denied by server
>> configuration:
>> proxy:http://GLS3:8529/TestFilter__both_str_req_proxy_content/foo
>> [Wed Jun 03 20:48:57.909600 2015] [authz_core:debug] [pid 3124:tid 2344]
>> mod_authz_core.c(834): [client 10.0.0.33:59368] AH01628: authorization
>> result: granted (no directives)
>> [Wed Jun 03 20:48:57.909600 2015] [charset_lite:debug] [pid 3124:tid
>> 2344] mod_charset_lite.c(216): [client 10.0.0.33:59368] AH01448:
>> incomplete configuration: src unspecified, dst unspecified
>>
>>
>>
>> # connecting to http://GLS3:8538/TestModules__proxy
>> 1..1
>> # Running under perl version 5.016003 for MSWin32
>> # Win32::BuildNumber 1604
>> # Current time local: Wed Jun  3 21:04:05 2015
>> # Current time GMT:   Thu Jun  4 04:04:05 2015
>> # Using Test.pm version 1.26
>> # Using Apache/Test.pm version 1.39
>> request has failed (the response code was: 503)
>> see t/logs/error_log for more details
>> Dubious, test returned 255 (wstat 65280, 0xff00)
>> Failed 1/1 subtests
>>
>> [Wed Jun 03 21:04:13.855200 2015] [proxy:debug] [pid 3124:tid 2340]
>> mod_proxy.c(1161): [client 10.0.0.33:59664] AH01143: Running scheme http
>> handler (attempt 0)
>> [Wed Jun 03 21:04:13.855200 2015] [proxy_fcgi:debug] [pid 3124:tid 2340]
>> mod_proxy_fcgi.c(859): [client 10.0.0.33:59664] AH01076: url:
>> http://gls3:8538/TestModules__proxy_real proxyname: (null) proxyport: 0
>> [Wed Jun 03 21:04:13.855200 2015] [proxy_fcgi:debug] [pid 3124:tid 2340]
>> mod_proxy_fcgi.c(864): [client 10.0.0.33:59664] AH01077: declining URL
>> http://gls3:8538/TestModules__proxy_real
>> [Wed Jun 03 21:04:13.855200 2015] [proxy_scgi:debug] [pid 3124:tid 2340]
>> mod_proxy_scgi.c(516): [client 10.0.0.33:59664] AH00865: declining URL
>> http://gls3:8538/TestModules__proxy_real
>> [Wed Jun 03 21:04:13.855200 2015] [proxy:debug] [pid 3124:tid 2340]
>> proxy_util.c(2138): AH00942: HTTP: has acquired connection for (*)
>> [Wed Jun 03 21:04:13.855200 2015] [proxy:debug] [pid 3124:tid 2340]
>> proxy_util.c(2192): [client 10.0.0.33:59664] AH00944: connecting
>> http://gls3:8538/TestModules__proxy_real to gls3:8538
>> [Wed Jun 03 21:04:13.855200 2015] [proxy:debug] [pid 3124:tid 2340]
>> proxy_util.c(2393): [client 10.0.0.33:59664] AH00947: connected
>> /TestModules__proxy_real to gls3:8538
>> [Wed Jun 03 21:04:34.884000 2015] [proxy:error] [pid 3124:tid 2340] (OS
>> 10060)A connection attempt failed because the connected party did not
>> properly respond after a period of time, or established connection
>> failed because connected host has failed to respond.  : AH00957: HTTP:
>> attempt to connect to 10.0.0.3:8538 (*) failed
>> [Wed Jun 03 21:04:34.884000 2015] [proxy_http:error] [pid 3124:tid 2340]
>> [client 10.0.0.33:59664] AH01114: HTTP: failed to make connection to
>> backend: gls3
>> [Wed Jun 03 21:04:34.884000 2015] [proxy:debug] [pid 3124:tid 2340]
>> proxy_util.c(2153): AH00943: HTTP: has released connection for (*)
>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe@perl.apache.org
>> For additional commands, e-mail: dev-help@perl.apache.org
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@perl.apache.org
> For additional commands, e-mail: dev-help@perl.apache.org
>

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


Re: [RELEASE CANDIDATE]: mod_perl-2.0.9 RC2

Posted by Jan Kaluža <jk...@redhat.com>.
On 06/04/2015 06:47 AM, Gregg Smith wrote:
> On 6/3/2015 1:03 AM, Steve Hay wrote:
>> On 2 June 2015 at 23:30, Gregg Smith<mo...@gmail.com>  wrote:
>>> On 6/2/2015 10:35 AM, Steve Hay wrote:
>>>> On 2 June 2015 at 17:52, Gregg Smith<mo...@gmail.com>   wrote:
>>>>> On 6/2/2015 12:49 AM, Steve Hay wrote:
>>>>>> On 1 June 2015 at 18:59, Gregg Smith<mo...@gmail.com>    wrote:
>>>>>>> On 5/30/2015 11:20 AM, Steve Hay wrote:
>> Is there anything more in t/logs/error_log?
>
> Sorry for the delay, had two very busy days.
>
> The 403 in both_str_req_proxy.t is no real surprise to me and
> mod_access_compat being the culprit is what I had guessed.
> mod_access_compat should not be relied upon on 2.4. It certainly does
> not work as I had expected it to when I switched over from 2.2 and I see
> support questions because of it in forums all the time.

Could you please try to fix it, since you are able to reproduce this 
issue? Or is there anyone else with Windows who can reproduce it and fix it?

It would be really great to spend some time fixing these bugs which 
cannot be reproduced globally, so we can finally release 2.4.x support :).

> The proxy.t error might just be Vista when I think about it since you do
> not get the same on Win7. Vista has a very limited number of connections
> that can be open. I should upgrade to 8.1 but it's so much work to get
> all my other needed software installed.
>
>
>
> t\filter\both_str_req_proxy.t ...........
> 1..1
> # Running under perl version 5.016003 for MSWin32
> # Win32::BuildNumber 1604
> # Current time local: Wed Jun  3 20:48:44 2015
> # Current time GMT:   Thu Jun  4 03:48:44 2015
> # Using Test.pm version 1.26
> # Using Apache/Test.pm version 1.39
> # testing : lc input and reverse output filters
> # Failed test 1 in t\filter\both_str_req_proxy.t at line 18
> # expected: 'abcdefghijklmnopqrstuvwxyz0123456789'
> # received: '<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
> # <html><head>
> # <title>403 Forbidden</title>
> # </head><body>
> # <h1>Forbidden</h1>
> # <p>You don\'t have permission to access
> /TestFilter__both_str_req_proxy/foo
> # on this server.<br />
> # </p>
> # <hr>
> # <address>Apache/2.4.12 (Win32) world domination series/2.0
> OpenSSL/1.0.1m mod_perl/2.0.9-rc2 Perl/
> v5.16.3 Server at gls3 Port 8529</address>
> # </body></html>
> # '
> not ok 1
> Failed 1/1 subtests
>
> [Wed Jun 03 20:48:43.885200 2015] [charset_lite:debug] [pid 3124:tid
> 2344] mod_charset_lite.c(216): [client 10.0.0.33:59366] AH01448:
> incomplete configuration: src unspecified, dst unspecified
> [Wed Jun 03 20:48:43.885200 2015] [deflate:debug] [pid 3124:tid 2344]
> mod_deflate.c(853): [client 10.0.0.33:59366] AH01384: Zlib: Compressed
> 21 to 26 : URL /TestFilter__both_str_req_mix
> [Wed Jun 03 20:48:50.842800 2015] [access_compat:error] [pid 3124:tid
> 2344] [client 10.0.0.33:59367] AH01797: client denied by server
> configuration:
> proxy:http://GLS3:8529/TestFilter__both_str_req_proxy_content/foo
> [Wed Jun 03 20:48:57.909600 2015] [authz_core:debug] [pid 3124:tid 2344]
> mod_authz_core.c(834): [client 10.0.0.33:59368] AH01628: authorization
> result: granted (no directives)
> [Wed Jun 03 20:48:57.909600 2015] [charset_lite:debug] [pid 3124:tid
> 2344] mod_charset_lite.c(216): [client 10.0.0.33:59368] AH01448:
> incomplete configuration: src unspecified, dst unspecified
>
>
>
> # connecting to http://GLS3:8538/TestModules__proxy
> 1..1
> # Running under perl version 5.016003 for MSWin32
> # Win32::BuildNumber 1604
> # Current time local: Wed Jun  3 21:04:05 2015
> # Current time GMT:   Thu Jun  4 04:04:05 2015
> # Using Test.pm version 1.26
> # Using Apache/Test.pm version 1.39
> request has failed (the response code was: 503)
> see t/logs/error_log for more details
> Dubious, test returned 255 (wstat 65280, 0xff00)
> Failed 1/1 subtests
>
> [Wed Jun 03 21:04:13.855200 2015] [proxy:debug] [pid 3124:tid 2340]
> mod_proxy.c(1161): [client 10.0.0.33:59664] AH01143: Running scheme http
> handler (attempt 0)
> [Wed Jun 03 21:04:13.855200 2015] [proxy_fcgi:debug] [pid 3124:tid 2340]
> mod_proxy_fcgi.c(859): [client 10.0.0.33:59664] AH01076: url:
> http://gls3:8538/TestModules__proxy_real proxyname: (null) proxyport: 0
> [Wed Jun 03 21:04:13.855200 2015] [proxy_fcgi:debug] [pid 3124:tid 2340]
> mod_proxy_fcgi.c(864): [client 10.0.0.33:59664] AH01077: declining URL
> http://gls3:8538/TestModules__proxy_real
> [Wed Jun 03 21:04:13.855200 2015] [proxy_scgi:debug] [pid 3124:tid 2340]
> mod_proxy_scgi.c(516): [client 10.0.0.33:59664] AH00865: declining URL
> http://gls3:8538/TestModules__proxy_real
> [Wed Jun 03 21:04:13.855200 2015] [proxy:debug] [pid 3124:tid 2340]
> proxy_util.c(2138): AH00942: HTTP: has acquired connection for (*)
> [Wed Jun 03 21:04:13.855200 2015] [proxy:debug] [pid 3124:tid 2340]
> proxy_util.c(2192): [client 10.0.0.33:59664] AH00944: connecting
> http://gls3:8538/TestModules__proxy_real to gls3:8538
> [Wed Jun 03 21:04:13.855200 2015] [proxy:debug] [pid 3124:tid 2340]
> proxy_util.c(2393): [client 10.0.0.33:59664] AH00947: connected
> /TestModules__proxy_real to gls3:8538
> [Wed Jun 03 21:04:34.884000 2015] [proxy:error] [pid 3124:tid 2340] (OS
> 10060)A connection attempt failed because the connected party did not
> properly respond after a period of time, or established connection
> failed because connected host has failed to respond.  : AH00957: HTTP:
> attempt to connect to 10.0.0.3:8538 (*) failed
> [Wed Jun 03 21:04:34.884000 2015] [proxy_http:error] [pid 3124:tid 2340]
> [client 10.0.0.33:59664] AH01114: HTTP: failed to make connection to
> backend: gls3
> [Wed Jun 03 21:04:34.884000 2015] [proxy:debug] [pid 3124:tid 2340]
> proxy_util.c(2153): AH00943: HTTP: has released connection for (*)
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@perl.apache.org
> For additional commands, e-mail: dev-help@perl.apache.org
>


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


Re: [RELEASE CANDIDATE]: mod_perl-2.0.9 RC2

Posted by Gregg Smith <mo...@gmail.com>.
On 6/3/2015 1:03 AM, Steve Hay wrote:
> On 2 June 2015 at 23:30, Gregg Smith<mo...@gmail.com>  wrote:
>> On 6/2/2015 10:35 AM, Steve Hay wrote:
>>> On 2 June 2015 at 17:52, Gregg Smith<mo...@gmail.com>   wrote:
>>>> On 6/2/2015 12:49 AM, Steve Hay wrote:
>>>>> On 1 June 2015 at 18:59, Gregg Smith<mo...@gmail.com>    wrote:
>>>>>> On 5/30/2015 11:20 AM, Steve Hay wrote:
> Is there anything more in t/logs/error_log?

Sorry for the delay, had two very busy days.

The 403 in both_str_req_proxy.t is no real surprise to me and 
mod_access_compat being the culprit is what I had guessed. 
mod_access_compat should not be relied upon on 2.4. It certainly does 
not work as I had expected it to when I switched over from 2.2 and I see 
support questions because of it in forums all the time.

The proxy.t error might just be Vista when I think about it since you do 
not get the same on Win7. Vista has a very limited number of connections 
that can be open. I should upgrade to 8.1 but it's so much work to get 
all my other needed software installed.



t\filter\both_str_req_proxy.t ...........
1..1
# Running under perl version 5.016003 for MSWin32
# Win32::BuildNumber 1604
# Current time local: Wed Jun  3 20:48:44 2015
# Current time GMT:   Thu Jun  4 03:48:44 2015
# Using Test.pm version 1.26
# Using Apache/Test.pm version 1.39
# testing : lc input and reverse output filters
# Failed test 1 in t\filter\both_str_req_proxy.t at line 18
# expected: 'abcdefghijklmnopqrstuvwxyz0123456789'
# received: '<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
# <html><head>
# <title>403 Forbidden</title>
# </head><body>
# <h1>Forbidden</h1>
# <p>You don\'t have permission to access 
/TestFilter__both_str_req_proxy/foo
# on this server.<br />
# </p>
# <hr>
# <address>Apache/2.4.12 (Win32) world domination series/2.0 
OpenSSL/1.0.1m mod_perl/2.0.9-rc2 Perl/
v5.16.3 Server at gls3 Port 8529</address>
# </body></html>
# '
not ok 1
Failed 1/1 subtests

[Wed Jun 03 20:48:43.885200 2015] [charset_lite:debug] [pid 3124:tid 
2344] mod_charset_lite.c(216): [client 10.0.0.33:59366] AH01448: 
incomplete configuration: src unspecified, dst unspecified
[Wed Jun 03 20:48:43.885200 2015] [deflate:debug] [pid 3124:tid 2344] 
mod_deflate.c(853): [client 10.0.0.33:59366] AH01384: Zlib: Compressed 
21 to 26 : URL /TestFilter__both_str_req_mix
[Wed Jun 03 20:48:50.842800 2015] [access_compat:error] [pid 3124:tid 
2344] [client 10.0.0.33:59367] AH01797: client denied by server 
configuration: 
proxy:http://GLS3:8529/TestFilter__both_str_req_proxy_content/foo
[Wed Jun 03 20:48:57.909600 2015] [authz_core:debug] [pid 3124:tid 2344] 
mod_authz_core.c(834): [client 10.0.0.33:59368] AH01628: authorization 
result: granted (no directives)
[Wed Jun 03 20:48:57.909600 2015] [charset_lite:debug] [pid 3124:tid 
2344] mod_charset_lite.c(216): [client 10.0.0.33:59368] AH01448: 
incomplete configuration: src unspecified, dst unspecified



# connecting to http://GLS3:8538/TestModules__proxy
1..1
# Running under perl version 5.016003 for MSWin32
# Win32::BuildNumber 1604
# Current time local: Wed Jun  3 21:04:05 2015
# Current time GMT:   Thu Jun  4 04:04:05 2015
# Using Test.pm version 1.26
# Using Apache/Test.pm version 1.39
request has failed (the response code was: 503)
see t/logs/error_log for more details
Dubious, test returned 255 (wstat 65280, 0xff00)
Failed 1/1 subtests

[Wed Jun 03 21:04:13.855200 2015] [proxy:debug] [pid 3124:tid 2340] 
mod_proxy.c(1161): [client 10.0.0.33:59664] AH01143: Running scheme http 
handler (attempt 0)
[Wed Jun 03 21:04:13.855200 2015] [proxy_fcgi:debug] [pid 3124:tid 2340] 
mod_proxy_fcgi.c(859): [client 10.0.0.33:59664] AH01076: url: 
http://gls3:8538/TestModules__proxy_real proxyname: (null) proxyport: 0
[Wed Jun 03 21:04:13.855200 2015] [proxy_fcgi:debug] [pid 3124:tid 2340] 
mod_proxy_fcgi.c(864): [client 10.0.0.33:59664] AH01077: declining URL 
http://gls3:8538/TestModules__proxy_real
[Wed Jun 03 21:04:13.855200 2015] [proxy_scgi:debug] [pid 3124:tid 2340] 
mod_proxy_scgi.c(516): [client 10.0.0.33:59664] AH00865: declining URL 
http://gls3:8538/TestModules__proxy_real
[Wed Jun 03 21:04:13.855200 2015] [proxy:debug] [pid 3124:tid 2340] 
proxy_util.c(2138): AH00942: HTTP: has acquired connection for (*)
[Wed Jun 03 21:04:13.855200 2015] [proxy:debug] [pid 3124:tid 2340] 
proxy_util.c(2192): [client 10.0.0.33:59664] AH00944: connecting 
http://gls3:8538/TestModules__proxy_real to gls3:8538
[Wed Jun 03 21:04:13.855200 2015] [proxy:debug] [pid 3124:tid 2340] 
proxy_util.c(2393): [client 10.0.0.33:59664] AH00947: connected 
/TestModules__proxy_real to gls3:8538
[Wed Jun 03 21:04:34.884000 2015] [proxy:error] [pid 3124:tid 2340] (OS 
10060)A connection attempt failed because the connected party did not 
properly respond after a period of time, or established connection 
failed because connected host has failed to respond.  : AH00957: HTTP: 
attempt to connect to 10.0.0.3:8538 (*) failed
[Wed Jun 03 21:04:34.884000 2015] [proxy_http:error] [pid 3124:tid 2340] 
[client 10.0.0.33:59664] AH01114: HTTP: failed to make connection to 
backend: gls3
[Wed Jun 03 21:04:34.884000 2015] [proxy:debug] [pid 3124:tid 2340] 
proxy_util.c(2153): AH00943: HTTP: has released connection for (*)

Re: [RELEASE CANDIDATE]: mod_perl-2.0.9 RC2

Posted by Steve Hay <st...@googlemail.com>.
On 2 June 2015 at 23:30, Gregg Smith <mo...@gmail.com> wrote:
> On 6/2/2015 10:35 AM, Steve Hay wrote:
>>
>> On 2 June 2015 at 17:52, Gregg Smith<mo...@gmail.com>  wrote:
>>>
>>> On 6/2/2015 12:49 AM, Steve Hay wrote:
>>>>
>>>>
>>>> On 1 June 2015 at 18:59, Gregg Smith<mo...@gmail.com>   wrote:
>>>>>
>>>>>
>>>>> On 5/30/2015 11:20 AM, Steve Hay wrote:
>>>>>>
>>>>>>
>>>>>>
>>>>>> Please download, test, and report back on this release candidate of
>>>>>> the long-awaited mod_perl 2.0.9.
>>>>>>
>>>>>> http://people.apache.org/~stevehay/mod_perl-2.0.9-rc2.tar.gz
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> Server version: Apache/2.4.12 (Win32)
>>>>> Server built:   Mar 19 2015 18:23:40
>>>>> Server loaded:  APR 1.5.1, APR-UTIL 1.5.4
>>>>> Architecture:   32-bit
>>>>> Server MPM:     WinNT
>>>>> All module loaded
>>>>>
>>>>> Test Summary Report
>>>>> -------------------
>>>>> t\filter\both_str_req_proxy.t         (Wstat: 0 Tests: 1 Failed: 1)
>>>>>     Failed test:  1
>>>>> t\modperl\setupenv.t                  (Wstat: 0 Tests: 63 Failed: 6)
>>>>>     Failed tests:  8, 22, 29, 36, 50, 57
>>>>> t\modules\proxy.t                     (Wstat: 65280 Tests: 0 Failed: 0)
>>>>>     Non-zero exit status: 255
>>>>>     Parse errors: Bad plan.  You planned 1 tests but ran 0.
>>>>> t\preconnection\note.t                (Wstat: 0 Tests: 1 Failed: 1)
>>>>>     Failed test:  1
>>>>
>>>>
>>>>
>>>> I get setupenv.t and note.t both failing on one test machine (Windows
>>>> 8.1), but not on my other (Windows 7). I haven't looked into those
>>>> yet.
>>>>
>>>> Can you send verbose output of the both_str_req_proxy.t and proxy.t
>>>> failures? I haven't seen those before.
>>>>
>>>>
>>>>> t\protocol\echo_block.t               (Wstat: 0 Tests: 3 Failed: 2)
>>>>>     Failed tests:  2-3
>>>>> t\protocol\echo_nonblock.t            (Wstat: 0 Tests: 3 Failed: 1)
>>>>>     Failed test:  2
>>>>> t\protocol\echo_timeout.t             (Wstat: 0 Tests: 5 Failed: 4)
>>>>>     Failed tests:  2-5
>>>>> t\protocol\pseudo_http.t              (Wstat: 0 Tests: 13 Failed: 9)
>>>>>     Failed tests:  3-8, 11-13
>>>>
>>>>
>>>>
>>>> These four failures are documented in README as known problems on
>>>> Windows with httpd-2.4. I haven't figured out why they fail yet. They
>>>> work fine on httpd-2.2.
>>>>
>>>> I wondered if they had something to do with APR functions and posted
>>>> here about it but got no reply:
>>>>
>>>>
>>>>
>>>> http://mail-archives.apache.org/mod_mbox/apr-dev/201405.mbox/%3CCADED%3DK5ZNs9vm6k_Uy9S%3DpkjjD%3DjTSJR_cE7HJ7M3-LwD-nONw%40mail.gmail.com%3E
>>>
>>>
>>>
>>>
>>> t\filter\both_str_req_proxy.t ...........
>>> 1..1
>>> # Running under perl version 5.016003 for MSWin32
>>> # Win32::BuildNumber 1604
>>> # Current time local: Tue Jun  2 09:16:48 2015
>>> # Current time GMT:   Tue Jun  2 16:16:48 2015
>>> # Using Test.pm version 1.26
>>> # Using Apache/Test.pm version 1.39
>>> # testing : lc input and reverse output filters
>>> # Failed test 1 in t\filter\both_str_req_proxy.t at line 18
>>> # expected: 'abcdefghijklmnopqrstuvwxyz0123456789'
>>> # received: '<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
>>> #<html><head>
>>> #<title>403 Forbidden</title>
>>> #</head><body>
>>> #<h1>Forbidden</h1>
>>> #<p>You don\'t have permission to access
>>> /TestFilter__both_str_req_proxy/foo
>>> # on this server.<br />
>>> #</p>
>>> #<hr>
>>> #<address>Apache/2.4.12 (Win32) world domination series/2.0
>>> OpenSSL/1.0.1m
>>> mod_perl/2.0.9-rc2 Perl/
>>> v5.16.3 Server at gls3 Port 8529</address>
>>> #</body></html>
>>> # '
>>> not ok 1
>>> Failed 1/1 subtests
>>> t\modules\proxy.t .......................
>>> # connecting to http://GLS3:8538/TestModules__proxy
>>> 1..1
>>> # Running under perl version 5.016003 for MSWin32
>>> # Win32::BuildNumber 1604
>>> # Current time local: Tue Jun  2 09:30:55 2015
>>> # Current time GMT:   Tue Jun  2 16:30:55 2015
>>> # Using Test.pm version 1.26
>>> # Using Apache/Test.pm version 1.39
>>> request has failed (the response code was: 503)
>>> see t/logs/error_log for more details
>>> Dubious, test returned 255 (wstat 65280, 0xff00)
>>> Failed 1/1 subtests
>>>
>>
>> Thanks. Unfortunately, not much to go on there. I wonder if this is
>> related to your Apache not having all modules loaded? If so, could you
>> send me your httpd.conf so that I can see what's missing and try to
>> reproduce the failures myself.
>
>
> No, fresh build w/ all modules loaded. It seems to me however that APR 1.5.1
> may be different to you. IIRC it released after 2.4.12.
>
> httpd.conf is from the 2.4.12 built against.
> t.httpd.conf is the one that was generated by the test.
>
>
>

No, I've got APR 1.5.1 too (and APR-UTIL 1.5.4) - from the
httpd-2.4.12-deps.tar.gz file.

Is there anything more in t/logs/error_log?

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


Re: [RELEASE CANDIDATE]: mod_perl-2.0.9 RC2

Posted by Gregg Smith <mo...@gmail.com>.
On 6/2/2015 10:35 AM, Steve Hay wrote:
> On 2 June 2015 at 17:52, Gregg Smith<mo...@gmail.com>  wrote:
>> On 6/2/2015 12:49 AM, Steve Hay wrote:
>>>
>>> On 1 June 2015 at 18:59, Gregg Smith<mo...@gmail.com>   wrote:
>>>>
>>>> On 5/30/2015 11:20 AM, Steve Hay wrote:
>>>>>
>>>>>
>>>>> Please download, test, and report back on this release candidate of
>>>>> the long-awaited mod_perl 2.0.9.
>>>>>
>>>>> http://people.apache.org/~stevehay/mod_perl-2.0.9-rc2.tar.gz
>>>>
>>>>
>>>>
>>>> Server version: Apache/2.4.12 (Win32)
>>>> Server built:   Mar 19 2015 18:23:40
>>>> Server loaded:  APR 1.5.1, APR-UTIL 1.5.4
>>>> Architecture:   32-bit
>>>> Server MPM:     WinNT
>>>> All module loaded
>>>>
>>>> Test Summary Report
>>>> -------------------
>>>> t\filter\both_str_req_proxy.t         (Wstat: 0 Tests: 1 Failed: 1)
>>>>     Failed test:  1
>>>> t\modperl\setupenv.t                  (Wstat: 0 Tests: 63 Failed: 6)
>>>>     Failed tests:  8, 22, 29, 36, 50, 57
>>>> t\modules\proxy.t                     (Wstat: 65280 Tests: 0 Failed: 0)
>>>>     Non-zero exit status: 255
>>>>     Parse errors: Bad plan.  You planned 1 tests but ran 0.
>>>> t\preconnection\note.t                (Wstat: 0 Tests: 1 Failed: 1)
>>>>     Failed test:  1
>>>
>>>
>>> I get setupenv.t and note.t both failing on one test machine (Windows
>>> 8.1), but not on my other (Windows 7). I haven't looked into those
>>> yet.
>>>
>>> Can you send verbose output of the both_str_req_proxy.t and proxy.t
>>> failures? I haven't seen those before.
>>>
>>>
>>>> t\protocol\echo_block.t               (Wstat: 0 Tests: 3 Failed: 2)
>>>>     Failed tests:  2-3
>>>> t\protocol\echo_nonblock.t            (Wstat: 0 Tests: 3 Failed: 1)
>>>>     Failed test:  2
>>>> t\protocol\echo_timeout.t             (Wstat: 0 Tests: 5 Failed: 4)
>>>>     Failed tests:  2-5
>>>> t\protocol\pseudo_http.t              (Wstat: 0 Tests: 13 Failed: 9)
>>>>     Failed tests:  3-8, 11-13
>>>
>>>
>>> These four failures are documented in README as known problems on
>>> Windows with httpd-2.4. I haven't figured out why they fail yet. They
>>> work fine on httpd-2.2.
>>>
>>> I wondered if they had something to do with APR functions and posted
>>> here about it but got no reply:
>>>
>>>
>>> http://mail-archives.apache.org/mod_mbox/apr-dev/201405.mbox/%3CCADED%3DK5ZNs9vm6k_Uy9S%3DpkjjD%3DjTSJR_cE7HJ7M3-LwD-nONw%40mail.gmail.com%3E
>>
>>
>>
>> t\filter\both_str_req_proxy.t ...........
>> 1..1
>> # Running under perl version 5.016003 for MSWin32
>> # Win32::BuildNumber 1604
>> # Current time local: Tue Jun  2 09:16:48 2015
>> # Current time GMT:   Tue Jun  2 16:16:48 2015
>> # Using Test.pm version 1.26
>> # Using Apache/Test.pm version 1.39
>> # testing : lc input and reverse output filters
>> # Failed test 1 in t\filter\both_str_req_proxy.t at line 18
>> # expected: 'abcdefghijklmnopqrstuvwxyz0123456789'
>> # received: '<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
>> #<html><head>
>> #<title>403 Forbidden</title>
>> #</head><body>
>> #<h1>Forbidden</h1>
>> #<p>You don\'t have permission to access
>> /TestFilter__both_str_req_proxy/foo
>> # on this server.<br />
>> #</p>
>> #<hr>
>> #<address>Apache/2.4.12 (Win32) world domination series/2.0 OpenSSL/1.0.1m
>> mod_perl/2.0.9-rc2 Perl/
>> v5.16.3 Server at gls3 Port 8529</address>
>> #</body></html>
>> # '
>> not ok 1
>> Failed 1/1 subtests
>> t\modules\proxy.t .......................
>> # connecting to http://GLS3:8538/TestModules__proxy
>> 1..1
>> # Running under perl version 5.016003 for MSWin32
>> # Win32::BuildNumber 1604
>> # Current time local: Tue Jun  2 09:30:55 2015
>> # Current time GMT:   Tue Jun  2 16:30:55 2015
>> # Using Test.pm version 1.26
>> # Using Apache/Test.pm version 1.39
>> request has failed (the response code was: 503)
>> see t/logs/error_log for more details
>> Dubious, test returned 255 (wstat 65280, 0xff00)
>> Failed 1/1 subtests
>>
>
> Thanks. Unfortunately, not much to go on there. I wonder if this is
> related to your Apache not having all modules loaded? If so, could you
> send me your httpd.conf so that I can see what's missing and try to
> reproduce the failures myself.

No, fresh build w/ all modules loaded. It seems to me however that APR 
1.5.1 may be different to you. IIRC it released after 2.4.12.

httpd.conf is from the 2.4.12 built against.
t.httpd.conf is the one that was generated by the test.




Re: [RELEASE CANDIDATE]: mod_perl-2.0.9 RC2

Posted by Steve Hay <st...@googlemail.com>.
On 1 June 2015 at 18:59, Gregg Smith <mo...@gmail.com> wrote:
> On 5/30/2015 11:20 AM, Steve Hay wrote:
>>
>> Please download, test, and report back on this release candidate of
>> the long-awaited mod_perl 2.0.9.
>>
>> http://people.apache.org/~stevehay/mod_perl-2.0.9-rc2.tar.gz
>
>
> Server version: Apache/2.4.12 (Win32)
> Server built:   Mar 19 2015 18:23:40
> Server loaded:  APR 1.5.1, APR-UTIL 1.5.4
> Architecture:   32-bit
> Server MPM:     WinNT
> All module loaded
>
> Test Summary Report
> -------------------
> t\filter\both_str_req_proxy.t         (Wstat: 0 Tests: 1 Failed: 1)
>   Failed test:  1
> t\modperl\setupenv.t                  (Wstat: 0 Tests: 63 Failed: 6)
>   Failed tests:  8, 22, 29, 36, 50, 57
> t\modules\proxy.t                     (Wstat: 65280 Tests: 0 Failed: 0)
>   Non-zero exit status: 255
>   Parse errors: Bad plan.  You planned 1 tests but ran 0.
> t\preconnection\note.t                (Wstat: 0 Tests: 1 Failed: 1)
>   Failed test:  1

I get setupenv.t and note.t both failing on one test machine (Windows
8.1), but not on my other (Windows 7). I haven't looked into those
yet.

Can you send verbose output of the both_str_req_proxy.t and proxy.t
failures? I haven't seen those before.


> t\protocol\echo_block.t               (Wstat: 0 Tests: 3 Failed: 2)
>   Failed tests:  2-3
> t\protocol\echo_nonblock.t            (Wstat: 0 Tests: 3 Failed: 1)
>   Failed test:  2
> t\protocol\echo_timeout.t             (Wstat: 0 Tests: 5 Failed: 4)
>   Failed tests:  2-5
> t\protocol\pseudo_http.t              (Wstat: 0 Tests: 13 Failed: 9)
>   Failed tests:  3-8, 11-13

These four failures are documented in README as known problems on
Windows with httpd-2.4. I haven't figured out why they fail yet. They
work fine on httpd-2.2.

I wondered if they had something to do with APR functions and posted
here about it but got no reply:

http://mail-archives.apache.org/mod_mbox/apr-dev/201405.mbox/%3CCADED%3DK5ZNs9vm6k_Uy9S%3DpkjjD%3DjTSJR_cE7HJ7M3-LwD-nONw%40mail.gmail.com%3E

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


Re: [RELEASE CANDIDATE]: mod_perl-2.0.9 RC2

Posted by Gregg Smith <mo...@gmail.com>.
On 5/30/2015 11:20 AM, Steve Hay wrote:
> Please download, test, and report back on this release candidate of
> the long-awaited mod_perl 2.0.9.
>
> http://people.apache.org/~stevehay/mod_perl-2.0.9-rc2.tar.gz

Server version: Apache/2.4.12 (Win32)
Server built:   Mar 19 2015 18:23:40
Server loaded:  APR 1.5.1, APR-UTIL 1.5.4
Architecture:   32-bit
Server MPM:     WinNT
All module loaded

Test Summary Report
-------------------
t\filter\both_str_req_proxy.t         (Wstat: 0 Tests: 1 Failed: 1)
   Failed test:  1
t\modperl\setupenv.t                  (Wstat: 0 Tests: 63 Failed: 6)
   Failed tests:  8, 22, 29, 36, 50, 57
t\modules\proxy.t                     (Wstat: 65280 Tests: 0 Failed: 0)
   Non-zero exit status: 255
   Parse errors: Bad plan.  You planned 1 tests but ran 0.
t\preconnection\note.t                (Wstat: 0 Tests: 1 Failed: 1)
   Failed test:  1
t\protocol\echo_block.t               (Wstat: 0 Tests: 3 Failed: 2)
   Failed tests:  2-3
t\protocol\echo_nonblock.t            (Wstat: 0 Tests: 3 Failed: 1)
   Failed test:  2
t\protocol\echo_timeout.t             (Wstat: 0 Tests: 5 Failed: 4)
   Failed tests:  2-5
t\protocol\pseudo_http.t              (Wstat: 0 Tests: 13 Failed: 9)
   Failed tests:  3-8, 11-13
Files=245, Tests=2902, 1675 wallclock secs ( 4.01 usr +  1.40 sys = 
5.41 CPU)
Result: FAIL
Failed 8/245 test programs. 24/2902 subtests failed.
[warning] server GLS3:8529 shutdown
[  error] error running tests (please examine t\logs\error_log)


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


Re: [RELEASE CANDIDATE]: mod_perl-2.0.9 RC2

Posted by Jie Gao <J....@sydney.edu.au>.
> cat /etc/issue
Red Hat Enterprise Linux Server release 6.6 (Santiago)
Kernel \r on an \m

> uname -a 
Linux xxx 2.6.32-504.16.2.el6.x86_64 #1 SMP Tue Mar 10 17:01:00 EDT 2015 x86_64 x86_64 x86_64 GNU/Linux

> perl -V
Summary of my perl5 (revision 5 version 20 subversion 2) configuration:
   
  Platform:
    osname=linux, osvers=2.6.32-504.12.2.el6.x86_64, archname=x86_64-linux-thread-multi
    uname='linux xxxxx 2.6.32-504.12.2.el6.x86_64 #1 smp sun feb 1 12:14:02 est 2015 x86_64 x86_64 x86_64 gnulinux '
    config_args='-Dcc=gcc -Dusethreads -Dprefix=/usr/local -des -A ccflags=-fPIC'
    hint=recommended, useposix=true, d_sigaction=define
    useithreads=define, usemultiplicity=define
    use64bitint=define, use64bitall=define, uselongdouble=undef
    usemymalloc=n, bincompat5005=undef
  Compiler:
    cc='gcc', ccflags ='-D_REENTRANT -D_GNU_SOURCE -fPIC -fwrapv -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',
    optimize='-O2',
    cppflags='-D_REENTRANT -D_GNU_SOURCE -fPIC -fwrapv -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include'
    ccversion='', gccversion='4.4.7 20120313 (Red Hat 4.4.7-11)', gccosandvers=''
    intsize=4, longsize=8, ptrsize=8, doublesize=8, byteorder=12345678
    d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=16
    ivtype='long', ivsize=8, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=8
    alignbytes=8, prototype=define
  Linker and Libraries:
    ld='gcc', ldflags =' -fstack-protector -L/usr/local/lib'
    libpth=/usr/local/lib /usr/lib /lib/../lib64 /usr/lib/../lib64 /lib /lib64 /usr/lib64 /usr/local/lib64
    libs=-lnsl -lgdbm -ldb -ldl -lm -lcrypt -lutil -lpthread -lc
    perllibs=-lnsl -ldl -lm -lcrypt -lutil -lpthread -lc
    libc=libc-2.12.so, so=so, useshrplib=false, libperl=libperl.a
    gnulibc_version='2.12'
  Dynamic Linking:
    dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-Wl,-E'
    cccdlflags='-fPIC', lddlflags='-shared -O2 -L/usr/local/lib -fstack-protector'


Characteristics of this binary (from libperl): 
  Compile-time options: HAS_TIMES MULTIPLICITY PERLIO_LAYERS
                        PERL_DONT_CREATE_GVSV
                        PERL_HASH_FUNC_ONE_AT_A_TIME_HARD
                        PERL_IMPLICIT_CONTEXT PERL_MALLOC_WRAP
                        PERL_NEW_COPY_ON_WRITE PERL_PRESERVE_IVUV
                        USE_64_BIT_ALL USE_64_BIT_INT USE_ITHREADS
                        USE_LARGE_FILES USE_LOCALE USE_LOCALE_COLLATE
                        USE_LOCALE_CTYPE USE_LOCALE_NUMERIC USE_PERLIO
                        USE_PERL_ATOF USE_REENTRANT_API
  Built under linux
  Compiled at Mar 27 2015 14:50:02
  @INC:
    /usr/local/lib/perl5/site_perl/5.20.2/x86_64-linux-thread-multi
    /usr/local/lib/perl5/site_perl/5.20.2
    /usr/local/lib/perl5/5.20.2/x86_64-linux-thread-multi
    /usr/local/lib/perl5/5.20.2
    /usr/local/lib/perl5/site_perl/5.18.2
    /usr/local/lib/perl5/site_perl/5.18.0
    /usr/local/lib/perl5/site_perl

All tests successful for "make test".

No errors loading external modules.



Regards,

Jie 

Please think of our environment and only print this e-mail if necessary.

* Steve Hay <st...@googlemail.com> wrote:

> Date: Sat, 30 May 2015 19:20:34 +0100
> From: Steve Hay <st...@googlemail.com>
> To: dev@perl.apache.org, "modperl@perl.apache.org" <mo...@perl.apache.org>
> Subject: [RELEASE CANDIDATE]: mod_perl-2.0.9 RC2
> 
> Please download, test, and report back on this release candidate of
> the long-awaited mod_perl 2.0.9.
> 
> http://people.apache.org/~stevehay/mod_perl-2.0.9-rc2.tar.gz
> 
> MD5 = 6dbf61e0724a245f1c015687fb3e4213
> SHA1 = faf63c98b338ef0373ccbbe775c52506270ff3b9
> 
> Changes since RC1:
> 
> Remove PerlInterpScope. This has not been working properly with
> threaded MPMs with httpd-2.4.x and the use-case of this directive was
> questionable. [Jan Kaluza]
> 
> Allow running the test suite with httpd-2.4.x when mod_access_compat
> is not loaded. [Steve Hay]
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@perl.apache.org
> For additional commands, e-mail: dev-help@perl.apache.org
> 

Re: [RELEASE CANDIDATE]: mod_perl-2.0.9 RC2

Posted by Vincent Veyron <vv...@wanadoo.fr>.
On Sat, 30 May 2015 19:20:34 +0100
Steve Hay <st...@googlemail.com> wrote:

> Please download, test, and report back on this release candidate of
> the long-awaited mod_perl 2.0.9.
> 

Results on Debian Jessie :

Test Summary Report
-------------------
t/apache/util.t                       (Wstat: 0 Tests: 8 Failed: 4)
  Failed tests:  1-4
t/filter/in_str_declined.t            (Wstat: 0 Tests: 0 Failed: 0)
  Parse errors: Bad plan.  You planned 2 tests but ran 0.
Files=245, Tests=2481, 248 wallclock secs ( 1.61 usr  0.42 sys + 157.02 cusr 28.37 csys = 187.42 CPU)
Result: FAIL
Failed 2/245 test programs. 4/2481 subtests failed.
[warning] server localhost:8529 shutdown
[warning] port 8529 still in use...
...done
[  error] error running tests (please examine t/logs/error_log)
+--------------------------------------------------------+
| Please file a bug report: http://perl.apache.org/bugs/ |
+--------------------------------------------------------+
Makefile:1106: recipe for target 'run_tests' failed
make: *** [run_tests] Error 1


httpd -v
Server version: Apache/2.4.12 (Unix)
Server built:   Jun  2 2015 21:56:05

perl -V 
Summary of my perl5 (revision 5 version 20 subversion 2) configuration:
   
  Platform:
    osname=linux, osvers=3.2.0-4-amd64, archname=i586-linux-gnu-thread-multi-64int
    uname='linux binet 3.2.0-4-amd64 #1 smp debian 3.2.65-1+deb7u2 i686 gnulinux '
    config_args='-Dusethreads -Duselargefiles -Dccflags=-DDEBIAN -D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Dldflags= -Wl,-z,relro -Dlddlflags=-shared -Wl,-z,relro -Dcccdlflags=-fPIC -Darchname=i586-linux-gnu -Dprefix=/usr -Dprivlib=/usr/share/perl/5.20 -Darchlib=/usr/lib/i386-linux-gnu/perl/5.20 -Dvendorprefix=/usr -Dvendorlib=/usr/share/perl5 -Dvendorarch=/usr/lib/i386-linux-gnu/perl5/5.20 -Dsiteprefix=/usr/local -Dsitelib=/usr/local/share/perl/5.20.2 -Dsitearch=/usr/local/lib/i386-linux-gnu/perl/5.20.2 -Dman1dir=/usr/share/man/man1 -Dman3dir=/usr/share/man/man3 -Dsiteman1dir=/usr/local/man/man1 -Dsiteman3dir=/usr/local/man/man3 -Duse64bitint -Dman1ext=1 -Dman3ext=3perl -Dpager=/usr/bin/sensible-pager -Uafs -Ud_csh -Ud_ualarm -Uusesfio -Uusenm -Ui_libutil -Uversiononly -DDEBUGGING=-g -Doptimize=-O2 -Duseshrplib -Dlibperl=libperl.so.5.20.2 -des'
    hint=recommended, useposix=true, d_sigaction=define
    useithreads=define, usemultiplicity=define
    use64bitint=define, use64bitall=undef, uselongdouble=undef
    usemymalloc=n, bincompat5005=undef
  Compiler:
    cc='cc', ccflags ='-D_REENTRANT -D_GNU_SOURCE -DDEBIAN -fwrapv -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',
    optimize='-O2 -g',
    cppflags='-D_REENTRANT -D_GNU_SOURCE -DDEBIAN -fwrapv -fno-strict-aliasing -pipe -I/usr/local/include'
    ccversion='', gccversion='4.9.2', gccosandvers=''
    intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=12345678
    d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=12
    ivtype='long long', ivsize=8, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=8
    alignbytes=4, prototype=define
  Linker and Libraries:
    ld='cc', ldflags =' -fstack-protector -L/usr/local/lib'
    libpth=/usr/local/lib /usr/lib/gcc/i586-linux-gnu/4.9/include-fixed /usr/include/i386-linux-gnu /usr/lib /lib/i386-linux-gnu /lib/../lib /usr/lib/i386-linux-gnu /usr/lib/../lib /lib
    libs=-lgdbm -lgdbm_compat -ldb -ldl -lm -lpthread -lc -lcrypt
    perllibs=-ldl -lm -lpthread -lc -lcrypt
    libc=libc-2.19.so, so=so, useshrplib=true, libperl=libperl.so.5.20
    gnulibc_version='2.19'
  Dynamic Linking:
    dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-Wl,-E'
    cccdlflags='-fPIC', lddlflags='-shared -L/usr/local/lib -fstack-protector'


Characteristics of this binary (from libperl): 
  Compile-time options: HAS_TIMES MULTIPLICITY PERLIO_LAYERS
                        PERL_DONT_CREATE_GVSV
                        PERL_HASH_FUNC_ONE_AT_A_TIME_HARD
                        PERL_IMPLICIT_CONTEXT PERL_MALLOC_WRAP
                        PERL_NEW_COPY_ON_WRITE PERL_PRESERVE_IVUV
                        USE_64_BIT_INT USE_ITHREADS USE_LARGE_FILES
                        USE_LOCALE USE_LOCALE_COLLATE USE_LOCALE_CTYPE
                        USE_LOCALE_NUMERIC USE_PERLIO USE_PERL_ATOF
                        USE_REENTRANT_API
  Locally applied patches:
	DEBPKG:debian/cpan_definstalldirs - Provide a sensible INSTALLDIRS default for modules installed from CPAN.
	DEBPKG:debian/db_file_ver - http://bugs.debian.org/340047 Remove overly restrictive DB_File version check.
	DEBPKG:debian/doc_info - Replace generic man(1) instructions with Debian-specific information.
	DEBPKG:debian/enc2xs_inc - http://bugs.debian.org/290336 Tweak enc2xs to follow symlinks and ignore missing @INC directories.
	DEBPKG:debian/errno_ver - http://bugs.debian.org/343351 Remove Errno version check due to upgrade problems with long-running processes.
	DEBPKG:debian/libperl_embed_doc - http://bugs.debian.org/186778 Note that libperl-dev package is required for embedded linking
	DEBPKG:fixes/respect_umask - Respect umask during installation
	DEBPKG:debian/writable_site_dirs - Set umask approproately for site install directories
	DEBPKG:debian/extutils_set_libperl_path - EU:MM: set location of libperl.a under /usr/lib
	DEBPKG:debian/no_packlist_perllocal - Don't install .packlist or perllocal.pod for perl or vendor
	DEBPKG:debian/prefix_changes - Fiddle with *PREFIX and variables written to the makefile
	DEBPKG:debian/fakeroot - Postpone LD_LIBRARY_PATH evaluation to the binary targets.
	DEBPKG:debian/instmodsh_doc - Debian policy doesn't install .packlist files for core or vendor.
	DEBPKG:debian/ld_run_path - Remove standard libs from LD_RUN_PATH as per Debian policy.
	DEBPKG:debian/libnet_config_path - Set location of libnet.cfg to /etc/perl/Net as /usr may not be writable.
	DEBPKG:debian/mod_paths - Tweak @INC ordering for Debian
	DEBPKG:debian/module_build_man_extensions - http://bugs.debian.org/479460 Adjust Module::Build manual page extensions for the Debian Perl policy
	DEBPKG:debian/prune_libs - http://bugs.debian.org/128355 Prune the list of libraries wanted to what we actually need.
	DEBPKG:fixes/net_smtp_docs - [rt.cpan.org #36038] http://bugs.debian.org/100195 Document the Net::SMTP 'Port' option
	DEBPKG:debian/perlivp - http://bugs.debian.org/510895 Make perlivp skip include directories in /usr/local
	DEBPKG:debian/deprecate-with-apt - http://bugs.debian.org/747628 Point users to Debian packages of deprecated core modules
	DEBPKG:debian/squelch-locale-warnings - http://bugs.debian.org/508764 Squelch locale warnings in Debian package maintainer scripts
	DEBPKG:debian/skip-upstream-git-tests - Skip tests specific to the upstream Git repository
	DEBPKG:debian/patchlevel - http://bugs.debian.org/567489 List packaged patches for 5.20.2-3 in patchlevel.h
	DEBPKG:debian/skip-kfreebsd-crash - http://bugs.debian.org/628493 [perl #96272] Skip a crashing test case in t/op/threads.t on GNU/kFreeBSD
	DEBPKG:fixes/document_makemaker_ccflags - http://bugs.debian.org/628522 [rt.cpan.org #68613] Document that CCFLAGS should include $Config{ccflags}
	DEBPKG:debian/find_html2text - http://bugs.debian.org/640479 Configure CPAN::Distribution with correct name of html2text
	DEBPKG:debian/perl5db-x-terminal-emulator.patch - http://bugs.debian.org/668490 Invoke x-terminal-emulator rather than xterm in perl5db.pl
	DEBPKG:debian/cpan-missing-site-dirs - http://bugs.debian.org/688842 Fix CPAN::FirstTime defaults with nonexisting site dirs if a parent is writable
	DEBPKG:fixes/memoize_storable_nstore - [rt.cpan.org #77790] http://bugs.debian.org/587650 Memoize::Storable: respect 'nstore' option not respected
	DEBPKG:debian/regen-skip - Skip a regeneration check in unrelated git repositories
	DEBPKG:fixes/regcomp-mips-optim - [perl #122817] http://bugs.debian.org/754054 Downgrade the optimization of regcomp.c on mips and mipsel due to a gcc-4.9 bug
	DEBPKG:debian/makemaker-pasthru - http://bugs.debian.org/758471 Pass LD settings through to subdirectories
	DEBPKG:fixes/perldoc-less-R - [rt.cpan.org #98636] http://bugs.debian.org/758689 Tell the 'less' pager to allow terminal escape sequences
	DEBPKG:fixes/pod_man_reproducible_date - http://bugs.debian.org/759405 Support POD_MAN_DATE in Pod::Man for the left-hand footer
	DEBPKG:fixes/io_uncompress_gunzip_inmemory - http://bugs.debian.org/747363 [rt.cpan.org #95494] Fix gunzip to in-memory file handle
	DEBPKG:fixes/socket_test_recv_fix - http://bugs.debian.org/758718 [perl #122657] Compare recv return value to peername in socket test
	DEBPKG:fixes/hurd_socket_recv_todo - http://bugs.debian.org/758718 [perl #122657] TODO checking the result of recv() on hurd
	DEBPKG:fixes/regexp-performance - [0fa70a0] http://bugs.debian.org/777556 [perl #123743] simpify and speed up /.*.../ handling
	DEBPKG:fixes/failed_require_diagnostics - http://bugs.debian.org/781120 [perl #123270] Report inaccesible file on failed require
  Built under linux
  Compiled at Mar 29 2015 23:30:09
  @INC:
    /etc/perl
    /usr/local/lib/i386-linux-gnu/perl/5.20.2
    /usr/local/share/perl/5.20.2
    /usr/lib/i386-linux-gnu/perl5/5.20
    /usr/share/perl5
    /usr/lib/i386-linux-gnu/perl/5.20
    /usr/share/perl/5.20
    /usr/local/lib/site_perl
    .



-- 
					Salutations, Vincent Veyron 

https://marica.fr/
Gestion des contentieux, des dossiers de sinistres assurance et des contrats pour le service juridique

Re: [RELEASE CANDIDATE]: mod_perl-2.0.9 RC2

Posted by olli hauer <oh...@gmx.de>.
On 2015-05-30 20:20, Steve Hay wrote:
> Please download, test, and report back on this release candidate of
> the long-awaited mod_perl 2.0.9.
> 
> http://people.apache.org/~stevehay/mod_perl-2.0.9-rc2.tar.gz
> 
> MD5 = 6dbf61e0724a245f1c015687fb3e4213
> SHA1 = faf63c98b338ef0373ccbbe775c52506270ff3b9
> 
> Changes since RC1:
> 
> Remove PerlInterpScope. This has not been working properly with
> threaded MPMs with httpd-2.4.x and the use-case of this directive was
> questionable. [Jan Kaluza]
> 
> Allow running the test suite with httpd-2.4.x when mod_access_compat
> is not loaded. [Steve Hay]


Test system: FreeBSD-10.1 (x64), perl-5.20.2, apr-1.5.2, apr-util-1.5.4


using Apache/2.4.12 (event MPM)
...
Test Summary Report
-------------------
t/api/aplog.t                         (Wstat: 0 Tests: 36 Failed: 1)
  Failed test:  24
Files=245, Tests=2834, 180 wallclock secs ( 1.10 usr  0.38 sys + 128.39 cusr 35.48 csys = 165.36 CPU)
Result: FAIL
Failed 1/245 test programs. 1/2834 subtests failed.


using Apache/2.4.12 (prefork MPM)
...
Test Summary Report
-------------------
t/api/aplog.t                         (Wstat: 0 Tests: 36 Failed: 1)
  Failed test:  24
Files=245, Tests=2850, 184 wallclock secs ( 1.04 usr  0.46 sys + 128.05 cusr 35.77 csys = 165.31 CPU)
Result: FAIL
Failed 1/245 test programs. 1/2850 subtests failed.


using Apache/2.4.12 (worker MPM)
...
Test Summary Report
-------------------
t/api/aplog.t                         (Wstat: 0 Tests: 36 Failed: 1)
  Failed test:  24
Files=245, Tests=2866, 179 wallclock secs ( 1.10 usr  0.41 sys + 127.88 cusr 35.87 csys = 165.26 CPU)
Result: FAIL
Failed 1/245 test programs. 1/2866 subtests failed.


using Apache/2.2.29 (prefork MPM)
...
Test Summary Report
-------------------
t/api/aplog.t                         (Wstat: 0 Tests: 36 Failed: 1)
  Failed test:  24
Files=245, Tests=2695, 225 wallclock secs ( 1.80 usr  0.72 sys + 167.06 cusr 36.84 csys = 206.42 CPU)
Result: FAIL
Failed 1/245 test programs. 1/2695 subtests failed.


using Apache/2.2.29 (event MPM)
...
Test Summary Report
-------------------
t/api/aplog.t                         (Wstat: 0 Tests: 36 Failed: 1)
  Failed test:  24
Files=245, Tests=2667, 220 wallclock secs ( 1.85 usr  0.67 sys + 167.34 cusr 36.51 csys = 206.37 CPU)
Result: FAIL
Failed 1/245 test programs. 1/2667 subtests failed.


using Apache/2.2.29 (worker MPM)
...
Test Summary Report
-------------------
t/api/aplog.t                         (Wstat: 0 Tests: 36 Failed: 1)
  Failed test:  24
Files=245, Tests=2712, 220 wallclock secs ( 1.84 usr  0.70 sys + 167.43 cusr 36.64 csys = 206.60 CPU)
Result: FAIL
Failed 1/245 test programs. 1/2712 subtests failed.


Re: [RELEASE CANDIDATE]: mod_perl-2.0.9 RC2

Posted by Fred Moyer <fr...@redhotpenguin.com>.
On Mon, Jun 1, 2015 at 12:46 AM, Jan Kaluža <jk...@redhat.com> wrote:

> Any ideas someone?

I'm seeing this also. httpd-2.4.12, perl 5.20.1, Centos 6.5.

So far I haven't been able to extract the same errors from the logs
though using TEST_VERBOSE=1


> On 05/31/2015 03:12 AM, Kevin A. McGrail wrote:
>>
>> On 5/30/2015 2:20 PM, Steve Hay wrote:
>>>
>>> Please download, test, and report back on this release candidate of
>>> the long-awaited mod_perl 2.0.9.
>>>
>>> http://people.apache.org/~stevehay/mod_perl-2.0.9-rc2.tar.gz
>>>
>>> MD5 = 6dbf61e0724a245f1c015687fb3e4213
>>> SHA1 = faf63c98b338ef0373ccbbe775c52506270ff3b9
>>>
>>> Changes since RC1:
>>>
>>> Remove PerlInterpScope. This has not been working properly with
>>> threaded MPMs with httpd-2.4.x and the use-case of this directive was
>>> questionable. [Jan Kaluza]
>>>
>>> Allow running the test suite with httpd-2.4.x when mod_access_compat
>>> is not loaded. [Steve Hay]
>>
>> The test suite finished with one failure against 2.4.12 on my test rig:
>>
>> Test Summary Report
>> -------------------
>> t/api/aplog.t                         (Wstat: 0 Tests: 36 Failed: 1)
>>    Failed test:  24
>> Files=245, Tests=4646, 304 wallclock secs ( 3.34 usr  0.49 sys + 227.74
>> cusr 50.53 csys = 282.10 CPU)
>> Result: FAIL
>> Failed 1/245 test programs. 1/4646 subtests failed.
>> [warning] server localhost.localdomain:8529 shutdown
>> [warning] port 8529 still in use...
>> ...done
>> [  error] error running tests (please examine t/logs/error_log)
>> +--------------------------------------------------------+
>> | Please file a bug report: http://perl.apache.org/bugs/ |
>> +--------------------------------------------------------+
>> Makefile:1112: recipe for target 'run_tests' failed
>> make: *** [run_tests] Error 1
>>
>>
>>
>> Repeating with TEST_VERBOSE=1 added...  Here's the relevant output:
>>
>> ok 23
>> # testing : $s->log_serror(LOG_MARK, LOG_DEBUG, APR::Const::EGENERAL...)
>> # expected: qr/(?^:Internal error: log_serror test 2)/
>> # received: '
>> # *** The following warn entry is expected and harmless ***
>> # [Sat May 30 21:04:59.085379 2015] [perl:debug] [pid 9642:tid 3076]
>> aplog.pm(90): (20014)Internal error (specific information not
>> available): log_serror test 2
>> # '
>> not ok 24
>> # testing : $r->log_rerror(LOG_MARK, LOG_CRIT, APR::Const::ENOTIME...)
>> # expected: qr/(?^:\[\w*:crit\] \[pid[^]]+\] .*?: \[[^]]+\] log_rerror
>> test)/
>> # received: '# Failed test 24 in
>> /usr/src/mod_perl-2.0.9-rc2/t/response/TestAPI/aplog.pm at line 92
>> #
>> # *** The following error entry is expected and harmless ***
>> # [Sat May 30 21:04:59.086325 2015] [perl:crit] [pid 9642:tid 3076]
>> (20007)No time was provided and one was required.: [client
>> 127.0.0.1:56778] log_rerror test
>> # '
>> ok 25
>> # testing : $r->log_error(...)
>> # expected: qr/(?^:\[\w*:error\] \[pid[^]]+\] \$r->log_error test)/
>> # received: '
>> # *** The following error entry is expected and harmless ***
>> # [Sat May 30 21:04:59.087329 2015] [:error] [pid 9642:tid 3076]
>> $r->log_error test
>> # '
>>
>
> Hm, I don't see this fail on my machines. It's strange, because the log line
> looks quite similar to yours:
>
> *** The following error entry is expected and harmless ***
> [Mon Jun 01 09:40:54.402616 2015] [perl:crit] [pid 26515:tid
> 140439323637504] (20007)No time was provided and one was required.: [client
> 127.0.0.1:46822] log_rerror test
>
> Anyway, there has to be something wrong with the regexp matching this log
> line:
>
>     if (APACHE24) {
>         ok t_cmp $logdiff->diff,
>             qr/\[\w*:crit\] \[pid[^]]+\] .*?: \[[^]]+\] log_rerror test/,
>             '$r->log_rerror(LOG_MARK, LOG_CRIT, APR::Const::ENOTIME...)';
>     }
>     else {
>         ok t_cmp $logdiff->diff,
>             qr/\[crit\] .*?: log_rerror test/,
>             '$r->log_rerror(LOG_MARK, LOG_CRIT, APR::Const::ENOTIME...)';
>     }
>
> Any ideas someone?
>
> Regards,
> Jan Kaluza
>
>
>> Anything else I can do/provide to help fix?
>>
>> regards,
>> KAM
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe@perl.apache.org
>> For additional commands, e-mail: dev-help@perl.apache.org
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@perl.apache.org
> For additional commands, e-mail: dev-help@perl.apache.org
>

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


Re: [RELEASE CANDIDATE]: mod_perl-2.0.9 RC2

Posted by Jan Kaluža <jk...@redhat.com>.
On 05/31/2015 03:12 AM, Kevin A. McGrail wrote:
> On 5/30/2015 2:20 PM, Steve Hay wrote:
>> Please download, test, and report back on this release candidate of
>> the long-awaited mod_perl 2.0.9.
>>
>> http://people.apache.org/~stevehay/mod_perl-2.0.9-rc2.tar.gz
>>
>> MD5 = 6dbf61e0724a245f1c015687fb3e4213
>> SHA1 = faf63c98b338ef0373ccbbe775c52506270ff3b9
>>
>> Changes since RC1:
>>
>> Remove PerlInterpScope. This has not been working properly with
>> threaded MPMs with httpd-2.4.x and the use-case of this directive was
>> questionable. [Jan Kaluza]
>>
>> Allow running the test suite with httpd-2.4.x when mod_access_compat
>> is not loaded. [Steve Hay]
> The test suite finished with one failure against 2.4.12 on my test rig:
>
> Test Summary Report
> -------------------
> t/api/aplog.t                         (Wstat: 0 Tests: 36 Failed: 1)
>    Failed test:  24
> Files=245, Tests=4646, 304 wallclock secs ( 3.34 usr  0.49 sys + 227.74
> cusr 50.53 csys = 282.10 CPU)
> Result: FAIL
> Failed 1/245 test programs. 1/4646 subtests failed.
> [warning] server localhost.localdomain:8529 shutdown
> [warning] port 8529 still in use...
> ...done
> [  error] error running tests (please examine t/logs/error_log)
> +--------------------------------------------------------+
> | Please file a bug report: http://perl.apache.org/bugs/ |
> +--------------------------------------------------------+
> Makefile:1112: recipe for target 'run_tests' failed
> make: *** [run_tests] Error 1
>
>
>
> Repeating with TEST_VERBOSE=1 added...  Here's the relevant output:
>
> ok 23
> # testing : $s->log_serror(LOG_MARK, LOG_DEBUG, APR::Const::EGENERAL...)
> # expected: qr/(?^:Internal error: log_serror test 2)/
> # received: '
> # *** The following warn entry is expected and harmless ***
> # [Sat May 30 21:04:59.085379 2015] [perl:debug] [pid 9642:tid 3076]
> aplog.pm(90): (20014)Internal error (specific information not
> available): log_serror test 2
> # '
> not ok 24
> # testing : $r->log_rerror(LOG_MARK, LOG_CRIT, APR::Const::ENOTIME...)
> # expected: qr/(?^:\[\w*:crit\] \[pid[^]]+\] .*?: \[[^]]+\] log_rerror
> test)/
> # received: '# Failed test 24 in
> /usr/src/mod_perl-2.0.9-rc2/t/response/TestAPI/aplog.pm at line 92
> #
> # *** The following error entry is expected and harmless ***
> # [Sat May 30 21:04:59.086325 2015] [perl:crit] [pid 9642:tid 3076]
> (20007)No time was provided and one was required.: [client
> 127.0.0.1:56778] log_rerror test
> # '
> ok 25
> # testing : $r->log_error(...)
> # expected: qr/(?^:\[\w*:error\] \[pid[^]]+\] \$r->log_error test)/
> # received: '
> # *** The following error entry is expected and harmless ***
> # [Sat May 30 21:04:59.087329 2015] [:error] [pid 9642:tid 3076]
> $r->log_error test
> # '
>

Hm, I don't see this fail on my machines. It's strange, because the log 
line looks quite similar to yours:

*** The following error entry is expected and harmless ***
[Mon Jun 01 09:40:54.402616 2015] [perl:crit] [pid 26515:tid 
140439323637504] (20007)No time was provided and one was required.: 
[client 127.0.0.1:46822] log_rerror test

Anyway, there has to be something wrong with the regexp matching this 
log line:

     if (APACHE24) {
         ok t_cmp $logdiff->diff,
             qr/\[\w*:crit\] \[pid[^]]+\] .*?: \[[^]]+\] log_rerror test/,
             '$r->log_rerror(LOG_MARK, LOG_CRIT, APR::Const::ENOTIME...)';
     }
     else {
         ok t_cmp $logdiff->diff,
             qr/\[crit\] .*?: log_rerror test/,
             '$r->log_rerror(LOG_MARK, LOG_CRIT, APR::Const::ENOTIME...)';
     }

Any ideas someone?

Regards,
Jan Kaluza

> Anything else I can do/provide to help fix?
>
> regards,
> KAM
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@perl.apache.org
> For additional commands, e-mail: dev-help@perl.apache.org
>


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


Re: [RELEASE CANDIDATE]: mod_perl-2.0.9 RC2

Posted by Steve Hay <st...@googlemail.com>.
On 31 May 2015 at 02:12, Kevin A. McGrail <KM...@pccc.com> wrote:
> ok 23
> # testing : $s->log_serror(LOG_MARK, LOG_DEBUG, APR::Const::EGENERAL...)
> # expected: qr/(?^:Internal error: log_serror test 2)/
> # received: '
> # *** The following warn entry is expected and harmless ***
> # [Sat May 30 21:04:59.085379 2015] [perl:debug] [pid 9642:tid 3076]
> aplog.pm(90): (20014)Internal error (specific information not available):
> log_serror test 2
> # '
> not ok 24
> # testing : $r->log_rerror(LOG_MARK, LOG_CRIT, APR::Const::ENOTIME...)
> # expected: qr/(?^:\[\w*:crit\] \[pid[^]]+\] .*?: \[[^]]+\] log_rerror
> test)/
> # received: '# Failed test 24 in
> /usr/src/mod_perl-2.0.9-rc2/t/response/TestAPI/aplog.pm at line 92
> #
> # *** The following error entry is expected and harmless ***
> # [Sat May 30 21:04:59.086325 2015] [perl:crit] [pid 9642:tid 3076]
> (20007)No time was provided and one was required.: [client 127.0.0.1:56778]
> log_rerror test
> # '

Weird. I don't see this on my system, although I see that many other
people are reporting the same problem.

I really don't know why the test fails given that what it says it
received DOES match what it says it's expecting!?

Re: [RELEASE CANDIDATE]: mod_perl-2.0.9 RC2

Posted by Jan Kaluža <jk...@redhat.com>.
On 05/31/2015 03:12 AM, Kevin A. McGrail wrote:
> On 5/30/2015 2:20 PM, Steve Hay wrote:
>> Please download, test, and report back on this release candidate of
>> the long-awaited mod_perl 2.0.9.
>>
>> http://people.apache.org/~stevehay/mod_perl-2.0.9-rc2.tar.gz
>>
>> MD5 = 6dbf61e0724a245f1c015687fb3e4213
>> SHA1 = faf63c98b338ef0373ccbbe775c52506270ff3b9
>>
>> Changes since RC1:
>>
>> Remove PerlInterpScope. This has not been working properly with
>> threaded MPMs with httpd-2.4.x and the use-case of this directive was
>> questionable. [Jan Kaluza]
>>
>> Allow running the test suite with httpd-2.4.x when mod_access_compat
>> is not loaded. [Steve Hay]
> The test suite finished with one failure against 2.4.12 on my test rig:

Hi,

what perl version did you use, please? It seems that Perl version is the 
only common thing between people for who that test fails and for who it 
works.

Regards,
Jan Kaluza

> Test Summary Report
> -------------------
> t/api/aplog.t                         (Wstat: 0 Tests: 36 Failed: 1)
>    Failed test:  24
> Files=245, Tests=4646, 304 wallclock secs ( 3.34 usr  0.49 sys + 227.74
> cusr 50.53 csys = 282.10 CPU)
> Result: FAIL
> Failed 1/245 test programs. 1/4646 subtests failed.
> [warning] server localhost.localdomain:8529 shutdown
> [warning] port 8529 still in use...
> ...done
> [  error] error running tests (please examine t/logs/error_log)
> +--------------------------------------------------------+
> | Please file a bug report: http://perl.apache.org/bugs/ |
> +--------------------------------------------------------+
> Makefile:1112: recipe for target 'run_tests' failed
> make: *** [run_tests] Error 1
>
>
>
> Repeating with TEST_VERBOSE=1 added...  Here's the relevant output:
>
> ok 23
> # testing : $s->log_serror(LOG_MARK, LOG_DEBUG, APR::Const::EGENERAL...)
> # expected: qr/(?^:Internal error: log_serror test 2)/
> # received: '
> # *** The following warn entry is expected and harmless ***
> # [Sat May 30 21:04:59.085379 2015] [perl:debug] [pid 9642:tid 3076]
> aplog.pm(90): (20014)Internal error (specific information not
> available): log_serror test 2
> # '
> not ok 24
> # testing : $r->log_rerror(LOG_MARK, LOG_CRIT, APR::Const::ENOTIME...)
> # expected: qr/(?^:\[\w*:crit\] \[pid[^]]+\] .*?: \[[^]]+\] log_rerror
> test)/
> # received: '# Failed test 24 in
> /usr/src/mod_perl-2.0.9-rc2/t/response/TestAPI/aplog.pm at line 92
> #
> # *** The following error entry is expected and harmless ***
> # [Sat May 30 21:04:59.086325 2015] [perl:crit] [pid 9642:tid 3076]
> (20007)No time was provided and one was required.: [client
> 127.0.0.1:56778] log_rerror test
> # '
> ok 25
> # testing : $r->log_error(...)
> # expected: qr/(?^:\[\w*:error\] \[pid[^]]+\] \$r->log_error test)/
> # received: '
> # *** The following error entry is expected and harmless ***
> # [Sat May 30 21:04:59.087329 2015] [:error] [pid 9642:tid 3076]
> $r->log_error test
> # '
>
>
> Anything else I can do/provide to help fix?
>
> regards,
> KAM
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@perl.apache.org
> For additional commands, e-mail: dev-help@perl.apache.org
>


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


Re: [RELEASE CANDIDATE]: mod_perl-2.0.9 RC2

Posted by Steve Hay <st...@googlemail.com>.
On 10 June 2015 at 09:50, Jan Kaluža <jk...@redhat.com> wrote:
> On 06/09/2015 10:23 AM, Steve Hay wrote:
>>
>> On 8 June 2015 at 08:14, Jan Kaluža <jk...@redhat.com> wrote:
>>>
>>> On 05/31/2015 03:12 AM, Kevin A. McGrail wrote:
>>>>
>>>>
>>>> On 5/30/2015 2:20 PM, Steve Hay wrote:
>>>>>
>>>>>
>>>>> Please download, test, and report back on this release candidate of
>>>>> the long-awaited mod_perl 2.0.9.
>>>>>
>>>>> http://people.apache.org/~stevehay/mod_perl-2.0.9-rc2.tar.gz
>>>>>
>>>>> MD5 = 6dbf61e0724a245f1c015687fb3e4213
>>>>> SHA1 = faf63c98b338ef0373ccbbe775c52506270ff3b9
>>>>>
>>>>> Changes since RC1:
>>>>>
>>>>> Remove PerlInterpScope. This has not been working properly with
>>>>> threaded MPMs with httpd-2.4.x and the use-case of this directive was
>>>>> questionable. [Jan Kaluza]
>>>>>
>>>>> Allow running the test suite with httpd-2.4.x when mod_access_compat
>>>>> is not loaded. [Steve Hay]
>>>>
>>>>
>>>> The test suite finished with one failure against 2.4.12 on my test rig:
>>>>
>>>> Test Summary Report
>>>> -------------------
>>>> t/api/aplog.t                         (Wstat: 0 Tests: 36 Failed: 1)
>>>>     Failed test:  24
>>>> Files=245, Tests=4646, 304 wallclock secs ( 3.34 usr  0.49 sys + 227.74
>>>> cusr 50.53 csys = 282.10 CPU)
>>>> Result: FAIL
>>>> Failed 1/245 test programs. 1/4646 subtests failed.
>>>> [warning] server localhost.localdomain:8529 shutdown
>>>> [warning] port 8529 still in use...
>>>> ...done
>>>> [  error] error running tests (please examine t/logs/error_log)
>>>> +--------------------------------------------------------+
>>>> | Please file a bug report: http://perl.apache.org/bugs/ |
>>>> +--------------------------------------------------------+
>>>> Makefile:1112: recipe for target 'run_tests' failed
>>>> make: *** [run_tests] Error 1
>>>>
>>>>
>>>>
>>>> Repeating with TEST_VERBOSE=1 added...  Here's the relevant output:
>>>>
>>>> ok 23
>>>> # testing : $s->log_serror(LOG_MARK, LOG_DEBUG, APR::Const::EGENERAL...)
>>>> # expected: qr/(?^:Internal error: log_serror test 2)/
>>>> # received: '
>>>> # *** The following warn entry is expected and harmless ***
>>>> # [Sat May 30 21:04:59.085379 2015] [perl:debug] [pid 9642:tid 3076]
>>>> aplog.pm(90): (20014)Internal error (specific information not
>>>> available): log_serror test 2
>>>> # '
>>>> not ok 24
>>>> # testing : $r->log_rerror(LOG_MARK, LOG_CRIT, APR::Const::ENOTIME...)
>>>> # expected: qr/(?^:\[\w*:crit\] \[pid[^]]+\] .*?: \[[^]]+\] log_rerror
>>>> test)/
>>>> # received: '# Failed test 24 in
>>>> /usr/src/mod_perl-2.0.9-rc2/t/response/TestAPI/aplog.pm at line 92
>>>
>>>
>>>
>>> Something is bad here I think, because test on line 92 is not the one
>>> which
>>> is failing according to the TEST_VERBOSE output. Could you check what's
>>> in
>>> aplog.pm at line 92?
>>>
>>> Jan Kaluza
>>>
>>>> # *** The following error entry is expected and harmless ***
>>>> # [Sat May 30 21:04:59.086325 2015] [perl:crit] [pid 9642:tid 3076]
>>>> (20007)No time was provided and one was required.: [client
>>>> 127.0.0.1:56778] log_rerror test
>>>> # '
>>>> ok 25
>>
>>
>> Ah... I think the "testing/expected/received" text is appearing
>> *before* the "ok/not ok" text.
>>
>> Test 25 has succeeded because the quoted text from "# Failed test 24"
>> through "log_rerror test #" does indeed match the pattern
>> qr/\[\w*:crit\] \[pid[^]]+\] .*?: \[[^]]+\] log_rerror test/
>>
>> But it is test 24 on lin 92 that has failed because the received text
>>
>> # *** The following warn entry is expected and harmless ***
>> # [Sat May 30 21:04:59.085379 2015] [perl:debug] [pid 9642:tid 3076]
>> aplog.pm(90): (20014)Internal error (specific information not
>> available): log_serror test 2
>> #
>>
>> doesn't match the pattern qr/$egeneral: log_serror test 2/, where
>>
>>          my $egeneral = have_min_apache_version('2.1.0')
>>             ? "Internal error"
>>             : "Error string not specified yet";
>>
>> It fails to match because of the " (specific information not available)"
>> part.
>>
>> Does the following/attached patch fix it?
>
>
> Great! I've been able to reproduce it. That error string changed in
> apr-1.5.2 and I've been testing with apr-1.5.1 earlier. I've verified that
> the patch you've attached fixes the issue for me.
>
> I've tested with the patch with both apr-1.5.2 and apr-1.5.1 and it worked
> in both cases for me, so +1 from my point of view.
>

Thanks for testing. I've now committed this patch, and just uploaded
RC3. Hopefully there will be nothing unexpected this time!

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


Re: [RELEASE CANDIDATE]: mod_perl-2.0.9 RC2

Posted by Jan Kaluža <jk...@redhat.com>.
On 06/09/2015 10:23 AM, Steve Hay wrote:
> On 8 June 2015 at 08:14, Jan Kaluža <jk...@redhat.com> wrote:
>> On 05/31/2015 03:12 AM, Kevin A. McGrail wrote:
>>>
>>> On 5/30/2015 2:20 PM, Steve Hay wrote:
>>>>
>>>> Please download, test, and report back on this release candidate of
>>>> the long-awaited mod_perl 2.0.9.
>>>>
>>>> http://people.apache.org/~stevehay/mod_perl-2.0.9-rc2.tar.gz
>>>>
>>>> MD5 = 6dbf61e0724a245f1c015687fb3e4213
>>>> SHA1 = faf63c98b338ef0373ccbbe775c52506270ff3b9
>>>>
>>>> Changes since RC1:
>>>>
>>>> Remove PerlInterpScope. This has not been working properly with
>>>> threaded MPMs with httpd-2.4.x and the use-case of this directive was
>>>> questionable. [Jan Kaluza]
>>>>
>>>> Allow running the test suite with httpd-2.4.x when mod_access_compat
>>>> is not loaded. [Steve Hay]
>>>
>>> The test suite finished with one failure against 2.4.12 on my test rig:
>>>
>>> Test Summary Report
>>> -------------------
>>> t/api/aplog.t                         (Wstat: 0 Tests: 36 Failed: 1)
>>>     Failed test:  24
>>> Files=245, Tests=4646, 304 wallclock secs ( 3.34 usr  0.49 sys + 227.74
>>> cusr 50.53 csys = 282.10 CPU)
>>> Result: FAIL
>>> Failed 1/245 test programs. 1/4646 subtests failed.
>>> [warning] server localhost.localdomain:8529 shutdown
>>> [warning] port 8529 still in use...
>>> ...done
>>> [  error] error running tests (please examine t/logs/error_log)
>>> +--------------------------------------------------------+
>>> | Please file a bug report: http://perl.apache.org/bugs/ |
>>> +--------------------------------------------------------+
>>> Makefile:1112: recipe for target 'run_tests' failed
>>> make: *** [run_tests] Error 1
>>>
>>>
>>>
>>> Repeating with TEST_VERBOSE=1 added...  Here's the relevant output:
>>>
>>> ok 23
>>> # testing : $s->log_serror(LOG_MARK, LOG_DEBUG, APR::Const::EGENERAL...)
>>> # expected: qr/(?^:Internal error: log_serror test 2)/
>>> # received: '
>>> # *** The following warn entry is expected and harmless ***
>>> # [Sat May 30 21:04:59.085379 2015] [perl:debug] [pid 9642:tid 3076]
>>> aplog.pm(90): (20014)Internal error (specific information not
>>> available): log_serror test 2
>>> # '
>>> not ok 24
>>> # testing : $r->log_rerror(LOG_MARK, LOG_CRIT, APR::Const::ENOTIME...)
>>> # expected: qr/(?^:\[\w*:crit\] \[pid[^]]+\] .*?: \[[^]]+\] log_rerror
>>> test)/
>>> # received: '# Failed test 24 in
>>> /usr/src/mod_perl-2.0.9-rc2/t/response/TestAPI/aplog.pm at line 92
>>
>>
>> Something is bad here I think, because test on line 92 is not the one which
>> is failing according to the TEST_VERBOSE output. Could you check what's in
>> aplog.pm at line 92?
>>
>> Jan Kaluza
>>
>>> # *** The following error entry is expected and harmless ***
>>> # [Sat May 30 21:04:59.086325 2015] [perl:crit] [pid 9642:tid 3076]
>>> (20007)No time was provided and one was required.: [client
>>> 127.0.0.1:56778] log_rerror test
>>> # '
>>> ok 25
>
> Ah... I think the "testing/expected/received" text is appearing
> *before* the "ok/not ok" text.
>
> Test 25 has succeeded because the quoted text from "# Failed test 24"
> through "log_rerror test #" does indeed match the pattern
> qr/\[\w*:crit\] \[pid[^]]+\] .*?: \[[^]]+\] log_rerror test/
>
> But it is test 24 on lin 92 that has failed because the received text
>
> # *** The following warn entry is expected and harmless ***
> # [Sat May 30 21:04:59.085379 2015] [perl:debug] [pid 9642:tid 3076]
> aplog.pm(90): (20014)Internal error (specific information not
> available): log_serror test 2
> #
>
> doesn't match the pattern qr/$egeneral: log_serror test 2/, where
>
>          my $egeneral = have_min_apache_version('2.1.0')
>             ? "Internal error"
>             : "Error string not specified yet";
>
> It fails to match because of the " (specific information not available)" part.
>
> Does the following/attached patch fix it?

Great! I've been able to reproduce it. That error string changed in 
apr-1.5.2 and I've been testing with apr-1.5.1 earlier. I've verified 
that the patch you've attached fixes the issue for me.

I've tested with the patch with both apr-1.5.2 and apr-1.5.1 and it 
worked in both cases for me, so +1 from my point of view.

Regards,
Jan Kaluza

> Index: t/response/TestAPI/aplog.pm
> ===================================================================
> --- t/response/TestAPI/aplog.pm (revision 1684346)
> +++ t/response/TestAPI/aplog.pm (working copy)
> @@ -83,7 +83,7 @@
>
>           # the APR_EGENERAL error string changed for APR 1.0
>           my $egeneral = have_min_apache_version('2.1.0')
> -           ? "Internal error"
> +           ? qr/Internal error(?: \(specific information not available\))?/
>              : "Error string not specified yet";
>
>           t_server_log_warn_is_expected();
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@perl.apache.org
> For additional commands, e-mail: dev-help@perl.apache.org
>


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


Re: [RELEASE CANDIDATE]: mod_perl-2.0.9 RC2

Posted by Steve Hay <st...@googlemail.com>.
On 8 June 2015 at 08:14, Jan Kaluža <jk...@redhat.com> wrote:
> On 05/31/2015 03:12 AM, Kevin A. McGrail wrote:
>>
>> On 5/30/2015 2:20 PM, Steve Hay wrote:
>>>
>>> Please download, test, and report back on this release candidate of
>>> the long-awaited mod_perl 2.0.9.
>>>
>>> http://people.apache.org/~stevehay/mod_perl-2.0.9-rc2.tar.gz
>>>
>>> MD5 = 6dbf61e0724a245f1c015687fb3e4213
>>> SHA1 = faf63c98b338ef0373ccbbe775c52506270ff3b9
>>>
>>> Changes since RC1:
>>>
>>> Remove PerlInterpScope. This has not been working properly with
>>> threaded MPMs with httpd-2.4.x and the use-case of this directive was
>>> questionable. [Jan Kaluza]
>>>
>>> Allow running the test suite with httpd-2.4.x when mod_access_compat
>>> is not loaded. [Steve Hay]
>>
>> The test suite finished with one failure against 2.4.12 on my test rig:
>>
>> Test Summary Report
>> -------------------
>> t/api/aplog.t                         (Wstat: 0 Tests: 36 Failed: 1)
>>    Failed test:  24
>> Files=245, Tests=4646, 304 wallclock secs ( 3.34 usr  0.49 sys + 227.74
>> cusr 50.53 csys = 282.10 CPU)
>> Result: FAIL
>> Failed 1/245 test programs. 1/4646 subtests failed.
>> [warning] server localhost.localdomain:8529 shutdown
>> [warning] port 8529 still in use...
>> ...done
>> [  error] error running tests (please examine t/logs/error_log)
>> +--------------------------------------------------------+
>> | Please file a bug report: http://perl.apache.org/bugs/ |
>> +--------------------------------------------------------+
>> Makefile:1112: recipe for target 'run_tests' failed
>> make: *** [run_tests] Error 1
>>
>>
>>
>> Repeating with TEST_VERBOSE=1 added...  Here's the relevant output:
>>
>> ok 23
>> # testing : $s->log_serror(LOG_MARK, LOG_DEBUG, APR::Const::EGENERAL...)
>> # expected: qr/(?^:Internal error: log_serror test 2)/
>> # received: '
>> # *** The following warn entry is expected and harmless ***
>> # [Sat May 30 21:04:59.085379 2015] [perl:debug] [pid 9642:tid 3076]
>> aplog.pm(90): (20014)Internal error (specific information not
>> available): log_serror test 2
>> # '
>> not ok 24
>> # testing : $r->log_rerror(LOG_MARK, LOG_CRIT, APR::Const::ENOTIME...)
>> # expected: qr/(?^:\[\w*:crit\] \[pid[^]]+\] .*?: \[[^]]+\] log_rerror
>> test)/
>> # received: '# Failed test 24 in
>> /usr/src/mod_perl-2.0.9-rc2/t/response/TestAPI/aplog.pm at line 92
>
>
> Something is bad here I think, because test on line 92 is not the one which
> is failing according to the TEST_VERBOSE output. Could you check what's in
> aplog.pm at line 92?
>
> Jan Kaluza
>
>> # *** The following error entry is expected and harmless ***
>> # [Sat May 30 21:04:59.086325 2015] [perl:crit] [pid 9642:tid 3076]
>> (20007)No time was provided and one was required.: [client
>> 127.0.0.1:56778] log_rerror test
>> # '
>> ok 25

Ah... I think the "testing/expected/received" text is appearing
*before* the "ok/not ok" text.

Test 25 has succeeded because the quoted text from "# Failed test 24"
through "log_rerror test #" does indeed match the pattern
qr/\[\w*:crit\] \[pid[^]]+\] .*?: \[[^]]+\] log_rerror test/

But it is test 24 on lin 92 that has failed because the received text

# *** The following warn entry is expected and harmless ***
# [Sat May 30 21:04:59.085379 2015] [perl:debug] [pid 9642:tid 3076]
aplog.pm(90): (20014)Internal error (specific information not
available): log_serror test 2
#

doesn't match the pattern qr/$egeneral: log_serror test 2/, where

        my $egeneral = have_min_apache_version('2.1.0')
           ? "Internal error"
           : "Error string not specified yet";

It fails to match because of the " (specific information not available)" part.

Does the following/attached patch fix it?

Index: t/response/TestAPI/aplog.pm
===================================================================
--- t/response/TestAPI/aplog.pm (revision 1684346)
+++ t/response/TestAPI/aplog.pm (working copy)
@@ -83,7 +83,7 @@

         # the APR_EGENERAL error string changed for APR 1.0
         my $egeneral = have_min_apache_version('2.1.0')
-           ? "Internal error"
+           ? qr/Internal error(?: \(specific information not available\))?/
            : "Error string not specified yet";

         t_server_log_warn_is_expected();

Re: [RELEASE CANDIDATE]: mod_perl-2.0.9 RC2

Posted by Jan Kaluža <jk...@redhat.com>.
On 05/31/2015 03:12 AM, Kevin A. McGrail wrote:
> On 5/30/2015 2:20 PM, Steve Hay wrote:
>> Please download, test, and report back on this release candidate of
>> the long-awaited mod_perl 2.0.9.
>>
>> http://people.apache.org/~stevehay/mod_perl-2.0.9-rc2.tar.gz
>>
>> MD5 = 6dbf61e0724a245f1c015687fb3e4213
>> SHA1 = faf63c98b338ef0373ccbbe775c52506270ff3b9
>>
>> Changes since RC1:
>>
>> Remove PerlInterpScope. This has not been working properly with
>> threaded MPMs with httpd-2.4.x and the use-case of this directive was
>> questionable. [Jan Kaluza]
>>
>> Allow running the test suite with httpd-2.4.x when mod_access_compat
>> is not loaded. [Steve Hay]
> The test suite finished with one failure against 2.4.12 on my test rig:
>
> Test Summary Report
> -------------------
> t/api/aplog.t                         (Wstat: 0 Tests: 36 Failed: 1)
>    Failed test:  24
> Files=245, Tests=4646, 304 wallclock secs ( 3.34 usr  0.49 sys + 227.74
> cusr 50.53 csys = 282.10 CPU)
> Result: FAIL
> Failed 1/245 test programs. 1/4646 subtests failed.
> [warning] server localhost.localdomain:8529 shutdown
> [warning] port 8529 still in use...
> ...done
> [  error] error running tests (please examine t/logs/error_log)
> +--------------------------------------------------------+
> | Please file a bug report: http://perl.apache.org/bugs/ |
> +--------------------------------------------------------+
> Makefile:1112: recipe for target 'run_tests' failed
> make: *** [run_tests] Error 1
>
>
>
> Repeating with TEST_VERBOSE=1 added...  Here's the relevant output:
>
> ok 23
> # testing : $s->log_serror(LOG_MARK, LOG_DEBUG, APR::Const::EGENERAL...)
> # expected: qr/(?^:Internal error: log_serror test 2)/
> # received: '
> # *** The following warn entry is expected and harmless ***
> # [Sat May 30 21:04:59.085379 2015] [perl:debug] [pid 9642:tid 3076]
> aplog.pm(90): (20014)Internal error (specific information not
> available): log_serror test 2
> # '
> not ok 24
> # testing : $r->log_rerror(LOG_MARK, LOG_CRIT, APR::Const::ENOTIME...)
> # expected: qr/(?^:\[\w*:crit\] \[pid[^]]+\] .*?: \[[^]]+\] log_rerror
> test)/
> # received: '# Failed test 24 in
> /usr/src/mod_perl-2.0.9-rc2/t/response/TestAPI/aplog.pm at line 92

Something is bad here I think, because test on line 92 is not the one 
which is failing according to the TEST_VERBOSE output. Could you check 
what's in aplog.pm at line 92?

Jan Kaluza

> # *** The following error entry is expected and harmless ***
> # [Sat May 30 21:04:59.086325 2015] [perl:crit] [pid 9642:tid 3076]
> (20007)No time was provided and one was required.: [client
> 127.0.0.1:56778] log_rerror test
> # '
> ok 25
> # testing : $r->log_error(...)
> # expected: qr/(?^:\[\w*:error\] \[pid[^]]+\] \$r->log_error test)/
> # received: '
> # *** The following error entry is expected and harmless ***
> # [Sat May 30 21:04:59.087329 2015] [:error] [pid 9642:tid 3076]
> $r->log_error test
> # '
>
>
> Anything else I can do/provide to help fix?
>
> regards,
> KAM
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@perl.apache.org
> For additional commands, e-mail: dev-help@perl.apache.org
>


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


Re: [RELEASE CANDIDATE]: mod_perl-2.0.9 RC2

Posted by Steve Hay <st...@googlemail.com>.
On 31 May 2015 at 02:12, Kevin A. McGrail <KM...@pccc.com> wrote:
> ok 23
> # testing : $s->log_serror(LOG_MARK, LOG_DEBUG, APR::Const::EGENERAL...)
> # expected: qr/(?^:Internal error: log_serror test 2)/
> # received: '
> # *** The following warn entry is expected and harmless ***
> # [Sat May 30 21:04:59.085379 2015] [perl:debug] [pid 9642:tid 3076]
> aplog.pm(90): (20014)Internal error (specific information not available):
> log_serror test 2
> # '
> not ok 24
> # testing : $r->log_rerror(LOG_MARK, LOG_CRIT, APR::Const::ENOTIME...)
> # expected: qr/(?^:\[\w*:crit\] \[pid[^]]+\] .*?: \[[^]]+\] log_rerror
> test)/
> # received: '# Failed test 24 in
> /usr/src/mod_perl-2.0.9-rc2/t/response/TestAPI/aplog.pm at line 92
> #
> # *** The following error entry is expected and harmless ***
> # [Sat May 30 21:04:59.086325 2015] [perl:crit] [pid 9642:tid 3076]
> (20007)No time was provided and one was required.: [client 127.0.0.1:56778]
> log_rerror test
> # '

Weird. I don't see this on my system, although I see that many other
people are reporting the same problem.

I really don't know why the test fails given that what it says it
received DOES match what it says it's expecting!?

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


Re: [RELEASE CANDIDATE]: mod_perl-2.0.9 RC2

Posted by "Kevin A. McGrail" <KM...@PCCC.com>.
On 5/30/2015 2:20 PM, Steve Hay wrote:
> Please download, test, and report back on this release candidate of
> the long-awaited mod_perl 2.0.9.
>
> http://people.apache.org/~stevehay/mod_perl-2.0.9-rc2.tar.gz
>
> MD5 = 6dbf61e0724a245f1c015687fb3e4213
> SHA1 = faf63c98b338ef0373ccbbe775c52506270ff3b9
>
> Changes since RC1:
>
> Remove PerlInterpScope. This has not been working properly with
> threaded MPMs with httpd-2.4.x and the use-case of this directive was
> questionable. [Jan Kaluza]
>
> Allow running the test suite with httpd-2.4.x when mod_access_compat
> is not loaded. [Steve Hay]
The test suite finished with one failure against 2.4.12 on my test rig:

Test Summary Report
-------------------
t/api/aplog.t                         (Wstat: 0 Tests: 36 Failed: 1)
   Failed test:  24
Files=245, Tests=4646, 304 wallclock secs ( 3.34 usr  0.49 sys + 227.74 
cusr 50.53 csys = 282.10 CPU)
Result: FAIL
Failed 1/245 test programs. 1/4646 subtests failed.
[warning] server localhost.localdomain:8529 shutdown
[warning] port 8529 still in use...
...done
[  error] error running tests (please examine t/logs/error_log)
+--------------------------------------------------------+
| Please file a bug report: http://perl.apache.org/bugs/ |
+--------------------------------------------------------+
Makefile:1112: recipe for target 'run_tests' failed
make: *** [run_tests] Error 1



Repeating with TEST_VERBOSE=1 added...  Here's the relevant output:

ok 23
# testing : $s->log_serror(LOG_MARK, LOG_DEBUG, APR::Const::EGENERAL...)
# expected: qr/(?^:Internal error: log_serror test 2)/
# received: '
# *** The following warn entry is expected and harmless ***
# [Sat May 30 21:04:59.085379 2015] [perl:debug] [pid 9642:tid 3076] 
aplog.pm(90): (20014)Internal error (specific information not 
available): log_serror test 2
# '
not ok 24
# testing : $r->log_rerror(LOG_MARK, LOG_CRIT, APR::Const::ENOTIME...)
# expected: qr/(?^:\[\w*:crit\] \[pid[^]]+\] .*?: \[[^]]+\] log_rerror 
test)/
# received: '# Failed test 24 in 
/usr/src/mod_perl-2.0.9-rc2/t/response/TestAPI/aplog.pm at line 92
#
# *** The following error entry is expected and harmless ***
# [Sat May 30 21:04:59.086325 2015] [perl:crit] [pid 9642:tid 3076] 
(20007)No time was provided and one was required.: [client 
127.0.0.1:56778] log_rerror test
# '
ok 25
# testing : $r->log_error(...)
# expected: qr/(?^:\[\w*:error\] \[pid[^]]+\] \$r->log_error test)/
# received: '
# *** The following error entry is expected and harmless ***
# [Sat May 30 21:04:59.087329 2015] [:error] [pid 9642:tid 3076] 
$r->log_error test
# '


Anything else I can do/provide to help fix?

regards,
KAM

Re: [RELEASE CANDIDATE]: mod_perl-2.0.9 RC2

Posted by olli hauer <oh...@gmx.de>.
On 2015-05-30 20:20, Steve Hay wrote:
> Please download, test, and report back on this release candidate of
> the long-awaited mod_perl 2.0.9.
> 
> http://people.apache.org/~stevehay/mod_perl-2.0.9-rc2.tar.gz
> 
> MD5 = 6dbf61e0724a245f1c015687fb3e4213
> SHA1 = faf63c98b338ef0373ccbbe775c52506270ff3b9
> 
> Changes since RC1:
> 
> Remove PerlInterpScope. This has not been working properly with
> threaded MPMs with httpd-2.4.x and the use-case of this directive was
> questionable. [Jan Kaluza]
> 
> Allow running the test suite with httpd-2.4.x when mod_access_compat
> is not loaded. [Steve Hay]


Test system: FreeBSD-10.1 (x64), perl-5.20.2, apr-1.5.2, apr-util-1.5.4


using Apache/2.4.12 (event MPM)
...
Test Summary Report
-------------------
t/api/aplog.t                         (Wstat: 0 Tests: 36 Failed: 1)
  Failed test:  24
Files=245, Tests=2834, 180 wallclock secs ( 1.10 usr  0.38 sys + 128.39 cusr 35.48 csys = 165.36 CPU)
Result: FAIL
Failed 1/245 test programs. 1/2834 subtests failed.


using Apache/2.4.12 (prefork MPM)
...
Test Summary Report
-------------------
t/api/aplog.t                         (Wstat: 0 Tests: 36 Failed: 1)
  Failed test:  24
Files=245, Tests=2850, 184 wallclock secs ( 1.04 usr  0.46 sys + 128.05 cusr 35.77 csys = 165.31 CPU)
Result: FAIL
Failed 1/245 test programs. 1/2850 subtests failed.


using Apache/2.4.12 (worker MPM)
...
Test Summary Report
-------------------
t/api/aplog.t                         (Wstat: 0 Tests: 36 Failed: 1)
  Failed test:  24
Files=245, Tests=2866, 179 wallclock secs ( 1.10 usr  0.41 sys + 127.88 cusr 35.87 csys = 165.26 CPU)
Result: FAIL
Failed 1/245 test programs. 1/2866 subtests failed.


using Apache/2.2.29 (prefork MPM)
...
Test Summary Report
-------------------
t/api/aplog.t                         (Wstat: 0 Tests: 36 Failed: 1)
  Failed test:  24
Files=245, Tests=2695, 225 wallclock secs ( 1.80 usr  0.72 sys + 167.06 cusr 36.84 csys = 206.42 CPU)
Result: FAIL
Failed 1/245 test programs. 1/2695 subtests failed.


using Apache/2.2.29 (event MPM)
...
Test Summary Report
-------------------
t/api/aplog.t                         (Wstat: 0 Tests: 36 Failed: 1)
  Failed test:  24
Files=245, Tests=2667, 220 wallclock secs ( 1.85 usr  0.67 sys + 167.34 cusr 36.51 csys = 206.37 CPU)
Result: FAIL
Failed 1/245 test programs. 1/2667 subtests failed.


using Apache/2.2.29 (worker MPM)
...
Test Summary Report
-------------------
t/api/aplog.t                         (Wstat: 0 Tests: 36 Failed: 1)
  Failed test:  24
Files=245, Tests=2712, 220 wallclock secs ( 1.84 usr  0.70 sys + 167.43 cusr 36.64 csys = 206.60 CPU)
Result: FAIL
Failed 1/245 test programs. 1/2712 subtests failed.


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


Re: [RELEASE CANDIDATE]: mod_perl-2.0.9 RC2

Posted by "Kevin A. McGrail" <KM...@PCCC.com>.
On 5/30/2015 2:20 PM, Steve Hay wrote:
> Please download, test, and report back on this release candidate of
> the long-awaited mod_perl 2.0.9.
>
> http://people.apache.org/~stevehay/mod_perl-2.0.9-rc2.tar.gz
>
> MD5 = 6dbf61e0724a245f1c015687fb3e4213
> SHA1 = faf63c98b338ef0373ccbbe775c52506270ff3b9
>
> Changes since RC1:
>
> Remove PerlInterpScope. This has not been working properly with
> threaded MPMs with httpd-2.4.x and the use-case of this directive was
> questionable. [Jan Kaluza]
>
> Allow running the test suite with httpd-2.4.x when mod_access_compat
> is not loaded. [Steve Hay]
The test suite finished with one failure against 2.4.12 on my test rig:

Test Summary Report
-------------------
t/api/aplog.t                         (Wstat: 0 Tests: 36 Failed: 1)
   Failed test:  24
Files=245, Tests=4646, 304 wallclock secs ( 3.34 usr  0.49 sys + 227.74 
cusr 50.53 csys = 282.10 CPU)
Result: FAIL
Failed 1/245 test programs. 1/4646 subtests failed.
[warning] server localhost.localdomain:8529 shutdown
[warning] port 8529 still in use...
...done
[  error] error running tests (please examine t/logs/error_log)
+--------------------------------------------------------+
| Please file a bug report: http://perl.apache.org/bugs/ |
+--------------------------------------------------------+
Makefile:1112: recipe for target 'run_tests' failed
make: *** [run_tests] Error 1



Repeating with TEST_VERBOSE=1 added...  Here's the relevant output:

ok 23
# testing : $s->log_serror(LOG_MARK, LOG_DEBUG, APR::Const::EGENERAL...)
# expected: qr/(?^:Internal error: log_serror test 2)/
# received: '
# *** The following warn entry is expected and harmless ***
# [Sat May 30 21:04:59.085379 2015] [perl:debug] [pid 9642:tid 3076] 
aplog.pm(90): (20014)Internal error (specific information not 
available): log_serror test 2
# '
not ok 24
# testing : $r->log_rerror(LOG_MARK, LOG_CRIT, APR::Const::ENOTIME...)
# expected: qr/(?^:\[\w*:crit\] \[pid[^]]+\] .*?: \[[^]]+\] log_rerror 
test)/
# received: '# Failed test 24 in 
/usr/src/mod_perl-2.0.9-rc2/t/response/TestAPI/aplog.pm at line 92
#
# *** The following error entry is expected and harmless ***
# [Sat May 30 21:04:59.086325 2015] [perl:crit] [pid 9642:tid 3076] 
(20007)No time was provided and one was required.: [client 
127.0.0.1:56778] log_rerror test
# '
ok 25
# testing : $r->log_error(...)
# expected: qr/(?^:\[\w*:error\] \[pid[^]]+\] \$r->log_error test)/
# received: '
# *** The following error entry is expected and harmless ***
# [Sat May 30 21:04:59.087329 2015] [:error] [pid 9642:tid 3076] 
$r->log_error test
# '


Anything else I can do/provide to help fix?

regards,
KAM

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


Re: [RELEASE CANDIDATE]: mod_perl-2.0.9 RC2

Posted by John D Groenveld <jd...@elvis.arl.psu.edu>.
In message <CA...@mail.gmail.com>
, Steve Hay writes:
>This looks like the same failure reported here with an unthreaded perl:
>
>https://rt.cpan.org/Ticket/Display.html?id=3D102930#txn-1502924
>
>Unfortunately, I can't reproduce that on Windows since the WinNT MPM
>is threaded and hence requires a threaded perl to build with. However,
>I think it's a failure introduced by r1682366, and (shooting in the
>dark) I wonder if the patch below (also attached, although the patch
>might have some Windows style EOLs) would fix it?

Fixed. Thank you!

John
groenveld@acm.org

Re: [RELEASE CANDIDATE]: mod_perl-2.0.9 RC2

Posted by John D Groenveld <jd...@elvis.arl.psu.edu>.
In message <CA...@mail.gmail.com>
, Steve Hay writes:
>This looks like the same failure reported here with an unthreaded perl:
>
>https://rt.cpan.org/Ticket/Display.html?id=102930#txn-1502924

With the patch, 2.0.9RC2 also builds with unthreaded
httpd-2.4.12 and perl-5.22.0, but test hits familiar
errors. 

With perl-5.20.2, it test clean.


BTW I also have to kludge t/conf/httpd.conf by disabling
mod_proxy_balancer but I think that's an Illumos/Solaris
issue with Apache 2.4 thats not MP specific.

Thanks,
John
groenveld@acm.org

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/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: 512 Tests: 0 Failed: 0)
  Non-zero exit status: 2
  Parse errors: No plan found in TAP output
Files=245, Tests=3085, 338 wallclock secs ( 2.30 usr  2.22 sys + 200.19 cusr 106.02 csys = 310.73 CPU)
Result: FAIL
Failed 6/245 test programs. 3/3085 subtests failed.


$ /opt/apache24/bin/httpd -V
Server version: Apache/2.4.12 (Unix)
Server built:   Jun  3 2015 08:47:59
Server's Module Magic Number: 20120211:41
Server loaded:  APR 1.5.1, APR-UTIL 1.5.4
Compiled using: APR 1.5.1, APR-UTIL 1.5.4
Architecture:   64-bit
Server MPM:     prefork
  threaded:     no
    forked:     yes (variable process count)
Server compiled with....
 -D APR_HAS_SENDFILE
 -D APR_HAS_MMAP
 -D APR_HAVE_IPV6 (IPv4-mapped addresses enabled)
 -D APR_USE_PROC_PTHREAD_SERIALIZE
 -D APR_USE_PTHREAD_SERIALIZE
 -D SINGLE_LISTEN_UNSERIALIZED_ACCEPT
 -D APR_HAS_OTHER_CHILD
 -D AP_HAVE_RELIABLE_PIPED_LOGS
 -D DYNAMIC_MODULE_LIMIT=256
 -D HTTPD_ROOT="/opt/apache24"
 -D SUEXEC_BIN="/opt/apache24/bin/suexec"
 -D DEFAULT_PIDLOG="logs/httpd.pid"
 -D DEFAULT_SCOREBOARD="logs/apache_runtime_status"
 -D DEFAULT_ERRORLOG="logs/error_log"
 -D AP_TYPES_CONFIG_FILE="conf/mime.types"
 -D SERVER_CONFIG_FILE="conf/httpd.conf"

$ perl -V
Summary of my perl5 (revision 5 version 22 subversion 0) configuration:
   
  Platform:
    osname=solaris, osvers=2.11, archname=i86pc-solaris-64
    uname='sunos bernice 5.11 omnios-170cea2 i86pc i386 i86pc '
    config_args='-Dprefix=/opt/apache24/perl-5.22.0 -Dcc=gcc -Duseshrplib -Uusemymalc -Duselargefiles -Ubincompat5005 -Doptimize=-O3 -Duse64bitall'
    hint=recommended, useposix=true, d_sigaction=define
    useithreads=undef, usemultiplicity=undef
    use64bitint=define, use64bitall=define, uselongdouble=undef
    usemymalloc=n, bincompat5005=undef
  Compiler:
    cc='gcc', ccflags ='-m64 -fwrapv -fno-strict-aliasing -pipe -fstack-protector -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DPERL_USE_SAFE_PUTENV',
    optimize='-O3',
    cppflags='-m64 -fwrapv -fno-strict-aliasing -pipe -fstack-protector'
    ccversion='', gccversion='4.8.1', 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='gcc', ldflags =' -m64 -fstack-protector -L/usr/gnu/lib '
    libpth=/opt/gcc-4.8.1/lib /opt/gcc-4.8.1/lib/gcc/i386-pc-solaris2.11/4.8.1/include-fixed /usr/lib /usr/gnu/lib /usr/ccs/lib
    libs=-lpthread -lsocket -lnsl -ldl -lm -lc
    perllibs=-lpthread -lsocket -lnsl -ldl -lm -lc
    libc=/lib/libc.so, so=so, useshrplib=true, libperl=libperl.so
    gnulibc_version=''
  Dynamic Linking:
    dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='  -R /opt/apache24/perl-5.22.0/lib/5.22.0/i86pc-solaris-64/CORE'
    cccdlflags='-fPIC', lddlflags=' -shared -m64 -L/usr/gnu/lib -fstack-protector'


Characteristics of this binary (from libperl): 
  Compile-time options: HAS_TIMES PERLIO_LAYERS PERL_DONT_CREATE_GVSV
                        PERL_HASH_FUNC_ONE_AT_A_TIME_HARD PERL_MALLOC_WRAP
                        PERL_NEW_COPY_ON_WRITE PERL_PRESERVE_IVUV
                        PERL_USE_SAFE_PUTENV 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 solaris
  Compiled at Jun  3 2015 08:06:39
  @INC:
    /opt/apache24/perl-5.22.0/lib/site_perl/5.22.0/i86pc-solaris-64
    /opt/apache24/perl-5.22.0/lib/site_perl/5.22.0
    /opt/apache24/perl-5.22.0/lib/5.22.0/i86pc-solaris-64
    /opt/apache24/perl-5.22.0/lib/5.22.0
    .

Re: [RELEASE CANDIDATE]: mod_perl-2.0.9 RC2

Posted by Steve Hay <st...@googlemail.com>.
On 3 June 2015 at 01:47, John D Groenveld <jd...@elvis.arl.psu.edu> wrote:
> In message <CA...@mail.gmail.com>
> , Steve Hay writes:
>>Please download, test, and report back on this release candidate of
>>the long-awaited mod_perl 2.0.9.
>
> Not good.
>
> $ cat /etc/release
>   OmniOS v11 r151014
>   Copyright 2015 OmniTI Computer Consulting, Inc. All rights reserved.
>   Use is subject to license terms.
>
>
> $ perl -V
> Summary of my perl5 (revision 5 version 20 subversion 2) configuration:
>
>   Platform:
>     osname=solaris, osvers=2.11, archname=i86pc-solaris-64
>     uname='sunos bernice 5.11 omnios-10b9c79 i86pc i386 i86pc '
>     config_args='-Dprefix=/opt/apache2/perl-5.20.2 -Dcc=gcc -Duseshrplib -Uusemymalc -Duselargefiles -Ubincompat5005 -Doptimize=-O3 -Duse64bitall'
>     hint=recommended, useposix=true, d_sigaction=define
>     useithreads=undef, usemultiplicity=undef
>     use64bitint=define, use64bitall=define, uselongdouble=undef
>     usemymalloc=n, bincompat5005=undef
>   Compiler:
>     cc='gcc', ccflags ='-m64 -fwrapv -fno-strict-aliasing -pipe -fstack-protector -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DPERL_USE_SAFE_PUTENV',
>     optimize='-O3',
>     cppflags='-m64 -fwrapv -fno-strict-aliasing -pipe -fstack-protector'
>     ccversion='', gccversion='4.8.1', gccosandvers=''
>     intsize=4, longsize=8, ptrsize=8, doublesize=8, byteorder=12345678
>     d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=16
>     ivtype='long', ivsize=8, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=8
>     alignbytes=8, prototype=define
>   Linker and Libraries:
>     ld='gcc', ldflags =' -m64 -fstack-protector -L/usr/gnu/lib '
>     libpth=/opt/gcc-4.8.1/lib /opt/gcc-4.8.1/lib/gcc/i386-pc-solaris2.11/4.8.1/include-fixed /usr/lib /usr/gnu/lib /usr/ccs/lib
>     libs=-lsocket -lnsl -ldl -lm -lc
>     perllibs=-lsocket -lnsl -ldl -lm -lc
>     libc=/lib/libc.so, so=so, useshrplib=true, libperl=libperl.so
>     gnulibc_version=''
>   Dynamic Linking:
>     dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='  -R /opt/apache2/perl-5.20.2/lib/5.20.2/i86pc-solaris-64/CORE'
>     cccdlflags='-fPIC', lddlflags=' -shared -m64 -L/usr/gnu/lib -fstack-protector'
>
>
> Characteristics of this binary (from libperl):
>   Compile-time options: HAS_TIMES PERLIO_LAYERS PERL_DONT_CREATE_GVSV
>                         PERL_HASH_FUNC_ONE_AT_A_TIME_HARD PERL_MALLOC_WRAP
>                         PERL_NEW_COPY_ON_WRITE PERL_PRESERVE_IVUV
>                         PERL_USE_SAFE_PUTENV USE_64_BIT_ALL USE_64_BIT_INT
>                         USE_LARGE_FILES USE_LOCALE USE_LOCALE_COLLATE
>                         USE_LOCALE_CTYPE USE_LOCALE_NUMERIC USE_PERLIO
>                         USE_PERL_ATOF
>   Built under solaris
>   Compiled at Mar 27 2015 17:54:42
>   @INC:
>     /opt/apache2/perl-5.20.2/lib/site_perl/5.20.2/i86pc-solaris-64
>     /opt/apache2/perl-5.20.2/lib/site_perl/5.20.2
>     /opt/apache2/perl-5.20.2/lib/5.20.2/i86pc-solaris-64
>     /opt/apache2/perl-5.20.2/lib/5.20.2
>     .
>
>
> $ /opt/apache2/bin/httpd -V
> Server version: Apache/2.2.29 (Unix)
> Server built:   Dec 14 2014 18:03:56
> Server's Module Magic Number: 20051115:36
> Server loaded:  APR 1.5.1, APR-Util 1.5.3
> Compiled using: APR 1.5.1, APR-Util 1.5.3
> 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_PROC_PTHREAD_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="/opt/apache2"
>  -D SUEXEC_BIN="/opt/apache2/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"
>
>
> $ env PATH=/opt/apache2/perl-5.20.2/bin:/usr/bin:/usr/sbin:/usr/ccs/bin:/opt/gcc-4.8.1/bin:/usr/sfw/bin:/usr/gnu/bin gmake
> Go
> cd "src/modules/perl" && gmake
> gmake[1]: Entering directory `/home/john/mod_perl-2.0.9-rc2/src/modules/perl'
> gcc -I/home/john/mod_perl-2.0.9-rc2/src/modules/perl -I/home/john/mod_perl-2.0.9-rc2/xs -I/opt/apache2/include -I/opt/apache2/include -I/usr/sfw/include -I/opt/apache2/include -m64 -fwrapv -fno-strict-aliasing -pipe -fstack-protector -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DPERL_USE_SAFE_PUTENV -I/opt/apache2/perl-5.20.2/lib/5.20.2/i86pc-solaris-64/CORE -DMOD_PERL -DMP_COMPAT_1X -DSOLARIS2=11 -D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT -O3 -fPIC \
> -c modperl_filter.c && mv modperl_filter.o modperl_filter.lo
> In file included from mod_perl.h:32:0,
>                  from modperl_filter.c:17:
> modperl_filter.c: In function 'modperl_run_filter':
> modperl_error.h:42:9: error: unknown type name 'modperl_interp_t'
>          modperl_interp_t *interp = modperl_thx_interp_get(aTHX);        \
>          ^
> modperl_error.h:50:9: note: in expansion of macro 'MP_PUTBACK_IF_USED'
>          MP_PUTBACK_IF_USED();                                           \
>          ^
> modperl_filter.c:538:17: note: in expansion of macro 'MP_CROAK_PUTBACK'
>                  MP_CROAK_PUTBACK(MODPERL_FILTER_ERROR,
>                  ^
> modperl_error.h:42:36: warning: initialization makes pointer from integer without a cast [enabled by default]
>          modperl_interp_t *interp = modperl_thx_interp_get(aTHX);        \
>                                     ^
> modperl_error.h:50:9: note: in expansion of macro 'MP_PUTBACK_IF_USED'
>          MP_PUTBACK_IF_USED();                                           \
>          ^
> modperl_filter.c:538:17: note: in expansion of macro 'MP_CROAK_PUTBACK'
>                  MP_CROAK_PUTBACK(MODPERL_FILTER_ERROR,
>                  ^
>

This looks like the same failure reported here with an unthreaded perl:

https://rt.cpan.org/Ticket/Display.html?id=102930#txn-1502924

Unfortunately, I can't reproduce that on Windows since the WinNT MPM
is threaded and hence requires a threaded perl to build with. However,
I think it's a failure introduced by r1682366, and (shooting in the
dark) I wonder if the patch below (also attached, although the patch
might have some Windows style EOLs) would fix it?

Index: src/modules/perl/modperl_error.h
===================================================================
--- src/modules/perl/modperl_error.h    (revision 1683243)
+++ src/modules/perl/modperl_error.h    (working copy)
@@ -37,6 +37,7 @@

 void modperl_croak(pTHX_ apr_status_t rc, const char* func);

+#ifdef USE_ITHREADS
 #define MP_PUTBACK_IF_USED() STMT_START                                 \
     {                                                                   \
         modperl_interp_t *interp = modperl_thx_interp_get(aTHX);        \
@@ -44,6 +45,9 @@
             modperl_interp_unselect(interp);                            \
         }                                                               \
     } STMT_END
+#else
+#define MP_PUTBACK_IF_USED() NOOP
+#endif

 #define MP_CROAK_PUTBACK(rc, func) STMT_START                           \
     {                                                                   \

Re: [RELEASE CANDIDATE]: mod_perl-2.0.9 RC2

Posted by John D Groenveld <jd...@elvis.arl.psu.edu>.
In message <CA...@mail.gmail.com>
, Steve Hay writes:
>Please download, test, and report back on this release candidate of
>the long-awaited mod_perl 2.0.9.

Not good.

$ cat /etc/release 
  OmniOS v11 r151014
  Copyright 2015 OmniTI Computer Consulting, Inc. All rights reserved.
  Use is subject to license terms.


$ perl -V
Summary of my perl5 (revision 5 version 20 subversion 2) configuration:
   
  Platform:
    osname=solaris, osvers=2.11, archname=i86pc-solaris-64
    uname='sunos bernice 5.11 omnios-10b9c79 i86pc i386 i86pc '
    config_args='-Dprefix=/opt/apache2/perl-5.20.2 -Dcc=gcc -Duseshrplib -Uusemymalc -Duselargefiles -Ubincompat5005 -Doptimize=-O3 -Duse64bitall'
    hint=recommended, useposix=true, d_sigaction=define
    useithreads=undef, usemultiplicity=undef
    use64bitint=define, use64bitall=define, uselongdouble=undef
    usemymalloc=n, bincompat5005=undef
  Compiler:
    cc='gcc', ccflags ='-m64 -fwrapv -fno-strict-aliasing -pipe -fstack-protector -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DPERL_USE_SAFE_PUTENV',
    optimize='-O3',
    cppflags='-m64 -fwrapv -fno-strict-aliasing -pipe -fstack-protector'
    ccversion='', gccversion='4.8.1', gccosandvers=''
    intsize=4, longsize=8, ptrsize=8, doublesize=8, byteorder=12345678
    d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=16
    ivtype='long', ivsize=8, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=8
    alignbytes=8, prototype=define
  Linker and Libraries:
    ld='gcc', ldflags =' -m64 -fstack-protector -L/usr/gnu/lib '
    libpth=/opt/gcc-4.8.1/lib /opt/gcc-4.8.1/lib/gcc/i386-pc-solaris2.11/4.8.1/include-fixed /usr/lib /usr/gnu/lib /usr/ccs/lib
    libs=-lsocket -lnsl -ldl -lm -lc
    perllibs=-lsocket -lnsl -ldl -lm -lc
    libc=/lib/libc.so, so=so, useshrplib=true, libperl=libperl.so
    gnulibc_version=''
  Dynamic Linking:
    dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='  -R /opt/apache2/perl-5.20.2/lib/5.20.2/i86pc-solaris-64/CORE'
    cccdlflags='-fPIC', lddlflags=' -shared -m64 -L/usr/gnu/lib -fstack-protector'


Characteristics of this binary (from libperl): 
  Compile-time options: HAS_TIMES PERLIO_LAYERS PERL_DONT_CREATE_GVSV
                        PERL_HASH_FUNC_ONE_AT_A_TIME_HARD PERL_MALLOC_WRAP
                        PERL_NEW_COPY_ON_WRITE PERL_PRESERVE_IVUV
                        PERL_USE_SAFE_PUTENV USE_64_BIT_ALL USE_64_BIT_INT
                        USE_LARGE_FILES USE_LOCALE USE_LOCALE_COLLATE
                        USE_LOCALE_CTYPE USE_LOCALE_NUMERIC USE_PERLIO
                        USE_PERL_ATOF
  Built under solaris
  Compiled at Mar 27 2015 17:54:42
  @INC:
    /opt/apache2/perl-5.20.2/lib/site_perl/5.20.2/i86pc-solaris-64
    /opt/apache2/perl-5.20.2/lib/site_perl/5.20.2
    /opt/apache2/perl-5.20.2/lib/5.20.2/i86pc-solaris-64
    /opt/apache2/perl-5.20.2/lib/5.20.2
    .


$ /opt/apache2/bin/httpd -V
Server version: Apache/2.2.29 (Unix)
Server built:   Dec 14 2014 18:03:56
Server's Module Magic Number: 20051115:36
Server loaded:  APR 1.5.1, APR-Util 1.5.3
Compiled using: APR 1.5.1, APR-Util 1.5.3
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_PROC_PTHREAD_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="/opt/apache2"
 -D SUEXEC_BIN="/opt/apache2/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"


$ env PATH=/opt/apache2/perl-5.20.2/bin:/usr/bin:/usr/sbin:/usr/ccs/bin:/opt/gcc-4.8.1/bin:/usr/sfw/bin:/usr/gnu/bin gmake
Go
cd "src/modules/perl" && gmake
gmake[1]: Entering directory `/home/john/mod_perl-2.0.9-rc2/src/modules/perl'
gcc -I/home/john/mod_perl-2.0.9-rc2/src/modules/perl -I/home/john/mod_perl-2.0.9-rc2/xs -I/opt/apache2/include -I/opt/apache2/include -I/usr/sfw/include -I/opt/apache2/include -m64 -fwrapv -fno-strict-aliasing -pipe -fstack-protector -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DPERL_USE_SAFE_PUTENV -I/opt/apache2/perl-5.20.2/lib/5.20.2/i86pc-solaris-64/CORE -DMOD_PERL -DMP_COMPAT_1X -DSOLARIS2=11 -D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT -O3 -fPIC \
-c modperl_filter.c && mv modperl_filter.o modperl_filter.lo
In file included from mod_perl.h:32:0,
                 from modperl_filter.c:17:
modperl_filter.c: In function 'modperl_run_filter':
modperl_error.h:42:9: error: unknown type name 'modperl_interp_t'
         modperl_interp_t *interp = modperl_thx_interp_get(aTHX);        \
         ^
modperl_error.h:50:9: note: in expansion of macro 'MP_PUTBACK_IF_USED'
         MP_PUTBACK_IF_USED();                                           \
         ^
modperl_filter.c:538:17: note: in expansion of macro 'MP_CROAK_PUTBACK'
                 MP_CROAK_PUTBACK(MODPERL_FILTER_ERROR,
                 ^
modperl_error.h:42:36: warning: initialization makes pointer from integer without a cast [enabled by default]
         modperl_interp_t *interp = modperl_thx_interp_get(aTHX);        \
                                    ^
modperl_error.h:50:9: note: in expansion of macro 'MP_PUTBACK_IF_USED'
         MP_PUTBACK_IF_USED();                                           \
         ^
modperl_filter.c:538:17: note: in expansion of macro 'MP_CROAK_PUTBACK'
                 MP_CROAK_PUTBACK(MODPERL_FILTER_ERROR,
                 ^