Project

General

Profile

Actions

Feature #4566

open

add an option to force nuke and restart test when stale jobs are found

Added by Ken Franklin about 11 years ago. Updated over 4 years ago.

Status:
New
Priority:
Normal
Category:
-
% Done:

0%

Source:
Q/A
Tags:
Backport:
Reviewed:
Affected Versions:

Description

Rather than fail the test execution when stale jobs are found can we add an option to the yaml that instructs it to nuke then re-attempt the test script?


Related issues 1 (0 open1 closed)

Related to teuthology - Bug #3767: teuthology: stale jobs detectedResolvedSam Lang01/08/2013

Actions
Actions #1

Updated by Sage Weil about 11 years ago

  • Translation missing: en.field_story_points set to 3.00
Actions #2

Updated by Sage Weil about 11 years ago

  • Target version set to v0.62a
Actions #3

Updated by Sage Weil about 11 years ago

  • Status changed from New to 12
Actions #4

Updated by Ian Colle about 11 years ago

  • Assignee set to Tamilarasi muthamizhan
Actions #5

Updated by Ian Colle about 11 years ago

  • Target version deleted (v0.62a)

3767 should prevent stale jobs, but we should still do this (at a lower priority) on the off chance any still occur.

Actions #6

Updated by Sam Lang about 11 years ago

I can see this being useful if you're doing teuthology runs on a set of locked nodes over and over, and you don't want to manually run teuthology-nuke if you get a stale jobs error. If you're letting the locker allocate nodes for your run though, automatically cleaning up a previous run is problematic, since we may need to go and investigate that log data.

A bug like this one has come up before (and been rejected), although I can't find it in my searching. Its a bit of a philosophical issue: if a test fails, do we want to allow an automated step to blow away the failure info, or should we always require manual intervention so that we ensure the reasons for failure are always being verified?

The fixes proposed in #3637 should avoid the need for an option, but we will still need something to go back and cleanup old test directories that we have already investigated or really don't care about.

Actions #7

Updated by Patrick Donnelly over 4 years ago

  • Status changed from 12 to New
Actions

Also available in: Atom PDF