Review Log Files
When a Device Fundamentals Reliability test fails, you should thoroughly review log entries to help determine the cause of the failure. This topic describes the log files and how to review them.
TestTextLog.log file
TestTextLog.log is a simple text version of the WTT log file (Te.wtl) that is generated by all Device Fundamentals Reliability tests. TestTextLog.logis easier to read than Te.wtl. We recommend that you use TestTextLog.log when you investigate test failures, instead of using the Te.wtl log file. From the Results tab in Windows HCK Studio, right-click the test result, click Additional Files and then click TestTextLog.log
Interpret log entries
Device Fundamentals Reliability tests are written by using the Windows Device Test Framework (WDTF). TestTextLog.log file is a WDTF log file; each WDTF object that performs test actions logs operations to this file. See WDTF Object Logging for more information about how to interpret log entries in TestTextLog.log.
Identify test scenarios
Plug and Play (PNP), power management, and I/O are common scenarios that are tested by Device Fundamentals Reliability tests. You can identify the scenario that is being tested by reviewing the test name and log entries.
Example #1
In this example, Provided WDTF Simple I/O plug-ins test I/O on the WiFi adapter for one minute:
WDTF_SIMPLEIO_STRESS : INFO : - Start(802.11n USB Wireless LAN Card USB\VID_148F&PID_3070\5&35DEE9D9&0&5 )
WDTF_SIMPLE_IO : INFO : - Open(802.11n USB Wireless LAN Card USB\VID_148F&PID_3070\5&35DEE9D9&0&5 ) Try count 1
WDTF_SUPPORT : INFO : - WaitForMinutes : 1
WDTF_SIMPLE_IO : INFO : - PerformIO(802.11n USB Wireless LAN Card USB\VID_148F&PID_3070\5&35DEE9D9&0&5 ) Count 1
WDTF_SIMPLEIO_STRESS : INFO : - Stop(802.11n USB Wireless LAN Card USB\VID_148F&PID_3070\5&35DEE9D9&0&5 )
WDTF_SIMPLE_IO : INFO : - Close(802.11n USB Wireless LAN Card USB\VID_148F&PID_3070\5&35DEE9D9&0&5 )
Example #2
In this example, IWDTFSystemAction2 interface sends the machine state to S1, and then resumes from S1 to test the driver’s handling of power IRPs.
WDTF_SYSTEM : INFO : Attempt Sleep State: 1 , At (hh:mm:ss): 18:20:58 , Wake Time In Seconds: 120
WDTF_SYSTEM : INFO : Returning from Sleep. Elapsed time (hh:mm:ss): 0:2:0
Example #3
In this example, IWDTFPNPAction2 interface disables and enables the test device.
WDTF_PNP : INFO : - DisableDevice()
WDTF_PNP : INFO : Target: Marvell AVASTAR Wireless-N Network Controller (SDIO) SD\VID_02DF&PID_9128\3&2FF51610&0&0
WDTF_PNP : INFO : - EnableDevice() : ( get status count: 1 )
WDTF_PNP : INFO : Target: Marvell AVASTAR Wireless-N Network Controller (SDIO) SD\VID_02DF&PID_9128\3&2FF51610&0&0
Related topics
Troubleshooting Device Fundamentals Reliability Testing by using the Windows HCK