[issue4528] test_httpservers consistently fails on OS X

2008-12-06 Thread Giampaolo Rodola'

Changes by Giampaolo Rodola' [EMAIL PROTECTED]:


--
nosy: +giampaolo.rodola

___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue4528
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue4528] test_httpservers consistently fails on OS X using tarball, but not svn tag r30

2008-12-06 Thread Martin Diers

Changes by Martin Diers [EMAIL PROTECTED]:


--
title: test_httpservers consistently fails on OS X - test_httpservers 
consistently fails on OS X using tarball, but not svn tag r30

___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue4528
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue4528] test_httpservers consistently fails on OS X

2008-12-05 Thread Martin Diers

Martin Diers [EMAIL PROTECTED] added the comment:

A couple more notes:

I am building using a fink installation: --prefix=/sw, in order to gain
readline support. The only modules that are not installed are
ossaudiodev and spwd.

Next, I just did a build from a checkout of the r30 tag on svn. Before,
I built from the release tarball. The build from the r30 checkout passed
all tests. The build from the python-3.0 tarball fails on test_httpservers.

Evidently there is a difference between the r30 tag, and the tarball.

___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue4528
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue4528] test_httpservers consistently fails on OS X

2008-12-05 Thread Martin Diers

Martin Diers [EMAIL PROTECTED] added the comment:

A couple more notes:

I am building using a fink installation: --prefix=/sw, in order to gain
readline support. The only modules that are not installed are
ossaudiodev and spwd.

Next, I just did a build from a checkout of the r30 tag on svn. Before,
I built from the release tarball. The build from the r30 checkout passed
all tests. The build from the python-3.0 tarball fails on test_httpservers.

Evidently there is a difference between the r30 tag, and the tarball.

___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue4528
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue4528] test_httpservers consistently fails on OS X

2008-12-04 Thread Martin Diers

New submission from Martin Diers [EMAIL PROTECTED]:

Test was run with sudo. All other tests passed.

Here is the verbose output of test_httpservers:
Re-running test 'test_httpservers' in verbose mode
test_command (test.test_httpservers.BaseHTTPServerTestCase) ... ok
test_handler (test.test_httpservers.BaseHTTPServerTestCase) ... ok
test_head_keep_alive (test.test_httpservers.BaseHTTPServerTestCase) ... ok
test_header_close (test.test_httpservers.BaseHTTPServerTestCase) ... ok
test_internal_key_error (test.test_httpservers.BaseHTTPServerTestCase)
... ok
test_request_line_trimming
(test.test_httpservers.BaseHTTPServerTestCase) ... ok
test_return_custom_status (test.test_httpservers.BaseHTTPServerTestCase)
... ok
test_return_header_keep_alive
(test.test_httpservers.BaseHTTPServerTestCase) ... ok
test_send_blank (test.test_httpservers.BaseHTTPServerTestCase) ... ok
test_version_bogus (test.test_httpservers.BaseHTTPServerTestCase) ... ok
test_version_digits (test.test_httpservers.BaseHTTPServerTestCase) ... ok
test_version_invalid (test.test_httpservers.BaseHTTPServerTestCase) ... ok
test_version_none (test.test_httpservers.BaseHTTPServerTestCase) ... ok
test_version_none_get (test.test_httpservers.BaseHTTPServerTestCase) ... ok
test_get (test.test_httpservers.SimpleHTTPServerTestCase) ... FAIL
test_head (test.test_httpservers.SimpleHTTPServerTestCase) ... ok
test_invalid_requests (test.test_httpservers.SimpleHTTPServerTestCase)
... ok
test_authorization (test.test_httpservers.CGIHTTPServerTestCase) ...
Traceback (most recent call last):
  File /Users/mwdiers/src/Python-3.0/Lib/http/server.py, line 1031, in
run_cgi
os.execve(scriptfile, args, os.environ)
OSError: [Errno 13] Permission denied
ERROR
test_headers_and_content (test.test_httpservers.CGIHTTPServerTestCase)
... Traceback (most recent call last):
  File /Users/mwdiers/src/Python-3.0/Lib/http/server.py, line 1031, in
run_cgi
os.execve(scriptfile, args, os.environ)
OSError: [Errno 13] Permission denied
ERROR
test_invaliduri (test.test_httpservers.CGIHTTPServerTestCase) ... ok
test_post (test.test_httpservers.CGIHTTPServerTestCase) ... Traceback
(most recent call last):
  File /Users/mwdiers/src/Python-3.0/Lib/http/server.py, line 1031, in
run_cgi
os.execve(scriptfile, args, os.environ)
OSError: [Errno 13] Permission denied
FAIL

==
ERROR: test_authorization (test.test_httpservers.CGIHTTPServerTestCase)
--
Traceback (most recent call last):
  File /Users/mwdiers/src/Python-3.0/Lib/test/test_httpservers.py,
line 342, in test_authorization
(res.read(), res.getheader('Content-type'), res.status))
  File /Users/mwdiers/src/Python-3.0/Lib/http/client.py, line 591, in
getheader
return ', '.join(self.msg.get_all(name, default))
TypeError

==
ERROR: test_headers_and_content
(test.test_httpservers.CGIHTTPServerTestCase)
--
Traceback (most recent call last):
  File /Users/mwdiers/src/Python-3.0/Lib/test/test_httpservers.py,
line 322, in test_headers_and_content
(res.read(), res.getheader('Content-type'), res.status))
  File /Users/mwdiers/src/Python-3.0/Lib/http/client.py, line 591, in
getheader
return ', '.join(self.msg.get_all(name, default))
TypeError

==
FAIL: test_get (test.test_httpservers.SimpleHTTPServerTestCase)
--
Traceback (most recent call last):
  File /Users/mwdiers/src/Python-3.0/Lib/test/test_httpservers.py,
line 244, in test_get
self.check_status_and_reason(response, 404)
  File /Users/mwdiers/src/Python-3.0/Lib/test/test_httpservers.py,
line 220, in check_status_and_reason
self.assertEquals(response.status, status)
AssertionError: 200 != 404

==
FAIL: test_post (test.test_httpservers.CGIHTTPServerTestCase)
--
Traceback (most recent call last):
  File /Users/mwdiers/src/Python-3.0/Lib/test/test_httpservers.py,
line 330, in test_post
self.assertEquals(res.read(), b'1, python, 123456\n')
AssertionError: b'' != b'1, python, 123456\n'

--
Ran 21 tests in 10.358s

FAILED (failures=2, errors=2)
test test_httpservers failed -- errors occurred; run in verbose mode for
details
make: [test] Error 1 (ignored)

--
components: Tests
messages: 76899
nosy: mwdiers
severity: normal
status: open
title: test_httpservers consistently fails on OS X
type: behavior
versions: Python 3.0

___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue4528