Continuous integration 服务结构升级在VSTS生成服务器上创建了一个错误

Continuous integration 服务结构升级在VSTS生成服务器上创建了一个错误,continuous-integration,tdd,azure-service-fabric,azure-pipelines,Continuous Integration,Tdd,Azure Service Fabric,Azure Pipelines,我们已将我们的Service Fabric SDK和工具从2.5.216升级到2.6.210 现在,当我们在VSTS托管代理上运行构建时,该构建在验收测试阶段失败,该阶段通过vstest.exe运行specflow验收测试 错误是: 无法从程序集“Microsoft.ServiceFabric.Data.Interfaces,版本=5.0.0.0,区域性=中性,PublicKeyToken=31bf3856ad364e35”中加载类型“Microsoft.ServiceFabric.Data.C

我们已将我们的Service Fabric SDK和工具从2.5.216升级到2.6.210

现在,当我们在VSTS托管代理上运行构建时,该构建在验收测试阶段失败,该阶段通过vstest.exe运行specflow验收测试

错误是:

无法从程序集“Microsoft.ServiceFabric.Data.Interfaces,版本=5.0.0.0,区域性=中性,PublicKeyToken=31bf3856ad364e35”中加载类型“Microsoft.ServiceFabric.Data.Collections.iReliableCcurrentQueue`1”。,“exceptionType”:“System.TypeLoadException”

这些测试使用相同的vstest.exe命令在本地工作(安装了Microsoft Azure Service Fabric SDK和Tools 2.6.210(VS2015))

查看了托管代理的规范() 我们注意到,代理上安装的版本是Service Fabric 5.4.164.9494/Service Fabric SDK 2.4.164,并怀疑这些版本 需要更新

错误的较长版本

2017-06-20T15:11:00.0331094Z失败我可以请求更改 游戏类型的分配2017-06-20T15:11:00.0331094Z

[错误]错误消息:2017-06-20T15:11:00.0341044Z##[错误]系统。异常:不匹配的响应代码:InternalServerError- {“消息”:“出现错误。”,“异常消息”:“无法加载” 类型 'Microsoft.ServiceFabric.Data.Collections.IReliableConcurrentQueue
1'
从程序集的Microsoft.ServiceFabric.Data.Interfaces,
版本=5.0.0.0,区域性=中性,
PublicKeyToken=31bf3856ad364e35.”,“异常类型”:“System.TypeLoadException”,“stackTrace”:
在Infrastructure.ExceptionHandling.ExceptionHelper.ThrowIfUnhandled()中
在里面
d:\\a\\1\\s\\Infrastructure\\Infrastructure.ExceptionHandling\\ExceptionHelper.cs:line
45\r\n在
xwx.WebApi.Controllers.gameTypesController.d_u8.MoveNext()
在里面
d:\\a\\1\\s\\Orchestration\\xwx\\xwx.WebApi\\Controllers\\gametypescocontroller.cs:line
142\r\n---exception所在的上一个位置的堆栈结束跟踪
被抛出---\r\n
System.Runtime.CompilerServices.TaskWaiter.ThrowForNonSuccess(任务
任务)\r\n位于
System.Runtime.CompilerServices.TaskWaiter.HandleNonSuccessAndDebuggerNotification(任务
任务)\r\n位于
System.Threading.Tasks.TaskHelperExtensions.d\u 3
1.MoveNext()\r\n--- 来自引发异常的上一个位置的堆栈结束跟踪 ---\r\n在System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(任务 任务)\r\n位于 System.Runtime.CompilerServices.TaskWaiter.HandleNonSuccessAndDebuggerNotification(任务 任务)\r\n位于 System.Web.Http.Controller.ApiControllerActionInvoker.d\u 0.MoveNext()\r\n--- 来自引发异常的上一个位置的堆栈结束跟踪 ---\r\n在System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(任务 任务)\r\n位于 System.Runtime.CompilerServices.TaskWaiter.HandleNonSuccessAndDebuggerNotification(任务 任务)\r\n位于 System.Web.Http.Filters.ActionFilterAttribute.d\u 5.MoveNext()\r\n--- 来自引发异常的上一个位置的堆栈结束跟踪 ---\r\n位于System.Web.Http.Filters.ActionFilterAttribute.d\u 5.MoveNext()\r\n--- 来自引发异常的上一个位置的堆栈结束跟踪 ---\r\n在System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(任务 任务)\r\n位于 System.Runtime.CompilerServices.TaskWaiter.HandleNonSuccessAndDebuggerNotification(任务 任务)\r\n位于 System.Web.Http.Filters.ActionFilterAttribute.d\u 0.MoveNext()\r\n--- 来自引发异常的上一个位置的堆栈结束跟踪 ---\r\n在System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(任务 任务)\r\n位于 System.Runtime.CompilerServices.TaskWaiter.HandleNonSuccessAndDebuggerNotification(任务 任务)\r\n位于 System.Web.Http.Controllers.ActionFilterResult.d\u 2.MoveNext()\r\n--- 来自引发异常的上一个位置的堆栈结束跟踪 ---\r\n在System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(任务 任务)\r\n位于 System.Runtime.CompilerServices.TaskWaiter.HandleNonSuccessAndDebuggerNotification(任务 任务)\r\n位于 System.Web.Http.Filters.AuthorizationFilterAttribute.d\u 2.MoveNext()\r\n--- 来自引发异常的上一个位置的堆栈结束跟踪 ---\r\n在System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(任务 任务)\r\n位于 System.Runtime.CompilerServices.TaskWaiter.HandleNonSuccessAndDebuggerNotification(任务 任务)\r\n位于 System.Web.Http.Dispatcher.HttpControllerDispatcher.d_u1.MoveNext()“} 2017-06-20T15:11:00.0341044Z###[错误]堆栈跟踪: 2017-06-20T15:11:00.0341044Z###[错误]在 Infrastructure.TestHelpers.AcceptanceTests.ResponseHelper.AssertResponseHadeExpectedStatusCode(Int32 中的expectedStatusCode) d:\a\1\s\Infrastructure\Infrastructure.TestHelpers\AcceptanceTests\ResponseHelper.cs:line 25 2017-06-20T15:11:00.0341044Z###[错误]在 xwx.验收测试。响应测试。然后应接收HTTPStatusCode(Int32 中的expectedStatusCode) d:\a\1\s\Tests\Orchestration\xwx\xwx.AcceptanceTests\ResponseSteps.cs:line 12 2017-06-20T15:11:00.0341044Z###[错误]在 TechTalk.SpecFlow.Bindings.BindingInvoker.InvokeBinding(IBinding 绑定,IContextManager,contextManager,对象[]参数, ITestTracer测试跟踪程序(时间跨度和持续时间) 2017-06-20T15:11:00.0351049Z###[错误]在 TechTalk.SpecFlow.Infrastructure.TestExecutionEngine.ExecuteSpMatch(BindingMatch 匹配,对象[]参数)2017-06-20T15:11:00.0351049Z###[错误]在 TechTalk.SpecFlow.Infrastructure.TestExecutionEngine.ExecuteTEP(StepInstance stepInstance)2017-06-20T15:11:00.0351049Z###[错误]在 TechTalk.SpecFlow.Infrastructure.TestExecutionEngine.OnAfterLastStep() 2017-06-20T15:11:00.0351049Z###[错误]在 xwx.AcceptanceTests.gameTypes.ChangeAllocation3532Feature.ScenarioCleanup() 2017-06-20T15:11:00.0351049Z###[错误]在 xwx.AcceptanceTests.gameTypes.Ch
System.TypeLoadException: Could not load type 'Microsoft.ServiceFabric.Data.IReliableStateManagerReplica2' from assembly 'Microsoft.ServiceFabric.Data.Interfaces, Version=5.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'