loginSuite.TestLoginRateLimited occasionally hangs

Bug #1323357 reported by John A Meinel
This bug report is a duplicate of:  Bug #1347939: Deadlock in login tests. Edit Remove
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
juju-core
Triaged
Medium
Unassigned

Bug Description

It may be that it eventually succeeds, but if I run:
cd state/apiserver
go test -compiler=gccgo -gocheck.f loginSuite

It will occasionally just hang. My output is:
ok launchpad.net/juju-core/state/apiserver 3.945s
PASS: login_test.go:90: net_juju_core_state_apiserver_test.TestBadLogin.pN55_launchpad.net_juju_core_state_apiserver_test.loginSuite 0.072s
PASS: login_test.go:274: net_juju_core_state_apiserver_test.TestDelayLogins.pN55_launchpad.net_juju_core_state_apiserver_test.loginSuite 0.215s
PASS: login_test.go:484: net_juju_core_state_apiserver_test.TestLoginAcceptsEnvironTag.pN55_launchpad.net_juju_core_state_apiserver_test.loginSuite 0.047s
PASS: login_test.go:191: net_juju_core_state_apiserver_test.TestLoginAddrs.pN55_launchpad.net_juju_core_state_apiserver_test.loginSuite 0.160s
PASS: login_test.go:124: net_juju_core_state_apiserver_test.TestLoginAsDeactivatedUser.pN55_launchpad.net_juju_core_state_apiserver_test.loginSuite 0.055s

The order for golang-go would be to run TestLoginRateLimited next, but gccgo has hung at that point.

I haven't gotten it to fail reliably, but I have had it hang a few times.

Revision history for this message
Andrew Wilkins (axwalk) wrote :

Marked this as a dupe because there's analysis and activity on lp:1347939.

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

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.