state: test failure due to map ordering

Bug #1315093 reported by Dave Cheney
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
juju-core
Fix Released
High
Dave Cheney

Bug Description

---------------------------------------------------------------------- [92/9749]
FAIL: service_test.go:1164: ServiceSuite.TestSetInvalidConstraints

[LOG] 0:00.002 INFO juju.state opening state, mongo addresses: ["localhost:34633"]; entity ""
[LOG] 0:00.002 DEBUG juju.state dialing mongo
[LOG] 0:00.011 INFO juju.state dialled mongo successfully
[LOG] 0:00.013 DEBUG juju.state connection established
[LOG] 0:00.030 INFO juju.state adding state server info to legacy environment
[LOG] 0:00.030 INFO juju.state found existing state servers []
[LOG] 0:00.042 INFO juju.state initializing environment
service_test.go:1167:
    c.Assert(err, gc.ErrorMatches, `ambiguous constraints: "mem" overlaps with "instance-type"`)
... error string = "ambiguous constraints: \"instance-type\" overlaps with \"mem\""
... regex string = "ambiguous constraints: \"mem\" overlaps with \"instance-type\""

[LOG] 0:00.100 INFO juju.testing reset successfully reset admin password
2014-05-01 16:32:09 INFO juju.testing mgo.go:358 reset successfully reset admin password

----------------------------------------------------------------------
FAIL: state_test.go:1364: StateSuite.TestSetInvalidConstraints

[LOG] 0:00.013 INFO juju.state opening state, mongo addresses: ["localhost:52191"]; entity ""
[LOG] 0:00.014 DEBUG juju.state dialing mongo
[LOG] 0:00.015 INFO juju.state dialled mongo successfully
[LOG] 0:00.015 DEBUG juju.state connection established
[LOG] 0:00.031 INFO juju.state adding state server info to legacy environment
[LOG] 0:00.032 INFO juju.state found existing state servers []
[LOG] 0:00.043 INFO juju.state initializing environment
state_test.go:1367:
    c.Assert(err, gc.ErrorMatches, `ambiguous constraints: "mem" overlaps with "instance-type"`)
... error string = "ambiguous constraints: \"instance-type\" overlaps with \"mem\""
... regex string = "ambiguous constraints: \"mem\" overlaps with \"instance-type\""

[LOG] 0:00.114 INFO juju.testing reset successfully reset admin password
2014-05-01 16:32:27 INFO juju.testing mgo.go:358 reset successfully reset admin password
OOPS: 447 passed, 7 FAILED
--- FAIL: TestPackage (96.42 seconds)
FAIL
FAIL launchpad.net/juju-core/state 96.503s

Curtis Hovey (sinzui)
Changed in juju-core:
status: New → Triaged
importance: Undecided → High
tags: added: intermittent-failure
Ian Booth (wallyworld)
Changed in juju-core:
milestone: none → 1.21-alpha1
assignee: nobody → Ian Booth (wallyworld)
status: Triaged → In Progress
Ian Booth (wallyworld)
Changed in juju-core:
status: In Progress → Fix Committed
assignee: Ian Booth (wallyworld) → Dave Cheney (dave-cheney)
milestone: 1.21-alpha1 → none
Curtis Hovey (sinzui)
Changed in juju-core:
milestone: none → 1.21-alpha1
status: Fix Committed → 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.