sporadic test failure: storeManagerStateSuite.TestStateWatcher
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
juju-core |
Triaged
|
Medium
|
Unassigned |
Bug Description
See http://
This appears to be a transient failure. So far I've only seen it on master.
-------
FAIL: megawatcher_
[LOG] 0:00.004 INFO juju.state opening state, mongo addresses: ["localhost:
[LOG] 0:00.004 DEBUG juju.state dialing mongo
[LOG] 0:00.005 INFO juju.mongo dialled mongo successfully on address "127.0.0.1:57340"
[LOG] 0:00.006 DEBUG juju.state connection established
[LOG] 0:00.030 INFO juju.mongo dialled mongo successfully on address "127.0.0.1:57340"
[LOG] 0:00.030 INFO juju.state initializing environment, owner: "test-admin@local"
[LOG] 0:00.030 INFO juju.state info: &mongo.
[LOG] 0:00.030 INFO juju.state starting presence watcher
[LOG] 0:00.032 INFO juju.mongo dialled mongo successfully on address "127.0.0.1:57340"
[LOG] 0:00.110 INFO juju.state opening state, mongo addresses: ["localhost:
[LOG] 0:00.110 DEBUG juju.state dialing mongo
[LOG] 0:00.111 INFO juju.mongo dialled mongo successfully on address "127.0.0.1:57340"
[LOG] 0:00.112 DEBUG juju.state connection established
[LOG] 0:00.118 INFO juju.mongo dialled mongo successfully on address "127.0.0.1:57340"
[LOG] 0:00.119 INFO juju.mongo dialled mongo successfully on address "127.0.0.1:57340"
[LOG] 0:00.419 INFO juju.mongo dialled mongo successfully on address "127.0.0.1:57340"
megawatcher_
checkDeltas
Entity: &multiwatcher.
Id: "0",
Status: multiwatcher.
Life: multiwatcher.
Series: "trusty",
Jobs: []multiwatcher.
},
}, {
Removed: true,
Entity: &multiwatcher.
Id: "1",
Status: multiwatcher.
Life: multiwatcher.
Series: "saucy",
Jobs: []multiwatcher.
},
}, {
Entity: &multiwatcher.
Id: "2",
Status: multiwatcher.
Life: multiwatcher.
Series: "quantal",
Jobs: []multiwatcher.
},
}, {
Entity: &multiwatcher.
Name: "wordpress",
Life: "alive",
Config: make(map[
},
}, {
Entity: &multiwatcher.
Name: "wordpress/0",
Series: "quantal",
Status: "allocating",
},
}})
megawatcher_
// Deltas are returned in arbitrary order, so we compare them as maps.
c.Check(
... obtained map[interface {}]multiwatcher
... expected map[interface {}]multiwatcher
... mismatch at top level: length mismatch, 4 vs 5; obtained map[interface {}]multiwatcher
[LOG] 0:00.503 INFO juju.testing reset successfully reset admin password
2015-03-25 12:43:05 INFO juju.testing mgo.go:514 reset successfully reset admin password
2015-03-25 12:44:22 INFO juju.testing mgo.go:514 reset successfully reset admin password
2015-03-25 12:45:10 INFO juju.testing mgo.go:514 reset successfully reset admin password
OOPS: 907 passed, 1 FAILED
--- FAIL: TestPackage (451.79 seconds)
FAIL
FAIL github.
summary: |
- storeManagerStateSuite.TestStateWatcher failed + sporadic test failure: storeManagerStateSuite.TestStateWatcher |
Changed in juju-core: | |
status: | New → Triaged |
importance: | Undecided → Medium |
tags: | added: intermittent-failure |
tags: | added: unit-tests |