Skip to content

crypto/internal/fips140test:gofips140-inprocess: TestCASTFailures/ECDH_PCT failures #75638

@gopherbot

Description

@gopherbot
#!watchflakes
default <- pkg == "crypto/internal/fips140test:gofips140-inprocess" && test == "TestCASTFailures/ECDH_PCT"

Issue created automatically to collect these failures.

Example (log):

=== RUN   TestCASTFailures/ECDH_PCT
    cast_test.go:173: Testing CAST/PCT failure...
    cast_test.go:177: === RUN   TestConditionals
        --- FAIL: TestConditionals (0.00s)
        panic: simulated PCT failure [recovered]
        	panic: simulated PCT failure
        
        goroutine 19 [running]:
        testing.tRunner.func1.2({0x6222fe0, 0xc0001105b0})
        	/Users/swarming/.swarming/w/ir/x/w/goroot/src/testing/testing.go:1734 +0x21c
        testing.tRunner.func1()
        	/Users/swarming/.swarming/w/ir/x/w/goroot/src/testing/testing.go:1737 +0x35e
        panic({0x6222fe0?, 0xc0001105b0?})
        	/Users/swarming/.swarming/w/ir/x/w/goroot/src/runtime/panic.go:792 +0x132
        crypto/internal/fips140/v1.0.0/ecdh.NewPrivateKey[...](0xc00017ff20, {0xc000116520, 0x20, 0x20})
        	/Users/swarming/.swarming/w/ir/x/t/go-tool-dist-1107126596/fips-v1.0.0/golang.org/fips140@v1.0.0/fips140/v1.0.0/ecdh/ecdh.go:210 +0x325
        crypto/internal/fips140/v1.0.0/ecdh.GenerateKey[...](0xc00017ff20, {0x625b4e0, 0xc000110110})
        	/Users/swarming/.swarming/w/ir/x/t/go-tool-dist-1107126596/fips-v1.0.0/golang.org/fips140@v1.0.0/fips140/v1.0.0/ecdh/ecdh.go:160 +0xe7
        crypto/internal/fips140test.TestConditionals(0xc0001028c0)
        	/Users/swarming/.swarming/w/ir/x/w/goroot/src/crypto/internal/fips140test/cast_test.go:108 +0xe5
        testing.tRunner(0xc0001028c0, 0x6258750)
        	/Users/swarming/.swarming/w/ir/x/w/goroot/src/testing/testing.go:1792 +0xf4
        created by testing.(*T).Run in goroutine 1
        	/Users/swarming/.swarming/w/ir/x/w/goroot/src/testing/testing.go:1851 +0x413
    cast_test.go:184: CAST/PCT ECDH PCT failure did not log the expected message
--- FAIL: TestCASTFailures/ECDH_PCT (0.14s)

watchflakes

Metadata

Metadata

Assignees

No one assigned

    Labels

    NeedsInvestigationSomeone must examine and confirm this is a valid issue and not a duplicate of an existing one.

    Type

    No type

    Projects

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions