minio / mint

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

awscli: Functional test fails and continues execution #296

Closed kannappanr closed 6 years ago

kannappanr commented 6 years ago
{"name": "awscli", "duration": 1167, "function": "make_bucket\n", "status": "PASS"}
{"name": "awscli", "duration": 1623, "function": "aws --endpoint-url http://192.168.86.26:9000 s3api get-object --bucket awscli-mint-test-bucket-32170 --key datafile-1-MB /tmp/datafile-1-MB\n", "status": "PASS"}
{"name": "awscli", "duration": 4941, "function": "aws --endpoint-url http://192.168.86.26:9000 s3api head-object --bucket awscli-mint-test-bucket-4376 --key prefix/directory/\n", "status": "FAIL", "error": "An error occurred (404) when calling the HeadObject operation: Not Found"}
{"name": "awscli", "duration": 2301, "function": "aws --endpoint-url http://192.168.86.26:9000 s3 cp /mint/data/datafile-65-MB s3://awscli-mint-test-bucket-14263/datafile-65-MB\n", "status": "PASS"}
{"name": "awscli", "duration": 2155, "function": "aws --endpoint-url http://192.168.86.26:9000 s3 sync /mint/data s3://awscli-mint-test-bucket-3945/\n", "status": "PASS"}
{"name": "awscli", "duration": 2234, "function": "aws --endpoint-url http://192.168.86.26:9000 s3api list-objects-v2 --bucket awscli-mint-test-bucket-3817 --prefix datafile-1-MB --max-keys=-1\n", "status": "PASS"}
{"name": "awscli", "duration": 4265, "function": "aws --endpoint-url http://192.168.86.26:9000 s3api put-object --body /mint/data/datafile-1-MB --bucket awscli-mint-test-bucket-19111 --key datafile-1-MB --content-length -1\n", "status": "PASS"}

Awscli doesn't stop execution even after a failure. The test here is wrong and needs to be fixed. This can be reproduced by running minio in FS mode and running awscli sdk 's mint test