[JIRA] [tfs-plugin] (JENKINS-33435) TFS SDK fails with TF14045 when encountering an unrecognized identity

54 views
Skip to first unread message

olivida@microsoft.com (JIRA)

unread,
Mar 9, 2016, 2:06:04 PM3/9/16
to jenkinsc...@googlegroups.com
Olivier Dagenais created an issue
 
Jenkins / Bug JENKINS-33435
TFS SDK fails with TF14045 when encountering an unrecognized identity
Issue Type: Bug Bug
Assignee: Olivier Dagenais
Components: tfs-plugin
Created: 09/Mar/16 7:05 PM
Environment: TFS 2015
Priority: Minor Minor
Reporter: Olivier Dagenais

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.

Add Comment Add Comment
 
This message was sent by Atlassian JIRA (v6.4.2#64017-sha1:e244265)
Atlassian logo

jessecorp@gmail.com (JIRA)

unread,
Apr 20, 2016, 4:02:01 PM4/20/16
to jenkinsc...@googlegroups.com
Jesse Cooper commented on Bug JENKINS-33435
 
Re: TFS SDK fails with TF14045 when encountering an unrecognized identity

From what I can tell after trouble shooting the same issue for days is this is a problem with the way the module handles special chars in the password of the connecting TFS account. I noticed this same issue with white space in the source path. Since special chars are a key in good secure passwords I hope this gets addressed soon.

jessecorp@gmail.com (JIRA)

unread,
Apr 20, 2016, 4:31:02 PM4/20/16
to jenkinsc...@googlegroups.com
Jesse Cooper updated an issue
 
Change By: Jesse Cooper
Comment:
From what I can tell after trouble shooting the same issue for days is this is a problem with the way the module handles special chars in the password of the connecting TFS account. I noticed this same issue with white space in the source path. Since special chars are a key in good secure passwords I hope this gets addressed soon. 

jessecorp@gmail.com (JIRA)

unread,
Apr 20, 2016, 4:49:02 PM4/20/16
to jenkinsc...@googlegroups.com
 
Re: TFS SDK fails with TF14045 when encountering an unrecognized identity

I currently have this same issue. I have tried a few things to trouble shoot it and came up empty handed. At first I thought it was white space in the project name. I removed that had the same issue. then I thought it was bad parsing of passwords with special chars. I tried that and still had the same issue. At this point I have no idea what it might be. In the Jenkins logs you can see a 500 error is returned by TFS. INFO: SOAP

INFO: SOAP method='Connect', status=200, content-length=3902, server-wait=117 ms, parse=0 ms, total=117 ms, throughput=33350 B/s, gzip
Apr 20, 2016 4:38:29 PM com.microsoft.tfs.core.ws.runtime.client.SOAPService executeSOAPRequestInternal
INFO: SOAP method='QueryWorkspaces', status=500, content-length=0, server-wait=113 ms, parse=1 ms, total=114 ms, throughput=0 B/s, uncompressed
Apr 20, 2016 4:38:29 PM com.microsoft.tfs.core.TFSConnection close
WARNING: httpClientReference is null

jyoung@athene.com (JIRA)

unread,
May 19, 2016, 9:14:02 AM5/19/16
to jenkinsc...@googlegroups.com

Having the same issue, tested with upper & lowercase chars, keeping us from using Jenkins for any build activities with TFS.

Error: TF14045: The
identity <guid> is not a recognized identity.

Some more info from /var/log/Jenkins/Jenkins.log:

INFO: HttpClient configured for <My TFS URL>, authenticating as <myu...@mydomain.com>
May 19, 2016 8:10:13 AM com.microsoft.tfs.core.ws.runtime.client.SOAPService executeSOAPRequestInternal
INFO: SOAP method='Connect', status=200, content-length=3728, server-wait=57 ms, parse=1 ms, total=58 ms, throughput=64276 B/s, gzip
May 19, 2016 8:10:13 AM com.microsoft.tfs.core.ws.runtime.client.SOAPService executeSOAPRequestInternal
INFO: SOAP method='QueryHistory', status=200, content-length=678, server-wait=82 ms, parse=0 ms, total=82 ms, throughput=8268 B/s, gzip
May 19, 2016 8:10:13 AM com.microsoft.tfs.core.config.httpclient.DefaultHTTPClientFactory logHTTPClientConfiguration
INFO: HttpClient configured for <mytfs url> authenticating as <myu...@mydomain.com>
May 19, 2016 8:10:13 AM com.microsoft.tfs.core.ws.runtime.client.SOAPService executeSOAPRequestInternal
INFO: SOAP method='Connect', status=200, content-length=3728, server-wait=24 ms, parse=0 ms, total=24 ms, throughput=155333 B/s, gzip
May 19, 2016 8:10:13 AM com.microsoft.tfs.core.ws.runtime.client.SOAPService executeSOAPRequestInternal
INFO: SOAP method='QueryWorkspaces', status=500, content-length=0, server-wait=114 ms, parse=1 ms, total=115 ms, throughput=0 B/s, uncompressed
May 19, 2016 8:10:13 AM com.microsoft.tfs.core.TFSConnection close
WARNING: httpClientReference is null

Based on the 200 return, it appears that the user CAN properly authenticate w/ TFS but the user name is changed at some point later in the process with the GUID.

Please let me know if there is any part of the investigation I can help with, this is very important for us to get resolved.

jyoung@athene.com (JIRA)

unread,
May 19, 2016, 9:15:02 AM5/19/16
to jenkinsc...@googlegroups.com
James Young edited a comment on Bug JENKINS-33435
Having the same issue, tested with upper & lowercase chars, keeping us from using Jenkins for any build activities with TFS. 


{code:java}
Error: TF14045: The
identity <guid> is not a recognized identity.
{code}


Some more info from /var/log/Jenkins/Jenkins.log:


{code:java}
INFO: HttpClient configured for <My TFS URL>, authenticating as <myu...@mydomain.com>
May 19, 2016 8:10:13 AM com.microsoft.tfs.core.ws.runtime.client.SOAPService executeSOAPRequestInternal
INFO: SOAP method='Connect', status=200, content-length=3728, server-wait=57 ms, parse=1 ms, total=58 ms, throughput=64276 B/s, gzip
May 19, 2016 8:10:13 AM com.microsoft.tfs.core.ws.runtime.client.SOAPService executeSOAPRequestInternal
INFO: SOAP method='QueryHistory', status=200, content-length=678, server-wait=82 ms, parse=0 ms, total=82 ms, throughput=8268 B/s, gzip
May 19, 2016 8:10:13 AM com.microsoft.tfs.core.config.httpclient.DefaultHTTPClientFactory logHTTPClientConfiguration
INFO: HttpClient configured for <mytfs url> authenticating as <myu...@mydomain.com>
May 19, 2016 8:10:13 AM com.microsoft.tfs.core.ws.runtime.client.SOAPService executeSOAPRequestInternal
INFO: SOAP method='Connect', status=200, content-length=3728, server-wait=24 ms, parse=0 ms, total=24 ms, throughput=155333 B/s, gzip
May 19, 2016 8:10:13 AM com.microsoft.tfs.core.ws.runtime.client.SOAPService executeSOAPRequestInternal
INFO: SOAP method='QueryWorkspaces', status=500, content-length=0, server-wait=114 ms, parse=1 ms, total=115 ms, throughput=0 B/s, uncompressed
May 19, 2016 8:10:13 AM com.microsoft.tfs.core.TFSConnection close
WARNING: httpClientReference is null

{code}

Based on the 200 return, it appears that the user CAN properly authenticate w/ TFS but the user name is changed at some point later in the process with the GUID.

Please let me know if there is any part of the investigation I can help with, this is very important for us to get resolved.

olivier.dagenais@gmail.com (JIRA)

unread,
Feb 20, 2017, 3:46:33 PM2/20/17
to jenkinsc...@googlegroups.com
Olivier Dagenais assigned an issue to David Staheli
 
Change By: Olivier Dagenais
Assignee: Olivier Dagenais David Staheli
This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c)
Atlassian logo
Reply all
Reply to author
Forward
0 new messages