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 pe...@cibavision.novartis.com on 2004/02/21 22:10:13 UTC

Re: Please test 3.1.3! [Take 2] -Failure on Solaris

Grisha,
   Testing with prefork mpm (2.0.48), I received the following output.  Is 
this a critical failure?  Thoughts on what I should do different to make 
the test succeed?
Thanks,
Perry Tew

System = SunOS
Node = usatux29
Release = 5.8
KernelID = Generic_108528-13
Machine = sun4u
BusType = <unknown>
Serial = <unknown>
Users = <unknown>
OEM# = 0
Origin# = 1
NumCPU = 2


* Testing LoadModule
  Creating config....
    listen port: 36812
  Starting Apache....
     /web/devel/tewpe1/mp_test/apache-2.0.48_prefork/bin/httpd -k start -f 
/web/devel/tewpe1/mp_test/src/mod_p
ython-3.1.3/test/conf/test.conf
  Stopping Apache...
     /web/devel/tewpe1/mp_test/apache-2.0.48_prefork/bin/httpd -k stop -f 
/web/devel/tewpe1/mp_test/src/mod_py
thon-3.1.3/test/conf/test.conf
.
* Testing server.register_cleanup()...
  Creating config....
    listen port: 36816
  Starting Apache....
     /web/devel/tewpe1/mp_test/apache-2.0.48_prefork/bin/httpd -k start -f 
/web/devel/tewpe1/mp_test/src/mod_p
ython-3.1.3/test/conf/test.conf
  Stopping Apache...
     /web/devel/tewpe1/mp_test/apache-2.0.48_prefork/bin/httpd -k stop -f 
/web/devel/tewpe1/mp_test/src/mod_py
thon-3.1.3/test/conf/test.conf
.
* Running the per-request test suite...
  Creating config....
    listen port: 36822
  Starting Apache....
     /web/devel/tewpe1/mp_test/apache-2.0.48_prefork/bin/httpd -k start -f 
/web/devel/tewpe1/mp_test/src/mod_p
ython-3.1.3/test/conf/test.conf

  * Testing req.document_root()
.
  * Testing req.add_handler()
.
  * Testing req.allow_methods()
.
  * Testing req.get_basic_auth_pw()
.
  * Testing req.requires()
F
  * Testing req.internal_redirect()
.
  * Testing req.read()
    writing 100000 bytes...
    response size: 100000

    read/write ok, now lets try causing a timeout (should be 5 secs)
.
  * Testing req.readline()
    writing 120004 bytes...
    response size: 120004

.
  * Testing req.readlines()
    writing 120004 bytes...
    response size: 120004

.
  * Testing req.register_cleanup()
.
  * Testing req.headers_out
.
  * Testing req.sendfile()
.
  * Testing util_fieldstorage()
.
  * Testing PostReadRequestHandler
.
  * Testing TransHandler
.
  * Testing PythonOutputFilter
.
  * Testing PythonConnectionHandler
.
  * Testing PythonImport
.
  * Testing | .ext syntax
.
  * Testing mod_python.cgihandler
.
  * Testing mod_python.psp
.
  * Testing Cookie.Cookie
.
  * Testing Cookie.MarshalCookie
.
  * Testing Session.Session
.
  * Testing internally (status messages go to error_log)
.
======================================================================
FAIL: test_req_requires (__main__.PerRequestTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "test.py", line 407, in test_req_requires
    self.fail(`rsp`)
  File 
"/web/devel/tewpe1/mp_test/python23_prefork/lib/python2.3/unittest.py", 
line 270, in fail
    raise self.failureException, msg
AssertionError: '<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 
2.0//EN">\n<html><head>\n<title>401 Authorization Re
quired</title>\n</head><body>\n<h1>Authorization Required</h1>\n<p>This 
server could not verify that you\nare
authorized to access the document\nrequested.  Either you supplied the 
wrong\ncredentials (e.g., bad password)
, or your\nbrowser doesn\'t understand how to supply\nthe credentials 
required.</p>\n</body></html>\n'

----------------------------------------------------------------------
Ran 25 tests in 8.203s

FAILED (failures=1)
F  Stopping Apache...
     /web/devel/tewpe1/mp_test/apache-2.0.48_prefork/bin/httpd -k stop -f 
/web/devel/tewpe1/mp_test/src/mod_py
thon-3.1.3/test/conf/test.conf

======================================================================
FAIL: testPerRequestTests (__main__.PerInstanceTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "test.py", line 1037, in testPerRequestTests
    self.failUnless(result.wasSuccessful())
  File 
"/web/devel/tewpe1/mp_test/python23_prefork/lib/python2.3/unittest.py", 
line 278, in failUnless
    if not expr: raise self.failureException, msg
AssertionError

----------------------------------------------------------------------
Ran 3 tests in 19.454s

FAILED (failures=1)








"Gregory (Grisha) Trubetskoy" <gr...@apache.org>
02/18/2004 07:23 PM

 
        To:     python-dev@httpd.apache.org
        cc: 
        Subject:        Please test 3.1.3! [Take 2]



OK, let's do this again. The files this time are at

http://httpd.apache.org/dev/dist/modpython/

I've fixed the flex related problem, you should NOT need flex to compile.

I'm particularly interested in RH 9 as testing problems were reported on
it.

I'm not terribly concerned about OS X - the failing tests don't seem to be
life-threatning and I can't do much about fixing them ATM.

Grisha


---------- Forwarded message ----------
Date: Tue, 17 Feb 2004 12:31:56 -0500 (EST)
From: "Gregory (Grisha) Trubetskoy" <gr...@ispol.com>
To: python-dev@httpd.apache.org
Subject: Please test 3.1.3!


The rules:

In order for a file to be officially announced, it has to be tested by
developers on the dev list. Anyone subscribed to this list can (and should
feel obligated to :-) ) test it, and provide feedback *to _this_ list*!
(Not the mod_python@modpython.org list, and preferably not me personally)

The files are available here:

http://www.apache.org/dist/httpd/modpython/

[no windows installer yet]

Please download it, then do the usual

$ ./configure --with-apxs=/wherever/it/is
$ make
$ (su)
# make install

Then (as non-root user!)

$ cd test
$ python test.py

And see if any tests fail. If they pass, send a +1 to the list, if they
fail, send the details (the versions of OS, Python and Apache, the test
output, and suggestions, if any).

Thank you,

Grisha




Re: Please test 3.1.3! [Take 2] -Failure on Solaris

Posted by Mark McClain <ma...@gsoa.net>.
+1 Mac OS X 10.3, Apache 2.0.48, Python 2.3
+1 RH9

mark
On Feb 23, 2004, at 12:44 PM, Gregory (Grisha) Trubetskoy wrote:

>
> I've uploaded another set of files to the same location:
>
> http://httpd.apache.org/dev/dist/modpython/
>
> I think I've corrected the failing test - req_requires. This is a  
> problem
> with the test itself rather than mod_python, so I think if this  
> resolves
> the issue, just pushing the tag forward and staying at 3.1.3 (as  
> opposed
> to 3.1.4) is OK.
>
> Please let me know if this one works.
>
> Grisha
>
> On Sat, 21 Feb 2004 perry.tew@cibavision.novartis.com wrote:
>
>> Grisha,
>>    Testing with prefork mpm (2.0.48), I received the following  
>> output.  Is
>> this a critical failure?  Thoughts on what I should do different to  
>> make
>> the test succeed?
>> Thanks,
>> Perry Tew
>>
>> System = SunOS
>> Node = usatux29
>> Release = 5.8
>> KernelID = Generic_108528-13
>> Machine = sun4u
>> BusType = <unknown>
>> Serial = <unknown>
>> Users = <unknown>
>> OEM# = 0
>> Origin# = 1
>> NumCPU = 2
>>
>>
>> * Testing LoadModule
>>   Creating config....
>>     listen port: 36812
>>   Starting Apache....
>>      /web/devel/tewpe1/mp_test/apache-2.0.48_prefork/bin/httpd -k  
>> start -f
>> /web/devel/tewpe1/mp_test/src/mod_p
>> ython-3.1.3/test/conf/test.conf
>>   Stopping Apache...
>>      /web/devel/tewpe1/mp_test/apache-2.0.48_prefork/bin/httpd -k  
>> stop -f
>> /web/devel/tewpe1/mp_test/src/mod_py
>> thon-3.1.3/test/conf/test.conf
>> .
>> * Testing server.register_cleanup()...
>>   Creating config....
>>     listen port: 36816
>>   Starting Apache....
>>      /web/devel/tewpe1/mp_test/apache-2.0.48_prefork/bin/httpd -k  
>> start -f
>> /web/devel/tewpe1/mp_test/src/mod_p
>> ython-3.1.3/test/conf/test.conf
>>   Stopping Apache...
>>      /web/devel/tewpe1/mp_test/apache-2.0.48_prefork/bin/httpd -k  
>> stop -f
>> /web/devel/tewpe1/mp_test/src/mod_py
>> thon-3.1.3/test/conf/test.conf
>> .
>> * Running the per-request test suite...
>>   Creating config....
>>     listen port: 36822
>>   Starting Apache....
>>      /web/devel/tewpe1/mp_test/apache-2.0.48_prefork/bin/httpd -k  
>> start -f
>> /web/devel/tewpe1/mp_test/src/mod_p
>> ython-3.1.3/test/conf/test.conf
>>
>>   * Testing req.document_root()
>> .
>>   * Testing req.add_handler()
>> .
>>   * Testing req.allow_methods()
>> .
>>   * Testing req.get_basic_auth_pw()
>> .
>>   * Testing req.requires()
>> F
>>   * Testing req.internal_redirect()
>> .
>>   * Testing req.read()
>>     writing 100000 bytes...
>>     response size: 100000
>>
>>     read/write ok, now lets try causing a timeout (should be 5 secs)
>> .
>>   * Testing req.readline()
>>     writing 120004 bytes...
>>     response size: 120004
>>
>> .
>>   * Testing req.readlines()
>>     writing 120004 bytes...
>>     response size: 120004
>>
>> .
>>   * Testing req.register_cleanup()
>> .
>>   * Testing req.headers_out
>> .
>>   * Testing req.sendfile()
>> .
>>   * Testing util_fieldstorage()
>> .
>>   * Testing PostReadRequestHandler
>> .
>>   * Testing TransHandler
>> .
>>   * Testing PythonOutputFilter
>> .
>>   * Testing PythonConnectionHandler
>> .
>>   * Testing PythonImport
>> .
>>   * Testing | .ext syntax
>> .
>>   * Testing mod_python.cgihandler
>> .
>>   * Testing mod_python.psp
>> .
>>   * Testing Cookie.Cookie
>> .
>>   * Testing Cookie.MarshalCookie
>> .
>>   * Testing Session.Session
>> .
>>   * Testing internally (status messages go to error_log)
>> .
>> ======================================================================
>> FAIL: test_req_requires (__main__.PerRequestTestCase)
>> ----------------------------------------------------------------------
>> Traceback (most recent call last):
>>   File "test.py", line 407, in test_req_requires
>>     self.fail(`rsp`)
>>   File
>> "/web/devel/tewpe1/mp_test/python23_prefork/lib/python2.3/ 
>> unittest.py",
>> line 270, in fail
>>     raise self.failureException, msg
>> AssertionError: '<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML
>> 2.0//EN">\n<html><head>\n<title>401 Authorization Re
>> quired</title>\n</head><body>\n<h1>Authorization  
>> Required</h1>\n<p>This
>> server could not verify that you\nare
>> authorized to access the document\nrequested.  Either you supplied the
>> wrong\ncredentials (e.g., bad password)
>> , or your\nbrowser doesn\'t understand how to supply\nthe credentials
>> required.</p>\n</body></html>\n'
>>
>> ----------------------------------------------------------------------
>> Ran 25 tests in 8.203s
>>
>> FAILED (failures=1)
>> F  Stopping Apache...
>>      /web/devel/tewpe1/mp_test/apache-2.0.48_prefork/bin/httpd -k  
>> stop -f
>> /web/devel/tewpe1/mp_test/src/mod_py
>> thon-3.1.3/test/conf/test.conf
>>
>> ======================================================================
>> FAIL: testPerRequestTests (__main__.PerInstanceTestCase)
>> ----------------------------------------------------------------------
>> Traceback (most recent call last):
>>   File "test.py", line 1037, in testPerRequestTests
>>     self.failUnless(result.wasSuccessful())
>>   File
>> "/web/devel/tewpe1/mp_test/python23_prefork/lib/python2.3/ 
>> unittest.py",
>> line 278, in failUnless
>>     if not expr: raise self.failureException, msg
>> AssertionError
>>
>> ----------------------------------------------------------------------
>> Ran 3 tests in 19.454s
>>
>> FAILED (failures=1)
>>
>>
>>
>>
>>
>>
>>
>>
>> "Gregory (Grisha) Trubetskoy" <gr...@apache.org>
>> 02/18/2004 07:23 PM
>>
>>
>>         To:     python-dev@httpd.apache.org
>>         cc:
>>         Subject:        Please test 3.1.3! [Take 2]
>>
>>
>>
>> OK, let's do this again. The files this time are at
>>
>> http://httpd.apache.org/dev/dist/modpython/
>>
>> I've fixed the flex related problem, you should NOT need flex to  
>> compile.
>>
>> I'm particularly interested in RH 9 as testing problems were reported  
>> on
>> it.
>>
>> I'm not terribly concerned about OS X - the failing tests don't seem  
>> to be
>> life-threatning and I can't do much about fixing them ATM.
>>
>> Grisha
>>
>>
>> ---------- Forwarded message ----------
>> Date: Tue, 17 Feb 2004 12:31:56 -0500 (EST)
>> From: "Gregory (Grisha) Trubetskoy" <gr...@ispol.com>
>> To: python-dev@httpd.apache.org
>> Subject: Please test 3.1.3!
>>
>>
>> The rules:
>>
>> In order for a file to be officially announced, it has to be tested by
>> developers on the dev list. Anyone subscribed to this list can (and  
>> should
>> feel obligated to :-) ) test it, and provide feedback *to _this_  
>> list*!
>> (Not the mod_python@modpython.org list, and preferably not me  
>> personally)
>>
>> The files are available here:
>>
>> http://www.apache.org/dist/httpd/modpython/
>>
>> [no windows installer yet]
>>
>> Please download it, then do the usual
>>
>> $ ./configure --with-apxs=/wherever/it/is
>> $ make
>> $ (su)
>> # make install
>>
>> Then (as non-root user!)
>>
>> $ cd test
>> $ python test.py
>>
>> And see if any tests fail. If they pass, send a +1 to the list, if  
>> they
>> fail, send the details (the versions of OS, Python and Apache, the  
>> test
>> output, and suggestions, if any).
>>
>> Thank you,
>>
>> Grisha
>>
>>
>>
>


Re: Please test 3.1.3! [Take 2] -Failure on Solaris

Posted by "Gregory (Grisha) Trubetskoy" <gr...@apache.org>.
I've uploaded another set of files to the same location:

http://httpd.apache.org/dev/dist/modpython/

I think I've corrected the failing test - req_requires. This is a problem
with the test itself rather than mod_python, so I think if this resolves
the issue, just pushing the tag forward and staying at 3.1.3 (as opposed
to 3.1.4) is OK.

Please let me know if this one works.

Grisha

On Sat, 21 Feb 2004 perry.tew@cibavision.novartis.com wrote:

> Grisha,
>    Testing with prefork mpm (2.0.48), I received the following output.  Is
> this a critical failure?  Thoughts on what I should do different to make
> the test succeed?
> Thanks,
> Perry Tew
>
> System = SunOS
> Node = usatux29
> Release = 5.8
> KernelID = Generic_108528-13
> Machine = sun4u
> BusType = <unknown>
> Serial = <unknown>
> Users = <unknown>
> OEM# = 0
> Origin# = 1
> NumCPU = 2
>
>
> * Testing LoadModule
>   Creating config....
>     listen port: 36812
>   Starting Apache....
>      /web/devel/tewpe1/mp_test/apache-2.0.48_prefork/bin/httpd -k start -f
> /web/devel/tewpe1/mp_test/src/mod_p
> ython-3.1.3/test/conf/test.conf
>   Stopping Apache...
>      /web/devel/tewpe1/mp_test/apache-2.0.48_prefork/bin/httpd -k stop -f
> /web/devel/tewpe1/mp_test/src/mod_py
> thon-3.1.3/test/conf/test.conf
> .
> * Testing server.register_cleanup()...
>   Creating config....
>     listen port: 36816
>   Starting Apache....
>      /web/devel/tewpe1/mp_test/apache-2.0.48_prefork/bin/httpd -k start -f
> /web/devel/tewpe1/mp_test/src/mod_p
> ython-3.1.3/test/conf/test.conf
>   Stopping Apache...
>      /web/devel/tewpe1/mp_test/apache-2.0.48_prefork/bin/httpd -k stop -f
> /web/devel/tewpe1/mp_test/src/mod_py
> thon-3.1.3/test/conf/test.conf
> .
> * Running the per-request test suite...
>   Creating config....
>     listen port: 36822
>   Starting Apache....
>      /web/devel/tewpe1/mp_test/apache-2.0.48_prefork/bin/httpd -k start -f
> /web/devel/tewpe1/mp_test/src/mod_p
> ython-3.1.3/test/conf/test.conf
>
>   * Testing req.document_root()
> .
>   * Testing req.add_handler()
> .
>   * Testing req.allow_methods()
> .
>   * Testing req.get_basic_auth_pw()
> .
>   * Testing req.requires()
> F
>   * Testing req.internal_redirect()
> .
>   * Testing req.read()
>     writing 100000 bytes...
>     response size: 100000
>
>     read/write ok, now lets try causing a timeout (should be 5 secs)
> .
>   * Testing req.readline()
>     writing 120004 bytes...
>     response size: 120004
>
> .
>   * Testing req.readlines()
>     writing 120004 bytes...
>     response size: 120004
>
> .
>   * Testing req.register_cleanup()
> .
>   * Testing req.headers_out
> .
>   * Testing req.sendfile()
> .
>   * Testing util_fieldstorage()
> .
>   * Testing PostReadRequestHandler
> .
>   * Testing TransHandler
> .
>   * Testing PythonOutputFilter
> .
>   * Testing PythonConnectionHandler
> .
>   * Testing PythonImport
> .
>   * Testing | .ext syntax
> .
>   * Testing mod_python.cgihandler
> .
>   * Testing mod_python.psp
> .
>   * Testing Cookie.Cookie
> .
>   * Testing Cookie.MarshalCookie
> .
>   * Testing Session.Session
> .
>   * Testing internally (status messages go to error_log)
> .
> ======================================================================
> FAIL: test_req_requires (__main__.PerRequestTestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "test.py", line 407, in test_req_requires
>     self.fail(`rsp`)
>   File
> "/web/devel/tewpe1/mp_test/python23_prefork/lib/python2.3/unittest.py",
> line 270, in fail
>     raise self.failureException, msg
> AssertionError: '<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML
> 2.0//EN">\n<html><head>\n<title>401 Authorization Re
> quired</title>\n</head><body>\n<h1>Authorization Required</h1>\n<p>This
> server could not verify that you\nare
> authorized to access the document\nrequested.  Either you supplied the
> wrong\ncredentials (e.g., bad password)
> , or your\nbrowser doesn\'t understand how to supply\nthe credentials
> required.</p>\n</body></html>\n'
>
> ----------------------------------------------------------------------
> Ran 25 tests in 8.203s
>
> FAILED (failures=1)
> F  Stopping Apache...
>      /web/devel/tewpe1/mp_test/apache-2.0.48_prefork/bin/httpd -k stop -f
> /web/devel/tewpe1/mp_test/src/mod_py
> thon-3.1.3/test/conf/test.conf
>
> ======================================================================
> FAIL: testPerRequestTests (__main__.PerInstanceTestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "test.py", line 1037, in testPerRequestTests
>     self.failUnless(result.wasSuccessful())
>   File
> "/web/devel/tewpe1/mp_test/python23_prefork/lib/python2.3/unittest.py",
> line 278, in failUnless
>     if not expr: raise self.failureException, msg
> AssertionError
>
> ----------------------------------------------------------------------
> Ran 3 tests in 19.454s
>
> FAILED (failures=1)
>
>
>
>
>
>
>
>
> "Gregory (Grisha) Trubetskoy" <gr...@apache.org>
> 02/18/2004 07:23 PM
>
>
>         To:     python-dev@httpd.apache.org
>         cc:
>         Subject:        Please test 3.1.3! [Take 2]
>
>
>
> OK, let's do this again. The files this time are at
>
> http://httpd.apache.org/dev/dist/modpython/
>
> I've fixed the flex related problem, you should NOT need flex to compile.
>
> I'm particularly interested in RH 9 as testing problems were reported on
> it.
>
> I'm not terribly concerned about OS X - the failing tests don't seem to be
> life-threatning and I can't do much about fixing them ATM.
>
> Grisha
>
>
> ---------- Forwarded message ----------
> Date: Tue, 17 Feb 2004 12:31:56 -0500 (EST)
> From: "Gregory (Grisha) Trubetskoy" <gr...@ispol.com>
> To: python-dev@httpd.apache.org
> Subject: Please test 3.1.3!
>
>
> The rules:
>
> In order for a file to be officially announced, it has to be tested by
> developers on the dev list. Anyone subscribed to this list can (and should
> feel obligated to :-) ) test it, and provide feedback *to _this_ list*!
> (Not the mod_python@modpython.org list, and preferably not me personally)
>
> The files are available here:
>
> http://www.apache.org/dist/httpd/modpython/
>
> [no windows installer yet]
>
> Please download it, then do the usual
>
> $ ./configure --with-apxs=/wherever/it/is
> $ make
> $ (su)
> # make install
>
> Then (as non-root user!)
>
> $ cd test
> $ python test.py
>
> And see if any tests fail. If they pass, send a +1 to the list, if they
> fail, send the details (the versions of OS, Python and Apache, the test
> output, and suggestions, if any).
>
> Thank you,
>
> Grisha
>
>
>