WS-597: `wf_inspector`, view running jobs given a workflow request ID
wf_inspector
-
CLI
❯ env CAPO_PROFILE=docker wf_inspector 1
Could not create directory '/root/.ssh'.
Welcome to slot1_1@4bd38f6b8d4e!
Your condor job is running with pid(s) 120.
sh-4.2$ ls
VLASS1.1.ql.T29t04.J094850+743000.10.2048.v5 _condor_stderr _condor_stdout condor_exec.exe deliver productfetcher tmp62bxjx8t tmpl1rcqpa8
sh-4.2$
-
Works outside of container-land -
Handles the case of the job not running
❯ env CAPO_PROFILE=docker wf_inspector 1
HTCondor job ID not found.
Here are the jobs currently running on the cluster:
-- Schedd: f9ddd1cf533e : <172.28.0.7:33525> @ 08/30/21 20:59:39
OWNER BATCH_NAME SUBMITTED DONE RUN IDLE HOLD TOTAL JOB_IDS
Total for query: 0 jobs; 0 completed, 0 removed, 0 idle, 0 running, 0 held, 0 suspended
Total for all users: 0 jobs; 0 completed, 0 removed, 0 idle, 0 running, 0 held, 0 suspended
Is your job still running?
-
Tests
Other
-
Fixed type in alembic
revision
Edited by Nathan Hertz