Build Agent TMO Timeout after +300 seconds.
I'm trying to make use of Rational Build Agent - Command Line builds as
an alternative to having to manage an ever-increasing number of JBE
processes on our build farm systems.
I've got a simple test build set up which connects, executes pre-build,
build, and post-build commands -- now I'm trying to add the Jazz Source
Control component. Things seem to go along fine for a while, but after
300 seconds of fetching (I'm testing with a big file tree), I get a timeout.
Anyone know where/how to increase this 300 second timer?
SCRIPT E:\jazz\3.0.1\buildsystem\buildengine\eclipse\jbe -vm E:\jazz\3.0.1\client\eclipse\jdk\bin\java -userId ***** -passwordFile ***** -repository https://*****/jazz/ -buildResultUUID _iDcCIJnxEeGGkqDTJhes-A -engineUUID _IpZBAJk-EeGbeYW34Z4BAQ -participants com.ibm.team.build.jazzscm -noComplete -verbose
EXEC start "\"@"*****"
* Supplied arguments:
* -userId ***** -passwordFile ***** -repository https://*****/jazz/ -buildResultUUID _iDcCIJnxEeGGkqDTJhes-A -engineUUID _IpZBAJk-EeGbeYW34Z4BAQ -participants com.ibm.team.build.jazzscm -noComplete -verbose
* Java Version:
* J2RE 1.5.0 IBM J9 2.3 Windows Server 2003 x86-32 j9vmwi3223ifx-20100511 (JIT enabled)
* J9VM - 20100509_57823_lHdSMr
* JIT - 20091016_1845ifx7_r8
* GC - 20091026_AA
* 2012-05-09 12:11:04 Searching for buildResultUUID=_iDcCIJnxEeGGkqDTJhes-A
* 2012-05-09 12:11:04 The -noComplete parameter specified, build result will not be completed by JBE.
* 2012-05-09 12:11:04 Building only the specified participants: ""
* 2012-05-09 12:11:04 Not using a proxy to reach https://*****/jazz/
* 2012-05-09 12:12:14 Searching for build request...
* 2012-05-09 12:12:15 Found a user request for build definition "lmgray-bfagent-test".
* 2012-05-09 12:12:15 Build participant "com.ibm.team.build.cmdline" was not specified on -participants list.
* 2012-05-09 12:12:15 Build participant "com.ibm.team.build.ant" was not specified on -participants list.
* 2012-05-09 12:12:15 Build participant "com.ibm.team.build.maven" was not specified on -participants list.
* 2012-05-09 12:12:15 Build participant "com.ibm.team.build.junit.publishing" was not specified on -participants list.
* 2012-05-09 12:12:15 Build participant "com.ibm.team.build.jdt.publishing" was not specified on -participants list.
* 2012-05-09 12:12:15 Build participant "com.ibm.team.build.msbuild" was not specified on -participants list.
* 2012-05-09 12:12:15 Build participant "com.ibm.team.build.mstest.config" was not specified on -participants list.
* 2012-05-09 12:12:15 Build participant "com.ibm.team.build.nunit.config" was not specified on -participants list.
* 2012-05-09 12:12:15 Build participant "com.ibm.team.build.autoDeliver" was not specified on -participants list.
* 2012-05-09 12:12:15 Should build occur?
* 2012-05-09 12:12:15 Yes: Always build a user initiated request.
* 2012-05-09 12:12:15 CRRTC3507W: Warning: No engine participant found for pre_build configuration element "Pre-Build Command Line".
* 2012-05-09 12:12:15 Invoking pre-build participant "com.ibm.team.build.jazzscm"
TMO Timeout after +300 seconds.
RESULT 500
EOR
Status:ERROR
an alternative to having to manage an ever-increasing number of JBE
processes on our build farm systems.
I've got a simple test build set up which connects, executes pre-build,
build, and post-build commands -- now I'm trying to add the Jazz Source
Control component. Things seem to go along fine for a while, but after
300 seconds of fetching (I'm testing with a big file tree), I get a timeout.
Anyone know where/how to increase this 300 second timer?
SCRIPT E:\jazz\3.0.1\buildsystem\buildengine\eclipse\jbe -vm E:\jazz\3.0.1\client\eclipse\jdk\bin\java -userId ***** -passwordFile ***** -repository https://*****/jazz/ -buildResultUUID _iDcCIJnxEeGGkqDTJhes-A -engineUUID _IpZBAJk-EeGbeYW34Z4BAQ -participants com.ibm.team.build.jazzscm -noComplete -verbose
EXEC start "\"@"*****"
* Supplied arguments:
* -userId ***** -passwordFile ***** -repository https://*****/jazz/ -buildResultUUID _iDcCIJnxEeGGkqDTJhes-A -engineUUID _IpZBAJk-EeGbeYW34Z4BAQ -participants com.ibm.team.build.jazzscm -noComplete -verbose
* Java Version:
* J2RE 1.5.0 IBM J9 2.3 Windows Server 2003 x86-32 j9vmwi3223ifx-20100511 (JIT enabled)
* J9VM - 20100509_57823_lHdSMr
* JIT - 20091016_1845ifx7_r8
* GC - 20091026_AA
* 2012-05-09 12:11:04 Searching for buildResultUUID=_iDcCIJnxEeGGkqDTJhes-A
* 2012-05-09 12:11:04 The -noComplete parameter specified, build result will not be completed by JBE.
* 2012-05-09 12:11:04 Building only the specified participants: ""
* 2012-05-09 12:11:04 Not using a proxy to reach https://*****/jazz/
* 2012-05-09 12:12:14 Searching for build request...
* 2012-05-09 12:12:15 Found a user request for build definition "lmgray-bfagent-test".
* 2012-05-09 12:12:15 Build participant "com.ibm.team.build.cmdline" was not specified on -participants list.
* 2012-05-09 12:12:15 Build participant "com.ibm.team.build.ant" was not specified on -participants list.
* 2012-05-09 12:12:15 Build participant "com.ibm.team.build.maven" was not specified on -participants list.
* 2012-05-09 12:12:15 Build participant "com.ibm.team.build.junit.publishing" was not specified on -participants list.
* 2012-05-09 12:12:15 Build participant "com.ibm.team.build.jdt.publishing" was not specified on -participants list.
* 2012-05-09 12:12:15 Build participant "com.ibm.team.build.msbuild" was not specified on -participants list.
* 2012-05-09 12:12:15 Build participant "com.ibm.team.build.mstest.config" was not specified on -participants list.
* 2012-05-09 12:12:15 Build participant "com.ibm.team.build.nunit.config" was not specified on -participants list.
* 2012-05-09 12:12:15 Build participant "com.ibm.team.build.autoDeliver" was not specified on -participants list.
* 2012-05-09 12:12:15 Should build occur?
* 2012-05-09 12:12:15 Yes: Always build a user initiated request.
* 2012-05-09 12:12:15 CRRTC3507W: Warning: No engine participant found for pre_build configuration element "Pre-Build Command Line".
* 2012-05-09 12:12:15 Invoking pre-build participant "com.ibm.team.build.jazzscm"
RESULT 500
EOR
Status:ERROR
6 answers
I'm on Windows with bfagent running as a service and don't see startbfa.sh or equivalent bat/cmd file -- is there an equivalent startup script/mechanism for Windows where this can be set?
I found it! I was able to set a property in the build def named _TIMEOUT
and the build agent seems to respect it. My long-running fetch using
JBE_COMMAND now works.
Thanks for pointing me in the right direction!
Are you using JBE or Rational Build Agent now?
If Rational Build Agent, you can change the "#read_timeout 1800"
to "read_timeout xxxx" in bfagent.conf(the unit is seconds).
I'm using Rational Build Agent -- I made that change and restarted the
bfagent service before posting this question. Changing read_timeout 1800
in bfagent.conf did not seem to have any effect. I still get TMO Timeout
after +300 seconds.