Hi!
I canceled a deployment to azure app service, and it seems the cancelling have hanged after the error message:
Failed to kill the launched process and its children: System.ComponentModel.Win32Exception (0x80004005): Access is denied
at System.Diagnostics.ProcessManager.OpenProcess(Int32 processId, Int32 access, Boolean throwIfExited)
at System.Diagnostics.Process.GetProcessHandle(Int32 access, Boolean throwIfExited)
at System.Diagnostics.Process.Kill()
at Octopus.Shared.Util.SilentProcessRunner.Hitman.TryKillWindowsProcessAndChildrenRecursively(Int32 pid)
at Octopus.Shared.Util.SilentProcessRunner.Hitman.TryKillWindowsProcessAndChildrenRecursively(Int32 pid)
at Octopus.Shared.Util.SilentProcessRunner.Hitman.TryKillWindowsProcessAndChildrenRecursively(Int32 pid)
at Octopus.Shared.Util.SilentProcessRunner.Hitman.TryKillProcessAndChildrenRecursively(Process process)
Thank you for your patience. I was able to force the task to a canceled state on the back end.
It looks like the issue was with a dynamic worker when this step tried to run. However, it should be fine to attempt a redeployment at your convenience as the lease on that dynamic worker has since expired.
If you run into any more issues or if we can assist with anything else, please let us know.