Page MenuHomePhabricator

Jenkins: Setup Vagrant for some jobs (tracking)
Closed, DeclinedPublic

Description

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


Version: wmf-deployment
Severity: enhancement

Details

Reference
bz48407

Related Objects

StatusAssignedTask
Resolvedhashar
OpenNone
InvalidRyasmeen
DeclinedNone
Resolvedhashar
ResolvedNone
DeclinedNone
Resolvedhashar
Resolvedhashar
Resolvedhashar
Resolvedhashar
Resolvedhashar
DuplicateNone
Resolvedbd808
DuplicateNone
DeclinedNone
Declinedhashar
Resolvedhashar
DeclinedNone
Declinedchasemp
DeclinedNone
Resolvedcoren
Invalidhashar
Resolvedhashar
Declinedhashar
ResolvedCmjohnson
ResolvedCmjohnson
Resolvedhashar
ResolvedKrinkle
ResolvedKrinkle
ResolvedKrinkle
Resolvedhashar
ResolvedKrinkle
Resolvedhashar
Resolvedhashar
Resolvedhashar
Resolvedhashar
Resolvedhashar
ResolvedAndrew
ResolvedKrinkle
Resolvedhashar
ResolvedKrinkle
ResolvedPaladox
ResolvedLegoktm
ResolvedLegoktm
ResolvedLegoktm
ResolvedLegoktm
ResolvedPaladox
ResolvedLegoktm
ResolvedLegoktm
Resolvedhashar
Resolvedhashar
Resolved yuvipanda

Event Timeline

bzimport raised the priority of this task from to Normal.Nov 22 2014, 1:31 AM
bzimport set Reference to bz48407.
bzimport added a subscriber: Unknown Object (MLST).
hashar created this task.May 13 2013, 4:25 PM
    1. Dependencies
  • Have one or more Jenkins slave(s)
  • Set up Zuul/Gerrit replication to those as well so that stuff is fast
    1. 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)
    1. 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.

hashar added a comment.May 6 2014, 3:48 PM

Phasing this bug out in favor of the tracking bug:

Bug 45499 Jenkins should run tests in disposable sandboxes

Aklapper added a subscriber: Aklapper.

[adding the Tracking-Neverending project to tasks blocking (now deprecated) T4007 as part of T93366]

demon removed a subscriber: demon.Aug 23 2015, 3:57 PM