Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sidecar shuts down too early when pressing Ctrl-C #99

Open
holtgrewe opened this issue Jun 24, 2022 · 1 comment
Open

Sidecar shuts down too early when pressing Ctrl-C #99

holtgrewe opened this issue Jun 24, 2022 · 1 comment

Comments

@holtgrewe
Copy link

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
Copy link

Did you ever solve this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants