==================== Test output for //pkg/util/collate:collate_test: === RUN TestUTF8CollatorCompare collate_test.go:40: Error Trace: pkg/util/collate/collate_test.go:40 pkg/util/collate/collate_test.go:81 Error: Not equal: expected: 0 actual : -1 Test: TestUTF8CollatorCompare Messages: Compare Left: a Right: a , Using utf8mb4_bin --- FAIL: TestUTF8CollatorCompare (0.00s) === RUN TestUTF8CollatorKey collate_test.go:50: Error Trace: pkg/util/collate/collate_test.go:50 pkg/util/collate/collate_test.go:143 Error: Not equal: expected: []byte{0x61} actual : []byte{0x61, 0x20} Diff: --- Expected +++ Actual @@ -1,3 +1,3 @@ -([]uint8) (len=1) { - 00000000 61 |a| +([]uint8) (len=2) { + 00000000 61 20 |a | } Test: TestUTF8CollatorKey Messages: key a , using utf8mb4_bin --- FAIL: TestUTF8CollatorKey (0.00s) === RUN TestSetNewCollateEnabled --- PASS: TestSetNewCollateEnabled (0.00s) === RUN TestRewriteAndRestoreCollationID [2024/05/07 01:58:32.447 +00:00] [WARN] [collate.go:123] ["Unexpected negative collation ID for rewrite."] [ID=-5] [2024/05/07 01:58:32.447 +00:00] [WARN] [collate.go:134] ["Unexpected positive collation ID for restore."] [ID=5] --- PASS: TestRewriteAndRestoreCollationID (0.00s) === RUN TestGetCollator [2024/05/07 01:58:32.447 +00:00] [WARN] [collate.go:145] ["Unable to get collator by name, use binCollator instead."] [name=default_test] [stack="github.com/pingcap/tidb/pkg/util/collate.GetCollator\n\tpkg/util/collate/collate.go:148\ngithub.com/pingcap/tidb/pkg/util/collate.TestGetCollator\n\tpkg/util/collate/collate_test.go:180\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595"] [2024/05/07 01:58:32.447 +00:00] [WARN] [collate.go:179] ["Unable to get collator by ID, use binCollator instead."] [ID=9999] [stack="github.com/pingcap/tidb/pkg/util/collate.GetCollatorByID\n\tpkg/util/collate/collate.go:182\ngithub.com/pingcap/tidb/pkg/util/collate.TestGetCollator\n\tpkg/util/collate/collate_test.go:190\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595"] --- PASS: TestGetCollator (0.00s) FAIL coverage: 1.3% of statements -- Coverage runner: Not collecting coverage for failed test. The following commands failed with status 1 /home/jenkins/.tidb/tmp/63a9840cd0739f2c243bb46478607469/sandbox/linux-sandbox/4929/execroot/__main__/bazel-out/k8-fastbuild/bin/pkg/util/collate/collate_test_/collate_test.runfiles/__main__/pkg/util/collate/collate_test_/collate_test ================================================================================