==================== 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:1695 Error: Received unexpected error: listen tcp 127.0.0.1:17583: 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]:17583: connect: connection refused" does not contain "protocol version not supported" Test: TestConnectWithTLS11 --- FAIL: TestConnectWithTLS11 (1.54s) 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=0xeb45b5] goroutine 80 [running]: testing.tRunner.func1.2({0xf75060, 0x1baebf0}) GOROOT/src/testing/testing.go:1631 +0x24a testing.tRunner.func1() GOROOT/src/testing/testing.go:1634 +0x377 panic({0xf75060?, 0x1baebf0?}) GOROOT/src/runtime/panic.go:770 +0x132 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:626 +0x5e testing.(*common).FailNow(0xc000413d40) GOROOT/src/testing/testing.go:1005 +0x4a github.com/stretchr/testify/require.ErrorContains({0x1260048, 0xc000413d40}, {0x125ce00, 0xc0005a8438}, {0x10f04d9, 0x1e}, {0x0, 0x0, 0x0}) external/com_github_stretchr_testify/require/require.go:332 +0xff github.com/pingcap/tidb/pkg/privilege/privileges/ldap.TestConnectWithTLS11(0xc000413d40) pkg/privilege/privileges/ldap/ldap_common_test.go:174 +0x308 testing.tRunner(0xc000413d40, 0x1159ea0) GOROOT/src/testing/testing.go:1689 +0xfb created by testing.(*T).Run in goroutine 1 GOROOT/src/testing/testing.go:1742 +0x390 -- Coverage runner: Not collecting coverage for failed test. The following commands failed with status 2 /home/jenkins/.tidb/tmp/63a9840cd0739f2c243bb46478607469/sandbox/linux-sandbox/4675/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 ================================================================================