You are viewing a plain text version of this content. The canonical link for it is here.
Posted to modperl@perl.apache.org by Alan Rafagudinov <al...@rafagudinov.com> on 2003/08/28 18:49:02 UTC
[mp2] make test failed
Hello!
1. Problem Description:
Errors while 'make test' was in filter/in_bbs_msg.t and hooks/trans.t
so output of
make test TEST_VERBOSE=1 TEST_FILES="filter/in_bbs_msg.t hooks/trans.t"
is:
filter/in_bbs_msg....# connecting to www.myhost.ru:8535
server side has failed (response code: 404),
see t/logs/error_log for more details
dubious
Test returned status 29 (wstat 7424, 0x1d00)
hooks/trans..........1..3
ok 1
Use of uninitialized value in pattern match (m//) at hooks/trans.t line 20.
dubious
Test returned status 29 (wstat 7424, 0x1d00)
DIED. FAILED tests 2-3
Failed 2/3 tests, 33.33% okay
Failed Test Stat Wstat Total Fail Failed List of Failed
-------------------------------------------------------------------------------
filter/in_bbs_msg.t 29 7424 ?? ?? % ??
hooks/trans.t 29 7424 3 2 66.67% 2-3
--
Content of t/logs/error_log:
[Thu Aug 28 20:34:10 2003] [info] mod_unique_id: using ip addr 127.0.0.1
END in modperl_extra.pl, pid=18558
[Thu Aug 28 20:34:11 2003] [notice] Digest: generating secret for digest authentication ...
[Thu Aug 28 20:34:18 2003] [notice] Digest: done
[Thu Aug 28 20:34:18 2003] [info] mod_unique_id: using ip addr 127.0.0.1
[Thu Aug 28 20:34:19 2003] [notice] Apache/2.0.47 (Unix) mod_perl/1.99_09 Perl/v5.8.0 DAV/2 configured -- resuming normal ope
rations
[Thu Aug 28 20:34:19 2003] [info] Server built: Aug 28 2003 18:59:50
[Thu Aug 28 20:34:19 2003] [debug] prefork.c(1037): AcceptMutex: sysvsem (default: sysvsem)
[Thu Aug 28 20:34:19 2003] [info] (22)Invalid argument: core_output_filter: writing data to the network
[Thu Aug 28 20:34:19 2003] [error] [client 127.0.0.1] File does not exist: /usr/src/httpd_perl/mod_perl-1.99_09/t/htdocs/inpu
t_filter.html
*** The following error entry is expected and it is harmless ***
[Thu Aug 28 20:34:20 2003] [error] server reached MaxClients setting, consider raising the MaxClients setting
[Thu Aug 28 20:34:20 2003] [error] [client 127.0.0.1] File does not exist: /usr/src/httpd_perl/mod_perl-1.99_09/t/htdocs/nope
[Thu Aug 28 20:34:20 2003] [info] (22)Invalid argument: core_output_filter: writing data to the network
[Thu Aug 28 20:34:20 2003] [info] Child process pid=18617 is exiting
[Thu Aug 28 20:34:20 2003] [info] removed PID file /usr/src/httpd_perl/mod_perl-1.99_09/t/logs/httpd.pid (pid=18565)
[Thu Aug 28 20:34:20 2003] [notice] caught SIGTERM, shutting down
END in modperl_extra.pl, pid=18565
2. Used Components and their Configuration:
*** using lib/Apache/BuildConfig.pm
*** Makefile.PL options:
MP_AP_PREFIX => /usr/local/httpd_perl
MP_COMPAT_1X => 1
MP_GENERATE_XS => 1
MP_INST_APACHE2 => 1
MP_LIBNAME => mod_perl
MP_USE_DSO => 1
MP_USE_STATIC => 1
*** /usr/local/httpd_perl/bin/httpd -V
Server version: Apache/2.0.47
Server built: Aug 28 2003 18:59:50
Server's Module Magic Number: 20020903:4
Architecture: 32-bit
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_SYSVSEM_SERIALIZE
-D APR_USE_PTHREAD_SERIALIZE
-D SINGLE_LISTEN_UNSERIALIZED_ACCEPT
-D APR_HAS_OTHER_CHILD
-D AP_HAVE_RELIABLE_PIPED_LOGS
-D HTTPD_ROOT="/usr/local/httpd_perl"
-D SUEXEC_BIN="/usr/local/httpd_perl/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"
*** /usr/local/bin/perl -V
Summary of my perl5 (revision 5.0 version 8 subversion 0) configuration:
Platform:
osname=linux, osvers=2.4.1-008stab044.8.swsoft-smp, archname=i686-linux
uname='linux www.webstores.ru 2.4.1-008stab044.8.swsoft-smp #1 smp fri jun 6 18:26:06 msd 2003 i686 unknown '
config_args='-de'
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 ='-fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gd
bm',
optimize='-O2',
cppflags='-fno-strict-aliasing -I/usr/local/include -I/usr/include/gdbm'
ccversion='', gccversion='2.96 20000731 (ASPLinux 7.1 2.96-85.asp)', 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 =' -L/usr/local/lib'
libpth=/usr/local/lib /lib /usr/lib
libs=-lnsl -lndbm -lgdbm -ldl -lm -lc -lcrypt -lutil
perllibs=-lnsl -ldl -lm -lc -lcrypt -lutil
libc=/lib/libc-2.2.4.so, so=so, useshrplib=false, libperl=libperl.a
gnulibc_version='2.2.4'
Dynamic Linking:
dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-rdynamic'
cccdlflags='-fpic', lddlflags='-shared -L/usr/local/lib'
Characteristics of this binary (from libperl):
Compile-time options: USE_LARGE_FILES
Built under linux
Compiled at Aug 28 2003 15:10:57
%ENV:
PERL_LWP_USE_HTTP_10="1"
@INC:
/usr/local/lib/perl5/5.8.0/i686-linux
/usr/local/lib/perl5/5.8.0
/usr/local/lib/perl5/site_perl/5.8.0/i686-linux
/usr/local/lib/perl5/site_perl/5.8.0
/usr/local/lib/perl5/site_perl
.
--
Alan Rafagudinov
E-mail: alan@rafagudinov.com | ralan@mail.ru
Homepage: http://www.rafagudinov.com
Phone: +7(926)22-55555
--
Reporting bugs: http://perl.apache.org/bugs/
Mail list info: http://perl.apache.org/maillist/modperl.html
Re: [mp2] make test failed
Posted by Stas Bekman <st...@stason.org>.
> My guess is that you've been hit by this Apache problem:
> http://httpd.apache.org/docs-2.0/faq/error.html#error.sendfile
>
> As the URL above suggests, try to add 'EnableSendfile On' somewhere in
> t/conf/httpd.conf and rerun:
>
> t/TEST -v filter/in_bbs_msg.t hooks/trans.t
>
> don't run 'make test' as it'll rewrite t/conf/httpd.conf, use t/TEST
> instead.
>
> I wonder why http://httpd.apache.org/docs-2.0/mod/core.html#enablesendfile
> says that it's on by default.
Argh, I confused "simply use the EnableSendfile directive" as to be turned on.
It should be:
EnableSendfile Off
of course.
__________________________________________________________________
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
--
Reporting bugs: http://perl.apache.org/bugs/
Mail list info: http://perl.apache.org/maillist/modperl.html
Re: [mp2] make test failed
Posted by Stas Bekman <st...@stason.org>.
Alan Rafagudinov wrote:
> Hello!
>
> 1. Problem Description:
Thanks for the detailed report, Alan.
> Errors while 'make test' was in filter/in_bbs_msg.t and hooks/trans.t
> [Thu Aug 28 20:34:19 2003] [info] (22)Invalid argument: core_output_filter: writing data to the network
> [Thu Aug 28 20:34:19 2003] [error] [client 127.0.0.1] File does not exist: /usr/src/httpd_perl/mod_perl-1.99_09/t/htdocs/inpu
> t_filter.html
[...]
> *** /usr/local/httpd_perl/bin/httpd -V
> Server version: Apache/2.0.47
> Server built: Aug 28 2003 18:59:50
> Server's Module Magic Number: 20020903:4
> Architecture: 32-bit
> Server compiled with....
> -D APACHE_MPM_DIR="server/mpm/prefork"
> -D APR_HAS_SENDFILE
My guess is that you've been hit by this Apache problem:
http://httpd.apache.org/docs-2.0/faq/error.html#error.sendfile
As the URL above suggests, try to add 'EnableSendfile On' somewhere in
t/conf/httpd.conf and rerun:
t/TEST -v filter/in_bbs_msg.t hooks/trans.t
don't run 'make test' as it'll rewrite t/conf/httpd.conf, use t/TEST instead.
I wonder why http://httpd.apache.org/docs-2.0/mod/core.html#enablesendfile
says that it's on by default.
__________________________________________________________________
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
--
Reporting bugs: http://perl.apache.org/bugs/
Mail list info: http://perl.apache.org/maillist/modperl.html