As seen in http://reports.vapour.ws/releases/issue/57c5ccbb749a564e161e47f0;
BootstrapSuite.TestBootstrapProviderDetectRegions fails the expected auth type due to misordering:
[LOG] 0:00.179 INFO juju.cmd.juju.commands combined bootstrap constraints: bootstrap_test.go:1113: c.Assert(bootstrap.args.Cloud, jc.DeepEquals, cloud.Cloud{ Type: "dummy", AuthTypes: []cloud.AuthType{cloud.EmptyAuthType, cloud.UserPassAuthType}, Regions: []cloud.Region{{Name: "bruce", Endpoint: "endpoint"}}, }) ... obtained cloud.Cloud = cloud.Cloud{Type:"dummy", AuthTypes:cloud.AuthTypes{"userpass", "empty"}, Endpoint:"", IdentityEndpoint:"", StorageEndpoint:"", Regions:[]cloud.Region{cloud.Region{Name:"bruce", Endpoint:"endpoint", IdentityEndpoint:"", StorageEndpoint:""}}, Config:map[string]interface {}(nil), RegionConfig:cloud.RegionConfig(nil)} ... expected cloud.Cloud = cloud.Cloud{Type:"dummy", AuthTypes:cloud.AuthTypes{"empty", "userpass"}, Endpoint:"", IdentityEndpoint:"", StorageEndpoint:"", Regions:[]cloud.Region{cloud.Region{Name:"bruce", Endpoint:"endpoint", IdentityEndpoint:"", StorageEndpoint:""}}, Config:map[string]interface {}(nil), RegionConfig:cloud.RegionConfig(nil)} ... mismatch at .AuthTypes[0]: unequal; obtained "userpass"; expected "empty"
Similar to last month's https://bugs.launchpad.net/juju/+bug/1604561.
As seen in http:// reports. vapour. ws/releases/ issue/57c5ccbb7 49a564e161e47f0;
BootstrapSu ite.TestBootstr apProviderDetec tRegions fails the expected auth type due to misordering:
[LOG] 0:00.179 INFO juju.cmd. juju.commands combined bootstrap constraints: test.go: 1113: bootstrap. args.Cloud, jc.DeepEquals, cloud.Cloud{ AuthType{ cloud.EmptyAuth Type, cloud.UserPassA uthType} , Region{ {Name: "bruce", Endpoint: "endpoint"}}, Type:"dummy" , AuthTypes: cloud.AuthTypes {"userpass" , "empty"}, Endpoint:"", IdentityEndpoin t:"", StorageEndpoint:"", Regions: []cloud. Region{ cloud.Region{ Name:"bruce" , Endpoint: "endpoint" , IdentityEndpoin t:"", StorageEndpoint :""}}, Config: map[string] interface {}(nil), RegionConfig: cloud.RegionCon fig(nil) } Type:"dummy" , AuthTypes: cloud.AuthTypes {"empty" , "userpass"}, Endpoint:"", IdentityEndpoin t:"", StorageEndpoint:"", Regions: []cloud. Region{ cloud.Region{ Name:"bruce" , Endpoint: "endpoint" , IdentityEndpoin t:"", StorageEndpoint :""}}, Config: map[string] interface {}(nil), RegionConfig: cloud.RegionCon fig(nil) }
bootstrap_
c.Assert(
Type: "dummy",
AuthTypes: []cloud.
Regions: []cloud.
})
... obtained cloud.Cloud = cloud.Cloud{
... expected cloud.Cloud = cloud.Cloud{
... mismatch at .AuthTypes[0]: unequal; obtained "userpass"; expected "empty"
Similar to last month's https:/ /bugs.launchpad .net/juju/ +bug/1604561.