Project

General

Profile

Actions

Bug #15296

closed

[a-c-r] Handle case of canceling container that is already cancelled.

Added by Peter Amstutz over 5 years ago. Updated over 5 years ago.

Status:
Resolved
Priority:
Normal
Assigned To:
Category:
-
Target version:
Start date:
06/18/2019
Due date:
% Done:

100%

Estimated time:
(Total: 0.00 h)
Story points:
-
Release relationship:
Auto

Description

When the user hits control-C on a running instance of a-c-r, the shutdown process cancels the container request by updating the request to set priority to 0. If there is a race condition and container request was already final (but a-c-r didn't notice yet), this will raise an exception trying to update a finalized container. This exception should be caught and suppressed (if the request is already finalized it doesn't need to be cancelled).


Subtasks 1 (0 open1 closed)

Task #15327: Review 15296-cwl-cancel-procsResolvedEric Biagiotti06/18/2019

Actions
Actions #1

Updated by Peter Amstutz over 5 years ago

  • Status changed from New to In Progress
Actions #2

Updated by Peter Amstutz over 5 years ago

  • Description updated (diff)
Actions #3

Updated by Peter Amstutz over 5 years ago

  • Status changed from In Progress to New
Actions #4

Updated by Peter Amstutz over 5 years ago

  • Target version changed from 2019-06-05 Sprint to 2019-06-19 Sprint
Actions #5

Updated by Peter Amstutz over 5 years ago

  • Status changed from New to In Progress
Actions #6

Updated by Peter Amstutz over 5 years ago

  • Status changed from In Progress to New
  • Assigned To set to Peter Amstutz
Actions #7

Updated by Ward Vandewege over 5 years ago

  • Release set to 22
Actions #8

Updated by Peter Amstutz over 5 years ago

15296-cwl-cancel-procs @ ecc5385565685bb5a4c4b2e1af3afb3ffea30937

  • Cancel all managed processes not just the "runner" process
  • Catch exceptions when setting container priority to 0
Actions #9

Updated by Peter Amstutz over 5 years ago

  • Status changed from New to In Progress
Actions #10

Updated by Peter Amstutz over 5 years ago

  • Target version changed from 2019-06-19 Sprint to 2019-07-03 Sprint
Actions #11

Updated by Peter Amstutz over 5 years ago

  • Status changed from In Progress to Resolved
  • % Done changed from 0 to 100
Actions

Also available in: Atom PDF