Return-Path: Delivered-To: apmail-perl-dev-archive@www.apache.org Received: (qmail 44828 invoked from network); 20 Mar 2009 17:30:16 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 20 Mar 2009 17:30:16 -0000 Received: (qmail 65918 invoked by uid 500); 20 Mar 2009 17:30:15 -0000 Delivered-To: apmail-perl-dev-archive@perl.apache.org Received: (qmail 65806 invoked by uid 500); 20 Mar 2009 17:30:15 -0000 Mailing-List: contact dev-help@perl.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list dev@perl.apache.org Received: (qmail 65797 invoked by uid 99); 20 Mar 2009 17:30:15 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 20 Mar 2009 10:30:15 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [85.214.68.33] (HELO h1307246) (85.214.68.33) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 20 Mar 2009 17:30:05 +0000 Received: (qmail 3168 invoked from network); 20 Mar 2009 18:29:44 +0100 Received: from dslb-092-073-173-241.pools.arcor-ip.net (HELO localhost) (92.73.173.241) by block-online.eu with (DHE-RSA-AES256-SHA encrypted) SMTP; 20 Mar 2009 18:29:44 +0100 From: Oliver Block To: dev@perl.apache.org, test-dev@perl.apache.org Subject: mp2 hangs when running make test Date: Fri, 20 Mar 2009 19:29:42 +0100 User-Agent: KMail/1.9.9 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200903201929.43212.lists@oliver-block.eu> X-Virus-Checked: Checked by ClamAV on apache.org 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 ************************************************************ -- --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@perl.apache.org For additional commands, e-mail: dev-help@perl.apache.org