Unable to stop a bamboo build through console
Asked by tabrez ahmad:

Trying to stop a build through console but still the build is running and its in a hung state.

```
command	11-Apr-2022 15:45:19	Request to stop 'IIQ72-TAE2-JOB1-325' received from kalluripcommand	11-Apr-2022 15:46:33	Request to stop 'IIQ72-TAE2-JOB1-325' received from deyr1command	11-Apr-2022 15:46:34	Request to stop 'IIQ72-TAE2-JOB1-325' received from deyr1command	11-Apr-2022 15:46:34	Request to stop 'IIQ72-TAE2-JOB1-325' received from deyr1command	11-Apr-2022 15:46:35	Request to stop 'IIQ72-TAE2-JOB1-325' received from deyr1command	11-Apr-2022 15:46:50	Request to stop 'IIQ72-TAE2-JOB1-325' received from deyr1command	11-Apr-2022 15:46:51	Request to stop 'IIQ72-TAE2-JOB1-325' received from deyr1command	11-Apr-2022 15:46:51	Request to stop 'IIQ72-TAE2-JOB1-325' received from deyr1command	11-Apr-2022 15:49:43	Request to stop 'IIQ72-TAE2-JOB1-325' received from deyr1command	11-Apr-2022 15:55:32	Request to stop 'IIQ72-TAE2-JOB1-325' received from deyr1command	11-Apr-2022 15:55:48	Request to stop 'IIQ72-TAE2-JOB1-325' received from deyr1command	11-Apr-2022 15:56:29	Request to stop 'IIQ72-TAE2-JOB1-325' received from dkcommand	11-Apr-2022 15:56:46	Request to stop 'IIQ72-TAE2-JOB1-325' received from deyr1command	11-Apr-2022 15:56:56	Request to stop 'IIQ72-TAE2-JOB1-325' received from deyr1command	11-Apr-2022 15:56:59	Request to stop 'IIQ72-TAE2-JOB1-325' received from dkcommand	11-Apr-2022 16:03:43	Request to stop 'IIQ72-TAE2-JOB1-325' received from dkcommand	11-Apr-2022 16:03:55	Request to stop 'IIQ72-TAE2-JOB1-325' received from dkcommand	11-Apr-2022 16:55:47	Request to stop 'IIQ72-TAE2-JOB1-325' received from cas2command	11-Apr-2022 17:01:15	Request to stop 'IIQ72-TAE2-JOB1-325' received from dkcommand	11-Apr-2022 19:33:53	Request to stop 'IIQ72-TAE2-JOB1-325' received from dkcommand	11-Apr-2022 19:34:41	Request to stop 'IIQ72-TAE2-JOB1-325' received from dkcommand	11-Apr-2022 19:34:45	Request to stop 'IIQ72-TAE2-JOB1-325' received from dkcommand	11-Apr-2022 19:38:32	Request to stop 'IIQ72-TAE2-JOB1-325' received from dkcommand	11-Apr-2022 19:39:30	Request to stop 'IIQ72-TAE2-JOB1-325' received from dkcommand	11-Apr-2022 23:02:04	Request to stop 'IIQ72-TAE2-JOB1-325' received from kpr3command	11-Apr-2022 23:02:20	Request to stop 'IIQ72-TAE2-JOB1-325' received from kpr3
```


Answers:
author: Eduardo Alvarenga
body: Hello [@tabrez ahmad](/t5/user/viewprofilepage/user-id/4714421)

You will need to check your build agent and understand what the "Job1" from IIQ72-TAE2 is doing at the moment and take manual action. Bamboo will try to terminate any processes that are a child of the main task, but sometimes depending on how your build is structured, it may not be able to kill all the processes.

So basically you will need to:

1. Log into the Remote, Elastic or Local Agent
2. Kill the running process
3. Validate in Bamboo

If you still have issues we recommend you reach out to Atlassian Support at <https://support.atlassian.com/contact>

Regards,

Eduardo Alvarenga  
Atlassian Support APAC

comments: author: tabrez ahmad
body: Thanks [@Eduardo Alvarenga](/t5/user/viewprofilepage/user-id/4365410)


author: tabrez ahmad
body: Followed the steps but unfortunately same issue.