Canceling running builds does not successfully stop container

When I click “Cancel” on a running build, it shows as successfully canceled in the UI, but the test container itself is still running on the host.

I suspect this has to do with what we are running in the container, but it would help to know what drone does when I click “Cancel” so I can debug this issue. When I ssh into my worker instance and run “docker stop” on the test container, that is able to stop it, so it seems canceling/stopping a build via drone is doing something different.

Is it possible you have run into this issue? https://github.com/drone/drone-runtime/issues/71

I’m not using “depends_on” in my drone config: https://github.com/code-dot-org/code-dot-org/blob/staging/.drone.yml

Thanks for the suggestion though!