[BLFS Trac] #2200: Python-2.5

BLFS Trac trac at linuxfromscratch.org
Sat Feb 10 14:47:19 PST 2007


#2200: Python-2.5
---------------------------------------------+------------------------------
 Reporter:  dnicholson at linuxfromscratch.org  |        Owner:  blfs-book at linuxfromscratch.org
     Type:  task                             |       Status:  new                           
 Priority:  normal                           |    Milestone:  6.2.1                         
Component:  BOOK                             |      Version:  SVN                           
 Severity:  normal                           |   Resolution:                                
 Keywords:  python                           |  
---------------------------------------------+------------------------------
Comment (by matthew at linuxfromscratch.org):

 I've got issues with Python-2.5's testsuite.

 Summary:

 {{{
 276 tests OK.
 4 tests failed:
     test_shutil test_subprocess test_tarfile test_tempfile
 }}}

 Details:

 {{{
 test_shutil
 test test_shutil failed -- errors occurred in test.test_shutil.TestShutil

 test test_subprocess failed -- errors occurred in
 test.test_subprocess.ProcessTestCase

 test_tarfile
 test test_tarfile crashed -- <type 'exceptions.OSError'>: [Errno 2] No
 such file or directory: '/tmp/testtar.dir'

 test_tempfile
 Exception exceptions.AttributeError: "mkstemped instance has no attribute
 'fd'" in <bound method mkstemped.__del__ of <test.test_tempfile.mkstemped
 instance at 0x95e182c>> ignored
 Exception exceptions.AttributeError: "mkstemped instance has no attribute
 'fd'" in <bound method mkstemped.__del__ of <test.test_tempfile.mkstemped
 instance at 0x95e12ac>> ignored
 Exception exceptions.AttributeError: "mkstemped instance has no attribute
 'fd'" in <bound method mkstemped.__del__ of <test.test_tempfile.mkstemped
 instance at 0x95e12ac>> ignored
 Exception exceptions.AttributeError: "mkstemped instance has no attribute
 'fd'" in <bound method mkstemped.__del__ of <test.test_tempfile.mkstemped
 instance at 0x95e12ac>> ignored
 test test_tempfile failed -- errors occurred; run in verbose mode for
 details
 }}}

 I think the tar and tempfile test failures are actually linked.  The
 really worrying thing is that my entire /tmp directory is deleted during
 those tests!

 I'd really appreciate it if someone could confirm that this also happens
 to them (though obviously you might want to make sure you have nothing
 valuable in /tmp first!).

-- 
Ticket URL: <http://wiki.linuxfromscratch.org/blfs/ticket/2200#comment:10>
BLFS Trac <http://wiki.linuxfromscratch.org/blfs>
Beyond Linux From Scratch



More information about the blfs-book mailing list