#9739: Handle duplicate file basenames when testing multiple files in parallel
-------------------------------+--------------------------------------------
   Reporter:  mpatel           |       Owner:  mvngu     
       Type:  defect           |      Status:  needs_work
   Priority:  critical         |   Milestone:  sage-4.6  
  Component:  doctest          |    Keywords:            
     Author:  Mitesh Patel     |    Upstream:  N/A       
   Reviewer:  Robert Bradshaw  |      Merged:            
Work_issues:                   |  
-------------------------------+--------------------------------------------

Comment(by drkirkby):

 Has there been any more thoughts on this?

 I had a doctest failure today on my !OpenSolaris machine ''hawk'', which
 is almost certainly a result of this bug. This is using sage-4.6.rc0.

 {{{
 The following tests failed:

         sage -t  -long local/lib/python2.6/site-
 packages/sagenb-0.8.2-py2.6.egg/sagenb/notebook/misc.py # 0 doctests
 failed
         sage -t  -long devel/sage/sage/plot/plot.py # 5 doctests failed
 }}}

 The likely reason for the first of these failures can be seen if we look
 further up the log.

 {{{
 sage -t  -long local/lib/python2.6/site-
 packages/sagenb-0.8.2-py2.6.egg/sagenb/misc/misc.py
          [2.9 s]
 sage -t  -long local/lib/python2.6/site-
 packages/sagenb-0.8.2-py2.6.egg/sagenb/notebook/misc.py
 python: can't open file '/export/home/drkirkby/.sage//tmp/misc.py': [Errno
 2] No such file or directory

          [0.2 s]
 }}}

 The log clearly shows a file {{{misc.py}}} being tested, followed by a
 second test with a different file also called {{{misc.py}}}. That file is
 then not found. It seems almost inevitable one test deleted the file
 needed by another test as they were both called {{{misc.py}}} and both
 tested around the same time.

 Note this is the same machine on which the buildbot passed all doctests.

 
http://build.sagemath.org/sage/builders/hawk%20full/builds/8/steps/shell_6/logs/stdio

 so it seems to be an intermittent problem. (I've also had all tests pass
 on this).

 These doctests issues are really annoying, as one never knows if its a
 real Sage bug, or a doctest bug.

 Dave

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/9739#comment:14>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica, 
and MATLAB

-- 
You received this message because you are subscribed to the Google Groups 
"sage-trac" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/sage-trac?hl=en.

Reply via email to