It's all about the answers!

Ask a question

Team Concert for Z trouble with ANTz build definition


Carmen vitullo (511) | asked Mar 10 '11, 3:28 p.m.
we've been unsuccesful running an ANTz build using the provided documention and help from support. has any on Z/os sucessfully created a build using the ANTz method?
The errors on the log are very cryptic and trying different options, getting different results, I've supplied the log from our last try, maybe someone has had the same issues and gotten by this. my error is at the very bottom of the log " URI cannot be null"
--------------------------------------l o g ----------------------------------
Found a user request for build definition KenTestAntzBuild
Substituted the following build property variables:
Substituted the following configuration element property variables:
com.ibm.teamz.build.ant : teamz.build.ant.buildFile =

${teamz.scm.fetchDestination}/KenTestzProject/build.xml --> teamz.build.ant.buildFile =

u/xxxxxxx/workspace/KenTestzProject/build.xml
Should build occur?
Yes: Always build a user initiated request.
Accepting changes into workspace "KenCarmen Stream Workspace" ...
ACTIVITY:Checking load directory
AUTH set user account to "xxxxxxx"
SET "buildLabel"="20110309-162115"
SET "buildResultUUID"="_IPb7oUqTEeCjOfie6TFWRg"
SET "com.ibm.team.build.internal.template.id"="com.ibm.teamz.build.antz"
SET "requestUUID"="_IPb7oEqTEeCjOfie6TFWRg"
SET "repositoryAddress"="https://xxxxx.xxx.xxxx.xx.xx:xxxxx/jazz/"
SET "com.ibm.team.build.internal.engine.monitoring.threshold"="3"
SET "teamz.scm.dataset.prefix"=""
SET "teamz.scm.buildOnlyIfChanges"="true"
SET "teamz.scm.workspaceUUID"="_XQK3cC1pEeC-qqoj49Tkxw"
SET "teamz.scm.acceptBeforeFetch"="true"
SET "teamz.build.publishoutputs"="true"
SET "teamz.scm.fetchDestination"="u/xxxxxxx/workspace"
SET "teamz.scm.deleteDestinationBeforeFetch"="false"
SET "buildDefinitionId"="KenTestAntzBuild"
SET "BF_AGENT_VERSION"="7.1.2.0-0-0003"
SET "BF_AGENT_PLATFORM"="os/390 20.00 03"
EXEC Locale set to '"C"'
PTY allocated pseudo-tty *PtyPipe
ENV _=/Service/usr/lpp/jazz/v2.0/bfagent/bfagent
ENV _CLIB_PREFIX=CBC
ENV _CREATE_LAYOUT=Y
ENV _INCDIRS=/usr/include /usr/lpp/ioclib/include
ENV _LIBDIRS=/lib /usr/lib
ENV _PLIB_PREFIX=CEE
ENV _SLIB_PREFIX=SYS1
ENV _WORK_UNIT=SYSDA
ENV buildDefinitionId=KenTestAntzBuild
ENV buildLabel=20110309-162115
ENV buildResultUUID=_IPb7oUqTEeCjOfie6TFWRg
ENV com.ibm.team.build.internal.engine.monitoring.threshold=3
ENV com.ibm.team.build.internal.template.id=com.ibm.teamz.build.antz
ENV repositoryAddress=https://xxxxx.xxx.xxxx.xx.xx:xxxxx/jazz/
ENV requestUUID=_IPb7oEqTEeCjOfie6TFWRg
ENV teamz.build.publishoutputs=true
ENV teamz.scm.acceptBeforeFetch=true
ENV teamz.scm.buildOnlyIfChanges=true
ENV teamz.scm.dataset.prefix=
ENV teamz.scm.deleteDestinationBeforeFetch=false
ENV teamz.scm.fetchDestination=u/xxxxxxx/workspace
ENV teamz.scm.workspaceUUID=_XQK3cC1pEeC-qqoj49Tkxw
ENV

ANT_HOME=/Service/usr/lpp/jazz/v2.0/buildsystem/buildengine/eclipse/plugins/org.apache.ant_1.7.0.v2

00803061910
ENV AOPCONF=/etc/Printsrv/aopd.conf
ENV BF_AGENT_PLATFORM=os/390 20.00 03
ENV BF_AGENT_VERSION=7.1.2.0-0-0003
ENV BFABINPATH=/Service/usr/lpp/jazz/v2.0/bfagent
ENV BFACONFPATH=/Service/usr/lpp/jazz/v2.0/bfagent
ENV BLD_TOOLKIT=/Service/usr/lpp/jazz/v2.0/buildsystem/buildtoolkit
ENV FA_CLASSPATH=.
ENV

FA_JAVA_OPTIONS=-Djava.ext.dirs=/usr/lpp/java/J6.0/lib/ext:/Service/usr/lpp/jazz/v2.0/buildsystem/bui

ldtoolkit
ENV HOME=/
ENV HOSTNAME=TECH1DOV.STATE.DE.US
ENV JAVA_HOME=/usr/lpp/java/J6.0
ENV JAZZ_PASSWORD_FILE=/u/xxxxxxx/passwfile
ENV JAZZ_USER=RTCZAGNT
ENV LANG=C
ENV LIBPATH=/usr/lpp/Printsrv/lib:/lib:/usr/lib:.
ENV LOGNAME=RTCZAGNT
ENV MAIL=/usr/mail/RTCZAGNT
ENV MANPATH=/usr/lpp/Printsrv/man/%L:/opt/tectia/man/%L:/usr/man/%L
ENV NLSPATH=/usr/lpp/Printsrv/%L/%N:/usr/lib/nls/msg/%L/%N:/usr/lib/nls/msg/%L/%N.cat
ENV

PATH=/usr/lpp/Printsrv/bin:/usr/lpp/java/J6.0/bin:/bin:/usr/lpp/java/J6.0/bin:/usr/lpp/Printsrv/bin:/u/ftpuser:/

Service/usr/lpp/jazz/v2.0:.
ENV SHELL=/bin/sh
ENV STEPLIB=SYS1.LINKLIB:CEE.SCEERUN
ENV TZ=EST0EDT0
EXEC ExecPreparse
EXEC spawning shell "/bin/sh"
SCRIPT if ; then
SCRIPT mkdir -p 'u/xxxxxxx/workspace'
SCRIPT fi
EXEC start "/"@"TECH1DOV"
*

/usr/lpp/Printsrv/bin:/usr/lpp/java/J6.0/bin:/bin:/usr/lpp/java/J6.0/bin:/usr/lpp/Printsrv/bin:/u/ftpuser:/Service

/usr/lpp/jazz/v2.0:.
EXEC end "/"@"TECH1DOV"
RESULT 0
EOR
ACTIVITY:Transferring buildable file list
AUTH set user account to "xxxxxxx"
SET "buildLabel"="20110309-162115"
SET "buildResultUUID"="_IPb7oUqTEeCjOfie6TFWRg"
SET "com.ibm.team.build.internal.template.id"="com.ibm.teamz.build.antz"
SET "requestUUID"="_IPb7oEqTEeCjOfie6TFWRg"
SET "repositoryAddress"="https://xxxxx.xxx.xxxx.xx.xx:xxxxx/jazz/"
SET "com.ibm.team.build.internal.engine.monitoring.threshold"="3"
SET "teamz.scm.dataset.prefix"=""
SET "teamz.scm.buildOnlyIfChanges"="true"
SET "teamz.scm.workspaceUUID"="_XQK3cC1pEeC-qqoj49Tkxw"
SET "teamz.scm.acceptBeforeFetch"="true"
SET "teamz.build.publishoutputs"="true"
SET "teamz.scm.fetchDestination"="u/xxxxxxx/workspace"
SET "teamz.scm.deleteDestinationBeforeFetch"="false"
SET "buildDefinitionId"="KenTestAntzBuild"
SET "BF_AGENT_VERSION"="7.1.2.0-0-0003"
SET "BF_AGENT_PLATFORM"="os/390 20.00 03"
EXEC Locale set to '"C"'
WRITE Changed mode on "u/xxxxxxx/workspace/buildableFiles.xml" to 33279
WRITE Wrote 452 bytes to "u/xxxxxxx/workspace/buildableFiles.xml".
RESULT 0
EOR
ACTIVITY:Transferring File Agent operations list
AUTH set user account to "xxxxxxx"
SET "buildLabel"="20110309-162115"
SET "buildResultUUID"="_IPb7oUqTEeCjOfie6TFWRg"
SET "com.ibm.team.build.internal.template.id"="com.ibm.teamz.build.antz"
SET "requestUUID"="_IPb7oEqTEeCjOfie6TFWRg"
SET "repositoryAddress"="https://xxxxx.xxx.xxxx.xx.xx:xxxxx/jazz/"
SET "com.ibm.team.build.internal.engine.monitoring.threshold"="3"
SET "teamz.scm.dataset.prefix"=""
SET "teamz.scm.buildOnlyIfChanges"="true"
SET "teamz.scm.workspaceUUID"="_XQK3cC1pEeC-qqoj49Tkxw"
SET "teamz.scm.acceptBeforeFetch"="true"
SET "teamz.build.publishoutputs"="true"
SET "teamz.scm.fetchDestination"="u/xxxxxxx/workspace"
SET "teamz.scm.deleteDestinationBeforeFetch"="false"
SET "buildDefinitionId"="KenTestAntzBuild"
SET "BF_AGENT_VERSION"="7.1.2.0-0-0003"
SET "BF_AGENT_PLATFORM"="os/390 20.00 03"
EXEC Locale set to '"C"'
WRITE Changed mode on "u/xxxxxxx/workspace/FAOperationList.xml" to 33279
WRITE Wrote 416 bytes to "u/xxxxxxx/workspace/FAOperationList.xml".
RESULT 0
EOR
ACTIVITY:Transferring Antz macro definitions
AUTH set user account to "xxxxxxx"
SET "buildLabel"="20110309-162115"
SET "buildResultUUID"="_IPb7oUqTEeCjOfie6TFWRg"
SET "com.ibm.team.build.internal.template.id"="com.ibm.teamz.build.antz"
SET "requestUUID"="_IPb7oEqTEeCjOfie6TFWRg"
SET "repositoryAddress"="https://xxxxx.xxx.xxxx.xx.xx:xxxxx/jazz/"
SET "com.ibm.team.build.internal.engine.monitoring.threshold"="3"
SET "teamz.scm.dataset.prefix"=""
SET "teamz.scm.buildOnlyIfChanges"="true"
SET "teamz.scm.workspaceUUID"="_XQK3cC1pEeC-qqoj49Tkxw"
SET "teamz.scm.acceptBeforeFetch"="true"
SET "teamz.build.publishoutputs"="true"
SET "teamz.scm.fetchDestination"="u/xxxxxxx/workspace"
SET "teamz.scm.deleteDestinationBeforeFetch"="false"
SET "buildDefinitionId"="KenTestAntzBuild"
SET "BF_AGENT_VERSION"="7.1.2.0-0-0003"
SET "BF_AGENT_PLATFORM"="os/390 20.00 03"
EXEC Locale set to '"C"'
WRITE Changed mode on "u/xxxxxxx/workspace/macrodefs.xml" to 33279
WRITE Wrote 3194 bytes to "u/xxxxxxx/workspace/macrodefs.xml".
RESULT 0
EOR
ACTIVITY:Starting File Agent
AUTH set user account to "xxxxxxx"
SET "buildLabel"="20110309-162115"
SET "buildResultUUID"="_IPb7oUqTEeCjOfie6TFWRg"
SET "com.ibm.team.build.internal.template.id"="com.ibm.teamz.build.antz"
SET "requestUUID"="_IPb7oEqTEeCjOfie6TFWRg"
SET "repositoryAddress"="https://xxxxx.xxx.xxxx.xx.xx:xxxxx/jazz/"
SET "com.ibm.team.build.internal.engine.monitoring.threshold"="3"
SET "teamz.scm.dataset.prefix"=""
SET "teamz.scm.buildOnlyIfChanges"="true"
SET "teamz.scm.workspaceUUID"="_XQK3cC1pEeC-qqoj49Tkxw"
SET "teamz.scm.acceptBeforeFetch"="true"
SET "teamz.build.publishoutputs"="true"
SET "teamz.scm.fetchDestination"="u/xxxxxxx/workspace"
SET "teamz.scm.deleteDestinationBeforeFetch"="false"
SET "buildDefinitionId"="KenTestAntzBuild"
SET "BF_AGENT_VERSION"="7.1.2.0-0-0003"
SET "BF_AGENT_PLATFORM"="os/390 20.00 03"
EXEC Locale set to '"C"'
PTY allocated pseudo-tty *PtyPipe
ENV _=/Service/usr/lpp/jazz/v2.0/bfagent/bfagent
ENV _CLIB_PREFIX=CBC
ENV _CREATE_LAYOUT=Y
ENV _INCDIRS=/usr/include /usr/lpp/ioclib/include
ENV _LIBDIRS=/lib /usr/lib
ENV _PLIB_PREFIX=CEE
ENV _SLIB_PREFIX=SYS1
ENV _WORK_UNIT=SYSDA
ENV buildDefinitionId=KenTestAntzBuild
ENV buildLabel=20110309-162115
ENV buildResultUUID=_IPb7oUqTEeCjOfie6TFWRg
ENV com.ibm.team.build.internal.engine.monitoring.threshold=3
ENV com.ibm.team.build.internal.template.id=com.ibm.teamz.build.antz
ENV repositoryAddress=https://xxxxx.xxx.xxxx.xx.xx:xxxxx/jazz/
ENV requestUUID=_IPb7oEqTEeCjOfie6TFWRg
ENV teamz.build.publishoutputs=true
ENV teamz.scm.acceptBeforeFetch=true
ENV teamz.scm.buildOnlyIfChanges=true
ENV teamz.scm.dataset.prefix=
ENV teamz.scm.deleteDestinationBeforeFetch=false
ENV teamz.scm.fetchDestination=u/xxxxxxx/workspace
ENV teamz.scm.workspaceUUID=_XQK3cC1pEeC-qqoj49Tkxw
ENV

ANT_HOME=/Service/usr/lpp/jazz/v2.0/buildsystem/buildengine/eclipse/plugins/org.apache.ant_1.7.0.v2

00803061910
ENV AOPCONF=/etc/Printsrv/aopd.conf
ENV BF_AGENT_PLATFORM=os/390 20.00 03
ENV BF_AGENT_VERSION=7.1.2.0-0-0003
ENV BFABINPATH=/Service/usr/lpp/jazz/v2.0/bfagent
ENV BFACONFPATH=/Service/usr/lpp/jazz/v2.0/bfagent
ENV BLD_TOOLKIT=/Service/usr/lpp/jazz/v2.0/buildsystem/buildtoolkit
ENV FA_CLASSPATH=.
ENV

FA_JAVA_OPTIONS=-Djava.ext.dirs=/usr/lpp/java/J6.0/lib/ext:/Service/usr/lpp/jazz/v2.0/buildsystem/bui

ldtoolkit
ENV HOME=/
ENV HOSTNAME=TECH1DOV.STATE.DE.US
ENV JAVA_HOME=/usr/lpp/java/J6.0
ENV JAZZ_PASSWORD_FILE=/u/xxxxxxx/passwfile
ENV JAZZ_USER=RTCZAGNT
ENV LANG=C
ENV LIBPATH=/usr/lpp/Printsrv/lib:/lib:/usr/lib:.
ENV LOGNAME=RTCZAGNT
ENV MAIL=/usr/mail/RTCZAGNT
ENV MANPATH=/usr/lpp/Printsrv/man/%L:/opt/tectia/man/%L:/usr/man/%L
ENV NLSPATH=/usr/lpp/Printsrv/%L/%N:/usr/lib/nls/msg/%L/%N:/usr/lib/nls/msg/%L/%N.cat
ENV

PATH=/usr/lpp/Printsrv/bin:/usr/lpp/java/J6.0/bin:/bin:/usr/lpp/java/J6.0/bin:/usr/lpp/Printsrv/bin:/u/ftpuser:/

Service/usr/lpp/jazz/v2.0:.
ENV SHELL=/bin/sh
ENV STEPLIB=SYS1.LINKLIB:CEE.SCEERUN
ENV TZ=EST0EDT0
EXEC ExecPreparse
EXEC spawning shell "/bin/sh"
SCRIPT /usr/lpp/java/J6.0/bin/java -classpath .

-Djava.ext.dirs=/usr/lpp/java/J6.0/lib/ext:/Service/usr/lpp/jazz/v2.0/buildsystem/buildtoolkit

com.ibm.teamz.fileagent.FileAgent loadlist https://xxxxx.xxx.xxxx.xx.xx:xxxxx/jazz/ RTCZAGNT

/u/xxxxxxx/passwfile _XQK3cC1pEeC-qqoj49Tkxw u/xxxxxxx/workspace

u/xxxxxxx/workspace/fetchedFiles.xml u/xxxxxxx/workspace/FAOperationList.xml
EXEC start "/"@"TECH1DOV"
*

/usr/lpp/Printsrv/bin:/usr/lpp/java/J6.0/bin:/bin:/usr/lpp/java/J6.0/bin:/usr/lpp/Printsrv/bin:/u/ftpuser:/Service

/usr/lpp/jazz/v2.0:.
* Exception in thread "main" java.lang.IllegalArgumentException: URI cannot be null
* at javax.xml.parsers.DocumentBuilder.parse(Unknown Source)
* at

com.ibm.teamz.fileagent.internal.xml.OperationListParser.createMacroOperation(OperationListParser.java

:76)
* at

com.ibm.teamz.fileagent.ExecuteXMLFileCapacity.executeXMLFileCapacity(ExecuteXMLFileCapacity.ja

va:53)
* at com.ibm.teamz.fileagent.FileAgent.main(FileAgent.java:171)
EXEC end "/"@"TECH1DOV"
RESULT 1
EOR
Status:ERROR

------------------------------------------------------------------------------
any help would be appricated
thanks
Carmen

2 answers



permanent link
Tami Takamiya (2011110) | answered Mar 11 '11, 1:53 p.m.
JAZZ DEVELOPER
The following line in the log:

SET "teamz.scm.dataset.prefix"=""

shows that you have not specified Data set prefix on the Jazz Source Control - zOS tab of your build definition. Please specify a prefix. When the build code calls File Agent, it passes the prefix as one of command options. If it is not specified, options are not parsed properly.

Tami (Masaaki) Takamiya
Rational Team Concert Enterprise Extension Development

permanent link
Carmen vitullo (511) | answered Mar 14 '11, 10:54 a.m.
The following line in the log:

SET "teamz.scm.dataset.prefix"=""

shows that you have not specified Data set prefix on the Jazz Source Control - zOS tab of your build definition. Please specify a prefix. When the build code calls File Agent, it passes the prefix as one of command options. If it is not specified, options are not parsed properly.

Tami (Masaaki) Takamiya
Rational Team Concert Enterprise Extension Development


I updated this field and I've been working with Bruce on this results from this last build, (from another post) now getting a connection timeout to a machine name and we can't figure out why or where the build is getting the machine name, and not using the url

/usr/lpp/Printsrv/bin:/usr/lpp/java/J6.0/bin:/bin:/usr/lpp/java/J6.0/bin:/usr/lpp/Printsrv/bin:/u/ftpuser:/Service/usr/lpp/jazz/v2.0:.
* Exception in thread "main" com.ibm.teamz.fileagent.FileAgentRepositoryException: CRHTC0201E Unable to log in to the repository "https://tst2artc.dti.state.de.us:9443/jazz/".
* at com.ibm.teamz.fileagent.internal.utility.InternalRepoUtility.login(InternalRepoUtility.java:65)
* at com.ibm.teamz.fileagent.core.RepositoryUtility.login(RepositoryUtility.java:65)
* at com.ibm.teamz.fileagent.internal.Connection.getLoggedTeamrepository(Connection.java:46)
* at com.ibm.teamz.fileagent.internal.operations.LoadWorkspaceOperation.execute(LoadWorkspaceOperation.java:40)
* at com.ibm.teamz.fileagent.internal.macrooperations.Operation.run(Operation.java:37)
* at com.ibm.teamz.fileagent.internal.macrooperations.MacroOperation.execute(MacroOperation.java:150)
* at com.ibm.teamz.fileagent.internal.macrooperations.Operation.run(Operation.java:37)
* at com.ibm.teamz.fileagent.ExecuteXMLFileCapacity.executeXMLFileCapacity(ExecuteXMLFileCapacity.java:57)
* at com.ibm.teamz.fileagent.FileAgent.main(FileAgent.java:171)
* Caused by: com.ibm.team.repository.common.transport.ConnectionException: CRJAZ1371E The URL "https://tst2artc.dti.state.de.us:9443/jazz/service/com.ibm.team.repository.common.internal.IRepositoryRemoteService" cannot be reached. The server cannot be reached. The network could not connect to the server. The error is "EDC8127I Connection timed out.". Contact your system administrator.
* at com.ibm.team.repository.transport.client.ClientHttpUtil.executeHttpMethod(ClientHttpUtil.java:170)
* at com.ibm.team.repository.transport.client.RemoteTeamService.executeCancelableHttpMethod(RemoteTeamService.java:561)
* at com.ibm.team.repository.transport.client.RemoteTeamService.invokePost(RemoteTeamService.java:531)
* at com.ibm.team.repository.transport.client.RemoteTeamService.executeMethod(RemoteTeamService.java:471)
* at com.ibm.team.repository.transport.client.RemoteTeamService.invoke(RemoteTeamService.java:201)
* at com.ibm.team.repository.transport.client.ServiceInvocationHandler.invoke(ServiceInvocationHandler.java:43)
* at $Proxy0.describe(Unknown Source)
* at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
* at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:48)
* at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
* at java.lang.reflect.Method.invoke(Method.java:600)
* at com.ibm.team.repository.client.internal.ServiceInterfaceProxy.invokeServiceCall(ServiceInterfaceProxy.java:149)
* at com.ibm.team.repository.client.internal.ServiceInterfaceProxy.invoke(ServiceInterfaceProxy.java:84)
* at $Proxy0.describe(Unknown Source)
* at com.ibm.team.repository.client.internal.TeamRepository$4.run(TeamRepository.java:1382)
* at com.ibm.team.repository.client.internal.TeamRepository$4.run(TeamRepository.java:1)
* at com.ibm.team.repository.client.internal.TeamRepository$3.run(TeamRepository.java:1169)
* at com.ibm.team.repository.common.transport.CancelableCaller.call(CancelableCaller.java:79)
* at com.ibm.team.repository.client.internal.TeamRepository.callCancelableService(TeamRepository.java:1162)
* at com.ibm.team.repository.client.internal.TeamRepository.internalLogin(TeamRepository.java:1375)
* at com.ibm.team.repository.client.internal.TeamRepository.login(TeamRepository.java:570)
* at com.ibm.teamz.fileagent.internal.utility.InternalRepoUtility.login(InternalRepoUtility.java:63)
* ... 8 more
* Caused by: java.net.ConnectException: EDC8127I Connection timed out.
* at sun.nio.ch.Net.connect(Native Method)
* at sun.nio.ch.SocketChannelImpl.connect(SocketChannelImpl.java:507)
* at com.ibm.team.repository.transport.client.InterruptableSocketFactory.doConnect(InterruptableSocketFactory.java:88)
* at com.ibm.team.repository.transport.client.InterruptableSocketFactory.createSocket(InterruptableSocketFactory.java:67)
* at com.ibm.team.repository.transport.client.SecureInterruptableSocketFactory.createSocket(SecureInterruptableSocketFactory.java:316)
* at org.apache.commons.httpclient.HttpConnection.open(HttpConnection.java:706)
* at org.apache.commons.httpclient.MultiThreadedHttpConnectionManager$HttpConnectionAdapter.open(MultiThreadedHttpConnectionManager.java:1321)
* at org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:386)
* at org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:170)
* at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:396)
* at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:324)
* at com.ibm.team.repository.transport.client.ClientHttpUtil.executeHttpMethod(ClientHttpUtil.java:155)
* ... 29 more

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.