ningyougang commented on issue #4587: S3AttachmentStoreMinioTests test cases 
run failed
URL: https://github.com/apache/openwhisk/issues/4587#issuecomment-523325918
 
 
   @chetanmeh , there has three requests, the first and the second is 
successful, the third is failed, detail as below
   #### The first request
   ```
   POST 
/test-ow-travis/whiskentity/null_ns_orh8m/attachment_unique/28889a7d-d619-4298-889a-7dd619f29874?uploads
 HTTP/1.1
   Cache-Control: max-age=31536000
   x-amz-acl: private
   Host: localhost:9000
   x-amz-date: 20190821T064815Z
   x-amz-content-sha256: 
e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
   Authorization: AWS4-HMAC-SHA256 
Credential=TESTKEY/20190821/us-west-2/s3/aws4_request, 
SignedHeaders=cache-control;host;x-amz-acl;x-amz-content-sha256;x-amz-date, 
Signature=d63a4ecc52a20f007d8606d523e514ec0272e11e66cf3f287c025d232e5c608c
   User-Agent: akka-http/10.1.8
   Content-Type: application/octet-stream
   Content-Length: 0
   
   HTTP/1.1 200 OK
   Accept-Ranges: bytes
   Content-Length: 329
   Content-Security-Policy: block-all-mixed-content
   Content-Type: application/xml
   Server: MinIO/RELEASE.2019-08-14T20-37-41Z
   Vary: Origin
   X-Amz-Request-Id: 15BCDD4DA1629191
   X-Xss-Protection: 1; mode=block
   Date: Wed, 21 Aug 2019 06:48:15 GMT
   
   <?xml version="1.0" encoding="UTF-8"?>
   <InitiateMultipartUploadResult 
xmlns="http://s3.amazonaws.com/doc/2006-03-01/";><Bucket>test-ow-travis</Bucket><Key>whiskentity/null_ns_orh8m/attachment_unique/28889a7d-d619-4298-889a-7dd619f29874</Key><UploadId>94febcc3-e216-44e3-b8de-5e0dad49e815</UploadId></InitiateMultipartUploadResult>
   ```
   
   #### The second request
   ```
   PUT 
/test-ow-travis/whiskentity/null_ns_orh8m/attachment_unique/28889a7d-d619-4298-889a-7dd619f29874?partNumber=1&uploadId=94febcc3-e216-44e3-b8de-5e0dad49e815
 HTTP/1.1
   Host: localhost:9000
   x-amz-date: 20190821T064816Z
   x-amz-content-sha256: 
d8b3b74e29a59168a9ac7d2a3d633fc9615e892a77dd8f3b92929839f7eda881
   Authorization: AWS4-HMAC-SHA256 
Credential=TESTKEY/20190821/us-west-2/s3/aws4_request, 
SignedHeaders=host;x-amz-content-sha256;x-amz-date, 
Signature=2948b6902b49769692d02b3e79682ceb8668738d91445e3488cd94a91af7ab95
   User-Agent: akka-http/10.1.8
   Content-Type: application/octet-stream
   Content-Length: 32768
   
   ......
   
   HTTP/1.1 200 OK
   Accept-Ranges: bytes
   Content-Length: 0
   Content-Security-Policy: block-all-mixed-content
   ETag: "f4db0fb4229cffe0beaac21972d3184d-1"
   Server: MinIO/RELEASE.2019-08-14T20-37-41Z
   Vary: Origin
   X-Amz-Request-Id: 15BCDD4DA81EBADA
   X-Xss-Protection: 1; mode=block
   Date: Wed, 21 Aug 2019 06:48:16 GMT
   ```
   
   ### The third request
   ```
   POST 
/test-ow-travis/whiskentity/null_ns_orh8m/attachment_unique/28889a7d-d619-4298-889a-7dd619f29874?uploadId=94febcc3-e216-44e3-b8de-5e0dad49e815
 HTTP/1.1
   Host: localhost:9000
   x-amz-date: 20190821T064816Z
   x-amz-content-sha256: 
df7e157012446d5d02b02d9d3861f9e4d9a57ca48592279aa0d1af91c9bd28d7
   Authorization: AWS4-HMAC-SHA256 
Credential=TESTKEY/20190821/us-west-2/s3/aws4_request, 
SignedHeaders=host;x-amz-content-sha256;x-amz-date, 
Signature=8610649b12cf0e38264488e5e77bb77fc3335f432cb2a28313f5e96f2a6772bd
   User-Agent: akka-http/10.1.8
   Content-Type: text/xml; charset=UTF-8
   Content-Length: 189
   
   <CompleteMultipartUpload>
                       
<Part><PartNumber>1</PartNumber><ETag>&quot;f4db0fb4229cffe0beaac21972d3184d-1&quot;</ETag></Part>
                     </CompleteMultipartUpload>HTTP/1.1 400 Bad Request
   Accept-Ranges: bytes
   Content-Length: 597
   Content-Security-Policy: block-all-mixed-content
   Content-Type: application/xml
   Server: MinIO/RELEASE.2019-08-14T20-37-41Z
   Vary: Origin
   X-Amz-Request-Id: 15BCDD4DABCF2E0D
   X-Xss-Protection: 1; mode=block
   Date: Wed, 21 Aug 2019 06:48:16 GMT
   
   <?xml version="1.0" encoding="UTF-8"?>
   <Error><Code>InvalidPart</Code><Message>One or more of the specified parts 
could not be found.  The part may not have been uploaded, or the specified 
entity tag may not match the part&#39;s entity 
tag.</Message><Key>whiskentity/null_ns_orh8m/attachment_unique/28889a7d-d619-4298-889a-7dd619f29874</Key><BucketName>test-ow-travis</BucketName><Resource>/test-ow-travis/whiskentity/null_ns_orh8m/attachment_unique/28889a7d-d619-4298-889a-7dd619f29874</Resource><RequestId>15BCDD4DABCF2E0D</RequestId><HostId>3eb06888-9120-4a99-b70d-c6af74122c33</HostId></Error>
   ```
   
   Have any idea about the thrid request why failed?

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to