Using eligible_time, parent array job misses the stime, comment, and 'S' accounting record.

Description

Steps to reproduce:
1) enable eligible_time_enable
qmgr -c "set server eligible_time_enable = True"

2) run an array job:

(JESSIE)vchlum@torque4:~$ echo "sleep 60" | qsub -J 1-2
921[].torque4.ics.muni.cz

3) check the running job:
(JESSIE)vchlum@torque4:~$ qstat 921[]
Job id Name User Time Use S Queue
---------------- ---------------- ---------------- -------- - -----
921[].torque4 STDIN vchlum 0 B default
(JESSIE)vchlum@torque4:~$ qstat -f 921[] | grep stime
(JESSIE)vchlum@torque4:~$ qstat -f 921[] | grep comment
(JESSIE)vchlum@torque4:~$

4) 'S' accounting record is not created

The problem is following: with eligible_time_enable enabled the req_modifyjob() is called before complete_running(). req_modifyjob() calls svr_evaljobstate, which sets the parent array job to B, therfore the complete_running() do nothing.

Acceptance Criteria

None

Assignee

Unassigned

Reporter

Václav Chlumský

Severity

None

OS

None

Start Date

None

Pull Request URL

None

Story Points

1

Fix versions

Affects versions

Priority

Medium
Configure