New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
test_bufio failures on Win64 buildbot #59397
Comments
test_bufio fails sporadically on the AMD64 Windows7 SP1 buildbot, e.g.: test_nullpat (test.test_bufio.CBufferSizeTest) ... ok ====================================================================== Traceback (most recent call last):
File "C:\Users\Buildbot\buildbot.python.org\3.x.kloth-win64\build\lib\test\test_bufio.py", line 59, in test_primepat
self.drive_one(b"1234567890\00\01\02\03\04\05\06")
File "C:\Users\Buildbot\buildbot.python.org\3.x.kloth-win64\build\lib\test\test_bufio.py", line 52, in drive_one
self.try_one(teststring)
File "C:\Users\Buildbot\buildbot.python.org\3.x.kloth-win64\build\lib\test\test_bufio.py", line 20, in try_one
support.unlink(support.TESTFN)
File "C:\Users\Buildbot\buildbot.python.org\3.x.kloth-win64\build\lib\test\support.py", line 229, in unlink
os.unlink(filename)
PermissionError: [Error 5] Access is denied: '@test_2420_tmp' Is there some kind of anti-virus installed on the machine? |
Looks similar to the sporadic test_reprlib failure. Roumen has explained http://bugs.python.org/issue14599#msg162727 I didn't test myself though, just a guess. |
I don't think there's anything similar. The path is much smaller in |
I've changed the malware scanner to disable real-time protection and Note that I could reproduce intermittent failures when using '-j' of |
Thank you. I hope that, thanks to this change, we later can make the |
The implementation of test.support.unlink() was changed since. It tries to change permissions of read-only files, and repeat attempts several times. It looks more reliable now. Is this issue still reproducible? |
I've not seen this issue on that worker for a very long time; closing the issue. |
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
bugs.python.org fields:
The text was updated successfully, but these errors were encountered: