launchpad.net/juju-core/state tests fail
Bug #1252538 reported by
Michael Hudson-Doyle
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
juju-core |
Fix Released
|
High
|
Unassigned |
Bug Description
This one seems quite messy:
OOPS: 36 passed, 19 FAILED, 2 FIXTURE-PANICKED, 316 MISSED
I'll attach the output.
summary: |
- launchpad.net/juju-core/state tests fail with gccgo + launchpad.net/juju-core/state tests fail |
tags: | removed: gccgo |
Changed in juju-core: | |
assignee: | nobody → Horacio Durán (hduran-8) |
assignee: | Horacio Durán (hduran-8) → nobody |
Changed in juju-core: | |
status: | Triaged → Fix Released |
To post a comment you must log in.
There are a few failures here, but all of them talk about: errorString{ s:"cannot create log collection: read tcp 127.0.0.1:49040: i/o timeout"} ("cannot create log collection: read tcp 127.0.0.1:49040: i/o timeout")
[LOG] 22.43061 INFO juju.state connection established
export_test.go:104:
c.Assert(err, gc.IsNil)
... value *errors.errorString = &errors.
All of *those* failures appear in state/open.go &logInfo) ed(err, "cannot create log collection")
err := log.Create(
if err != nil && err.Error() != "collection already exists" {
return nil, maybeUnauthoriz
}
So it looks like there was some initial failure, which failed to clean up the Mongo database, and then all following tests fail because the db already exists.
Hopefully there's an "easy" fix to clean up a bunch of these.