You are viewing a plain text version of this content. The canonical link for it is here.
Posted to modperl@perl.apache.org by Alexander Aparzev <al...@aparzev.com> on 2011/01/27 15:39:31 UTC

[QUESTION] Some tests fail on Debian

Hi.

I have a problem installing mod_perl. Some tests fail.

Configuration:

- mod_perl 2.0.4
- Linux version 2.6.26-1-amd64 (Debian 2.6.26-13lenny2)
- Apache/2.2.9 (Debian)

Failing tests:

t/modperl/pnotes2.......................NOK 1/12# Failed test 1 in 
t/modperl/pnotes2.t at line 25
t/modperl/pnotes2.......................NOK 2/12# Failed test 2 in 
t/modperl/pnotes2.t at line 25 fail #2
t/modperl/pnotes2.......................NOK 3/12# Failed test 3 in 
t/modperl/pnotes2.t at line 25 fail #3
# Failed test 4 in t/modperl/pnotes2.t at line 25 fail #4
t/modperl/pnotes2.......................NOK 4/12# Failed test 5 in 
t/modperl/pnotes2.t at line 25 fail #5
t/modperl/pnotes2.......................NOK 5/12# Failed test 6 in 
t/modperl/pnotes2.t at line 25 fail #6
t/modperl/pnotes2.......................NOK 6/12# Failed test 7 in 
t/modperl/pnotes2.t at line 25 fail #7
t/modperl/pnotes2.......................NOK 7/12# Failed test 8 in 
t/modperl/pnotes2.t at line 25 fail #8
t/modperl/pnotes2.......................NOK 8/12# Failed test 9 in 
t/modperl/pnotes2.t at line 25 fail #9
t/modperl/pnotes2.......................NOK 9/12# Failed test 10 in 
t/modperl/pnotes2.t at line 25 fail #10
t/modperl/pnotes2.......................NOK 10/12# Failed test 11 in 
t/modperl/pnotes2.t at line 25 fail #11
t/modperl/pnotes2.......................NOK 11/12# Failed test 12 in 
t/modperl/pnotes2.t at line 25 fail #12
t/modperl/pnotes2.......................FAILED tests 1-12
         Failed 12/12 tests, 0.00% okay

t/hooks/cleanup.........................ok 1/2# Failed test 2 in 
t/hooks/cleanup.t at line 38
t/hooks/cleanup.........................FAILED test 2
         Failed 1/2 tests, 50.00% okay

t/hooks/cleanup2........................ok 1/2# Failed test 2 in 
t/hooks/cleanup2.t at line 43
t/hooks/cleanup2........................FAILED test 2
         Failed 1/2 tests, 50.00% okay

t/perl/api..............................FAILED test 2
         Failed 1/2 tests, 50.00% okay

Thanks in advance for any tips.



Re: [QUESTION] Some tests fail on Debian

Posted by Alexander Aparzev <al...@aparzev.com>.
On 28.01.2011 12:07, Torsten Förtsch wrote:
> On Friday, January 28, 2011 11:42:46 Alexander Aparzev wrote:
>>> # now check the log and see if it contains 12 lines of 'pnotes are ...'
>>> ((12==$(grep 'pnotes are destroyed after cleanup passed' t/logs/error_log
>>> | wc -l)))&&   echo ok
>>
>> Thank you Torsten. No, it doesn't.
>
> Don't know what the itk-MPM does there. It may be that it just doesn't run the
> cleanup hooks knowing that the process will terminate soon.
>
> That also might be a reason for you to ignore the error.
>
> Otherwise, get your preferred debugger and ...
> Patches are welcome.

Would if I could :(

I am a Java developer and an ad-hoc system administrator. I can write a 
Perl script, but I cannot possibly debug mod_perl. Besides, there are 
other tests failing - see original message.

I think I would just give "make install" a try. Do you think it would be 
safe to assume mod_perl cannot possibly destabilize other sites which do 
*not* use mod_perl?

>
> Viele Grüße aus Weimar nach Berlin (richtig),
> Torsten Förtsch

Viele Grüße aus Berlin nach Weimar :)

Alexander


Re: [QUESTION] Some tests fail on Debian

Posted by Torsten Förtsch <to...@gmx.net>.
On Friday, January 28, 2011 11:42:46 Alexander Aparzev wrote:
> > # now check the log and see if it contains 12 lines of 'pnotes are ...'
> > ((12==$(grep 'pnotes are destroyed after cleanup passed' t/logs/error_log
> > | wc -l)))&&  echo ok
> 
> Thank you Torsten. No, it doesn't.

Don't know what the itk-MPM does there. It may be that it just doesn't run the 
cleanup hooks knowing that the process will terminate soon. 

That also might be a reason for you to ignore the error.

Otherwise, get your preferred debugger and ...
Patches are welcome.

Viele Grüße aus Weimar nach Berlin (richtig),
Torsten Förtsch

-- 
Need professional modperl support? Hire me! (http://foertsch.name)

Like fantasy? http://kabatinte.net

Re: [QUESTION] Some tests fail on Debian

Posted by Alexander Aparzev <al...@aparzev.com>.
On 28.01.2011 09:46, Torsten Förtsch wrote:

> # run the test
> t/TEST -verbose t/modperl/pnotes2.t
>
> # now check the log and see if it contains 12 lines of 'pnotes are ...'
> ((12==$(grep 'pnotes are destroyed after cleanup passed' t/logs/error_log | wc -l)))&&  echo ok

Thank you Torsten. No, it doesn't. I am posting the log nevertheless, 
with similar-looking entries removed:

END in modperl_extra.pl, pid=10195
[Fri Jan 28 11:21:31 2011] [notice] Apache/2.2.9 (Debian) world 
domination series/2.0 mod_perl/2.0.5-rc1 Perl/v5.10.0 configured -- 
resuming normal operations
[Fri Jan 28 11:21:31 2011] [info] Server built: Dec 31 2010 20:16:52
[Fri Jan 28 11:21:31 2011] [debug] itk.c(1109): AcceptMutex: sysvsem 
(default: sysvsem)
[Fri Jan 28 11:21:32 2011] [info] Child process pid=10203 is exiting
[Fri Jan 28 11:21:32 2011] [info] Child process pid=10203 is exiting - 
server push
END in modperl_extra.pl, pid=10203

*** The following warn entry is expected and harmless ***
[Fri Jan 28 11:21:32 2011] [info] Child process pid=10204 is exiting
[Fri Jan 28 11:21:32 2011] [info] Child process pid=10204 is exiting - 
server push
END in modperl_extra.pl, pid=10204

... (Similar log entries removed)

*** The following warn entry is expected and harmless ***
[Fri Jan 28 11:21:35 2011] [info] server seems busy, (you may need to 
increase StartServers, or Min/MaxSpareServers), spawning 8 children, 
there are 0 idle, and 3 total children
[Fri Jan 28 11:21:35 2011] [info] Child process pid=10235 is exiting
[Fri Jan 28 11:21:35 2011] [info] Child process pid=10235 is exiting - 
server push
END in modperl_extra.pl, pid=10235

... (Similar log entries removed)

[Fri Jan 28 11:21:36 2011] [info] removed PID file 
/home/justme/sources/mod_perl-2.0.5-rc1/t/logs/httpd.pid (pid=10199)
[Fri Jan 28 11:21:36 2011] [notice] caught SIGTERM, shutting down
END in modperl_extra.pl, pid=10199

Re: [QUESTION] Some tests fail on Debian

Posted by Torsten Förtsch <to...@gmx.net>.
On Thursday, January 27, 2011 20:44:57 Alexander Aparzev wrote:
> using Apache/2.2.9 (itk MPM)

Just a guess, has anyone ever tested itk-MPM?

However, perhaps it's only a matter of bad timing. pnotes2.t is one of mine, I
think. It looks as follows:

for my $i (1..12) {
    t_client_log_warn_is_expected();
    t_start_error_log_watch;
    $u="$url?$i"; $ok=GET_BODY $u;
    select undef, undef, undef, 0.2;  # give it time to write the logfile
    ok t_cmp scalar(grep {
        /pnotes are destroyed after cleanup passed/;
    } t_finish_error_log_watch), 1, $u;
}

You see the 200ms pause? Maybe that's too short for itk.

Try the following:

# clean the log
>t/logs/error_log

# run the test
t/TEST -verbose t/modperl/pnotes2.t

# now check the log and see if it contains 12 lines of 'pnotes are ...'
((12==$(grep 'pnotes are destroyed after cleanup passed' t/logs/error_log | wc -l))) && echo ok

The reason for the test is a bug in a former mp2 version where the refcount of
the pnotes hash might become wrong:

$ svn log -r584380 t/response/TestModperl/pnotes2.pm 
------------------------------------------------------------------------
r584380 | gozer | 2007-10-13 08:48:14 +0200 (Sat, 13 Oct 2007) | 8 lines

Don't increase the refcnt of the pnotes HV* twice, we
will leak it.

Submitted-By: Torsten Foertsch <to...@gmx.net>
Message-Id: <20...@gmx.net>
Reviewed-By: gozer

Torsten Förtsch

-- 
Need professional modperl support? Hire me! (http://foertsch.name)

Like fantasy? http://kabatinte.net

Re: [QUESTION] Some tests fail on Debian

Posted by Fred Moyer <fr...@redhotpenguin.com>.
My guess is that your 64 bit setup with ithreads is causing this
error.  Does anyone else here have 64 bit they can test with an
ithreads enabled perl?

On Thu, Jan 27, 2011 at 12:18 PM, Alexander Aparzev
<al...@aparzev.com> wrote:
> On 27.01.2011 20:55, Fred Moyer wrote:
>>
>> On Thu, Jan 27, 2011 at 11:44 AM, Alexander Aparzev
>> <al...@aparzev.com>  wrote:
>>>
>>> On 27.01.2011 20:19, Fred Moyer wrote:
>>>>
>>>> Can you run the failing tests with verbose mode and post the results
>>>> here?
>>>>
>>>>  ./t/TEST -verbose t/modperl/pnotes2.t
>>>
>>> Sure. Did it:
>>>
>>> [warning] setting ulimit to allow core files
>>> ulimit -c unlimited; /usr/bin/perl
>>> /home/justme/sources/mod_perl-2.0.5-rc1/t/TEST -verbose
>>> 't/modperl/pnotes2.t'
>>> /usr/sbin/apache2  -d /home/justme/sources/mod_perl-2.0.5-rc1/t -f
>>> /home/justme/sources/mod_perl-2.0.5-rc1/t/conf/httpd.conf -D APACHE2 -D
>>> PERL_USEITHREADS
>>
>> I just tested this with perl 5.10.0 using ithreads and they all
>> passed.  Can you paste your output of 'perl -V'
>>
>
> You're welcome. Lengthy it is, and ugly-looking. If you consider it
> unreadable, I could place it someplace outside, in www.
>
> Summary of my perl5 (revision 5 version 10 subversion 0) configuration:
>  Platform:
>    osname=linux, osvers=2.6.30.5-dsa-amd64,
> archname=x86_64-linux-gnu-thread-multi
>    uname='linux brahms 2.6.30.5-dsa-amd64 #1 smp mon aug 17 02:18:43 cest
> 2009 x86_64 gnulinux '
>    config_args='-Dusethreads -Duselargefiles -Dccflags=-DDEBIAN
> -Dcccdlflags=-fPIC -Darchname=x86_64-linux-gnu -Dprefix=/usr
> -Dprivlib=/usr/share/per
> l/5.10 -Darchlib=/usr/lib/perl/5.10 -Dvendorprefix=/usr
> -Dvendorlib=/usr/share/perl5 -Dvendorarch=/usr/lib/perl5
> -Dsiteprefix=/usr/local -Dsitelib=/us
> r/local/share/perl/5.10.0 -Dsitearch=/usr/local/lib/perl/5.10.0
> -Dman1dir=/usr/share/man/man1 -Dman3dir=/usr/share/man/man3
> -Dsiteman1dir=/usr/local/m
> an/man1 -Dsiteman3dir=/usr/local/man/man3 -Dman1ext=1 -Dman3ext=3perl
> -Dpager=/usr/bin/sensible-pager -Uafs -Ud_csh -Ud_ualarm -Uusesfio -Uusenm
> -DDEB
> UGGING=-g -Doptimize=-O2 -Duseshrplib -Dlibperl=libperl.so.5.10.0 -Dd_dosuid
> -des'
>    hint=recommended, useposix=true, d_sigaction=define
>    useithreads=define, usemultiplicity=define
>    useperlio=define, d_sfio=undef, uselargefiles=define, usesocks=undef
>    use64bitint=define, use64bitall=define, uselongdouble=undef
>    usemymalloc=n, bincompat5005=undef
>  Compiler:
>    cc='cc', ccflags ='-D_REENTRANT -D_GNU_SOURCE -DDEBIAN
> -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 -fno-strict-aliasing -pipe
> -I/usr/local/include'
>    ccversion='', gccversion='4.3.2', 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='cc', ldflags =' -L/usr/local/lib'
>    libpth=/usr/local/lib /lib /usr/lib /lib64 /usr/lib64
>    libs=-lgdbm -lgdbm_compat -ldb -ldl -lm -lpthread -lc -lcrypt
>    perllibs=-ldl -lm -lpthread -lc -lcrypt
>    libc=/lib/libc-2.7.so, so=so, useshrplib=true, libperl=libperl.so.5.10.0
>    gnulibc_version='2.7'
>  Dynamic Linking:
>    dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-Wl,-E'
>    cccdlflags='-fPIC', lddlflags='-shared -O2 -g -L/usr/local/lib'
>
>
> Characteristics of this binary (from libperl):
>  Compile-time options: MULTIPLICITY PERL_DONT_CREATE_GVSV
>                        PERL_IMPLICIT_CONTEXT PERL_MALLOC_WRAP USE_64_BIT_ALL
>                        USE_64_BIT_INT USE_ITHREADS USE_LARGE_FILES
>                        USE_PERLIO USE_REENTRANT_API
>  Built under linux
>  Compiled at Aug 28 2009 22:24:50
>  @INC:
>    /etc/perl
>    /usr/local/lib/perl/5.10.0
>    /usr/local/share/perl/5.10.0
>    /usr/lib/perl5
>    /usr/share/perl5
>    /usr/lib/perl/5.10
>    /usr/share/perl/5.10
>    /usr/local/lib/site_perl
>

Re: [QUESTION] Some tests fail on Debian

Posted by Alexander Aparzev <al...@aparzev.com>.
On 27.01.2011 20:55, Fred Moyer wrote:
> On Thu, Jan 27, 2011 at 11:44 AM, Alexander Aparzev
> <al...@aparzev.com>  wrote:
>> On 27.01.2011 20:19, Fred Moyer wrote:
>>>
>>> Can you run the failing tests with verbose mode and post the results here?
>>>
>>>   ./t/TEST -verbose t/modperl/pnotes2.t
>>
>> Sure. Did it:
>>
>> [warning] setting ulimit to allow core files
>> ulimit -c unlimited; /usr/bin/perl
>> /home/justme/sources/mod_perl-2.0.5-rc1/t/TEST -verbose
>> 't/modperl/pnotes2.t'
>> /usr/sbin/apache2  -d /home/justme/sources/mod_perl-2.0.5-rc1/t -f
>> /home/justme/sources/mod_perl-2.0.5-rc1/t/conf/httpd.conf -D APACHE2 -D
>> PERL_USEITHREADS
>
> I just tested this with perl 5.10.0 using ithreads and they all
> passed.  Can you paste your output of 'perl -V'
>

You're welcome. Lengthy it is, and ugly-looking. If you consider it 
unreadable, I could place it someplace outside, in www.

Summary of my perl5 (revision 5 version 10 subversion 0) configuration:
   Platform:
     osname=linux, osvers=2.6.30.5-dsa-amd64, 
archname=x86_64-linux-gnu-thread-multi
     uname='linux brahms 2.6.30.5-dsa-amd64 #1 smp mon aug 17 02:18:43 
cest 2009 x86_64 gnulinux '
     config_args='-Dusethreads -Duselargefiles -Dccflags=-DDEBIAN 
-Dcccdlflags=-fPIC -Darchname=x86_64-linux-gnu -Dprefix=/usr 
-Dprivlib=/usr/share/per
l/5.10 -Darchlib=/usr/lib/perl/5.10 -Dvendorprefix=/usr 
-Dvendorlib=/usr/share/perl5 -Dvendorarch=/usr/lib/perl5 
-Dsiteprefix=/usr/local -Dsitelib=/us
r/local/share/perl/5.10.0 -Dsitearch=/usr/local/lib/perl/5.10.0 
-Dman1dir=/usr/share/man/man1 -Dman3dir=/usr/share/man/man3 
-Dsiteman1dir=/usr/local/m
an/man1 -Dsiteman3dir=/usr/local/man/man3 -Dman1ext=1 -Dman3ext=3perl 
-Dpager=/usr/bin/sensible-pager -Uafs -Ud_csh -Ud_ualarm -Uusesfio 
-Uusenm -DDEB
UGGING=-g -Doptimize=-O2 -Duseshrplib -Dlibperl=libperl.so.5.10.0 
-Dd_dosuid -des'
     hint=recommended, useposix=true, d_sigaction=define
     useithreads=define, usemultiplicity=define
     useperlio=define, d_sfio=undef, uselargefiles=define, usesocks=undef
     use64bitint=define, use64bitall=define, uselongdouble=undef
     usemymalloc=n, bincompat5005=undef
   Compiler:
     cc='cc', ccflags ='-D_REENTRANT -D_GNU_SOURCE -DDEBIAN 
-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 -fno-strict-aliasing 
-pipe -I/usr/local/include'
     ccversion='', gccversion='4.3.2', 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='cc', ldflags =' -L/usr/local/lib'
     libpth=/usr/local/lib /lib /usr/lib /lib64 /usr/lib64
     libs=-lgdbm -lgdbm_compat -ldb -ldl -lm -lpthread -lc -lcrypt
     perllibs=-ldl -lm -lpthread -lc -lcrypt
     libc=/lib/libc-2.7.so, so=so, useshrplib=true, 
libperl=libperl.so.5.10.0
     gnulibc_version='2.7'
   Dynamic Linking:
     dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-Wl,-E'
     cccdlflags='-fPIC', lddlflags='-shared -O2 -g -L/usr/local/lib'


Characteristics of this binary (from libperl):
   Compile-time options: MULTIPLICITY PERL_DONT_CREATE_GVSV
                         PERL_IMPLICIT_CONTEXT PERL_MALLOC_WRAP 
USE_64_BIT_ALL
                         USE_64_BIT_INT USE_ITHREADS USE_LARGE_FILES
                         USE_PERLIO USE_REENTRANT_API
   Built under linux
   Compiled at Aug 28 2009 22:24:50
   @INC:
     /etc/perl
     /usr/local/lib/perl/5.10.0
     /usr/local/share/perl/5.10.0
     /usr/lib/perl5
     /usr/share/perl5
     /usr/lib/perl/5.10
     /usr/share/perl/5.10
     /usr/local/lib/site_perl

Re: [QUESTION] Some tests fail on Debian

Posted by Fred Moyer <fr...@redhotpenguin.com>.
On Thu, Jan 27, 2011 at 11:44 AM, Alexander Aparzev
<al...@aparzev.com> wrote:
> On 27.01.2011 20:19, Fred Moyer wrote:
>>
>> Can you run the failing tests with verbose mode and post the results here?
>>
>>  ./t/TEST -verbose t/modperl/pnotes2.t
>
> Sure. Did it:
>
> [warning] setting ulimit to allow core files
> ulimit -c unlimited; /usr/bin/perl
> /home/justme/sources/mod_perl-2.0.5-rc1/t/TEST -verbose
> 't/modperl/pnotes2.t'
> /usr/sbin/apache2  -d /home/justme/sources/mod_perl-2.0.5-rc1/t -f
> /home/justme/sources/mod_perl-2.0.5-rc1/t/conf/httpd.conf -D APACHE2 -D
> PERL_USEITHREADS

I just tested this with perl 5.10.0 using ithreads and they all
passed.  Can you paste your output of 'perl -V'


> using Apache/2.2.9 (itk MPM)
>
> waiting 300 seconds for server to start: .[Thu Jan 27 20:31:58 2011] [info]
> 6 Apache2:: modules loaded
> [Thu Jan 27 20:31:58 2011] [info] 0 APR:: modules loaded
> [Thu Jan 27 20:31:58 2011] [info] base server + 29 vhosts ready to run tests
> ..
> waiting 300 seconds for server to start: ok (waited 1 secs)
> server localhost:8529 started
> server localhost:8530 listening (perlsections)
> server localhost:8531 listening (inherit)
> server localhost:8532 listening (filter_out_apache)
> server localhost:8533 listening (TestModules::proxy)
> server localhost:8534 listening (TestUser::rewrite)
> server localhost:8535 listening (TestModperl::perl_options2)
> server localhost:8536 listening (TestModperl::setupenv)
> server localhost:8537 listening (TestModperl::perl_options)
> server localhost:8538 listening (TestModperl::merge)
> server localhost:8539 listening (TestVhost::config)
> server localhost:8540 listening (TestVhost::log)
> server localhost:8541 listening (TestProtocol::echo_timeout)
> server localhost:8542 listening (TestProtocol::pseudo_http)
> server localhost:8543 listening (TestProtocol::echo_block)
> server localhost:8544 listening (TestProtocol::echo_bbs)
> server localhost:8545 listening (TestProtocol::echo_filter)
> server localhost:8546 listening (TestProtocol::echo_bbs2)
> server localhost:8547 listening (TestProtocol::echo_nonblock)
> server localhost:8548 listening (TestPreConnection::note)
> server localhost:8549 listening (TestHooks::init)
> server localhost:8550 listening (TestHooks::trans)
> server localhost:8551 listening (TestHooks::stacked_handlers2)
> server localhost:8552 listening (TestHooks::startup)
> server localhost:8553 listening (TestHooks::hookrun)
> server localhost:8554 listening (TestFilter::in_str_msg)
> server localhost:8555 listening (TestFilter::both_str_con_add)
> server localhost:8556 listening (TestFilter::in_bbs_inject_header)
> server localhost:8557 listening (TestFilter::in_bbs_msg)
> server localhost:8558 listening (TestDirective::perlmodule)
> server localhost:8559 listening (TestDirective::perlrequire)
> server localhost:8560 listening (TestAPI::add_config)
> server localhost:8561 listening (TestDirective::perlloadmodule5)
> server localhost:8562 listening (TestDirective::perlloadmodule4)
> server localhost:8563 listening (TestDirective::perlloadmodule3)
> server localhost:8564 listening (TestDirective::perlloadmodule6)
> server localhost:8565 listening (TestHooks::push_handlers_anon)
> t/modperl/pnotes2....# connecting to
> http://localhost:8529/TestModperl__pnotes2
> 1..12
> # Running under perl version 5.010000 for linux
> # Current time local: Thu Jan 27 20:32:00 2011
> # Current time GMT:   Thu Jan 27 19:32:00 2011
> # Using Test.pm version 1.25
> # Using Apache/Test.pm version 1.34
> # Failed test 1 in t/modperl/pnotes2.t at line 25
> # testing : http://localhost:8529/TestModperl__pnotes2?1
> # expected: 1
> # received: 0
> not ok 1
> # Failed test 2 in t/modperl/pnotes2.t at line 25 fail #2
> # testing : http://localhost:8529/TestModperl__pnotes2?2
> # expected: 1
> # received: 0
> not ok 2
> # Failed test 3 in t/modperl/pnotes2.t at line 25 fail #3
> # testing : http://localhost:8529/TestModperl__pnotes2?3
> # expected: 1
> # received: 0
> not ok 3
> # Failed test 4 in t/modperl/pnotes2.t at line 25 fail #4
> # testing : http://localhost:8529/TestModperl__pnotes2?4
> # expected: 1
> # received: 0
> not ok 4
> # Failed test 5 in t/modperl/pnotes2.t at line 25 fail #5
> # testing : http://localhost:8529/TestModperl__pnotes2?5
> # expected: 1
> # received: 0
> not ok 5
> # Failed test 6 in t/modperl/pnotes2.t at line 25 fail #6
> # testing : http://localhost:8529/TestModperl__pnotes2?6
> # expected: 1
> # received: 0
> not ok 6
> # Failed test 7 in t/modperl/pnotes2.t at line 25 fail #7
> # testing : http://localhost:8529/TestModperl__pnotes2?7
> # expected: 1
> # received: 0
> not ok 7
> # Failed test 8 in t/modperl/pnotes2.t at line 25 fail #8
> # testing : http://localhost:8529/TestModperl__pnotes2?8
> # expected: 1
> # received: 0
> not ok 8
> # Failed test 9 in t/modperl/pnotes2.t at line 25 fail #9
> # testing : http://localhost:8529/TestModperl__pnotes2?9
> # expected: 1
> # received: 0
> not ok 9
> # Failed test 10 in t/modperl/pnotes2.t at line 25 fail #10
> # testing : http://localhost:8529/TestModperl__pnotes2?10
> # expected: 1
> # received: 0
> not ok 10
> # Failed test 11 in t/modperl/pnotes2.t at line 25 fail #11
> # testing : http://localhost:8529/TestModperl__pnotes2?11
> # expected: 1
> # received: 0
> not ok 11
> # Failed test 12 in t/modperl/pnotes2.t at line 25 fail #12
> # testing : http://localhost:8529/TestModperl__pnotes2?12
> # expected: 1
> # received: 0
> not ok 12
> FAILED tests 1-12
>        Failed 12/12 tests, 0.00% okay
> Failed Test         Stat Wstat Total Fail  List of Failed
> -------------------------------------------------------------------------------
> t/modperl/pnotes2.t               12   12  1-12
> Failed 1/1 test scripts. 12/12 subtests failed.
> Files=1, Tests=12,  4 wallclock secs ( 0.33 cusr +  0.08 csys =  0.41 CPU)
> Failed 1/1 test programs. 12/12 subtests failed.
> [warning] server localhost:8529 shutdown
> [  error] error running tests (please examine t/logs/error_log)
>

Re: [QUESTION] Some tests fail on Debian

Posted by Alexander Aparzev <al...@aparzev.com>.
On 27.01.2011 20:19, Fred Moyer wrote:
> Can you run the failing tests with verbose mode and post the results here?
>
>   ./t/TEST -verbose t/modperl/pnotes2.t

Sure. Did it:

[warning] setting ulimit to allow core files
ulimit -c unlimited; /usr/bin/perl 
/home/justme/sources/mod_perl-2.0.5-rc1/t/TEST -verbose 
't/modperl/pnotes2.t'
/usr/sbin/apache2  -d /home/justme/sources/mod_perl-2.0.5-rc1/t -f 
/home/justme/sources/mod_perl-2.0.5-rc1/t/conf/httpd.conf -D APACHE2 -D 
PERL_USEITH
READS
using Apache/2.2.9 (itk MPM)

waiting 300 seconds for server to start: .[Thu Jan 27 20:31:58 2011] 
[info] 6 Apache2:: modules loaded
[Thu Jan 27 20:31:58 2011] [info] 0 APR:: modules loaded
[Thu Jan 27 20:31:58 2011] [info] base server + 29 vhosts ready to run tests
..
waiting 300 seconds for server to start: ok (waited 1 secs)
server localhost:8529 started
server localhost:8530 listening (perlsections)
server localhost:8531 listening (inherit)
server localhost:8532 listening (filter_out_apache)
server localhost:8533 listening (TestModules::proxy)
server localhost:8534 listening (TestUser::rewrite)
server localhost:8535 listening (TestModperl::perl_options2)
server localhost:8536 listening (TestModperl::setupenv)
server localhost:8537 listening (TestModperl::perl_options)
server localhost:8538 listening (TestModperl::merge)
server localhost:8539 listening (TestVhost::config)
server localhost:8540 listening (TestVhost::log)
server localhost:8541 listening (TestProtocol::echo_timeout)
server localhost:8542 listening (TestProtocol::pseudo_http)
server localhost:8543 listening (TestProtocol::echo_block)
server localhost:8544 listening (TestProtocol::echo_bbs)
server localhost:8545 listening (TestProtocol::echo_filter)
server localhost:8546 listening (TestProtocol::echo_bbs2)
server localhost:8547 listening (TestProtocol::echo_nonblock)
server localhost:8548 listening (TestPreConnection::note)
server localhost:8549 listening (TestHooks::init)
server localhost:8550 listening (TestHooks::trans)
server localhost:8551 listening (TestHooks::stacked_handlers2)
server localhost:8552 listening (TestHooks::startup)
server localhost:8553 listening (TestHooks::hookrun)
server localhost:8554 listening (TestFilter::in_str_msg)
server localhost:8555 listening (TestFilter::both_str_con_add)
server localhost:8556 listening (TestFilter::in_bbs_inject_header)
server localhost:8557 listening (TestFilter::in_bbs_msg)
server localhost:8558 listening (TestDirective::perlmodule)
server localhost:8559 listening (TestDirective::perlrequire)
server localhost:8560 listening (TestAPI::add_config)
server localhost:8561 listening (TestDirective::perlloadmodule5)
server localhost:8562 listening (TestDirective::perlloadmodule4)
server localhost:8563 listening (TestDirective::perlloadmodule3)
server localhost:8564 listening (TestDirective::perlloadmodule6)
server localhost:8565 listening (TestHooks::push_handlers_anon)
t/modperl/pnotes2....# connecting to 
http://localhost:8529/TestModperl__pnotes2
1..12
# Running under perl version 5.010000 for linux
# Current time local: Thu Jan 27 20:32:00 2011
# Current time GMT:   Thu Jan 27 19:32:00 2011
# Using Test.pm version 1.25
# Using Apache/Test.pm version 1.34
# Failed test 1 in t/modperl/pnotes2.t at line 25
# testing : http://localhost:8529/TestModperl__pnotes2?1
# expected: 1
# received: 0
not ok 1
# Failed test 2 in t/modperl/pnotes2.t at line 25 fail #2
# testing : http://localhost:8529/TestModperl__pnotes2?2
# expected: 1
# received: 0
not ok 2
# Failed test 3 in t/modperl/pnotes2.t at line 25 fail #3
# testing : http://localhost:8529/TestModperl__pnotes2?3
# expected: 1
# received: 0
not ok 3
# Failed test 4 in t/modperl/pnotes2.t at line 25 fail #4
# testing : http://localhost:8529/TestModperl__pnotes2?4
# expected: 1
# received: 0
not ok 4
# Failed test 5 in t/modperl/pnotes2.t at line 25 fail #5
# testing : http://localhost:8529/TestModperl__pnotes2?5
# expected: 1
# received: 0
not ok 5
# Failed test 6 in t/modperl/pnotes2.t at line 25 fail #6
# testing : http://localhost:8529/TestModperl__pnotes2?6
# expected: 1
# received: 0
not ok 6
# Failed test 7 in t/modperl/pnotes2.t at line 25 fail #7
# testing : http://localhost:8529/TestModperl__pnotes2?7
# expected: 1
# received: 0
not ok 7
# Failed test 8 in t/modperl/pnotes2.t at line 25 fail #8
# testing : http://localhost:8529/TestModperl__pnotes2?8
# expected: 1
# received: 0
not ok 8
# Failed test 9 in t/modperl/pnotes2.t at line 25 fail #9
# testing : http://localhost:8529/TestModperl__pnotes2?9
# expected: 1
# received: 0
not ok 9
# Failed test 10 in t/modperl/pnotes2.t at line 25 fail #10
# testing : http://localhost:8529/TestModperl__pnotes2?10
# expected: 1
# received: 0
not ok 10
# Failed test 11 in t/modperl/pnotes2.t at line 25 fail #11
# testing : http://localhost:8529/TestModperl__pnotes2?11
# expected: 1
# received: 0
not ok 11
# Failed test 12 in t/modperl/pnotes2.t at line 25 fail #12
# testing : http://localhost:8529/TestModperl__pnotes2?12
# expected: 1
# received: 0
not ok 12
FAILED tests 1-12
         Failed 12/12 tests, 0.00% okay
Failed Test         Stat Wstat Total Fail  List of Failed
-------------------------------------------------------------------------------
t/modperl/pnotes2.t               12   12  1-12
Failed 1/1 test scripts. 12/12 subtests failed.
Files=1, Tests=12,  4 wallclock secs ( 0.33 cusr +  0.08 csys =  0.41 CPU)
Failed 1/1 test programs. 12/12 subtests failed.
[warning] server localhost:8529 shutdown
[  error] error running tests (please examine t/logs/error_log)

Re: [QUESTION] Some tests fail on Debian

Posted by Fred Moyer <fr...@redhotpenguin.com>.
On Thu, Jan 27, 2011 at 11:25 AM, Alexander Aparzev
<al...@aparzev.com> wrote:
> On 27.01.2011 18:08, Fred Moyer wrote:
>>> I have a problem installing mod_perl. Some tests fail.
>
> Thank you for the hint, Fred. Gave it a try. Regrettably, the same result.
> There is nothing unusual in t/logs/error_log either.

Can you run the failing tests with verbose mode and post the results here?

 ./t/TEST -verbose t/modperl/pnotes2.t

Re: [QUESTION] Some tests fail on Debian

Posted by Alexander Aparzev <al...@aparzev.com>.
On 27.01.2011 18:08, Fred Moyer wrote:
> Can you try the unofficial release candidate here?
>
> http://people.apache.org/~phred/mod_perl-2.0.5-rc1.tar.gz
>
> On Thu, Jan 27, 2011 at 6:39 AM, Alexander Aparzev
> <al...@aparzev.com>  wrote:
>> Hi.
>>
>> I have a problem installing mod_perl. Some tests fail.

Thank you for the hint, Fred. Gave it a try. Regrettably, the same 
result. There is nothing unusual in t/logs/error_log either.

Best regards

Alexander



Re: [QUESTION] Some tests fail on Debian

Posted by Fred Moyer <fr...@redhotpenguin.com>.
Can you try the unofficial release candidate here?

http://people.apache.org/~phred/mod_perl-2.0.5-rc1.tar.gz

On Thu, Jan 27, 2011 at 6:39 AM, Alexander Aparzev
<al...@aparzev.com> wrote:
> Hi.
>
> I have a problem installing mod_perl. Some tests fail.
>
> Configuration:
>
> - mod_perl 2.0.4
> - Linux version 2.6.26-1-amd64 (Debian 2.6.26-13lenny2)
> - Apache/2.2.9 (Debian)
>
> Failing tests:
>
> t/modperl/pnotes2.......................NOK 1/12# Failed test 1 in
> t/modperl/pnotes2.t at line 25
> t/modperl/pnotes2.......................NOK 2/12# Failed test 2 in
> t/modperl/pnotes2.t at line 25 fail #2
> t/modperl/pnotes2.......................NOK 3/12# Failed test 3 in
> t/modperl/pnotes2.t at line 25 fail #3
> # Failed test 4 in t/modperl/pnotes2.t at line 25 fail #4
> t/modperl/pnotes2.......................NOK 4/12# Failed test 5 in
> t/modperl/pnotes2.t at line 25 fail #5
> t/modperl/pnotes2.......................NOK 5/12# Failed test 6 in
> t/modperl/pnotes2.t at line 25 fail #6
> t/modperl/pnotes2.......................NOK 6/12# Failed test 7 in
> t/modperl/pnotes2.t at line 25 fail #7
> t/modperl/pnotes2.......................NOK 7/12# Failed test 8 in
> t/modperl/pnotes2.t at line 25 fail #8
> t/modperl/pnotes2.......................NOK 8/12# Failed test 9 in
> t/modperl/pnotes2.t at line 25 fail #9
> t/modperl/pnotes2.......................NOK 9/12# Failed test 10 in
> t/modperl/pnotes2.t at line 25 fail #10
> t/modperl/pnotes2.......................NOK 10/12# Failed test 11 in
> t/modperl/pnotes2.t at line 25 fail #11
> t/modperl/pnotes2.......................NOK 11/12# Failed test 12 in
> t/modperl/pnotes2.t at line 25 fail #12
> t/modperl/pnotes2.......................FAILED tests 1-12
>        Failed 12/12 tests, 0.00% okay
>
> t/hooks/cleanup.........................ok 1/2# Failed test 2 in
> t/hooks/cleanup.t at line 38
> t/hooks/cleanup.........................FAILED test 2
>        Failed 1/2 tests, 50.00% okay
>
> t/hooks/cleanup2........................ok 1/2# Failed test 2 in
> t/hooks/cleanup2.t at line 43
> t/hooks/cleanup2........................FAILED test 2
>        Failed 1/2 tests, 50.00% okay
>
> t/perl/api..............................FAILED test 2
>        Failed 1/2 tests, 50.00% okay
>
> Thanks in advance for any tips.
>
>
>