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
您的构建定义是怎样的? –
@ Cece-MSFT该版本链接到VNext build – Santhosh