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

StatusSubtypeAssignedTask
Resolvedhashar
Resolvedhashar
InvalidRyasmeen
DeclinedNone
Resolvedhashar
ResolvedNone
DeclinedNone
Resolvedhashar
Resolvedhashar
Resolvedhashar
Resolvedhashar
Resolvedhashar
DuplicateNone
Resolvedbd808
DuplicateNone
DeclinedNone
Declinedhashar
Resolvedhashar
DeclinedNone
Declined chasemp
DeclinedNone
Resolvedcoren
Invalidhashar
Resolvedhashar
Declinedhashar
Resolved Cmjohnson
Resolved Cmjohnson
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
Resolvedyuvipanda

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 22 2014, 1:31 AM
bzimport set Reference to bz48407.
bzimport added a subscriber: Unknown Object (MLST).
    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.

Phasing this bug out in favor of the tracking bug:

Bug 45499 Jenkins should run tests in disposable sandboxes

Aklapper subscribed.

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