StateTrackerSuite.TestReport failed on c.Check(removeRequestCount(s.stateTracker.Report()), gc.DeepEquals, report)

Bug #1821008 reported by Heather Lanigan
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Canonical Juju
Fix Released
Medium
Unassigned

Bug Description

http://ci.jujucharms.com/job/make-check-juju/3739/consoleFull

15:09:02 ----------------------------------------------------------------------
15:09:02 FAIL: statetracker_test.go:122: StateTrackerSuite.TestReport
15:09:02
15:09:02 [LOG] 0:00.029 DEBUG juju.state mongodb initialised
15:09:02 [LOG] 0:00.029 INFO juju.state running state anonymously; using unique store id
15:09:02 [LOG] 0:00.029 INFO juju.state starting standard state workers
15:09:02 [LOG] 0:00.029 INFO juju.state creating cloud image metadata storage
15:09:02 [LOG] 0:00.029 INFO juju.state started state for model-9b09611f-b197-41e4-8fbc-c3d64243d2b3 successfully
15:09:02 [LOG] 0:00.030 INFO juju.state initializing controller model 9b09611f-b197-41e4-8fbc-c3d64243d2b3
15:09:02 [LOG] 0:00.030 DEBUG juju.state.presence using $bit operations with Mongo 3.6.3
15:09:02 statetracker_test.go:157:
15:09:02 c.Check(removeRequestCount(s.stateTracker.Report()), gc.DeepEquals, report)
15:09:02 ... obtained map[string]interface {} = map[string]interface {}{"system":map[string]interface {}{"workers":map[string]interface {}{"txnlog":map[string]interface {}{"state":"started", "started":"1970-01-01 00:00:00", "report":map[string]interface {}{"change-count":0x0, "watch-count":0x0, "sync-last-len":0, "sync-avg-len":0, "sync-max-len":0, "sync-event-doc-count":0x0, "watch-key-count":0, "sync-queue-cap":0, "sync-queue-len":0, "sync-event-coll-count":0x0}}, "presence":map[string]interface {}{"state":"started", "started":"1970-01-01 00:00:00"}, "pingbatcher":map[string]interface {}{"state":"started", "started":"1970-01-01 00:00:00"}, "leadership":map[string]interface {}{"state":"stopped", "started":"1970-01-01 00:00:00"}, "singular":map[string]interface {}{"state":"started", "started":"1970-01-01 00:00:00"}}}, "pool-size":0, "txn-watcher":map[string]interface {}{"workers":map[string]interface {}{"txnlog":map[string]interface {}{"state":"started", "started":"1970-01-01 00:00:00", "report":map[string]interface {}{"total-changes":0x0, "iterator-step-count":0x0, "sync-events-last-len":0, "sync-events-avg":0, "sync-events-len":0, "sync-events-cap":0}}}}}
15:09:02 ... expected map[string]interface {} = map[string]interface {}{"txn-watcher":map[string]interface {}{"workers":map[string]interface {}{"txnlog":map[string]interface {}{"state":"started", "started":"1970-01-01 00:00:00", "report":map[string]interface {}{"sync-events-last-len":0, "sync-events-avg":0, "sync-events-len":0, "sync-events-cap":0, "total-changes":0x0, "iterator-step-count":0x0}}}}, "system":map[string]interface {}{"workers":map[string]interface {}{"txnlog":map[string]interface {}{"state":"started", "started":"1970-01-01 00:00:00", "report":map[string]interface {}{"sync-queue-len":0, "sync-last-len":0, "sync-avg-len":0, "sync-event-coll-count":0x0, "sync-queue-cap":0, "watch-key-count":0, "sync-max-len":0, "sync-event-doc-count":0x0, "change-count":0x0, "watch-count":0x0}}, "presence":map[string]interface {}{"state":"started", "started":"1970-01-01 00:00:00"}, "pingbatcher":map[string]interface {}{"state":"started", "started":"1970-01-01 00:00:00"}, "leadership":map[string]interface {}{"state":"stopped", "started":"1970-01-01 00:00:00"}, "singular":map[string]interface {}{"state":"stopped", "started":"1970-01-01 00:00:00"}}}, "pool-size":0}
15:09:02
15:09:02 [LOG] 0:00.090 DEBUG juju.state closed state without error
15:09:02
15:09:02 ----------------------------------------------------------------------

Revision history for this message
Anastasia (anastasia-macmood) wrote :

I cannot reproduce this under stress locally. It must have been fixed as part of other work.

Changed in juju:
status: Triaged → Fix Released
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.