It's all about the answers!

Ask a question

Abandon scheduled builds that have hung


Rich Cumbers (2684) | asked May 01 '09, 4:42 a.m.
Hi all,

I have ever Build power going in the permissions tab, I am the uber-super user of my project and I cannot Abandon a scheduled build that has hung. I get a "Not Authorized to abandon the build". Restarting the Jazz Build Engine has no effect, and the RTC Client shows the build engine as still busy.

Any ideas on what I can do?

Cheers

Rich
(http://twitter.com/cumbers)

6 answers



permanent link
Rich Cumbers (2684) | answered Jun 30 '09, 6:17 a.m.
Hi all,

I have ever Build power going in the permissions tab, I am the uber-super user of my project and I cannot Abandon a scheduled build that has hung. I get a "Not Authorized to abandon the build". Restarting the Jazz Build Engine has no effect, and the RTC Client shows the build engine as still busy.

Any ideas on what I can do?

Cheers

Rich
(http://twitter.com/cumbers)


Anyone got a fix for this? We have 2 scheduled builds that are no longer running, but are showing in the eclipse client. When you got to submit a request for a new build, we are told the build engine is busy, but the build engine is not. The build request is serviced immediately. Would love to clear those old failed builds out of my queue!

permanent link
Anuerin Diaz (4112517) | answered Jul 06 '09, 9:52 p.m.
Just for completeness, does your user have a role with full build-related permissions in the team area? Any user with that kind of role should be able to Abandon a build (among others).

Team Configuration->Permissions->#rolename#->Permitted Actions->Build->Abandon Build (server)

ciao!

permanent link
Nick Edgar (6.5k711) | answered Jul 07 '09, 4:51 p.m.
JAZZ DEVELOPER
Yes, please check the permissions in the team area that owns the build definition (not the build engine). If those look OK, check the parent process area's permissions until you get up to the project.

permanent link
Nick Edgar (6.5k711) | answered Jul 07 '09, 4:55 p.m.
JAZZ DEVELOPER
> the RTC Client shows the build engine as still busy.

This is a known problem. If there are any builds associated with that engine that the server thinks are still in progress, the build engine will appear as busy even though it isn't. We are considering a fix whereby any previous builds associated with the engine are automatically abandoned when jbe is restarted.

permanent link
Li Lian (6) | answered Jan 15 '10, 1:30 a.m.
> the RTC Client shows the build engine as still busy.

This is a known problem. If there are any builds associated with that engine that the server thinks are still in progress, the build engine will appear as busy even though it isn't. We are considering a fix whereby any previous builds associated with the engine are automatically abandoned when jbe is restarted.


Is there any plan of when this know issue will enter any upgrade? And I suppose need to upgrade both RTC server and client for this?

permanent link
Nick Edgar (6.5k711) | answered Jan 15 '10, 9:51 a.m.
JAZZ DEVELOPER
This is a pain point in our own self-hosting on Build. It's covered by work item 78579: In-progress builds left in in-progress state if build engine restarted and is planned for 3.0 M4 (the current milestone of 3.0). It would be a candidate for back-porting to a 2.0.0.x maintenance release.

I've added a comment to the work item describing how to clean up such builds manually.

Your answer


Register or to post 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.