Kill a job array

Issue #13 resolved
Cyril MONJEAUD created an issue

Sub-tasks are not found by the watcher when a kill requested signal was send on the parent task.

Get tasks to kill Traceback (most recent call last): File "go-d-watcher.py", line 24, in <module> daemon.run() File "/opt/go-docker/godocker/godwatcher.py", line 597, in run self.manage_tasks() File "/opt/go-docker/godocker/godwatcher.py", line 519, in manage_tasks kill_task_list.append(json.loads(task)) File "/usr/lib64/python2.7/json/init.py", line 338, in loads return _default_decoder.decode(s) File "/usr/lib64/python2.7/json/decoder.py", line 365, in decode obj, end = self.raw_decode(s, idx=_w(s, 0).end()) File "/usr/lib64/python2.7/json/decoder.py", line 383, in raw_decode raise ValueError("No JSON object could be decoded") ValueError: No JSON object could be decoded

Comments (1)

  1. Olivier Sallou repo owner

    Fixed, pending array tasks were not correctly managed.

    Added an other field to track all subtasks. Kill all subtasks whatever are their status

  2. Log in to comment