[MP2] make test fails

[prev] [thread] [next] [Date index for 2004/11/23]

From: Ruslan U. Zakirov
Subject: [MP2] make test fails
Date: 14:53 on 23 Nov 2004
	Hello.

1. Problem Description:

Fresh rebuild. Vanilla perl passed all tests.
Apache and mod_perl from latest CVS.

 > make test TEST_VERBOSE=1 TEST_FILES="t/apache/util.t 
t/api/lookup_uri.t t/api/request_rec.t t/hooks/init.t t/modperl/exit.t 
t/user/rewrite.t"
...
/usr/bin/perl -Iblib/arch/Apache2 -Iblib/lib/Apache2 \
t/TEST -clean
[warning] setting ulimit to allow core files
ulimit -c unlimited; /usr/bin/perl 
/mnt/local/homes/home/cubic/CVS/modperl-2.0/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 t/apache/util.t t/api/lookup_uri.t 
t/api/request_rec.t t/hooks/init.t t/modperl/exit.t t/user/rewrite.t
[warning] setting ulimit to allow core files
ulimit -c unlimited; /usr/bin/perl 
/mnt/local/homes/home/cubic/CVS/modperl-2.0/t/TEST -bugreport -verbose=1 
't/apache/util.t' 't/api/lookup_uri.t' 't/api/request_rec.t' 
't/hooks/init.t' 't/modperl/exit.t' 't/user/rewrite.t'
/usr/local/apache-2/bin/httpd  -d 
/mnt/local/homes/home/cubic/CVS/modperl-2.0/t -f 
/mnt/local/homes/home/cubic/CVS/modperl-2.0/t/conf/httpd.conf -D APACHE2 
-D PERL_USEITHREADS
using Apache/2.0.53-dev (prefork MPM)

waiting 120 seconds for server to start: .[Tue Nov 23 17:42:49 2004] 
[info] 29 Apache:: modules loaded
[Tue Nov 23 17:42:49 2004] [info] 8 APR:: modules loaded
[Tue Nov 23 17:42:49 2004] [info] base server + 28 vhosts ready to run tests
...
waiting 120 seconds for server to start: ok (waited 3 secs)
server localhost.localdomain:8529 started
......
server localhost.localdomain:8561 listening (TestDirective::perlloadmodule6)
t/apache/util........request has failed (the response code was: 500)
see t/logs/error_log for more details
dubious
         Test returned status 255 (wstat 65280, 0xff00)
t/api/lookup_uri.....request has failed (the response code was: 500)
see t/logs/error_log for more details
dubious
         Test returned status 255 (wstat 65280, 0xff00)
t/api/request_rec....1..52
# Running under perl version 5.008005 for linux
# Current time local: Tue Nov 23 17:42:50 2004
# Current time GMT:   Tue Nov 23 14:42:50 2004
# Using Test.pm version 1.25
# Using Apache/Test.pm version 1.17
ok 1
ok 2
ok 3
ok 4
ok 5
ok 6
ok 7
ok 8
ok 9
ok 10
ok 11
ok 12
# testing : t->proto_num
# expected: 1000
# received: 1000
ok 13
# testing : $r->hostname
# expected: localhost.localdomain
# received: localhost.localdomain
ok 14
ok 15
ok 16
ok 17
# testing : $r->method
# expected: GET
# received: GET
ok 18
# testing : $r->method_number
# expected: 0
# received: 0
ok 19
ok 20
ok 21
ok 22
ok 23
ok 24
ok 25
ok 26
ok 27
ok 28
ok 29
# buffered
# testing : buffered print
# expected: 11
# received: 11
ok 30
# testing : buffered print
# expected: 0
# received: 0
ok 31
# not buffered
# testing : unbuffered print
# expected: 15
# received: 15
ok 32
# expected: /TestAPI__request_rec/my_path_info?my_args=3
# received: /TestAPI__request_rec
not ok 33
# testing : $r->uri
# expected: /TestAPI__request_rec/my_path_info
# received: /TestAPI__request_rec
not ok 34
# testing : $r->path_info
# expected: /my_path_info
# received:
not ok 35
# testing : $r->args
# expected: my_args=3
# received: undef
not ok 36
# testing : $r->the_request
# expected: GET /TestAPI__request_rec/my_path_info?my_args=3 HTTP/1.0
# received: GET /TestAPI__request_rec HTTP/1.0
not ok 37
ok 38
# testing : $r->location
# expected: /TestAPI__request_rec
# received: /TestAPI__request_rec
ok 39
# sent so far: 1476 bytes
ok 40
# testing : mtime
# expected: 1101216519
# received: 1101216519
ok 41
# testing : $r->finfo
# expected: 
/mnt/local/homes/home/cubic/CVS/modperl-2.0/t/response/TestAPI/request_rec.pm
# received: 
/mnt/local/homes/home/cubic/CVS/modperl-2.0/t/response/TestAPI/request_rec.pm
ok 42
ok 43
ok 44
ok 45
# testing : $r->content_languages
# expected: [
#     fr,
# ]
# received: [
#     fr,
# ]
ok 46
# testing : $r->content_languages
# expected: [
#     fr,
# ]
# received: [
#     fr,
# ]
ok 47
# testing : $r->content_languages
# expected: [
#     fr,
#     us,
#     cn,
# ]
# received: [
#     fr,
#     us,
#     cn,
# ]
ok 48
# testing : $r->content_languages(invalid)
# expected: (?-xism:Not an array reference)
# received: Not an array reference at 
/mnt/local/homes/home/cubic/CVS/modperl-2.0/t/response/TestAPI/request_rec.pm 
line 176.
ok 49
# testing : invalid Apache::RequestRec=HASH(0x9548ba4) object
# expected: (?-xism:method `uri' invoked by a `Apache::RequestRec' 
object with no `r' key!)
# received: method `uri' invoked by a `Apache::RequestRec' object with 
no `r' key! at 
/mnt/local/homes/home/cubic/CVS/modperl-2.0/t/response/TestAPI/request_rec.pm 
line 186.
ok 50
# testing : invalid NonExisting=HASH(0x9544788) object
# expected: (?-xism:method `uri' invoked by a `NonExisting' object with 
no `r' key!)
# received: method `uri' invoked by a `NonExisting' object with no `r' 
key! at 
/mnt/local/homes/home/cubic/CVS/modperl-2.0/t/response/TestAPI/request_rec.pm 
line 193.ok 51
# testing : invalid HASH(0x9548bd4) object
# expected: (?-xism:method `uri' invoked by a `unknown' object with no 
`r' key!)
# received: method `uri' invoked by a `unknown' object with no `r' key! 
at 
/mnt/local/homes/home/cubic/CVS/modperl-2.0/t/response/TestAPI/request_rec.pm 
line 200.
ok 52
FAILED tests 33-37
         Failed 5/52 tests, 90.38% okay
t/hooks/init.........request has failed (the response code was: 404)
see t/logs/error_log for more details
dubious
         Test returned status 255 (wstat 65280, 0xff00)
t/modperl/exit.......request has failed (the response code was: 500)
see t/logs/error_log for more details
dubious
         Test returned status 255 (wstat 65280, 0xff00)
t/user/rewrite.......request has failed (the response code was: 404)
see t/logs/error_log for more details
dubious
         Test returned status 255 (wstat 65280, 0xff00)
Failed Test         Stat Wstat Total Fail  Failed  List of Failed
-------------------------------------------------------------------------------
t/apache/util.t      255 65280    ??   ??       %  ??
t/api/lookup_uri.t   255 65280    ??   ??       %  ??
t/api/request_rec.t               52    5   9.62%  33-37
t/hooks/init.t       255 65280    ??   ??       %  ??
t/modperl/exit.t     255 65280    ??   ??       %  ??
t/user/rewrite.t     255 65280    ??   ??       %  ??
Failed 6/6 test scripts, 0.00% okay. 5/52 subtests failed, 90.38% okay.
[warning] server localhost.localdomain:8529 shutdown
[  error] error running tests (please examine t/logs/error_log)
+--------------------------------------------------------+
| Please file a bug report: http://perl.apache.org/bugs/ |
+--------------------------------------------------------+
make: *** [run_tests] Ошибка 1

 > cat t/logs/error_log

END in modperl_extra.pl, pid=8185
[Tue Nov 23 17:42:51 2004] [notice] Apache/2.0.53-dev (Unix) 
mod_perl/1.99_18-dev Perl/v5.8.5 world domination series/2.0 DAV/2 
SVN/1.1.1 configured -- resuming normal operations
[Tue Nov 23 17:42:51 2004] [info] Server built: May 26 2004 14:55:11
[Tue Nov 23 17:42:51 2004] [debug] prefork.c(955): AcceptMutex: sysvsem 
(default: sysvsem)
[Tue Nov 23 17:42:53 2004] [error] [client 127.0.0.1] failed to resolve 
handler `TestApache::util': Use of bare << to mean <<"" is deprecated at 
/mnt/local/homes/home/cubic/CVS/modperl-2.0/t/response/TestApache/util.pm 
line 31.\nCompilation failed in require at (eval 106) line 3.\n
[Tue Nov 23 17:42:54 2004] [error] [client 127.0.0.1] Can't call method 
"run" on an undefined value at 
/mnt/local/homes/home/cubic/CVS/modperl-2.0/t/response/TestAPI/lookup_uri.pm 
line 54.\n
# Failed test 33 in 
/mnt/local/homes/home/cubic/CVS/modperl-2.0/t/response/TestAPI/request_rec.pm 
at line 112
# Failed test 34 in 
/mnt/local/homes/home/cubic/CVS/modperl-2.0/t/response/TestAPI/request_rec.pm 
at line 114
# Failed test 35 in 
/mnt/local/homes/home/cubic/CVS/modperl-2.0/t/response/TestAPI/request_rec.pm 
at line 116
# Failed test 36 in 
/mnt/local/homes/home/cubic/CVS/modperl-2.0/t/response/TestAPI/request_rec.pm 
at line 118
# Failed test 37 in 
/mnt/local/homes/home/cubic/CVS/modperl-2.0/t/response/TestAPI/request_rec.pm 
at line 120
[Tue Nov 23 17:42:55 2004] [error] [client 127.0.0.1] File does not 
exist: /mnt/local/homes/home/cubic/CVS/modperl-2.0/t/htdocs/TestHooks__init
[Tue Nov 23 17:42:56 2004] [error] [client 127.0.0.1] Use of 
uninitialized value in string eq at 
/mnt/local/homes/home/cubic/CVS/modperl-2.0/t/response/TestModperl/exit.pm 
line 22.\n
[Tue Nov 23 17:42:57 2004] [error] [client 127.0.0.1] File does not 
exist: 
/mnt/local/homes/home/cubic/CVS/modperl-2.0/t/htdocs/TestUser__rewrite
[Tue Nov 23 17:42:57 2004] [info] Child process pid=8195 is exiting
END in modperl_extra.pl, pid=8195
[Tue Nov 23 17:42:57 2004] [info] Child process pid=8196 is exiting
END in modperl_extra.pl, pid=8196
[Tue Nov 23 17:42:57 2004] [info] removed PID file 
/mnt/local/homes/home/cubic/CVS/modperl-2.0/t/logs/httpd.pid (pid=8190)
[Tue Nov 23 17:42:57 2004] [notice] caught SIGTERM, shutting down
END in modperl_extra.pl, pid=8190

2. Used Components and their Configuration:

*** mod_perl version 1.9918

*** using 
/mnt/local/homes/home/cubic/CVS/modperl-2.0/lib/Apache/BuildConfig.pm

*** Makefile.PL options:
   MP_APR_LIB      => aprext
   MP_APXS         => /usr/local/apache-2/bin/apxs
   MP_COMPAT_1X    =>
   MP_DEBUG        => 1
   MP_GENERATE_XS  => 1
   MP_INST_APACHE2 => 1
   MP_LIBNAME      => mod_perl
   MP_TRACE        => 1
   MP_USE_DSO      => 1


*** /usr/local/apache-2/bin/httpd -V
Server version: Apache/2.0.53-dev
Server built:   May 26 2004 14:55:11
Server's Module Magic Number: 20020903:9
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/apache-2/"
  -D SUEXEC_BIN="/usr/local/apache-2//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"


*** (apr|apu)-config linking info

  -L/usr/local/apache-2//lib -lapr-0 -lrt -lm -lcrypt -lnsl  -lpthread -ldl
  -L/usr/local/apache-2//lib -laprutil-0 -lgdbm -ldb-4.1 -lexpat



*** /usr/bin/perl -V
Summary of my perl5 (revision 5 version 8 subversion 5) configuration:
   Platform:
     osname=linux, osvers=2.4.26cub1, archname=i386-linux-thread-multi
     uname='linux cubic 2.4.26cub1 #1 суб май 15 12:48:20 msd 2004 i686 
i686 i386 gnulinux '
     config_args='-des -Doptimize=-O2 -g -pipe -march=i386 -mcpu=i686 
-Dversion=5.8.5 -Dmyhostname=cubic.acronis.ru 
-Dperladmin=cubic@acronis.ru -Dcc=gcc -Dinstallprefix=/usr -Dprefix=/usr 
-Darchname=i386-linux -Dvendorprefix=/usr -Dsiteprefix=/usr -Duseshrplib 
-Dusethreads -Duseithreads -Duselargefiles -Dd_dosuid -Dd_semctl_semun 
-Di_db -Ui_ndbm -Di_gdbm -Di_shadow -Di_syslog -Dman3ext=3pm -Duseperlio 
-Dinstallusrbinperl -Ubincompat5005 -Uversiononly -Dpager=/usr/bin/less 
-isr -Dinc_version_list=none'
     hint=recommended, useposix=true, d_sigaction=define
     usethreads=define use5005threads=undef useithreads=define 
usemultiplicity=define
     useperlio=define d_sfio=undef uselargefiles=define usesocks=undef
     use64bitint=undef use64bitall=undef uselongdouble=undef
     usemymalloc=n, bincompat5005=undef
   Compiler:
     cc='gcc', ccflags ='-D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS 
-DDEBUGGING -fno-strict-aliasing -pipe -I/usr/local/include 
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm',
     optimize='-O2 -g -pipe -march=i386 -mcpu=i686',
     cppflags='-D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS 
-DDEBUGGING -fno-strict-aliasing -pipe -I/usr/local/include 
-I/usr/include/gdbm'
     ccversion='', gccversion='3.3.2 20031022 (ASPLinux 3.3.2-1)', 
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='gcc', ldflags =' -L/usr/local/lib'
     libpth=/usr/local/lib /lib /usr/lib
     libs=-lnsl -lgdbm -ldb -ldl -lm -lcrypt -lutil -lpthread -lc
     perllibs=-lnsl -ldl -lm -lcrypt -lutil -lpthread -lc
     libc=/lib/libc-2.3.2.so, so=so, useshrplib=true, libperl=libperl.so
     gnulibc_version='2.3.2'
   Dynamic Linking:
     dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-Wl,-E 
-Wl,-rpath,/usr/lib/perl5/5.8.5/i386-linux-thread-multi/CORE'
     cccdlflags='-fpic', lddlflags='-shared -L/usr/local/lib'


Characteristics of this binary (from libperl):
   Compile-time options: DEBUGGING MULTIPLICITY USE_ITHREADS 
USE_LARGE_FILES PERL_IMPLICIT_CONTEXT
   Built under linux
   Compiled at Nov 23 2004 12:06:48
   %ENV:
     PERL_LWP_USE_HTTP_10="1"
   @INC:
     /usr/lib/perl5/5.8.5/i386-linux-thread-multi
     /usr/lib/perl5/5.8.5
     /usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi
     /usr/lib/perl5/site_perl/5.8.5
     /usr/lib/perl5/site_perl
     /usr/lib/perl5/vendor_perl/5.8.5/i386-linux-thread-multi
     /usr/lib/perl5/vendor_perl/5.8.5
     /usr/lib/perl5/vendor_perl
     .

*** Packages of interest status:

Apache::Request: -
CGI            : 3.05
LWP            : 5.801
mod_perl       : 1.29

This report was generated by t/REPORT on Tue Nov 23 14:31:39 2004 GMT.

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

[MP2] make test fails
Ruslan U. Zakirov 14:53 on 23 Nov 2004

Re: [MP2] make test fails
Stas Bekman 15:44 on 23 Nov 2004

Re: [MP2] make test fails
Ruslan U. Zakirov 19:20 on 23 Nov 2004

Re: [MP2] make test fails
Stas Bekman 19:30 on 23 Nov 2004

Re: [MP2] make test fails
Ruslan U. Zakirov 19:48 on 23 Nov 2004

Re: [MP2] make test fails
Stas Bekman 19:56 on 23 Nov 2004

Generated at 11:26 on 21 Dec 2004 by mariachi v0.52