Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

Abandon scheduled builds that have hung

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)

0 votes



6 answers

Permanent link
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!

0 votes


Permanent link
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!

0 votes


Permanent link
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.

0 votes


Permanent link
> 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.

0 votes


Permanent link
> 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?

0 votes


Permanent link
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.

0 votes

Your answer

Register or log in 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.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details

Question asked: May 01 '09, 4:42 a.m.

Question was seen: 6,939 times

Last updated: May 01 '09, 4:42 a.m.

Confirmation Cancel Confirm