intermittent unit failure: SSHReachableHostPortSuite.TestMultiplePublicKeys

Bug #1750722 reported by Anastasia on 2018-02-21
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
juju
Medium
Unassigned

Bug Description

----------------------------------------------------------------------
FAIL: reachable_test.go:106: SSHReachableHostPortSuite.TestMultiplePublicKeys

[LOG] 0:00.040 DEBUG juju.network.ssh dialing 127.0.0.1:42405 to check host keys
[LOG] 0:00.040 DEBUG juju.network.ssh connected to 127.0.0.1:42405, initiating ssh handshake
accepted tcp connection on 127.0.0.1:42405 from 127.0.0.1:33164
initiating ssh handshake for 127.0.0.1:33164
[LOG] 0:00.042 DEBUG juju.network.ssh accepted host key for: 127.0.0.1:42405
error initiating ssh connection for 127.0.0.1:33164: EOF
reachable_test.go:112:
    c.Check(err, jc.ErrorIsNil)
... value *errors.Err = &errors.Err{message:"cannot connect to any address: [127.0.0.1:42405]", cause:error(nil), previous:error(nil), file:"github.com/juju/juju/network/ssh/reachable.go", line:226} ("cannot connect to any address: [127.0.0.1:42405]")
... error stack:
 github.com/juju/juju/network/ssh/reachable.go:226: cannot connect to any address: [127.0.0.1:42405]

reachable_test.go:113:
    c.Check(best, gc.Equals, hostPorts[0])
... obtained network.HostPort = :0 (":0")
... expected network.HostPort = 127.0.0.1:42405 ("127.0.0.1:42405")

OOPS: 6 passed, 1 FAILED
--- FAIL: TestAll (0.06s)
FAIL
FAIL github.com/juju/juju/network/ssh 2.625s

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers