You are viewing a plain text version of this content. The canonical link for it is here.
Posted to modperl@perl.apache.org by "Laus, Ryan J." <la...@cmich.edu> on 2003/07/24 22:05:18 UTC
Test unexpectedly succeeded during make test
Hello everyone,
Hopefully someone can help me out, I am having problems during the "make
test" when trying to compile mod_perl-1.99_09. Even though a "make
install" will work fine without any errors, I am not sure if it is a
good idea to install if the make test fails.
Here is my system background info.
OS: AIX 4.3.3 w/the latest maintenance level
Perl: 5.8.0, via Binary installation
Apache: 2.0.47
GCC: 3.3
During the "make test" I receive the following error:
modperl/request_rec_tie_api....ok
1/3 unexpectedly succeeded
modperl/sameinterp.............ok
modperl/setauth................ok
modperl/subenv.................ok
modperl/taint..................ok
modules/cgi....................skipped
all skipped: cannot find module 'LWP'
modules/cgiupload..............skipped
all skipped: cannot find module 'LWP'
modules/include................ok
modules/include2...............ok
preconnection/note.............ok
protocol/echo..................ok
protocol/echo_filter...........ok
Failed Test Stat Wstat Total Fail Failed List of Failed
------------------------------------------------------------------------
-------
filter/in_bbs_msg.t 255 65280 ?? ?? % ??
(1 subtest UNEXPECTEDLY SUCCEEDED), 7 tests skipped.
*** server localhost:8529 shutdown
!!! error running tests (please examine t/logs/error_log)
make: *** [run_tests] Error 1
Here is the contents of my error_log:
Script command is started on Thu Jul 24 15:58:30 CDT 2003.# cat
error_log
END in modperl_extra.pl, pid=10926
[Thu Jul 24 14:54:26 2003] [notice] Apache/2.0.47 (Unix)
mod_perl/1.99_09 Perl/v5.8.0 configured -- resuming normal operations
[Thu Jul 24 14:54:26 2003] [info] Server built: Jul 14 2003 15:48:58
[Thu Jul 24 14:54:26 2003] [debug] prefork.c(1037): AcceptMutex: pthread
(default: pthread)
[Thu Jul 24 14:54:27 2003] [error] server reached MaxClients setting,
consider raising the MaxClients setting
[Thu Jul 24 14:54:41 2003] [info] [client 127.0.0.1] TestAPI::aplog test
in progress
[Thu Jul 24 14:54:41 2003] [debug]
/usr/local/tmp/mod_perl-1.99_09/t/response/TestAPI/aplog.pm(43):
log_serror test ok
[Thu Jul 24 14:54:41 2003] [debug]
/usr/local/tmp/mod_perl-1.99_09/t/response/TestAPI/aplog.pm(46):
(20007)No time was provided and one was required.: log_serror test 2 ok
[Thu Jul 24 14:54:41 2003] [debug]
/usr/local/tmp/mod_perl-1.99_09/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 Jul 24 14:54:41 2003] [error] $r->log_error test ok
[Thu Jul 24 14:54:41 2003] [error] $s->log_error test ok
[Thu Jul 24 14:54:41 2003] [debug]
/usr/local/tmp/mod_perl-1.99_09/t/response/TestAPI/aplog.pm(63):
TestAPI::aplog test done
[Thu Jul 24 14:54:41 2003] [warn] ApacheApache->warn test ok
[Thu Jul 24 14:54:41 2003] [warn] $s->warn test ok
[Thu Jul 24 14:55:06 2003] [error] Apache::log_error test ok
*** The following error entry is expected and it is harmless ***
[Thu Jul 24 14:55:29 2003] [error] [client 127.0.0.1] Undefined
subroutine &TestError::runtime::no_such_func called at
/usr/local/tmp/mod_perl-1.99_09/t/response/TestError/runtime.pm line 19.
*** The following error entry is expected and it is harmless ***
[Thu Jul 24 14:55:30 2003] [error] failed to resolve handler
`TestError::syntax'
[Thu Jul 24 14:55:30 2003] [error] [client 127.0.0.1] syntax error at
/usr/local/tmp/mod_perl-1.99_09/t/response/TestError/syntax.pm line 22,
near "\;"
Compilation failed in require at (eval 115) line 3.
[echo_filter] get_brigade: Error 0
[Thu Jul 24 14:55:34 2003] [error] [client 127.0.0.1] File does not
exist: /usr/local/tmp/mod_perl-1.99_09/t/htdocs/input_filter.html
*** The following error entry is expected and it is harmless ***
[Thu Jul 24 14:56:01 2003] [error] [client 127.0.0.1] File does not
exist: /usr/local/tmp/mod_perl-1.99_09/t/htdocs/nope
*** The following error entry is expected and it is harmless ***
[Thu Jul 24 14:56:18 2003] [error] [client 127.0.0.1] need AuthName:
/TestModperl__setauth
[Thu Jul 24 14:56:27 2003] [info] Child process pid=10928 is exiting
[Thu Jul 24 14:56:27 2003] [info] removed PID file
/usr/local/tmp/mod_perl-1.99_09/t/logs/httpd.pid (pid=11248)
[Thu Jul 24 14:56:27 2003] [notice] caught SIGTERM, shutting down
END in modperl_extra.pl, pid=11248
Thanks in advance!
Ryan Laus
Re: Test unexpectedly succeeded during make test
Posted by Stas Bekman <st...@stason.org>.
First of all, when reporting problems please following the guidelines:
http://perl.apache.org/docs/2.0/user/help/help.html#Reporting_Problems
> OS: AIX 4.3.3 w/the latest maintenance level
> modperl/request_rec_tie_api....ok
> 1/3 unexpectedly succeeded
The test t/response/TestModperl/request_rec_tie_api.pm goes as:
require Apache::Build;
my @todo;
push @todo, 1 if Apache::Build::AIX();
plan $r, tests => 3, todo => \@todo;
# XXX: on AIX 4.3.3 we get:
# STDIN STDOUT STDERR
# perl : 0 1 2
# mod_perl: 0 0 2
my $fileno = fileno STDOUT;
ok $fileno;
t_debug "fileno STDOUT: $fileno";
the problem is that on the AIX that I was testing I was receiving STDOUT as 0
under mod_perl. I don't remember which perl it was :( but this is not a problem.
This is the test that really fails:
> filter/in_bbs_msg.t 255 65280 ?? ?? % ??
please run this test separately and post the error_log file and the output of
the run:
rm t/logs/error_log
t/TEST -v filter/in_bbs_msg.t
Next you also want to install LWP, otherwise many of the tests aren't running:
> all skipped: cannot find module 'LWP'
__________________________________________________________________
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