-
-
Notifications
You must be signed in to change notification settings - Fork 31
Closed
Description
Expected Behavior
instance_stopall should stop all running instances.
Actual Behavior
instance_stopall is not stopping any instances, getting a return code of 0
Tried using the command line of singularity using the command singularity instance stop --all to verify that stopping was possible and indeed the running instances stopped
Steps to Reproduce
Python 3.5.2 (default, Nov 12 2018, 13:43:14)
[GCC 5.4.0 20160609] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> from spython.main import Client as client
>>> client.instances()
INSTANCE NAME PID IMAGE
instance0 13818 /redacted/alpine_latest.sif
[instance://instance0]
>>> client.instance_stopall()
0
>>> client.instances()
INSTANCE NAME PID IMAGE
instance0 13818 /redacted/alpine_latest.sif
[instance://instance0]
>>> client.instance_stopall(sudo=True)
0
>>> client.instances()
INSTANCE NAME PID IMAGE
instance0 13818 /redacted/alpine_latest.sif
[instance://instance0]Context
[provide more detailed introduction to the issue itself . This is for make a reproducible issue.]
- Operating System: Ubuntu16.04
- singularity version: 3.0.1-94.g7de6fa2
- spython version: 0.0.51
- python version: 3.5.2
Metadata
Metadata
Assignees
Labels
No labels