minio / mint

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

pull tests from minio-go sdk #92

Closed poornas closed 7 years ago

poornas commented 7 years ago

Fixes #89 - delete functional test copy on mint, and use the functional tests on minio-go sdk.

nitisht commented 7 years ago

Can we unblock this by a minio-go release?

harshavardhana commented 7 years ago

Can we unblock this by a minio-go release?

We will do soon @NitishT

harshavardhana commented 7 years ago

This is taking longer than expected, i guess we can merge and change this later?

nitisht commented 7 years ago

@poornas tested locally against latest release, looks like tests failed, also there is no input in output.log

$ cat error.log 
time="2017-08-07T13:13:03Z" level=info msg="Running functional tests for minio-go sdk...." file=functional_tests.go function:=main.main line#=4072
time="2017-08-07T13:13:03Z" level=info file=functional_tests.go function:=main.testMakeBucketErrorV2 line#=2403
time="2017-08-07T13:13:03Z" level=info msg="skipping region functional tests for non s3 runs" file=functional_tests.go function:=main.testMakeBucketErrorV2 line#=2405
time="2017-08-07T13:13:03Z" level=info file=functional_tests.go function:=main.testGetObjectClosedTwiceV2 line#=2451
time="2017-08-07T13:13:03Z" level=info file=functional_tests.go function:=main.testRemovePartiallyUploadedV2 line#=2529
time="2017-08-07T13:13:03Z" level=info file=functional_tests.go function:=main.testFPutObjectV2 line#=2596
time="2017-08-07T13:13:03Z" level=info file=functional_tests.go function:=main.testMakeBucketRegionsV2 line#=2743
time="2017-08-07T13:13:03Z" level=info msg="skipping region functional tests for non s3 runs" file=functional_tests.go function:=main.testMakeBucketRegionsV2 line#=2745
time="2017-08-07T13:13:03Z" level=info file=functional_tests.go function:=main.testGetObjectReadSeekFunctionalV2 line#=2796
time="2017-08-07T13:13:03Z" level=info file=functional_tests.go function:=main.testGetObjectReadAtFunctionalV2 line#=2926
time="2017-08-07T13:13:03Z" level=info file=functional_tests.go function:=main.testCopyObjectV2 line#=3060
time="2017-08-07T13:13:03Z" level=info file=functional_tests.go function:=main.testFunctionalV2 line#=3770
time="2017-08-07T13:13:03Z" level=info file=functional_tests.go function:=main.testComposeObjectErrorCasesV2 line#=3279
time="2017-08-07T13:13:03Z" level=info file=functional_tests.go function:=main.testCompose10KSourcesV2 line#=3344
time="2017-08-07T13:13:03Z" level=info file=functional_tests.go function:=main.testEncryptedCopyObjectV2 line#=3437
time="2017-08-07T13:13:03Z" level=info file=functional_tests.go function:=main.testUserMetadataCopyingV2 line#=3595
time="2017-08-07T13:13:04Z" level=info file=functional_tests.go function:=main.testPutObject0ByteV2 line#=3676
time="2017-08-07T13:13:04Z" level=info file=functional_tests.go function:=main.testPutObjectNoLengthV2 line#=3614
time="2017-08-07T13:13:04Z" level=info file=functional_tests.go function:=main.testMakeBucketError line#=122
time="2017-08-07T13:13:04Z" level=info msg="skipping region functional tests for non s3 runs" file=functional_tests.go function:=main.testMakeBucketError line#=125
time="2017-08-07T13:13:04Z" level=info file=functional_tests.go function:=main.testMakeBucketRegions line#=171
time="2017-08-07T13:13:04Z" level=info msg="skipping region functional tests for non s3 runs" file=functional_tests.go function:=main.testMakeBucketRegions line#=174
time="2017-08-07T13:13:04Z" level=info file=functional_tests.go function:=main.testPutObjectWithMetadata line#=310
time="2017-08-07T13:13:04Z" level=info file=functional_tests.go function:=main.testPutObjectReadAt line#=225
time="2017-08-07T13:13:05Z" level=info file=functional_tests.go function:=main.testPutObjectStreaming line#=403
time="2017-08-07T13:13:05Z" level=info file=functional_tests.go function:=main.testListPartiallyUploaded line#=465
time="2017-08-07T13:13:05Z" level=info file=functional_tests.go function:=main.testGetObjectSeekEnd line#=539
time="2017-08-07T13:13:05Z" level=info file=functional_tests.go function:=main.testGetObjectClosedTwice line#=631
time="2017-08-07T13:13:05Z" level=info file=functional_tests.go function:=main.testRemoveMultipleObjects line#=708
time="2017-08-07T13:13:14Z" level=info file=functional_tests.go function:=main.testRemovePartiallyUploaded line#=780
time="2017-08-07T13:13:14Z" level=info file=functional_tests.go function:=main.testFPutObjectMultipart line#=847
time="2017-08-07T13:13:14Z" level=fatal msg="Error: number of bytes does not match, want 67108864, got 68157440\n" file=functional_tests.go function:=main.testFPutObjectMultipart line#=910
poornas commented 7 years ago

updated PR to use release tags - @NitishT , the output log is being written to error.log above because logrus by default writes to stderr. Sent a PR to fix default output for logger in minio-go.