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

How reliable is the Build Forge semaphore mechanism?

Could you tell me how frequently Build Forge gives the same semaphore to 2 jobs at the same time?

We recently observed the following

We are running buildforge 7.1.1.3-0-0028; RH Linux AS4; Oracle 10g

We have a Project with a step that acquires a semaphore to ensure no two Jobs simultaneously perform the selected activities

While testing this we launched 3 Jobs.
Build 1 - launched first
Build 2 - launched second
Build 3 - launched third

Build 1 acquired the semaphore.
Build 2 got to the semget step and started waiting for the semaphore
Build 3 got to semget step and also started waiting for the semaphore
Build 1 then failed

Expected behavior:
Build 2 is in front of the line and get's the semaphore

Actual behavior
Build 2 and Build 3 both got the semaphore.

From "Build 2"
237 02/26 03:28PM EXEC Semaphore (fakeStreamOne) obtained 13877 seconds after initial request.

From "Build 3"
237 02/26 03:28PM EXEC Semaphore (fakeStreamOne) obtained 12983 seconds after initial request.

0 votes



2 answers

Permanent link
Hi,

I've asked around and haven't found anyone who has seen this before. Probably best to open a PMR to have this looked into further.

Regards,
Pete

0 votes


Permanent link
 Pete,

 I just came across this query where we also have similar problem. I hope there is no solution yet from buildforge.

The workaround (or you can call as solution if you like) that we have is to setup a fail chain library which will release the semaphore.

Regards,
Aruljothi.S

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: Mar 01 '10, 2:37 p.m.

Question was seen: 8,394 times

Last updated: Feb 13 '13, 4:24 a.m.

Confirmation Cancel Confirm