PBS does not update job comment while resuming a suspended job

Description

[pbspro] # qmgr -c "c q workq2"
[pbspro] # qmgr -c "s q workq2 queue_type=e, enabled=1, started=1, priority=200"
[pbspro] # qmgr -c "c n centos"
[pbspro] # pbs_mom
[pbspro] 5s # qsub -lncpus=2 -lmem=300mb – /bin/sleep 300
0.centos
[pbspro] # qstat -s

centos:
Req'd Req'd Elap
Job ID Username Queue Jobname SessID NDS TSK Memory Time S Time
--------------- -------- -------- ---------- ------ — — ------ ----- - -----
0.centos root workq STDIN 79841 1 2 300mb – R 00:00
Job run at Mon Jun 05 at 14:40 on (centos:mem=307200kb:ncpus=2)
[pbspro] # qsub -qworkq2 -lncpus=1 -lmem=300mb – /bin/sleep 20
1.centos
[pbspro] # qstat -s

centos:
Req'd Req'd Elap
Job ID Username Queue Jobname SessID NDS TSK Memory Time S Time
--------------- -------- -------- ---------- ------ — — ------ ----- - -----
0.centos root workq STDIN 79841 1 2 300mb – S 00:00
Not Running: Insufficient amount of resource: ncpus (R: 2 A: 1 T: 2)
1.centos root workq2 STDIN 79879 1 1 300mb – R 00:00
Job run at Mon Jun 05 at 14:40 on (centos:mem=307200kb:ncpus=1)
[pbspro] # pbsnodes -av
centos
Mom = centos
Port = 15002
pbs_version = 14.0.1
ntype = PBS
state = free
pcpus = 2
jobs = 1.centos/0
resources_available.arch = linux
resources_available.host = centos
resources_available.mem = 1907600kb
resources_available.ncpus = 2
resources_available.vnode = centos
resources_assigned.accelerator_memory = 0kb
resources_assigned.mem = 307200kb
resources_assigned.naccelerators = 0
resources_assigned.ncpus = 1
resources_assigned.vmem = 0kb
resv_enable = True
sharing = default_shared
license = l

[pbspro] # sleep 20
[pbspro] # qstat -s

centos:
Req'd Req'd Elap
Job ID Username Queue Jobname SessID NDS TSK Memory Time S Time
--------------- -------- -------- ---------- ------ — — ------ ----- - -----
0.centos root workq STDIN 79841 1 2 300mb – R 00:00
Not Running: Insufficient amount of resource: ncpus (R: 2 A: 1 T: 2)

Acceptance Criteria

PBS should set back the job comment to "Job run" when transitioning from suspended to running state.

Status

Assignee

nithin johnson

Reporter

Arun Grover

Severity

None

OS

None

Start Date

None

Pull Request URL

None

Story Points

1

Fix versions

Affects versions

18.1.0

Priority

High
Configure