another sporadic state/presence failure
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
juju-core |
Fix Released
|
Low
|
Gustavo Niemeyer |
Bug Description
Only seen once, again:
-------
FAIL: presence_
[LOG] 48.86399 JUJU Faking presence to time slot 0
[LOG] 48.88485 JUJU:DEBUG presence: got request: presence.
[LOG] 48.88501 JUJU:DEBUG presence: synchronizing watcher knowledge with database...
[LOG] 48.89633 JUJU:DEBUG presence: starting pinger for "a" with seq=1
[LOG] 48.89634 JUJU:DEBUG presence: pinging "a" with seq=1
[LOG] 48.89698 JUJU:DEBUG presence: got request: presence.
[LOG] 48.89700 JUJU:DEBUG presence: synchronizing watcher knowledge with database...
[LOG] 48.89764 JUJU:DEBUG presence: found seq=1 alive with key "a"
[LOG] 48.89766 JUJU Faking presence to time slot 1
[LOG] 48.89768 JUJU:DEBUG presence: got request: presence.
[LOG] 48.89770 JUJU:DEBUG presence: synchronizing watcher knowledge with database...
presence_
assertNoCha
presence_
c.Fatalf("watch reported %v, want nothing", got)
... Error: watch reported {a false}, want nothing
[LOG] 48.90917 JUJU:DEBUG presence: stopping pinger for "a" with seq=1
OOPS: 10 passed, 1 FAILED
--- FAIL: TestPackage (8.29 seconds)
FAIL
FAIL launchpad.
Changed in juju-core: | |
assignee: | nobody → Gustavo Niemeyer (niemeyer) |
Changed in juju-core: | |
importance: | Medium → Low |
Changed in juju-core: | |
status: | Triaged → Fix Released |
Still occuring as of rev 827
------- ------- ------- ------- ------- ------- ------- ------- ------- ------- test.go: 253: PresenceSuite. TestWatchPeriod
FAIL: presence_
[LOG] 21.82379 JUJU state/presence: Faking presence to time slot 0 reqWatch{ key:"a" , ch:(chan<- presence. Change) (0xc2007d4840) } test.go: 272: Change{ "a", true}) test.go: 63:
[LOG] 21.82385 JUJU state/presence: Not faking presence time. Real time slot in use.
[LOG] 21.84842 JUJU:DEBUG state/presence: got request: presence.
[LOG] 21.84868 JUJU:DEBUG state/presence: synchronizing watcher knowledge with database...
[LOG] 21.85689 JUJU:DEBUG state/presence: starting pinger for "a" with seq=1
[LOG] 21.85690 JUJU:DEBUG state/presence: pinging "a" with seq=1
[LOG] 21.85783 JUJU:DEBUG state/presence: stopping pinger for "a" with seq=1
[LOG] 22.84881 JUJU:DEBUG state/presence: synchronizing watcher knowledge with database...
presence_
assertChange(c, ch, presence.
presence_
c.Fatalf("watch reported nothing, want %v", want)
... Error: watch reported nothing, want {a true}
OOPS: 10 passed, 1 FAILED
--- FAIL: TestPackage (9.39 seconds)