Intermittent Test Failure for caasunitprovisioner

Bug #1873241 reported by Joseph Phillips
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Canonical Juju
Fix Released
High
Joseph Phillips

Bug Description

This one can be replicated fairly easily in a loop, and hinders patch landing.

---

FAIL: worker_test.go:505: WorkerSuite.TestInvalidDeploymentChange

[LOG] 0:00.000 DEBUG test desiredScale changed to 1
[LOG] 0:00.051 DEBUG juju.kubernetes.provider.specs decoding stream as JSON
[LOG] 0:00.051 DEBUG test ensured deployment for gitlab for 1 units
worker_test.go:556:
    // First call is for "waiting"
    s.statusSetter.CheckCallNames(c, "SetOperatorStatus", "SetOperatorStatus")
/home/ubuntu/go/src/github.com/juju/juju/vendor/github.com/juju/testing/stub.go:248:
    return c.Check(funcNames, jc.DeepEquals, expected)
... obtained []string = []string{"SetOperatorStatus"}
... expected []string = []string{"SetOperatorStatus", "SetOperatorStatus"}
... mismatch at top level: length mismatch, 1 vs 2; obtained []string{"SetOperatorStatus"}; expected []string{"SetOperatorStatus", "SetOperatorStatus"}

worker_test.go:557:
    s.statusSetter.CheckCall(c, 1, "SetOperatorStatus",
        "gitlab", status.Error, "k8s does not support updating storage", map[string]interface{}(nil))
/home/ubuntu/go/src/github.com/juju/juju/vendor/github.com/juju/testing/stub.go:231:
    if !c.Check(index, jc.LessThan, len(f.calls)) {
        ...
    }
... obtained int = 1
... expected int = 1

Changed in juju:
status: New → Triaged
importance: Undecided → High
assignee: nobody → Ian Booth (wallyworld)
Changed in juju:
assignee: Ian Booth (wallyworld) → Joseph Phillips (manadart)
status: Triaged → In Progress
milestone: none → 2.8-beta1
Revision history for this message
Joseph Phillips (manadart) wrote :
Changed in juju:
status: In Progress → Fix Committed
Harry Pidcock (hpidcock)
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.