schrodinger.test.stu.joberrors module¶
- schrodinger.test.stu.joberrors.run_postmortem(job, product_name)[source]¶
This is any queue.BaseJob. If it has a jobid, run postmortem for that particular job. Otherwise, run postmortem for the job database only.
- schrodinger.test.stu.joberrors.unzip_postmortem(postmortem_log_path: str)[source]¶
Find postmortem file name from the log file, then extract
- Parameters
postmortem_log_path – output of postmortem command
extraction_dir – If None, extract to current working directory
- schrodinger.test.stu.joberrors.collect_queue_stats(job)[source]¶
Invoke remote queue commands to collect queue stats to debug a killed queue job.
- Parameters
job (schrodinger.job.queue.JobControlJob) – Instance of schrodinger.job.queue.JobControlJob to collect the stats from queue job has run.
- schrodinger.test.stu.joberrors.is_killed_queue_job(job)[source]¶
Return True if the job was killed on the queueing system.
- Parameters
job (schrodinger.job.queue.JobControlJob) – Instance to collect the stats from queue job has run.