Page MenuHomePhabricator

Jenkins jobs must wipe workspace
Closed, DeclinedPublic

Description

Right now our jobs do not wipe the workspace (to preserve git clone for performance). They also don't reset the workspace (T76304).

Resetting the workspace (preserving the git clone) would solve issues around state data, but it will still leave certain workspace issues open. Such as:

We should fully wipe our workspaces. (Wipe workspace postbuild, not prebuild!) This will avoid these issues by design, and would make our current environment more like the isolated VM situation (T47499).

Doing this requires (for performance), that we first:

  • Set up git replication on integration slaves.
  • Make Zuul-cloner use it.

Related Objects

Event Timeline

Krinkle raised the priority of this task from to High.
Krinkle updated the task description. (Show Details)
Krinkle added subscribers: Krinkle, hashar, greg and 3 others.
Krinkle set Security to None.
hashar claimed this task.

Will be done as part of migrating jobs to Nodepool instances.

Seems the issues we had are mostly solved now, albeit it is overly complicated.