Launchpad test suite uses too much CPU time

Bug #419696 reported by Jonathan Lange
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Launchpad itself
Invalid
High
Unassigned

Bug Description

Launchpad's test suite is simply too slow. It should be a lot faster.

Apologies for another crappy hard-to-close bug. Again, perhaps we can set a time limit (under half an hour, say).

Fixing bug 419694 might help mitigate this.

Revision history for this message
Michael Hudson-Doyle (mwhudson) wrote :

I think there are two slightly separate issues here. One is that the test suite requires three or more hours of CPU time. The other is that running the tests takes all of these three hours, i.e. there's no way to parallelize across several cores or machines.

Both are important to work on, but let's concentrate on the former point in this bug.

summary: - Launchpad test suite is way too slow
+ Launchpad test suite uses too much CPU time
Revision history for this message
Michael Hudson-Doyle (mwhudson) wrote :
Revision history for this message
Jonathan Lange (jml) wrote :

Tempted to make this critical :P

Changed in launchpad-foundations:
importance: Undecided → High
status: New → Triaged
Revision history for this message
Robert Collins (lifeless) wrote :

So, the amount of CPU time reflects the amount of tests (with fuzz for inefficiency etc). We should expect that to grow, even as LP gets more efficient tests. I don't think this bug is really a bug from that perspective, so closing it.

Changed in launchpad:
status: Triaged → Invalid
Revision history for this message
Michael Hudson-Doyle (mwhudson) wrote :

I'm not sure I entirely agree -- for example the amount of time spent in database setup code is just ridiculous, and not entirely just the result of having lots of tests. But this was always an impossibly vague bug, so let's leave it closed :-)

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.