Issue2574
Created on 2017-03-22.21:28:06 by jamesmudd, last changed 2018-03-16.07:15:20 by jeff.allen.
msg11268 (view) |
Author: James Mudd (jamesmudd) |
Date: 2017-03-22.21:28:06 |
|
In this build job https://travis-ci.org/jythontools/jython/jobs/213994211 test_tarfile failed, this test also seems a bit unreliable maybe it should be investigated?
|
msg11275 (view) |
Author: Jeff Allen (jeff.allen) |
Date: 2017-03-26.07:53:37 |
|
I'll add it (again) to the list of shame in regrtest.
I get unclosed file problems on Windows and I can make it fail if I run it enough times:
dist\bin\jython -m test.regrtest test_tarfile test_tarfile test_tarfile test_tarfile test_tarfile test_tarfile test_tarfile test_tarfile
...
test_tarfile
C:\Users\Jeff\Documents\Eclipse\jython-trunk\dist\Lib\test\test_tarfile.py:1667: UserWarning: Failed to remove C:\Users\Jeff\Documents\Eclipse\jython-trunk\$test_1_tmp
warnings.warn("Failed to remove "+TEMPDIR)
test test_tarfile failed -- Traceback (most recent call last):
File "C:\Users\Jeff\Documents\Eclipse\jython-trunk\dist\Lib\test\test_tarfile.py", line 203, in test_ignore_zeros
tar = tarfile.open(tmpname, mode="r", ignore_zeros=True)
File "C:\Users\Jeff\Documents\Eclipse\jython-trunk\dist\Lib\tarfile.py", line 1665, in open
raise ReadError("file could not be opened successfully")
ReadError: file could not be opened successfully
|
msg11806 (view) |
Author: Jeff Allen (jeff.allen) |
Date: 2018-03-16.07:15:20 |
|
See also #2316, and the several skips or special logic related to a different behaviour of umask permissions simulated on Windows. Some of this comes from the CPython version. A clean and consistent solution is partly a question of what we ought to *expect* from Jython on Windows.
|
|
Date |
User |
Action |
Args |
2018-03-16 07:15:20 | jeff.allen | set | messages:
+ msg11806 |
2017-03-26 07:53:38 | jeff.allen | set | nosy:
+ jeff.allen messages:
+ msg11275 versions:
+ Jython 2.7 |
2017-03-22 21:28:06 | jamesmudd | create | |
|