{"action":"created","issue":{"url":"https://api.github.com/repos/Microsoft/vsts-tasks/issues/1951","repository_url":"https://api.github.com/repos/Microsoft/vsts-tasks","labels_url":"https://api.github.com/repos/Microsoft/vsts-tasks/issues/1951/labels{/name}","comments_url":"https://api.github.com/repos/Microsoft/vsts-tasks/issues/1951/comments","events_url":"https://api.github.com/repos/Microsoft/vsts-tasks/issues/1951/events","html_url":"https://github.com/Microsoft/vsts-tasks/issues/1951","id":162117993,"number":1951,"title":"Sometimes exception loading assembly when running VSO online build in Run Functional Tests step","user":{"login":"Jerry06","id":15416971,"avatar_url":"https://avatars.githubusercontent.com/u/15416971?v=3","gravatar_id":"","url":"https://api.github.com/users/Jerry06","html_url":"https://github.com/Jerry06","followers_url":"https://api.github.com/users/Jerry06/followers","following_url":"https://api.github.com/users/Jerry06/following{/other_user}","gists_url":"https://api.github.com/users/Jerry06/gists{/gist_id}","starred_url":"https://api.github.com/users/Jerry06/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Jerry06/subscriptions","organizations_url":"https://api.github.com/users/Jerry06/orgs","repos_url":"https://api.github.com/users/Jerry06/repos","events_url":"https://api.github.com/users/Jerry06/events{/privacy}","received_events_url":"https://api.github.com/users/Jerry06/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-06-24T10:19:20Z","updated_at":"2016-06-26T16:12:51Z","closed_at":null,"body":"Hi,\r\nI have a sometime issue when running build on VSO online in the Run Functional Tests step.\r\nRun 10 times this issue happened about 3-4 times\r\nI found the exception in DTAExecutionHost.exe log file when loading DLL.\r\nThe full log in attached file.\r\nThank you for any help.\r\n \r\n`E, 10504, 18, 2016/06/24, 13:28:24.285, 291767473089, DTAExecutionHost.exe, TAEF Engine Execution: System.IO.FileNotFoundException: Could not load file or assembly 'LogiGear.TestArchitect.TAIntegrationLoader, Version=3.0.50.0, Culture=neutral, PublicKeyToken=12834fd652593218' or one of its dependencies. The system cannot find the file specified.\r\nFile name: 'LogiGear.TestArchitect.TAIntegrationLoader, Version=3.0.50.0, Culture=neutral, PublicKeyToken=12834fd652593218'\r\n   at System.ModuleHandle.ResolveType(RuntimeModule module, Int32 typeToken, IntPtr* typeInstArgs, Int32 typeInstCount, IntPtr* methodInstArgs, Int32 methodInstCount, ObjectHandleOnStack type)\r\n   at System.ModuleHandle.ResolveTypeHandleInternal(RuntimeModule module, Int32 typeToken, RuntimeTypeHandle[] typeInstantiationContext, RuntimeTypeHandle[] methodInstantiationContext)\r\n   at System.Reflection.RuntimeModule.ResolveType(Int32 metadataToken, Type[] genericTypeArguments, Type[] genericMethodArguments)\r\n   at System.Reflection.CustomAttribute.FilterCustomAttributeRecord(CustomAttributeRecord caRecord, MetadataImport scope, Assembly& lastAptcaOkAssembly, RuntimeModule decoratedModule, MetadataToken decoratedToken, RuntimeType attributeFilterType, Boolean mustBeInheritable, Object[] attributes, IList derivedAttributes, RuntimeType& attributeType, IRuntimeMethodInfo& ctor, Boolean& ctorHasParameters, Boolean& isVarArg)\r\n   at System.Reflection.CustomAttribute.IsCustomAttributeDefined(RuntimeModule decoratedModule, Int32 decoratedMetadataToken, RuntimeType attributeFilterType, Int32 attributeCtorToken, Boolean mustBeInheritable)\r\n   at System.Reflection.CustomAttribute.IsDefined(RuntimeMethodInfo method, RuntimeType caType, Boolean inherit)\r\n   at System.Reflection.RuntimeMethodInfo.IsDefined(Type attributeType, Boolean inherit)\r\n   at Microsoft.VisualStudio.TestPlatform.MSTestFramework.ReflectHelper.IsAttributeDefined(MemberInfo memberInfo, Type attributeType, Boolean inherit)\r\n   at Microsoft.VisualStudio.TestPlatform.MSTestFramework.TypeCache.UpdateInfoIfAssemblyInitializeMethod(TestAssemblyInfo assemblyInfo, MethodInfo methodInfo, Type assemblyInitializeType)\r\n   at Microsoft.VisualStudio.TestPlatform.MSTestFramework.TypeCache.GetAssemblyInfo(Type type)\r\n   at Microsoft.VisualStudio.TestPlatform.MSTestFramework.TypeCache.CreateClassInfo(Type classType, TestMethod testMethod)\r\n   at Microsoft.VisualStudio.TestPlatform.MSTestFramework.TypeCache.GetClassInfo(TestMethod testMethod)\r\n   at Microsoft.VisualStudio.TestPlatform.MSTestFramework.TypeCache.GetTestMethodInfo(TestMethod testMethod, Boolean isDataSource, TestContextImplementation testContext)\r\n   at Microsoft.VisualStudio.TestPlatform.MSTestFramework.UnitTestRunner.RunInternal(TestMethod testMethod, Boolean isDataDriven, Dictionary`2 runParameters)\r\n   at Microsoft.VisualStudio.TestPlatform.MSTestFramework.UnitTestRunner.RunSingleTest(String name, String fullClassName, Boolean isAsync, Dictionary`2 runParameters)\r\n   at Microsoft.VisualStudio.TestPlatform.MSTestFramework.UnitTestRunner.RunSingleTest(String name, String fullClassName, Boolean isAsync, Dictionary`2 runParameters)\r\n   at Microsoft.VisualStudio.TestPlatform.Extensions.VSTestIntegration.MixedModeExecutor.ExecuteTests(IEnumerable`1 tests, IRunContext runContext, ITestExecutionRecorder testExecutionRecorder, UnitTestRunner testRunner, TmiTestRun tmiTestRun)\r\n   at Microsoft.VisualStudio.TestPlatform.Extensions.VSTestIntegration.MixedModeExecutor.ExecuteDurontoTestsInternal(IEnumerable`1 tests, IRunContext runContext, ITestExecutionRecorder testExecutionRecorder, String source, TestRunDirectories runDirectories, TmiTestRun tmiTestRun)\r\n   at Microsoft.VisualStudio.TestPlatform.Extensions.VSTestIntegration.MixedModeExecutor.ExecuteDurontoTests(IEnumerable`1 tests, IRunContext runContext, IFrameworkHandle frameworkHandle, String source, TestRunDirectories runDirectories, TmiTestRun tmiTestRun)\r\n   at Microsoft.VisualStudio.TestPlatform.Extensions.VSTestIntegration.MixedModeExecutor.ExecuteTests(IEnumerable`1 tests, IRunContext runContext, IFrameworkHandle frameworkHandle, TestRunDirectories runDirectories, Boolean isDeploymentDone, String source)\r\n   at Microsoft.VisualStudio.TestPlatform.Extensions.VSTestIntegration.MixedModeExecutor.ExecuteTests(IEnumerable`1 tests, IRunContext runContext, IFrameworkHandle frameworkHandle, TestRunDirectories runDirectories, Boolean isDeploymentDone)\r\n   at Microsoft.VisualStudio.TestPlatform.Extensions.VSTestIntegration.MixedModeExecutor.RunTests(IEnumerable`1 tests, IRunContext runContext, IFrameworkHandle frameworkHandle, TestRunCancellationToken cancellationToken)\r\n   at Microsoft.VisualStudio.TestPlatform.Extensions.VSTestIntegration.MSTestExecutor.RunTests(IEnumerable`1 tests, IRunContext runContext, IFrameworkHandle frameworkHandle)\r\n   at WEX.TestExecution.ExecutionPlugin.ExecuteTests(IntPtr context, IntPtr logSessionPtr, IDictionary`2 rockSteadySettings)\r\n   at WEX.TestExecution.InteropMethods.ExecuteTests(String[] rockSteadySettings, Int32 rockSteadySettingsSize, IntPtr context, IntPtr logSessionPtr)\r\n\r\n![build error](https://cloud.githubusercontent.com/assets/15416971/16335213/a70ca2e4-3a2f-11e6-8b8a-b0fb12774b2c.jpg)\r\n\r\n[DTAExecutionHost.exe - Log.txt](https://github.com/Microsoft/vsts-tasks/files/331576/DTAExecutionHost.exe.-.Log.txt)\r\n"},"comment":{"url":"https://api.github.com/repos/Microsoft/vsts-tasks/issues/comments/228608799","html_url":"https://github.com/Microsoft/vsts-tasks/issues/1951#issuecomment-228608799","issue_url":"https://api.github.com/repos/Microsoft/vsts-tasks/issues/1951","id":228608799,"user":{"login":"atinb","id":12844776,"avatar_url":"https://avatars.githubusercontent.com/u/12844776?v=3","gravatar_id":"","url":"https://api.github.com/users/atinb","html_url":"https://github.com/atinb","followers_url":"https://api.github.com/users/atinb/followers","following_url":"https://api.github.com/users/atinb/following{/other_user}","gists_url":"https://api.github.com/users/atinb/gists{/gist_id}","starred_url":"https://api.github.com/users/atinb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/atinb/subscriptions","organizations_url":"https://api.github.com/users/atinb/orgs","repos_url":"https://api.github.com/users/atinb/repos","events_url":"https://api.github.com/users/atinb/events{/privacy}","received_events_url":"https://api.github.com/users/atinb/received_events","type":"User","site_admin":false},"created_at":"2016-06-26T16:12:51Z","updated_at":"2016-06-26T16:12:51Z","body":"Looks like you have set up your own agent. When you see the error, can you check to see if the file is present and accessible? Maybe call into vstest.console.exe with the file name and see what happens. Thanks!"}}
{"actor":{"display_login":"atinb"}}