-
Notifications
You must be signed in to change notification settings - Fork 76
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
Error: end of central directory record signature not found #595
Comments
I think there's some issue with unzipping (either with the package we use or with how we use it). It's rare that we have to unzip in production. (Maybe backup restore is the only case?) But it's common for us to unzip in testing. |
Seen in CircleCI at https://app.circleci.com/pipelines/github/getodk/central-backend/1131/workflows/f9ff55b2-5136-4834-814d-edb7a1f7ab10/jobs/1912:
|
New variation seen at https://app.circleci.com/pipelines/github/alxndrsn/odk-central-backend/182/workflows/25663dd0-3856-4c4a-9ebc-b132a26a39dc/jobs/189
|
"end of central directory record signature not found" suggests that This suggests there was an error in the backend when constructing the zipfile. This should be recreatable by throwing in e.g. Streaming responses are confusing in part because the response headers & status are written before the content of the response has been fetched from the DB / generated. |
This should make tests fail faster, and make failures easier to understand: Previously: `Error: end of central directory record signature not found` Now: `Error: expected 200 "OK", got 400 "Bad Request"` Related: * getodk#595 * getodk#588 * getodk#1052
(Moved to separate issue: #1249) |
There have been intermittent test failures with the error
Error: end of central directory record signature not found
. @ktuite and I have seen the error locally, and we also sometimes see the error on CircleCI. The error has been mentioned on the forum: https://forum.getodk.org/t/error-end-of-central-directory-record-signature-not-found/36182We've seen two versions of the error:
Version 1:
Version 2:
Version 1 of the error can be seen in this CircleCI build. I ran
make test
in CircleCI 200 times, and the error came up 6 times (all version 1). In CircleCI, we have seen the error in the following tests:List
@ktuite mentioned:
@ktuite has seen version 1 of the error in the following test:
I've seen version 2 of the error locally in the following tests:
List
The error mentioned on the forum is also version 2 of the error.
The text was updated successfully, but these errors were encountered: