You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@jclouds.apache.org by "Andrew Gaul (JIRA)" <ji...@apache.org> on 2013/10/17 22:56:41 UTC

[jira] [Created] (JCLOUDS-351) testCopyIfModifiedSince fails against AWS-S3

Andrew Gaul created JCLOUDS-351:
-----------------------------------

             Summary: testCopyIfModifiedSince fails against AWS-S3
                 Key: JCLOUDS-351
                 URL: https://issues.apache.org/jira/browse/JCLOUDS-351
             Project: jclouds
          Issue Type: Bug
          Components: jclouds-blobstore
    Affects Versions: 1.6.3
            Reporter: Andrew Gaul


testCopyIfModifiedSince(org.jclouds.aws.s3.AWSS3ClientLiveTest)  Time elapsed: 2.929 sec  <<< FAILURE!
org.jclouds.aws.AWSResponseException: request PUT https://gaul-blobstore1330667931334611482.s3.amazonaws.com/pears HTTP/1.1 failed with code 412, error: AWSError{requestId='...', requestToken='...', code='PreconditionFailed', message='At least one of the pre-conditions you specified did not hold', context='{Condition=x-amz-copy-source-If-Modified-Since, HostId=...}'}
        at org.jclouds.aws.handlers.ParseAWSErrorFromXmlContent.handleError(ParseAWSErrorFromXmlContent.java:76)
        at org.jclouds.http.handlers.DelegatingErrorHandler.handleError(DelegatingErrorHandler.java:67)
        at org.jclouds.http.internal.BaseHttpCommandExecutorService.shouldContinue(BaseHttpCommandExecutorService.java:180)
        at org.jclouds.http.internal.BaseHttpCommandExecutorService.invoke(BaseHttpCommandExecutorService.java:150)
        at org.jclouds.rest.internal.InvokeSyncToAsyncHttpMethod.invoke(InvokeSyncToAsyncHttpMethod.java:131)
        at org.jclouds.rest.internal.InvokeSyncToAsyncHttpMethod.apply(InvokeSyncToAsyncHttpMethod.java:97)
        at org.jclouds.rest.internal.InvokeSyncToAsyncHttpMethod.apply(InvokeSyncToAsyncHttpMethod.java:58)
        at org.jclouds.rest.internal.DelegatesToInvocationFunction.handle(DelegatesToInvocationFunction.java:157)
        at org.jclouds.rest.internal.DelegatesToInvocationFunction.invoke(DelegatesToInvocationFunction.java:124)
        at com.sun.proxy.$Proxy56.copyObject(Unknown Source)
        at org.jclouds.s3.S3ClientLiveTest.testCopyIfModifiedSince(S3ClientLiveTest.java:374)



--
This message was sent by Atlassian JIRA
(v6.1#6144)