==================== Test output for //pkg/privilege/privileges/ldap:ldap_test (shard 3 of 4): === RUN TestConnectWithTLS11 ldap_common_test.go:133: Error Trace: pkg/privilege/privileges/ldap/ldap_common_test.go:133 src/runtime/asm_amd64.s:1650 Error: Received unexpected error: listen tcp 127.0.0.1:18328: bind: address already in use Test: TestConnectWithTLS11 ldap_common_test.go:174: Error Trace: pkg/privilege/privileges/ldap/ldap_common_test.go:174 Error: Error "create ldap connection: LDAP Result Code 200 \"Network Error\": dial tcp [::1]:18328: connect: connection refused" does not contain "protocol version not supported" Test: TestConnectWithTLS11 --- FAIL: TestConnectWithTLS11 (1.66s) panic: runtime error: invalid memory address or nil pointer dereference [recovered] panic: runtime error: invalid memory address or nil pointer dereference [signal SIGSEGV: segmentation violation code=0x1 addr=0x28 pc=0xe92015] goroutine 117 [running]: testing.tRunner.func1.2({0xf51800, 0x194e4d0}) GOROOT/src/testing/testing.go:1545 +0x238 testing.tRunner.func1() GOROOT/src/testing/testing.go:1548 +0x397 panic({0xf51800?, 0x194e4d0?}) GOROOT/src/runtime/panic.go:914 +0x21f github.com/pingcap/tidb/pkg/privilege/privileges/ldap.TestConnectWithTLS11.func2() pkg/privilege/privileges/ldap/ldap_common_test.go:161 +0x35 runtime.Goexit() GOROOT/src/runtime/panic.go:523 +0x145 testing.(*common).FailNow(0xc000514820) GOROOT/src/testing/testing.go:999 +0x4a github.com/stretchr/testify/require.ErrorContains({0x1232928, 0xc000514820}, {0x122f660, 0xc000012228}, {0x10ca147, 0x1e}, {0x0, 0x0, 0x0}) external/com_github_stretchr_testify/require/require.go:332 +0xda github.com/pingcap/tidb/pkg/privilege/privileges/ldap.TestConnectWithTLS11(0xc000514820) pkg/privilege/privileges/ldap/ldap_common_test.go:174 +0x308 testing.tRunner(0xc000514820, 0x1133040) GOROOT/src/testing/testing.go:1595 +0xff created by testing.(*T).Run in goroutine 1 GOROOT/src/testing/testing.go:1648 +0x3ad -- Coverage runner: Not collecting coverage for failed test. The following commands failed with status 2 /home/jenkins/.tidb/tmp/5cfc4a16c2c6d36cce346a7a12411ff4/sandbox/linux-sandbox/4672/execroot/__main__/bazel-out/k8-fastbuild/bin/pkg/privilege/privileges/ldap/ldap_test_/ldap_test.runfiles/__main__/pkg/privilege/privileges/ldap/ldap_test_/ldap_test ================================================================================