Project

General

Profile

Actions

Bug #11769

closed

crunch-dispatch.rb tries to scancel crunchv2 containers

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

Status:
Resolved
Priority:
Normal
Assigned To:
Category:
-
Target version:
Start date:
05/30/2017
Due date:
% Done:

100%

Estimated time:
(Total: 0.00 h)
Story points:
-

Description

When running both crunch-dispatch.rb and crunch-dispatch-slurm, crunch-dispatch.rb will attempt to cancel the container jobs:

2017-05-26_15:42:29.81657 scancel: error: Kill job error on job id 51: Access/permission denied
2017-05-26_15:42:29.81760 
2017-05-26_15:43:30.26123 scancel: error: Kill job error on job id 51: Access/permission denied
2017-05-26_15:43:30.26233 
2017-05-26_15:44:30.28978 scancel: error: Kill job error on job id 51: Access/permission denied
2017-05-26_15:44:30.29090 

This is because it is looking for slurm jobs that match the generic uuid regex and not the job regex specifically:

      squeue_uuids = squeue_jobs.select{|uuid| uuid.match(HasUuid::UUID_REGEX)}.
                                  select{|uuid| !@running.has_key?(uuid)}

Subtasks 1 (0 open1 closed)

Task #11771: Review 11769-scancel-jobs-onlyResolvedNico César05/30/2017

Actions
Actions #1

Updated by Peter Amstutz over 5 years ago

  • Description updated (diff)
Actions #2

Updated by Peter Amstutz over 5 years ago

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

Updated by Nico César over 5 years ago

revision at commit:3ef1803

LGTM

Actions #4

Updated by Peter Amstutz over 5 years ago

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

Applied in changeset arvados|commit:8e1efc4c74f86a986dd0c6f15f53777d0d2bf0bb.

Actions

Also available in: Atom PDF