History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: CIB-1468
Type: New Feature New Feature
Status: Resolved Resolved
Resolution: Fixed
Priority: Major Major
Assignee: jason
Reporter: Stephen Ng
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Pulse

57588: Support resetting of VMs when a build is done

Created: 01/May/08 01:20 PM   Updated: 25/Jul/08 03:03 PM
Component/s: None
Affects Version/s: None
Fix Version/s: 2.0.9, 1.2.55


 Description  « Hide
We need some way to run a command so that a VM is rebooted or reset to a snapshot after a build.

Many builds either
1) install software and add files to the file system while running "unit" tests
2) have unit tests which fail and leave dialog boxes open

We need some way to restore from the snapshot so we can improve the robustness and ensure the integrity the builds.

 All   Comments   Change History      Sort Order:
Daniel Ostermeier - 01/May/08 02:24 PM
Quote from email:

As you know we would definitely like to support this, although a full solution is likely to be post-2.0. Hopefully a workable solution can be derived by smaller changes in the 1.2.x timeframe.

jason - 24/Jul/08 12:56 PM
Added in agent state changes (changes 4587, 4588, 4590 and 4591). It is now possible to use post-stage actions to reset agents. Recipe collection and cleanup is done before post-stage actions run. The recipe is held in a busy state until the actions complete, and once they have completed the agent status is established on the next ping (so we don't try to dispatch a recipe immediately when the agent is still on its way back up).

jason - 25/Jul/08 03:03 PM
Merged to trunk in changes 4592 and 4594.