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: TestMarshalUnmarshal failures starting around 2020-05-06 #38902

Closed
bcmills opened this issue May 6, 2020 · 3 comments
Closed

crypto/tls: TestMarshalUnmarshal failures starting around 2020-05-06 #38902

bcmills opened this issue May 6, 2020 · 3 comments
Labels
FrozenDueToAge NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one. release-blocker
Milestone

Comments

@bcmills
Copy link
Contributor

bcmills commented May 6, 2020

2020-05-06T01:27:05-fdb8a3e/freebsd-386-11_2

--- FAIL: TestMarshalUnmarshal (0.00s)
    handshake_messages_test.go:61: #9 failed to unmarshal &tls.sessionState{vers:0x304, cipherSuite:0x1bbc, masterSecret:[]uint8{0x9e, 0xee, 0xa6, 0xfe, 0x29, 0xf9, 0x58, 0x93, 0x29, 0xc0, 0x61, 0x5, 0x23, 0x6b, 0xc0, 0x5d, 0x5e, 0xee, 0xfd, 0x6, 0x22, 0x55, 0x8, 0x55, 0x3e, 0xe5, 0xd0, 0xfa, 0xb8, 0x9b, 0xd0, 0x2, 0x23, 0x3f, 0x6a, 0xbd, 0x6a, 0xf1, 0x77, 0xec, 0x1c, 0x8e, 0xe0, 0xc9, 0x53, 0xa4, 0xe0, 0x95, 0xec, 0x25, 0xee, 0x70, 0x4b, 0x4f, 0x7b, 0xfc, 0x6a, 0x4b, 0x1b, 0x1b, 0xe9, 0x67, 0xd5, 0x58, 0x1, 0xb0, 0xa2}, certificates:[][]uint8{[]uint8{0xb1, 0x3d, 0x7a, 0x39, 0x5b, 0xd8, 0xa9, 0xd1, 0x9, 0x83, 0xe5, 0xf2, 0x25, 0xc9, 0x33, 0xc4, 0xaf, 0x32, 0x16, 0x56, 0x68, 0x52, 0x8, 0x2f, 0xb0, 0xde, 0xf, 0xde, 0xa5, 0x95, 0x70, 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e29f9589329c06105236bc05d5eeefd06225508553ee5d0fab89bd002233f6abd6af177ec1c8ee0c953a4e095ec25ee704b4f7bfc6a4b1b1be967d55801b0a200d7000000d3b13d7a395bd8a9d10983e5f225c933c4af3216566852082fb0de0fdea59570b1e6604d8fb959555f9345bf280713b1170a26ac9155e2092c01d8064435555c777639db5550b82903c5b20569b9c2217e625ca412993eea0aaa1eb776af2d45a2fbe622daa6e59ef1359fa378bdd98f2dfe22e92d3e4fb537537e9a6d60d04c9ab0553c8bb37185977e5dc5baeae099dde5d06f3087d5667c4b3e2801367be18a88b39fd4fc9cfe42c6722888a4c6b679dbdbcbba01adf2bacdbf49448e9deda62cf88c35af3d857e9b673e428865ef3c5edb09
FAIL
FAIL	crypto/tls	1.152s

Marking as release-blocker for Go 1.15 in case this is an x/crypto regression pulled in via CL 231657.

CC @FiloSottile @katiehockman @dmitshur

@bcmills bcmills added NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one. release-blocker labels May 6, 2020
@bcmills bcmills added this to the Go1.15 milestone May 6, 2020
@FiloSottile FiloSottile changed the title x/crypto/tls: failure in TestMarshalUnmarshal on freebsd-386-11_2 builder crypto/tls: failure in TestMarshalUnmarshal on freebsd-386-11_2 builder May 8, 2020
@bcmills bcmills changed the title crypto/tls: failure in TestMarshalUnmarshal on freebsd-386-11_2 builder crypto/tls: TestMarshalUnmarshal failures starting around 2020-05-06 May 18, 2020
@FiloSottile
Copy link
Contributor

Looks like a rare random edge case in sessionState serialization, probably due to @katiehockman's change.

@gopherbot
Copy link

Change https://golang.org/cl/234486 mentions this issue: crypto/tls: remove version check when unmarshaling sessionState

@golang golang locked and limited conversation to collaborators May 18, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
FrozenDueToAge NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one. release-blocker
Projects
None yet
Development

No branches or pull requests

4 participants