You are viewing a plain text version of this content. The canonical link for it is here.
Posted to mod_python-dev@quetz.apache.org by Graham Dumpleton <gr...@dscpl.com.au> on 2005/11/05 21:50:12 UTC

Re: Linux FC 2 Test Failures (3.2.4b)

On 06/11/2005, at 2:42 AM, Jim Gallacher wrote:
>> The changes work fine on:
>>   Mac OS X (10.3.9) / Apache 2.0.51 (worker) / Python 2.3 (Apple OS 
>> Installed)
>>   Linux Fedora Code 2 / Apache 2.0.55 (prefork) / Python 2.3.5
>> Test example was gilstate.tar.gz attached to MODPYTHON-77.
>> Also passed on mod_python/test suite on Mac OS X. There were failures 
>> of test suite on Linux, but those failures occurred before patches 
>> were applied as well.
>
> Failures? What failures?

Haven't had a chance to investigate yet and ensure they aren't caused 
by me
using versions of both Python and Apache not in standard locations. Most
tests work though. The tests that fail are:

======================================================================
FAIL: test_connectionhandler (__main__.PerRequestTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
   File "test.py", line 962, in test_connectionhandler
     self.fail(`rsp`)
   File "/home/grahamd/testing/lib/python2.3/unittest.py", line 270, in 
fail
     raise self.failureException, msg
AssertionError: '/home/grahamd/src/mod_python-3.2.4b/test/htdocs'

----------------------------------------------------------------------
Ran 38 tests in 10.173s

FAILED (failures=1)
F  Stopping Apache...
      /home/grahamd/testing/bin/httpd -k stop -f 
/home/grahamd/src/mod_python-3.2.4b/test/conf/test.conf

======================================================================
FAIL: testPerRequestTests (__main__.PerInstanceTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
   File "test.py", line 1488, in testPerRequestTests
     self.failUnless(result.wasSuccessful())
   File "/home/grahamd/testing/lib/python2.3/unittest.py", line 278, in 
failUnless
     if not expr: raise self.failureException, msg
AssertionError

----------------------------------------------------------------------
Ran 4 tests in 26.620s

FAILED (failures=1)


Re: Linux FC 2 Test Failures (3.2.4b)

Posted by Graham Dumpleton <gr...@dscpl.com.au>.
On 06/11/2005, at 11:55 AM, Gregory (Grisha) Trubetskoy wrote:

>
> On Sun, 6 Nov 2005, Graham Dumpleton wrote:
>
>> Haven't had a chance to investigate yet and ensure they aren't caused 
>> by me
>> using versions of both Python and Apache not in standard locations. 
>> Most
>> tests work though. The tests that fail are:
>>
>> ======================================================================
>> FAIL: test_connectionhandler (__main__.PerRequestTestCase)
>> ----------------------------------------------------------------------
>> Traceback (most recent call last):
>>  File "test.py", line 962, in test_connectionhandler
>>    self.fail(`rsp`)
>>  File "/home/grahamd/testing/lib/python2.3/unittest.py", line 270, in 
>> fail
>>    raise self.failureException, msg
>> AssertionError: '/home/grahamd/src/mod_python-3.2.4b/test/htdocs'
>>
>> ----------------------------------------------------------------------
>> Ran 38 tests in 10.173s
>
> If this is in an OpenVPS, then it has to do with 127.0.0.1 being 
> transparently redirected to your IP, so what's in the log is not what 
> is expected, or something to that extent - don't remember now, but 
> it's all good, I wouldn't worry about this one.

That could possibly be it then. Had wandered if the OpenVPS environment
might have something to do with it, but didn't then understand why only
certain tests would be affected and not others. When I get a chance I
will still try and look into it, extracting the particular tests and
running them through a normal running version of Apache and not in a
loopback arrangement.

Graham



Re: Linux FC 2 Test Failures (3.2.4b)

Posted by "Gregory (Grisha) Trubetskoy" <gr...@apache.org>.
On Sun, 6 Nov 2005, Graham Dumpleton wrote:

> Haven't had a chance to investigate yet and ensure they aren't caused by me
> using versions of both Python and Apache not in standard locations. Most
> tests work though. The tests that fail are:
>
> ======================================================================
> FAIL: test_connectionhandler (__main__.PerRequestTestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>  File "test.py", line 962, in test_connectionhandler
>    self.fail(`rsp`)
>  File "/home/grahamd/testing/lib/python2.3/unittest.py", line 270, in fail
>    raise self.failureException, msg
> AssertionError: '/home/grahamd/src/mod_python-3.2.4b/test/htdocs'
>
> ----------------------------------------------------------------------
> Ran 38 tests in 10.173s

If this is in an OpenVPS, then it has to do with 127.0.0.1 being 
transparently redirected to your IP, so what's in the log is not what is 
expected, or something to that extent - don't remember now, but it's all 
good, I wouldn't worry about this one.

Grisha