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

Cannot cancel pending scheduled build

We had an unusual licensing exception thrown when a pending build request was being handled by a JBE, leaving it in a state where no build engine sees it as pending. (The exception said the build user did not have a license permitting it to refresh or read a workspace. It did have the license, but there may have been a timeout.)

I want to cancel this request, but when I do so the Team Advisor opens saying "Not authorized to cancel pending build request." The only role permitted to cancel any request is Administrator, which both myself and another user have (the other user being the build user), and neither can cancel it.

When I click the "Why did this happen" link the "Permissions" section does identify the Administrator role as one that can cancel.

Any idea how I can get this pending request out? We're running RTC 3.0 iFix 1.

0 votes



3 answers

Permanent link
Sometimes, those error messages are only somewhat accurate.
When debugging this kind of thing, I often just go in and assign the
user all possible roles, and try the operation again. If it works,
then I know it is some role based thing, and I look more carefully at
the roles in the Process Configuration tab, to see what roles have what
permissions. If I still can't figure it out, I start removing roles
from the user, and see which role is apparently needed, and investigate
that role in more detail.

Cheers,
Geoff

On 7/23/2011 10:23 PM, sbates wrote:
We had an unusual licensing exception thrown when a pending build
request was being handled by a JBE, leaving it in a state where no
build engine sees it as pending. (The exception said the build user
did not have a license permitting it to refresh or read a workspace.
It did have the license, but there may have been a timeout.)

I want to cancel this request, but when I do so the Team Advisor opens
saying "Not authorized to cancel pending build request."
The only role permitted to cancel any request is Administrator, which
both myself and another user have (the other user being the build
user), and neither can cancel it.

When I click the "Why did this happen" link the
"Permissions" section does identify the Administrator role
as one that can cancel.

Any idea how I can get this pending request out? We're running RTC
3.0 iFix 1.

0 votes


Permanent link
Hi Geoff,

I had the same thoughts, and did exactly what you are suggesting, including giving the user all roles. It didn't help. I even tried removing the Administrator role and re-adding it, thinking perhaps there was a bad link between the user and the role. Throughout this time I've also been on the "Administrators" list for the project area. (The build in question is associated with the project area.)

0 votes


Permanent link
Something else to try is to submit a build, and then cancel it before it
gets picked up by some build engine.
If that works, then it is probably something strange about that one
build job.

Cheers,
Geoff

On 7/24/2011 9:23 PM, sbates wrote:
Hi Geoff,

I had the same thoughts, and did exactly what you are suggesting,
including giving the user all roles. It didn't help. I even tried
removing the Administrator role and re-adding it, thinking perhaps
there was a bad link between the user and the role. Throughout this
time I've also been on the "Administrators" list for the
project area. (The build in question is associated with the project
area.)

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: Jul 23 '11, 10:10 p.m.

Question was seen: 4,228 times

Last updated: Jul 23 '11, 10:10 p.m.

Confirmation Cancel Confirm