Hello everybody,
I'd like to submit the following bug report. In order to understand the
problem I changed /conf/modperl_extra.pl after `make test` has failed. I
wanted to know if startup_info() returns, so I added code to an empty line
(line 37):
(/conf/modperl_extra.pl)
...
startup_info();
Apache2::ServerUtil->server->log->info('peep'); # manually added
test_add_config();
...
It seems to me as if the call to Apache Apache2::ServerUtil->server->log->info
helps to prevent the test from hanging.
I have no idea why, but you may find out. I enclosed both test summaries, make
test and make test with modificions. to the end of this posting.
Best regards,
Oliver Block
****************** apache2ctl -v ***************************
Server version: Apache/2.2.11 (Linux/SUSE)
Server built: Mar 18 2009 18:09:34
********************** perl -V *******************************
Summary of my perl5 (revision 5 version 10 subversion 0) configuration:
Platform:
osname=linux, osvers=2.6.25, archname=x86_64-linux-thread-multi
uname='linux oldfield 2.6.25 #1 smp 2008-12-08 03:55:28 +0100 x86_64
x86_64 x86_64 gnulinux '
config_args='-ds -e -Dprefix=/usr -Dvendorprefix=/usr -Dinstallusrbinperl
-Dusethreads -Di_db -Di_dbm -Di_ndbm -Di_gdbm -Duseshrplib=true -Doptimize=-O2
-fmessage-length=0 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector -g -Wall -pipe
-Accflags=-DPERL_USE_SAFE_PUTENV'
hint=recommended, useposix=true, d_sigaction=define
useithreads=define, usemultiplicity=define
useperlio=define, d_sfio=undef, uselargefiles=define, usesocks=undef
use64bitint=define, use64bitall=define, uselongdouble=undef
usemymalloc=n, bincompat5005=undef
Compiler:
cc='cc', ccflags
='-D_REENTRANT -D_GNU_SOURCE -DPERL_USE_SAFE_PUTENV -DDEBUGGING
-fno-strict-aliasing -pipe -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',
optimize='-O2 -fmessage-length=0 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector -g
-Wall -pipe',
cppflags='-D_REENTRANT -D_GNU_SOURCE -DPERL_USE_SAFE_PUTENV -DDEBUGGING
-fno-strict-aliasing -pipe'
ccversion='', gccversion='4.3.1 20080507 (prerelease) [gcc-4_3-branch
revision 135036]', gccosandvers=''
intsize=4, longsize=8, ptrsize=8, doublesize=8, byteorder=12345678
d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=16
ivtype='long', ivsize=8, nvtype='double', nvsize=8, Off_t='off_t',
lseeksize=8
alignbytes=8, prototype=define
Linker and Libraries:
ld='cc', ldflags =' -L/usr/local/lib64'
libpth=/lib64 /usr/lib64 /usr/local/lib64
libs=-lm -ldl -lcrypt -lpthread
perllibs=-lm -ldl -lcrypt -lpthread
libc=/lib64/libc-2.8.so, so=so, useshrplib=true, libperl=libperl.so
gnulibc_version='2.8'
Dynamic Linking:
dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef,
ccdlflags='-Wl,-E
-Wl,-rpath,/usr/lib/perl5/5.10.0/x86_64-linux-thread-multi/CORE'
cccdlflags='-fPIC', lddlflags='-shared -L/usr/local/lib64'
Characteristics of this binary (from libperl):
Compile-time options: DEBUGGING MULTIPLICITY PERL_DONT_CREATE_GVSV
PERL_IMPLICIT_CONTEXT PERL_MALLOC_WRAP
PERL_TRACK_MEMPOOL PERL_USE_SAFE_PUTENV
USE_64_BIT_ALL USE_64_BIT_INT USE_ITHREADS
USE_LARGE_FILES USE_PERLIO USE_REENTRANT_API
Built under linux
Compiled at Jan 28 2009 15:28:34
@INC:
/usr/lib/perl5/5.10.0/x86_64-linux-thread-multi
/usr/lib/perl5/5.10.0
/usr/lib/perl5/site_perl/5.10.0/x86_64-linux-thread-multi
/usr/lib/perl5/site_perl/5.10.0
/usr/lib/perl5/vendor_perl/5.10.0/x86_64-linux-thread-multi
/usr/lib/perl5/vendor_perl/5.10.0
/usr/lib/perl5/vendor_perl
.
********************* make test ****************************
...
/usr/bin/perl -Iblib/arch -Iblib/lib \
t/TEST -clean
[warning] setting ulimit to allow core files
ulimit -c
unlimited; /usr/bin/perl /usr/src/packages/BUILD/mod_perl-2.0.4/t/TEST -clean
APACHE_TEST_GROUP= APACHE_TEST_HTTPD= APACHE_TEST_PORT= APACHE_TEST_USER=
APACHE_TEST_APXS= \
/usr/bin/perl -Iblib/arch -Iblib/lib \
t/TEST -bugreport -verbose=0
[warning] setting ulimit to allow core files
ulimit -c
unlimited; /usr/bin/perl /usr/src/packages/BUILD/mod_perl-2.0.4/t/TEST
-bugreport -verbose=0
[warning] root mode: changing the files ownership to 'nobody' (65534:65533)
[warning] testing whether 'nobody' is able
to -rwx /usr/src/packages/BUILD/mod_perl-2.0.4/t
"/usr/bin/perl" -Mlib=/usr/src/packages/BUILD/mod_perl-2.0.4/Apache-Test/lib
-MApache::TestRun -e 'eval
{ Apache::TestRun::run_root_fs_test(65534, 65533,
q[/usr/src/packages/BUILD/mod_perl-2.0.4/t]) }';
[warning] result: OK
[warning] the client side drops 'root' permissions and becomes 'nobody'
/usr/sbin/httpd2-prefork -d /usr/src/packages/BUILD/mod_perl-2.0.4/t -f
/usr/src/packages/BUILD/mod_perl-2.0.4/t/conf/httpd.conf -D
APACHE2 -D PERL_USEITHREADS
using Apache/2.2.11 (prefork MPM)
waiting 120 seconds for server to start: .[Fri Mar 20 19:02:26 2009] [info] 6
Apache2:: modules loaded
[Fri Mar 20 19:02:26 2009] [info] 0 APR:: modules loaded
[Fri Mar 20 19:02:26 2009] [info] base server + 28 vhosts ready to run tests
..........................................................................................................................
waiting 120 seconds for server to start: not ok
[ error] giving up after 121 secs. If you think that your system
is slow or overloaded try again with a longer timeout value.
by setting the environment variable APACHE_TEST_STARTUP_TIMEOUT
to a high value (e.g. 420) and repeat the last command.
[ error] server failed to start! (please examine t/logs/error_log)
+--------------------------------------------------------+
| Please file a bug report: http://perl.apache.org/bugs/ |
+--------------------------------------------------------+
make: *** [run_tests] Fehler 1
************ make test (with modifications) ****************
Failed Test Stat Wstat Total Fail List of Failed
-------------------------------------------------------------------------------
t/apache/util.t 8 4 1-4
7 tests and 1 subtest skipped.
Failed 1/238 test scripts. 4/2457 subtests failed.
Files=238, Tests=2457, 127 wallclock secs (88.53 cusr + 16.14 csys = 104.67
CPU)
Failed 1/238 test programs. 4/2457 subtests failed.
[warning] server localhost: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] Fehler 1
************************************************************
--