[mp2.0.4] t/hooks/authen_basic (Wstat: 0 Tests: 4 Failed: 1)

[mp2.0.4] t/hooks/authen_basic (Wstat: 0 Tests: 4 Failed: 1)

am 18.11.2008 05:44:57 von Jie Gao

Hi All

I'm getting the same test errors as mentioned before but on
a different platform:

# make test
....
t/hooks/authen_basic....................1/4 # Failed test 4 in t/hooks/authen_basic.t at line 26
t/hooks/authen_basic.................... Failed 1/4 subtests
t/hooks/authen_digest...................ok
t/hooks/authz...........................1/4 # Failed test 4 in t/hooks/authz.t at line 19
t/hooks/authz........................... Failed 1/4 subtests
....

# ./t/TEST -verbose t/hooks/authz.t

[warning] setting ulimit to allow core files
ulimit -c unlimited; /usr/local/bin/perl /usr/local/src/mod_perl-2.0.4/t/TEST -verbose 't/hooks/authz.t'
[warning] root mode: changing the files ownership to 'nobody' (99:99)
[warning] testing whether 'nobody' is able to -rwx /usr/local/src/mod_perl-2.0.4/t
"/usr/local/bin/perl" -Mlib=/usr/local/src/mod_perl-2.0.4/Apache-Test/lib -MApache::TestRun -e 'eval { Apache::TestRun::run_root_fs_test(99, 99, q[/usr/local/src/mod_perl-2.0.4/t]) }';


[warning] result: OK
[warning] the client side drops 'root' permissions and becomes 'nobody'
/usr/local/httpd-2.2.10+mod_perl-2.0.4+php-5.2.6/bin/httpd -d /usr/local/src/mod_perl-2.0.4/t -f /usr/local/src/mod_perl-2.0.4/t/conf/httpd.conf -D APACHE2
using Apache/2.2.10 (prefork MPM)

waiting 120 seconds for server to start: .[Tue Nov 18 15:38:50 2008] [info] 6 Apache2:: modules loaded
[Tue Nov 18 15:38:50 2008] [info] 0 APR:: modules loaded
[Tue Nov 18 15:38:50 2008] [info] base server + 29 vhosts ready to run tests
....
waiting 120 seconds for server to start: ok (waited 3 secs)
server localhost.localdomain:8529 started
server localhost.localdomain:8530 listening (filter_out_apache)
server localhost.localdomain:8531 listening (perlsections)
server localhost.localdomain:8532 listening (inherit)
server localhost.localdomain:8533 listening (TestModules::proxy)
server localhost.localdomain:8534 listening (TestUser::rewrite)
server localhost.localdomain:8535 listening (TestVhost::log)
server localhost.localdomain:8536 listening (TestVhost::config)
server localhost.localdomain:8537 listening (TestModperl::perl_options)
server localhost.localdomain:8538 listening (TestModperl::perl_options2)
server localhost.localdomain:8539 listening (TestModperl::setupenv)
server localhost.localdomain:8540 listening (TestModperl::merge)
server localhost.localdomain:8541 listening (TestProtocol::echo_nonblock)
server localhost.localdomain:8542 listening (TestProtocol::echo_bbs2)
server localhost.localdomain:8543 listening (TestProtocol::echo_filter)
server localhost.localdomain:8544 listening (TestProtocol::echo_block)
server localhost.localdomain:8545 listening (TestProtocol::echo_timeout)
server localhost.localdomain:8546 listening (TestProtocol::echo_bbs)
server localhost.localdomain:8547 listening (TestProtocol::pseudo_http)
server localhost.localdomain:8548 listening (TestPreConnection::note)
server localhost.localdomain:8549 listening (TestHooks::startup)
server localhost.localdomain:8550 listening (TestHooks::trans)
server localhost.localdomain:8551 listening (TestHooks::hookrun)
server localhost.localdomain:8552 listening (TestHooks::stacked_handlers2)
server localhost.localdomain:8553 listening (TestHooks::init)
server localhost.localdomain:8554 listening (TestFilter::in_bbs_inject_header)
server localhost.localdomain:8555 listening (TestFilter::both_str_con_add)
server localhost.localdomain:8556 listening (TestFilter::in_bbs_msg)
server localhost.localdomain:8557 listening (TestFilter::in_str_msg)
server localhost.localdomain:8558 listening (TestDirective::perlrequire)
server localhost.localdomain:8559 listening (TestDirective::perlmodule)
server localhost.localdomain:8560 listening (TestAPI::add_config)
server localhost.localdomain:8561 listening (TestDirective::perlloadmodule5)
server localhost.localdomain:8562 listening (TestDirective::perlloadmodule4)
server localhost.localdomain:8563 listening (TestDirective::perlloadmodule3)
server localhost.localdomain:8564 listening (TestDirective::perlloadmodule6)
server localhost.localdomain:8565 listening (TestHooks::push_handlers_anon)
t/hooks/authz....
1..4
# Running under perl version 5.010000 for linux
# Current time local: Tue Nov 18 15:38:54 2008
# Current time GMT: Tue Nov 18 04:38:54 2008
# Using Test.pm version 1.25
# Using Apache/Test.pm version 1.31
ok 1
ok 2
ok 3
not ok 4
# Failed test 4 in t/hooks/authz.t at line 19
Failed 1/4 subtests

Test Summary Report
-------------------
t/hooks/authz (Wstat: 0 Tests: 4 Failed: 1)
Failed test: 4
Files=1, Tests=4, 1 wallclock secs ( 0.05 usr 0.01 sys + 0.69 cusr 0.08 csys = 0.83 CPU)
Result: FAIL
Failed 1/1 test programs. 1/4 subtests failed.
[warning] server localhost.localdomain:8529 shutdown
[ error] error running tests (please examine t/logs/error_log)

# /usr/local/bin/perl -V
Summary of my perl5 (revision 5 version 10 subversion 0) configuration:
Platform:
osname=linux, osvers=2.6.18-92.1.18.el5, archname=x86_64-linux
uname='linux xxx.xxx.xxx.xxx 2.6.18-92.1.18.el5 #1 smp wed nov 5 09:00:19 est 2008 x86_64 x86_64 x86_64 gnulinux '
config_args='-Dcc=gcc -Dccflags=-O2 -g -pipe -m64 -Accflags=-fPIC -Doptimize=-O2 -g -pipe -m64 -Duseperlio -Dusesfio -Dlocincpth=/usr/local/include -Duse64bitall -Dloclibpth=/usr/local/lib /usr/lib64 /usr/lib'
hint=recommended, useposix=true, d_sigaction=define
useithreads=undef, usemultiplicity=undef
useperlio=define, d_sfio=undef, uselargefiles=define, usesocks=undef
use64bitint=define, use64bitall=define, uselongdouble=undef
usemymalloc=n, bincompat5005=undef
Compiler:
cc='gcc', ccflags ='-O2 -g -pipe -m64 -fPIC -DDEBUGGING -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm',
optimize='-O2 -g -pipe -m64',
cppflags='-O2 -g -pipe -m64 -fPIC -DDEBUGGING -fno-strict-aliasing -I/usr/local/include -I/usr/include/gdbm'
ccversion='', gccversion='4.1.2 20071124 (Red Hat 4.1.2-42)', 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='gcc', ldflags =' -L/usr/local/lib -L/usr/lib64 -L/usr/lib'
libpth=/usr/local/lib /usr/lib64 /usr/lib /lib /lib64 /usr/local/lib64
libs=-lnsl -lgdbm -ldl -lm -lcrypt -lutil -lc
perllibs=-lnsl -ldl -lm -lcrypt -lutil -lc
libc=/lib/libc-2.5.so, so=so, useshrplib=false, libperl=libperl.a
gnulibc_version='2.5'
Dynamic Linking:
dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-Wl,-E'
cccdlflags='-fPIC', lddlflags='-shared -O2 -g -pipe -m64 -L/usr/local/lib -L/usr/lib64 -L/usr/lib'


Characteristics of this binary (from libperl):
Compile-time options: DEBUGGING PERL_DONT_CREATE_GVSV PERL_MALLOC_WRAP
USE_64_BIT_ALL USE_64_BIT_INT USE_LARGE_FILES
USE_PERLIO
Built under linux
Compiled at Nov 18 2008 13:08:23
@INC:
/usr/local/lib/perl5/5.10.0/x86_64-linux
/usr/local/lib/perl5/5.10.0
/usr/local/lib/perl5/site_perl/5.10.0/x86_64-linux
/usr/local/lib/perl5/site_perl/5.10.0
.


Regards,



Jie

Re: [mp2.0.4] t/hooks/authen_basic (Wstat: 0 Tests: 4 Failed: 1)

am 19.11.2008 02:52:46 von Jie Gao

Hi All

I have since tried:

- httpd-2.2.9
- httpd-2.2.8
- httpd-2.2.6
- httpd-2.2.4

with the same conf and I got the same test failures.





Jie



* Jie Gao wrote:

> Hi All
>
> I'm getting the same test errors as mentioned before but on
> a different platform:
>
> # make test
> ...
> t/hooks/authen_basic....................1/4 # Failed test 4 in t/hooks/authen_basic.t at line 26
> t/hooks/authen_basic.................... Failed 1/4 subtests
> t/hooks/authen_digest...................ok
> t/hooks/authz...........................1/4 # Failed test 4 in t/hooks/authz.t at line 19
> t/hooks/authz........................... Failed 1/4 subtests
> ...
>
> # ./t/TEST -verbose t/hooks/authz.t
>
> [warning] setting ulimit to allow core files
> ulimit -c unlimited; /usr/local/bin/perl /usr/local/src/mod_perl-2.0.4/t/TEST -verbose 't/hooks/authz.t'
> [warning] root mode: changing the files ownership to 'nobody' (99:99)
> [warning] testing whether 'nobody' is able to -rwx /usr/local/src/mod_perl-2.0.4/t
> "/usr/local/bin/perl" -Mlib=/usr/local/src/mod_perl-2.0.4/Apache-Test/lib -MApache::TestRun -e 'eval { Apache::TestRun::run_root_fs_test(99, 99, q[/usr/local/src/mod_perl-2.0.4/t]) }';
>
>
> [warning] result: OK
> [warning] the client side drops 'root' permissions and becomes 'nobody'
> /usr/local/httpd-2.2.10+mod_perl-2.0.4+php-5.2.6/bin/httpd -d /usr/local/src/mod_perl-2.0.4/t -f /usr/local/src/mod_perl-2.0.4/t/conf/httpd.conf -D APACHE2
> using Apache/2.2.10 (prefork MPM)
>
> waiting 120 seconds for server to start: .[Tue Nov 18 15:38:50 2008] [info] 6 Apache2:: modules loaded
> [Tue Nov 18 15:38:50 2008] [info] 0 APR:: modules loaded
> [Tue Nov 18 15:38:50 2008] [info] base server + 29 vhosts ready to run tests
> ...
> waiting 120 seconds for server to start: ok (waited 3 secs)
> server localhost.localdomain:8529 started
> server localhost.localdomain:8530 listening (filter_out_apache)
> server localhost.localdomain:8531 listening (perlsections)
> server localhost.localdomain:8532 listening (inherit)
> server localhost.localdomain:8533 listening (TestModules::proxy)
> server localhost.localdomain:8534 listening (TestUser::rewrite)
> server localhost.localdomain:8535 listening (TestVhost::log)
> server localhost.localdomain:8536 listening (TestVhost::config)
> server localhost.localdomain:8537 listening (TestModperl::perl_options)
> server localhost.localdomain:8538 listening (TestModperl::perl_options2)
> server localhost.localdomain:8539 listening (TestModperl::setupenv)
> server localhost.localdomain:8540 listening (TestModperl::merge)
> server localhost.localdomain:8541 listening (TestProtocol::echo_nonblock)
> server localhost.localdomain:8542 listening (TestProtocol::echo_bbs2)
> server localhost.localdomain:8543 listening (TestProtocol::echo_filter)
> server localhost.localdomain:8544 listening (TestProtocol::echo_block)
> server localhost.localdomain:8545 listening (TestProtocol::echo_timeout)
> server localhost.localdomain:8546 listening (TestProtocol::echo_bbs)
> server localhost.localdomain:8547 listening (TestProtocol::pseudo_http)
> server localhost.localdomain:8548 listening (TestPreConnection::note)
> server localhost.localdomain:8549 listening (TestHooks::startup)
> server localhost.localdomain:8550 listening (TestHooks::trans)
> server localhost.localdomain:8551 listening (TestHooks::hookrun)
> server localhost.localdomain:8552 listening (TestHooks::stacked_handlers2)
> server localhost.localdomain:8553 listening (TestHooks::init)
> server localhost.localdomain:8554 listening (TestFilter::in_bbs_inject_header)
> server localhost.localdomain:8555 listening (TestFilter::both_str_con_add)
> server localhost.localdomain:8556 listening (TestFilter::in_bbs_msg)
> server localhost.localdomain:8557 listening (TestFilter::in_str_msg)
> server localhost.localdomain:8558 listening (TestDirective::perlrequire)
> server localhost.localdomain:8559 listening (TestDirective::perlmodule)
> server localhost.localdomain:8560 listening (TestAPI::add_config)
> server localhost.localdomain:8561 listening (TestDirective::perlloadmodule5)
> server localhost.localdomain:8562 listening (TestDirective::perlloadmodule4)
> server localhost.localdomain:8563 listening (TestDirective::perlloadmodule3)
> server localhost.localdomain:8564 listening (TestDirective::perlloadmodule6)
> server localhost.localdomain:8565 listening (TestHooks::push_handlers_anon)
> t/hooks/authz....
> 1..4
> # Running under perl version 5.010000 for linux
> # Current time local: Tue Nov 18 15:38:54 2008
> # Current time GMT: Tue Nov 18 04:38:54 2008
> # Using Test.pm version 1.25
> # Using Apache/Test.pm version 1.31
> ok 1
> ok 2
> ok 3
> not ok 4
> # Failed test 4 in t/hooks/authz.t at line 19
> Failed 1/4 subtests
>
> Test Summary Report
> -------------------
> t/hooks/authz (Wstat: 0 Tests: 4 Failed: 1)
> Failed test: 4
> Files=1, Tests=4, 1 wallclock secs ( 0.05 usr 0.01 sys + 0.69 cusr 0.08 csys = 0.83 CPU)
> Result: FAIL
> Failed 1/1 test programs. 1/4 subtests failed.
> [warning] server localhost.localdomain:8529 shutdown
> [ error] error running tests (please examine t/logs/error_log)
>
> # /usr/local/bin/perl -V
> Summary of my perl5 (revision 5 version 10 subversion 0) configuration:
> Platform:
> osname=linux, osvers=2.6.18-92.1.18.el5, archname=x86_64-linux
> uname='linux xxx.xxx.xxx.xxx 2.6.18-92.1.18.el5 #1 smp wed nov 5 09:00:19 est 2008 x86_64 x86_64 x86_64 gnulinux '
> config_args='-Dcc=gcc -Dccflags=-O2 -g -pipe -m64 -Accflags=-fPIC -Doptimize=-O2 -g -pipe -m64 -Duseperlio -Dusesfio -Dlocincpth=/usr/local/include -Duse64bitall -Dloclibpth=/usr/local/lib /usr/lib64 /usr/lib'
> hint=recommended, useposix=true, d_sigaction=define
> useithreads=undef, usemultiplicity=undef
> useperlio=define, d_sfio=undef, uselargefiles=define, usesocks=undef
> use64bitint=define, use64bitall=define, uselongdouble=undef
> usemymalloc=n, bincompat5005=undef
> Compiler:
> cc='gcc', ccflags ='-O2 -g -pipe -m64 -fPIC -DDEBUGGING -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm',
> optimize='-O2 -g -pipe -m64',
> cppflags='-O2 -g -pipe -m64 -fPIC -DDEBUGGING -fno-strict-aliasing -I/usr/local/include -I/usr/include/gdbm'
> ccversion='', gccversion='4.1.2 20071124 (Red Hat 4.1.2-42)', 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='gcc', ldflags =' -L/usr/local/lib -L/usr/lib64 -L/usr/lib'
> libpth=/usr/local/lib /usr/lib64 /usr/lib /lib /lib64 /usr/local/lib64
> libs=-lnsl -lgdbm -ldl -lm -lcrypt -lutil -lc
> perllibs=-lnsl -ldl -lm -lcrypt -lutil -lc
> libc=/lib/libc-2.5.so, so=so, useshrplib=false, libperl=libperl.a
> gnulibc_version='2.5'
> Dynamic Linking:
> dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-Wl,-E'
> cccdlflags='-fPIC', lddlflags='-shared -O2 -g -pipe -m64 -L/usr/local/lib -L/usr/lib64 -L/usr/lib'
>
>
> Characteristics of this binary (from libperl):
> Compile-time options: DEBUGGING PERL_DONT_CREATE_GVSV PERL_MALLOC_WRAP
> USE_64_BIT_ALL USE_64_BIT_INT USE_LARGE_FILES
> USE_PERLIO
> Built under linux
> Compiled at Nov 18 2008 13:08:23
> @INC:
> /usr/local/lib/perl5/5.10.0/x86_64-linux
> /usr/local/lib/perl5/5.10.0
> /usr/local/lib/perl5/site_perl/5.10.0/x86_64-linux
> /usr/local/lib/perl5/site_perl/5.10.0
> .
>
>
> Regards,
>
>
>
> Jie