$ go test -check.f MigrationImportSuite.TestMachines -check.v
----------------------------------------------------------------------
FAIL: <autogenerated>:784: MigrationImportSuite.TearDownTest
Waiting for sockets to die: 1 in use, 3 alive
Waiting for sockets to die: 1 in use, 3 alive
Waiting for sockets to die: 1 in use, 3 alive
Waiting for sockets to die: 1 in use, 3 alive
Waiting for sockets to die: 1 in use, 3 alive
Waiting for sockets to die: 1 in use, 3 alive
Waiting for sockets to die: 1 in use, 3 alive
Waiting for sockets to die: 1 in use, 3 alive
Waiting for sockets to die: 1 in use, 3 alive
Waiting for sockets to die: 1 in use, 3 alive
Waiting for sockets to die: 1 in use, 3 alive
Waiting for sockets to die: 1 in use, 3 alive
Waiting for sockets to die: 1 in use, 3 alive
Waiting for sockets to die: 1 in use, 3 alive
Waiting for sockets to die: 1 in use, 3 alive
Waiting for sockets to die: 1 in use, 3 alive
Waiting for sockets to die: 1 in use, 3 alive
Waiting for sockets to die: 1 in use, 3 alive
Waiting for sockets to die: 1 in use, 3 alive
Waiting for sockets to die: 1 in use, 3 alive
/home/tim/go/src/github.com/juju/testing/mgo.go:614:
c.Fatal("Test left sockets in a dirty state")
... Error: Test left sockets in a dirty state
----------------------------------------------------------------------
PANIC: migration_import_test.go:163: MigrationImportSuite.TestMachines
SetUpTest
[LOG] 0:00.004 INFO juju.network setting prefer-ipv6 to false
[LOG] 0:00.004 INFO juju.state opening state, mongo addresses: ["localhost:46426"]; entity <nil>
[LOG] 0:00.004 DEBUG juju.state dialing mongo
[LOG] 0:00.006 INFO juju.mongo dialled mongo successfully on address "127.0.0.1:46426"
[LOG] 0:00.007 DEBUG juju.state connection established
[LOG] 0:00.007 DEBUG juju.state mongodb login successful
[LOG] 0:00.043 INFO juju.mongo dialled mongo successfully on address "127.0.0.1:46426"
[LOG] 0:00.043 INFO juju.state initializing state server environment 7c19c0bd-47b4-4839-8752-f76f16a88618
[LOG] 0:00.077 INFO juju.state running state anonymously; using unique client id
[LOG] 0:00.077 INFO juju.state creating lease client as anon-749da7c0-ba08-4149-8d19-29b8a159c198
[LOG] 0:00.079 INFO juju.mongo dialled mongo successfully on address "127.0.0.1:46426"
[LOG] 0:00.085 INFO juju.state starting leadership manager
[LOG] 0:00.085 INFO juju.state creating cloud image metadata storage
[LOG] 0:00.085 INFO juju.state starting presence watcher
SetUpTest done
[LOG] 0:00.179 DEBUG juju.state.export-model found 2 machines
[LOG] 0:00.180 DEBUG juju.state.export-model found 2 instanceData
[LOG] 0:00.180 DEBUG juju.state.export-model export machine 0
[LOG] 0:00.180 DEBUG juju.state.export-model export machine 0/lxc/0
[LOG] 0:00.181 INFO juju.state opening state, mongo addresses: ["localhost:46426"]; entity <nil>
[LOG] 0:00.181 DEBUG juju.state dialing mongo
[LOG] 0:00.184 INFO juju.mongo dialled mongo successfully on address "127.0.0.1:46426"
[LOG] 0:00.185 DEBUG juju.state connection established
[LOG] 0:00.185 DEBUG juju.state mongodb login successful
[LOG] 0:00.200 INFO juju.state running state anonymously; using unique client id
[LOG] 0:00.200 INFO juju.state creating lease client as anon-da1dd6bc-b561-46b4-80fc-db138e7091c1
[LOG] 0:00.202 INFO juju.mongo dialled mongo successfully on address "127.0.0.1:46426"
[LOG] 0:00.204 INFO juju.mongo dialled mongo successfully on address "127.0.0.1:46426"
[LOG] 0:00.210 INFO juju.state starting leadership manager
[LOG] 0:00.210 INFO juju.state creating cloud image metadata storage
[LOG] 0:00.210 INFO juju.state starting presence watcher
[LOG] 0:00.244 DEBUG juju.state closed state without error
[LOG] 0:00.247 INFO juju.testing reset successfully reset admin password
... Panic: Fixture has panicked (see related PANIC)
OOPS: 0 passed, 1 FAILED, 1 MISSED
--- FAIL: TestPackage (10.31s)
FAIL
exit status 1
FAIL github.com/juju/juju/state 10.383s