Last modified: 2014-05-06 15:48:13 UTC
We could use Vagrant virtual boxes to run some tests. For example when the test need root access on a server or needs to alter a service which is already on the box (such as apache). This is a tracking bug
## Dependencies * Have one or more Jenkins slave(s) * Set up Zuul/Gerrit replication to those as well so that stuff is fast ## One time setup when we create/change or VM environment * Create an Ubuntu VM in Vagrant * Populate it with all the packages we need * Pause it * Upload to the Jenkins slave(s) ## On job * Jenkins master sends job to slave * Slave performs merge commit in its git repo * Copies our paused VM and boots the copy * Read-only mount our local git replication * SSH into VM * git-clone the repo by reference from the mounted directory * Start regular job commands
Antoine and myself are both interested in this but we can't prioritise it right now due to other higher priorities. We may get to it sporadically but otherwise we expect to start working on this in November 2013.
Phasing this bug out in favor of the tracking bug: Bug 45499 Jenkins should run tests in disposable sandboxes