Connected Standby IO Stress

This test verifies that Connected Standby is functioning in the presence of IO events and that data corruptions do not occur across Connected Standby transitions.

Test details

   
Specifications
  • System.Fundamentals.StorageAndBoot.BootPerformance
Platforms
  • Windows 10, client editions (x86)
  • Windows 10, client editions (x64)
  • Windows 10, client editions (Arm64)
Supported Releases
  • Windows 10
  • Windows 10, version 1511
  • Windows 10, version 1607
  • Windows 10, version 1703
  • Windows 10, version 1709
  • Windows 10, version 1803
  • Windows 10, version 1809
  • Windows 10, version 1903
  • Next update to Windows 10
Expected run time (in minutes) 480
Category Scenario
Timeout (in minutes) 28800
Requires reboot false
Requires special configuration false
Type automatic

 

Additional documentation

Tests in this feature area might have additional documentation, including prerequisites, setup, and troubleshooting information, that can be found in the following topic(s):

Running the test

Before you run the test, complete the test setup as described in the test requirements: WDTF System Fundamentals Testing Prerequisites.

Before running the test, ensure that the system is able to enter and exit Connected Standby reliably. The test will stress its Connected Standby support. Also, ensure that there is greater than 2GB of free space on the boot volume to ensure that RapidFile is able to write to the disk.

Troubleshooting

For generic troubleshooting of HLK test failures, see Troubleshooting Windows HLK Test Failures.

For troubleshooting information, see Troubleshooting the Windows HLK Environment.

If the Check Configuration section fails, look at the log from the "Run ParseTrace.exe" task to determine why it failed. It may be caused by the system not entering in Connected Standby in response to the test issuing that command.

If the test fails on the Long Haul section then you can look into the last wtl logs generated by SCSI Compliance, RapidFile, and the Connected Standby script to determine what the cause of the error was.

More information

The test consists of three parts: setup, check configuration, and long haul.

The setup part copies the files to the system, exempts processes from the DAM, and enables test signing. Failures in this section are straightforward and the cause can be determined by viewing the error codes returned from the task.

The check configuration part runs Connected Standby, RapidFile, and SCSI Compliance tests in parallel for a few minutes while tracing the disk activity and the power states of the devices. This is to ensure that the devices are entering the proper power states in response to the test. Most commonly, a failure will be seen in the "Run ParseTrace.exe" task which evaluates the results from the ETW traces and determines if the devices entered the proper states. Viewing the task log for this task should reveal the cause of failure.

If the first two parts passed, the test enters into the long haul part where the same three files are run in parallel as in the check configuration part, but this time without the ETW tracing. The tasks run for 8 hours and passes as long as the system is able to continue running for that time and data integrity is maintained.

Command syntax

Command option Description

/Process

Process to run: ConnectedStandby, RapidFile, RapidFileVerify, or SCSICompliance.

/Duration

Duration to run the test (seconds).

/Device

Drive letter or physical drive number of device to test.

/Scenario

Scenario type to test: CheckConfiguration, Stress, LongHaul, or SelectiveSuspend.

Default value: LongHaul

Note

   For command line help for this test binary, type /h.

 

Command usage

Command Description

cscript.exe ConnectedStandbyIOStress.wsf /Process:ConnectedStandby /Duration:[RunDurationSeconds] /Scenario:[Scenario]

Runs the Connected Standby test.

cscript.exe ConnectedStandbyIOStress.wsf /Process:RapidFile /Duration:[RunDurationSeconds] /Device:[StorageDriveLetter] /Scenario:[Scenario]

Runs the RapidFile test.

cscript.exe ConnectedStandbyIOStress.wsf /Process:SCSICompliance /Duration:[RunDurationSeconds] /Device:[StorageDriveNumber] /Scenario:[Scenario]

Runs the SCSI Compliance test.

Note

   For command line help for this test binary, type /h.

 

File list

File Location

ntlog.dll

<osbinroot>\nttest\commontest\ntlog\

ntlogger.ini

<osbinroot>\nttest\commontest\ntlog\

Damx.exe

<testbinroot>\cstools\dam\

Stresslog.dll

<testbinroot>\nttest\basetest\core_file_services\shared_libs\

Fbslog.dll

<testbinroot>\nttest\basetest\core_file_services\shared_libs\fbslog\

Rapidfile.exe

<testbinroot>\nttest\basetest\core_file_services\shared_tests\wdk

ParseTrace.exe

<testbinroot>\nttest\driverstest\storage\sd\lowpower\

ConnectedStandbyIOStress.wsf

<testbinroot>\nttest\driverstest\storage\wdk\connectedstandy\

Wttlog_obj.js

<testbinroot>\nttest\driverstest\storage\wdk\

Scsicompliance.exe

<testbinroot>\nttest\driverstest\storage\wdk\

 

Parameters

Parameter name Parameter description
LLU_NetAccessOnly User account for accessing test fileshare.
LLU_LclAdminUsr User account for running the test.
DiskDeviceObjLink Assigned by Create Storage Parameters.
StorageDriveLetter Assigned by Create Storage Parameters.
StorageDriveNumber Assigned by Create Storage Parameters.
Destructive (0,1) 0=Passive, 1=Destructive