Klaus Post
Klaus Post
@jiuker The test *in this package* should not panic, just because it doesn't get the response it expects. It should log the error and move on.
``` mc: HTTP/1.1 200 OK Transfer-Encoding: chunked Content-Type: application/xml Date: Tue, 04 Mar 2025 07:15:25 GMT Vary: Origin,Access-Control-Request-Method,Access-Control-Request-Headers X-Amz-Request-Id: ky0AAK6UBLk8iCkY X-Log: v4mget;dirCount:0 itemCount:1000 fdelCount:0;rs1.ls:18;rs1.confirmId:69;RSF:91;RSF:92;lb.v2.2/10.44.56.17:7913:92;S3APIv2:107 X-Reqid: ky0AAK6UBLk8iCkY ``` This response is...
I expect this to be SO 🔴
Still unreleased I suppose ``` {"time":"2025-07-08T13:14:30.746595492Z","level":"ERROR","name":"minio-go: testCopyObjectWithChecksums","duration":78,"function":"CopyObjectWithChecksums(destination, source)","args":{"checksum":"CRC64NVME","destOpts":{"Bucket":"minio-go-test-djqfx9k2bx34tm44-copy","Object":"3blckv4msu6qavtf0nnwz2y6ngescp-copy-CRC64NVME","Encryption":null,"ChecksumType":16,"UserMetadata":null,"ReplaceMetadata":true,"UserTags":null,"ReplaceTags":false,"LegalHold":"","Mode":"","RetainUntilDate":"0001-01-01T00:00:00Z","Expires":"0001-01-01T00:00:00Z","ContentType":"","ContentEncoding":"","ContentDisposition":"","ContentLanguage":"","CacheControl":"","Size":0,"Progress":null},"section":"HeadObject","srcOpts":{"Bucket":"minio-go-test-djqfx9k2bx34tm44","Object":"3blckv4msu6qavtf0nnwz2y6ngescp","VersionID":"","MatchETag":"c85d1ea9d836c52e59e5be18a8f8c72e","NoMatchETag":"","MatchModifiedSince":"2014-03-31T00:00:00Z","MatchUnmodifiedSince":"0001-01-01T00:00:00Z","MatchRange":false,"Start":0,"End":0,"Encryption":null}},"status":"FAIL","message":"ChecksumMode want: FULL_OBJECT, got "} panic: Test failed with message: ChecksumMode want: FULL_OBJECT, got , err: goroutine 1 [running]: main.logError({0xe56a83, 0x1b}, {0xc7e957, 0x2c},...
> If you are concerned about breaking other people's already existing workflows, we could also hide this behavior behind a flag (Eg: `--fail-on-error`) Yeah. I think that is the only...
ok, so my only remaining reservation is that it may not exit in all cases where people would expect it, but I can live with that.
Closing. Most of this is just in-actionable questions anyway.
The stuff in the minio repo is not to be used, but the docs should be fixed.
@pierreozoux It is a report on a sample script - it is never executed. This just looks like an AI generated template, there is no HIGH severity issue here AFAICT....
Changed the title, since it is misleading.