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

Flaky test in crypto package: TestElg #6

Open
hkparker opened this issue Jul 8, 2016 · 0 comments
Open

Flaky test in crypto package: TestElg #6

hkparker opened this issue Jul 8, 2016 · 0 comments

Comments

@hkparker
Copy link
Owner

hkparker commented Jul 8, 2016

Every so often the TestElg test fails

$ go test ./... -cover
?       github.com/hkparker/go-i2p  [no test files]
ok      github.com/hkparker/go-i2p/lib/common   0.007s  coverage: 80.1% 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: TestElg (0.01s)
panic: runtime error: invalid memory address or nil pointer dereference [recovered]
    panic: runtime error: invalid memory address or nil pointer dereference
[signal 0xb code=0x1 addr=0x8 pc=0x7f1d7c002185]

goroutine 7 [running]:
panic(0x7f1d7c112ca0, 0xc82000a180)
    /usr/lib/go/src/runtime/panic.go:481 +0x3e6
testing.tRunner.func1(0xc8200226c0)
    /usr/lib/go/src/testing/testing.go:467 +0x192
panic(0x7f1d7c112ca0, 0xc82000a180)
    /usr/lib/go/src/runtime/panic.go:443 +0x4e9
github.com/hkparker/go-i2p/lib/crypto.createElgamalEncryption(0x0, 0x7f1d7c3794f0, 0xc820016720, 0x0, 0x0, 0x0)
    github.com/hkparker/go-i2p/lib/crypto/_test/_obj_test/elg.go:198 +0x175
github.com/hkparker/go-i2p/lib/crypto.TestElg(0xc8200226c0)
    /home/hayden/Development/Go/src/github.com/hkparker/go-i2p/lib/crypto/elg_test.go:19 +0x197
testing.tRunner(0xc8200226c0, 0x7f1d7c420770)
    /usr/lib/go/src/testing/testing.go:473 +0x98
created by testing.RunTests
    /usr/lib/go/src/testing/testing.go:582 +0x892
FAIL    github.com/hkparker/go-i2p/lib/crypto   0.018s
?       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]
?       github.com/hkparker/go-i2p/lib/tunnel   [no test files]
@hkparker hkparker changed the title Flaky test in crypto package Flaky tests in crypto package Jul 10, 2016
@hkparker hkparker changed the title Flaky tests in crypto package Flaky test in crypto package: TestElg Jul 10, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant