[
https://issues.apache.org/jira/browse/JCLOUDS-805?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14317351#comment-14317351
]
Daniel Broudy commented on JCLOUDS-805:
---------------------------------------
The problem appears to be in the logic of GoogleCloudStorageOAuthScopes.Java
A request needs fullControlScopes whenever it attempts to change acls
For example the BucketApiLiveTest is failing Update and Patch requests because
they try to modify Acls and GoogleCloudStorageOAuthScopes is only assigning
readOrWriteScopes.
> Google Cloud Storage integration test failures
> ----------------------------------------------
>
> Key: JCLOUDS-805
> URL: https://issues.apache.org/jira/browse/JCLOUDS-805
> Project: jclouds
> Issue Type: Bug
> Components: jclouds-blobstore
> Affects Versions: 1.9.0
> Reporter: Andrew Gaul
> Assignee: Bhathiya Supun
> Labels: google-cloud-storage
> Fix For: 1.9.0
>
> Attachments: testresults.txt
>
>
> {noformat}
> Failed tests:
>
> GoogleCloudStorageBlobIntegrationLiveTest>BaseBlobIntegrationTest.testPutByteSource:531->BaseBlobIntegrationTest.testPut:574
> » HttpResponse
>
> GoogleCloudStorageBlobIntegrationLiveTest>BaseBlobIntegrationTest.testPutIncorrectContentMD5:277
> null
>
> GoogleCloudStorageBlobIntegrationLiveTest>BaseBlobIntegrationTest.testPutInputStream:539->BaseBlobIntegrationTest.testPut:574
> » HttpResponse
>
> GoogleCloudStorageContainerIntegrationLiveTest>BaseContainerIntegrationTest.deleteContainerIfEmptyWithoutContents:372
> » ResourceNotFound
>
> GoogleCloudStorageContainerIntegrationLiveTest>BaseContainerIntegrationTest.testListContainerGetBlobSize:409
> expected [42] but found [null]
>
> GoogleCloudStorageContainerIntegrationLiveTest>BaseContainerIntegrationTest.testListMarkerAfterLastKey:88
> » HttpResponse
> ResumableUploadApiLiveTest.testResumableChunkedUpload:120 expected object
> to not be null
> ResumableUploadApiLiveTest.testResumableJpegUpload:83 expected object to
> not be null
> BucketApiLiveTest.testPatchBucket:192 » Authorization {
> "error": {
> "errors"...
> BucketApiLiveTest.testUpdateBucket:133 » Authorization {
> "error": {
> "errors...
> BucketApiLiveTest.testUpdateBucketWithOptions:146 » Authorization {
> "error": ...
> ObjectApiLiveTest.testSimpleJpegUpload:157->checkHashCodes:399 expected
> [8FdApr35Ql5P3B1cOAavYg==] but found [f05740a6bdf9425e4fdc1d5c3806af62]
> ObjectApiLiveTest.testUpdateObject:293 » Authorization {
> "error": {
> "errors...
> ObjectApiLiveTest.deleteBucket:425 » IllegalState {
> "error": {
> "errors": [
> ...
> Tests run: 100, Failures: 14, Errors: 0, Skipped: 17
> {noformat}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)