You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@perl.apache.org by Jan Kaluža <jk...@redhat.com> on 2015/06/01 09:46:43 UTC

Re: [RELEASE CANDIDATE]: mod_perl-2.0.9 RC2

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 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