Cause of RTC login failures from BF build execution?
Environment:
RTC 4.0.5 configured with IBM LDAP authentication.
Build Forge 7.1.3.5
BF agent using RTC JBE 4.0.5
From the BF Step log:
RTC 4.0.5 configured with IBM LDAP authentication.
Build Forge 7.1.3.5
BF agent using RTC JBE 4.0.5
From the BF Step log:
Java Version:I hilight the JDK as I just noticed this, but, looking at most recent successful build for same build definition:
OpenJDK Runtime Environment (version 1.6.0_24-b24)
Engine Bundle Version:
com.ibm.team.build.engine, 3.0.700.v20131024_0535
2014-03-26 08:34:25 [Jazz build engine] Searching for buildResultUUID=_2VuIcLTiEeODto9x6x2HBg
2014-03-26 08:34:25 [Jazz build engine] The -noComplete argument was specified. The build result will not be completed by JBE.
2014-03-26 08:34:25 [Jazz build engine] Building only the specified participants: "[com.ibm.team.build.jazzscm]"
2014-03-26 08:34:26 [Jazz build engine] Not using a proxy to reach https://rtp-rtc14:9443/jazz
2014-03-26 08:34:27 [Jazz build engine] CRRTC3523E: Authentication failed due to this error: CRJAZ0124E The user name or password is invalid.
2014-03-26 08:34:27 [Jazz build engine] Exiting JBE after completing single build request, RC=1.
CRRTC3529W: The execution of Jazz Build Engine completed with a non-zero return code (RC=1).
Java Version:The jbe -createPasswordFile was executed on March 7, 2014, but these build forge builds have been failing in similar fashion since having upgraded to RTC 4.0.5 from 4.0.3. I did take the steps of refreshing the BF project in two build definitions to update the properties to no improvement.
OpenJDK Runtime Environment (version 1.6.0_24-b24)
Engine Bundle Version:
com.ibm.team.build.engine, 3.0.500.v20130502_0139
2014-02-21 04:49:03 [Jazz build engine] Searching for buildResultUUID=_RULDIJrdEeOI84fzG9tybA
2014-02-21 04:49:03 [Jazz build engine] The -noComplete argument was specified. The build result will not be completed by JBE.
2014-02-21 04:49:03 [Jazz build engine] Building only the specified participants: "[com.ibm.team.build.jazzscm]"
2014-02-21 04:49:04 [Jazz build engine] Not using a proxy to reach https://rtp-rtc14:9443/jazz
2014-02-21 04:49:07 [Jazz build engine] Searching for build request...
2014-02-21 04:49:08 [Jazz build engine] Found a user request for build definition "CREO Capacity Planner Build".
One answer
we had a case recently of a similar problem. the project was Maven and needed a proxy (defined in the settings.xml) to get the dependencies resolved..
the step before this one in the ant file used the proxy and left it hanging in the environment, so the next command tried to use it.. boom..
we did
<setproxy proxyhost=""/>
in the build.xml before the failing step, see
https://jazz.net/forum/questions/144179/ant-task-startbuildactivity-fails-in-maven-build-after-dependencies-loaded-proxy-server-setting-solved
Comments
Hmm. So the "Not using a proxy to reach" message is false ?
no idea.. it might be true at the time the message was issued.. ours said using, not using, then boom..
another step used the proxy silently, and left the trash around.. not fun to debug
this might not be it, but sure sounds similar