Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-33435

TFS SDK fails with TF14045 when encountering an unrecognized identity

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Minor Minor
    • tfs-plugin
    • None
    • TFS 2015

      A user reported a build failing with a stacktrace like the following:

      Listing workspaces from http://<SERVER>:8080/tfs/<COLLECTION>...
      FATAL: hudson.remoting.ProxyException: com.microsoft.tfs.core.exceptions.TECoreException: TF14045: The identity <GUID> is not a recognized identity.
      java.lang.RuntimeException: hudson.remoting.ProxyException: com.microsoft.tfs.core.exceptions.TECoreException: TF14045: The identity <GUID> is not a recognized identity.
              at hudson.plugins.tfs.model.Server.execute(Server.java:110)
              at hudson.plugins.tfs.model.Workspaces.getListFromServer(Workspaces.java:33)
              at hudson.plugins.tfs.model.Workspaces.populateMapFromServer(Workspaces.java:42)
              at hudson.plugins.tfs.model.Workspaces.exists(Workspaces.java:68)
              at hudson.plugins.tfs.actions.CheckoutAction.getProject(CheckoutAction.java:82)
              at hudson.plugins.tfs.actions.CheckoutAction.checkout(CheckoutAction.java:50)
              at hudson.plugins.tfs.TeamFoundationServerScm.checkout(TeamFoundationServerScm.java:221)
              at hudson.model.AbstractProject.checkout(AbstractProject.java:1275)
              at hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:610)
              at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:86)
              at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:532)
              at hudson.model.Run.execute(Run.java:1741)
              at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
              at hudson.model.ResourceController.execute(ResourceController.java:98)
              at hudson.model.Executor.run(Executor.java:410)
      Caused by: hudson.remoting.ProxyException: com.microsoft.tfs.core.exceptions.TECoreException: TF14045: The identity <GUID> is not a recognized identity.
              at com.microsoft.tfs.core.exceptions.mappers.TECoreExceptionMapper.map(TECoreExceptionMapper.java:105)
              at com.microsoft.tfs.core.exceptions.mappers.VersionControlExceptionMapper.map(VersionControlExceptionMapper.java:50)
              at com.microsoft.tfs.core.clients.versioncontrol.internal.WebServiceLayer.queryWorkspaces(WebServiceLayer.java:2675)
              at com.microsoft.tfs.core.clients.versioncontrol.VersionControlClient.getRepositoryWorkspaces(VersionControlClient.java:864)
              at com.microsoft.tfs.core.clients.versioncontrol.VersionControlClient.queryWorkspaces(VersionControlClient.java:2289)
              at hudson.plugins.tfs.model.MockableVersionControlClient.queryWorkspaces(MockableVersionControlClient.java:155)
              at hudson.plugins.tfs.commands.ListWorkspacesCommand.call(ListWorkspacesCommand.java:53)
              at hudson.plugins.tfs.commands.ListWorkspacesCommand.call(ListWorkspacesCommand.java:19)
      

      ...and being unable to delete the affected workspaces. It's possible a fix for JENKINS-30330 will also handle this particular scenario.

            dastahel David Staheli
            oli_at_jsi Olivier Dagenais
            Votes:
            2 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: