Repository navigation
Test fail on ITStorageTest.testUpdateBlob #220
Copy link
Copy link
Closed
Labels
api: storageIssues related to the Cloud Storage API.Issues related to the Cloud Storage API.type: questionRequest for information or clarification. Not an issue.Request for information or clarification. Not an issue.
Description
After merging #211 travis build for oraclejdk7 failed with an error in ITStorageTest.testUpdate:
testUpdateBlob(com.google.gcloud.storage.ITStorageTest) Time elapsed: 10.421 sec <<< ERROR!
com.google.gcloud.storage.StorageException: Backend Error
at com.google.api.client.googleapis.json.GoogleJsonResponseException.from(GoogleJsonResponseException.java:145)
at com.google.api.client.googleapis.services.json.AbstractGoogleJsonClientRequest.newExceptionOnError(AbstractGoogleJsonClientRequest.java:113)
at com.google.api.client.googleapis.services.json.AbstractGoogleJsonClientRequest.newExceptionOnError(AbstractGoogleJsonClientRequest.java:40)
at com.google.api.client.googleapis.services.AbstractGoogleClientRequest$1.interceptResponse(AbstractGoogleClientRequest.java:321)
at com.google.api.client.http.HttpRequest.execute(HttpRequest.java:1056)
at com.google.api.client.googleapis.services.AbstractGoogleClientRequest.executeUnparsed(AbstractGoogleClientRequest.java:419)
at com.google.api.client.googleapis.services.AbstractGoogleClientRequest.executeUnparsed(AbstractGoogleClientRequest.java:352)
at com.google.api.client.googleapis.services.AbstractGoogleClientRequest.execute(AbstractGoogleClientRequest.java:469)
at com.google.gcloud.spi.DefaultStorageRpc.patch(DefaultStorageRpc.java:231)
at com.google.gcloud.storage.StorageImpl$11.call(StorageImpl.java:343)
at com.google.gcloud.storage.StorageImpl$11.call(StorageImpl.java:340)
at com.google.gcloud.RetryHelper.doRetry(RetryHelper.java:181)
at com.google.gcloud.RetryHelper.runWithRetries(RetryHelper.java:247)
at com.google.gcloud.RetryHelper.runWithRetries(RetryHelper.java:237)
at com.google.gcloud.storage.StorageImpl.update(StorageImpl.java:340)
at com.google.gcloud.storage.ITStorageTest.testUpdateBlob(ITStorageTest.java:150)
I never experienced this error locally and it seems not to occur always (builds for other java versions and next builds succeeded). The error message Backend Error makes me think that the problem resides outside of our library. I open this issue just to double check with you guys, can we consider this as a sporadic error?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
api: storageIssues related to the Cloud Storage API.Issues related to the Cloud Storage API.type: questionRequest for information or clarification. Not an issue.Request for information or clarification. Not an issue.
Activity
aozarov commentedon Oct 7, 2015
We should probably configure
RemoteGcsHelperto use something better thanRetryParams.noRetries().mziccard commentedon Oct 7, 2015
Yes this error could have probably been avoided by using
RetryParams.getDefaultInstance().aozarov commentedon Oct 8, 2015
I think default settings are not enough.
I asked @ajkannan to change it to similar settings that we set in AE mapreduce library. See #231.
This is likely to fix the problem but if not than I am sure #232 would help.
aozarov commentedon Oct 9, 2015
I think we still need #232 for this to be fixed.
aozarov commentedon Oct 23, 2015
We still see this failures.
I wonder if we are actually not retrying in some condition where we should be.
ajkannan commentedon Nov 13, 2015
Adding another error seen a couple times recently:
aozarov commentedon Nov 13, 2015
The above error should be significantly reduced after issue #371 is fixed.
mziccard commentedon Oct 24, 2016
This issue is very old and contains a bunch of exceptions that possibly have different causes. Some o which are already fixed. I am closing this, we should favor opening 1 issue for each flakey or failing test. Feel free to reopen if you disagree.
16 remaining items
chore(main): release 0.6.3 (#229)
chore(main): release 1.3.4 (#236)
chore(main): release 1.3.4 (#233)
chore(main): release 1.3.1 (#205)
chore(main): release 1.2.1 (#224)
chore(main): release 1.3.4 (#221)
chore(deps): update dependency com.google.cloud:google-cloud-logging-…
docs: update libraries-bom (#220)
chore: release 1.105.1 (#221)
Use OutputStream directly instead of PrintWriter (#220)
Use OutputStream directly instead of PrintWriter (#220)
chore: release 1.17.2 (googleapis#220)
deps: remove grpc test dep since it's now in shared-deps (#220)
deps: remove grpc test dep since it's now in shared-deps (#220)
chore: use java helper for templates (googleapis#220)