It's all about the answers!

Ask a question

FATAL: RTC : checkout failure: com.ibm.team.repository.common.internal.marshal.MarshallingException: Premature end of chunk coded message body: closing chunk expected


vinay kumar bondugula (7332972) | asked Jun 02 '21, 3:16 a.m.

 Hi,


One of the RTC-Jenkins build job is failing with below error intermittently and at the same time the other build jobs are working fine. We would like to know what causes this issue and how to fix this issue. RTC version is 6.0.6.1 iFix 14. We use a squid caching server to reduce the workspace load duration.

RTC Checkout : Fetching files to fetch destination "E:\Sbox\TEST_RTC" ...<o:p></o:p>
    
FATAL: RTC : checkout failure: com.ibm.team.repository.common.internal.marshal.MarshallingException: Premature end of chunk coded message body: closing chunk expected<o:p></o:p>
    
com.ibm.team.repository.common.TeamRepositoryException: com.ibm.team.repository.common.internal.marshal.MarshallingException: Premature end of chunk coded message body: closing chunk expected<o:p></o:p>
    
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)<o:p></o:p>
    
        at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)<o:p></o:p>
    
        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)<o:p></o:p>
    
        at java.lang.reflect.Constructor.newInstance(Unknown Source)<o:p></o:p>
    
        at com.ibm.team.repository.transport.client.RemoteTeamService.getAppropriateException(RemoteTeamService.java:812)<o:p></o:p>
    
        at com.ibm.team.repository.transport.client.RemoteTeamService.executeMethod(RemoteTeamService.java:573)<o:p></o:p>
    
        at com.ibm.team.repository.transport.client.RemoteTeamService.invoke(RemoteTeamService.java:202)<o:p></o:p>
    
        at com.ibm.team.repository.transport.client.ServiceInvocationHandler.invoke(ServiceInvocationHandler.java:43)<o:p></o:p>
    
        at com.sun.proxy.$Proxy40.getFileTreeByVersionable4(Unknown Source)<o:p></o:p>
    
        at sun.reflect.GeneratedMethodAccessor39.invoke(Unknown Source)<o:p></o:p>
    
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)<o:p></o:p>
    
        at java.lang.reflect.Method.invoke(Unknown Source)<o:p></o:p>
    
        at com.ibm.team.repository.client.internal.ServiceInterfaceProxy.invokeServiceCall(ServiceInterfaceProxy.java:254)<o:p></o:p>
    
        at com.ibm.team.repository.client.internal.ServiceInterfaceProxy.invoke(ServiceInterfaceProxy.java:110)<o:p></o:p>
    
        at com.sun.proxy.$Proxy40.getFileTreeByVersionable4(Unknown Source)<o:p></o:p>
    
        at sun.reflect.GeneratedMethodAccessor39.invoke(Unknown Source)<o:p></o:p>
    
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)<o:p></o:p>
    
        at java.lang.reflect.Method.invoke(Unknown Source)<o:p></o:p>
    
        at com.ibm.team.scm.client.internal.ScmServiceInterfaceProxy$2.run(ScmServiceInterfaceProxy.java:168)<o:p></o:p>
    
        at com.ibm.team.repository.client.internal.TeamRepository$3.run(TeamRepository.java:1328)<o:p></o:p>
    
        at com.ibm.team.repository.common.transport.CancelableCaller.call(CancelableCaller.java:79)<o:p></o:p>
    
        at com.ibm.team.repository.client.internal.TeamRepository.callCancelableService(TeamRepository.java:1323)<o:p></o:p>
    
        at com.ibm.team.scm.client.internal.ScmClientLibraryContext.callCancelableService(ScmClientLibraryContext.java:71)<o:p></o:p>
    
        at com.ibm.team.scm.client.internal.ScmServiceInterfaceProxy.invokeCancelableService(ScmServiceInterfaceProxy.java:164)<o:p></o:p>
    
        at com.ibm.team.scm.client.internal.ScmServiceInterfaceProxy.invoke(ScmServiceInterfaceProxy.java:92)<o:p></o:p>
    
        at com.sun.proxy.$Proxy40.getFileTreeByVersionable4(Unknown Source)<o:p></o:p>
    
        at com.ibm.team.filesystem.client.internal.FileSystemServiceProxy.getFileTreeByVersionable(FileSystemServiceProxy.java:283)<o:p></o:p>
    
        at com.ibm.team.filesystem.client.internal.operations.LoadOperation.load(LoadOperation.java:1219)<o:p></o:p>
    
        at com.ibm.team.filesystem.client.internal.operations.LoadOperation$1.run(LoadOperation.java:715)<o:p></o:p>
    
        at com.ibm.team.filesystem.client.internal.SharingManager.runWithinFileSystemLock(SharingManager.java:959)<o:p></o:p>
    
        at com.ibm.team.filesystem.client.internal.operations.FileSystemOperation.runWithinFileSystemLock(FileSystemOperation.java:174)<o:p></o:p>
    
        at com.ibm.team.filesystem.client.internal.operations.FileSystemOperation.runWithinFileSystemLock(FileSystemOperation.java:154)<o:p></o:p>
    
        at com.ibm.team.filesystem.client.internal.operations.LoadOperation.execute(LoadOperation.java:753)<o:p></o:p>
    
        at com.ibm.team.filesystem.client.internal.operations.FileSystemOperation.run(FileSystemOperation.java:99)<o:p></o:p>
    
        at com.ibm.team.build.internal.scm.SourceControlUtility.updateFileCopyArea(SourceControlUtility.java:776)<o:p></o:p>
    
        at com.ibm.team.build.internal.scm.SourceControlUtility.updateFileCopyArea(SourceControlUtility.java:499)<o:p></o:p>
    
        at com.ibm.team.build.internal.hjplugin.rtc.BackwardCompatibilityUtilFor701.invokeUpdateCopyFileArea(BackwardCompatibilityUtilFor701.java:117)<o:p></o:p>
    
        at com.ibm.team.build.internal.hjplugin.rtc.RepositoryConnection.load(RepositoryConnection.java:999)<o:p></o:p>
    
        at com.ibm.team.build.internal.hjplugin.rtc.RTCFacade.load(RTCFacade.java:565)<o:p></o:p>
    
        at sun.reflect.GeneratedMethodAccessor65.invoke(Unknown Source)<o:p></o:p>
    
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)<o:p></o:p>
    
        at java.lang.reflect.Method.invoke(Unknown Source)<o:p></o:p>
    
        at com.ibm.team.build.internal.hjplugin.RTCFacadeFactory$RTCFacadeWrapper.invoke(RTCFacadeFactory.java:128)<o:p></o:p>
    
        at com.ibm.team.build.internal.hjplugin.RTCLoadTask.invoke(RTCLoadTask.java:209)<o:p></o:p>
    
        at com.ibm.team.build.internal.hjplugin.RTCLoadTask.invoke(RTCLoadTask.java:37)<o:p></o:p>
    
        at hudson.FilePath$FileCallableWrapper.call(FilePath.java:3313)<o:p></o:p>
    
        at hudson.remoting.UserRequest.perform(UserRequest.java:211)<o:p></o:p>
    
        at hudson.remoting.UserRequest.perform(UserRequest.java:54)<o:p></o:p>
    
        at hudson.remoting.Request$2.run(Request.java:369)<o:p></o:p>
    
        at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72)<o:p></o:p>
    
        at java.util.concurrent.FutureTask.run(Unknown Source)<o:p></o:p>
    
        at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)<o:p></o:p>
    
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)<o:p></o:p>
    
        at hudson.remoting.Engine$1.lambda$newThread$0(Engine.java:117)<o:p></o:p>
    
        at java.lang.Thread.run(Unknown Source)<o:p></o:p>
    
Caused by: com.ibm.team.repository.common.internal.marshal.MarshallingException: com.ibm.team.repository.common.internal.marshal.MarshallingException: Premature end of chunk coded message body: closing chunk expected<o:p></o:p>
    
        at com.ibm.team.repository.transport.client.RemoteTeamService.invokePost(RemoteTeamService.java:633)<o:p></o:p>
    
        at com.ibm.team.repository.transport.client.RemoteTeamService.executeMethod(RemoteTeamService.java:548)<o:p></o:p>
    
        ... 49 more<o:p></o:p>
    
Caused by: com.ibm.team.repository.common.internal.marshal.MarshallingException: Premature end of chunk coded message body: closing chunk expected<o:p></o:p>
    
        at com.ibm.team.repository.common.internal.marshal.impl.EObjectMarshaller.demarshalInputStreamToObject(EObjectMarshaller.java:568)<o:p></o:p>
    
        at com.ibm.team.repository.transport.client.RemoteTeamService.demarshallEnvelope(RemoteTeamService.java:710)<o:p></o:p>
    
        at com.ibm.team.repository.transport.client.RemoteTeamService.invokePost(RemoteTeamService.java:608)<o:p></o:p>
    
        ... 50 more<o:p></o:p>
    
Caused by: org.apache.http.ConnectionClosedException: Premature end of chunk coded message body: closing chunk expected<o:p></o:p>
    
        at org.apache.http.impl.io.ChunkedInputStream.getChunkSize(ChunkedInputStream.java:268)<o:p></o:p>
    
        at org.apache.http.impl.io.ChunkedInputStream.nextChunk(ChunkedInputStream.java:227)<o:p></o:p>
    
        at org.apache.http.impl.io.ChunkedInputStream.read(ChunkedInputStream.java:186)<o:p></o:p>
    
        at org.apache.http.conn.EofSensorInputStream.read(EofSensorInputStream.java:137)<o:p></o:p>
    
        at com.ibm.team.repository.common.internal.marshal.impl.EObjectMarshaller.demarshalInputStreamToObject(EObjectMarshaller.java:556)<o:p></o:p>
    
        ... 52 more<o:p></o:p>
    
FATAL: RTC : checkout failure: RTC : checkout failure: com.ibm.team.repository.common.internal.marshal.MarshallingException: Premature end of chunk coded message body: closing chunk expected<o:p></o:p>
    
hudson.AbortException: RTC : checkout failure: com.ibm.team.repository.common.internal.marshal.MarshallingException: Premature end of chunk coded message body: closing chunk expected<o:p></o:p>
    
        at com.ibm.team.build.internal.hjplugin.RTCLoadTask.invoke(RTCLoadTask.java:266)<o:p></o:p>
    
        at com.ibm.team.build.internal.hjplugin.RTCLoadTask.invoke(RTCLoadTask.java:37)<o:p></o:p>
    
        at hudson.FilePath$FileCallableWrapper.call(FilePath.java:3313)<o:p></o:p>
    
        at hudson.remoting.UserRequest.perform(UserRequest.java:211)<o:p></o:p>
    
        at hudson.remoting.UserRequest.perform(UserRequest.java:54)<o:p></o:p>
    
        at hudson.remoting.Request$2.run(Request.java:369)<o:p></o:p>
    
        at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72)<o:p></o:p>
    
        at java.util.concurrent.FutureTask.run(Unknown Source)<o:p></o:p>
    
        at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)<o:p></o:p>
    
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)<o:p></o:p>
    
        at hudson.remoting.Engine$1.lambda$newThread$0(Engine.java:117)<o:p></o:p>
    
        at java.lang.Thread.run(Unknown Source)<o:p></o:p>
    
        Suppressed: hudson.remoting.Channel$CallSiteStackTrace: Remote call to JNLP4-connect connection from in-scmbuild4.adcorp.kla-tencor.com/10.9.24.10:1722<o:p></o:p>
    
               at hudson.remoting.Channel.attachCallSiteStackTrace(Channel.java:1800)<o:p></o:p>
    
               at hudson.remoting.UserRequest$ExceptionResponse.retrieve(UserRequest.java:357)<o:p></o:p>
    
               at hudson.remoting.Channel.call(Channel.java:1001)<o:p></o:p>
    
               at hudson.FilePath.act(FilePath.java:1157)<o:p></o:p>
    
               at hudson.FilePath.act(FilePath.java:1146)<o:p></o:p>
    
               at com.ibm.team.build.internal.hjplugin.RTCScm.checkout(RTCScm.java:2291)<o:p></o:p>
    
               at hudson.scm.SCM.checkout(SCM.java:505)<o:p></o:p>
    
               at hudson.model.AbstractProject.checkout(AbstractProject.java:1206)<o:p></o:p>
    
               at hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:637)<o:p></o:p>
    
               at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:86)<o:p></o:p>
    
               at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:509)<o:p></o:p>
    
               at hudson.model.Run.execute(Run.java:1907)<o:p></o:p>
    
               at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)<o:p></o:p>
    
               at hudson.model.ResourceController.execute(ResourceController.java:97)<o:p></o:p>
    
               at hudson.model.Executor.run(Executor.java:429)<o:p></o:p>
    
ERROR: RTC : checkout failure: RTC : checkout failure: com.ibm.team.repository.common.internal.marshal.MarshallingException: Premature end of chunk coded message body: closing chunk expected<o:p></o:p>
    
Thanks,
    
Vinay
    

Be the first one to answer this question!


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.