minio / mint

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

minio-go tests fail on server #219

Closed nitisht closed 6 years ago

nitisht commented 6 years ago

minio-go tests fail silently on server. error.log is empty and no log printed on console.

root@mint-test:~# sudo docker run -e "SERVER_ENDPOINT=127.0.0.1:9000" -e "ACCESS_KEY=minio" -e "SECRET_KEY=minio123" -e "ENABLE_HTTPS=0" --net=host minio/mint:edge minio-goRunning with
SERVER_ENDPOINT: 127.0.0.1:9000
ACCESS_KEY:      minio
SECRET_KEY:      ***REDACTED***
ENABLE_HTTPS:    0
SERVER_REGION:   us-east-1
MINT_DATA_DIR:   /mint/data
MINT_MODE:       core

To get logs, run 'sudo docker cp 4ca1c77c9ed3:/mint/log /tmp/mint-logs'
(1/1) Running minio-go tests ... FAILED in 0 seconds

Executed 0 out of 1 tests successfully.

log.json has following entry

{"alert":"","args":{},"duration":9,"error":"Requests specifying Server Side Encryption with Customer provided keys must be made over a secure connection","function":"testEncryptedCopyObjectWrapper(minioClient)","message":"PutObject call failed","name":"minio-go","status":"fail"}

We should check if ENABLE_HTTPS is set 0, we can probably ignore encryption related tests.