Repository navigation
Conversation
I think it's preferable. |
|
Retrying is definitely preferable—fixed waits are a waste of valuable testing time when they're not necessary, and fragile otherwise. |
|
Why is |
c1fcefa to
803c1db
Compare
803c1db to
743d33f
Compare
This operation can fail due to log file contention, retrying should reduce this occurance. [00:27:35] Traceback (most recent call last): [00:27:35] File "C:\projects\bitcoin/test/functional/feature_notifications.py", line 88, in <module> [00:27:35] NotificationsTest().main() [00:27:35] File "C:\projects\bitcoin\test\functional\test_framework\test_framework.py", line 223, in main [00:27:35] shutil.rmtree(self.options.tmpdir) [00:27:35] File "C:\Python37-x64\lib\shutil.py", line 507, in rmtree [00:27:35] return _rmtree_unsafe(path, onerror) [00:27:35] File "C:\Python37-x64\lib\shutil.py", line 386, in _rmtree_unsafe [00:27:35] _rmtree_unsafe(fullname, onerror) [00:27:35] File "C:\Python37-x64\lib\shutil.py", line 386, in _rmtree_unsafe [00:27:35] _rmtree_unsafe(fullname, onerror) [00:27:35] File "C:\Python37-x64\lib\shutil.py", line 391, in _rmtree_unsafe [00:27:35] onerror(os.unlink, fullname, sys.exc_info()) [00:27:35] File "C:\Python37-x64\lib\shutil.py", line 389, in _rmtree_unsafe [00:27:35] os.unlink(fullname) [00:27:35] PermissionError: [WinError 32] The process cannot access the file because it is being used by another process: 'C:\\Users\\appveyor\\AppData\\Local\\Temp\\1\\test_runner_20190115_020102\\feature_notifications_45\\node0\\regtest\\debug.log' https://ci.appveyor.com/project/DrahtBot/bitcoin/builds/21618398
743d33f to
2a9d4e5
Compare
|
The |
|
I mean The doc doesn't really say if it is async or sync |
|
I think they're distinct concerns, because they concern different files/folders. Seems bitcoin/test/functional/test_framework/test_framework.py Lines 395 to 398 in cd42553 I'm not clear on is what would be accessing the log though. Shutdown has occurred by this point so I don't think it could be node0 bitcoind. |
|
I haven't seen this since, so we may want to hold on it until it shows up again. |
|
Closing pending possible future sighting. |
This operation can fail due to log file contention, waiting should reduce this occurance.
An alternative is to retry, but that requires quite a few lines in Python so this seems more
appropriate.
https://ci.appveyor.com/project/DrahtBot/bitcoin/builds/21618398