TestAddServiceStorageConstraints fails on ppc64
| Affects | Status | Importance | Assigned to | Milestone | |
|---|---|---|---|---|---|
| | juju-core |
Critical
|
Ian Booth | ||
Bug Description
A new test introduced as part of the storage pools work is consistently failing in the ppc64 job.
<http://
<http://
This may be gccgo related rather than ppc64, for instance a map-ordering issue.
-------
FAIL: storage_test.go:58: TestAddServiceS
SetUpTest
...
SetUpTest done
storage_test.go:65:
c.Assert(err, gc.ErrorMatches, expect)
... error string = "cannot add service \"storage-block2\": charm \"storage-block2\" store \"multi2up\": 2 instances required, 1 specified"
... regex string = "cannot add service \"storage-block2\": no storage pool specified and no default available .*"
[LOG] 0:00.082 INFO juju.testing reset successfully reset admin password
OOPS: 787 passed, 1 FAILED
--- FAIL: TestPackage (249.44 seconds)
FAIL
FAIL github.
| tags: | added: gccgo ppc64el |
| Changed in juju-core: | |
| milestone: | none → 1.23 |
| Dimiter Naydenov (dimitern) wrote : | #2 |
| Changed in juju-core: | |
| assignee: | nobody → Ian Booth (wallyworld) |
| status: | Triaged → In Progress |
| Ian Booth (wallyworld) wrote : | #3 |
Test fix so marking as fix released
| Changed in juju-core: | |
| status: | In Progress → Fix Released |
| Changed in juju-core: | |
| milestone: | 1.23 → 1.23-beta1 |


FWIW this is readily reproducible for me each time I run:
go test -check.v -check.f TestAddServiceS torage -compiler gccg
in state/ using current trunk.