intermittent failure in caas suite: CAASProvisionerSuite.TestUpdateApplicationsUnitsNoTags

Bug #1746869 reported by Anastasia
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Canonical Juju
Invalid
Medium
Unassigned

Bug Description

FAIL: provisioner_test.go:194: CAASProvisionerSuite.TestUpdateApplicationsUnitsNoTags

[LOG] 0:00.000 DEBUG juju.apiserver.controller.caasunitprovisioner unit "gitlab/0" (uuid) has changed in the cloud

[LOG] 0:00.000 DEBUG juju.apiserver.controller.caasunitprovisioner unit "gitlab/1" is not associated with any pod

[LOG] 0:00.000 DEBUG juju.apiserver.controller.caasunitprovisioner unit "gitlab/2" (uuid2) has been removed from the cloud

provisioner_test.go:224:

    s.st.application.CheckCall(c, 0, "AddOperation", state.UnitUpdateProperties{

        ProviderId: "last-uuid",

        Address: "last-address", Ports: []string{"last-port"},

        Status: &status.StatusInfo{Status: status.Running, Message: "last message"},

    })

/workspace/src/github.com/juju/testing/stub.go:239:

    c.Check(call, jc.DeepEquals, expected)

... obtained testing.StubCall = testing.StubCall{FuncName:"AddOperation", Args:[]interface {}{state.UnitUpdateProperties{ProviderId:"another-uuid", Address:"another-address", Ports:[]string{"another-port"}, Status:(*status.StatusInfo)(0xc420171620)}}}

... expected testing.StubCall = testing.StubCall{FuncName:"AddOperation", Args:[]interface {}{state.UnitUpdateProperties{ProviderId:"last-uuid", Address:"last-address", Ports:[]string{"last-port"}, Status:(*status.StatusInfo)(0xc4201bf410)}}}

... mismatch at .Args[0].ProviderId: unequal; obtained "another-uuid"; expected "last-uuid"

provisioner_test.go:236:

    s.st.application.units[1].(*mockUnit).CheckCall(c, 1, "UpdateOperation", state.UnitUpdateProperties{

        ProviderId: "another-uuid",

        Address: "another-address", Ports: []string{"another-port"},

        Status: &status.StatusInfo{Status: status.Running, Message: "another message"},

    })

/workspace/src/github.com/juju/testing/stub.go:239:

    c.Check(call, jc.DeepEquals, expected)

... obtained testing.StubCall = testing.StubCall{FuncName:"UpdateOperation", Args:[]interface {}{state.UnitUpdateProperties{ProviderId:"last-uuid", Address:"last-address", Ports:[]string{"last-port"}, Status:(*status.StatusInfo)(0xc4201714d0)}}}

... expected testing.StubCall = testing.StubCall{FuncName:"UpdateOperation", Args:[]interface {}{state.UnitUpdateProperties{ProviderId:"another-uuid", Address:"another-address", Ports:[]string{"another-port"}, Status:(*status.StatusInfo)(0xc4203c50e0)}}}

... mismatch at .Args[0].ProviderId: unequal; obtained "last-uuid"; expected "another-uuid"

OOPS: 8 passed, 1 FAILED

--- FAIL: TestAll (0.04s)

FAIL

FAIL github.com/juju/juju/apiserver/facades/controller/caasunitprovisioner 1.692s

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

The test no longer exists in Juju codebase.

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