You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@perl.apache.org by Markus Wichitill <ma...@gmx.de> on 2004/11/20 09:24:12 UTC
Re: [RELEASE CANDIDATE] mod_perl-1.99_17 RC1
Stas Bekman wrote:
> Randy Kobes wrote:
>> For the protocol/echo_nonblock.t test, as I mentioned,
>> the failure of the last test (which is expected to timeout)
>> only occurred when running the full test suite. I'll
>> try to narrow it down - one combination that does fail is
>> perl t/TEST -v apr protocol
>> in which test 3 in protocol/echo_nonblock receives
>> "should timeout", rather than "TIMEUP".
>>
>> For both of these tests, nothing was in the error log
>> that could offer a clue.
>
> OK, looking forward to the SMOKE's shortest sequence.
I'm seeing this issue, too, now, after having built from SVN the first time
(probably just coincidence, since I haven't built often during the last few
weeks). It's not always failing, but it's also failing if the test is run on
its own:
C:\Dev\src\modperl2>perl t\TEST -v t\protocol\echo_nonblock.t
[...]
t\protocol\echo_nonblock....1..3
# Running under perl version 5.008004 for MSWin32
# Win32::BuildNumber 810
# Current time local: Sat Nov 20 08:35:28 2004
# Current time GMT: Sat Nov 20 07:35:28 2004
# Using Test.pm version 1.25
# Using Apache/Test.pm version 1.17
ok 1
# testing : no timeout
# expected: nonblocking
# received: nonblocking
ok 2
# Failed test 3 in t\protocol\echo_nonblock.t at line 26
# testing : timed out
# expected: TIMEUP
# received: should timeout
not ok 3
FAILED test 3
Failed 1/3 tests, 66.67% okay
It's been a while since I last posted the build details:
*** Makefile.PL options:
MP_APR_LIB => aprext
MP_AP_PREFIX => C:\dev\apache2
MP_COMPAT_1X =>
MP_GENERATE_XS => 1
MP_LIBNAME => mod_perl
MP_USE_DSO => 1
*** C:\dev\apache2\bin\Apache.EXE -V
Server version: Apache/2.0.52
Server built: Sep 23 2004 16:17:34
Server's Module Magic Number: 20020903:9
Architecture: 32-bit
Server compiled with....
-D APACHE_MPM_DIR="server/mpm/winnt"
-D APR_HAS_SENDFILE
-D APR_HAS_MMAP
-D APR_HAS_OTHER_CHILD
-D AP_HAVE_RELIABLE_PIPED_LOGS
-D HTTPD_ROOT="/apache"
-D SUEXEC_BIN="/apache/bin/suexec"
-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"
*** (apr|apu)-config linking info
/libpath:"C:\dev\apache2\lib" libapr.lib
/libpath:"C:\dev\apache2\lib" libaprutil.lib
*** C:\dev\perl\bin\perl.exe -V
Summary of my perl5 (revision 5 version 8 subversion 4) configuration:
Platform:
osname=MSWin32, osvers=4.0, archname=MSWin32-x86-multi-thread
uname=''
config_args='undef'
hint=recommended, useposix=true, d_sigaction=undef
usethreads=undef use5005threads=undef useithreads=define
usemultiplicity=define
useperlio=define d_sfio=undef uselargefiles=define usesocks=undef
use64bitint=undef use64bitall=undef uselongdouble=undef
usemymalloc=n, bincompat5005=undef
Compiler:
cc='cl', ccflags ='-nologo -Gf -W3 -MD -Zi -DNDEBUG -O1 -DWIN32
-D_CONSOLE -DNO_STRICT -DHAVE_DES_FCRYPT -DNO_HASH_SEED
-DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS -DUSE_PERLIO -DPERL_MSVCRT_READFIX',
optimize='-MD -Zi -DNDEBUG -O1',
cppflags='-DWIN32'
ccversion='', gccversion='', gccosandvers=''
intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=1234
d_longlong=undef, longlongsize=8, d_longdbl=define, longdblsize=10
ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='__int64',
lseeksize=8
alignbytes=8, prototype=define
Linker and Libraries:
ld='link', ldflags ='-nologo -nodefaultlib -debug -opt:ref,icf
-libpath:"C:\dev\perl\lib\CORE" -machine:x86'
libpth=C:\PROGRA~1\MICROS~3\VC98\lib
libs= oldnames.lib kernel32.lib user32.lib gdi32.lib winspool.lib
comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib netapi32.lib
uuid.lib wsock32.lib mpr.lib winmm.lib version.lib odbc32.lib odbccp32.lib
msvcrt.lib
perllibs= oldnames.lib kernel32.lib user32.lib gdi32.lib winspool.lib
comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib netapi32.lib
uuid.lib wsock32.lib mpr.lib winmm.lib version.lib odbc32.lib odbccp32.lib
msvcrt.lib
libc=msvcrt.lib, so=dll, useshrplib=yes, libperl=perl58.lib
gnulibc_version='undef'
Dynamic Linking:
dlsrc=dl_win32.xs, dlext=dll, d_dlsymun=undef, ccdlflags=' '
cccdlflags=' ', lddlflags='-dll -nologo -nodefaultlib -debug
-opt:ref,icf -libpath:"C:\dev\perl\lib\CORE" -machine:x86'
Characteristics of this binary (from libperl):
Compile-time options: MULTIPLICITY USE_ITHREADS USE_LARGE_FILES
PERL_IMPLICIT_CONTEXT PERL_IMPLICIT_SYS
Locally applied patches:
ActivePerl Build 810
22751 Update to Test.pm 1.25
21540 Fix backward-compatibility issues in if.pm
Built under MSWin32
Compiled at Jun 1 2004 11:52:21
%ENV:
PERL_LWP_USE_HTTP_10="1"
@INC:
C:/Dev/perl/lib
C:/Dev/perl/site/lib
.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@perl.apache.org
For additional commands, e-mail: dev-help@perl.apache.org
Re: [RELEASE CANDIDATE] mod_perl-1.99_17 RC1
Posted by Stas Bekman <st...@stason.org>.
Stas Bekman wrote:
[...]
>> With "sleep 1", I didn't get any failures running "perl t\TEST
>> -times=100 t\protocol\echo_nonblock.t" and running the whole test
>> suite three times.
>
>
> Great! If someone can commit that it'd be great. I still don't have a
> properly working svn environment. Thanks. (If noone does and I forget it
> please remind me later)
Now committed.
--
__________________________________________________________________
Stas Bekman JAm_pH ------> Just Another mod_perl Hacker
http://stason.org/ mod_perl Guide ---> http://perl.apache.org
mailto:stas@stason.org http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org http://ticketmaster.com
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@perl.apache.org
For additional commands, e-mail: dev-help@perl.apache.org
Re: [RELEASE CANDIDATE] mod_perl-1.99_17 RC1
Posted by Stas Bekman <st...@stason.org>.
Markus Wichitill wrote:
> Stas Bekman wrote:
>
>> Markus Wichitill wrote:
>>
>>> Stas Bekman wrote:
>>>
>>>> Randy Kobes wrote:
>>>>
>>>>> For the protocol/echo_nonblock.t test, as I mentioned,
>>>>> the failure of the last test (which is expected to timeout)
>>>>> only occurred when running the full test suite. I'll
>>>>> try to narrow it down - one combination that does fail is
>>>>> perl t/TEST -v apr protocol
>>>>> in which test 3 in protocol/echo_nonblock receives
>>>>> "should timeout", rather than "TIMEUP".
>>>>>
>>>>> For both of these tests, nothing was in the error log
>>>>> that could offer a clue.
>>>>
>>>>
>>>> OK, looking forward to the SMOKE's shortest sequence.
>>>
>>>
>>> I'm seeing this issue, too, now, after having built from SVN the
>>> first time (probably just coincidence, since I haven't built often
>>> during the last few weeks). It's not always failing, but it's also
>>> failing if the test is run on its own:
>>
>>
>> Markus, any difference with this patch?
>>
>> Index: t/protocol/echo_nonblock.t
>> ===================================================================
>> RCS file: /home/cvs/modperl-2.0/t/protocol/echo_nonblock.t,v
>> retrieving revision 1.2
>> diff -u -r1.2 echo_nonblock.t
>> --- t/protocol/echo_nonblock.t 28 Sep 2004 22:47:22 -0000 1.2
>> +++ t/protocol/echo_nonblock.t 21 Nov 2004 16:53:11 -0000
>> @@ -21,6 +21,7 @@
>>
>> # now get a timed out request
>> $expected = "TIMEUP";
>> +sleep 2;
>> print $socket "should timeout\n";
>> chomp($received = <$socket> || '');
>> ok t_cmp $received, $expected, "timed out";
>>
>> If it works, try to lower it to 1 sec if possible.
>
>
> With "sleep 1", I didn't get any failures running "perl t\TEST
> -times=100 t\protocol\echo_nonblock.t" and running the whole test suite
> three times.
Great! If someone can commit that it'd be great. I still don't have a
properly working svn environment. Thanks. (If noone does and I forget it
please remind me later)
--
__________________________________________________________________
Stas Bekman JAm_pH ------> Just Another mod_perl Hacker
http://stason.org/ mod_perl Guide ---> http://perl.apache.org
mailto:stas@stason.org http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org http://ticketmaster.com
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@perl.apache.org
For additional commands, e-mail: dev-help@perl.apache.org
Re: [RELEASE CANDIDATE] mod_perl-1.99_17 RC1
Posted by Markus Wichitill <ma...@gmx.de>.
Stas Bekman wrote:
> Markus Wichitill wrote:
>> Stas Bekman wrote:
>>> Randy Kobes wrote:
>>>> For the protocol/echo_nonblock.t test, as I mentioned,
>>>> the failure of the last test (which is expected to timeout)
>>>> only occurred when running the full test suite. I'll
>>>> try to narrow it down - one combination that does fail is
>>>> perl t/TEST -v apr protocol
>>>> in which test 3 in protocol/echo_nonblock receives
>>>> "should timeout", rather than "TIMEUP".
>>>>
>>>> For both of these tests, nothing was in the error log
>>>> that could offer a clue.
>>>
>>> OK, looking forward to the SMOKE's shortest sequence.
>>
>> I'm seeing this issue, too, now, after having built from SVN the first
>> time (probably just coincidence, since I haven't built often during
>> the last few weeks). It's not always failing, but it's also failing if
>> the test is run on its own:
>
> Markus, any difference with this patch?
>
> Index: t/protocol/echo_nonblock.t
> ===================================================================
> RCS file: /home/cvs/modperl-2.0/t/protocol/echo_nonblock.t,v
> retrieving revision 1.2
> diff -u -r1.2 echo_nonblock.t
> --- t/protocol/echo_nonblock.t 28 Sep 2004 22:47:22 -0000 1.2
> +++ t/protocol/echo_nonblock.t 21 Nov 2004 16:53:11 -0000
> @@ -21,6 +21,7 @@
>
> # now get a timed out request
> $expected = "TIMEUP";
> +sleep 2;
> print $socket "should timeout\n";
> chomp($received = <$socket> || '');
> ok t_cmp $received, $expected, "timed out";
>
> If it works, try to lower it to 1 sec if possible.
With "sleep 1", I didn't get any failures running "perl t\TEST -times=100
t\protocol\echo_nonblock.t" and running the whole test suite three times.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@perl.apache.org
For additional commands, e-mail: dev-help@perl.apache.org
Re: [RELEASE CANDIDATE] mod_perl-1.99_17 RC1
Posted by Stas Bekman <st...@stason.org>.
Markus Wichitill wrote:
> Stas Bekman wrote:
>
>> Randy Kobes wrote:
>>
>>> For the protocol/echo_nonblock.t test, as I mentioned,
>>> the failure of the last test (which is expected to timeout)
>>> only occurred when running the full test suite. I'll
>>> try to narrow it down - one combination that does fail is
>>> perl t/TEST -v apr protocol
>>> in which test 3 in protocol/echo_nonblock receives
>>> "should timeout", rather than "TIMEUP".
>>>
>>> For both of these tests, nothing was in the error log
>>> that could offer a clue.
>>
>>
>> OK, looking forward to the SMOKE's shortest sequence.
>
>
> I'm seeing this issue, too, now, after having built from SVN the first
> time (probably just coincidence, since I haven't built often during the
> last few weeks). It's not always failing, but it's also failing if the
> test is run on its own:
>
> C:\Dev\src\modperl2>perl t\TEST -v t\protocol\echo_nonblock.t
> [...]
> t\protocol\echo_nonblock....1..3
> # Running under perl version 5.008004 for MSWin32
> # Win32::BuildNumber 810
> # Current time local: Sat Nov 20 08:35:28 2004
> # Current time GMT: Sat Nov 20 07:35:28 2004
> # Using Test.pm version 1.25
> # Using Apache/Test.pm version 1.17
> ok 1
> # testing : no timeout
> # expected: nonblocking
> # received: nonblocking
> ok 2
> # Failed test 3 in t\protocol\echo_nonblock.t at line 26
> # testing : timed out
> # expected: TIMEUP
> # received: should timeout
> not ok 3
> FAILED test 3
> Failed 1/3 tests, 66.67% okay
Markus, any difference with this patch?
Index: t/protocol/echo_nonblock.t
===================================================================
RCS file: /home/cvs/modperl-2.0/t/protocol/echo_nonblock.t,v
retrieving revision 1.2
diff -u -r1.2 echo_nonblock.t
--- t/protocol/echo_nonblock.t 28 Sep 2004 22:47:22 -0000 1.2
+++ t/protocol/echo_nonblock.t 21 Nov 2004 16:53:11 -0000
@@ -21,6 +21,7 @@
# now get a timed out request
$expected = "TIMEUP";
+sleep 2;
print $socket "should timeout\n";
chomp($received = <$socket> || '');
ok t_cmp $received, $expected, "timed out";
If it works, try to lower it to 1 sec if possible.
--
__________________________________________________________________
Stas Bekman JAm_pH ------> Just Another mod_perl Hacker
http://stason.org/ mod_perl Guide ---> http://perl.apache.org
mailto:stas@stason.org http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org http://ticketmaster.com
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@perl.apache.org
For additional commands, e-mail: dev-help@perl.apache.org