TestEnquedOperationFail intermittent failure

Bug #1970709 reported by Ian Booth
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Canonical Juju
Fix Released
Critical
Heather Lanigan

Bug Description

As seen in a check merge job

15:39:01 FAIL: operation_test.go:387: enqueueSuite.TestEnqueueOperationFail
15:39:01
15:39:01 operation_test.go:412:
15:39:01 r, err := api.Enqueue(arg)
15:39:01 /<email address hidden>/gomock/controller.go:183:
15:39:01 h.t.Fatalf(format, args...)
15:39:01 ... Error: Unexpected call to *mocks.MockModel.FailOperationEnqueuing([1 error(s) enqueueing action(s): could not determine leader for "mysql", database txn failure not found 1]) at /home/jenkins/go/src/github.com/juju/juju/apiserver/facades/client/action/operation.go:134 because:
15:39:01 expected call at /home/jenkins/go/src/github.com/juju/juju/apiserver/facades/client/action/operation_test.go:399 doesn't match the argument at index 1.
15:39:01 Got: error(s) enqueueing action(s): could not determine leader for "mysql", database txn failure not found
15:39:01 Want: is equal to error(s) enqueueing action(s): database txn failure not found, could not determine leader for "mysql"
15:39:01
15:39:01 operation_test.go:412:
15:39:01 r, err := api.Enqueue(arg)
15:39:01 /<email address hidden>/gomock/controller.go:180:
15:39:01 h.t.Errorf(format, args...)
15:39:01 ... Error: missing call(s) to *mocks.MockModel.FailOperationEnqueuing(is equal to 1, is equal to error(s) enqueueing action(s): database txn failure not found, could not determine leader for "mysql", is equal to 1) /home/jenkins/go/src/github.com/juju/juju/apiserver/facades/client/action/operation_test.go:399
15:39:01
15:39:01 operation_test.go:412:
15:39:01 r, err := api.Enqueue(arg)
15:39:01 /<email address hidden>/gomock/controller.go:183:
15:39:01 h.t.Fatalf(format, args...)
15:39:01 ... Error: aborting test due to missing call(s)

Changed in juju:
assignee: nobody → Heather Lanigan (hmlanigan)
Revision history for this message
Heather Lanigan (hmlanigan) wrote :
Changed in juju:
status: Triaged → In Progress
Ian Booth (wallyworld)
Changed in juju:
status: In Progress → Fix Committed
Changed in juju:
milestone: 2.9.30 → 2.9.31
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.