rpc: tests are unreliable
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
juju-core |
Fix Released
|
High
|
Roger Peppe |
Bug Description
Depending on the machine, time of day, and color of the sky, rpc tests succeed or pass
The failure modes differ, here is a sample.
-------
FAIL: rpc_test.go:319: suite.TestServe
[LOG] 70.76707 INFO: rpc: discarding obtainer method reflect.
[LOG] 70.76718 INFO: rpc: discarding obtainer method reflect.
[LOG] 70.76729 INFO: rpc: discarding obtainer method reflect.
[LOG] 70.76786 INFO: send client request header: &rpc.Request{
[LOG] 70.76804 INFO: got response header &rpc.Response{
[LOG] 70.76809 ERROR: rpc: client protocol error: unexpected EOF
rpc_test.go:338:
chanRead(c, ready, "DelayedMethods
rpc_test.go:357:
c.Fatalf(
... Error: timeout on channel read DelayedMethods.
OOPS: 8 passed, 1 FAILED
Related branches
- Juju Engineering: Pending requested
-
Diff: 19 lines (+1/-1)1 file modifiedrpc/rpc_test.go (+1/-1)
Changed in juju-core: | |
assignee: | nobody → Roger Peppe (rogpeppe) |
importance: | Undecided → High |
status: | New → In Progress |
Changed in juju-core: | |
milestone: | none → 1.9.12 |
Changed in juju-core: | |
status: | Fix Committed → Fix Released |
fixed by lp:~rogpeppe/juju-core/248-fix-rpc-test-race