Project

General

Profile

Bug #17216

Make the test suite clean up after itself even in most tricky failure modes

Added by intrigeri 2 months ago. Updated 23 days ago.

Status:
Confirmed
Priority:
Normal
Assignee:
-
Category:
Continuous Integration
Target version:
-
Start date:
Due date:
% Done:

0%

Feature Branch:
Type of work:
Sysadmin
Blueprint:
Starter:
Affected tool:

Description

Goals:

  • avoid leaving zombie processes behind (e.g. Xvfb, unclutter, tor processes started by Chutney, avconv, local services run by cucumber, etc.)
  • drop the whole "reboot before running the test suite" dance in our CI (#10601, #11295)
  • have CI nodes that can run both builds & tests, which would provide great performance improvements to our feedback loop: we often have build jobs in the queue while isotesters are idling, or test jobs in the queue while builders are idling

How to do so? Wrap the test suite with something that will track resources and clean them up, such as:

Scope:

  • Initially: our CI.
  • Ideally, the solution would also work for developers who run the test suite locally.
  • Ideally, the solution would not depend on Jenkins much, if at all, so we benefit from it even if we migrate to another kind of CI some day.

Related issues

Related to Tails - Bug #16960: Make our CI feedback loop shorter Confirmed
Related to Tails - Bug #10601: isotesterN:s are sometimes put offline and never back online Needs Validation 11/23/2015
Related to Tails - Bug #11295: Test jobs sometimes get scheduled on a busy isotester while there are available ones Needs Validation 03/31/2016
Related to Tails - Bug #14948: zombie processes when running the test suite Resolved 11/10/2017

History

#1 Updated by intrigeri 2 months ago

  • Related to Bug #16960: Make our CI feedback loop shorter added

#2 Updated by intrigeri 2 months ago

  • Related to Bug #10601: isotesterN:s are sometimes put offline and never back online added

#3 Updated by intrigeri 2 months ago

  • Related to Bug #11295: Test jobs sometimes get scheduled on a busy isotester while there are available ones added

#4 Updated by intrigeri 2 months ago

  • Related to Bug #14948: zombie processes when running the test suite added

#5 Updated by intrigeri about 1 month ago

  • Subject changed from Make the test suite clean up after itself even in most failure modes to Make the test suite clean up after itself even in most tricky failure modes

#6 Updated by intrigeri 23 days ago

  • Description updated (diff)

(Adding @zen's Docker idea)

#7 Updated by intrigeri 23 days ago

  • Description updated (diff)

#8 Updated by intrigeri 23 days ago

  • Description updated (diff)

Also available in: Atom PDF