Jujud needs an acceptance test set that covers "normal" database sizes and write counts.

Bug #1345541 reported by Mark Shuttleworth
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
juju-ci-tools
Won't Fix
Undecided
Unassigned
juju-core
Won't Fix
Medium
Unassigned

Bug Description

We' just dug into #1344940 which was filed after observing a huge database with large numbers of unnecessary writes. This bug is to ask the QA team to ensure that we have automated acceptance tests that bound the size of database and number of writes and reads expected for a set of normal spinups and teardowns and quiet periods.

I would ask that we design 5 test environments (bundles) covering a range of scales; small environments, large but simple environments, and large and complex environments.

I would ask that on a regular (weekly?) basis we:

 * spin up those environments on local, EC2, OpenStack and MAAS, and measure:
      - database size before deploy, after 5 minutes, after 30 minutes, and then for a further 30 minutes of quiescent time
      - total number of database reads and writes in each of those
      - total number of API calls in each period
      - time till quiescent (i.e. time to deploy)

 * automate this in a way that it can be reproduced by any developer (or at least one with n machines handy)
     - therefore make it possible to spin up on any substrate (MAAS, EC2, OpenStack, local)

 * set thresholds that would trigger a high priority bug and report to the list weekly on current results

Thanks,
Mark

Curtis Hovey (sinzui)
Changed in juju-core:
status: New → Triaged
importance: Undecided → Medium
tags: added: mongodb testing
Changed in juju-core:
status: Triaged → Won't Fix
Revision history for this message
Torsten Baumann (torbaumann) wrote :

Core is not addressing nor specifying what is "normal" However we will take these ideas as part of the scale initiative

Changed in juju-ci-tools:
status: New → Won't Fix
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.