go-i2p
go-i2p copied to clipboard
Flaky test TestDSA
First time I've seen a failure since we fixed the first round of these:
? github.com/hkparker/go-i2p [no test files]
? github.com/hkparker/go-i2p/lib/bootstrap [no test files]
ok github.com/hkparker/go-i2p/lib/common 0.005s coverage: 79.0% of statements
? github.com/hkparker/go-i2p/lib/common/base32 [no test files]
? github.com/hkparker/go-i2p/lib/common/base64 [no test files]
? github.com/hkparker/go-i2p/lib/config [no test files]
--- FAIL: TestDSA (0.00s)
dsa_test.go:36: sig="O[6R%\xf9kD\xe9\x1fʖhM\x06ó\xb4\x98\x90\u007f2S\xbf\xae\x9d\x8a\x90\xd0\xf1\xdc(\xf11Fݵ0\xd9p"
dsa_test.go:47: failed: invalid signature
FAIL
coverage: 55.9% of statements
FAIL github.com/hkparker/go-i2p/lib/crypto 0.037s
? github.com/hkparker/go-i2p/lib/i2np [no test files]
? github.com/hkparker/go-i2p/lib/netdb [no test files]
? github.com/hkparker/go-i2p/lib/router [no test files]
? github.com/hkparker/go-i2p/lib/transport [no test files]
? github.com/hkparker/go-i2p/lib/transport/ssu [no test files]
ok github.com/hkparker/go-i2p/lib/tunnel 0.003s coverage: 2.0% of statements
@majestrate interested in taking a look?
Saw the same thing when randomly checking test cases. Forgot to log it at the time, so I ran a loop to see if it would happen again and it did... Not sure what it means yet but I can say I've seen it as well.
pew:$ for i in {1..50}; do go test -timeout 30s -run ^TestDSA$; done
PASS
ok _/home/pew/go/go-i2p/lib/crypto 0.008s
PASS
ok _/home/pew/go/go-i2p/lib/crypto 0.008s
PASS
ok _/home/pew/go/go-i2p/lib/crypto 0.006s
PASS
ok _/home/pew/go/go-i2p/lib/crypto 0.013s
PASS
ok _/home/pew/go/go-i2p/lib/crypto 0.010s
PASS
ok _/home/pew/go/go-i2p/lib/crypto 0.007s
PASS
ok _/home/pew/go/go-i2p/lib/crypto 0.008s
--- FAIL: TestDSA (0.00s)
dsa_test.go:36: sig="2\x97\xf6\x17\xde\xfb\xb2\x95%P\xb6\\\x87rZ\xa1̖\xb6RZ\xe5\xbc\xf8\xff]\x8f\a\x1ek}.\xcc\xe7W\xa1\x1d,)\x01"
dsa_test.go:47: failed: invalid signature
FAIL
exit status 1
FAIL _/home/pew/go/go-i2p/lib/crypto 0.006s
PASS
ok _/home/pew/go/go-i2p/lib/crypto 0.006s
PASS
ok _/home/pew/go/go-i2p/lib/crypto 0.006s
PASS
ok _/home/pew/go/go-i2p/lib/crypto 0.009s
PASS
------------------- [rest pass] ---------------------------