ActionSuite.TestUnitWatchActionNotifications unexpected change

Bug #1589641 reported by Nicholas Skaggs
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Canonical Juju
Fix Released
High
Anastasia
2.0
Fix Released
High
Anastasia

Bug Description

As seen in http://reports.vapour.ws/releases/issue/5755c655749a5635f691f49d:

FAIL: action_test.go:564: ActionSuite.TestUnitWatchActionNotifications

SetUpTest
[LOG] 0:00.035 INFO juju.state opening state, mongo addresses: ["localhost:40297"]; entity <nil>
[LOG] 0:00.036 DEBUG juju.state dialing mongo
[LOG] 0:00.046 INFO juju.mongo dialled mongo successfully on address "127.0.0.1:40297"
[LOG] 0:00.048 DEBUG juju.state connection established
[LOG] 0:00.048 DEBUG juju.state mongodb login successful
[LOG] 0:00.105 INFO juju.mongo dialled mongo successfully on address "127.0.0.1:40297"
[LOG] 0:00.108 INFO juju.state initializing controller model 581930c0-0a00-4900-8b6f-2f16a326cc0c
[LOG] 0:00.225 INFO juju.state running state anonymously; using unique client id
[LOG] 0:00.225 INFO juju.state starting standard state workers
[LOG] 0:00.225 DEBUG juju.state.workers starting leadership lease manager
[LOG] 0:00.232 INFO juju.mongo dialled mongo successfully on address "127.0.0.1:40297"
[LOG] 0:00.255 DEBUG juju.state.workers starting singular lease manager
[LOG] 0:00.255 DEBUG juju.worker.lease waking to check leases at 2016-06-03 15:00:17.699756148 +0000 UTC
[LOG] 0:00.271 DEBUG juju.state.workers starting transaction log watcher
[LOG] 0:00.272 DEBUG juju.state.workers starting presence watcher
[LOG] 0:00.274 INFO juju.state creating cloud image metadata storage
[LOG] 0:00.274 INFO juju.state started state for model-581930c0-0a00-4900-8b6f-2f16a326cc0c successfully
SetUpTest done
[LOG] 0:00.276 DEBUG juju.worker.lease waking to check leases at 2016-06-03 15:00:17.720381223 +0000 UTC
[LOG] 0:00.289 INFO juju.mongo dialled mongo successfully on address "127.0.0.1:40297"
[LOG] 0:00.875 DEBUG juju.state.action newActionDoc name: 'snapshot', receiver: 'unit-dummy-0', actionId: 'e6eac22e-7cb3-4531-89f9-6cba37b668e4'
[LOG] 0:00.901 DEBUG juju.state.action newActionDoc name: 'snapshot', receiver: 'unit-dummy-0', actionId: 'caebf281-64be-4882-83d7-623f56d28891'
action_test.go:587:
    wc.AssertNoChange()
testing/watcher.go:145:
    c.Fatalf("watcher sent unexpected change: (%v, %v)", actual, ok)
... Error: watcher sent unexpected change: ([e6eac22e-7cb3-4531-89f9-6cba37b668e4 caebf281-64be-4882-83d7-623f56d28891], true)

While this issue is not a race, it appears only when the tests are run with race.

Changed in juju-core:
status: New → Incomplete
Curtis Hovey (sinzui)
tags: added: ci race-condition regression test-failure unit-tests
Changed in juju-core:
status: Incomplete → Triaged
importance: Undecided → High
milestone: none → 2.0-beta9
no longer affects: juju-core/service-to-application
description: updated
Curtis Hovey (sinzui)
Changed in juju-core:
milestone: 2.0-beta9 → 2.0-beta10
Curtis Hovey (sinzui)
Changed in juju-core:
milestone: 2.0-beta10 → 2.0-beta11
Curtis Hovey (sinzui)
Changed in juju-core:
milestone: 2.0-beta11 → 2.0-beta12
Changed in juju-core:
milestone: 2.0-beta12 → 2.0-beta13
Curtis Hovey (sinzui)
Changed in juju-core:
milestone: 2.0-beta13 → 2.0-beta14
Curtis Hovey (sinzui)
summary: - github.com/juju/juju/state fails on
- ActionSuite.TestUnitWatchActionNotifications
+ ActionSuite.TestUnitWatchActionNotifications unexpected change
Curtis Hovey (sinzui)
Changed in juju-core:
milestone: 2.0-beta14 → 2.0-beta15
Changed in juju-core:
milestone: 2.0-beta15 → 2.0.0
affects: juju-core → juju
Changed in juju:
milestone: 2.0.0 → none
milestone: none → 2.0.0
Changed in juju:
milestone: 2.0.0 → 2.0.1
Curtis Hovey (sinzui)
Changed in juju:
milestone: 2.0.1 → none
Changed in juju:
status: Triaged → In Progress
assignee: nobody → Anastasia (anastasia-macmood)
milestone: none → 2.1.0-beta2
Revision history for this message
Anastasia (anastasia-macmood) wrote :
Changed in juju:
status: In Progress → Fix Committed
Revision history for this message
Anastasia (anastasia-macmood) wrote :
Curtis Hovey (sinzui)
Changed in juju:
status: Fix Committed → 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.