Actions
Bug #11769
closedcrunch-dispatch.rb tries to scancel crunchv2 containers
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)}
Actions