I have checked the IOCancelTest.wtl file and see the error codes:
1. UserText="ErrorCode=0x80070103, ErrorType=HRESULT,
Src=d:\5429t\testsrc\basetest\diagnosis\iocancel\util\querydriveletter.cpp@201l,
Message=Failed in SetupDiEnumDeviceInfo()."
2. UserText="ErrorCode=0x80070103, ErrorType=HRESULT,
Src=d:\5429t\testsrc\basetest\diagnosis\iocancel\util\querydriveletter.cpp@333l,
Message=Failed in
GetDriveLetterFromDeviceId(USB\VID_mmmm&PID_nnnn\6&65FCE58&0&4)"
3. UserText="ErrorCode=0x0, ErrorType=HRESULT,
Src=d:\5429t\testsrc\basetest\diagnosis\iocancel\testinfra\main.cpp@88l,
Message=This is unsupported device for the test. Passing the test and
exiting..."
4. Current="IO Cancellation test run against unsupported device"
The question is: why DTM studio decided to run "IO Cancellation test with
direct IO" against my USB driver
which is not a storage device?
Mikhail Gryaznov
And this looks liek a bug to me.
ID: 338
Name: IO Cancellation with Direct IO on local disk (Preview)
Assigned To: defaultuser
Feature Path: $\WDK Tests\Driver Reliability
Last Updated Time: 4/21/2010 10:28:58 PM
ID: 339
Name: IO Cancellation with Direct IO on network storage (Preview)
Assigned To: defaultuser
Feature Path: $\WDK Tests\Driver Reliability
Last Updated Time: 4/21/2010 10:28:57 PM
ID: 254
Name: IO Cancellation with DevPathExer (Preview)
Assigned To: DefaultUser
Feature Path: $\WDK Tests\Driver Reliability
Last Updated Time: 4/21/2010 10:28:36 PM
ID: 605
Name: IO Cancellation with Direct IO (WDF Preview)
Assigned To: defaultuser
Feature Path: $\WDK Tests\Driver Reliability
Last Updated Time: 3/30/2010 3:05:14 PM
"Mikhail Gryaznov" wrote:
> Running "IO Cancellation test with Direct IO" against USB device driver
> cause Win 7 client got frozen.
> This is not mass-storage device and I need to go with Unclassified
> submission.
>
> I have checked the IOCancelTest.wtl file and see the error codes:
> 1. UserText="ErrorCode=0x80070103, ErrorType=HRESULT,
> Src=d:\5429t\testsrc\basetest\diagnosis\iocancel\util\querydriveletter.cpp@201l,
> Message=Failed in SetupDiEnumDeviceInfo()."
>
> 2. UserText="ErrorCode=0x80070103, ErrorType=HRESULT,
> Src=d:\5429t\testsrc\basetest\diagnosis\iocancel\util\querydriveletter.cpp@333l,
> Message=Failed in
> GetDriveLetterFromDeviceId(USB\VID_mmmm&PID_nnnn\6&65FCE58&0&4)"
The problem about this test is: this test made client computer totally
frozen in the
middle of Windows 7 client restarting (after "IO Cancellation with
DirectIO" test complete
"Setup Job" step). Restarting the client with "Power" button of the client
does not help -
client got frozen again. The only way to get out and continue the tests is -
unplug
my USB device and restart the client with POWER button.
But having my USB device unplugged make other required tests failed due to
missed device under testing.
Mikhail Gryaznov
"Jeff the Tall [MSFT]" <Jeffthe...@discussions.microsoft.com> wrote in
message news:A9AB6539-61C8-4AC2...@microsoft.com...