-
Notifications
You must be signed in to change notification settings - Fork 18.1k
crypto/x509: TestSystemVerify consistently failing [1.19 backport] #58810
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
Comments
This test is not failing on Windows builders on release-branch.go1.19. Either there's no problem (i.e., TestSystemVerify was modified in a way that needed the fix only in Go 1.20) or perhaps it's because -oldcc Windows builders are used on release-branch.go1.19. |
Confirmed that the problem reproduces on an updated Windows 11 device with Go 1.19.x, and the patch fixes it. |
Change https://go.dev/cl/472615 mentions this issue: |
Change https://go.dev/cl/472617 mentions this issue: |
Closed by merging 0d288f9 to release-branch.go1.19. |
Closed by merging 21e451e to release-branch.go1.19. |
…ntermediate handling On Windows, replace tests which rely on a root that expired last year. On Darwin fix an test which wasn't testing the expected behavior, and fix the behavior which was broken. Updates #58791 Fixes #58810 Change-Id: I771175b9e123b8bb0e4efdf58cc2bb93aa94fbae Reviewed-on: https://go-review.googlesource.com/c/go/+/472295 TryBot-Result: Gopher Robot <[email protected]> Reviewed-by: Bryan Mills <[email protected]> Run-TryBot: Roland Shoemaker <[email protected]> (cherry picked from commit bb8f9a6) Reviewed-on: https://go-review.googlesource.com/c/go/+/472615 Reviewed-by: Dmitri Shuralyov <[email protected]> Reviewed-by: Dmitri Shuralyov <[email protected]> Auto-Submit: Dmitri Shuralyov <[email protected]>
Convert TestUnknownAuthorityError to use subtests, avoiding continuing the test after an unrecoverable failure. Skip TestIssue51759 on pre-macOS 11 builders, which don't enforce the behavior we were testing for. Also only enable the test on builders. Updates #58791 Updates #58812 Fixes #58810 Change-Id: I4e3e5bc371aa139d38052184c8232f8cb564138f Reviewed-on: https://go-review.googlesource.com/c/go/+/472496 TryBot-Result: Gopher Robot <[email protected]> Run-TryBot: Roland Shoemaker <[email protected]> Reviewed-by: Dmitri Shuralyov <[email protected]> Reviewed-by: Dmitri Shuralyov <[email protected]> (cherry picked from commit cf3d065) Reviewed-on: https://go-review.googlesource.com/c/go/+/472617 Auto-Submit: Dmitri Shuralyov <[email protected]>
@dmitshur requested issue #58791 to be considered for backport to the next 1.19 minor release.
The text was updated successfully, but these errors were encountered: