Re: [mp2] make test errors
Paul Simon wrote: Is this something to be worried about? Or can I continue with make install? Please help. Probably not unless you use APR::PerlIO and APR::ThreadMutex, so you can go with 'make install'. However let's solve the problems nevertheless. Could you first install the latest cvs, so we can work with the same version. I've mapped the failures to the error_log entries: apr/perlio.t11 11 100.00% 1-11 > mkdir /usr/src/mod_perl-1.99_08/t/htdocs/perlio: > Permission denied at > /usr/src/mod_perl-1.99_08/Apache-Test/lib/Apache/TestUtil.pm why do you have a perm problem? Do you run the test as root? What are the perms of /usr/src/mod_perl-1.99_08/t/htdocs /usr/src/mod_perl-1.99_08/t/htdocs/perlio apr/threadmutex.t33 100.00% 1-3 [Thu Apr 03 19:40:50 2003] [error] [client 127.0.0.1] Can't locate APR/ThreadMutex.pm in @INC (@INC contains: /usr/src/mod_perl-1.99_08/t If you look at t/response/TestAPR/threadmutex.pm. It runs this check: plan $r, tests => 3, have_threads; The have_threads function (which lives in Apache-Test/lib/Apache/Test.pm) checks these predicaments: $apr_config->{HAS_THREADS} $Config{useithreads} eq 'define'; mod_perl build code (which lives in lib/ModPerl/BuildMM.pm) skips building APR::ThreadMutex if apr doesn't have HAS_THREADS defined. if ($path =~ m/(Thread|Global)Mutex/) { return unless $apr_config->{HAS_THREADS}; } It's strange that the build saw that apr has no HAS_THREADS, while the test saw the opposite. Can you do (adjust the path to the include dir of the httpd server): grep HAS_THREADS ~/httpd/prefork/include/apr.h and also run (with the same perl): perl -V:useithreads __ 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
[mp2] make test errors
Is this something to be worried about? Or can I continue with make install? Please help. System: FreeBSD 4.8-RELEASE Server version: Apache/2.0.45 I received the following summary from make test: Failed Test Stat Wstat Total Fail Failed List of Failed --- apr/perlio.t11 11 100.00% 1-11 apr/threadmutex.t33 100.00% 1-3 4 tests skipped. *** server localhost:8529 shutdown !!! error running tests (please examine t/logs/error_log) *** Error code 1 The error_log follows: END in modperl_extra.pl, pid=57443 [Thu Apr 03 19:37:27 2003] [notice] Apache/2.0.45 (Unix) mod_perl/1.99_08 Perl/v5.8.0 configured -- resuming normal operations [Thu Apr 03 19:37:27 2003] [info] Server built: Apr 3 2003 09:02:09 [Thu Apr 03 19:37:27 2003] [debug] prefork.c(1039): AcceptMutex: flock (default: flock) [Thu Apr 03 19:37:28 2003] [error] server reached MaxClients setting, consider raising the MaxClients setting [Thu Apr 03 19:38:37 2003] [info] [client 127.0.0.1] TestAPI::aplog test in progress [Thu Apr 03 19:38:37 2003] [debug] /usr/src/mod_perl-1.99_08/t/response/TestAPI/aplog.pm(43): log_serror test ok [Thu Apr 03 19:38:37 2003] [debug] /usr/src/mod_perl-1.99_08/t/response/TestAPI/aplog.pm(46): (20007)No time was provided and one was required.: log_serror test 2 ok [Thu Apr 03 19:38:37 2003] [debug] /usr/src/mod_perl-1.99_08/t/response/TestAPI/aplog.pm(49): [client 127.0.0.1] (20007)No time was provided and one was required.: log_rerror test ok [Thu Apr 03 19:38:37 2003] [error] $r->log_error test ok [Thu Apr 03 19:38:37 2003] [error] $s->log_error test ok [Thu Apr 03 19:38:37 2003] [debug] /usr/src/mod_perl-1.99_08/t/response/TestAPI/aplog.pm(63): TestAPI::aplog test done [Thu Apr 03 19:38:37 2003] [warn] ApacheApache->warn test ok [Thu Apr 03 19:38:37 2003] [warn] $s->warn test ok [Thu Apr 03 19:40:25 2003] [error] [client 127.0.0.1] mkdir /usr/src/mod_perl-1.99_08/t/htdocs/perlio: Permission denied at /usr/src/mod_perl-1.99_08/Apache-Test/lib/Apache/TestUtil.pm line 128 [Thu Apr 03 19:40:50 2003] [error] [client 127.0.0.1] Can't locate APR/ThreadMutex.pm in @INC (@INC contains: /usr/src/mod_perl-1.99_08/t /usr/src/mod_perl-1.99_08/blib/lib/Apache2 /usr/src/mod_perl-1.99_08/blib/arch/Apache2 /usr/src/mod_perl-1.99_08/Apache-Test/lib /usr/src/mod_perl-1.99_08/lib /usr/src/mod_perl-1.99_08/blib/lib /usr/src/mod_perl-1.99_08/blib/arch /usr/src/mod_perl-1.99_08/t/response /usr/src/mod_perl-1.99_08/t/protocol /usr/src/mod_perl-1.99_08/t/hooks /usr/src/mod_perl-1.99_08/t/filter /usr/src/mod_perl-1.99_08/t/htdocs/testdirective/perlmodule-vh /usr/src/mod_perl-1.99_08/t/htdocs/testdirective/main /usr/local/lib/perl5/5.8.0/i386-freebsd /usr/local/lib/perl5/5.8.0 /usr/local/lib/perl5/site_perl/5.8.0/i386-freebsd /usr/local/lib/perl5/site_perl/5.8.0 /usr/local/lib/perl5/site_perl) at /usr/src/mod_perl-1.99_08/t/response/TestAPR/threadmutex.pm line 17. [Thu Apr 03 19:41:08 2003] [error] Apache::log_error test ok [Thu Apr 03 19:44:29 2003] [error] [client 127.0.0.1] File does not exist: /usr/src/mod_perl-1.99_08/t/htdocs/nope [Thu Apr 03 19:45:57 2003] [error] [client 127.0.0.1] need AuthName: /TestModperl::setauth [Thu Apr 03 19:46:40 2003] [info] removed PID file /usr/src/mod_perl-1.99_08/t/logs/httpd.pid (pid=57444) [Thu Apr 03 19:46:40 2003] [notice] caught SIGTERM, shutting down END in modperl_extra.pl, pid=57444 Thanks Paul = 'Ideals are like stars. We may never reach them, but we use them to chart our course.' -- Unknown
[mp2] make test errors w/. threadmutex, push_handlers
Hi all, Using the very latest cvs sources, make test failed with the following: [ ... ] apr/pool.ok apr/string...ok apr/tableok apr/threadmutex..FAILED tests 1-3 Failed 3/3 tests, 0.00% okay apr/util.ok apr/uuid.ok compat/apacheok compat/apache_file...ok compat/apache_table..ok compat/apache_util...ok compat/request...ok compat/request_body..ok compat/send_fd...ok directive/envok directive/perl...ok directive/perldo.ok directive/perlloadmodule.ok directive/perlloadmodule2ok directive/perlloadmodule3ok directive/perlloadmodule4ok directive/perlloadmodule5ok directive/perlloadmodule6ok directive/perlmodule.ok directive/perlrequireok directive/podok directive/setupenv...ok error/push_handlers..# Failed test 1 in error/push_handlers.t at line 14 error/push_handlers..FAILED test 1 Failed 1/1 tests, 0.00% okay filter/in_bbs_body...ok filter/in_bbs_msgok filter/in_str_consumeok filter/in_str_lc.ok filter/in_str_msgok filter/in_str_sandwich...ok filter/out_bbs_basic.ok filter/out_bbs_ctx...ok filter/out_str_api...ok filter/out_str_ctx...ok filter/out_str_lcok filter/out_str_reverse...ok hooks/access.ok hooks/authen.ok hooks/authz..ok hooks/fixup..ok hooks/headerparser...ok hooks/init...ok hooks/trans..ok modperl/dir_config...ok modperl/endavok modperl/env..ok modperl/exit.ok modperl/getc.ok modperl/method...ok modperl/methodname...ok modperl/methodobjok modperl/pnotes...ok modperl/printok modperl/printf...ok modperl/readline.ok modperl/sameinterp...ok modperl/setauth..ok modperl/subenv...ok