Long running GoCD Pipeline

21 views
Skip to first unread message

Binoy Shah

unread,
Oct 18, 2022, 12:07:40 PM10/18/22
to go-cd
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

Ashwanth Kumar

unread,
Oct 18, 2022, 12:14:31 PM10/18/22
to go...@googlegroups.com
GoCD supports a job timeout 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,


--
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 go-cd+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/go-cd/2c73ab3e-048f-4db1-bee2-4005cd278a68n%40googlegroups.com.


--

Ashwanth Kumar / ashwanthkumar.in

Binoy Shah

unread,
Oct 21, 2022, 12:42:17 PM10/21/22
to go...@googlegroups.com
Hi Ashwanth Kumar,

Thank you for replying. Indeed we made a change in H2 DB entry and it worked 

Regards,
Binoy


Reply all
Reply to author
Forward
0 new messages