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

2009-02-02 Thread Erkan Yilmaz

Erkan Yilmaz  added the comment:

below you find following sections:
-summary
-details
-system info



summary:
**
The above message also appeared on 
- non-OS X: Distro Pardus 2008.2 Canis aureus
- Python 3.1a0 py3k:69210 (see details:steps 1-3)
(in step4 you find info about test_httpservers failed in: Python 2.7a0
trunk:69209)

To find out if there is an error on my side - on request - I can provide
more info.



details (4 steps):

1. I was trying to build with the py3k svn version (Revision 69210) and
got following error during the "make test":

302 tests OK.  
 
2 tests failed:
 
test_httpservers test_urllib   
 
21 tests skipped:  
 
test_codecmaps_cn test_codecmaps_hk test_codecmaps_jp  
 
test_codecmaps_kr test_codecmaps_tw test_curses test_kqueue
 
test_nis test_normalization test_ossaudiodev test_pep277   
 
test_socketserver test_startfile test_timeout test_ttk_guionly 
 
test_urllib2net test_urllibnet test_winreg test_winsound   
 
test_xmlrpc_net test_zipfile64 
 
Those skips are all expected on linux2.
 
[913083 refs]


2. verbose output as non-admin first brought an exception:

er...@e-pardus2 python-svn $ ./python -m test.regrtest -v
test_httpservers test_urllib   
./python: error while loading shared libraries: libpython3.1.so.1.0:
cannot open shared object file: No such file or directory  
 
er...@e-pardus2 python-svn $ export
LD_LIBRARY_PATH=/home/erkan/Desktop/python3_svn_2009_feb_2/python-svn  
   
  
er...@e-pardus2 python-svn $ ./python -m test.regrtest -v
test_httpservers test_urllibCould not find
'/home/erkan/Desktop/python3_svn_2009_feb_2/python-svn/Lib/test' in
sys.path to remove it  
   
test_httpservers   
 
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) ... Exception
in thread Thread-15: 
Traceback (most recent call last): 
 
  File
"/home/erkan/Desktop/python3_svn_2009_feb_2/python-svn/Lib/threading.py", line
507, in _bootstrap_inner   

self.run() 
 
  File
"/home/erkan/Desktop/python3_svn_2009_feb_2/python-svn/Lib/test/test_httpservers.py",
line 43, in run
 
self.server.serve_forever()
 
  File
"/home/erkan/Desktop/python3_svn_2009_feb_2/python-svn/Lib/socketserver.py",
line 224, in serve_forever 
  
r, w, e = select.select([self], [], [], poll_interval) 
 
select.error: (4, 'Interrupted system call')

[issue4528] test_httpservers consistently fails - OSError: [Errno 13] Permission denied (e.g. on OS X using tarball, but not svn tag r30)

2009-02-02 Thread Erkan Yilmaz

Changes by Erkan Yilmaz :


--
title: test_httpservers consistently fails on OS X using tarball, but not svn 
tag r30 -> test_httpservers consistently fails - OSError: [Errno 13] Permission 
denied (e.g. on OS X using tarball, but not svn tag r30)

___
Python tracker 
<http://bugs.python.org/issue4528>
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com