Sidecar shuts down too early when pressing Ctrl-C
holtgrewe opened this issue · 1 comments
holtgrewe commented
The slurm-status.py
script does not handle failures to side car correctly.
Submitted job 0 with external jobid '2467400'.
^CTerminating processes on user request, this might take some time.
Complete log: .snakemake/log/2022-06-24T084153.331174.snakemake.log
slurm-status.py: could not query side car: HTTPConnectionPool(host='localhost', port=45675): Max retries exceeded with url: /job/status/2467400 (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x14a75ab64c10>: Failed to establish a new connection: [Errno 111] Connection refused'))
^CException ignored in: <module 'threading' from '/data/gpfs-1/users/holtgrem_c/work/miniconda3/envs/snakemake/lib/python3.10/threading.py'>
Traceback (most recent call last):
File "/data/gpfs-1/users/holtgrem_c/work/miniconda3/envs/snakemake/lib/python3.10/threading.py", line 1560, in _shutdown
lock.acquire()
KeyboardInterrupt:
edwinyyyu commented
Did you ever solve this?