Dear Stas and all,

Stas Bekman <[EMAIL PROTECTED]> wrote at Sat, 6 Mar 2004 12:12:09 -0800

>Edouard Lagache wrote:
>
>> open("/dev/random", O_RDONLY)           = 3
>> read(3, <unfinished ...>
>
>that explains it. Your don't have enough entropy and /dev/random blocks.
>It's interesting to know what happens if you just key random keys for a few 
>secs after it hangs
>
>This should make the problem to go away:
>
>% PERL_HASH_SEED=0 make test

THANK YOU STAS! :-)

Of course actually 'make test PERL_HASH_SEED=0' but yes!  FYI, typing
random keys didn't work, but the PERL_HASH_SEED immediately solved the
problem.

Alas, I still have a test failing, but it fails in a similar way so
perhaps it is a similar problem?

The test "t/modperl/cookie" just hangs.  The result of a verbose test run
is below.  I waited 5 minutes before killing the test with <CTRL>C.  Any
ideas why the test would simply stall out?

Thanks again!!

Peace, Edouard

-----------------------------------------------------------------------

canebas.org [892]% make test PERL_HASH_SEED=0 TEST_VERBOSE=1
TEST_FILES="t/modperl/cookie"
cd "src/modules/perl" && make -f Makefile.modperl
make[1]: Entering directory `/usr/local/src/mod_perl_CVS/mod_perl-
1.99_13-dev/src/modules/perl'
make[1]: Nothing to be done for `all'.
                 .
                 .
                 .
t/TEST -clean
APACHE_TEST_GROUP= APACHE_TEST_HTTPD= APACHE_TEST_PORT= APACHE_TEST_USER=
APACHE_TEST_APXS= \
/usr/bin/perl -Iblib/arch/Apache2 -Iblib/lib/Apache2 \
t/TEST -bugreport -verbose=1 t/modperl/cookie
/usr/local/apache2/bin/httpd -d /usr/local/src/mod_perl_CVS/mod_perl-
1.99_13-dev/t -f /usr/local/src/mod_perl_CVS/mod_perl-1.99_13-dev/t/conf/
httpd.conf -D APACHE2 -D PERL_USEITHREADS
using Apache/2.0.48 (prefork MPM)

waiting 300 seconds for server to start: ..[Sat Mar 06 14:34:47 2004]
[info] 27 Apache:: modules loaded
[Sat Mar 06 14:34:47 2004] [info] 5 APR:: modules loaded
[Sat Mar 06 14:34:47 2004] [info] base server + 16 vhosts ready to run tests
...
waiting 300 seconds for server to start: ok (waited 4 secs)
server localhost:8529 started
server localhost:8530 listening (TestModperl::merge)
server localhost:8531 listening (TestModperl::perl_options)
server localhost:8532 listening (TestModperl::setupenv)
server localhost:8533 listening (TestVhost::config)
server localhost:8534 listening (TestProtocol::echo_filter)
server localhost:8535 listening (TestProtocol::echo)
server localhost:8536 listening (TestPreConnection::note)
server localhost:8537 listening (TestHooks::stacked_handlers2)
server localhost:8538 listening (TestHooks::startup)
server localhost:8539 listening (TestFilter::in_bbs_inject_header)
server localhost:8540 listening (TestFilter::in_str_msg)
server localhost:8541 listening (TestFilter::both_str_con_add)
server localhost:8542 listening (TestFilter::in_bbs_msg)
server localhost:8543 listening (TestDirective::perlmodule)
server localhost:8544 listening (TestDirective::perlrequire)
server localhost:8545 listening (TestPerl::ithreads)
server localhost:8546 listening (TestDirective::perlloadmodule4)
server localhost:8547 listening (TestDirective::perlloadmodule5)
server localhost:8548 listening (TestDirective::perlloadmodule3)
server localhost:8549 listening (TestDirective::perlloadmodule6)
t/modperl/cookie....1..3
# Running under perl version 5.008003 for linux
# Current time local: Sat Mar  6 14:34:51 2004
# Current time GMT:   Sat Mar  6 22:34:51 2004
# Using Test.pm version 1.24
# getting the same interp ID for /TestModperl__cookie

----> <CTRL>C here after 5 minutes <----

[warning] 
halting tests
[warning] server localhost:8529 shutdown
+--------------------------------------------------------+
| Please file a bug report: http://perl.apache.org/bugs/ |
+--------------------------------------------------------+
make: *** [run_tests] Error 1
-----------------------------------------------------------------------



-- 
Report problems: http://perl.apache.org/bugs/
Mail list info: http://perl.apache.org/maillist/modperl.html
List etiquette: http://perl.apache.org/maillist/email-etiquette.html

Reply via email to