测试代理安装和配置 [英] Test Agent Installation and Configuration

查看:97
本文介绍了测试代理安装和配置的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,

我正在尝试在VSTS 2010(SP1)上安装和配置测试代理.控制器已安装在网络服务器上.

我正在尝试在本地VSTS上安装测试代理,并且能够完成所有大多数步骤,但是在配置Network Emulation Driver时,错误信息如下.

无法配置网络仿真驱动程序.
(日志)我,2012/06/11,10:40:06.001,观察到该帐户MyDomain \ MyUserName是网络服务帐户?错误.

我还观察到我的测试代理状态始终显示测试代理状态为已断开".

我还配置了LoadTest2010数据库,并相应地配置了控制器.

请给我建议,谢谢.

谢谢
Rushikesh Joshi

Hi All,

I am trying to install and configure Test Agent on my VSTS 2010 (SP1). A controller has already been installed on a network server.

I am trying to install Test Agent on my local VSTS and was able to complete most of all steps but at time of configuring Network Emulation Driver it is giving below Error.

Failed to configure network emulation driver.
(Log) I, 2012/06/11, 10:40:06.001, Observed that account MyDomain\MyUserName is network service account? False .

I also observed that my Test Agent Status always showing Test Agent Stats a "Disconnected".

I also configured LoadTest2010 database and controller is configured accordingly.

Please advice me, thank you.

Thanks
Rushikesh Joshi

推荐答案

环境是:运行构建器/代理/控制器的Windows 7 64位开发箱
还托管了一个包含TFS2010/sharepoint3的vmware Windows 2008服务器.
---
我可能遇到相同的问题,即错误日志的最后一部分(请参阅下文)
我发现2个url-s
驱动程序安装:失败(ERROR = -532462766)
Visual Studio测试控制器和代理的故障排除指南
加载代理和负载控制器安装和配置指南
贾斯汀·黑尔博士的博客8 –安装TFS
VSTT控制器和代理设置

I,2012/06/11,23:29:22.350,将通过64位进程进行安装.
我,2012/06/11,23:29:22.351,启用了UAC.
我,2012/06/11,23:29:22.353,管理员权限检查:完成.
I,2012/06/11,23:29:22.354,找到先前安装的驱动程序(版本:16778144)
我,2012/06/11,23:29:22.355,正在删除以前安装的驱动程序...
E,2012/06/11,23:29:28.940,删除先前的驱动程序:失败...正在中止安装.
我,2012/06/11,23:29:28.941,网络仿真驱动程序安装失败.
E,2012/06/11,23:29:28.942,无法配置网络仿真驱动程序.
我,2012/06/11,23:29:28.945,检查帐户MachineNameBla \ UserNameBla是否为网络服务帐户
V,2012/06/11,23:29:28.945,为用户名MachineNameBla \ UserNameBla创建了Nt帐户MachineNameBla \ UserNameBla
V,2012/06/11,23:29:28.947,为用户名MachineNameBla \ UserNameBla找到Sid S-1-5-21-155466652-3935754067-2326466436-1001
我,2012/06/11,23:29:28.947,观察到帐户MachineNameBla \ UserNameBla是网络服务帐户?错误
我,2012/06/11,23:29:28.947,域:Dev2
我,2012/06/11,23:29:28.947,最终用户名:MachineNameBla \ UserNameBla.
我,2012/06/11,23:29:28.947,正在加载MachineNameBla \ UserNameBla
的帐户详细信息 我,2012/06/11,23:29:28.952,规范化帐户为MachineNameBla \ UserNameBla,Sid为S-1-5-21-155466652-3935754067-2326466436-16-1
我,2012/06/11,23:29:28.952,重新启动计算机以使组成员资格设置生效.
W,2012/06/11,23:29:28.955,重新启动计算机以使组成员资格设置生效.
===
运作状况:似乎可行-我需要做更多测试才能证实这一点.
===
==固定物品==
我必须更正以下各项:-
测试代理:[向测试控制器注册]:机器名称:6901
==发表莫顿==
我之前曾设置过测试代理:[向测试控制器注册]:agent1:6901,但此操作不起作用
我怀疑我仍然没有最佳实践配置集(请参阅下文),我认为我需要在dev框上创建两个新用户,在TFS框上创建相同的两个用户.需要给用户一个类似
的名称 控制器服务帐户:[Agent Administrators组]的[tfsDev2Controller1Svc]成员
代理服务帐户:[tfsDev2Agent1]
==当前的工作配置(不是最佳实践)==
测试代理:用户名[MachineName \ MyAdminLoginName]
密码:[我的密码]
测试代理:自动登录以获取与安全相关的信息:[已选中]
测试代理:确保禁用了屏幕保护程序:[选中]
测试代理:按钮[运行选项]:从未按下,从未单击过此按钮
测试代理:向测试控制器注册:[选中]
测试代理:使用以下测试控制器向测试代理注册:MachineName:6901
测试控制器:此帐户:.\ MyLoginName(请在登录名之前注意.\)
密码:[我的密码]
测试负责人:向Team Project Collection注册:[选中]
测试控制器:向以下团队项目注册测试控制器:http://tfsSvrName:8080/tfs/defaultcollection
测试控制器:配置以进行负载测试:[已检查]
测试控制器:在以下服务器实例中创建负载测试结果dbase:SQL Svr实例名称(在我的情况下,机器名称cos我在此dev框中运行的本地sql服务器实例使用Windows登录身份验证)
==您可以尝试/调查的事情==
防火墙可能阻止了通信,请检查防火墙日志,尝试并ping通这些框
environment is: windows 7 64bit dev box running builder / agents / controller
also hosts a vmware windows 2008 server that contains TFS2010 / sharepoint3
---
I might have the same issue, the last part of my error log (see later)
I found 2 url-s
Driver installation: Failed (ERROR=-532462766)
Troubleshooting Guide for Visual Studio Test Controller and Agent
Load Agent and Load Controller Installation and Configuration Guide
Dr Justin Hale''s Blog 8 – Install TFS
VSTT Controller and Agent setup

I, 2012/06/11, 23:29:22.350, Installation will occur from a 64 bit process.
I, 2012/06/11, 23:29:22.351, UAC is Enabled.
I, 2012/06/11, 23:29:22.353, Admin privileges check: Done.
I, 2012/06/11, 23:29:22.354, Previous installation of driver found (Version: 16778144)
I, 2012/06/11, 23:29:22.355, Removing previously installed driver...
E, 2012/06/11, 23:29:28.940, Removal of previous driver: Failed... Aborting installation.
I, 2012/06/11, 23:29:28.941, Network Emulation driver failed to install.
E, 2012/06/11, 23:29:28.942, Failed to configure network emulation driver.
I, 2012/06/11, 23:29:28.945, Checking whether account MachineNameBla\UserNameBla is a network service account or not
V, 2012/06/11, 23:29:28.945, Created Nt account MachineNameBla\UserNameBla for userName MachineNameBla\UserNameBla
V, 2012/06/11, 23:29:28.947, Found Sid S-1-5-21-155466652-3935754067-2326466436-1001 for userName MachineNameBla\UserNameBla
I, 2012/06/11, 23:29:28.947, Observed that account MachineNameBla\UserNameBla is network service account? False
I, 2012/06/11, 23:29:28.947, Domain: Dev2
I, 2012/06/11, 23:29:28.947, Final UserName: MachineNameBla\UserNameBla.
I, 2012/06/11, 23:29:28.947, Loading account details for MachineNameBla\UserNameBla
I, 2012/06/11, 23:29:28.952, Normalized account is MachineNameBla\UserNameBla and Sid is S-1-5-21-155466652-3935754067-2326466436-1001
I, 2012/06/11, 23:29:28.952, Restart the machine for the group membership settings to take effect.
W, 2012/06/11, 23:29:28.955, Restart the machine for the group membership settings to take effect.
===
State of play: It appears to be working - I need to do more testing to validate this.
===
== Fixed items ==
I had to correct the following items as follows: -
Test Agent: [Register with Test Controller]: MACHINE NAME:6901
== Post Morton ==
I was previously setting Test Agent: [Register with Test Controller]: agent1:6901 and this did not work
I suspect that I still do not have the best practice configurations set (see below), I think that I need to create two new users on the dev box and the same two users on the TFS box. The users need to be called something like
Controller Service account: [tfsDev2Controller1Svc] member of [Agent Administrators group]
Agent Service account: [tfsDev2Agent1]
== Current working Configuration (not best practice) ==
Test Agent: User Name [MachineName\MyAdminLoginName]
Psw: [my psw]
Test Agent: Log on automatically for security related info: [checked]
Test Agent: Ensure screen saver is disabled: [checked]
Test Agent: button [Run Options]: never pressed, never clicked this button
Test Agent: Register with Test Controller: [checked]
Test Agent: Register with test agent with the following Test Controller: MachineName:6901
Test Controller: This account: .\MyLoginName (notice the .\ before the login name)
Psw: [my psw]
Test Controller: Register with Team Project Collection: [checked]
Test Controller: Register the test controller with the following team proj col: http://tfsSvrName:8080/tfs/defaultcollection
Test Controller: Configure for load testing: [checked]
Test Controller: Create load test results dbase in the following server instance: SQL Svr instance name (Machinename in my case cos I have a local sql server instance running on this dev box uses windows login authentication)
== Things you can try / investigate ==
The firewall might be blocking communications, check the firewall logs, try and ping the boxes


我正在寻找解决方案并自行发现.我想与大家分享作为解决方案.

问题在于单个系统上允许的最大过滤器数量.

通过更新HKEY_LOCAL_MACHINE/SYSTEM/Current/ControlSet/Control/Network [MaxNumFilters]的注册表设置,我们可以增加此限制,然后可以解决仿真驱动程序问题.

请参阅 http://applian.com/faq-pro/?action=article& ; cat_id = 003& id = 7& lang [
I Was looking for solution and found by my self. I thought to share with you guys as a solution.

Issue was with maximum number of allowed filter on individual system.

By updating Registry settings for HKEY_LOCAL_MACHINE/SYSTEM/Current/ControlSet/Control/Network [MaxNumFilters], we can increase this limit and then Emulation Driver issue can be resolved.

Refer http://applian.com/faq-pro/?action=article&cat_id=003&id=7&lang[^] for more details.

I am still getting disconnected issue for my controller, I will keep you posted if I will get a solution for same.

Thanks
Rushikesh Joshi


这篇关于测试代理安装和配置的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆