-
Notifications
You must be signed in to change notification settings - Fork 5
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
BUG: Zip file output sometimes corrupted on Linux #36
Comments
This is currently blocking the |
Following investigation in #44, it was observed that the The Tensorstore Following offline discussion, we will disable the failing test for now to prevent blocking PyPI releases and continue investigation in parallel with subsequent work. |
Disable "IOOMEZarrNGFF_inMemory_zip" test which sometimes writes a corrupted archive on Linux. "zip" tensorstore driver will be investigated independently in the InsightSoftwareConsortium Tensorstore fork and enabled when "zip" write on Linux is supported again. InsightSoftwareConsortium#36
Disable "IOOMEZarrNGFF_inMemory_zip" test which sometimes writes a corrupted archive on Linux. "zip" tensorstore driver will be investigated independently in the InsightSoftwareConsortium Tensorstore fork and enabled when "zip" write on Linux is supported again. InsightSoftwareConsortium#36
After all the contents are added to in-memory zip file, the buffer size is 47447. After I will now try to fix this. I originally wrote this in the wrong issue's discussion: #48 (comment) |
Looking at tensorstore's commit log, there were some fixes recently regarding caches and deep copies. I will rebase our changes on top of current master, to see whether that resolves the problem. |
With rebasing, I ran into a snag: google/tensorstore#110. |
With building cleared up, the rebase does not help with crashes. We should still use the newer version of tensorstore, so I created this PR: |
#54 fixes the problem via a workaround. I still think that the original problem was caused by the ~ZipEncapsulator() destructor not always being called. But digging through tensorstore internals seemed daunting. |
Overview
Tests for reading from
.zip
file store sometimes fail. Exact cause is unclear at the moment.First CI run (failed)
https://github.com/InsightSoftwareConsortium/ITKIOOMEZarrNGFF/actions/runs/5716549674/job/15488329023?pr=35
Second CI run, no changes (passing):
https://github.com/InsightSoftwareConsortium/ITKIOOMEZarrNGFF/actions/runs/5716549674/job/15490659684?pr=35
Workaround
Re-running CI seems to work for now.
The text was updated successfully, but these errors were encountered: