quetz-mod_python-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Graham Dumpleton <grah...@dscpl.com.au>
Subject Apache 2.2 failure on Mac OS X 10.4.5.
Date Mon, 06 Mar 2006 10:02:47 GMT
I hinted a while back that Apache 2.2 changes had failed tests on Mac  
OS X.
I have gone back run the tests again and am posting the output here.  
I'll now
start investigating the problem. I have commented out all but the  
test that fails.


The output from test.py is:

Checking Apache version....
2.2

   * Testing _global_lock
   Creating config....
     listen port: 49571
   Starting Apache....
      /usr/local/apache-2.2/bin/httpd  -k start -f /Users/grahamd/ 
Workspaces/mod_python-trunk-dev-1/test/conf/test.conf
      Mon Mar  6 20:57:33 2006
      /usr/local/apache-2.2/bin/ab -c 5 -n 5 http://127.0.0.1:49571/ 
tests.py > /dev/null
      Mon Mar  6 20:57:36 2006
F  Stopping Apache...
      /usr/local/apache-2.2/bin/httpd -k stop -f /Users/grahamd/ 
Workspaces/mod_python-trunk-dev-1/test/conf/test.conf

======================================================================
FAIL: test_global_lock (__main__.PerInstanceTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
   File "test.py", line 2247, in test_global_lock
     self.fail("global_lock is broken (too quick)")
   File "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/ 
python2.3/unittest.py", line 270, in fail
     raise self.failureException, msg
AssertionError: global_lock is broken (too quick)

----------------------------------------------------------------------
Ran 1 test in 8.658s

FAILED (failures=1)


The contents of the logs/error_log file are:

[Mon Mar 06 20:57:31 2006] [notice] mod_python: Creating 6 session  
mutexes based on 2 max processes and 3 max threads.
[Mon Mar 06 20:57:31 2006] [notice] Apache/2.2.0 (Unix) mod_python/ 
3.3.0-dev-20060305 Python/2.3.5 configured -- resuming normal operations
[Mon Mar 06 20:57:31 2006] [info] Server built: Feb 15 2006 21:39:56
[Mon Mar 06 20:57:31 2006] [debug] worker.c(1715): AcceptMutex:  
sysvsem (default: sysvsem)
[Mon Mar 06 20:57:32 2006] [notice] mod_python: (Re)importing module  
'tests'
[Mon Mar 06 20:57:33 2006] [notice] mod_python: (Re)importing module  
'tests'
[Mon Mar 06 20:57:34 2006] [debug] worker.c(1329): taking over  
scoreboard slot from 2500 (quiescing)
[Mon Mar 06 20:57:34 2006] [notice] mod_python: (Re)importing module  
'tests'
[Mon Mar 06 20:57:37 2006] [info] [client 127.0.0.1] (9)Bad file  
descriptor: core_output_filter: writing data to the network
[Mon Mar 06 20:57:38 2006] [info] [client 127.0.0.1] (9)Bad file  
descriptor: core_output_filter: writing data to the network
[Mon Mar 06 20:57:39 2006] [info] removed PID file /Users/grahamd/ 
Workspaces/mod_python-trunk-dev-1/test/logs/httpd.pid (pid=2497)
[Mon Mar 06 20:57:39 2006] [notice] caught SIGTERM, shutting down

Graham



Mime
View raw message