GoCD supports a job timeout
<https://docs.gocd.org/current/configuration/job_timeout.html> the stage
after x minutes of inactivity.

Now even after explicitly cancelling the stage you see the above error, you
might want to look into the go-server logs to see if there are any errors /
stack traces when you attempt to cancel it. I have seen a similar issue
happen due to a H2 db corruption. Sharing such logs after removing any
sensitive data might shed some light on the whole process.

Thanks,


On Tue, 18 Oct 2022 at 21:37, Binoy Shah <[email protected]> wrote:

> Hi All,
>
> We are using GoCD for our CI/CD tool, we have a problem where one of the
> pipeline stage is running for a long time and we're unable to cancel it or
> stop it.
>
> Because of that, it's not allowing any future stages to be created. While
> re-running it says, previous stage execution is still in progress.
>
> Is there any way to resolve such issue?
>
> Regards,
> Binoy
>
> --
> You received this message because you are subscribed to the Google Groups
> "go-cd" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/go-cd/2c73ab3e-048f-4db1-bee2-4005cd278a68n%40googlegroups.com
> <https://groups.google.com/d/msgid/go-cd/2c73ab3e-048f-4db1-bee2-4005cd278a68n%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>


-- 

Ashwanth Kumar / ashwanthkumar.in

-- 
You received this message because you are subscribed to the Google Groups 
"go-cd" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/go-cd/CAD9m7Cz-3Cg_bgTR9UcropsH%3DNm73QVyZQRybNW5XbEUoQz-2g%40mail.gmail.com.

Reply via email to