ec2test --headless takes way too long to detach

Bug #420198 reported by Jonathan Lange
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Launchpad itself
Fix Released
High
Michael Hudson-Doyle

Bug Description

ec2test --headless takes about 20-30 minutes to detach. This sucks, since it often prevents me from using it as I'm about to leave a place.

This comes down to two things:
  * doing too much before running tests
  * doing too much before going headless

These are somewhat orthogonal.

tags: added: build-infrastructure
Changed in launchpad-foundations:
assignee: nobody → Michael Hudson (mwhudson)
Revision history for this message
Michael Hudson-Doyle (mwhudson) wrote :

One thing that will help here is making it easier to keep the ec2test image updated wrt sourcecode and the launchpad branch etc. This is well in progress now.

The other two main things I see are:

1) Not checking out the download-cache from scratch each time.
2) Running 'make build' after detaching.

I'll see about doing these things soon.

Revision history for this message
Stuart Bishop (stub) wrote : Re: [Bug 420198] Re: ec2test --headless takes way too long to detach

On Mon, Sep 14, 2009 at 11:29 AM, Michael Hudson
<email address hidden> wrote:
> One thing that will help here is making it easier to keep the ec2test
> image updated wrt sourcecode and the launchpad branch etc.  This is well
> in progress now.
>
> The other two main things I see are:
>
> 1) Not checking out the download-cache from scratch each time.

I see this step fail regularly too - DNS issues I think, possibly
related to the EC2 environment still setting up? It would be great if
you stuck this step in a loop while you are there.

> 2) Running 'make build' after detaching.
>
> I'll see about doing these things soon.

--
Stuart Bishop <email address hidden>
http://www.stuartbishop.net/

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

I've landed both these changes now and ec2test --headless detaches in about 5-6 minutes for me now. This could probably be improved some but I no longer know where the time is going, so I'm going to declare that this bug is fixed.

I didn't add a loop, sorry.

Changed in launchpad-foundations:
status: Triaged → 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.