1
0
mirror of https://github.com/golang/go synced 2024-11-26 08:48:13 -07:00

cmd/dist: skip FIPS 140-3 testing

This will be re-enabled by an in-progress CR. For now, ignore this test
process to prevent build breakage.

Change-Id: Ica1cb1c4f9844164ab32767ce2a499021d40b997
Reviewed-on: https://go-review.googlesource.com/c/go/+/630237
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
Reviewed-by: Cherry Mui <cherryyz@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Filippo Valsorda <filippo@golang.org>
Auto-Submit: Filippo Valsorda <filippo@golang.org>
This commit is contained in:
Daniel McCarney 2024-11-21 13:11:07 -05:00 committed by Gopher Robot
parent e1c3b8a490
commit a3a31ec8ed

View File

@ -715,13 +715,14 @@ func (t *tester) registerTests() {
// Check that all crypto packages compile (and test correctly, in longmode) with fips. // Check that all crypto packages compile (and test correctly, in longmode) with fips.
if fipsSupported() { if fipsSupported() {
/* TODO(cpu): Restore in #629736
// Test standard crypto packages with fips140=on. // Test standard crypto packages with fips140=on.
t.registerTest("GODEBUG=fips140=on go test crypto/...", &goTest{ t.registerTest("GODEBUG=fips140=on go test crypto/...", &goTest{
variant: "gofips140", variant: "gofips140",
env: []string{"GODEBUG=fips140=on"}, env: []string{"GODEBUG=fips140=on"},
skip: "TestHandshake|TestServerResumption|TestClientAuth|TestRenegotiate", // TODO(valsorda): remove once crypto/tls passes skip: "TestHandshake|TestServerResumption|TestClientAuth|TestRenegotiate", // TODO(cpu): remove in #629736
pkg: "crypto/...", pkg: "crypto/...",
}) })*/
// Test that earlier FIPS snapshots build. // Test that earlier FIPS snapshots build.
// In long mode, test that they work too. // In long mode, test that they work too.