Mongo version problem hangs tests

Bug #1097556 reported by Jeroen T. Vermeulen
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
juju-core
Fix Released
High
Andrew Wilkins

Bug Description

This appears to be a known problem and it's preventing us from running the tests, so I'm filing a bug for it. Others will know more about it though.

Apparently the test suite tries to start mongo with some command-line option that the versions currently in Ubuntu don't support. That doesn't work, and the test framework just waits (almost) forever and then times out the test.

Martin is adding something to the README about this, but it's still vague and none of us know what or where the "mongo public bucket" is. How do we get a mongodb that will work with juju-core?

Tags: bitesize
Revision history for this message
Dave Cheney (dave-cheney) wrote :

Yes, the tests assume mongo 2.2.0+TLS is in your path as mongod, but this version is not shipped with Precise or Quantal.

http://juju-dist.s3.amazonaws.com/tools/mongo-2.2.0-$SERIES-amd64.tgz

Changed in juju-core:
assignee: nobody → Dave Cheney (dave-cheney)
Revision history for this message
William Reade (fwereade) wrote :

Dave, what's the latest on this? Can we close it? Or is there still a problem with the packaged versions?

Revision history for this message
William Reade (fwereade) wrote :

Actually: independently of issues with getting a working mongo, there's the issue of how we react to the problem. This should be a relatively minor rework of testing/mgo.go.

tags: added: bitesize
Changed in juju-core:
status: New → Triaged
importance: Undecided → High
Revision history for this message
Andrew Wilkins (axwalk) wrote :

I've made a trivial change to testing/mgo.go so that the mgo dial will timeout after 5s. The issue of the pacakged mongodb-server not accepting the arguments we specify is no longer an issue in 13.04.

Changed in juju-core:
assignee: Dave Cheney (dave-cheney) → Andrew Wilkins (axwalk)
status: Triaged → In Progress
Andrew Wilkins (axwalk)
Changed in juju-core:
status: In Progress → Fix Committed
Curtis Hovey (sinzui)
Changed in juju-core:
milestone: none → 1.14.0
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.