The TFS plugin v5.157.1 fails with `TF400898: An Internal Error Occurred`
Steps to reproduce:
Using version 5.157.1 of the tfs-plugin make a job to get the latest version of a tfs repo.
Circumstances:
pipeline job, automatic credentials
Interaction with other systems:
Team Foundation Server 2015 running on Windows 2012R2
Actual:
`TF400898: An Internal Error Occurred`
Expected:
Successful project clone
Addendum – The 'compleat' error log: 12:31:37 FATAL: hudson.remoting.ProxyException: java.lang.RuntimeException: com.microsoft.tfs.core.clients.versioncontrol.exceptions.VersionControlException: com.microsoft.tfs.core.exceptions.TECoreException: TF400898: An Internal Error Occurred. Activity Id: 53f2eb9e-b57d-4d78-afca-0f76a2170c00.12:31:37 hudson.remoting.ProxyException: com.microsoft.tfs.core.ws.runtime.exceptions.SOAPFault: TF400898: An Internal Error Occurred. Activity Id: 53f2eb9e-b57d-4d78-afca-0f76a2170c00.12:31:37 at com.microsoft.tfs.core.ws.runtime.client.SOAP12Service.examineResponseDOMForFault(SOAP12Service.java:117)12:31:37 at com.microsoft.tfs.core.ws.runtime.client.SOAPService.examineBodyForFault(SOAPService.java:987)12:31:37 at com.microsoft.tfs.core.ws.runtime.client.SOAPService.executeSOAPRequestInternal(SOAPService.java:665)12:31:37 at com.microsoft.tfs.core.ws.runtime.client.SOAPService.executeSOAPRequest(SOAPService.java:444)12:31:37 at ms.tfs.versioncontrol.clientservices._03._Repository5Soap12Service.updateLocalVersion(_Repository5Soap12Service.java:1170)12:31:37 at com.microsoft.tfs.core.clients.versioncontrol.internal.WebServiceLayer.updateLocalVersion(WebServiceLayer.java:3067)12:31:37 Caused: hudson.remoting.ProxyException: com.microsoft.tfs.core.exceptions.TECoreException: TF400898: An Internal Error Occurred. Activity Id: 53f2eb9e-b57d-4d78-afca-0f76a2170c00.12:31:37 at com.microsoft.tfs.core.exceptions.mappers.TECoreExceptionMapper.map(TECoreExceptionMapper.java:92)12:31:37 at com.microsoft.tfs.core.exceptions.mappers.VersionControlExceptionMapper.map(VersionControlExceptionMapper.java:43)12:31:37 at com.microsoft.tfs.core.clients.versioncontrol.internal.WebServiceLayer.updateLocalVersion(WebServiceLayer.java:3081)12:31:37 at com.microsoft.tfs.core.clients.versioncontrol.internal.WebServiceLayer.updateLocalVersion(WebServiceLayer.java:3114)12:31:37 at com.microsoft.tfs.core.clients.versioncontrol.UpdateLocalVersionQueue.sendToServer(UpdateLocalVersionQueue.java:769)12:31:37 at com.microsoft.tfs.core.clients.versioncontrol.UpdateLocalVersionQueue.flush(UpdateLocalVersionQueue.java:461)12:31:37 at com.microsoft.tfs.core.clients.versioncontrol.UpdateLocalVersionQueue.queueUpdate(UpdateLocalVersionQueue.java:392)12:31:37 at com.microsoft.tfs.core.clients.versioncontrol.engines.internal.AsyncGetOperation.queueLocalVersionUpdate(AsyncGetOperation.java:294)12:31:37 at com.microsoft.tfs.core.clients.versioncontrol.engines.internal.workers.GetDownloadWorker.completeGetOperation(GetDownloadWorker.java:629)12:31:37 at com.microsoft.tfs.core.clients.versioncontrol.engines.internal.workers.GetDownloadWorker.call(GetDownloadWorker.java:160)12:31:37 at com.microsoft.tfs.core.clients.versioncontrol.engines.internal.workers.GetDownloadWorker.call(GetDownloadWorker.java:72)12:31:37 at java.util.concurrent.FutureTask.run(FutureTask.java:266)12:31:37 at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)12:31:37 at java.util.concurrent.FutureTask.run(FutureTask.java:266)12:31:37 at com.microsoft.tfs.core.clients.versioncontrol.internal.concurrent.BoundedExecutor$1.run(BoundedExecutor.java:85)12:31:37 Caused: hudson.remoting.ProxyException: com.microsoft.tfs.core.clients.versioncontrol.exceptions.VersionControlException: com.microsoft.tfs.core.exceptions.TECoreException: TF400898: An Internal Error Occurred. Activity Id: 53f2eb9e-b57d-4d78-afca-0f76a2170c00.12:31:37 at com.microsoft.tfs.core.clients.versioncontrol.engines.internal.GetEngine.throwIfFatalError(GetEngine.java:2958)12:31:37 at com.microsoft.tfs.core.clients.versioncontrol.engines.internal.GetEngine.processOperationsInternal(GetEngine.java:1142)12:31:37 at com.microsoft.tfs.core.clients.versioncontrol.engines.internal.GetEngine.processOperations(GetEngine.java:957)12:31:37 at com.microsoft.tfs.core.clients.versioncontrol.engines.internal.GetEngine.processGetOperations(GetEngine.java:808)12:31:37 at com.microsoft.tfs.core.clients.versioncontrol.soapextensions.Workspace.get(Workspace.java:2459)12:31:37 Also: hudson.remoting.Channel$CallSiteStackTrace: Remote call to jenkinsdockerslave-n2.grangeinsurance.com*12:31:37* at hudson.remoting.Channel.attachCallSiteStackTrace(Channel.java:1741)12:31:37 at hudson.remoting.UserRequest$ExceptionResponse.retrieve(UserRequest.java:356)12:31:37 at hudson.remoting.Channel.call(Channel.java:955)12:31:37 at hudson.plugins.tfs.model.Server.execute(Server.java:233)12:31:37 at hudson.plugins.tfs.model.Project.getFiles(Project.java:264)12:31:37 at hudson.plugins.tfs.actions.CheckoutAction.checkout(CheckoutAction.java:63)12:31:37 at hudson.plugins.tfs.TeamFoundationServerScm.checkout(TeamFoundationServerScm.java:352)12:31:37 at hudson.scm.SCM.checkout(SCM.java:505)12:31:37 at hudson.model.AbstractProject.checkout(AbstractProject.java:1205)12:31:37 at hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:574)12:31:37 at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:86)12:31:37 at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:499)12:31:37 at hudson.model.Run.execute(Run.java:1853)12:31:37 at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)12:31:37 at hudson.model.ResourceController.execute(ResourceController.java:97)12:31:37 at hudson.model.Executor.run(Executor.java:427)12:31:37 Caused: hudson.remoting.ProxyException: java.lang.RuntimeException: com.microsoft.tfs.core.clients.versioncontrol.exceptions.VersionControlException: com.microsoft.tfs.core.exceptions.TECoreException: TF400898: An Internal Error Occurred. Activity Id: 53f2eb9e-b57d-4d78-afca-0f76a2170c00.12:31:37 at com.microsoft.tfs.core.clients.versioncontrol.soapextensions.Workspace.get(Workspace.java:2470)12:31:37 at com.microsoft.tfs.core.clients.versioncontrol.soapextensions.Workspace.get(Workspace.java:2341)12:31:37 at com.microsoft.tfs.core.clients.versioncontrol.soapextensions.Workspace.get(Workspace.java:2331)12:31:37 at com.microsoft.tfs.core.clients.versioncontrol.soapextensions.Workspace.get(Workspace.java:2308)12:31:37 at hudson.plugins.tfs.commands.GetFilesToWorkFolderCommand.call(GetFilesToWorkFolderCommand.java:72)12:31:37 at hudson.plugins.tfs.commands.GetFilesToWorkFolderCommand.call(GetFilesToWorkFolderCommand.java:18)12:31:37 at hudson.remoting.UserRequest.perform(UserRequest.java:211)12:31:37 at hudson.remoting.UserRequest.perform(UserRequest.java:54)12:31:37 at hudson.remoting.Request$2.run(Request.java:369)12:31:37 at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72)12:31:37 at java.util.concurrent.FutureTask.run(FutureTask.java:266)12:31:37 at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)12:31:37 at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)12:31:37 at java.lang.Thread.run(Thread.java:748)12:31:37 Caused: java.lang.RuntimeException*12:31:37* at hudson.plugins.tfs.model.Server.execute(Server.java:237)12:31:37 at hudson.plugins.tfs.model.Project.getFiles(Project.java:264)12:31:37 at hudson.plugins.tfs.actions.CheckoutAction.checkout(CheckoutAction.java:63)12:31:37 at hudson.plugins.tfs.TeamFoundationServerScm.checkout(TeamFoundationServerScm.java:352)12:31:37 at hudson.scm.SCM.checkout(SCM.java:505)12:31:37 at hudson.model.AbstractProject.checkout(AbstractProject.java:1205)12:31:37 at hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:574)12:31:37 at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:86)12:31:37 at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:499)12:31:37 at hudson.model.Run.execute(Run.java:1853)12:31:37 at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)12:31:37 at hudson.model.ResourceController.execute(ResourceController.java:97)12:31:37 at hudson.model.Executor.run(Executor.java:427)
The TFS plugin v5.157.1 fails with `TF400898: An Internal Error Occurred`
Steps to reproduce:
* Using version 5.157.1 of the tfs-plugin make a job to get the latest version of a tfs repo. * Circumstances: ** pipeline job, automatic credentials * Interaction with other systems: ** Team Foundation Server 2015 running on Windows 2012R2
Actual: * `TF400898: An Internal Error Occurred`
Expected: * Successful project clone
Addendum – The 'compleat' error log:
*{code:java} 12:31:37* FATAL: hudson.remoting.ProxyException: java.lang.RuntimeException: com.microsoft.tfs.core.clients.versioncontrol.exceptions.VersionControlException: com.microsoft.tfs.core.exceptions.TECoreException: TF400898: An Internal Error Occurred. Activity Id: 53f2eb9e-b57d-4d78-afca-0f76a2170c00.*12:31:37* hudson.remoting.ProxyException: com.microsoft.tfs.core.ws.runtime.exceptions.SOAPFault: TF400898: An Internal Error Occurred. Activity Id: 53f2eb9e-b57d-4d78-afca-0f76a2170c00.*12:31:37* at com.microsoft.tfs.core.ws.runtime.client.SOAP12Service.examineResponseDOMForFault(SOAP12Service.java:117)*12:31:37* at com.microsoft.tfs.core.ws.runtime.client.SOAPService.examineBodyForFault(SOAPService.java:987)*12:31:37* at com.microsoft.tfs.core.ws.runtime.client.SOAPService.executeSOAPRequestInternal(SOAPService.java:665)*12:31:37* at com.microsoft.tfs.core.ws.runtime.client.SOAPService.executeSOAPRequest(SOAPService.java:444)*12:31:37* at ms.tfs.versioncontrol.clientservices._03._Repository5Soap12Service.updateLocalVersion(_Repository5Soap12Service.java:1170)*12:31:37* at com.microsoft.tfs.core.clients.versioncontrol.internal.WebServiceLayer.updateLocalVersion(WebServiceLayer.java:3067)*12:31:37* Caused: hudson.remoting.ProxyException: com.microsoft.tfs.core.exceptions.TECoreException: TF400898: An Internal Error Occurred. Activity Id: 53f2eb9e-b57d-4d78-afca-0f76a2170c00.*12:31:37* at com.microsoft.tfs.core.exceptions.mappers.TECoreExceptionMapper.map(TECoreExceptionMapper.java:92)*12:31:37* at com.microsoft.tfs.core.exceptions.mappers.VersionControlExceptionMapper.map(VersionControlExceptionMapper.java:43)*12:31:37* at com.microsoft.tfs.core.clients.versioncontrol.internal.WebServiceLayer.updateLocalVersion(WebServiceLayer.java:3081)*12:31:37* at com.microsoft.tfs.core.clients.versioncontrol.internal.WebServiceLayer.updateLocalVersion(WebServiceLayer.java:3114)*12:31:37* at com.microsoft.tfs.core.clients.versioncontrol.UpdateLocalVersionQueue.sendToServer(UpdateLocalVersionQueue.java:769)*12:31:37* at com.microsoft.tfs.core.clients.versioncontrol.UpdateLocalVersionQueue.flush(UpdateLocalVersionQueue.java:461)*12:31:37* at com.microsoft.tfs.core.clients.versioncontrol.UpdateLocalVersionQueue.queueUpdate(UpdateLocalVersionQueue.java:392)*12:31:37* at com.microsoft.tfs.core.clients.versioncontrol.engines.internal.AsyncGetOperation.queueLocalVersionUpdate(AsyncGetOperation.java:294)*12:31:37* at com.microsoft.tfs.core.clients.versioncontrol.engines.internal.workers.GetDownloadWorker.completeGetOperation(GetDownloadWorker.java:629)*12:31:37* at com.microsoft.tfs.core.clients.versioncontrol.engines.internal.workers.GetDownloadWorker.call(GetDownloadWorker.java:160)*12:31:37* at com.microsoft.tfs.core.clients.versioncontrol.engines.internal.workers.GetDownloadWorker.call(GetDownloadWorker.java:72)*12:31:37* at java.util.concurrent.FutureTask.run(FutureTask.java:266)*12:31:37* at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)*12:31:37* at java.util.concurrent.FutureTask.run(FutureTask.java:266)*12:31:37* at com.microsoft.tfs.core.clients.versioncontrol.internal.concurrent.BoundedExecutor$1.run(BoundedExecutor.java:85)*12:31:37* Caused: hudson.remoting.ProxyException: com.microsoft.tfs.core.clients.versioncontrol.exceptions.VersionControlException: com.microsoft.tfs.core.exceptions.TECoreException: TF400898: An Internal Error Occurred. Activity Id: 53f2eb9e-b57d-4d78-afca-0f76a2170c00.*12:31:37* at com.microsoft.tfs.core.clients.versioncontrol.engines.internal.GetEngine.throwIfFatalError(GetEngine.java:2958)*12:31:37* at com.microsoft.tfs.core.clients.versioncontrol.engines.internal.GetEngine.processOperationsInternal(GetEngine.java:1142)*12:31:37* at com.microsoft.tfs.core.clients.versioncontrol.engines.internal.GetEngine.processOperations(GetEngine.java:957)*12:31:37* at com.microsoft.tfs.core.clients.versioncontrol.engines.internal.GetEngine.processGetOperations(GetEngine.java:808)*12:31:37* at com.microsoft.tfs.core.clients.versioncontrol.soapextensions.Workspace.get(Workspace.java:2459)*12:31:37* Also: hudson.remoting.Channel$CallSiteStackTrace: Remote call to jenkinsdockerslave-n2.grangeinsurance.com*12:31:37* at hudson.remoting.Channel.attachCallSiteStackTrace(Channel.java:1741)*12:31:37* at hudson.remoting.UserRequest$ExceptionResponse.retrieve(UserRequest.java:356)*12:31:37* at hudson.remoting.Channel.call(Channel.java:955)*12:31:37* at hudson.plugins.tfs.model.Server.execute(Server.java:233)*12:31:37* at hudson.plugins.tfs.model.Project.getFiles(Project.java:264)*12:31:37* at hudson.plugins.tfs.actions.CheckoutAction.checkout(CheckoutAction.java:63)*12:31:37* at hudson.plugins.tfs.TeamFoundationServerScm.checkout(TeamFoundationServerScm.java:352)*12:31:37* at hudson.scm.SCM.checkout(SCM.java:505)*12:31:37* at hudson.model.AbstractProject.checkout(AbstractProject.java:1205)*12:31:37* at hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:574)*12:31:37* at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:86)*12:31:37* at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:499)*12:31:37* at hudson.model.Run.execute(Run.java:1853)*12:31:37* at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)*12:31:37* at hudson.model.ResourceController.execute(ResourceController.java:97)*12:31:37* at hudson.model.Executor.run(Executor.java:427)*12:31:37* Caused: hudson.remoting.ProxyException: java.lang.RuntimeException: com.microsoft.tfs.core.clients.versioncontrol.exceptions.VersionControlException: com.microsoft.tfs.core.exceptions.TECoreException: TF400898: An Internal Error Occurred. Activity Id: 53f2eb9e-b57d-4d78-afca-0f76a2170c00.*12:31:37* at com.microsoft.tfs.core.clients.versioncontrol.soapextensions.Workspace.get(Workspace.java:2470)*12:31:37* at com.microsoft.tfs.core.clients.versioncontrol.soapextensions.Workspace.get(Workspace.java:2341)*12:31:37* at com.microsoft.tfs.core.clients.versioncontrol.soapextensions.Workspace.get(Workspace.java:2331)*12:31:37* at com.microsoft.tfs.core.clients.versioncontrol.soapextensions.Workspace.get(Workspace.java:2308)*12:31:37* at hudson.plugins.tfs.commands.GetFilesToWorkFolderCommand.call(GetFilesToWorkFolderCommand.java:72)*12:31:37* at hudson.plugins.tfs.commands.GetFilesToWorkFolderCommand.call(GetFilesToWorkFolderCommand.java:18)*12:31:37* at hudson.remoting.UserRequest.perform(UserRequest.java:211)*12:31:37* at hudson.remoting.UserRequest.perform(UserRequest.java:54)*12:31:37* at hudson.remoting.Request$2.run(Request.java:369)*12:31:37* at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72)*12:31:37* at java.util.concurrent.FutureTask.run(FutureTask.java:266)*12:31:37* at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)*12:31:37* at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)*12:31:37* at java.lang.Thread.run(Thread.java:748)*12:31:37* Caused: java.lang.RuntimeException*12:31:37* at hudson.plugins.tfs.model.Server.execute(Server.java:237)*12:31:37* at hudson.plugins.tfs.model.Project.getFiles(Project.java:264)*12:31:37* at hudson.plugins.tfs.actions.CheckoutAction.checkout(CheckoutAction.java:63)*12:31:37* at hudson.plugins.tfs.TeamFoundationServerScm.checkout(TeamFoundationServerScm.java:352)*12:31:37* at hudson.scm.SCM.checkout(SCM.java:505)*12:31:37* at hudson.model.AbstractProject.checkout(AbstractProject.java:1205)*12:31:37* at hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:574)*12:31:37* at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:86)*12:31:37* at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:499)*12:31:37* at hudson.model.Run.execute(Run.java:1853)*12:31:37* at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)*12:31:37* at hudson.model.ResourceController.execute(ResourceController.java:97)*12:31:37* at hudson.model.Executor.run(Executor.java:427) {code}
The TFS plugin v5.157.1 fails with `TF400898: An Internal Error Occurred`
Steps to reproduce: * Using version 5.157.1 of the tfs-plugin make a job to get the latest version of a tfs repo. * Circumstances: ** pipeline job, automatic credentials * Interaction with other systems: ** Team Foundation Server 2015 running on Windows 2012R2
Actual: * `TF400898: An Internal Error Occurred`
Expected: * Successful project clone
Addendum –Addenda * Additional potential confounding concern: ** *12:29:20* Created workspace 'Jenkins_build_${COMPUTERNAME}'. ** Notes: *** 1pm on 2/27 - intend to fix this confounding concern and see if the issue persists. ETA for fix 3pm. * The 'compleat' error log: {code:java} 12:31:37 FATAL: hudson.remoting.ProxyException: java.lang.RuntimeException: com.microsoft.tfs.core.clients.versioncontrol.exceptions.VersionControlException: com.microsoft.tfs.core.exceptions.TECoreException: TF400898: An Internal Error Occurred. Activity Id: 53f2eb9e-b57d-4d78-afca-0f76a2170c00.12:31:37 hudson.remoting.ProxyException: com.microsoft.tfs.core.ws.runtime.exceptions.SOAPFault: TF400898: An Internal Error Occurred. Activity Id: 53f2eb9e-b57d-4d78-afca-0f76a2170c00.12:31:37 at com.microsoft.tfs.core.ws.runtime.client.SOAP12Service.examineResponseDOMForFault(SOAP12Service.java:117)12:31:37 at com.microsoft.tfs.core.ws.runtime.client.SOAPService.examineBodyForFault(SOAPService.java:987)12:31:37 at com.microsoft.tfs.core.ws.runtime.client.SOAPService.executeSOAPRequestInternal(SOAPService.java:665)12:31:37 at com.microsoft.tfs.core.ws.runtime.client.SOAPService.executeSOAPRequest(SOAPService.java:444)12:31:37 at ms.tfs.versioncontrol.clientservices._03._Repository5Soap12Service.updateLocalVersion(_Repository5Soap12Service.java:1170)12:31:37 at com.microsoft.tfs.core.clients.versioncontrol.internal.WebServiceLayer.updateLocalVersion(WebServiceLayer.java:3067)12:31:37 Caused: hudson.remoting.ProxyException: com.microsoft.tfs.core.exceptions.TECoreException: TF400898: An Internal Error Occurred. Activity Id: 53f2eb9e-b57d-4d78-afca-0f76a2170c00.12:31:37 at com.microsoft.tfs.core.exceptions.mappers.TECoreExceptionMapper.map(TECoreExceptionMapper.java:92)12:31:37 at com.microsoft.tfs.core.exceptions.mappers.VersionControlExceptionMapper.map(VersionControlExceptionMapper.java:43)12:31:37 at com.microsoft.tfs.core.clients.versioncontrol.internal.WebServiceLayer.updateLocalVersion(WebServiceLayer.java:3081)12:31:37 at com.microsoft.tfs.core.clients.versioncontrol.internal.WebServiceLayer.updateLocalVersion(WebServiceLayer.java:3114)12:31:37 at com.microsoft.tfs.core.clients.versioncontrol.UpdateLocalVersionQueue.sendToServer(UpdateLocalVersionQueue.java:769)12:31:37 at com.microsoft.tfs.core.clients.versioncontrol.UpdateLocalVersionQueue.flush(UpdateLocalVersionQueue.java:461)12:31:37 at com.microsoft.tfs.core.clients.versioncontrol.UpdateLocalVersionQueue.queueUpdate(UpdateLocalVersionQueue.java:392)12:31:37 at com.microsoft.tfs.core.clients.versioncontrol.engines.internal.AsyncGetOperation.queueLocalVersionUpdate(AsyncGetOperation.java:294)12:31:37 at com.microsoft.tfs.core.clients.versioncontrol.engines.internal.workers.GetDownloadWorker.completeGetOperation(GetDownloadWorker.java:629)12:31:37 at com.microsoft.tfs.core.clients.versioncontrol.engines.internal.workers.GetDownloadWorker.call(GetDownloadWorker.java:160)12:31:37 at com.microsoft.tfs.core.clients.versioncontrol.engines.internal.workers.GetDownloadWorker.call(GetDownloadWorker.java:72)12:31:37 at java.util.concurrent.FutureTask.run(FutureTask.java:266)12:31:37 at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)12:31:37 at java.util.concurrent.FutureTask.run(FutureTask.java:266)12:31:37 at com.microsoft.tfs.core.clients.versioncontrol.internal.concurrent.BoundedExecutor$1.run(BoundedExecutor.java:85)12:31:37 Caused: hudson.remoting.ProxyException: com.microsoft.tfs.core.clients.versioncontrol.exceptions.VersionControlException: com.microsoft.tfs.core.exceptions.TECoreException: TF400898: An Internal Error Occurred. Activity Id: 53f2eb9e-b57d-4d78-afca-0f76a2170c00.12:31:37 at com.microsoft.tfs.core.clients.versioncontrol.engines.internal.GetEngine.throwIfFatalError(GetEngine.java:2958)12:31:37 at com.microsoft.tfs.core.clients.versioncontrol.engines.internal.GetEngine.processOperationsInternal(GetEngine.java:1142)12:31:37 at com.microsoft.tfs.core.clients.versioncontrol.engines.internal.GetEngine.processOperations(GetEngine.java:957)12:31:37 at com.microsoft.tfs.core.clients.versioncontrol.engines.internal.GetEngine.processGetOperations(GetEngine.java:808)12:31:37 at com.microsoft.tfs.core.clients.versioncontrol.soapextensions.Workspace.get(Workspace.java:2459)12:31:37 Also: hudson.remoting.Channel$CallSiteStackTrace: Remote call to jenkinsdockerslave-n2.grangeinsurance.com*12:31:37* at hudson.remoting.Channel.attachCallSiteStackTrace(Channel.java:1741)12:31:37 at hudson.remoting.UserRequest$ExceptionResponse.retrieve(UserRequest.java:356)12:31:37 at hudson.remoting.Channel.call(Channel.java:955)12:31:37 at hudson.plugins.tfs.model.Server.execute(Server.java:233)12:31:37 at hudson.plugins.tfs.model.Project.getFiles(Project.java:264)12:31:37 at hudson.plugins.tfs.actions.CheckoutAction.checkout(CheckoutAction.java:63)12:31:37 at hudson.plugins.tfs.TeamFoundationServerScm.checkout(TeamFoundationServerScm.java:352)12:31:37 at hudson.scm.SCM.checkout(SCM.java:505)12:31:37 at hudson.model.AbstractProject.checkout(AbstractProject.java:1205)12:31:37 at hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:574)12:31:37 at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:86)12:31:37 at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:499)12:31:37 at hudson.model.Run.execute(Run.java:1853)12:31:37 at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)12:31:37 at hudson.model.ResourceController.execute(ResourceController.java:97)12:31:37 at hudson.model.Executor.run(Executor.java:427)12:31:37 Caused: hudson.remoting.ProxyException: java.lang.RuntimeException: com.microsoft.tfs.core.clients.versioncontrol.exceptions.VersionControlException: com.microsoft.tfs.core.exceptions.TECoreException: TF400898: An Internal Error Occurred. Activity Id: 53f2eb9e-b57d-4d78-afca-0f76a2170c00.12:31:37 at com.microsoft.tfs.core.clients.versioncontrol.soapextensions.Workspace.get(Workspace.java:2470)12:31:37 at com.microsoft.tfs.core.clients.versioncontrol.soapextensions.Workspace.get(Workspace.java:2341)12:31:37 at com.microsoft.tfs.core.clients.versioncontrol.soapextensions.Workspace.get(Workspace.java:2331)12:31:37 at com.microsoft.tfs.core.clients.versioncontrol.soapextensions.Workspace.get(Workspace.java:2308)12:31:37 at hudson.plugins.tfs.commands.GetFilesToWorkFolderCommand.call(GetFilesToWorkFolderCommand.java:72)12:31:37 at hudson.plugins.tfs.commands.GetFilesToWorkFolderCommand.call(GetFilesToWorkFolderCommand.java:18)12:31:37 at hudson.remoting.UserRequest.perform(UserRequest.java:211)12:31:37 at hudson.remoting.UserRequest.perform(UserRequest.java:54)12:31:37 at hudson.remoting.Request$2.run(Request.java:369)12:31:37 at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72)12:31:37 at java.util.concurrent.FutureTask.run(FutureTask.java:266)12:31:37 at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)12:31:37 at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)12:31:37 at java.lang.Thread.run(Thread.java:748)12:31:37 Caused: java.lang.RuntimeException*12:31:37* at hudson.plugins.tfs.model.Server.execute(Server.java:237)12:31:37 at hudson.plugins.tfs.model.Project.getFiles(Project.java:264)12:31:37 at hudson.plugins.tfs.actions.CheckoutAction.checkout(CheckoutAction.java:63)12:31:37 at hudson.plugins.tfs.TeamFoundationServerScm.checkout(TeamFoundationServerScm.java:352)12:31:37 at hudson.scm.SCM.checkout(SCM.java:505)12:31:37 at hudson.model.AbstractProject.checkout(AbstractProject.java:1205)12:31:37 at hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:574)12:31:37 at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:86)12:31:37 at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:499)12:31:37 at hudson.model.Run.execute(Run.java:1853)12:31:37 at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)12:31:37 at hudson.model.ResourceController.execute(ResourceController.java:97)12:31:37 at hudson.model.Executor.run(Executor.java:427) {code}
Found an additional potential cause of this issue that is fairly specific to our build. Can have it fixed by 3pm today and will report if that resolves this issue.
Found an additional potential cause of this issue that is fairly specific to our build. Can have it fixed by 3pm today and will report if that resolves this issue.
The TFS plugin v5.157.1 fails with `TF400898: An Internal Error Occurred`
Steps to reproduce: * Using version 5.157.1 of the tfs-plugin make a job to get the latest version of a tfs repo. * Circumstances: ** pipeline job, automatic credentials * Interaction with other systems: ** Team Foundation Server 2015 running on Windows 2012R2
MS TFS SDK (which is called by the plugin) is entirely less than helpful on this, but based on our experience, there's 98% chance it's either ar result of a lack of disk space on the local drive, or the workspace path is in excess of 260 characters. It could also be the source path is too long (add the \n as also 1 char).