Re[2]: [mp2] make test failed
Hi! 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. SB Argh, I confused simply use the EnableSendfile directive as to be turned on. SB It should be: SBEnableSendfile Off SB of course. I guessed :-) Thank you, but your advice helped with hooks/trans.t only, filter/in_bbs_msg.t is still failed: t/TEST -v filter/in_bbs_msg.t *** setting ulimit to allow core files ulimit -c unlimited; t/TEST -v 'filter/in_bbs_msg.t' *** root mode: changing the fs ownership to 'nobody' (99:99) /usr/local/httpd_perl/bin/httpd -d /usr/src/httpd_perl/mod_perl-1.99_09/t -f /usr/src/httpd_perl/mod_perl-1.99_09/t/conf/htt pd.conf -DAPACHE2 using Apache/2.0.47 (prefork MPM) waiting for server to start: .[Fri Aug 29 18:10:56 2003] [info] 20 Apache:: modules loaded [Fri Aug 29 18:10:56 2003] [info] 3 APR:: modules loaded [Fri Aug 29 18:10:56 2003] [info] base server + 8 vhosts ready to run tests .. waiting for server to start: ok (waited 2 secs) server www.myhost.ru:8529 started server www.myhost.ru:8530 listening (TestProtocol::echo_filter) server www.myhost.ru:8531 listening (TestProtocol::echo) server www.myhost.ru:8532 listening (TestPreConnection::note) server www.myhost.ru:8533 listening (TestFilter::in_str_msg) server www.myhost.ru:8534 listening (TestFilter__both_str_con_add) server www.myhost.ru:8535 listening (TestFilter::in_bbs_msg) server www.myhost.ru:8536 listening (TestDirective::perlmodule) server www.myhost.ru:8537 listening (TestDirective::perlrequire) server www.myhost.ru:8538 listening (TestDirective::perlloadmodule4) server www.myhost.ru:8539 listening (TestDirective::perlloadmodule5) server www.myhost.ru:8540 listening (TestDirective::perlloadmodule3) server www.myhost.ru:8541 listening (TestDirective::perlloadmodule6) 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) *** server www.myhost.ru:8529 shutdown !!! error running tests (please examine t/logs/error_log) -- [Fri Aug 29 18:10:56 2003] [info] mod_unique_id: using ip addr 127.0.0.1 END in modperl_extra.pl, pid=26270 [Fri Aug 29 18:10:57 2003] [notice] Digest: generating secret for digest authentication ... [Fri Aug 29 18:10:57 2003] [notice] Digest: done [Fri Aug 29 18:10:57 2003] [info] mod_unique_id: using ip addr 127.0.0.1 [Fri Aug 29 18:10:58 2003] [notice] Apache/2.0.47 (Unix) mod_perl/1.99_09 Perl/v5.8.0 DAV/2 configured -- resuming normal ope rations [Fri Aug 29 18:10:58 2003] [info] Server built: Aug 28 2003 18:59:50 [Fri Aug 29 18:10:58 2003] [debug] prefork.c(1037): AcceptMutex: sysvsem (default: sysvsem) [Fri Aug 29 18:10:58 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 [Fri Aug 29 18:10:58 2003] [error] server reached MaxClients setting, consider raising the MaxClients setting [Fri Aug 29 18:10:58 2003] [info] Child process pid=26290 is exiting [Fri Aug 29 18:10:58 2003] [info] removed PID file /usr/src/httpd_perl/mod_perl-1.99_09/t/logs/httpd.pid (pid=26289) [Fri Aug 29 18:10:58 2003] [notice] caught SIGTERM, shutting down END in modperl_extra.pl, pid=26289 I've used standard distributive. Any ideas why I have no input_filter.html ? -- Alan Rafagudinov E-mail: [EMAIL PROTECTED] | [EMAIL PROTECTED] Homepage: http://www.rafagudinov.com Phone: +7(926)22-5 -- Reporting bugs: http://perl.apache.org/bugs/ Mail list info: http://perl.apache.org/maillist/modperl.html
Re: [mp2] make test failed
Alan Rafagudinov wrote: Hi! My guess is that you've been hit by this Apache problem: http://httpd.apache.org/docs-2.0/faq/error.html#error.sendfile [...] Thank you, but your advice helped with hooks/trans.t only, ok, I have added this to the troubleshooting section. filter/in_bbs_msg.t is still failed: t/TEST -v filter/in_bbs_msg.t [...] Test returned status 29 (wstat 7424, 0x1d00) [...] [Fri Aug 29 18:10:58 2003] [error] [client 127.0.0.1] File does not exist: /usr/src/httpd_perl/mod_perl-1.99_09/t/htdocs/input_filter.html that means that the filter doesn't work. Please update your cvs and show me the error_log's output when you run: t/TEST -v -trace=debug filter/in_bbs_msg Mine shows: == FILTER CALLED == FILTER READ: GET /input_filter.html HTTP/1.0 == GET line rewritten to be: GET /TestFilter__in_bbs_msg HTTP/1.0 == FILTER CALLED == FILTER READ: Host: localhost.localdomain:8536 == FILTER CALLED == FILTER READ: User-Agent: libwww-perl/5.69 == FILTER CALLED == FILTER READ: As you can see it rewrites a non-existing resource /input_filter.html to an existing one: /TestFilter__in_bbs_msg. For some reason it fails to do that for you. __ Stas BekmanJAm_pH -- Just Another mod_perl Hacker http://stason.org/ mod_perl Guide --- http://perl.apache.org mailto:[EMAIL PROTECTED] 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
[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 32 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 2731 (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
Re: [mp2] make test failed
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 BekmanJAm_pH -- Just Another mod_perl Hacker http://stason.org/ mod_perl Guide --- http://perl.apache.org mailto:[EMAIL PROTECTED] 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
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 BekmanJAm_pH -- Just Another mod_perl Hacker http://stason.org/ mod_perl Guide --- http://perl.apache.org mailto:[EMAIL PROTECTED] 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