首页 文章

TFS 2015 - 现场构建失败

提问于
浏览
3

Background: 过去三个月的构建工作 . 然后,在出现故障后,我发现许可证对我们的内部构建服务器上的Visual Studio安装无效 .

Steps to correct: 修正了许可证问题 . 随着安装所有VS更新和TFS更新2 .

Additional steps taken to correct the issue: 构建仍然失败,因此我删除了代理和构建池 . 重新创建了一个新池并下载了代理 . 使用我的网络凭据在服务器上安装代理,因为我是该框的管理员以及代理池管理员和代理池服务帐户的一部分 . 使用我的帐户尝试消除权限相关问题 .

Note: 其他一切都适用于TFS . 可以签入更改,可以使用具有完全管理权限的门户 . Here is the final entry in the logs

19:39:28.762991无法启动作业,无法使用给定的凭据创建http客户端 .

构建在一分钟内失败,在tfs http接口上没有日志或原因 .

Here are the only exceptions on the build server logs.

19:39:18.411788 Microsoft.VisualStudio.Services.WebApi.VssServiceResponseException:错误请求19:39:18.411788 at Microsoft.VisualStudio.Services.WebApi.VssHttpClientBase.HandleResponse(HttpResponseMessage response)19:39:18.411788 at Microsoft.VisualStudio.Services .WebApi.VssHttpClientBase.d__79.MoveNext()19:39:18.411788 ---从抛出异常的前一个位置的堆栈跟踪结束--- 19:39:18.411788在System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(任务任务) )19:39:18.411788 at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)19:39:18.411788 at Microsoft.VisualStudio.Services.WebApi.VssHttpClientBase.d__761.MoveNext()19:39:18.411788 - - 来自先前位置的堆栈跟踪结束 - 抛出异常--- 19:39:18.411788在System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(任务任务)19:39:18.411788 at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(任务任务)19:39:18.411788 at Microsoft.VisualStudio.Services.Location.Client.LocationHttpClient.d__6.MoveNext()19:39:18.411788 ---从先前位置抛出异常的堆栈跟踪结束--- 19:39 :18.411788 at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)19:39:18.411788 at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)19:39:18.411788 at Microsoft.VisualStudio.Services.Client.VssServerDataProvider .d__39.MoveNext()19:39:18.411788 ---在抛出异常的前一个位置的堆栈跟踪结束--- 19:39:18.411788在System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(任务任务)19:39 :18.411788 at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)19:39:18.411788 at Microsoft.TeamFoundation.DistributedTask.Agent.Common.ConnectionHelper.GetConnection(Uri serverUri,VssCredentials credentials)19:39:18.411788 at Microsoft . TeamFoundation.Dis tributedTask.Agent.JobWriter.StartJob()19:39:18.411788 at Microsoft.VisualStudio.Services.WebApi.VssHttpClientBase.HandleResponse(HttpResponseMessage response)19:39:18.411788 at Microsoft.VisualStudio.Services.WebApi.VssHttpClientBase.d__79.MoveNext( )19:39:18.411788 ---在系统中System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(任务任务)19:39:18.411788处抛出异常的前一个位置的堆栈跟踪结束--- 19:39:18.411788 Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(任务任务)19:39:18.411788 at Microsoft.VisualStudio.Services.WebApi.VssHttpClientBase.d__761.MoveNext()19:39:18.411788 ---从上一个位置开始的堆栈跟踪在System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(任务任务)19:39:18.411788处于System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(任务任务)19:39:18.411788处抛出异常--- 19:39:18.411788 Microsoft.VisualStudio.Services . Location.Client.LocationHttpClient.d__6.MoveNext()19:39:18.411788 ---从抛出异常的上一个位置的堆栈跟踪结束--- 19:39:18.411788在System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(任务任务)19:39:18.411788 at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)19:39:18.427410 at Microsoft.VisualStudio.Services.Client.VssServerDataProvider.d__39.MoveNext()19:39:18.427410 ---从之前的堆栈跟踪结束抛出异常的位置--- 19:39:18.427410在System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(任务任务)19:39:18.427410 at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)19:39: 18.427410 at Microsoft.TeamFoundation.DistributedTask.Agent.Common.ConnectionHelper.GetConnection(Uri serverUri,VssCredentials credentials)19:39:18.427410 at Microsoft.TeamFoundation.DistributedTask.Agent.JobWriter.StartJob()19:39:18.427410 ---- -------------------------------------------------- ---------------------

1 回答

相关问题