none
Test Authoring and Execution Framework[v10.13] has stopped working on Win10 x86 1709 RRS feed

  • Question

  • Hi All,

     I run WHQL test on Win10 x86 1709, get following error on client system if any DF - PNP  test is running:

    Test Authoring and Execution Framework[v10.13] has stopped working
    A problem caused the program to stop working correctly. Windows will close the program and notify you if a solution is available.

    If I close the program the tests fail with this error. Log files contains the error:
    A C++ exception was throw by a test in a DLL that was compiled with C++ exceptions disabled.

    [HRESULT 0x800706BE] Failed to invoke test operation: 'PNPDTest::PNPCancelRemoveDevice'. (Test Host Process could not be reached. It has terminated with an exit code of 0xC0000409.) (The message to invoke a test operation was not properly handled by the host process.)

    Same driver can pass all HLK tests on W10 1703 system.

    For tests I use HLK 10.0.16299.15 (1709) running on Windows Server 2012 R2. CompatPlaylist x86/x64 ,v1.0 is loaded. As client I use W10 1709 x86.

    HLK Studio UI log:

    Exception Message:
    System.NotSupportedException: An attempt has been made to Attach or Add an entity that is not new, perhaps having been loaded from another DataContext.  This is not supported.
       at System.Data.Linq.ChangeTracker.StandardChangeTracker.Track(MetaType mt, Object obj, Dictionary`2 visited, Boolean recurse, Int32 level)
       at System.Data.Linq.ChangeTracker.StandardChangeTracker.Track(Object obj, Boolean recurse)
       at System.Data.Linq.ChangeProcessor.TrackUntrackedObjects(MetaType type, Object item, Dictionary`2 visited)
       at System.Data.Linq.ChangeProcessor.TrackUntrackedObjects(MetaType type, Object item, Dictionary`2 visited)
       at System.Data.Linq.ChangeProcessor.TrackUntrackedObjects(MetaType type, Object item, Dictionary`2 visited)
       at System.Data.Linq.ChangeProcessor.TrackUntrackedObjects()
       at System.Data.Linq.ChangeProcessor.SubmitChanges(ConflictMode failureMode)
       at System.Data.Linq.DataContext.SubmitChanges(ConflictMode failureMode)
       at Microsoft.Windows.Kits.Hardware.FilterEngine.DatabaseFilterEngine.Save(IFilterResult result, ITaskResultFilterHistory history)
       at Microsoft.Windows.Kits.Hardware.FilterEngine.BaseFilterEngine.ApplyFilter(Task taskResult, List`1 results, FilterTraceHelper traceHelper, ITaskResultFilterHistory history, FilterEngineContext context, IFilter filter, TestLog log, IFilterConstraintEvaluator constraintEvaluator)
       at Microsoft.Windows.Kits.Hardware.FilterEngine.BaseFilterEngine.FilterTaskResult(Task taskResult)
       at Microsoft.Windows.Kits.Hardware.FilterEngine.BaseFilterEngine.Filter(Task taskResult)
       at Microsoft.Windows.Kits.Hardware.FilterEngine.BaseFilterEngine.Filter(Task taskResult, Boolean filterChildTaskResults)
       at Microsoft.Windows.Kits.Hardware.FilterEngine.BaseFilterEngine.Filter(TestResult testResult)
       at Microsoft.Windows.Kits.Hardware.FilterEngine.BaseFilterEngine.Filter(Project project)
       at Microsoft.Windows.Kits.Hardware.UI.Views.Results.UpdateFiltersLink_Click(Object sender, RoutedEventArgs e)
       at System.Windows.Input.CommandBinding.OnExecuted(Object sender, ExecutedRoutedEventArgs e)
       at System.Windows.Input.CommandManager.ExecuteCommandBinding(Object sender, ExecutedRoutedEventArgs e, CommandBinding commandBinding)
       at System.Windows.Input.CommandManager.FindCommandBinding(CommandBindingCollection commandBindings, Object sender, RoutedEventArgs e, ICommand command, Boolean execute)
       at System.Windows.Input.CommandManager.FindCommandBinding(Object sender, RoutedEventArgs e, ICommand command, Boolean execute)
       at System.Windows.Input.CommandManager.OnExecuted(Object sender, ExecutedRoutedEventArgs e)
       at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
       at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)
       at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
       at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
       at System.Windows.Input.RoutedCommand.ExecuteImpl(Object parameter, IInputElement target, Boolean userInitiated)
       at MS.Internal.Commands.CommandHelpers.CriticalExecuteCommandSource(ICommandSource commandSource, Boolean userInitiated)
       at System.Windows.Controls.Primitives.ButtonBase.OnClick()
       at System.Windows.Controls.Button.OnClick()
       at System.Windows.Controls.Primitives.ButtonBase.OnMouseLeftButtonUp(MouseButtonEventArgs e)
       at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
       at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)
       at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
       at System.Windows.UIElement.ReRaiseEventAs(DependencyObject sender, RoutedEventArgs args, RoutedEvent newEvent)
       at System.Windows.UIElement.OnMouseUpThunk(Object sender, MouseButtonEventArgs e)
       at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
       at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)
       at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
       at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
       at System.Windows.UIElement.RaiseTrustedEvent(RoutedEventArgs args)
       at System.Windows.Input.InputManager.ProcessStagingArea()
       at System.Windows.Input.InputManager.ProcessInput(InputEventArgs input)
       at System.Windows.Input.InputProviderSite.ReportInput(InputReport inputReport)
       at System.Windows.Interop.HwndMouseInputProvider.ReportInput(IntPtr hwnd, InputMode mode, Int32 timestamp, RawMouseActions actions, Int32 x, Int32 y, Int32 wheel)
       at System.Windows.Interop.HwndMouseInputProvider.FilterMessage(IntPtr hwnd, WindowMessage msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
       at System.Windows.Interop.HwndSource.InputFilterMessage(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
       at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
       at MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)
       at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
       at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)

    Many thanks

    Alice

    Tuesday, November 21, 2017 5:51 AM

All replies

  • Hi Alice,

    Firstly, please try to add resource version to your project in VS2013/VS2015.

    Add->Resource->Version

    Or you can refer other's post in the forums.

    https://social.msdn.microsoft.com/Forums/zh-TW/b3b00e8a-57c3-4dc6-8cf1-737c80461221/hlk-1709-when-test-x86-driver-got-test-authoring-and-execution-frameworkv1013-not-working?forum=whck

    if you still got failed after you add resource version, please follow Fidaa.Baydass's comment. 

    Now, Schnuffi16 didn't still feedback any information.

    Tuesday, November 21, 2017 9:00 AM