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/x509: TestBoringAllowCert failures #56798

Open
gopherbot opened this issue Nov 17, 2022 · 6 comments
Open

crypto/x509: TestBoringAllowCert failures #56798

gopherbot opened this issue Nov 17, 2022 · 6 comments
Labels
NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Milestone

Comments

@gopherbot
Copy link

gopherbot commented Nov 17, 2022

#!watchflakes
post <- pkg == "crypto/x509" && test == "TestBoringAllowCert"

Issue created automatically to collect these failures.

Example (log):

panic: test timed out after 3m0s
running tests:
	TestBoringAllowCert (3m0s)

math/big.nat.montgomery({0x4000390480?, 0x40?, 0x86?}, {0x4000397680?, 0x40?, 0x84?}, {0x4000395200?, 0x40?, 0x84?}, {0x400047dd40?, ...}, ...)
	/workdir/go/src/math/big/nat.go:216 +0x434 fp=0x40000e5490 sp=0x40000e5490 pc=0x220f94
math/big.nat.expNNMontgomery({0x4000392480, 0x104604?, 0x44}, {0x4000392240?, 0x40000e57b8?, 0x1187e0?}, {0x4000381d40, 0x40, 0x40000e57f8?}, {0x400047dd40?, ...})
	/workdir/go/src/math/big/nat.go:1263 +0x710 fp=0x40000e5770 sp=0x40000e5490 pc=0x225520
math/big.nat.expNN({0x0?, 0x417d00?, 0x4000384a00?}, {0x4000392240?, 0x40, 0x44}, {0x4000381d40?, 0x40, 0x44?}, {0x400047dd40?, ...}, ...)
	/workdir/go/src/math/big/nat.go:983 +0x2e0 fp=0x40000e5960 sp=0x40000e5770 pc=0x223b90
math/big.nat.probablyPrimeMillerRabin({0x400047dd40?, 0x40, 0x44}, 0x15, 0x1)
	/workdir/go/src/math/big/prime.go:106 +0x444 fp=0x40000e5b00 sp=0x40000e5960 pc=0x22a2d4
math/big.(*Int).ProbablyPrime(0x40000cc020, 0x14)
	/workdir/go/src/math/big/prime.go:78 +0x2d8 fp=0x40000e5b40 sp=0x40000e5b00 pc=0x229e18
crypto/rand.Prime({0x4172e8, 0x415560}, 0x1000)
	/workdir/go/src/crypto/rand/util.go:55 +0x1d4 fp=0x40000e5ba0 sp=0x40000e5b40 pc=0x258b94
crypto/rsa.GenerateMultiPrimeKey({0x4172e8?, 0x415560}, 0x2, 0x2000)
	/workdir/go/src/crypto/rsa/rsa.go:346 +0x71c fp=0x40000e5e90 sp=0x40000e5ba0 pc=0x25c05c
crypto/rsa.GenerateKey(...)
	/workdir/go/src/crypto/rsa/rsa.go:252
crypto/x509.boringRSAKey(0x4000082ea0, 0x37991f?)
	/workdir/go/src/crypto/x509/boring_test.go:30 +0x40 fp=0x40000e5ee0 sp=0x40000e5e90 pc=0x2b28c0
crypto/x509.TestBoringAllowCert(0x0?)
	/workdir/go/src/crypto/x509/boring_test.go:57 +0x5c fp=0x40000e5f60 sp=0x40000e5ee0 pc=0x2b2a2c
testing.tRunner(0x4000082ea0, 0x3cacd8)

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 Nov 17, 2022
@gopherbot
Copy link
Author

gopherbot commented Nov 17, 2022

Found new dashboard test flakes for:

#!watchflakes
post <- pkg == "crypto/x509" && test == "TestBoringAllowCert"
2022-11-10 17:06 linux-arm64-boringcrypto go@b820fb8d crypto/x509.TestBoringAllowCert (log)
panic: test timed out after 3m0s
running tests:
	TestBoringAllowCert (3m0s)

math/big.nat.montgomery({0x4000390480?, 0x40?, 0x86?}, {0x4000397680?, 0x40?, 0x84?}, {0x4000395200?, 0x40?, 0x84?}, {0x400047dd40?, ...}, ...)
	/workdir/go/src/math/big/nat.go:216 +0x434 fp=0x40000e5490 sp=0x40000e5490 pc=0x220f94
math/big.nat.expNNMontgomery({0x4000392480, 0x104604?, 0x44}, {0x4000392240?, 0x40000e57b8?, 0x1187e0?}, {0x4000381d40, 0x40, 0x40000e57f8?}, {0x400047dd40?, ...})
	/workdir/go/src/math/big/nat.go:1263 +0x710 fp=0x40000e5770 sp=0x40000e5490 pc=0x225520
math/big.nat.expNN({0x0?, 0x417d00?, 0x4000384a00?}, {0x4000392240?, 0x40, 0x44}, {0x4000381d40?, 0x40, 0x44?}, {0x400047dd40?, ...}, ...)
	/workdir/go/src/math/big/nat.go:983 +0x2e0 fp=0x40000e5960 sp=0x40000e5770 pc=0x223b90
math/big.nat.probablyPrimeMillerRabin({0x400047dd40?, 0x40, 0x44}, 0x15, 0x1)
	/workdir/go/src/math/big/prime.go:106 +0x444 fp=0x40000e5b00 sp=0x40000e5960 pc=0x22a2d4
math/big.(*Int).ProbablyPrime(0x40000cc020, 0x14)
	/workdir/go/src/math/big/prime.go:78 +0x2d8 fp=0x40000e5b40 sp=0x40000e5b00 pc=0x229e18
crypto/rand.Prime({0x4172e8, 0x415560}, 0x1000)
	/workdir/go/src/crypto/rand/util.go:55 +0x1d4 fp=0x40000e5ba0 sp=0x40000e5b40 pc=0x258b94
crypto/rsa.GenerateMultiPrimeKey({0x4172e8?, 0x415560}, 0x2, 0x2000)
	/workdir/go/src/crypto/rsa/rsa.go:346 +0x71c fp=0x40000e5e90 sp=0x40000e5ba0 pc=0x25c05c
crypto/rsa.GenerateKey(...)
	/workdir/go/src/crypto/rsa/rsa.go:252
crypto/x509.boringRSAKey(0x4000082ea0, 0x37991f?)
	/workdir/go/src/crypto/x509/boring_test.go:30 +0x40 fp=0x40000e5ee0 sp=0x40000e5e90 pc=0x2b28c0
crypto/x509.TestBoringAllowCert(0x0?)
	/workdir/go/src/crypto/x509/boring_test.go:57 +0x5c fp=0x40000e5f60 sp=0x40000e5ee0 pc=0x2b2a2c
testing.tRunner(0x4000082ea0, 0x3cacd8)
2022-11-10 21:10 linux-arm64-boringcrypto go@86bbcc6a crypto/x509.TestBoringAllowCert (log)
panic: test timed out after 3m0s
running tests:
	TestBoringAllowCert (3m0s)

runtime.cgocall(0x12470, 0x4000390d38)
	/workdir/go/src/runtime/cgocall.go:157 +0x50 fp=0x4000390d00 sp=0x4000390cc0 pc=0xfbf60
crypto/internal/boring._Cfunc__goboringcrypto_RSA_sign(0x2a0, 0x40000180e0, 0x20, 0x4000142800, 0x400001a5b0, 0xffff48000cf8)
	_cgo_gotypes.go:1242 +0x34 fp=0x4000390d30 sp=0x4000390d00 pc=0x1ddb14
crypto/internal/boring.SignRSAPKCS1v15.func2.2(0x106d00?, {0x40000180e0?, 0x20, 0xfbfa0?}, 0x4000390e38?, 0x10512c?, 0x4000106d00?)
	/workdir/go/src/crypto/internal/boring/rsa.go:344 +0x98 fp=0x4000390da0 sp=0x4000390d30 pc=0x1e4b28
crypto/internal/boring.SignRSAPKCS1v15.func2(0x4000390e68?)
	/workdir/go/src/crypto/internal/boring/rsa.go:344 +0xb8 fp=0x4000390e30 sp=0x4000390da0 pc=0x1e4a68
crypto/internal/boring.(*PrivateKeyRSA).withKey(0x63c8a8?, 0x40000002a0?)
	/workdir/go/src/crypto/internal/boring/rsa.go:108 +0x68 fp=0x4000390e70 sp=0x4000390e30 pc=0x1e2c48
crypto/internal/boring.SignRSAPKCS1v15(0x338fc0?, 0x5, {0x40000180e0, 0x20, 0x20})
	/workdir/go/src/crypto/internal/boring/rsa.go:341 +0x178 fp=0x4000390f70 sp=0x4000390e70 pc=0x1e4888
crypto/rsa.SignPKCS1v15({0x69e1e3b2820ef0ed?, 0xbc15ac88491d9e60?}, 0x400011c300?, 0x5, {0x40000180e0, 0x20, 0x20})
	/workdir/go/src/crypto/rsa/pkcs1v15.go:293 +0x1f0 fp=0x4000390fb0 sp=0x4000390f70 pc=0x25a8b0
crypto/rsa.(*PrivateKey).Sign(0x36cf00?, {0x417548, 0x4157b0}, {0x40000180e0, 0x20, 0x20}, {0x417468?, 0x5d0c88?})
	/workdir/go/src/crypto/rsa/rsa.go:155 +0xb4 fp=0x4000391010 sp=0x4000390fb0 pc=0x25b5a4
crypto/x509.CreateCertificate({0x417548, 0x4157b0}, 0x40003919a0, 0x40003919a0, {0x33b8e0, 0x400011c300}, {0x35c820?, 0x400011c300?})
	/workdir/go/src/crypto/x509/x509.go:1583 +0x6b8 fp=0x4000391890 sp=0x4000391010 pc=0x2af1e8
crypto/x509.testBoringCert(0x4000106b60, {0x379c21, 0x2}, {0x35c820, 0x400011c300}, 0x0, 0x0)
	/workdir/go/src/crypto/x509/boring_test.go:124 +0x3ec fp=0x4000391ee0 sp=0x4000391890 pc=0x2b302c
crypto/x509.TestBoringAllowCert(0x0?)
	/workdir/go/src/crypto/x509/boring_test.go:57 +0x84 fp=0x4000391f60 sp=0x4000391ee0 pc=0x2b2954
testing.tRunner(0x4000106b60, 0x3cb058)
2022-11-11 18:34 linux-arm64-boringcrypto go@97765249 crypto/x509.TestBoringAllowCert (log)
panic: test timed out after 3m0s
running tests:
	TestBoringAllowCert (3m0s)

runtime.asyncPreempt2()
	/workdir/go/src/runtime/preempt.go:307 +0x3c fp=0x400015d1e0 sp=0x400015d1c0 pc=0x12ecec
runtime.asyncPreempt()
	/workdir/go/src/runtime/preempt_arm64.s:47 +0x9c fp=0x400015d3d0 sp=0x400015d1e0 pc=0x16195c
math/big.nat.montgomery({0x4000421b00?, 0x40?, 0x86?}, {0x4000416900, 0x40, 0x86}, {0x4000420900, 0x40?, 0x84?}, {0x40003f3200, ...}, ...)
	/workdir/go/src/math/big/nat.go:231 +0x278 fp=0x400015d490 sp=0x400015d3e0 pc=0x222ce8
math/big.nat.expNNMontgomery({0x40004118c0, 0x10dfcc?, 0x44}, {0x4000411680?, 0xffff6817db38?, 0x2?}, {0x4000411200, 0x40, 0x400015d7d8?}, {0x40003f3200?, ...})
	/workdir/go/src/math/big/nat.go:1263 +0x710 fp=0x400015d770 sp=0x400015d490 pc=0x227430
math/big.nat.expNN({0x0?, 0x4186c0?, 0x4000418000?}, {0x4000411680?, 0x40, 0x44}, {0x4000411200?, 0x40, 0x44?}, {0x40003f3200?, ...}, ...)
	/workdir/go/src/math/big/nat.go:983 +0x2e0 fp=0x400015d960 sp=0x400015d770 pc=0x225aa0
math/big.nat.probablyPrimeMillerRabin({0x40003f3200?, 0x40, 0x44}, 0x15, 0x1)
	/workdir/go/src/math/big/prime.go:106 +0x444 fp=0x400015db00 sp=0x400015d960 pc=0x22c1e4
math/big.(*Int).ProbablyPrime(0x4000022020, 0x14)
	/workdir/go/src/math/big/prime.go:78 +0x2d8 fp=0x400015db40 sp=0x400015db00 pc=0x22bd28
crypto/rand.Prime({0x417ca8, 0x415ee0}, 0x1000)
	/workdir/go/src/crypto/rand/util.go:55 +0x1d4 fp=0x400015dba0 sp=0x400015db40 pc=0x25aaa4
crypto/rsa.GenerateMultiPrimeKey({0x417ca8?, 0x415ee0}, 0x2, 0x2000)
	/workdir/go/src/crypto/rsa/rsa.go:346 +0x71c fp=0x400015de90 sp=0x400015dba0 pc=0x25df6c
crypto/rsa.GenerateKey(...)
	/workdir/go/src/crypto/rsa/rsa.go:252
crypto/x509.boringRSAKey(0x4000106b60, 0x37a0bf?)
	/workdir/go/src/crypto/x509/boring_test.go:30 +0x40 fp=0x400015dee0 sp=0x400015de90 pc=0x2b4ca0
crypto/x509.TestBoringAllowCert(0x0?)
	/workdir/go/src/crypto/x509/boring_test.go:57 +0x5c fp=0x400015df60 sp=0x400015dee0 pc=0x2b4e0c
testing.tRunner(0x4000106b60, 0x3cb518)
2022-11-14 19:44 linux-arm64-boringcrypto go@dc6b7c86 crypto/x509.TestBoringAllowCert (log)
panic: test timed out after 3m0s
running tests:
	TestBoringAllowCert (3m0s)

math/big.nat.montgomery({0x40003f4000?, 0x40?, 0x84?}, {0x40003e8d80?, 0x40?, 0x86?}, {0x40003e8d80?, 0x40?, 0x86?}, {0x40001fa6c0?, ...}, ...)
	/workdir/go/src/math/big/nat.go:216 +0x434 fp=0x40000d1490 sp=0x40000d1490 pc=0x2236a4
math/big.nat.expNNMontgomery({0x40003ee240, 0x10d934?, 0x44}, {0x40003ee000?, 0x40000d17e8?, 0x104804?}, {0x40003e3b00, 0x40, 0x40000d17d8?}, {0x40001fa6c0?, ...})
	/workdir/go/src/math/big/nat.go:1258 +0x7a8 fp=0x40000d1770 sp=0x40000d1490 pc=0x227cc8
math/big.nat.expNN({0x0?, 0x418c40?, 0x40003ea000?}, {0x40003ee000?, 0x40, 0x44}, {0x40003e3b00?, 0x40, 0x44?}, {0x40001fa6c0?, ...}, ...)
	/workdir/go/src/math/big/nat.go:983 +0x2e0 fp=0x40000d1960 sp=0x40000d1770 pc=0x2262a0
math/big.nat.probablyPrimeMillerRabin({0x40001fa6c0?, 0x40, 0x44}, 0x15, 0x1)
	/workdir/go/src/math/big/prime.go:106 +0x444 fp=0x40000d1b00 sp=0x40000d1960 pc=0x22c9e4
math/big.(*Int).ProbablyPrime(0x4000022020, 0x14)
	/workdir/go/src/math/big/prime.go:78 +0x2d8 fp=0x40000d1b40 sp=0x40000d1b00 pc=0x22c528
crypto/rand.Prime({0x418238, 0x416470}, 0x1000)
	/workdir/go/src/crypto/rand/util.go:55 +0x1d4 fp=0x40000d1ba0 sp=0x40000d1b40 pc=0x25b2a4
crypto/rsa.GenerateMultiPrimeKey({0x418238?, 0x416470}, 0x2, 0x2000)
	/workdir/go/src/crypto/rsa/rsa.go:346 +0x71c fp=0x40000d1e90 sp=0x40000d1ba0 pc=0x25e76c
crypto/rsa.GenerateKey(...)
	/workdir/go/src/crypto/rsa/rsa.go:252
crypto/x509.boringRSAKey(0x40000829c0, 0x37a41f?)
	/workdir/go/src/crypto/x509/boring_test.go:30 +0x40 fp=0x40000d1ee0 sp=0x40000d1e90 pc=0x2b5590
crypto/x509.TestBoringAllowCert(0x0?)
	/workdir/go/src/crypto/x509/boring_test.go:57 +0x5c fp=0x40000d1f60 sp=0x40000d1ee0 pc=0x2b56fc
testing.tRunner(0x40000829c0, 0x3cb898)
2022-11-15 00:27 linux-arm64-boringcrypto go@f977ffe8 crypto/x509.TestBoringAllowCert (log)
panic: test timed out after 3m0s
running tests:
	TestBoringAllowCert (3m0s)

math/big.nat.montgomery({0x40003c7b00?, 0x40?, 0x86?}, {0x40003d0d80?, 0x40?, 0x84?}, {0x40003d0d80?, 0x40?, 0x84?}, {0x400016cb40?, ...}, ...)
	/workdir/go/src/math/big/nat.go:216 +0x434 fp=0x40001cb490 sp=0x40001cb490 pc=0x2236d4
math/big.nat.expNNMontgomery({0x40003c3b00, 0x10dffc?, 0x44}, {0x40003c38c0?, 0xffff777c83b0?, 0x2?}, {0x40003c3440, 0x40, 0x40001cb7f8?}, {0x400016cb40?, ...})
	/workdir/go/src/math/big/nat.go:1258 +0x7a8 fp=0x40001cb770 sp=0x40001cb490 pc=0x227cf8
math/big.nat.expNN({0x0?, 0x418c40?, 0x40003c8000?}, {0x40003c38c0?, 0x40, 0x44}, {0x40003c3440?, 0x40, 0x44?}, {0x400016cb40?, ...}, ...)
	/workdir/go/src/math/big/nat.go:983 +0x2e0 fp=0x40001cb960 sp=0x40001cb770 pc=0x2262d0
math/big.nat.probablyPrimeMillerRabin({0x400016cb40?, 0x40, 0x44}, 0x15, 0x1)
	/workdir/go/src/math/big/prime.go:106 +0x444 fp=0x40001cbb00 sp=0x40001cb960 pc=0x22ca14
math/big.(*Int).ProbablyPrime(0x4000022020, 0x14)
	/workdir/go/src/math/big/prime.go:78 +0x2d8 fp=0x40001cbb40 sp=0x40001cbb00 pc=0x22c558
crypto/rand.Prime({0x418238, 0x416470}, 0x1000)
	/workdir/go/src/crypto/rand/util.go:55 +0x1d4 fp=0x40001cbba0 sp=0x40001cbb40 pc=0x25b2d4
crypto/rsa.GenerateMultiPrimeKey({0x418238?, 0x416470}, 0x2, 0x2000)
	/workdir/go/src/crypto/rsa/rsa.go:346 +0x71c fp=0x40001cbe90 sp=0x40001cbba0 pc=0x25e79c
crypto/rsa.GenerateKey(...)
	/workdir/go/src/crypto/rsa/rsa.go:252
crypto/x509.boringRSAKey(0x4000192680, 0x37a3ff?)
	/workdir/go/src/crypto/x509/boring_test.go:30 +0x40 fp=0x40001cbee0 sp=0x40001cbe90 pc=0x2b5770
crypto/x509.TestBoringAllowCert(0x0?)
	/workdir/go/src/crypto/x509/boring_test.go:57 +0x5c fp=0x40001cbf60 sp=0x40001cbee0 pc=0x2b58dc
testing.tRunner(0x4000192680, 0x3cb878)
2022-11-15 02:55 linux-arm64-boringcrypto go@febe7b8e crypto/x509.TestBoringAllowCert (log)
panic: test timed out after 3m0s
running tests:
	TestBoringAllowCert (3m0s)

math/big.nat.montgomery({0x400039ad80?, 0x40?, 0x86?}, {0x40003a2000?, 0x40?, 0x84?}, {0x40003a2000?, 0x40?, 0x84?}, {0x400027db00?, ...}, ...)
	/workdir/go/src/math/big/nat.go:216 +0x434 fp=0x40000b5490 sp=0x40000b5490 pc=0x223704
math/big.nat.expNNMontgomery({0x400039d680, 0x40004a6030?, 0x44}, {0x400039d440?, 0x40003fe010?, 0x3761c0?}, {0x400039cfc0, 0x40, 0x40000b5888?}, {0x400027db00?, ...})
	/workdir/go/src/math/big/nat.go:1261 +0x880 fp=0x40000b5770 sp=0x40000b5490 pc=0x227e00
math/big.nat.expNN({0x0?, 0x418c80?, 0x400038ea00?}, {0x400039d440?, 0x40, 0x44}, {0x400039cfc0?, 0x40, 0x44?}, {0x400027db00?, ...}, ...)
	/workdir/go/src/math/big/nat.go:983 +0x2e0 fp=0x40000b5960 sp=0x40000b5770 pc=0x226300
math/big.nat.probablyPrimeMillerRabin({0x400027db00?, 0x40, 0x44}, 0x15, 0x1)
	/workdir/go/src/math/big/prime.go:106 +0x444 fp=0x40000b5b00 sp=0x40000b5960 pc=0x22ca44
math/big.(*Int).ProbablyPrime(0x4000022020, 0x14)
	/workdir/go/src/math/big/prime.go:78 +0x2d8 fp=0x40000b5b40 sp=0x40000b5b00 pc=0x22c588
crypto/rand.Prime({0x418268, 0x4164a0}, 0x1000)
	/workdir/go/src/crypto/rand/util.go:55 +0x1d4 fp=0x40000b5ba0 sp=0x40000b5b40 pc=0x25b304
crypto/rsa.GenerateMultiPrimeKey({0x418268?, 0x4164a0}, 0x2, 0x2000)
	/workdir/go/src/crypto/rsa/rsa.go:346 +0x71c fp=0x40000b5e90 sp=0x40000b5ba0 pc=0x25e7cc
crypto/rsa.GenerateKey(...)
	/workdir/go/src/crypto/rsa/rsa.go:252
crypto/x509.boringRSAKey(0x4000092680, 0x37a43f?)
	/workdir/go/src/crypto/x509/boring_test.go:30 +0x40 fp=0x40000b5ee0 sp=0x40000b5e90 pc=0x2b58a0
crypto/x509.TestBoringAllowCert(0x0?)
	/workdir/go/src/crypto/x509/boring_test.go:57 +0x5c fp=0x40000b5f60 sp=0x40000b5ee0 pc=0x2b5a0c
testing.tRunner(0x4000092680, 0x3cb8b8)
2022-11-15 16:10 linux-arm64-boringcrypto go@b4ff4792 crypto/x509.TestBoringAllowCert (log)
panic: test timed out after 3m0s
running tests:
	TestBoringAllowCert (3m0s)

runtime.cgocall(0x12670, 0x40000aed48)
	/workdir/go/src/runtime/cgocall.go:157 +0x50 fp=0x40000aed10 sp=0x40000aecd0 pc=0xfc160
crypto/internal/boring._Cfunc__goboringcrypto_RSA_sign(0x2a0, 0x400009e740, 0x20, 0x4000220800, 0x400001bd90, 0xffff58008258)
	_cgo_gotypes.go:1354 +0x34 fp=0x40000aed40 sp=0x40000aed10 pc=0x1de8c4
crypto/internal/boring.SignRSAPKCS1v15.func2.2(0x212820?, {0x400009e740?, 0x20, 0xfc1a0?}, 0x40000aee48?, 0x10533c?, 0x4000212820?)
	/workdir/go/src/crypto/internal/boring/rsa.go:344 +0x98 fp=0x40000aedb0 sp=0x40000aed40 pc=0x1e7098
crypto/internal/boring.SignRSAPKCS1v15.func2(0x40000aee78?)
	/workdir/go/src/crypto/internal/boring/rsa.go:344 +0xb8 fp=0x40000aee40 sp=0x40000aedb0 pc=0x1e6fd8
crypto/internal/boring.(*PrivateKeyRSA).withKey(0x63ca08?, 0x40000002a0?)
	/workdir/go/src/crypto/internal/boring/rsa.go:108 +0x68 fp=0x40000aee80 sp=0x40000aee40 pc=0x1e51b8
crypto/internal/boring.SignRSAPKCS1v15(0x339260?, 0x5, {0x400009e740, 0x20, 0x20})
	/workdir/go/src/crypto/internal/boring/rsa.go:341 +0x178 fp=0x40000aef80 sp=0x40000aee80 pc=0x1e6df8
crypto/rsa.SignPKCS1v15({0x75734b0c74ba6a76?, 0x6b547f116b7a5638?}, 0x40002421e0?, 0x5, {0x400009e740, 0x20, 0x20})
	/workdir/go/src/crypto/rsa/pkcs1v15.go:293 +0x1f0 fp=0x40000aefc0 sp=0x40000aef80 pc=0x25cfa0
crypto/rsa.(*PrivateKey).Sign(0x36d700?, {0x418268, 0x4164a0}, {0x400009e740, 0x20, 0x20}, {0x418188?, 0x5d0d08?})
	/workdir/go/src/crypto/rsa/rsa.go:155 +0xb4 fp=0x40000af020 sp=0x40000aefc0 pc=0x25dc94
crypto/x509.CreateCertificate({0x418268, 0x4164a0}, 0x40000af9a0, 0x4000284580, {0x33bc80, 0x40000741e0}, {0x35d000?, 0x40002421e0?})
	/workdir/go/src/crypto/x509/x509.go:1599 +0x6b8 fp=0x40000af890 sp=0x40000af020 pc=0x2b22b8
crypto/x509.testBoringCert(0x4000212680, {0x37a661, 0x4}, {0x35d000, 0x40000741e0}, 0x400027e150, 0x80)
	/workdir/go/src/crypto/x509/boring_test.go:124 +0x3ec fp=0x40000afee0 sp=0x40000af890 pc=0x2b610c
crypto/x509.TestBoringAllowCert(0x0?)
	/workdir/go/src/crypto/x509/boring_test.go:64 +0x1f4 fp=0x40000aff60 sp=0x40000afee0 pc=0x2b5ba4
testing.tRunner(0x4000212680, 0x3cb8b8)
2022-11-15 16:24 linux-arm64-boringcrypto go@787f8167 crypto/x509.TestBoringAllowCert (log)
panic: test timed out after 3m0s
running tests:
	TestBoringAllowCert (3m0s)

math/big.nat.montgomery({0x4000399200?, 0x20?, 0x46?}, {0x400039db00?, 0x20?, 0x44?}, {0x400039db00?, 0x20?, 0x44?}, {0x400031e240?, ...}, ...)
	/workdir/go/src/math/big/nat.go:216 +0x434 fp=0x40001c5490 sp=0x40001c5490 pc=0x223704
math/big.nat.expNNMontgomery({0x400039aea0, 0x400007e2a0?, 0x24}, {0x400039ad80?, 0x4000510310?, 0x3761c0?}, {0x400039ab40, 0x20, 0x40001c5888?}, {0x400031e240?, ...})
	/workdir/go/src/math/big/nat.go:1261 +0x880 fp=0x40001c5770 sp=0x40001c5490 pc=0x227e00
math/big.nat.expNN({0x0?, 0x418c80?, 0x4000392a00?}, {0x400039ad80?, 0x20, 0x24}, {0x400039ab40?, 0x20, 0x24?}, {0x400031e240?, ...}, ...)
	/workdir/go/src/math/big/nat.go:983 +0x2e0 fp=0x40001c5960 sp=0x40001c5770 pc=0x226300
math/big.nat.probablyPrimeMillerRabin({0x400031e240?, 0x20, 0x24}, 0x15, 0x1)
	/workdir/go/src/math/big/prime.go:106 +0x444 fp=0x40001c5b00 sp=0x40001c5960 pc=0x22ca44
math/big.(*Int).ProbablyPrime(0x40001a2640, 0x14)
	/workdir/go/src/math/big/prime.go:78 +0x2d8 fp=0x40001c5b40 sp=0x40001c5b00 pc=0x22c588
crypto/rand.Prime({0x418268, 0x4164a0}, 0x800)
	/workdir/go/src/crypto/rand/util.go:55 +0x1d4 fp=0x40001c5ba0 sp=0x40001c5b40 pc=0x25b304
crypto/rsa.GenerateMultiPrimeKey({0x418268?, 0x4164a0}, 0x2, 0x1000)
	/workdir/go/src/crypto/rsa/rsa.go:346 +0x71c fp=0x40001c5e90 sp=0x40001c5ba0 pc=0x25e7cc
crypto/rsa.GenerateKey(...)
	/workdir/go/src/crypto/rsa/rsa.go:252
crypto/x509.boringRSAKey(0x4000192680, 0x37a441?)
	/workdir/go/src/crypto/x509/boring_test.go:30 +0x40 fp=0x40001c5ee0 sp=0x40001c5e90 pc=0x2b58a0
crypto/x509.TestBoringAllowCert(0x0?)
	/workdir/go/src/crypto/x509/boring_test.go:58 +0x94 fp=0x40001c5f60 sp=0x40001c5ee0 pc=0x2b5a44
testing.tRunner(0x4000192680, 0x3cb8b8)
2022-11-16 14:37 linux-arm64-boringcrypto go@80c5bbc6 crypto/x509.TestBoringAllowCert (log)
panic: test timed out after 3m0s
running tests:
	TestBoringAllowCert (3m0s)

math/big.nat.montgomery({0x4000401200?, 0x40?, 0x84?}, {0x40003fa000?, 0x40?, 0x86?}, {0x40003fe480?, 0x40?, 0x84?}, {0x4000415680?, ...}, ...)
	/workdir/go/src/math/big/nat.go:216 +0x434 fp=0x40001c5490 sp=0x40001c5490 pc=0x221d64
math/big.nat.expNNMontgomery({0x40003f4fc0, 0x10e00c?, 0x44}, {0x40003f4d80?, 0xffff888e7ba8?, 0x2?}, {0x40003f4900, 0x40, 0x40001c5888?}, {0x4000415680?, ...})
	/workdir/go/src/math/big/nat.go:1263 +0x710 fp=0x40001c5770 sp=0x40001c5490 pc=0x2262f0
math/big.nat.expNN({0x0?, 0x418700?, 0x40003eaa00?}, {0x40003f4d80?, 0x40, 0x44}, {0x40003f4900?, 0x40, 0x44?}, {0x4000415680?, ...}, ...)
	/workdir/go/src/math/big/nat.go:983 +0x2e0 fp=0x40001c5960 sp=0x40001c5770 pc=0x224960
math/big.nat.probablyPrimeMillerRabin({0x4000415680?, 0x40, 0x44}, 0x15, 0x1)
	/workdir/go/src/math/big/prime.go:106 +0x444 fp=0x40001c5b00 sp=0x40001c5960 pc=0x22b0a4
math/big.(*Int).ProbablyPrime(0x4000022020, 0x14)
	/workdir/go/src/math/big/prime.go:78 +0x2d8 fp=0x40001c5b40 sp=0x40001c5b00 pc=0x22abe8
crypto/rand.Prime({0x417cf8, 0x415f10}, 0x1000)
	/workdir/go/src/crypto/rand/util.go:55 +0x1d4 fp=0x40001c5ba0 sp=0x40001c5b40 pc=0x2597a4
crypto/rsa.GenerateMultiPrimeKey({0x417cf8?, 0x415f10}, 0x2, 0x2000)
	/workdir/go/src/crypto/rsa/rsa.go:346 +0x71c fp=0x40001c5e90 sp=0x40001c5ba0 pc=0x25cc7c
crypto/rsa.GenerateKey(...)
	/workdir/go/src/crypto/rsa/rsa.go:252
crypto/x509.boringRSAKey(0x4000192680, 0x37a63f?)
	/workdir/go/src/crypto/x509/boring_test.go:30 +0x40 fp=0x40001c5ee0 sp=0x40001c5e90 pc=0x2b4ff0
crypto/x509.TestBoringAllowCert(0x0?)
	/workdir/go/src/crypto/x509/boring_test.go:57 +0x5c fp=0x40001c5f60 sp=0x40001c5ee0 pc=0x2b515c
testing.tRunner(0x4000192680, 0x3cba20)
2022-11-16 20:18 linux-arm64-boringcrypto go@e6eaf39c crypto/x509.TestBoringAllowCert (log)
panic: test timed out after 3m0s
running tests:
	TestBoringAllowCert (3m0s)

math/big.nat.montgomery({0x40003c0900?, 0x40?, 0x86?}, {0x40003c7b00?, 0x40?, 0x84?}, {0x40003c6000?, 0x40?, 0x84?}, {0x4000562240?, ...}, ...)
	/workdir/go/src/math/big/nat.go:216 +0x434 fp=0x40000e5490 sp=0x40000e5490 pc=0x221e54
math/big.nat.expNNMontgomery({0x40003c3b00, 0x400044e030?, 0x44}, {0x40003c38c0?, 0x40000ee210?, 0x3763c0?}, {0x40003c3440, 0x40, 0x40000e5888?}, {0x4000562240?, ...})
	/workdir/go/src/math/big/nat.go:1263 +0x710 fp=0x40000e5770 sp=0x40000e5490 pc=0x2263e0
math/big.nat.expNN({0x0?, 0x418780?, 0x40003b2a00?}, {0x40003c38c0?, 0x40, 0x44}, {0x40003c3440?, 0x40, 0x44?}, {0x4000562240?, ...}, ...)
	/workdir/go/src/math/big/nat.go:983 +0x2e0 fp=0x40000e5960 sp=0x40000e5770 pc=0x224a50
math/big.nat.probablyPrimeMillerRabin({0x4000562240?, 0x40, 0x44}, 0x15, 0x1)
	/workdir/go/src/math/big/prime.go:106 +0x444 fp=0x40000e5b00 sp=0x40000e5960 pc=0x22b194
math/big.(*Int).ProbablyPrime(0x40000cc020, 0x14)
	/workdir/go/src/math/big/prime.go:78 +0x2d8 fp=0x40000e5b40 sp=0x40000e5b00 pc=0x22acd8
crypto/rand.Prime({0x417d78, 0x415f80}, 0x1000)
	/workdir/go/src/crypto/rand/util.go:55 +0x1d4 fp=0x40000e5ba0 sp=0x40000e5b40 pc=0x259894
crypto/rsa.GenerateMultiPrimeKey({0x417d78?, 0x415f80}, 0x2, 0x2000)
	/workdir/go/src/crypto/rsa/rsa.go:346 +0x71c fp=0x40000e5e90 sp=0x40000e5ba0 pc=0x25cd6c
crypto/rsa.GenerateKey(...)
	/workdir/go/src/crypto/rsa/rsa.go:252
crypto/x509.boringRSAKey(0x4000082ea0, 0x37a63f?)
	/workdir/go/src/crypto/x509/boring_test.go:30 +0x40 fp=0x40000e5ee0 sp=0x40000e5e90 pc=0x2b50e0
crypto/x509.TestBoringAllowCert(0x0?)
	/workdir/go/src/crypto/x509/boring_test.go:57 +0x5c fp=0x40000e5f60 sp=0x40000e5ee0 pc=0x2b524c
testing.tRunner(0x4000082ea0, 0x3cba68)

watchflakes

@bcmills
Copy link
Member

bcmills commented Nov 17, 2022

(attn @rolandshoemaker)

@bcmills bcmills added this to the Go1.20 milestone Nov 17, 2022
@gopherbot
Copy link
Author

gopherbot commented Nov 17, 2022

Change https://go.dev/cl/451655 mentions this issue: crypto/x509: reduce boring test key size

@gopherbot
Copy link
Author

gopherbot commented Nov 17, 2022

Change https://go.dev/cl/451656 mentions this issue: crypto/x509: reduce boring test key size

@gopherbot
Copy link
Author

gopherbot commented Nov 21, 2022

Found new dashboard test flakes for:

#!watchflakes
post <- pkg == "crypto/x509" && test == "TestBoringAllowCert"
2022-11-17 17:24 linux-arm64-boringcrypto go@5c834a2e crypto/x509.TestBoringAllowCert (log)
panic: test timed out after 3m0s
running tests:
	TestBoringAllowCert (3m0s)

math/big.nat.montgomery({0x40003e9200?, 0x40?, 0x86?}, {0x40003f4480?, 0x40?, 0x84?}, {0x40003f4480?, 0x40?, 0x84?}, {0x400015ed80?, ...}, ...)
	/workdir/go/src/math/big/nat.go:216 +0x434 fp=0x40000d3490 sp=0x40000d3490 pc=0x221f04
math/big.nat.expNNMontgomery({0x40003ead80, 0x10e00c?, 0x44}, {0x40003eab40?, 0xffff926f8268?, 0x2?}, {0x40003ea6c0, 0x40, 0x40000d3888?}, {0x400015ed80?, ...})
	/workdir/go/src/math/big/nat.go:1258 +0x7a8 fp=0x40000d3770 sp=0x40000d3490 pc=0x226528
math/big.nat.expNN({0x0?, 0x4187c0?, 0x40003ec000?}, {0x40003eab40?, 0x40, 0x44}, {0x40003ea6c0?, 0x40, 0x44?}, {0x400015ed80?, ...}, ...)
	/workdir/go/src/math/big/nat.go:983 +0x2e0 fp=0x40000d3960 sp=0x40000d3770 pc=0x224b00
math/big.nat.probablyPrimeMillerRabin({0x400015ed80?, 0x40, 0x44}, 0x15, 0x1)
	/workdir/go/src/math/big/prime.go:106 +0x444 fp=0x40000d3b00 sp=0x40000d3960 pc=0x22b244
math/big.(*Int).ProbablyPrime(0x40000ae020, 0x14)
	/workdir/go/src/math/big/prime.go:78 +0x2d8 fp=0x40000d3b40 sp=0x40000d3b00 pc=0x22ad88
crypto/rand.Prime({0x417da8, 0x415fb8}, 0x1000)
	/workdir/go/src/crypto/rand/util.go:55 +0x1d4 fp=0x40000d3ba0 sp=0x40000d3b40 pc=0x259934
crypto/rsa.GenerateMultiPrimeKey({0x417da8?, 0x415fb8}, 0x2, 0x2000)
	/workdir/go/src/crypto/rsa/rsa.go:346 +0x71c fp=0x40000d3e90 sp=0x40000d3ba0 pc=0x25ce0c
crypto/rsa.GenerateKey(...)
	/workdir/go/src/crypto/rsa/rsa.go:252
crypto/x509.boringRSAKey(0x40000829c0, 0x37a63f?)
	/workdir/go/src/crypto/x509/boring_test.go:30 +0x40 fp=0x40000d3ee0 sp=0x40000d3e90 pc=0x2b5070
crypto/x509.TestBoringAllowCert(0x0?)
	/workdir/go/src/crypto/x509/boring_test.go:57 +0x5c fp=0x40000d3f60 sp=0x40000d3ee0 pc=0x2b51dc
testing.tRunner(0x40000829c0, 0x3cba68)

watchflakes

@gopherbot gopherbot reopened this Nov 21, 2022
@rolandshoemaker
Copy link
Member

rolandshoemaker commented Nov 21, 2022

5c834a2 is before the fix (38b9ff6) landed, as far as I can tell.

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

3 participants