You are viewing a plain text version of this content. The canonical link for it is here.
Posted to modperl@perl.apache.org by "Ruslan U. Zakirov" <cu...@wr.miee.ru> on 2004/05/02 21:24:10 UTC

[MP2 CVS] make test errors under freebsd and perl5.8.4

                Hello.

Failed Test                 Stat Wstat Total Fail  Failed  List of Failed
-------------------------------------------------------------------------------
t/apr-ext/uuid.t               1   256     3    4 133.33%  2-3
t/filter/both_str_con_add.t                4    3  75.00%  2-4
t/protocol/echo_block.t                    3    2  66.67%  2-3
t/protocol/echo_filter.t                   3    2  66.67%  2-3

VERBOSE RUN
make test TEST_VERBOSE=1 TEST_FILES="apr-ext/uuid.t filter/both_str_con_add.t protocol/echo_block.t protocol/echo_filter.t"
cd "src/modules/perl" && make -f Makefile.modperl
/usr/bin/perl -Iblib/arch/Apache2 -Iblib/lib/Apache2  t/TEST -clean
APACHE_TEST_GROUP= APACHE_TEST_HTTPD= APACHE_TEST_PORT= APACHE_TEST_USER= APACHE_TEST_APXS=  /usr/bin/perl -Iblib/arch/Apache2 -Iblib/lib/Apache2  t/TEST -bugreport -verbose=1 apr-ext/uuid.t filter/both_str_con_add.t protocol/echo_block.t protocol/echo_filter.t
/usr/local/apache-2.0/bin/httpd -d /home/cubic/src/CVS/modperl-2.0/t -f /home/cubic/src/CVS/modperl-2.0/t/conf/httpd.conf -D APACHE2
using Apache/2.0.50-dev (prefork MPM)

waiting 120 seconds for server to start: ..[Mon May 03 00:29:59 2004] [info] 28 Apache:: modules loaded
[Mon May 03 00:29:59 2004] [info] 5 APR:: modules loaded
[Mon May 03 00:29:59 2004] [info] base server + 18 vhosts ready to run tests
..
waiting 120 seconds for server to start: ok (waited 3 secs)
server localhost.miee.ru:8529 started
server localhost.miee.ru:8530 listening (TestModperl::merge)
server localhost.miee.ru:8531 listening (TestModperl::perl_options)
server localhost.miee.ru:8532 listening (TestModperl::setupenv)
server localhost.miee.ru:8533 listening (TestVhost::config)
server localhost.miee.ru:8534 listening (TestProtocol::echo_block)
server localhost.miee.ru:8535 listening (TestProtocol::echo_filter)
server localhost.miee.ru:8536 listening (TestProtocol::echo_timeout)
server localhost.miee.ru:8537 listening (TestProtocol::eliza)
server localhost.miee.ru:8538 listening (TestPreConnection::note)
server localhost.miee.ru:8539 listening (TestHooks::stacked_handlers2)
server localhost.miee.ru:8540 listening (TestHooks::startup)
server localhost.miee.ru:8541 listening (TestFilter::both_str_con_add)
server localhost.miee.ru:8542 listening (TestFilter::in_bbs_inject_header)
server localhost.miee.ru:8543 listening (TestFilter::in_bbs_msg)
server localhost.miee.ru:8544 listening (TestFilter::in_str_msg)
server localhost.miee.ru:8545 listening (TestDirective::perlmodule)
server localhost.miee.ru:8546 listening (TestDirective::perlrequire)
server localhost.miee.ru:8547 listening (TestPerl::ithreads)
server localhost.miee.ru:8548 listening (TestDirective::perlloadmodule3)
server localhost.miee.ru:8549 listening (TestDirective::perlloadmodule4)
server localhost.miee.ru:8550 listening (TestDirective::perlloadmodule5)
server localhost.miee.ru:8551 listening (TestDirective::perlloadmodule6)
t/apr-ext/uuid...............1..3
# Running under perl version 5.008004 for freebsd
# Current time local: Mon May  3 00:30:02 2004
# Current time GMT:   Sun May  2 20:30:02 2004
# Using Test.pm version 1.24
ok 1
/usr/libexec/ld-elf.so.1: /home/cubic/src/CVS/modperl-2.0/blib/arch/Apache2/auto/APR/UUID/UUID.so: Undefined symbol "apr_uuid_parse"
dubious
        Test returned status 1 (wstat 256, 0x100)
DIED. FAILED tests 2-3
        Failed 2/3 tests, 33.33% okay
t/filter/both_str_con_add....1..4
# Running under perl version 5.008004 for freebsd
# Current time local: Mon May  3 00:30:03 2004
# Current time GMT:   Sun May  2 20:30:03 2004
# Using Test.pm version 1.24
ok 1
# expected: mod_perl
# received:
not ok 2
# Failed test 2 in t/filter/both_str_con_add.t at line 22
#  t/filter/both_str_con_add.t line 22 is:     ok t_cmp($str, $reply);
# expected: 2.0
# received:
not ok 3
# Failed test 3 in t/filter/both_str_con_add.t at line 22 fail #2
# expected: rules
# received:
not ok 4
# Failed test 4 in t/filter/both_str_con_add.t at line 22 fail #3
FAILED tests 2-4
        Failed 3/4 tests, 25.00% okay
t/protocol/echo_block........1..3
# Running under perl version 5.008004 for freebsd
# Current time local: Mon May  3 00:30:04 2004
# Current time GMT:   Sun May  2 20:30:04 2004
# Using Test.pm version 1.24
ok 1
# expected: hello
# received:
not ok 2
# Failed test 2 in t/protocol/echo_block.t at line 19
#  t/protocol/echo_block.t line 19 is:     ok t_cmp($_, $reply);
# expected: world
# received:
not ok 3
# Failed test 3 in t/protocol/echo_block.t at line 19 fail #2
FAILED tests 2-3
        Failed 2/3 tests, 33.33% okay
t/protocol/echo_filter.......1..3
# Running under perl version 5.008004 for freebsd
# Current time local: Mon May  3 00:30:06 2004
# Current time GMT:   Sun May  2 20:30:06 2004
# Using Test.pm version 1.24
ok 1
# expected: hello
# received:
not ok 2
# Failed test 2 in t/protocol/echo_filter.t at line 19
#  t/protocol/echo_filter.t line 19 is:     ok t_cmp($_, $reply);
# expected: world
# received:
not ok 3
# Failed test 3 in t/protocol/echo_filter.t at line 19 fail #2
FAILED tests 2-3
        Failed 2/3 tests, 33.33% okay




cat error_log
END in modperl_extra.pl, pid=32200
[Mon May 03 00:25:40 2004] [notice] Apache/2.0.50-dev (Unix) mod_perl/1.99_14-dev Perl/v5.8.4 DAV/2
configured -- resuming normal operations
[Mon May 03 00:25:40 2004] [info] Server built: May  2 2004 21:19:25
[Mon May 03 00:25:40 2004] [debug] prefork.c(955): AcceptMutex: flock (default: flock)
[Mon May 03 00:25:42 2004] [error] server reached MaxClients setting, consider raising the MaxClient
s setting
[Mon May 03 00:25:44 2004] [error] failed to set non-blocking mode at /home/cubic/src/CVS/modperl-2.
0/t/protocol/TestProtocol/echo_block.pm line 31.\n
[Mon May 03 00:25:45 2004] [info] Child process pid=32210 is exiting
END in modperl_extra.pl, pid=32210
[Mon May 03 00:25:45 2004] [info] Child process pid=32206 is exiting
END in modperl_extra.pl, pid=32206
[Mon May 03 00:25:45 2004] [info] removed PID file /home/cubic/src/CVS/modperl-2.0/t/logs/httpd.pid
(pid=32203)
[Mon May 03 00:25:45 2004] [notice] caught SIGTERM, shutting down
END in modperl_extra.pl, pid=32203

perl -V
Summary of my perl5 (revision 5 version 8 subversion 4) configuration:
  Platform:
    osname=freebsd, osvers=4.5-stable, archname=i386-freebsd
    uname='freebsd flamengo.citl.miee.ru 4.5-stable freebsd 4.5-stable #5: fri oct 25 20:59:44 msd 2002 root@flamengo.citl.miee.ru:usrsrcsyscompileflamengo i386 '
    config_args=''
    hint=recommended, useposix=true, d_sigaction=define
    usethreads=undef use5005threads=undef useithreads=undef usemultiplicity=undef
    useperlio=define d_sfio=undef uselargefiles=define usesocks=undef
    use64bitint=undef use64bitall=undef uselongdouble=undef
    usemymalloc=n, bincompat5005=undef
  Compiler:
    cc='cc', ccflags ='-DHAS_FPSETMASK -DHAS_FLOATINGPOINT_H -DDEBUGGING -fno-strict-aliasing -I/usr/local/include',
    optimize='-g -O',
    cppflags='-DHAS_FPSETMASK -DHAS_FLOATINGPOINT_H -DDEBUGGING -fno-strict-aliasing -I/usr/local/include'
    ccversion='', gccversion='2.95.3 20010315 (release) [FreeBSD]', gccosandvers=''
    intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=1234
    d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=12
    ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=8
    alignbytes=4, prototype=define
  Linker and Libraries:
    ld='cc', ldflags ='-Wl,-E  -L/usr/local/lib'
    libpth=/usr/lib /usr/local/lib
    libs=-lm -lcrypt -lutil -lc
    perllibs=-lm -lcrypt -lutil -lc
    libc=, so=so, useshrplib=false, libperl=libperl.a
    gnulibc_version=''
  Dynamic Linking:
    dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags=' '
    cccdlflags='-DPIC -fPIC', lddlflags='-shared  -L/usr/local/lib'

Characteristics of this binary (from libperl):
  Compile-time options: DEBUGGING USE_LARGE_FILES
  Built under freebsd
  Compiled at May  2 2004 23:29:18
  @INC:
    /usr/lib/perl5/5.8.4/i386-freebsd
    /usr/lib/perl5/5.8.4
    /usr/lib/perl5/site_perl/5.8.4/i386-freebsd
    /usr/lib/perl5/site_perl/5.8.4
    /usr/lib/perl5/site_perl
    .


-- 
Report problems: http://perl.apache.org/bugs/
Mail list info: http://perl.apache.org/maillist/modperl.html
List etiquette: http://perl.apache.org/maillist/email-etiquette.html


Re: [MP2 CVS] make test errors under freebsd and perl5.8.4

Posted by "Ruslan U. Zakirov" <cu...@wildgate.miee.ru>.
Stas Bekman wrote:
> Ruslan U. Zakirov wrote:
> 
>>                 Hello.
>>
>> Failed Test                 Stat Wstat Total Fail  Failed  List of Failed
>> ------------------------------------------------------------------------------- 
>>
>> t/apr-ext/uuid.t               1   256     3    4 133.33%  2-3
>> t/filter/both_str_con_add.t                4    3  75.00%  2-4
>> t/protocol/echo_block.t                    3    2  66.67%  2-3
>> t/protocol/echo_filter.t                   3    2  66.67%  2-3
> 
> 
> There are known errors, Ruslan. Thanks for the report.
> 
> The first one is irrelevant to modperl itself, the last 3 are due to a 
> what seems to be a bug in Apache 2.0.49 pn bsd, solaris and a few other 
> platforms. (you won't have this error with 2.0.48).
Ok, I'll test my apps with it and may be revert apache to 2.0.48 
state(now I use latest cvs).
> 
> If you don't use protocol handlers reading/writing directly to/from the 
> socket
> you can ignore them all.
I don't use them.

		Thanks for info. Best regards. Ruslan.

-- 
Report problems: http://perl.apache.org/bugs/
Mail list info: http://perl.apache.org/maillist/modperl.html
List etiquette: http://perl.apache.org/maillist/email-etiquette.html


Re: [MP2 CVS] make test errors under freebsd and perl5.8.4

Posted by Stas Bekman <st...@stason.org>.
Ruslan U. Zakirov wrote:
>                 Hello.
> 
> Failed Test                 Stat Wstat Total Fail  Failed  List of Failed
> -------------------------------------------------------------------------------
> t/apr-ext/uuid.t               1   256     3    4 133.33%  2-3
> t/filter/both_str_con_add.t                4    3  75.00%  2-4
> t/protocol/echo_block.t                    3    2  66.67%  2-3
> t/protocol/echo_filter.t                   3    2  66.67%  2-3

There are known errors, Ruslan. Thanks for the report.

The first one is irrelevant to modperl itself, the last 3 are due to a what 
seems to be a bug in Apache 2.0.49 pn bsd, solaris and a few other platforms. 
(you won't have this error with 2.0.48).

If you don't use protocol handlers reading/writing directly to/from the socket
you can ignore them all.

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

-- 
Report problems: http://perl.apache.org/bugs/
Mail list info: http://perl.apache.org/maillist/modperl.html
List etiquette: http://perl.apache.org/maillist/email-etiquette.html