On 09/ 8/10 09:57 AM, Dan Drake wrote:
I do get intermittent failures when I run "make ptestlong"; the doctest
will fail with something like this:
sage -t -long devel/sage/sage/structure/proof/all.py
python: can't open file '/home/drake/.sage//tmp/all.py': [Errno 2] No
such file
or directory
running the test manually always works. In three doctest runs, I've seen
this happen twice. It seems unrelated to the PARI upgrade stuff.
Dan
I've seen the "No such file or directory" issue on several occasions.
As you may have read, I run 'make ptestlong' 100 times with sage-4.5.3.alpha2.
The error occurred 5 times in 100 runs. The numbers of the text file below refer
to the run - so I see this on my 11th, 22nd, 24th, 26th and 66th attempts at
running 'make ptestlong'.
drkir...@hawk:~/sage-4.5.3.alpha2$ grep "No such file or dire" pte*
ptestlong.log.11.txt:python: can't open file
'/export/home/drkirkby/.sage//tmp/quaternion_algebra.py': [Errno 2] No such file
or directory
ptestlong.log.22.txt:python: can't open file
'/export/home/drkirkby/.sage//tmp/quaternion_algebra.py': [Errno 2] No such file
or directory
ptestlong.log.24.txt:python: can't open file
'/export/home/drkirkby/.sage//tmp/quaternion_algebra.py': [Errno 2] No such file
or directory
ptestlong.log.26.txt:python: can't open file
'/export/home/drkirkby/.sage//tmp/space.py': [Errno 2] No such file or directory
ptestlong.log.66.txt:python: can't open file
'/export/home/drkirkby/.sage//tmp/classical.py': [Errno 2] No such file or directory
So getting the odd such failure when parallel doctesting is nothing unusual. I
think people have found that the temporary directories used by some files is not
unique, and two tests with the same name can end up writing to the same directory.
--
To post to this group, send an email to sage-devel@googlegroups.com
To unsubscribe from this group, send an email to
sage-devel+unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/sage-devel
URL: http://www.sagemath.org