Project

General

Profile

Actions

Feature #10357

open

Optionally, skip all task teardown/cleanup

Added by Zack Cerza over 9 years ago. Updated over 4 years ago.

Status:
New
Priority:
High
Assignee:
-
Category:
-
% Done:

0%

Source:
other
Tags:
Backport:
Reviewed:
Affected Versions:

Description

I'm thinking of adding a job config option called teardown to address this. teuthology.run_tasks.run_tasks() would simply skip the finally: block in every task.

Alternatively, this could be implemented on a per-task basis; they would all have to opt in. On every branch :-/

I think I like the first option better.

Actions #1

Updated by Zack Cerza over 9 years ago

Very related to #10161

Actions #2

Updated by Zack Cerza over 9 years ago

  • Target version changed from sprint20 to sprint21
Actions #3

Updated by Zack Cerza over 9 years ago

  • Status changed from New to 12
  • Target version deleted (sprint21)

Unfortunately, this really just isn't possible due to the way tasks are implemented as context managers. If they were implemented as classes with setup/exec/teardown methods, then it would be trivial.

Actions #4

Updated by Zack Cerza over 9 years ago

  • Assignee deleted (Zack Cerza)
Actions #5

Updated by Patrick Donnelly over 4 years ago

  • Status changed from 12 to New
Actions

Also available in: Atom PDF