Make test fails, fails to connect

Make test fails, fails to connect

am 13.05.2008 10:33:35 von Jens Petter Salvesen

This is a multi-part message in MIME format.

------_=_NextPart_001_01C8B4D4.08A6975A
Content-Type: text/plain;
charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

Hi all,

=20

I'm having a hard time getting mod_perl2 to make tests automatically as
part of an install script. What happens has happened many times before,
but was not a problem since we knew the workaround.

=20

The problem is that the first time "make test" is made, the system times
out waiting for the apache server. However, a ps reveals that the apache
daemon is running and netstat -l says it is listening. The test script
simply fails to realize the daemon=20

=20

Here's the relevant info. (We are, as you can see, compiling up a
separate environment that we use for running unit testing before we
perform the actual install)

=20

[root@vm-test1 mod_perl-2.0.4]# /usr/local/smmtest/perl/bin/perl
Makefile.PL MP_APXS=3D/usr/local/smmtest/apache/bin/apxs

=20

"Make" runs without any incident. And then we run make test, and this
happens:

=20

/usr/local/smmtest/perl/bin/perl -Iblib/arch -Iblib/lib \

t/TEST -clean

[warning] setting ulimit to allow core files

ulimit -c unlimited; /usr/local/smmtest/perl/bin/perl
/tmp/mod_perl-2.0.4/t/TEST -clean

APACHE_TEST_GROUP=3D APACHE_TEST_HTTPD=3D APACHE_TEST_PORT=3D
APACHE_TEST_USER=3D APACHE_TEST_APXS=3D \

/usr/local/smmtest/perl/bin/perl -Iblib/arch -Iblib/lib \

t/TEST -bugreport -verbose=3D0

[warning] setting ulimit to allow core files

ulimit -c unlimited; /usr/local/smmtest/perl/bin/perl
/tmp/mod_perl-2.0.4/t/TEST -bugreport -verbose=3D0

[warning] root mode: changing the files ownership to 'nobody' (99:99)

[warning] testing whether 'nobody' is able to -rwx /tmp/mod_perl-2.0.4/t

"/usr/local/smmtest/perl/bin/perl"
-Mlib=3D/tmp/mod_perl-2.0.4/Apache-Test/lib -MApache::TestRun -e 'eval {
Apache::TestRun::run_root_fs_test(99, 99, q[/tmp/mod_perl-2.0.4/t]) }';

=20

=20

[warning] result: OK

[warning] the client side drops 'root' permissions and becomes 'nobody'

/usr/local/smmtest/apache/bin/httpd -d /tmp/mod_perl-2.0.4/t -f
/tmp/mod_perl-2.0.4/t/conf/httpd.conf -D APACHE2 -D PERL_USEITHREADS

using Apache/2.0.63 (prefork MPM)

=20

waiting 120 seconds for server to start: .ap_get_server_banner() not
available until httpd/2.2.4 falling back to ap_get_server_version() at
/usr/local/smmtest/perl/lib/5.8.8/x86_64-linux-thread-multi/ DynaLoader.p
m line 253.

ap_get_server_description() not available until httpd/2.2.4 falling back
to ap_get_server_version() at
/usr/local/smmtest/perl/lib/5.8.8/x86_64-linux-thread-multi/ DynaLoader.p
m line 253.

[Tue May 13 10:06:22 2008] [info] 6 Apache2:: modules loaded

[Tue May 13 10:06:22 2008] [info] 0 APR:: modules loaded

[Tue May 13 10:06:22 2008] [info] base server + 28 vhosts ready to run
tests

ap_get_server_banner() not available until httpd/2.2.4 falling back to
ap_get_server_version() at
/usr/local/smmtest/perl/lib/5.8.8/x86_64-linux-thread-multi/ DynaLoader.p
m line 253.

ap_get_server_description() not available until httpd/2.2.4 falling back
to ap_get_server_version() at
/usr/local/smmtest/perl/lib/5.8.8/x86_64-linux-thread-multi/ DynaLoader.p
m line 253.

..

waiting 120 seconds for server to start: ok (waited 0 secs)

server vm-test1:8529 started

server vm-test1:8530 listening (filter_out_apache)

server vm-test1:8531 listening (perlsections)

server vm-test1:8532 listening (inherit)

server vm-test1:8533 listening (TestModperl::setupenv)

server vm-test1:8534 listening (TestModperl::merge)

server vm-test1:8535 listening (TestModperl::perl_options)

server vm-test1:8536 listening (TestModperl::perl_options2)

server vm-test1:8537 listening (TestVhost::log)

server vm-test1:8538 listening (TestVhost::config)

server vm-test1:8539 listening (TestModules::proxy)

server vm-test1:8540 listening (TestUser::rewrite)

server vm-test1:8541 listening (TestProtocol::echo_nonblock)

server vm-test1:8542 listening (TestProtocol::echo_bbs2)

server vm-test1:8543 listening (TestProtocol::echo_timeout)

server vm-test1:8544 listening (TestProtocol::pseudo_http)

server vm-test1:8545 listening (TestProtocol::echo_block)

server vm-test1:8546 listening (TestProtocol::echo_filter)

server vm-test1:8547 listening (TestProtocol::echo_bbs)

server vm-test1:8548 listening (TestPreConnection::note)

server vm-test1:8549 listening (TestHooks::stacked_handlers2)

server vm-test1:8550 listening (TestHooks::hookrun)

server vm-test1:8551 listening (TestHooks::trans)

server vm-test1:8552 listening (TestHooks::init)

server vm-test1:8553 listening (TestHooks::startup)

server vm-test1:8554 listening (TestFilter::in_bbs_msg)

server vm-test1:8555 listening (TestFilter::in_str_msg)

server vm-test1:8556 listening (TestFilter::in_bbs_inject_header)

server vm-test1:8557 listening (TestFilter::both_str_con_add)

server vm-test1:8558 listening (TestDirective::perlrequire)

server vm-test1:8559 listening (TestDirective::perlmodule)

server vm-test1:8560 listening (TestDirective::perlloadmodule3)

server vm-test1:8561 listening (TestDirective::perlloadmodule5)

server vm-test1:8562 listening (TestDirective::perlloadmodule4)

server vm-test1:8563 listening (TestAPI::add_config)

server vm-test1:8564 listening (TestDirective::perlloadmodule6)

server vm-test1:8565 listening (TestHooks::push_handlers_anon)

=20

still waiting for server to warm up: .............

=20

While we wait for the 120-second timeout, I can see this:

=20

[root@vm-test1 ~]# ps ax | grep httpd

23498 ? Ss 0:00 /usr/local/smmtest/apache/bin/httpd -d
/tmp/mod_perl-2.0.4/t -f /tmp/mod_perl-2.0.4/t/conf/httpd.conf -D
APACHE2 -D PERL_USEITHREADS

23502 ? S 0:00 /usr/local/smmtest/apache/bin/httpd -d
/tmp/mod_perl-2.0.4/t -f /tmp/mod_perl-2.0.4/t/conf/httpd.conf -D
APACHE2 -D PERL_USEITHREADS

23503 ? S 0:00 /usr/local/smmtest/apache/bin/httpd -d
/tmp/mod_perl-2.0.4/t -f /tmp/mod_perl-2.0.4/t/conf/httpd.conf -D
APACHE2 -D PERL_USEITHREADS

23535 pts/1 S+ 0:00 grep httpd

=20

And this:

[root@vm-test1 ~]# netstat -ltp

Active Internet connections (only servers)

Proto Recv-Q Send-Q Local Address Foreign Address
State PID/Program name

tcp 0 0 *:8544 *:*
LISTEN 23498/httpd

tcp 0 0 *:8545 *:*
LISTEN 23498/httpd

tcp 0 0 *:8546 *:*
LISTEN 23498/httpd

tcp 0 0 *:8547 *:*
LISTEN 23498/httpd

tcp 0 0 *:8548 *:*
LISTEN 23498/httpd

tcp 0 0 *:8549 *:*
LISTEN 23498/httpd

tcp 0 0 *:8550 *:*
LISTEN 23498/httpd

tcp 0 0 *:8551 *:*
LISTEN 23498/httpd

tcp 0 0 *:8552 *:*
LISTEN 23498/httpd

tcp 0 0 *:8553 *:*
LISTEN 23498/httpd

tcp 0 0 *:rtsp-alt *:*
LISTEN 23498/httpd

tcp 0 0 *:d-fence *:*
LISTEN 23498/httpd

tcp 0 0 *:8556 *:*
LISTEN 23498/httpd

tcp 0 0 *:8557 *:*
LISTEN 23498/httpd

tcp 0 0 *:8558 *:*
LISTEN 23498/httpd

tcp 0 0 *:8559 *:*
LISTEN 23498/httpd

tcp 0 0 *:8560 *:*
LISTEN 23498/httpd

tcp 0 0 *:8529 *:*
LISTEN 23498/httpd

tcp 0 0 *:8561 *:*
LISTEN 23498/httpd

tcp 0 0 *:8530 *:*
LISTEN 23498/httpd

tcp 0 0 *:8562 *:*
LISTEN 23498/httpd

tcp 0 0 *:8563 *:*
LISTEN 23498/httpd

tcp 0 0 *:8531 *:*
LISTEN 23498/httpd

tcp 0 0 *:8564 *:*
LISTEN 23498/httpd

tcp 0 0 *:8532 *:*
LISTEN 23498/httpd

tcp 0 0 *:8533 *:*
LISTEN 23498/httpd

tcp 0 0 *:8565 *:*
LISTEN 23498/httpd

tcp 0 0 *:8534 *:*
LISTEN 23498/httpd

tcp 0 0 *:8535 *:*
LISTEN 23498/httpd

tcp 0 0 *:8536 *:*
LISTEN 23498/httpd

tcp 0 0 *:8537 *:*
LISTEN 23498/httpd

tcp 0 0 *:8538 *:*
LISTEN 23498/httpd

tcp 0 0 *:8539 *:*
LISTEN 23498/httpd

tcp 0 0 *:8540 *:*
LISTEN 23498/httpd

tcp 0 0 *:8541 *:*
LISTEN 23498/httpd

tcp 0 0 *:8542 *:*
LISTEN 23498/httpd

tcp 0 0 *:8543 *:*
LISTEN 23498/httpd

tcp 0 0 *:ssh *:*
LISTEN 1248/sshd

=20

So, the apache servers that are being used for running the test actually
start, but the test suite fails to connect to them. The processes are
still there after the timeout: "the server is down, giving up after 121
secs". If I run "make test" a second time, then the test suite is run
and all tests are completed successfully.

=20

The log files contain no relevant information.

=20

The system in this case is RHEL 5 64bit, but we experience the same
hiccup on RHEL 4 32bit as well.

=20

Anybody have a clue about why this is happening?

=20

Best regards,

Jens-Petter Salvesen

Senior developer


------_=_NextPart_001_01C8B4D4.08A6975A
Content-Type: text/html;
charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns=3D"http://www.w3.org/TR/REC-html40">


charset=3Dus-ascii">









style=3D'font-size:
10.0pt;font-family:Arial'>Hi all,



style=3D'font-size:
10.0pt;font-family:Arial'> 



style=3D'font-size:
10.0pt;font-family:Arial'>I’m having a hard time getting mod_perl2 =
to
make tests automatically as part of an install script. What happens has
happened many times before, but was not a problem since we knew the =
workaround.



style=3D'font-size:
10.0pt;font-family:Arial'> 



style=3D'font-size:
10.0pt;font-family:Arial'>The problem is that the first time “make =
test”
is made, the system times out waiting for the apache server. However, a =
ps
reveals that the apache daemon is running and netstat –l says it =
is
listening. The test script simply fails to realize the daemon =



style=3D'font-size:
10.0pt;font-family:Arial'> 



style=3D'font-size:
10.0pt;font-family:Arial'>Here’s the relevant info. (We are, as =
you can
see, compiling up a separate environment that we use for running unit =
testing
before we perform the actual install)



style=3D'font-size:
10.0pt;font-family:Arial'> 



style=3D'font-size:
10.0pt;font-family:Arial'>[root@vm-test1 mod_perl-2.0.4]#
/usr/local/smmtest/perl/bin/perl Makefile.PL
MP_APXS=3D/usr/local/smmtest/apache/bin/apxs

=


style=3D'font-size:
10.0pt;font-family:Arial'> 



style=3D'font-size:
10.0pt;font-family:Arial'>“Make” runs without any incident. =
And
then we run make test, and this happens:



style=3D'font-size:
10.0pt;font-family:Arial'> 



style=3D'font-size:
10.0pt;font-family:Arial'>/usr/local/smmtest/perl/bin/perl -Iblib/arch
-Iblib/lib \



style=3D'font-size:
10.0pt;font-family:Arial'>        =
t/TEST
-clean



style=3D'font-size:
10.0pt;font-family:Arial'>[warning] setting ulimit to allow core =
files



style=3D'font-size:
10.0pt;font-family:Arial'>ulimit -c unlimited; =
/usr/local/smmtest/perl/bin/perl
/tmp/mod_perl-2.0.4/t/TEST -clean



style=3D'font-size:
10.0pt;font-family:Arial'>APACHE_TEST_GROUP=3D APACHE_TEST_HTTPD=3D
APACHE_TEST_PORT=3D APACHE_TEST_USER=3D APACHE_TEST_APXS=3D =
\



style=3D'font-size:
10.0pt;font-family:Arial'>       
/usr/local/smmtest/perl/bin/perl -Iblib/arch -Iblib/lib =
\



style=3D'font-size:
10.0pt;font-family:Arial'>        =
t/TEST
-bugreport -verbose=3D0



style=3D'font-size:
10.0pt;font-family:Arial'>[warning] setting ulimit to allow core =
files



style=3D'font-size:
10.0pt;font-family:Arial'>ulimit -c unlimited; =
/usr/local/smmtest/perl/bin/perl
/tmp/mod_perl-2.0.4/t/TEST -bugreport =
-verbose=3D0



style=3D'font-size:
10.0pt;font-family:Arial'>[warning] root mode: changing the files =
ownership to
'nobody' (99:99)



style=3D'font-size:
10.0pt;font-family:Arial'>[warning] testing whether 'nobody' is able to =
-rwx
/tmp/mod_perl-2.0.4/t



style=3D'font-size:
10.0pt;font-family:Arial'>"/usr/local/smmtest/perl/bin/perl "
-Mlib=3D/tmp/mod_perl-2.0.4/Apache-Test/lib -MApache::TestRun -e 'eval {
Apache::TestRun::run_root_fs_test(99, 99, q[/tmp/mod_perl-2.0.4/t]) =
}';



style=3D'font-size:
10.0pt;font-family:Arial'> 



style=3D'font-size:
10.0pt;font-family:Arial'> 



style=3D'font-size:
10.0pt;font-family:Arial'>[warning] result: =
OK



style=3D'font-size:
10.0pt;font-family:Arial'>[warning] the client side drops 'root' =
permissions
and becomes 'nobody'



style=3D'font-size:
10.0pt;font-family:Arial'>/usr/local/smmtest/apache/bin/http d   -d
/tmp/mod_perl-2.0.4/t -f /tmp/mod_perl-2.0.4/t/conf/httpd.conf -D =
APACHE2 -D
PERL_USEITHREADS



style=3D'font-size:
10.0pt;font-family:Arial'>using Apache/2.0.63 (prefork =
MPM)



style=3D'font-size:
10.0pt;font-family:Arial'> 



style=3D'font-size:
10.0pt;font-family:Arial'>waiting 120 seconds for server to start:
..ap_get_server_banner() not available until httpd/2.2.4 falling back to
ap_get_server_version() at
/usr/local/smmtest/perl/lib/5.8.8/x86_64-linux-thread-multi/ DynaLoader.pm=
line
253.



style=3D'font-size:
10.0pt;font-family:Arial'>ap_get_server_description() not available =
until
httpd/2.2.4 falling back to ap_get_server_version() at =
/usr/local/smmtest/perl/lib/5.8.8/x86_64-linux-thread-multi/ DynaLoader.pm=

line 253.



style=3D'font-size:
10.0pt;font-family:Arial'>[Tue May 13 10:06:22 2008] [info] 6 Apache2:: =
modules
loaded



style=3D'font-size:
10.0pt;font-family:Arial'>[Tue May 13 10:06:22 2008] [info] 0 APR:: =
modules
loaded



style=3D'font-size:
10.0pt;font-family:Arial'>[Tue May 13 10:06:22 2008] [info] base server =
+ 28
vhosts ready to run tests



style=3D'font-size:
10.0pt;font-family:Arial'>ap_get_server_banner() not available until
httpd/2.2.4 falling back to ap_get_server_version() at
/usr/local/smmtest/perl/lib/5.8.8/x86_64-linux-thread-multi/ DynaLoader.pm=
line
253.



style=3D'font-size:
10.0pt;font-family:Arial'>ap_get_server_description() not available =
until
httpd/2.2.4 falling back to ap_get_server_version() at
/usr/local/smmtest/perl/lib/5.8.8/x86_64-linux-thread-multi/ DynaLoader.pm=
line
253.



style=3D'font-size:
10.0pt;font-family:Arial'>.



style=3D'font-size:
10.0pt;font-family:Arial'>waiting 120 seconds for server to start: ok =
(waited 0
secs)



style=3D'font-size:
10.0pt;font-family:Arial'>server vm-test1:8529 =
started



style=3D'font-size:
10.0pt;font-family:Arial'>server vm-test1:8530 listening =
(filter_out_apache)



style=3D'font-size:
10.0pt;font-family:Arial'>server vm-test1:8531 listening =
(perlsections)



style=3D'font-size:
10.0pt;font-family:Arial'>server vm-test1:8532 listening =
(inherit)



style=3D'font-size:
10.0pt;font-family:Arial'>server vm-test1:8533 listening
(TestModperl::setupenv)



style=3D'font-size:
10.0pt;font-family:Arial'>server vm-test1:8534 listening =
(TestModperl::merge)



style=3D'font-size:
10.0pt;font-family:Arial'>server vm-test1:8535 listening
(TestModperl::perl_options)



style=3D'font-size:
10.0pt;font-family:Arial'>server vm-test1:8536 listening
(TestModperl::perl_options2)



style=3D'font-size:
10.0pt;font-family:Arial'>server vm-test1:8537 listening =
(TestVhost::log)



style=3D'font-size:
10.0pt;font-family:Arial'>server vm-test1:8538 listening =
(TestVhost::config)



style=3D'font-size:
10.0pt;font-family:Arial'>server vm-test1:8539 listening =
(TestModules::proxy)



style=3D'font-size:
10.0pt;font-family:Arial'>server vm-test1:8540 listening =
(TestUser::rewrite)



style=3D'font-size:
10.0pt;font-family:Arial'>server vm-test1:8541 listening
(TestProtocol::echo_nonblock)



style=3D'font-size:
10.0pt;font-family:Arial'>server vm-test1:8542 listening
(TestProtocol::echo_bbs2)



style=3D'font-size:
10.0pt;font-family:Arial'>server vm-test1:8543 listening
(TestProtocol::echo_timeout)



style=3D'font-size:
10.0pt;font-family:Arial'>server vm-test1:8544 listening
(TestProtocol::pseudo_http)



style=3D'font-size:
10.0pt;font-family:Arial'>server vm-test1:8545 listening
(TestProtocol::echo_block)



style=3D'font-size:
10.0pt;font-family:Arial'>server vm-test1:8546 listening
(TestProtocol::echo_filter)



style=3D'font-size:
10.0pt;font-family:Arial'>server vm-test1:8547 listening
(TestProtocol::echo_bbs)



style=3D'font-size:
10.0pt;font-family:Arial'>server vm-test1:8548 listening
(TestPreConnection::note)



style=3D'font-size:
10.0pt;font-family:Arial'>server vm-test1:8549 listening =
(TestHooks::stacked_handlers2)



style=3D'font-size:
10.0pt;font-family:Arial'>server vm-test1:8550 listening =
(TestHooks::hookrun)



style=3D'font-size:
10.0pt;font-family:Arial'>server vm-test1:8551 listening =
(TestHooks::trans)



style=3D'font-size:
10.0pt;font-family:Arial'>server vm-test1:8552 listening =
(TestHooks::init)



style=3D'font-size:
10.0pt;font-family:Arial'>server vm-test1:8553 listening =
(TestHooks::startup)



style=3D'font-size:
10.0pt;font-family:Arial'>server vm-test1:8554 listening
(TestFilter::in_bbs_msg)



style=3D'font-size:
10.0pt;font-family:Arial'>server vm-test1:8555 listening
(TestFilter::in_str_msg)



style=3D'font-size:
10.0pt;font-family:Arial'>server vm-test1:8556 listening
(TestFilter::in_bbs_inject_header)



style=3D'font-size:
10.0pt;font-family:Arial'>server vm-test1:8557 listening
(TestFilter::both_str_con_add)



style=3D'font-size:
10.0pt;font-family:Arial'>server vm-test1:8558 listening =
(TestDirective::perlrequire)



style=3D'font-size:
10.0pt;font-family:Arial'>server vm-test1:8559 listening
(TestDirective::perlmodule)



style=3D'font-size:
10.0pt;font-family:Arial'>server vm-test1:8560 listening
(TestDirective::perlloadmodule3)



style=3D'font-size:
10.0pt;font-family:Arial'>server vm-test1:8561 listening
(TestDirective::perlloadmodule5)



style=3D'font-size:
10.0pt;font-family:Arial'>server vm-test1:8562 listening
(TestDirective::perlloadmodule4)



style=3D'font-size:
10.0pt;font-family:Arial'>server vm-test1:8563 listening =
(TestAPI::add_config)



style=3D'font-size:
10.0pt;font-family:Arial'>server vm-test1:8564 listening
(TestDirective::perlloadmodule6)



style=3D'font-size:
10.0pt;font-family:Arial'>server vm-test1:8565 listening
(TestHooks::push_handlers_anon)



style=3D'font-size:
10.0pt;font-family:Arial'> 



style=3D'font-size:
10.0pt;font-family:Arial'>still waiting for server to warm up: =
..............



style=3D'font-size:
10.0pt;font-family:Arial'> 



style=3D'font-size:
10.0pt;font-family:Arial'>While we wait for the 120-second timeout, I =
can see
this:



style=3D'font-size:
10.0pt;font-family:Arial'> 



style=3D'font-size:
10.0pt;font-family:Arial'>[root@vm-test1 ~]# ps ax | grep =
httpd



style=3D'font-size:
10.0pt;font-family:Arial'>23498 =
?       
Ss     0:00 /usr/local/smmtest/apache/bin/httpd -d
/tmp/mod_perl-2.0.4/t -f /tmp/mod_perl-2.0.4/t/conf/httpd.conf -D =
APACHE2 -D
PERL_USEITHREADS



style=3D'font-size:
10.0pt;font-family:Arial'>23502 =
?       
S      0:00 /usr/local/smmtest/apache/bin/httpd =
-d
/tmp/mod_perl-2.0.4/t -f /tmp/mod_perl-2.0.4/t/conf/httpd.conf -D =
APACHE2 -D
PERL_USEITHREADS



style=3D'font-size:
10.0pt;font-family:Arial'>23503 =
?       
S      0:00 /usr/local/smmtest/apache/bin/httpd =
-d
/tmp/mod_perl-2.0.4/t -f /tmp/mod_perl-2.0.4/t/conf/httpd.conf -D =
APACHE2 -D
PERL_USEITHREADS



style=3D'font-size:
10.0pt;font-family:Arial'>23535 pts/1   
S+     0:00 grep httpd



style=3D'font-size:
10.0pt;font-family:Arial'> 



style=3D'font-size:
10.0pt;font-family:Arial'>And this:



style=3D'font-size:
10.0pt;font-family:Arial'>[root@vm-test1 ~]# netstat =
-ltp



style=3D'font-size:
10.0pt;font-family:Arial'>Active Internet connections (only =
servers)



style=3D'font-size:
10.0pt;font-family:Arial'>Proto Recv-Q Send-Q Local
Address           =
   
Foreign
Address           =
 
State       PID/Program =
name



style=3D'font-size:
10.0pt;font-family:Arial'>tcp       
0      0
*:8544           &=
nbsp;         
*:*           &nbs=
p;            =
;
LISTEN      =
23498/httpd



style=3D'font-size:
10.0pt;font-family:Arial'>tcp       
0      0
*:8545           &=
nbsp;         
*:*           &nbs=
p;            =
;
LISTEN      =
23498/httpd



style=3D'font-size:
10.0pt;font-family:Arial'>tcp       
0      0
*:8546           &=
nbsp;         
*:*           &nbs=
p;            =
;
LISTEN      =
23498/httpd



style=3D'font-size:
10.0pt;font-family:Arial'>tcp    =
    0     
0
*:8547           &=
nbsp;         
*:*           &nbs=
p;            =
;
LISTEN      =
23498/httpd



style=3D'font-size:
10.0pt;font-family:Arial'>tcp       
0      0
*:8548           &=
nbsp;         
*:*           &nbs=
p;            =
;
LISTEN      =
23498/httpd



style=3D'font-size:
10.0pt;font-family:Arial'>tcp       
0      0
*:8549           &=
nbsp;         
*:*            =
            &=
nbsp;LISTEN     
23498/httpd



style=3D'font-size:10.0pt;
font-family:Arial'>tcp       
0      0
*:8550           &=
nbsp;         
*:*           &nbs=
p;            =
;
LISTEN      =
23498/httpd



style=3D'font-size:10.0pt;
font-family:Arial'>tcp       
0      0
*:8551           &=
nbsp;         
*:*           &nbs=
p;            =
;
LISTEN      =
23498/httpd



style=3D'font-size:10.0pt;
font-family:Arial'>tcp       
0      0
*:8552           &=
nbsp;         
*:*           &nbs=
p;            =
;
LISTEN      =
23498/httpd



style=3D'font-size:10.0pt;
font-family:Arial'>tcp       
0      0
*:8553           &=
nbsp;         
*:*           &nbs=
p;            =
;
LISTEN      =
23498/httpd



style=3D'font-size:10.0pt;
font-family:Arial'>tcp       
0      0
*:rtsp-alt          &nb=
sp;      
*:*     =
            &=
nbsp;       LISTEN   &n=
bsp; 
23498/httpd



style=3D'font-size:10.0pt;
font-family:Arial'>tcp       
0      0
*:d-fence          &nbs=
p;       
*:*           &nbs=
p;            =
;
LISTEN      =
23498/httpd



style=3D'font-size:10.0pt;
font-family:Arial'>tcp       
0      0
*:8556           &=
nbsp;         
*:*           &nbs=
p;            =
;
LISTEN      =
23498/httpd



style=3D'font-size:10.0pt;
font-family:Arial'>tcp        =
0     
0
*:8557           &=
nbsp;         
*:*           &nbs=
p;            =
;
LISTEN      =
23498/httpd



style=3D'font-size:10.0pt;
font-family:Arial'>tcp       
0      0
*:8558           &=
nbsp;         
*:*           &nbs=
p;            =
;
LISTEN      =
23498/httpd



style=3D'font-size:10.0pt;
font-family:Arial'>tcp       
0      0
*:8559           &=
nbsp;         
*:*           &nbs=
p;    
        LISTEN   &=
nbsp; 
23498/httpd



style=3D'font-size:10.0pt;
font-family:Arial'>tcp       
0      0
*:8560           &=
nbsp;         
*:*           &nbs=
p;            =
;
LISTEN      =
23498/httpd



style=3D'font-size:10.0pt;
font-family:Arial'>tcp       
0      0
*:8529           &=
nbsp;         
*:*           &nbs=
p;            =
;
LISTEN      =
23498/httpd



style=3D'font-size:10.0pt;
font-family:Arial'>tcp       
0      0 =
*:8561           &=
nbsp;         
*:*           &nbs=
p;            =
;
LISTEN      =
23498/httpd



style=3D'font-size:10.0pt;
font-family:Arial'>tcp       
0      0
*:8530           &=
nbsp;         
*:*           &nbs=
p;            =
;
LISTEN      =
23498/httpd



style=3D'font-size:10.0pt;
font-family:Arial'>tcp       
0      0
*:8562           &=
nbsp;         
*:*           &nbs=
p;            =
;
LISTEN      =
23498/httpd



style=3D'font-size:10.0pt;
font-family:Arial'>tcp       
0      0
*:8563           &=
nbsp;         
*:*           &nbs=
p;            =
;
LISTEN      =
23498/httpd



style=3D'font-size:10.0pt;
font-family:Arial'>tcp       
0      0
*:8531           &=
nbsp;         
*:*           &nbs=
p;            =
;
LISTEN      =
23498/httpd



style=3D'font-size:10.0pt;
font-family:Arial'>tcp       
0      0
*:8564          =
            *=
:*            =
;            =

LISTEN      =
23498/httpd



style=3D'font-size:10.0pt;
font-family:Arial'>tcp       
0      0
*:8532           &=
nbsp;         
*:*           &nbs=
p;            =
;
LISTEN      =
23498/httpd



style=3D'font-size:10.0pt;
font-family:Arial'>tcp       
0      0
*:8533           &=
nbsp;         
*:*           &nbs=
p;            =
;
LISTEN      =
23498/httpd



style=3D'font-size:10.0pt;
font-family:Arial'>tcp       
0      0
*:8565           &=
nbsp;         
*:*           &nbs=
p;            =
;
LISTEN      =
23498/httpd



style=3D'font-size:10.0pt;
font-family:Arial'>tcp       
0      0
*:8534           &=
nbsp;         
*:*           &nbs=
p;            =
;
LISTEN      =
23498/httpd



style=3D'font-size:10.0pt;
font-family:Arial'>tcp       
0      0
*:8535           &=
nbsp;         
*:*           &nbs=
p;            =
;
LISTEN      =
23498/httpd



style=3D'font-size:10.0pt;
font-family:Arial'>tcp       
0      0
*:8536           &=
nbsp;         
*:*           &nbs=
p;            =
;
LISTEN      =
23498/httpd



style=3D'font-size:10.0pt;
font-family:Arial'>tcp       
0      0
*:8537           &=
nbsp;         
*:*           &nbs=
p;            =
;
LISTEN      =
23498/httpd



style=3D'font-size:10.0pt;
font-family:Arial'>tcp =
       0     =

0
*:8538           &=
nbsp;         
*:*           &nbs=
p;            =
;
LISTEN      =
23498/httpd



style=3D'font-size:
10.0pt;font-family:Arial'>tcp       
0      0
*:8539           &=
nbsp;         
*:*           &nbs=
p;            =
;
LISTEN      =
23498/httpd



style=3D'font-size:
10.0pt;font-family:Arial'>tcp       
0      0
*:8540           &=
nbsp;         
*:*         =
            &=
nbsp;   LISTEN     
23498/httpd



style=3D'font-size:
10.0pt;font-family:Arial'>tcp       
0      0
*:8541           &=
nbsp;         
*:*           &nbs=
p;            =
;
LISTEN      =
23498/httpd



style=3D'font-size:
10.0pt;font-family:Arial'>tcp       
0      0
*:8542           &=
nbsp;         
*:*           &nbs=
p;            =
;
LISTEN      =
23498/httpd



style=3D'font-size:
10.0pt;font-family:Arial'>tcp       
0      0
*:8543           &=
nbsp;         
*:*           &nbs=
p;            =
;
LISTEN      =
23498/httpd



style=3D'font-size:
10.0pt;font-family:Arial'>tcp       
0      0
*:ssh           &n=
bsp;          
*:*           &nbs=
p;            =
;
LISTEN      =
1248/sshd



style=3D'font-size:
10.0pt;font-family:Arial'> 



style=3D'font-size:
10.0pt;font-family:Arial'>So, the apache servers that are being used for =
running
the test actually start, but the test suite fails to connect to them. =
The
processes are still there after the timeout: “the server is down, =
giving
up after 121 secs”. If I run “make test” a second =
time, then
the test suite is run and all tests are completed =
successfully.



style=3D'font-size:
10.0pt;font-family:Arial'> 



style=3D'font-size:
10.0pt;font-family:Arial'>The log files contain no relevant =
information.



style=3D'font-size:
10.0pt;font-family:Arial'> 



style=3D'font-size:
10.0pt;font-family:Arial'>The system in this case is RHEL 5 64bit, but =
we
experience the same hiccup on RHEL 4 32bit as =
well.



style=3D'font-size:
10.0pt;font-family:Arial'> 



style=3D'font-size:
10.0pt;font-family:Arial'>Anybody have a clue about why this is =
happening?



style=3D'font-size:
10.0pt;font-family:Arial'> 



style=3D'font-size:
10.0pt;font-family:Arial'>Best regards,



style=3D'font-size:
10.0pt;font-family:Arial'>Jens-Petter =
Salvesen



style=3D'font-size:
10.0pt;font-family:Arial'>Senior developer









------_=_NextPart_001_01C8B4D4.08A6975A--

Re: Make test fails, fails to connect

am 13.05.2008 19:20:14 von Fred Moyer

Jens Petter Salvesen wrote:
> The system in this case is RHEL 5 64bit, but we experience the same
> hiccup on RHEL 4 32bit as well.
>
> Anybody have a clue about why this is happening?

I've seen this happen when the tests tried to load an httpd module that
wasn't in the build, but this could be happening for a different
reasons, so maybe I have a small clue :)

Can you post the output of 'httpd -l', and any LoadModule directives
that you are using? I'm in the process of setting up a virtual build
farm so I could try this with Centos 4 (don't have RHEL, but they are
pretty much the same).

RE: Make test fails, fails to connect

am 14.05.2008 09:42:00 von Jens Petter Salvesen

Hi, Fred

>Jens Petter Salvesen wrote:
>> The system in this case is RHEL 5 64bit, but we experience the same=20
>> hiccup on RHEL 4 32bit as well.
>>=20
>> Anybody have a clue about why this is happening?
>
>I've seen this happen when the tests tried to load an httpd module that

>wasn't in the build, but this could be happening for a different=20
>reasons, so maybe I have a small clue :)
>
>Can you post the output of 'httpd -l', and any LoadModule directives=20
>that you are using? I'm in the process of setting up a virtual build=20
>farm so I could try this with Centos 4 (don't have RHEL, but they are=20
>pretty much the same).

Compiled in modules:
core.c
mod_access.c
mod_auth.c
mod_include.c
mod_log_config.c
mod_env.c
mod_setenvif.c
prefork.c
http_core.c
mod_mime.c
mod_status.c
mod_autoindex.c
mod_asis.c
mod_cgi.c
mod_negotiation.c
mod_dir.c
mod_imap.c
mod_actions.c
mod_userdir.c
mod_alias.c
mod_so.c

I'm compiling httpd 2.0.63, and I'm using configuring apache with
options

--enable-so --prefix=3D/usr/local/smmtest/apache --with-expat=3Dbuiltin
--enable-lib64

, so the rest is just standard out-of-the-box apache defaults.

Oh, and I've completely removed apache and mod_perl from the system:

[root@vm-test1 ~]# rpm -qa | grep -i httpd
[root@vm-test1 ~]# rpm -qa | grep -i mod_perl

Best regards,
Jens-Petter