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

Why is waitForTeamBuild for a child build waiting forever?

There are 3 build definitions:
  "parent build"
  "child build 1" and
  "child build 2" ,
then I want to run the child builds within the parent build sequentially. I am using requestTeamBuild task to request "child build 1" then waitForTeamBuild to wait for "child build 1" completed as follows:






However, the build request "child build 1" will be in a JBE queue but it never proceed. It seems "parenet build" is waiting forever.  Why?

References:
https://jazz.net/help-dev/clm/index.jsp?re=1&topic=/com.ibm.team.build.doc/topics/r_requestBuild.html
https://jazz.net/help-dev/clm/topic/com.ibm.team.build.doc/topics/r_waitforteambuild.html

0 votes


Accepted answer

Permanent link
if you were running a single build engine, the both requests will go to the same build engine therefore the parent build is still running and the child build in the same build engine queue to wait so it never start because the parent build is waiting for the child build completed. It's deadlocked.
 
You need add one more build engine that supports these child builds. When you specify the new build engine in the child build definition, it will works as it is expected.

Note: if you run multiple Jazz Build Engine instances on the same machine, For more information, see Running multiple JBE processes.


Yasuyuki Tominaga selected this answer as the correct answer

4 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
× 562

Question asked: Mar 10 '16, 2:26 a.m.

Question was seen: 2,229 times

Last updated: Mar 10 '16, 2:45 a.m.

Confirmation Cancel Confirm