2016-07-14 12 views
0

執行Visual Studio測試代理部署任務時,出現以下錯誤。在任務配置中未選擇更新測試代理。在TFS 2015 RC2版本管理中部署測試代理期間出現錯誤

[error]Error occured on 'QA38:5985'. Details : 'Failed to install 'VisualStudioRemoteDeployer491d645c-0c5a-4e37-b387-18dc78d524ff' from service executable path VisualStudioRemoteDeployer.exe . Consult the logs below: 
2016-07-14T11:09:20.2180363Z ##[error]Exception calling "SetRight" with "2" argument(s): "Could not obtain the user information." 
2016-07-14T11:09:20.2180363Z ##[error] CategoryInfo :NotSpecified: (:) [], MethodInvocationException 
2016-07-14T11:09:20.2180363Z ##[error] FullyQualifiedErrorId :Exception 
2016-07-14T11:09:20.2180363Z ##[error]'. For troubleshooting, refer http://aka.ms/remotevstest 

當選擇更新測試劑複選框,遇到下面的錯誤:

DistributedTests: Task 'DownloadTestAgent' for machine QA38:5985's Error : System.AggregateException: Failed to install 'VisualStudioRemoteDeployer63061344-35bc-47ed-ab13-4093a853a458' from service executable path VisualStudioRemoteDeployer.exe . Consult the logs below: 
2016-07-13T14:07:15.9388814Z ##[warning]Exception calling "SetRight" with "2" argument(s): "Could not obtain the user information." 
2016-07-13T14:07:15.9388814Z ##[warning] CategoryInfo :NotSpecified: (:) [], MethodInvocationException 
2016-07-13T14:07:15.9388814Z ##[warning] FullyQualifiedErrorId :Exception 
2016-07-13T14:07:15.9388814Z ##[warning] ---> System.Management.Automation.RemoteException: Exception calling "SetRight" with "2" argument(s): "Could not obtain the user information." 
2016-07-13T14:07:15.9388814Z ##[warning] --- End of inner exception stack trace --- 
2016-07-13T14:07:15.9388814Z ##[warning] at Microsoft.VisualStudio.Services.DevTestLabs.Deployment.Deployment.PowershellExecutor.Invoke(String errorContextMessage, Boolean writeResultToLog, Boolean isCancellable) 
2016-07-13T14:07:15.9388814Z ##[warning] at Microsoft.VisualStudio.Services.DevTestLabs.Deployment.Deployment.RemoteDeploymentHelper.InstallServiceInternal(String serviceSourcePath, String serviceName, String destinationFileName) 
2016-07-13T14:07:15.9388814Z ##[warning] at Microsoft.VisualStudio.Services.DevTestLabs.Deployment.Deployment.RemoteDeploymentHelper.InstallService(String serviceSourcePath, String serviceName, String destinationFileName) 
2016-07-13T14:07:15.9388814Z ##[warning] at Microsoft.VisualStudio.Services.DevTestLabs.Deployment.Deployment.DeploymentClient.<RunAsync>d__24.MoveNext() 
2016-07-13T14:07:15.9388814Z ##[warning]---> (Inner Exception #0) System.Management.Automation.RemoteException: Exception calling "SetRight" with "2" argument(s): "Could not obtain the user information."<--- 
2016-07-13T14:07:15.9488740Z ##[warning]DistributedTests: Task 'DownloadTestAgent' for machine QA38:5985's Log : System.AggregateException: Failed to install 'VisualStudioRemoteDeployer63061344-35bc-47ed-ab13-4093a853a458' from service executable path VisualStudioRemoteDeployer.exe . Consult the logs below: 
2016-07-13T14:07:15.9488740Z ##[warning]Exception calling "SetRight" with "2" argument(s): "Could not obtain the user information." 
2016-07-13T14:07:15.9488740Z ##[warning] CategoryInfo :NotSpecified: (:) [], MethodInvocationException 
2016-07-13T14:07:15.9488740Z ##[warning] FullyQualifiedErrorId :Exception 
2016-07-13T14:07:15.9488740Z ##[warning] ---> System.Management.Automation.RemoteException: Exception calling "SetRight" with "2" argument(s): "Could not obtain the user information." 
2016-07-13T14:07:15.9488740Z ##[warning] --- End of inner exception stack trace --- 
2016-07-13T14:07:15.9488740Z ##[warning] at Microsoft.VisualStudio.Services.DevTestLabs.Deployment.Deployment.PowershellExecutor.Invoke(String errorContextMessage, Boolean writeResultToLog, Boolean isCancellable) 
2016-07-13T14:07:15.9488740Z ##[warning] at Microsoft.VisualStudio.Services.DevTestLabs.Deployment.Deployment.RemoteDeploymentHelper.InstallServiceInternal(String serviceSourcePath, String serviceName, String destinationFileName) 
2016-07-13T14:07:15.9488740Z ##[warning] at Microsoft.VisualStudio.Services.DevTestLabs.Deployment.Deployment.RemoteDeploymentHelper.InstallService(String serviceSourcePath, String serviceName, String destinationFileName) 
2016-07-13T14:07:15.9488740Z ##[warning] at Microsoft.VisualStudio.Services.DevTestLabs.Deployment.Deployment.DeploymentClient.<RunAsync>d__24.MoveNext() 
2016-07-13T14:07:15.9588831Z ##[warning]---> (Inner Exception #0) System.Management.Automation.RemoteException: Exception calling "SetRight" with "2" argument(s): "Could not obtain the user information."<--- 
2016-07-13T14:07:15.9588831Z ##[warning]DistributedTests: Failed to copy testagent setup to test machines. Check if the machines are accessible and installation file is accessible to the test machines. 
2016-07-13T14:07:16.0642158Z ##[warning]For troubleshooting, refer http://aka.ms/remotevstest. 
    [error]Failed to copy testagent setup to test machines. Check if the machines are accessible 

[error]Failed to copy testagent setup to test machines. Check if the machines are accessible 
+0

您的構建定義是怎樣的? –

+0

@ Cece-MSFT該版本鏈接到VNext build – Santhosh

回答

0

只是測試任務的Visual Studio測試代理部署在我的TFS 2015年UPDATE3,並獲得了成功發佈:

enter image description here

你可以試試你的TFS升級到最新的更新3,並請參閱我的設置,以創建一個新版本:

enter image description here

+1

感謝您的建議,將UPN用戶名格式更新爲DOMAIN \ Username格式可解決問題。 – Santhosh

相關問題