Python install regression test fail

John Nagle nagle at animats.com
Sat Dec 17 14:24:24 EST 2011


Here's a result from "make", "make test" of a fresh download
of Python 2.7.2 on Linux 2.6.18-1.2239.fc5smp:


350 tests OK.
2 tests failed:
     test_os test_site
35 tests skipped:
     test_aepack test_al test_applesingle test_bsddb185 test_bsddb3
     test_cd test_cl test_codecmaps_cn test_codecmaps_hk
     test_codecmaps_jp test_codecmaps_kr test_codecmaps_tw test_curses
     test_gdb test_gl test_imgfile test_kqueue test_linuxaudiodev
     test_macos test_macostools test_msilib test_ossaudiodev
     test_scriptpackages test_smtpnet test_socketserver test_startfile
     test_sunaudiodev test_timeout test_tk test_ttk_guionly
     test_urllib2net test_urllibnet test_winreg test_winsound
     test_zipfile64
3 skips unexpected on linux2:
     test_gdb test_tk test_ttk_guionly
make: *** [test] Error 1
-bash-3.1$


Here are the fails:

test_os
test test_os failed -- Traceback (most recent call last):
   File 
"/var/www/vhosts/sitetruth.com/private/downloads/python/Python-2.7.2/Lib/test/test_os.py", 
line 563, in helper
     self.check(getattr(os, f))
   File 
"/var/www/vhosts/sitetruth.com/private/downloads/python/Python-2.7.2/Lib/test/test_os.py", 
line 572, in check
     self.assertEqual(e.errno, errno.EBADF)
AssertionError: 25 != 9
(This test expected EBADF and got ENOTTY on making a bad file
descriptor.  Not clear why it got ENOTTY, but that's "Inappropriate
IOCTL", as if the file descriptor number was in use but not valid
for the test.)



test_site
test test_site crashed -- <type 'exceptions.OSError'>: [Errno 13] 
Permission denied: '/var/www/vhosts/sitetruth.com/.local'
(That looks like a bug in the test suite.  It shouldn't be
storing into the user's home directory.)

					John Nagle





More information about the Python-list mailing list