You are viewing a plain text version of this content. The canonical link for it is here.
Posted to modperl@perl.apache.org by cr...@animalhead.com on 2007/01/18 08:48:55 UTC

Two failures in make test building mod_perl 2.0.3

-------------8<---------- Start Bug Report ------------8<----------
1. Problem Description:

   Two failures in make test building mod_perl 2.0.3

2. Used Components and their Configuration:

*** mod_perl version 2.000003

*** using /tmp/mod_perl-2.0.3/lib/Apache2/BuildConfig.pm

*** Makefile.PL options:
   MP_APR_LIB     => aprext
   MP_AP_PREFIX   => /www
   MP_CCOPTS      => -march=pentiumpro
   MP_COMPAT_1X   => 0
   MP_GENERATE_XS => 1
   MP_LIBNAME     => mod_perl
   MP_USE_DSO     => 1


*** /www/bin/httpd -V
Server version: Apache/2.2.3
Server built:   Aug  9 2006 10:27:21
Server's Module Magic Number: 20051115:3
Server loaded:  APR 1.2.2, APR-Util 1.2.2
Compiled using: APR 1.2.2, APR-Util 1.2.2
Architecture:   32-bit
Server MPM:     Prefork
   threaded:     no
     forked:     yes (variable process count)
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_FLOCK_SERIALIZE
-D APR_USE_PTHREAD_SERIALIZE
-D SINGLE_LISTEN_UNSERIALIZED_ACCEPT
-D APR_HAS_OTHER_CHILD
-D AP_HAVE_RELIABLE_PIPED_LOGS
-D DYNAMIC_MODULE_LIMIT=128
-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/ldd /www/bin/httpd
/www/bin/httpd:
	libssl.so.4 => /usr/lib/libssl.so.4 (0x28113000)
	libcrypto.so.4 => /lib/libcrypto.so.4 (0x28142000)
	libm.so.4 => /lib/libm.so.4 (0x28239000)
	libaprutil-1.so.2 => /usr/local/apache2/lib/libaprutil-1.so.2  
(0x2824f000)
	libdb41.so.1 => /usr/local/lib/libdb41.so.1 (0x28267000)
	libexpat.so.6 => /usr/local/lib/libexpat.so.6 (0x28303000)
	libapr-1.so.2 => /usr/local/apache2/lib/libapr-1.so.2 (0x28324000)
	libcrypt.so.3 => /lib/libcrypt.so.3 (0x2834a000)
	libpthread.so.2 => /usr/lib/libpthread.so.2 (0x28362000)
	libc.so.6 => /lib/libc.so.6 (0x28387000)


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

-L/usr/local/apache2/lib -laprutil-1 -ldb41 -lexpat -L/usr/local/lib
-L/usr/local/apache2/lib -lapr-1 -lcrypt  -lpthread



*** /usr/local/bin/perl -V
Summary of my perl5 (revision 5 version 8 subversion 8) configuration:
   Platform:
     osname=freebsd, osvers=6.0-release, archname=i386-freebsd-64int
     uname='freebsd mackenna1.securesites.net 6.0-release freebsd 6.0- 
release #19: wed sep 20 14:24:06 mdt 2006  
root@fc:usrsrcsysi386compilevkern i386 '
     config_args='-Doptimize=-march=pentiumpro -des -Uusethreads - 
Duse64bitint'
     hint=recommended, useposix=true, d_sigaction=define
     usethreads=undef use5005threads=undef useithreads=undef  
usemultiplicity=undef
     useperlio=define d_sfio=undef uselargefiles=define usesocks=undef
     use64bitint=define use64bitall=undef uselongdouble=undef
     usemymalloc=n, bincompat5005=undef
   Compiler:
     cc='cc', ccflags ='-DHAS_FPSETMASK -DHAS_FLOATINGPOINT_H -fno- 
strict-aliasing -pipe -Wdeclaration-after-statement -I/usr/local/ 
include',
     optimize='-march=pentiumpro',
     cppflags='-DHAS_FPSETMASK -DHAS_FLOATINGPOINT_H -fno-strict- 
aliasing -pipe -Wdeclaration-after-statement -I/usr/local/include'
     ccversion='', gccversion='3.4.4 [FreeBSD] 20050518',  
gccosandvers=''
     intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=12345678
     d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=12
     ivtype='long long', ivsize=8, nvtype='double', nvsize=8,  
Off_t='off_t', lseeksize=8
     alignbytes=4, prototype=define
   Linker and Libraries:
     ld='cc', ldflags ='-Wl,-E  -L/usr/local/lib'
     libpth=/usr/lib /usr/local/lib
     libs=-lgdbm -lm -lcrypt -lutil -lc
     perllibs=-lm -lcrypt -lutil -lc
     libc=, so=so, useshrplib=false, libperl=libperl.a
     gnulibc_version=''
   Dynamic Linking:
     dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags=' '
     cccdlflags='-DPIC -fPIC', lddlflags='-shared  -L/usr/local/lib'


Characteristics of this binary (from libperl):
   Compile-time options: PERL_MALLOC_WRAP USE_64_BIT_INT USE_LARGE_FILES
                         USE_PERLIO
   Built under freebsd
   Compiled at Jan 17 2007 15:07:11
   %ENV:
     PERL_LWP_USE_HTTP_10="1"
   @INC:
     /usr/local/lib/perl5/5.8.8/i386-freebsd-64int
     /usr/local/lib/perl5/5.8.8
     /usr/local/lib/perl5/site_perl/5.8.8/i386-freebsd-64int
     /usr/local/lib/perl5/site_perl/5.8.8
     /usr/local/lib/perl5/site_perl/5.8.7
     /usr/local/lib/perl5/site_perl
     .

*** Packages of interest status:

Apache2            : -
Apache2::Request   : -
CGI                : 3.25
ExtUtils::MakeMaker: 6.30
LWP                : 5.805
mod_perl           : -
mod_perl2          : -


3. This is the core dump trace: (if you get a core dump):

   none

This report was generated by t/REPORT on Thu Jan 18 07:21:59 2007 GMT.

-------------8<---------- End Bug Report --------------8<----------

Perl 5.8.8 was built under the same compiler and -march just before  
the mod_perl build.

Initial command:
perl Makefile.PL MP_AP_PREFIX=/www MP_COMPAT_1X=0 MP_CCOPTS=- 
march=pentiumpro
----------------------------------------------------
these are from the terminal output of make test:

t/modperl/setupenv......................FAILED tests 8, 22, 29, 36,  
50, 57
         Failed 6/63 tests, 90.48% okay

t/preconnection/note....................# Failed test 1 in t/ 
preconnection/note.t at line 16
t/preconnection/note....................FAILED test 1
         Failed 1/1 tests, 0.00% okay

----------------------------------------------------
these are from t/logs/error_log

# Failed test 8 in /tmp/mod_perl-2.0.3/t/response/TestModperl/ 
setupenv.pm at line 35
# Failed test 22 in /tmp/mod_perl-2.0.3/t/response/TestModperl/ 
setupenv.pm at line 115
# Failed test 29 in /tmp/mod_perl-2.0.3/t/response/TestModperl/ 
setupenv.pm at line 35 fail #2
# Failed test 36 in /tmp/mod_perl-2.0.3/t/response/TestModperl/ 
setupenv.pm at line 35 fail #3
# Failed test 50 in /tmp/mod_perl-2.0.3/t/response/TestModperl/ 
setupenv.pm at line 35 fail #4
# Failed test 57 in /tmp/mod_perl-2.0.3/t/response/TestModperl/ 
setupenv.pm at line 115 fail #2

Constant subroutine Apache2::Reload::Test::const redefined at /tmp/ 
mod_perl-2.0.3/blib/lib/ModPerl/Util.pm line 69.
Subroutine subpackage redefined at /tmp/mod_perl-2.0.3/t/lib/Apache2/ 
Reload/Test.pm line 7.
Subroutine run redefined at /tmp/mod_perl-2.0.3/t/lib/Apache2/Reload/ 
Test.pm line 9.
Subroutine simple redefined at /tmp/mod_perl-2.0.3/t/lib/Apache2/ 
Reload/Test.pm line 15.
Prototype mismatch: sub Apache2::Reload::Test::const: none vs () at / 
usr/local/lib/perl5/5.8.8/constant.pm line 103.
Subroutine prototype redefined at /tmp/mod_perl-2.0.3/t/lib/Apache2/ 
Reload/Test.pm line 17.
Constant subroutine Apache2::Reload::Test::const redefined at /tmp/ 
mod_perl-2.0.3/blib/lib/ModPerl/Util.pm line 69.
Subroutine subpackage redefined at /tmp/mod_perl-2.0.3/t/lib/Apache2/ 
Reload/Test.pm line 7.
Subroutine run redefined at /tmp/mod_perl-2.0.3/t/lib/Apache2/Reload/ 
Test.pm line 9.
Subroutine simple redefined at /tmp/mod_perl-2.0.3/t/lib/Apache2/ 
Reload/Test.pm line 15.
Prototype mismatch: sub Apache2::Reload::Test::const: none vs () at / 
usr/local/lib/perl5/5.8.8/constant.pm line 103.
Subroutine prototype redefined at /tmp/mod_perl-2.0.3/t/lib/Apache2/ 
Reload/Test.pm line 17.
Constant subroutine Apache2::Reload::Test::const redefined at /tmp/ 
mod_perl-2.0.3/blib/lib/ModPerl/Util.pm line 69.
[Wed Jan 17 17:00:08 2007] [error] [client 127.0.0.9] user stas:  
authentication failure for "/": Password Mismatch
[Wed Jan 17 17:00:11 2007] [info] Child process pid=15124 is exiting
[Wed Jan 17 17:00:11 2007] [info] Child process pid=15124 is exiting  
- server push
END in modperl_extra.pl, pid=15124
[Wed Jan 17 17:00:11 2007] [info] Child process pid=14593 is exiting
[Wed Jan 17 17:00:11 2007] [info] Child process pid=14593 is exiting  
- server push
END in TestModperl::print, pid=14593
END in modperl_extra.pl, pid=14593
[Wed Jan 17 17:00:11 2007] [info] Child process pid=14592 is exiting
[Wed Jan 17 17:00:11 2007] [info] Child process pid=14592 is exiting  
- server push
END in modperl_extra.pl, pid=14592
[Wed Jan 17 17:00:11 2007] [info] removed PID file /tmp/ 
mod_perl-2.0.3/t/logs/httpd.pid (pid=14585)
[Wed Jan 17 17:00:11 2007] [notice] caught SIGTERM, shutting down
END in modperl_extra.pl, pid=14585

------------------------------------------------------------------
These are the verbose test results

mackenna1:/tmp/mod_perl-2.0.3 $ make test TEST_VERBOSE=1  
TEST_FILES="t/modperl/setupenv.t t/preconnection/note.t"
cd "src/modules/perl" && make
/usr/local/bin/perl5.8.8 -Iblib/arch -Iblib/lib  t/TEST -clean
APACHE_TEST_GROUP= APACHE_TEST_HTTPD= APACHE_TEST_PORT=  
APACHE_TEST_USER= APACHE_TEST_APXS=  /usr/local/bin/perl5.8.8 -Iblib/ 
arch -Iblib/lib  t/TEST -bugreport -verbose=1 t/modperl/setupenv.t t/ 
preconnection/note.t
/www/bin/httpd  -d /tmp/mod_perl-2.0.3/t -f /tmp/mod_perl-2.0.3/t/ 
conf/httpd.conf -D APACHE2
using Apache/2.2.3 (prefork MPM)

waiting 120 seconds for server to start: .[Wed Jan 17 23:33:28 2007]  
[warn] Useless use of AllowOverride in line 1389.
[Wed Jan 17 23:33:28 2007] [info] 6 Apache2:: modules loaded
[Wed Jan 17 23:33:28 2007] [info] 0 APR:: modules loaded
[Wed Jan 17 23:33:28 2007] [info] base server + 29 vhosts ready to  
run tests
[Wed Jan 17 23:33:29 2007] [warn] The Alias directive in mod_perl at  
line 1 will probably never match because it overlaps an earlier Alias.
[Wed Jan 17 23:33:29 2007] [warn] The Alias directive in mod_perl at  
line 1 will probably never match because it overlaps an earlier Alias.
[Wed Jan 17 23:33:29 2007] [warn] The Alias directive in mod_perl at  
line 1 will probably never match because it overlaps an earlier Alias.
[Wed Jan 17 23:33:29 2007] [warn] The Alias directive in mod_perl at  
line 1 will probably never match because it overlaps an earlier Alias.
[Wed Jan 17 23:33:29 2007] [warn] The Alias directive in mod_perl at  
line 1 will probably never match because it overlaps an earlier Alias.
..
waiting 120 seconds for server to start: ok (waited 2 secs)
server localhost:8529 started
server localhost:8530 listening (filter_out_apache)
server localhost:8531 listening (perlsections)
server localhost:8532 listening (inherit)
server localhost:8533 listening (TestModules::proxy)
server localhost:8534 listening (TestModperl::merge)
server localhost:8535 listening (TestModperl::perl_options2)
server localhost:8536 listening (TestModperl::perl_options)
server localhost:8537 listening (TestModperl::setupenv)
server localhost:8538 listening (TestUser::rewrite)
server localhost:8539 listening (TestVhost::log)
server localhost:8540 listening (TestVhost::config)
server localhost:8541 listening (TestProtocol::pseudo_http)
server localhost:8542 listening (TestProtocol::echo_bbs)
server localhost:8543 listening (TestProtocol::echo_filter)
server localhost:8544 listening (TestProtocol::echo_bbs2)
server localhost:8545 listening (TestProtocol::echo_timeout)
server localhost:8546 listening (TestProtocol::echo_block)
server localhost:8547 listening (TestProtocol::echo_nonblock)
server localhost:8548 listening (TestPreConnection::note)
server localhost:8549 listening (TestHooks::hookrun)
server localhost:8550 listening (TestHooks::init)
server localhost:8551 listening (TestHooks::trans)
server localhost:8552 listening (TestHooks::stacked_handlers2)
server localhost:8553 listening (TestHooks::startup)
server localhost:8554 listening (TestFilter::in_bbs_inject_header)
server localhost:8555 listening (TestFilter::in_str_msg)
server localhost:8556 listening (TestFilter::both_str_con_add)
server localhost:8557 listening (TestFilter::in_bbs_msg)
server localhost:8558 listening (TestDirective::perlmodule)
server localhost:8559 listening (TestDirective::perlrequire)
server localhost:8560 listening (TestAPI::add_config)
server localhost:8561 listening (TestDirective::perlloadmodule4)
server localhost:8562 listening (TestDirective::perlloadmodule5)
server localhost:8563 listening (TestDirective::perlloadmodule3)
server localhost:8564 listening (TestDirective::perlloadmodule6)
server localhost:8565 listening (TestHooks::push_handlers_anon)
t/modperl/setupenv......# connecting to http://localhost:8537/ 
TestModperl__setupenv
1..63
# Running under perl version 5.008008 for freebsd
# Current time local: Wed Jan 17 23:33:29 2007
# Current time GMT:   Thu Jan 18 07:33:29 2007
# Using Test.pm version 1.25
# Using Apache/Test.pm version 1.29
# trying http://localhost:8537/TestModperl__setupenv_mpdefault
# testing : REMOTE_ADDR not found in %ENV
# expected: undef
# received: undef
ok 1
# testing : subprocess_env table entry SRV_SUBPROCESS not found in %ENV
# expected: undef
# received: undef
ok 2
# testing : subprocess_env table entry DIR_SUBPROCESS not found in %ENV
# expected: undef
# received: undef
ok 3
# testing : per-directory SetEnv entry not found in %ENV
# expected: undef
# received: undef
ok 4
# testing : per-server SetEnv entry not found in %ENV
# expected: undef
# received: undef
ok 5
# testing : found per-directory PerlSetEnv entry in %ENV
# expected: mpdefault
# received: mpdefault
ok 6
# testing : found per-server PerlSetEnv entry in %ENV
# expected: server
# received: server
ok 7
# trying http://localhost:8537/TestModperl__setupenv_mpsetup
# testing : found REMOTE_ADDR in %ENV
# expected: 127.0.0.1
# received: 127.0.0.7
not ok 8
# testing : found subprocess_env table entry SRV_SUBPROCESS in %ENV
# expected: server
# received: server
ok 9
# testing : found subprocess_env table entry DIR_SUBPROCESS in %ENV
# expected: mpsetup
# received: mpsetup
ok 10
# testing : found per-directory SetEnv entry in %ENV
# expected: mpsetup
# received: mpsetup
ok 11
# testing : found per-server SetEnv entry in %ENV
# expected: server
# received: server
ok 12
# testing : found per-directory PerlSetEnv entry in %ENV
# expected: mpsetup
# received: mpsetup
ok 13
# testing : found per-server PerlSetEnv entry in %ENV
# expected: server
# received: server
ok 14
# trying http://localhost:8537/TestModperl__setupenv_mpdefault
# testing : REMOTE_ADDR not found in %ENV
# expected: undef
# received: undef
ok 15
# testing : subprocess_env table entry SRV_SUBPROCESS not found in %ENV
# expected: undef
# received: undef
ok 16
# testing : subprocess_env table entry DIR_SUBPROCESS not found in %ENV
# expected: undef
# received: undef
ok 17
# testing : per-directory SetEnv entry not found in %ENV
# expected: undef
# received: undef
ok 18
# testing : per-server SetEnv entry not found in %ENV
# expected: undef
# received: undef
ok 19
# testing : found per-directory PerlSetEnv entry in %ENV
# expected: mpdefault
# received: mpdefault
ok 20
# testing : found per-server PerlSetEnv entry in %ENV
# expected: server
# received: server
ok 21
# trying http://localhost:8537/TestModperl__setupenv_mpvoid
# testing : found REMOTE_ADDR in %ENV
# expected: 127.0.0.1
# received: 127.0.0.7
not ok 22
# testing : found subprocess_env table entry one in %ENV
# expected: server
# received: server
ok 23
# testing : subprocess_env table entry DIR_SUBPROCESS not found in %ENV
# expected: undef
# received: undef
ok 24
# testing : per-directory SetEnv entry not found in %ENV
# expected: undef
# received: undef
ok 25
# testing : per-server SetEnv entry not found in %ENV
# expected: undef
# received: undef
ok 26
# testing : found per-directory PerlSetEnv entry in %ENV
# expected: mpvoid
# received: mpvoid
ok 27
# testing : found per-server PerlSetEnv entry in %ENV
# expected: server
# received: server
ok 28
# trying http://localhost:8537/TestModperl__setupenv_mpsetupvoid
# testing : found REMOTE_ADDR in %ENV
# expected: 127.0.0.1
# received: 127.0.0.7
not ok 29
# testing : found subprocess_env table entry SRV_SUBPROCESS in %ENV
# expected: server
# received: server
ok 30
# testing : found subprocess_env table entry DIR_SUBPROCESS in %ENV
# expected: mpsetupvoid
# received: mpsetupvoid
ok 31
# testing : found per-directory SetEnv entry in %ENV
# expected: mpsetupvoid
# received: mpsetupvoid
ok 32
# testing : found per-server SetEnv entry in %ENV
# expected: server
# received: server
ok 33
# testing : found per-directory PerlSetEnv entry in %ENV
# expected: mpsetupvoid
# received: mpsetupvoid
ok 34
# testing : found per-server PerlSetEnv entry in %ENV
# expected: server
# received: server
ok 35
# trying http://localhost:8537/TestModperl__setupenv_psdefault
# testing : found REMOTE_ADDR in %ENV
# expected: 127.0.0.1
# received: 127.0.0.7
not ok 36
# testing : found subprocess_env table entry SRV_SUBPROCESS in %ENV
# expected: server
# received: server
ok 37
# testing : found subprocess_env table entry DIR_SUBPROCESS in %ENV
# expected: psdefault
# received: psdefault
ok 38
# testing : found per-directory SetEnv entry in %ENV
# expected: psdefault
# received: psdefault
ok 39
# testing : found per-server SetEnv entry in %ENV
# expected: server
# received: server
ok 40
# testing : found per-directory PerlSetEnv entry in %ENV
# expected: psdefault
# received: psdefault
ok 41
# testing : found per-server PerlSetEnv entry in %ENV
# expected: server
# received: server
ok 42
# trying http://localhost:8537/TestModperl__setupenv_psnosetup
# testing : REMOTE_ADDR not found in %ENV
# expected: undef
# received: undef
ok 43
# testing : subprocess_env table entry SRV_SUBPROCESS not found in %ENV
# expected: undef
# received: undef
ok 44
# testing : subprocess_env table entry DIR_SUBPROCESS not found in %ENV
# expected: undef
# received: undef
ok 45
# testing : per-directory SetEnv entry not found in %ENV
# expected: undef
# received: undef
ok 46
# testing : per-server SetEnv entry not found in %ENV
# expected: undef
# received: undef
ok 47
# testing : found per-directory PerlSetEnv entry in %ENV
# expected: psnosetup
# received: psnosetup
ok 48
# testing : found per-server PerlSetEnv entry in %ENV
# expected: server
# received: server
ok 49
# trying http://localhost:8537/TestModperl__setupenv_psvoid
# testing : found REMOTE_ADDR in %ENV
# expected: 127.0.0.1
# received: 127.0.0.7
not ok 50
# testing : found subprocess_env table entry SRV_SUBPROCESS in %ENV
# expected: server
# received: server
ok 51
# testing : found subprocess_env table entry DIR_SUBPROCESS in %ENV
# expected: psvoid
# received: psvoid
ok 52
# testing : found per-directory SetEnv entry in %ENV
# expected: psvoid
# received: psvoid
ok 53
# testing : found per-server SetEnv entry in %ENV
# expected: server
# received: server
ok 54
# testing : found per-directory PerlSetEnv entry in %ENV
# expected: psvoid
# received: psvoid
ok 55
# testing : found per-server PerlSetEnv entry in %ENV
# expected: server
# received: server
ok 56
# trying http://localhost:8537/TestModperl__setupenv_psnosetupvoid
# testing : found REMOTE_ADDR in %ENV
# expected: 127.0.0.1
# received: 127.0.0.7
not ok 57
# testing : found subprocess_env table entry one in %ENV
# expected: server
# received: server
ok 58
# testing : subprocess_env table entry DIR_SUBPROCESS not found in %ENV
# expected: undef
# received: undef
ok 59
# testing : per-directory SetEnv entry not found in %ENV
# expected: undef
# received: undef
ok 60
# testing : per-server SetEnv entry not found in %ENV
# expected: undef
# received: undef
ok 61
# testing : found per-directory PerlSetEnv entry in %ENV
# expected: psnosetupvoid
# received: psnosetupvoid
ok 62
# testing : found per-server PerlSetEnv entry in %ENV
# expected: server
# received: server
ok 63
FAILED tests 8, 22, 29, 36, 50, 57
         Failed 6/63 tests, 90.48% okay
t/preconnection/note....# connecting to http://localhost:8548/ 
TestPreConnection__note
1..1
# Running under perl version 5.008008 for freebsd
# Current time local: Wed Jan 17 23:33:32 2007
# Current time GMT:   Thu Jan 18 07:33:32 2007
# Using Test.pm version 1.25
# Using Apache/Test.pm version 1.29
# Failed test 1 in t/preconnection/note.t at line 16
# testing : connection notes
# expected: 127.0.0.1
# received: 127.0.0.7
not ok 1
FAILED test 1
         Failed 1/1 tests, 0.00% okay
Failed Test            Stat Wstat Total Fail  List of Failed
------------------------------------------------------------------------ 
-------
t/modperl/setupenv.t                 63    6  8 22 29 36 50 57
t/preconnection/note.t                1    1  1
Failed 2/2 test scripts. 7/64 subtests failed.
Files=2, Tests=64,  1 wallclock secs ( 1.14 cusr +  0.19 csys =  1.33  
CPU)
Failed 2/2 test programs. 7/64 subtests failed.
[warning] server localhost:8529 shutdown
[  error] error running tests (please examine t/logs/error_log)


Re: Two failures in make test building mod_perl 2.0.3

Posted by cr...@animalhead.com.
Hi tomás,
Info is filled in below.

One other Q: what is the protocol for when to reply to just
one person (reply) vs. the whole list (reply all)?

Best Regards,
Craig

On Jan 19, 2007, at 4:25 AM, tomas@tuxteam.de wrote (in part):

> Hm. Looks sane to me. But somehow 'localhost' seems to resolve
> (sometimes) to 127.0.0.1 on your machine. What does "nslookup  
> localhost"
> (or any FreeBSD equivalent thereof) say?
Server:         127.0.0.1
Address:        127.0.0.1#53

Name:   localhost
Address: 127.0.0.1

> How does the /etc/nsswitch.conf look like?
group: compat
group_compat: nis
hosts: files dns
networks: files
passwd: compat
passwd_compat: nis
shells: files
>
> I still guess that this is a resolver issue, not a modperl one.
>
> Regards
> - -- tomás


Re: Two failures in make test building mod_perl 2.0.3

Posted by to...@tuxteam.de.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Thu, Jan 18, 2007 at 09:52:39PM -0800, craig@animalhead.com wrote:
> The /etc/hosts file on the system where the problem occurred follows:
> 
> # $FreeBSD: src/etc/hosts,v 1.16 2003/01/28 21:29:23 dbaker Exp $

[no trace of 127.0.0.7]

Hm. Looks sane to me. But somehow 'localhost' seems to resolve
(sometimes) to 127.0.0.1 on your machine. What does "nslookup localhost"
(or any FreeBSD equivalent thereof) say? How does the /etc/nsswitch.conf
look like?

I still guess that this is a resolver issue, not a modperl one.

Regards
- -- tomás
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)

iD8DBQFFsLjMBcgs9XrR2kYRAtIfAJ92YPGT9ISzK9Ilf9UoJEwly9QasACffqq9
mINmW0P8SmlXKYgOVfR3GzI=
=ZwOu
-----END PGP SIGNATURE-----


Re: Two failures in make test building mod_perl 2.0.3

Posted by to...@tuxteam.de.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Thu, Jan 18, 2007 at 02:58:45PM -0500, Geoffrey Young wrote:
> 
> > -D APR_HAVE_IPV6 (IPv4-mapped addresses enabled)
> 
> > # testing : connection notes
> > # expected: 127.0.0.1
> > # received: 127.0.0.7
> > not ok 1
> 
> this looks like it may be an IPv6 issue that's perhaps outside our
> control...

...or just some funny entry in /etc/hosts (yeah, I know, but it'd be
worth checking...)

regards
- -- tomás
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)

iD8DBQFFsFOTBcgs9XrR2kYRApdAAJwOwQ6BRfL9T93DdJPibyjp4C1gWgCfadzZ
V2WEofsjekNIhbWtdQhvvXg=
=6Iv4
-----END PGP SIGNATURE-----


Re: Two failures in make test building mod_perl 2.0.3

Posted by Geoffrey Young <ge...@modperlcookbook.org>.
> -D APR_HAVE_IPV6 (IPv4-mapped addresses enabled)

> # testing : connection notes
> # expected: 127.0.0.1
> # received: 127.0.0.7
> not ok 1

this looks like it may be an IPv6 issue that's perhaps outside our
control...

the 'expected' part of this test is deduced by Apache-Test using
straight-up perl.

  $ perl -MSocket -e 'print
Socket::inet_ntoa((gethostbyname("localhost"))[-1])'

the 'received' part uses the value of $c->remote_ip, which is set in the
connection record by httpd (not mod_perl) using the APR abstraction layer.

I don't have a clue about IPv6 or how it works, but I suspect the issue
is the difference between perl's and apr's interpretation of localhost
on your machine.

maybe someone else has a clue.

--Geoff