[ 
https://issues.apache.org/jira/browse/JCLOUDS-805?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14280202#comment-14280202
 ] 

Damiano Albani commented on JCLOUDS-805:
----------------------------------------

I still get errors with calls to {{api().updateObject()}} and 
{{api().patchObject()}}.

{noformat}
Tests run: 20, Failures: 2, Errors: 0, Skipped: 7, Time elapsed: 23.987 sec <<< 
FAILURE! - in org.jclouds.googlecloudstorage.features.ObjectApiLiveTest
testUpdateObject(org.jclouds.googlecloudstorage.features.ObjectApiLiveTest)  
Time elapsed: 4.139 sec  <<< FAILURE!
org.jclouds.rest.AuthorizationException: {
 "error": {
  "errors": [
   {
    "domain": "global",
    "reason": "forbidden",
    "message": "Forbidden"
   }
  ],
  "code": 403,
  "message": "Forbidden"
 }
}

        at 
org.jclouds.googlecloudstorage.handlers.GoogleCloudStorageErrorHandler.handleError(GoogleCloudStorageErrorHandler.java:40)
        at 
org.jclouds.http.handlers.DelegatingErrorHandler.handleError(DelegatingErrorHandler.java:65)
        at 
org.jclouds.http.internal.BaseHttpCommandExecutorService.shouldContinue(BaseHttpCommandExecutorService.java:128)
        at 
org.jclouds.http.internal.BaseHttpCommandExecutorService.invoke(BaseHttpCommandExecutorService.java:98)
        at 
org.jclouds.rest.internal.InvokeHttpMethod.invoke(InvokeHttpMethod.java:90)
        at 
org.jclouds.rest.internal.InvokeHttpMethod.apply(InvokeHttpMethod.java:73)
        at 
org.jclouds.rest.internal.InvokeHttpMethod.apply(InvokeHttpMethod.java:44)
        at 
org.jclouds.reflect.FunctionalReflection$FunctionalInvocationHandler.handleInvocation(FunctionalReflection.java:117)
        at 
com.google.common.reflect.AbstractInvocationHandler.invoke(AbstractInvocationHandler.java:87)
        at com.sun.proxy.$Proxy64.updateObject(Unknown Source)
        at 
org.jclouds.googlecloudstorage.features.ObjectApiLiveTest.testUpdateObject(ObjectApiLiveTest.java:295)
{noformat}

Same issue with {{testPatchObject()}} and {{testPatchObjectsWithOptions()}} 
methods.

> 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: 2.0.0
>            Reporter: Andrew Gaul
>              Labels: google-cloud-storage
>         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)

Reply via email to