minio / mint

Collection of tests to detect overall correctness of MinIO server.
Apache License 2.0
78 stars 50 forks source link

minio-go test fails on azure gateway #189

Closed balamurugana closed 6 years ago

balamurugana commented 6 years ago

While running mint against azure gateway fails with below error

Running minio-go tests ... FAILED in 3 seconds
{ 
  "alert": "",
  "args": {},
  "duration": 72,
  "error": "A header you provided implies functionality that is not implemented",
  "function": "testFunctionalV2()",
  "message": "SetBucketPolicy failed",
  "name": "minio-go",
  "status": "fail"
}

Respective server side log

ERRO[0408] Unable to read bucket policy.                 cause=Policy not found source=[gateway-handlers.go:554:gatewayAPIHandlers.GetBucketPolicyHandler()] stack=gateway-azure.go:853:(*azureObjects).GetBucketPolicies gateway-handlers.go:552:gatewayAPIHandlers.GetBucketPolicyHandler gateway-router.go:97:(gatewayAPIHandlers).GetBucketPolicyHandler-fm
ERRO[0466] Unable to validate content-md5 format.        cause=illegal base64 data at input byte 4 source=[gateway-handlers.go:205:gatewayAPIHandlers.PutObjectHandler()]
ERRO[0468] {"method":"PUT","reqURI":"/awscli-mint-test-bucket-4052/datafile-1-MB","header":{"Accept-Encoding":["identity"],"Authorization":["AWS4-HMAC-SHA256 Credential=minioazure1/20171021/us-east-1/s3/aws4_request, SignedHeaders=content-length;content-md5;host;x-amz-content-sha256;x-amz-date, Signature=3ccf742f5979dca00548332ace4b914c5ddf309d70d540cbaed2c79dcd19e396"],"Content-Length":["1048576"],"Content-Md5":["/jCUCgXnG9eMBe+0n5jvOw=="],"Expect":["100-continue"],"Host":["10.99.185.131:9000"],"User-Agent":["aws-cli/1.11.112 Python/3.5.2 Linux/4.10.0-24-generic botocore/1.5.75"],"X-Amz-Content-Sha256":["194fda391f171a59875c3917110e0be72d9ac3d1abc6fbefaebede244e53b5f9"],"X-Amz-Date":["20171021T153455Z"]}}  cause=Signature does not match source=[gateway-handlers.go:295:gatewayAPIHandlers.PutObjectHandler()]
ERRO[0502] Unable to read bucket policy.                 cause=Policy not found source=[gateway-handlers.go:554:gatewayAPIHandlers.GetBucketPolicyHandler()] stack=gateway-azure.go:853:(*azureObjects).GetBucketPolicies gateway-handlers.go:552:gatewayAPIHandlers.GetBucketPolicyHandler gateway-router.go:97:(gatewayAPIHandlers).GetBucketPolicyHandler-fm