This repository was archived by the owner on Feb 1, 2023. It is now read-only.
Commit be1a62b
Release Manager
Trac #30671: Random failure in src/sage/interfaces/psage.py
Clearly the dtor is racing with the sage-cleaner process that is
deleting the temporary directory:
{{{
File "src/sage/interfaces/psage.py", line 114, in
sage.interfaces.psage.PSage.__del__
Failed example:
PSage().__del__()
Expected nothing
Got:
Exception ignored in: <function ExpectElement.__del__ at 0xd14d6388>
Traceback (most recent call last):
File "/home/buildbot/slave/sage_git/build/local/lib/python3.8
/site-packages/sage/interfaces/expect.py", line 1513, in __del__
P.clear(self._name)
File "/home/buildbot/slave/sage_git/build/local/lib/python3.8
/site-packages/sage/interfaces/sage0.py", line 369, in clear
self.eval('del %s' % var)
File "/home/buildbot/slave/sage_git/build/local/lib/python3.8
/site-packages/sage/interfaces/psage.py", line 129, in eval
if self.is_locked():
File "/home/buildbot/slave/sage_git/build/local/lib/python3.8
/site-packages/sage/interfaces/psage.py", line 97, in is_locked
with open(self.__tmp) as fobj:
FileNotFoundError: [Errno 2] No such file or directory: '/home/build
bot/slave/sage_git/dot_sage/temp/sagebu16_32s02/3311/sage_smpux8mxorv//l
ock'
**********************************************************************
1 item had failures:
1 of 2 in sage.interfaces.psage.PSage.__del__
[7 tests, 1 failure, 4.76 s]
}}}
URL: https://trac.sagemath.org/30671
Reported by: vbraun
Ticket author(s): Markus Wageringel
Reviewer(s): Volker Braun1 file changed
+14
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
113 | 113 | | |
114 | 114 | | |
115 | 115 | | |
116 | | - | |
117 | | - | |
118 | | - | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
119 | 127 | | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
120 | 131 | | |
121 | 132 | | |
122 | 133 | | |
| |||
0 commit comments