Build activity "Accepting changes" never ends
Sometimes the build activity "Accepting changes" never ends.
Once we abandon the build request, the associate build engine becomes not available but in fact the jbe process is still running.
Any advice? We cannot find any evidence on server and/or jbe log files.
Thanks in advance. Cheers.
|
2 answers
If a build activity doesn't change it means that it was never closed by a build process. Everything is driven by build events, so an activity is started by the JBE when it does the integrated SCM fetch, but if that process terminated unexpectedly (engine terminated, server shutdown, etc) then there is never an event to close the activity. I suppose it could also be an exception in the build script as well. Anything that would terminate the build early and ungracefully. Generally it should pass back through the close build activity logic, but if its runtime exception or something like that then it could skip it.
I'm assuming we are talking about the build result getting abandoned, that marks the build state as terminated so nothing else will update that build result after that moment. By JBE process does that mean the build loop (waiting for build request), or is it actually doing build work (running the build)?
~Spencer
|
If a build activity doesn't change it means that it was never closed by a build process. Everything is driven by build events, so an activity is started by the JBE when it does the integrated SCM fetch, but if that process terminated unexpectedly (engine terminated, server shutdown, etc) then there is never an event to close the activity. OK, sounds right. Problem is we see:
Logfiles from:
I suppose it could also be an exception in the build script as well.Not the case, scripts are always the same since 5+ years. Only thing we changed recently is the JBE version from v5.0.2 to v6.0.2.
Yes, JBE process started and is running the build; On the Activities tab of build result we see:
Thanks in advance.
Cheers.
|
Your answer
Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.