minio / mint

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

aws-sdk-php fails on gcs gateway #196

Closed balamurugana closed 6 years ago

balamurugana commented 6 years ago

mint silently fails when running aws-sdk-php

Running aws-sdk-php tests ... FAILED in 7 seconds
Finished running all tests.

Below is the error from /mint/log/aws-sdk-php/error.log

PHP Fatal error:  Uncaught exception 'Aws\S3\Exception\S3Exception' with message 'Error executing "CreateBucket" on "http://10.99.185.131:9000/aws-sdk-php-bucket-34012"; AWS HTTP error: Client error: `PUT http://10.99.185.131:9000/aws-sdk-php-bucket-34012` resulted in a `409 Conflict` response:
<?xml version="1.0" encoding="UTF-8"?>
<Error><Code>BucketAlreadyOwnedByYou</Code><Message>Your previous request to crea (truncated...)
 BucketAlreadyOwnedByYou (client): Your previous request to create the named bucket succeeded and you already own it. - <?xml version="1.0" encoding="UTF-8"?>
<Error><Code>BucketAlreadyOwnedByYou</Code><Message>Your previous request to create the named bucket succeeded and you already own it.</Message><Key></Key><BucketName></BucketName><Resource>/aws-sdk-php-bucket-34012</Resource><RequestId>3L137</RequestId><HostId>3L137</HostId></Error>'

GuzzleHttp\Exception\ClientException: Client error: `PUT http://10.99.185.131:9000/aws-sdk-php-bucket-34012` resulted in a `409 Conflict` response:
<?xml version="1 in /mint/run/core/aws-sdk-php/vendor/aws/aws-sdk-php/src/WrappedHttpHandler.php on line 192
krisis commented 6 years ago

@balamurugana @nitisht, I am unable to recreate this issue after several attempts. Could we reduce the priority?

nitisht commented 6 years ago

sure @krisis

can we add more random chars in the bucket name so this doesn't happen?

balamurugana commented 6 years ago

@nitisht I have already conveyed to @krisis that this issue is reproducible in packet. Increasing the priority again