state: multiple test failures
Bug #1298703 reported by
Dave Cheney
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
juju-core |
Fix Released
|
High
|
Dave Cheney |
Bug Description
State tests fail under gccgo. This looks like map ordering issues and an expectation that network addresses will be returned in a specific order.
Related branches
lp:~dave-cheney/juju-core/104-fix-lp-1298703
- Juju Engineering: Pending requested
-
Diff: 51 lines (+15/-9)2 files modifiedstate/machine_test.go (+1/-1)
state/unit_test.go (+14/-8)
Changed in juju-core: | |
assignee: | nobody → Dave Cheney (dave-cheney) |
milestone: | 1.18.0 → changelog.txt |
status: | Triaged → In Progress |
milestone: | changelog.txt → 1.18.0 |
Changed in juju-core: | |
status: | In Progress → Fix Committed |
Changed in juju-core: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
------- ------- ------- ------- ------- ------- ------- ------- ------- ------- test.go: 1215: net_juju_ core_state_ test.TestSetAdd resses. pN47_launchpad. net_juju_ core_state_ test.MachineSui te
FAIL: machine_
[LOG] 0:00.004 INFO juju.state opening state; mongo addresses: ["localhost: 45223"] ; entity "" test.go: 1228: machine. Addresses( ), gc.DeepEquals, addresses) Address{ instance. Address{ Value:" 8.8.8.8" , Type:"ipv4", NetworkName:"", NetworkScope:""}, instance. Address{ Value:" 127.0.0. 1", Type:"ipv4", NetworkName:"", NetworkScope:""}} Address{ instance. Address{ Value:" 127.0.0. 1", Type:"ipv4", NetworkName:"", NetworkScope:""}, instance. Address{ Value:" 8.8.8.8" , Type:"ipv4", NetworkName:"", NetworkScope:""}}
[LOG] 0:00.006 INFO juju.state connection established
[LOG] 0:00.014 INFO juju.state adding state server info to legacy environment
[LOG] 0:00.014 INFO juju.state found existing state servers []
[LOG] 0:00.026 INFO juju.state initializing environment
machine_
c.Assert(
... obtained []instance.Address = []instance.
... expected []instance.Address = []instance.
[LOG] 0:00.125 INFO juju Reset successfully reset admin password
------- ------- ------- ------- ------- ------- ------- ------- ------- ------- core_state_ test.TestGetPri vateAddressFrom Machine. pN44_launchpad. net_juju_ core_state_ test.UnitSuite
FAIL: unit_test.go:211: net_juju_
[LOG] 0:00.002 INFO juju.state opening state; mongo addresses: ["localhost: 36758"] ; entity "" address, gc.Equals, "127.0.0.1")
[LOG] 0:00.006 INFO juju.state connection established
[LOG] 0:00.023 INFO juju.state adding state server info to legacy environment
[LOG] 0:00.024 INFO juju.state found existing state servers []
[LOG] 0:00.039 INFO juju.state initializing environment
unit_test.go:229:
c.Check(
... obtained string = "8.8.8.8"
... expected string = "127.0.0.1"
[LOG] 0:00.131 INFO juju Reset successfully reset admin password
------- ------- ------- ------- ------- ------- ------- ------- ------- ------- core_state_ test.TestGetPub licAddressFromM achine. pN44_launchpad. net_juju_ core_state_ test.UnitSuite
FAIL: unit_test.go:172: net_juju_
[LOG] 0:00.004 INFO juju.state opening state; mongo addresses: ["localhost: 36758"] ; entity "" address, gc.Equals, "8.8.8.8")
[LOG] 0:00.007 INFO juju.state connection established
[LOG] 0:00.022 INFO juju.state adding state server info to legacy environment
[LOG] 0:00.022 INFO juju.state found existing state servers []
[LOG] 0:00.042 INFO juju.state initializing environment
unit_test.go:190:
c.Check(
... obtained string = "127.0.0.1"
... expected string = "8.8.8.8"
[LOG] 0:00.177 INFO juju Reset successfully reset admin password net/juju- core/state 84.463s
OOPS: 417 passed, 3 FAILED
--- FAIL: TestPackage (84.12 seconds)
FAIL
FAIL launchpad.