You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@perl.apache.org by Jeff Beer <jb...@cyberonic.com> on 2004/02/08 01:46:15 UTC
BUG REPORT: mod_perl2 installation bug on failed apr-ext/uuid.t test
-------------8<---------- Start Bug Report ------------8<----------
1. Problem Description:
Fails on make test. Don't think the port 8529 is the problem, but the
apr-ext/uud.t
Failed Test Stat Wstat Total Fail Failed List of Failed
----------------------------------------------------------------------------
---
apr-ext/uuid.t 255 65280 3 6 200.00% 1-3
4 tests skipped.
*** server localhost.localdomain:8529 shutdown
*** port 8529 still in use...
...............!!!
server was shutdown but port 8529 is still in use, please shutdown the
service using this port or select another port for the tests
!!! port 8529 is in use, cannot determine server pid to shutdown
!!! error running tests (please examine t/logs/error_log)
+--------------------------------------------------------+
| Please file a bug report: http://perl.apache.org/bugs/ |
+--------------------------------------------------------+
The T/REPORT is:
[root@arja mod_perl-1.99_12 ]# cat t/REPORT
#!/usr/local/bin/perl
# WARNING: this file is generated, do not edit
# 01: Apache-Test/lib/Apache/TestConfig.pm:751
# 02: Apache-Test/lib/Apache/TestConfig.pm:836
# 03: Apache-Test/lib/Apache/TestReport.pm:30
# 04: Makefile.PL:214
# 05: Makefile.PL:49
BEGIN { eval { require blib; } }
use strict;
use warnings FATAL => 'all';
use lib qw(
/opt/dist/mod_perl-1.99_12/lib
/opt/dist/mod_perl-1.99_12/Apache-Test/lib
);
use ModPerl::TestReport;
ModPerl::TestReport->new(@ARGV)->run;[root@arja mod_perl-1.99_12 ]#
2. Used Components and their Configuration:
*** mod_perl version 1.9912
*** using lib/Apache/BuildConfig.pm
*** Makefile.PL options:
MP_AP_PREFIX => /usr/local/apache2
MP_COMPAT_1X => 1
MP_GENERATE_XS => 1
MP_LIBNAME => mod_perl
MP_OPTIONS_FILE => ./makepl_args.mod_perl2
MP_USE_DSO => 1
MP_USE_STATIC => 1
*** /usr/local/apache2/bin/httpd -V
Server version: Apache/2.0.48
Server built: Feb 4 2004 00:33:17
Server's Module Magic Number: 20020903:4
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="/opt/apache2"
-D SUEXEC_BIN="/opt/apache2/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"
*** /usr/local/bin/perl -V
Summary of my perl5 (revision 5.0 version 8 subversion 3) configuration:
Platform:
osname=linux, osvers=2.4.20-8, archname=i586-linux-thread-multi
uname='linux arja 2.4.20-8 #1 thu mar 13 16:42:56 est 2003 i586 i586
i386 gnulinux '
config_args='-Dcc=gcc'
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 -fno-strict-aliasing -I/usr
/local/include -I/opt/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=
64',
optimize='-O3',
cppflags='-D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -fno-strict-aliasin
g -I/usr/local/include -I/opt/local/include'
ccversion='', gccversion='3.2.2 20030222 (Red Hat Linux 3.2.2-5)',
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 -L/opt/local/lib'
libpth=/usr/local/lib /opt/local/lib /lib /usr/lib
libs=-lnsl -lgdbm -ldl -lm -lcrypt -lutil -lpthread -lc
perllibs=-lnsl -ldl -lm -lcrypt -lutil -lpthread -lc
libc=/lib/libc-2.3.2.so, so=so, useshrplib=false, libperl=libperl.a
gnulibc_version='2.3.2'
Dynamic Linking:
dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-rdynamic'
cccdlflags='-fpic',
lddlflags='-shared -L/usr/local/lib -L/opt/local/lib'
Characteristics of this binary (from libperl):
Compile-time options: MULTIPLICITY USE_ITHREADS USE_LARGE_FILES
PERL_IMPLICIT_CONTEXT
Built under linux
Compiled at Feb 5 2004 15:51:37
%ENV:
PERL5LIB="/usr/local/lib/perl5/site_perl/5.8.3/i586-linux-thread-multi:/usr/
local/lib/perl5/site_perl/5.8.3"
PERL_LWP_USE_HTTP_10="1"
@INC:
/usr/local/lib/perl5/site_perl/5.8.3/i586-linux-thread-multi
/usr/local/lib/perl5/site_perl/5.8.3/i586-linux-thread-multi
/usr/local/lib/perl5/site_perl/5.8.3
/usr/local/lib/perl5/5.8.3/i586-linux-thread-multi
/usr/local/lib/perl5/5.8.3
/usr/local/lib/perl5/site_perl/5.8.3/i586-linux-thread-multi
/usr/local/lib/perl5/site_perl/5.8.3
/usr/local/lib/perl5/site_perl/5.8.0
/usr/local/lib/perl5/site_perl
.
3. This is the core dump trace: (if you get a core dump):
[CORE TRACE COMES HERE]
(none)
This report was generated by -e on Sat Feb 7 23:40:10 2004 GMT.
-------------8<---------- End Bug Report --------------8<----------
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@perl.apache.org
For additional commands, e-mail: dev-help@perl.apache.org
Re: BUG REPORT: mod_perl2 installation bug on failed apr-ext/uuid.t
test
Posted by Stas Bekman <st...@stason.org>.
Jeff Beer wrote:
[...]
> But this doesn't: bad_scripts.t
make sure that ModPerl-Registry/t/cgi-bin/r_inherited.pl is executable (chmod
a+x). If that doesn't help, please post the error message from
ModPerl-Registry/t/logs/error_log.
> t/bad_scripts........NOK 1# Failed test 1 in t/bad_scripts.t at line 13
> t/bad_scripts........FAILED test 1
__________________________________________________________________
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
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@perl.apache.org
For additional commands, e-mail: dev-help@perl.apache.org
RE: BUG REPORT: mod_perl2 installation bug on failed apr-ext/uuid.t test
Posted by Jeff Beer <jb...@cyberonic.com>.
Geoffrey,
I did three things:
1. I wasn't sure my apache had --with-mpm=prefork so I rebuilt it with that.
2. I am now using: modperl-2.0_20040208052306.tar.gz
3. Not being the 1st time with the above distribution,
I did make clean, chowned everything else to a non-root account, and ran it
again.
Now, on the make test, the apr-ext/uuid.t test works.
But this doesn't: bad_scripts.t
The usual bug report is below.
Thanks, Jeff
-------------8<---------- Start Bug Report ------------8<----------
1. Problem Description:
*** setting ulimit to allow core files
ulimit -c unlimited; /usr/bin/perl t/TEST -bugreport -verbose=0
/usr/local/apache2/bin/httpd -d /opt/dist/modperl-2.0/ModPerl-Registry/t -f
/opt/dist/modperl-2.0/ModPerl-Registry/t/conf/httpd.conf -DAPACHE2 -DPERL_US
EITHREADS
using Apache/2.0.48 (prefork MPM)
waiting 90 seconds for server to start: ...................................
waiting 90 seconds for server to start: ok (waited 34 secs)
server localhost.localdomain:8529 started
t/206................ok
t/304................ok
t/404................ok
t/500................ok
t/bad_scripts........NOK 1# Failed test 1 in t/bad_scripts.t at line 13
t/bad_scripts........FAILED test 1
Failed 1/1 tests, 0.00% okay
t/basic..............ok
t/cgi................ok
t/closure............ok
t/flush..............skipped
all skipped: cannot find module 'Compress::Zlib', cannot find module
'deflate'
t/nph................ok
t/perlrun_require....ok
t/redirect...........ok
t/special_blocks.....ok
Failed Test Stat Wstat Total Fail Failed List of Failed
----------------------------------------------------------------------------
---
t/bad_scripts.t 1 1 100.00%
2. Used Components and their Configuration:
*** mod_perl version 1.9913
*** using lib/Apache/BuildConfig.pm
*** Makefile.PL options:
MP_AP_PREFIX => /usr/local/apache2
MP_COMPAT_1X => 1
MP_GENERATE_XS => 1
MP_LIBNAME => mod_perl
MP_USE_DSO => 1
MP_USE_STATIC => 1
*** /usr/local/apache2/bin/httpd -V
Server version: Apache/2.0.48
Server built: Feb 9 2004 16:42:53
Server's Module Magic Number: 20020903:4
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/apache2"
-D SUEXEC_BIN="/usr/local/apache2/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"
*** /usr/bin/perl -V
Summary of my perl5 (revision 5.0 version 8 subversion 0) configuration:
Platform:
osname=linux, osvers=2.4.20-2.48smp, archname=i386-linux-thread-multi
uname='linux stripples.devel.redhat.com 2.4.20-2.48smp #1 smp thu feb 13
11:44:55 est 2003 i686 i686 i386 gnulinux '
config_args='-des -Doptimize=-O2 -march=i386 -mcpu=i686 -g -Dmyhostname=loca
lhost -Dperladmin=root@localhost -Dcc=gcc -Dcf_by=Red Hat,
Inc. -Dinstallprefix=/usr -Dprefix=/usr -Darchname=i386-linux -Dvendorprefix
=/usr -Dsiteprefix=/usr -Dotherlibdirs=/usr/lib/perl5/5.8.0 -Duseshrplib -Du
sethreads -Duseithreads -Duselargefiles -Dd_dosuid -Dd_semctl_semun -Di_db -
Ui_ndbm -Di_gdbm -Di_shadow -Di_syslog -Dman3ext=3pm -Duseperlio -Dinstallus
rbinperl -Ubincompat5005 -Uversiononly -Dpager=/usr/bin/less -isr'
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-ali
asing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr
/include/gdbm',
optimize='-O2 -march=i386 -mcpu=i686 -g',
cppflags='-D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -DDEBUGGING -fno-st
rict-aliasing -I/usr/local/include -I/usr/include/gdbm'
ccversion='', gccversion='3.2.2 20030213 (Red Hat Linux 8.0 3.2.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 -lpthread -lc -lcrypt -lutil
perllibs=-lnsl -ldl -lm -lpthread -lc -lcrypt -lutil
libc=/lib/libc-2.3.1.so, so=so, useshrplib=true, libperl=libperl.so
gnulibc_version='2.3.1'
Dynamic Linking:
dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef,
ccdlflags='-rdynamic -Wl,-rpath,/usr/lib/perl5/5.8.0/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
Locally applied patches:
MAINT18379
Built under linux
Compiled at Feb 18 2003 22:19:53
%ENV:
PERL5LIB="/usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi:/usr/lib/pe
rl5/site_perl/5.8.0"
PERL_LWP_USE_HTTP_10="1"
@INC:
/usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi
/usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi
/usr/lib/perl5/site_perl/5.8.0
/usr/lib/perl5/5.8.0/i386-linux-thread-multi
/usr/lib/perl5/5.8.0
/usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi
/usr/lib/perl5/site_perl/5.8.0
/usr/lib/perl5/site_perl
/usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi
/usr/lib/perl5/vendor_perl/5.8.0
/usr/lib/perl5/vendor_perl
/usr/lib/perl5/5.8.0/i386-linux-thread-multi
/usr/lib/perl5/5.8.0
.
*** Packages of interest status:
Apache::Request: -
CGI : 2.89
LWP : 5.65
mod_perl : -
3. This is the core dump trace: (if you get a core dump):
[CORE TRACE COMES HERE]
This report was generated by t/REPORT on Tue Feb 10 03:27:58 2004 GMT.
-------------8<---------- End Bug Report --------------8<----------
--------------------------------
Jeff Beer jbeer@jwbeer.net
--------------------------------
> -----Original Message-----
> From: Geoffrey Young [mailto:geoff@modperlcookbook.org]
> Sent: Monday, February 09, 2004 9:01 AM
> To: jbeer@jwbeer.net
> Cc: dev@perl.apache.org
> Subject: Re: BUG REPORT: mod_perl2 installation bug on failed
> apr-ext/uuid.t test
>
>
>
>
> Jeff Beer wrote:
>
> > apr-ext/uuid.t 255 65280 3 6 200.00% 1-3
>
> that's odd - 6 of 3 (200%) tests failed? I've seen that kind of thing
> before where there are problems with Test.pm and the order in which the
> tests show up...
>
> > [root@arja mod_perl-1.99_12 ]# cat t/REPORT
>
> please run the tests as a non-root user and see if the problem persists -
> you may need to chmod various files first.
>
> if it still fails, try removing t/logs/error_log and running the
> test by itself
>
> $ t/TEST t/apr-ext/uuid.t -v
>
> to see if there is something in the test order that is mucking things up.
> report back with the content of the error_log on failure.
>
> thanks
>
> --Geoff
>
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@perl.apache.org
For additional commands, e-mail: dev-help@perl.apache.org
Re: BUG REPORT: mod_perl2 installation bug on failed apr-ext/uuid.t
test
Posted by Geoffrey Young <ge...@modperlcookbook.org>.
Jeff Beer wrote:
> apr-ext/uuid.t 255 65280 3 6 200.00% 1-3
that's odd - 6 of 3 (200%) tests failed? I've seen that kind of thing
before where there are problems with Test.pm and the order in which the
tests show up...
> [root@arja mod_perl-1.99_12 ]# cat t/REPORT
please run the tests as a non-root user and see if the problem persists -
you may need to chmod various files first.
if it still fails, try removing t/logs/error_log and running the test by itself
$ t/TEST t/apr-ext/uuid.t -v
to see if there is something in the test order that is mucking things up.
report back with the content of the error_log on failure.
thanks
--Geoff
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@perl.apache.org
For additional commands, e-mail: dev-help@perl.apache.org