[test-dataproc] make test-dataproc-37 and -38 not race #13573
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Consider, for example, this deploy: https://ci.hail.is/batches/7956812.
test-dataproc-37
succeeded buttest-dataproc-38
failed (it timed out b/c the master failed to come online).You can see the error logs for the cluster here: https://cloudlogging.app.goo.gl/t1ux8oqy11Ba2dih7
It states a certain file either did not exist or we did not have permission to access it.
test_dataproc-37
andtest_dataproc-38
started around the same time and both uploaded four files into:And then set it to public read/write. The public read/write means that permissions are not the issue.
Instead, the issue is that there must be some sort of race condition in GCS which means that if you "patch" (aka overwrite) an existing file, it is possible that a concurrent reader will see the file as not existing.
Unfortunately, I cannot confirm this with audit logs of the writes and read because public objects do not generate audit logs.