PANIC: CAASProvisionerSuite.TestNewApplicationCreatesNewOperator runtime error: index out of range

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

Bug Description

http://ci.jujucharms.com/job/github-merge-juju/1103/testReport/junit/github/com_juju_juju_worker_caasoperatorprovisioner/TestPackage/

----------------------------------------------------------------------
PANIC: worker_test.go:150: CAASProvisionerSuite.TestNewApplicationCreatesNewOperator

worker_test.go:154:
[LOG] 0:00.053 DEBUG juju.workers.caasprovisioner using caas operator info {ImagePath:juju-operator-image Version:2.99.0 APIAddresses:[10.0.0.1:17070 192.18.1.1:17070] CharmStorage:{StorageName: Size:1024 Provider:kubernetes Attributes:map[key:value] ResourceTags:map[foo:bar] Attachment:<nil>}}
    s.assertOperatorCreated(c, false)
/workspace/src/github.com/juju/juju/vendor/github.com/juju/testing/stub.go:248:
    return c.Check(funcNames, jc.DeepEquals, expected)
... obtained []string = []string{"OperatorExists"}
... expected []string = []string{"OperatorExists", "EnsureOperator"}
... mismatch at top level: length mismatch, 1 vs 2; obtained []string{"OperatorExists"}; expected []string{"OperatorExists", "EnsureOperator"}

[LOG] 0:00.055 INFO juju.workers.caasprovisioner started operator for application "myapp"
... Panic: runtime error: index out of range (PC=0x45997A)

/snap/go/2644/src/runtime/panic.go:502
  in gopanic
/snap/go/2644/src/runtime/panic.go:28
  in panicindex
worker_test.go:100
  in CAASProvisionerSuite.assertOperatorCreated
worker_test.go:154
  in CAASProvisionerSuite.TestNewApplicationCreatesNewOperator
/snap/go/2644/src/reflect/value.go:308
  in Value.Call
/snap/go/2644/src/runtime/asm_amd64.s:2361
  in goexit

----------------------------------------------------------------------

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.