syscall.read(0xc003a1fb60?, {0xc00482c800?, 0xc00b2fb000?, 0xc00b2fb050?})
GOROOT/src/syscall/zsyscall_linux_amd64.go:736 +0x38
syscall.Read(...)
GOROOT/src/syscall/syscall_unix.go:183
internal/poll.ignoringEINTRIO(...)
GOROOT/src/internal/poll/fd_unix.go:738
internal/poll.(*FD).Read(0xc003a1fb60, {0xc00482c800, 0x3b5, 0x3b5})
GOROOT/src/internal/poll/fd_unix.go:161 +0x2ae
os.(*File).read(...)
GOROOT/src/os/file_posix.go:29
os.(*File).Read(0xc0102a00c0, {0xc00482c800?, 0x563d1a0?, 0xc0102a0001?})
GOROOT/src/os/file.go:144 +0x4f
os.readFileContents(0x3b4, 0xc00b2fb1c8)
GOROOT/src/os/file.go:911 +0x90
os.ReadFile({0xc00cc11bc0?, 0x6274743?})
GOROOT/src/os/file.go:874 +0xd3
crypto/x509.loadSystemRoots()
GOROOT/src/crypto/x509/root_unix.go:70 +0x38a
crypto/x509.initSystemRoots()
GOROOT/src/crypto/x509/root.go:40 +0x56
sync.(*Once).doSlow(0xc00b2fb3d8?, 0x784cf1?)
GOROOT/src/sync/once.go:78 +0xac
sync.(*Once).Do(...)
GOROOT/src/sync/once.go:69
crypto/x509.systemRootsPool()
GOROOT/src/crypto/x509/root.go:31 +0x45
crypto/x509.(*Certificate).Verify(0xc00c77a608, {{0xc00d667780, 0x9}, 0xc00f48a6c0, 0x0, {0xc266665e4f6b3a9e, 0x12fcead1d, 0xb14ba00}, {0x0, 0x0, ...}, ...})
GOROOT/src/crypto/x509/verify.go:857 +0x15d
crypto/tls.(*Conn).verifyServerCertificate(0xc00b25bc08, {0xc00ed970b0, 0x1, 0x1})
GOROOT/src/crypto/tls/handshake_client.go:1171 +0x9fd
crypto/tls.(*clientHandshakeStateTLS13).readServerCertificate(0xc00b2fbc48)
GOROOT/src/crypto/tls/handshake_client_tls13.go:659 +0x272
crypto/tls.(*clientHandshakeStateTLS13).handshake(0xc00b2fbc48)
GOROOT/src/crypto/tls/handshake_client_tls13.go:137 +0x76c
crypto/tls.(*Conn).clientHandshake(0xc00b25bc08, {0x6fee560, 0xc00b277a40})
GOROOT/src/crypto/tls/handshake_client.go:367 +0x80e
crypto/tls.(*Conn).handshakeContext(0xc00b25bc08, {0x6fee560, 0xc00b276910})
GOROOT/src/crypto/tls/conn.go:1575 +0x372
crypto/tls.(*Conn).HandshakeContext(...)
GOROOT/src/crypto/tls/conn.go:1515
net/http.(*persistConn).addTLS.func2()
GOROOT/src/net/http/transport.go:1706 +0x6e
created by net/http.(*persistConn).addTLS in goroutine 4706
GOROOT/src/net/http/transport.go:1702 +0x309
Leaked goroutine: goroutine 4710 [select]:
crypto/tls.(*Conn).handshakeContext.func2()
GOROOT/src/crypto/tls/conn.go:1551 +0x86
created by crypto/tls.(*Conn).handshakeContext in goroutine 4709
GOROOT/src/crypto/tls/conn.go:1550 +0x265
--- FAIL: TestUseCerts (16.46s)
security.TestUseCerts failed on master @ 34dec8d534fee21c1bff5d474a55649b53e574f1:
Parameters:
attempt=1run=1shard=1Help
See also: How To Investigate a Go Test Failure (internal)
This test on roachdash | Improve this report!
Jira issue: CRDB-61690