Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

crypto/tls: TestServerHandshakeContextCancellation failures #55274

Closed
gopherbot opened this issue Sep 20, 2022 · 2 comments
Closed

crypto/tls: TestServerHandshakeContextCancellation failures #55274

gopherbot opened this issue Sep 20, 2022 · 2 comments
Labels
NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.

Comments

@gopherbot
Copy link

#!watchflakes
post <- pkg == "crypto/tls" && test == "TestServerHandshakeContextCancellation"

Bug automatically created to collect these failures.

Example log:

panic: test timed out after 6m0s

runtime.gopark(0x0?, 0xc00021a518?, 0xc8?, 0xa5?, 0xc00021a548?)
	C:/workdir/go/src/runtime/proc.go:363 +0xd6 fp=0xc000335288 sp=0xc000335268 pc=0x43d556
runtime.netpollblock(0xc000280400?, 0x7686f8?, 0x0?)
	C:/workdir/go/src/runtime/netpoll.go:526 +0xf7 fp=0xc0003352c0 sp=0xc000335288 pc=0x433557
internal/poll.runtime_pollWait(0x27fad498, 0x72)
	C:/workdir/go/src/runtime/netpoll.go:305 +0x89 fp=0xc0003352e0 sp=0xc0003352c0 pc=0x465ec9
internal/poll.(*pollDesc).wait(0x288acd10?, 0x288acd10?, 0x0)
	C:/workdir/go/src/internal/poll/fd_poll_runtime.go:84 +0x32 fp=0xc000335308 sp=0xc0003352e0 pc=0x4a2372
...
	C:/workdir/go/src/crypto/tls/handshake_server.go:43 +0x46 fp=0xc000335cb0 sp=0xc000335ad8 pc=0x6436e6
crypto/tls.(*Conn).serverHandshake-fm({0x7c4118?, 0xc000218080?})
	<autogenerated>:1 +0x39 fp=0xc000335cd8 sp=0xc000335cb0 pc=0x69dc19
crypto/tls.(*Conn).handshakeContext(0xc0000c2380, {0x7c4118, 0xc000218040})
	C:/workdir/go/src/crypto/tls/conn.go:1462 +0x32f fp=0xc000335ea0 sp=0xc000335cd8 pc=0x6234af
crypto/tls.(*Conn).HandshakeContext(...)
	C:/workdir/go/src/crypto/tls/conn.go:1405
crypto/tls.TestServerHandshakeContextCancellation(0xc00020cea0)
	C:/workdir/go/src/crypto/tls/handshake_server_test.go:1953 +0x22f fp=0xc000335f70 sp=0xc000335ea0 pc=0x685f8f
testing.tRunner(0xc00020cea0, 0x767c68)

watchflakes

@gopherbot gopherbot added the NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one. label Sep 20, 2022
@gopherbot
Copy link
Author

Found new matching dashboard test flakes for:

#!watchflakes
post <- pkg == "crypto/tls" && test == "TestServerHandshakeContextCancellation"
2022-08-08 14:10 windows-amd64-2012 go@964f0c7a crypto/tls.TestServerHandshakeContextCancellation (log)
panic: test timed out after 6m0s

runtime.gopark(0x0?, 0xc00021a518?, 0xc8?, 0xa5?, 0xc00021a548?)
	C:/workdir/go/src/runtime/proc.go:363 +0xd6 fp=0xc000335288 sp=0xc000335268 pc=0x43d556
runtime.netpollblock(0xc000280400?, 0x7686f8?, 0x0?)
	C:/workdir/go/src/runtime/netpoll.go:526 +0xf7 fp=0xc0003352c0 sp=0xc000335288 pc=0x433557
internal/poll.runtime_pollWait(0x27fad498, 0x72)
	C:/workdir/go/src/runtime/netpoll.go:305 +0x89 fp=0xc0003352e0 sp=0xc0003352c0 pc=0x465ec9
internal/poll.(*pollDesc).wait(0x288acd10?, 0x288acd10?, 0x0)
	C:/workdir/go/src/internal/poll/fd_poll_runtime.go:84 +0x32 fp=0xc000335308 sp=0xc0003352e0 pc=0x4a2372
...
	C:/workdir/go/src/crypto/tls/handshake_server.go:43 +0x46 fp=0xc000335cb0 sp=0xc000335ad8 pc=0x6436e6
crypto/tls.(*Conn).serverHandshake-fm({0x7c4118?, 0xc000218080?})
	<autogenerated>:1 +0x39 fp=0xc000335cd8 sp=0xc000335cb0 pc=0x69dc19
crypto/tls.(*Conn).handshakeContext(0xc0000c2380, {0x7c4118, 0xc000218040})
	C:/workdir/go/src/crypto/tls/conn.go:1462 +0x32f fp=0xc000335ea0 sp=0xc000335cd8 pc=0x6234af
crypto/tls.(*Conn).HandshakeContext(...)
	C:/workdir/go/src/crypto/tls/conn.go:1405
crypto/tls.TestServerHandshakeContextCancellation(0xc00020cea0)
	C:/workdir/go/src/crypto/tls/handshake_server_test.go:1953 +0x22f fp=0xc000335f70 sp=0xc000335ea0 pc=0x685f8f
testing.tRunner(0xc00020cea0, 0x767c68)
2022-08-08 14:10 freebsd-386-12_3 go@5405df09 crypto/tls.TestServerHandshakeContextCancellation (log)
panic: test timed out after 3m0s

runtime.gopark(0x8374ec4, 0x38d01bf0, 0x2, 0x1b, 0x5)
	/tmp/workdir/go/src/runtime/proc.go:363 +0xf6 fp=0x39047944 sp=0x39047930 pc=0x8082866
runtime.netpollblock(0x38d01be4, 0x72, 0x0)
	/tmp/workdir/go/src/runtime/netpoll.go:526 +0xe4 fp=0x3904795c sp=0x39047944 pc=0x807b8e4
internal/poll.runtime_pollWait(0x38d01be4, 0x72)
	/tmp/workdir/go/src/runtime/netpoll.go:305 +0x4c fp=0x39047970 sp=0x3904795c pc=0x80abfdc
internal/poll.(*pollDesc).wait(0x3956e654, 0x72, 0x0)
	/tmp/workdir/go/src/internal/poll/fd_poll_runtime.go:84 +0x31 fp=0x39047984 sp=0x39047970 pc=0x80d6cf1
...
	/tmp/workdir/go/src/crypto/tls/handshake_server.go:43 +0x3f fp=0x39047e38 sp=0x39047d44 pc=0x8283cef
crypto/tls.(*Conn).serverHandshake-fm({0x83d3918, 0x394befc0})
	<autogenerated>:1 +0x31 fp=0x39047e50 sp=0x39047e38 pc=0x82da421
crypto/tls.(*Conn).handshakeContext(0x39573200, {0x83d3918, 0x394bef90})
	/tmp/workdir/go/src/crypto/tls/conn.go:1462 +0x34e fp=0x39047f34 sp=0x39047e50 pc=0x826619e
crypto/tls.(*Conn).HandshakeContext(...)
	/tmp/workdir/go/src/crypto/tls/conn.go:1405
crypto/tls.TestServerHandshakeContextCancellation(0x39502690)
	/tmp/workdir/go/src/crypto/tls/handshake_server_test.go:1953 +0x211 fp=0x39047f9c sp=0x39047f34 pc=0x82c2911
testing.tRunner(0x39502690, 0x8374a14)
2022-08-08 14:12 linux-386 go@fe406c8b crypto/tls.TestServerHandshakeContextCancellation (log)
panic: test timed out after 3m0s

runtime.gopark(0x837d554, 0xe6f29e60, 0x2, 0x1b, 0x5)
	/workdir/go/src/runtime/proc.go:363 +0x108 fp=0x8d54944 sp=0x8d54930 pc=0x80849e8
runtime.netpollblock(0xe6f29e54, 0x72, 0x0)
	/workdir/go/src/runtime/netpoll.go:526 +0xea fp=0x8d5495c sp=0x8d54944 pc=0x807ce3a
internal/poll.runtime_pollWait(0xe6f29e54, 0x72)
	/workdir/go/src/runtime/netpoll.go:305 +0x52 fp=0x8d54970 sp=0x8d5495c pc=0x80af3e2
internal/poll.(*pollDesc).wait(0x8ca2294, 0x72, 0x0)
	/workdir/go/src/internal/poll/fd_poll_runtime.go:84 +0x37 fp=0x8d54984 sp=0x8d54970 pc=0x80dc767
...
	/workdir/go/src/crypto/tls/handshake_server.go:43 +0x45 fp=0x8d54e38 sp=0x8d54d44 pc=0x828b365
crypto/tls.(*Conn).serverHandshake-fm({0x83dc4a8, 0x8bab440})
	<autogenerated>:1 +0x37 fp=0x8d54e50 sp=0x8d54e38 pc=0x82e2aa7
crypto/tls.(*Conn).handshakeContext(0x88b8400, {0x83dc4a8, 0x8bab410})
	/workdir/go/src/crypto/tls/conn.go:1462 +0x354 fp=0x8d54f34 sp=0x8d54e50 pc=0x826d1d4
crypto/tls.(*Conn).HandshakeContext(...)
	/workdir/go/src/crypto/tls/conn.go:1405
crypto/tls.TestServerHandshakeContextCancellation(0x8cede00)
	/workdir/go/src/crypto/tls/handshake_server_test.go:1953 +0x217 fp=0x8d54f9c sp=0x8d54f34 pc=0x82cab97
testing.tRunner(0x8cede00, 0x837d090)
2022-08-08 14:12 linux-amd64-race go@fe406c8b crypto/tls.TestServerHandshakeContextCancellation (log)
panic: test timed out after 3m0s

runtime.gopark(0x200000003?, 0x44442e?, 0xcc?, 0x56?, 0xffffffffffffffff?)
	/workdir/go/src/runtime/proc.go:363 +0xd6 fp=0xc000096bb0 sp=0xc000096b90 pc=0x471876
runtime.netpollblock(0x4a67f7?, 0x4e5315?, 0x0?)
	/workdir/go/src/runtime/netpoll.go:526 +0xf7 fp=0xc000096be8 sp=0xc000096bb0 pc=0x469ff7
internal/poll.runtime_pollWait(0x7f711cb95678, 0x72)
	/workdir/go/src/runtime/netpoll.go:305 +0x89 fp=0xc000096c08 sp=0xc000096be8 pc=0x49e529
internal/poll.(*pollDesc).wait(0xc000316918, 0xc0000bab40?, 0x0)
	/workdir/go/src/internal/poll/fd_poll_runtime.go:84 +0xbd fp=0xc000096c50 sp=0xc000096c08 pc=0x4e417d
...
	/workdir/go/src/crypto/tls/handshake_server.go:43 +0x6b fp=0xc000097b18 sp=0xc000097918 pc=0x78308b
crypto/tls.(*Conn).serverHandshake-fm({0x96fc98, 0xc0001e9000})
	<autogenerated>:1 +0x4e fp=0xc000097b58 sp=0xc000097b18 pc=0x81902e
crypto/tls.(*Conn).handshakeContext(0xc0000c0380, {0x96fc98, 0xc0001e8fc0})
	/workdir/go/src/crypto/tls/conn.go:1462 +0x476 fp=0xc000097d68 sp=0xc000097b58 pc=0x7472d6
crypto/tls.(*Conn).HandshakeContext(...)
	/workdir/go/src/crypto/tls/conn.go:1405
crypto/tls.TestServerHandshakeContextCancellation(0xc000701ba0)
	/workdir/go/src/crypto/tls/handshake_server_test.go:1953 +0x40b fp=0xc000097ea8 sp=0xc000097d68 pc=0x7f314b
testing.tRunner(0xc000701ba0, 0x8f8f18)
2022-08-08 14:12 windows-amd64-2012 go@e7615561 crypto/tls.TestServerHandshakeContextCancellation (log)
panic: test timed out after 6m0s

runtime.gopark(0x0?, 0xc0002a0f18?, 0xc8?, 0xf?, 0xc0002a0f48?)
	C:/workdir/go/src/runtime/proc.go:363 +0xd6 fp=0xc000427288 sp=0xc000427268 pc=0x43d5b6
runtime.netpollblock(0xc00004c800?, 0x7686f8?, 0x0?)
	C:/workdir/go/src/runtime/netpoll.go:526 +0xf7 fp=0xc0004272c0 sp=0xc000427288 pc=0x4335b7
internal/poll.runtime_pollWait(0xa2d768, 0x72)
	C:/workdir/go/src/runtime/netpoll.go:305 +0x89 fp=0xc0004272e0 sp=0xc0004272c0 pc=0x465f49
internal/poll.(*pollDesc).wait(0xaa382d?, 0xaa382d?, 0x0)
	C:/workdir/go/src/internal/poll/fd_poll_runtime.go:84 +0x32 fp=0xc000427308 sp=0xc0004272e0 pc=0x4a23f2
...
	C:/workdir/go/src/crypto/tls/handshake_server.go:43 +0x46 fp=0xc000427cb0 sp=0xc000427ad8 pc=0x643766
crypto/tls.(*Conn).serverHandshake-fm({0x7c4598?, 0xc0000680c0?})
	<autogenerated>:1 +0x39 fp=0xc000427cd8 sp=0xc000427cb0 pc=0x69dc99
crypto/tls.(*Conn).handshakeContext(0xc0000a1c00, {0x7c4598, 0xc000068080})
	C:/workdir/go/src/crypto/tls/conn.go:1462 +0x32f fp=0xc000427ea0 sp=0xc000427cd8 pc=0x62352f
crypto/tls.(*Conn).HandshakeContext(...)
	C:/workdir/go/src/crypto/tls/conn.go:1405
crypto/tls.TestServerHandshakeContextCancellation(0xc0004b8d00)
	C:/workdir/go/src/crypto/tls/handshake_server_test.go:1953 +0x22f fp=0xc000427f70 sp=0xc000427ea0 pc=0x68600f
testing.tRunner(0xc0004b8d00, 0x767c68)

watchflakes

@rsc
Copy link
Contributor

rsc commented Sep 20, 2022

Stopped.

@rsc rsc closed this as completed Sep 20, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Projects
Status: Done
Development

No branches or pull requests

2 participants