Project

General

Profile

Actions

Bug #11769

closed

crunch-dispatch.rb tries to scancel crunchv2 containers

Added by Peter Amstutz over 7 years ago. Updated over 7 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

Also available in: Atom PDF