Can not terminate running tasksSee original GitHub issue
I can not terminate running tasks in a job with
jobs tasks term. The command hangs for long time if I use
--wait. When I terminate the task using Azure Portal, it is marked with
Completed state, but when I log in to the node I can see the container is still running.
Batch Shipyard Version
Steps to Reproduce
- Submit a long running task.
- Try to terminate the task with command
jobs tasks term.
The task is terminated with
Completed state. There is no Docker container running when logging into the node.
Can not terminate using the command.
I wonder what should be expected when I specify
max_task_retries being -1. To be able to terminate this kind of task, I had to manually terminate in Azure Portal, then log in to the node and
docker rm -f
- Created 4 years ago
- Comments:14 (7 by maintainers)
Top GitHub Comments
Hi. I confirm the newest fix has resolved the issue. Much appreciated for helping.
Thanks for confirming - this is most likely a regression. I have a fix that should be landing shortly in
develop. You can test either by pulling the
develop branch or using the
develop-cli Docker image once the DevOps build completes.
Note that if you’re moving from
develop, you’ll need to upgrade (if not using the CLI Docker image): https://github.com/Azure/batch-shipyard/blob/master/docs/01-batch-shipyard-installation.md#upgrading-to-new-releases