(job_id: str)
| 2 | |
| 3 | |
| 4 | def scontrol_return(job_id: str) -> str: |
| 5 | return f"""print(\"\"\"JobId={job_id} JobName=bash |
| 6 | UserId=sboehm00(33646) GroupId=interactive(25200) MCS_label=N/A |
| 7 | Priority=124370 Nice=0 Account=lig8_dev QOS=normal |
| 8 | JobState=RUNNING Reason=None Dependency=(null) |
| 9 | Requeue=0 Restarts=0 BatchFlag=0 Reboot=0 ExitCode=0:0 |
| 10 | RunTime=00:01:34 TimeLimit=00:15:00 TimeMin=N/A |
| 11 | SubmitTime=2021-10-07T11:14:47 EligibleTime=2021-10-07T11:14:47 |
| 12 | AccrueTime=2021-10-07T11:14:47 |
| 13 | StartTime=2021-10-07T11:15:26 EndTime=2021-10-07T11:30:26 Deadline=N/A |
| 14 | PreemptEligibleTime=2021-10-07T11:15:26 PreemptTime=None |
| 15 | SuspendTime=None SecsPreSuspend=0 LastSchedEval=2021-10-07T11:15:26 Scheduler=Main |
| 16 | Partition=m100_all_serial AllocNode:Sid=login01:58040 |
| 17 | ReqNodeList=(null) ExcNodeList=(null) |
| 18 | NodeList=login06 |
| 19 | BatchHost=login06 |
| 20 | NumNodes=1 NumCPUs=4 NumTasks=1 CPUs/Task=1 ReqB:S:C:T=0:0:*:* |
| 21 | TRES=cpu=4,mem=7600M,node=1,billing=4 |
| 22 | Socks/Node=* NtasksPerN:B:S:C=0:0:*:* CoreSpec=* |
| 23 | MinCPUsNode=1 MinMemoryCPU=1900M MinTmpDiskNode=0 |
| 24 | Features=(null) DelayBoot=00:00:00 |
| 25 | OverSubscribe=OK Contiguous=0 Licenses=(null) Network=(null) |
| 26 | Command=/usr/bin/bash |
| 27 | WorkDir=/m100/home/userexternal/sboehm00 |
| 28 | Power=\"\"\")""" |
| 29 | |
| 30 | |
| 31 | def qstat_return_walltime(job_id: str) -> str: |
no outgoing calls
no test coverage detected