It's all about the answers!

Ask a question

How reliable is the Build Forge semaphore mechanism?


James Leone (13613513) | asked Mar 01 '10, 2:37 p.m.
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.

2 answers



permanent link
Peter Birk (501145) | answered Mar 03 '10, 10:50 a.m.
JAZZ DEVELOPER
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

permanent link
Aruljothi Sivakurunathan (31108) | answered Feb 13 '13, 4:24 a.m.
 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

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.