"Win8 LoadGen Server Stress - Start Test for Server" test fails with the following error message "Main::RunMain:: Test Check Spsrv stopped and did not pass required pass percentage (100) (Error=0x80004005)"

Applies to: Windows Server 2008 R2 DatacenterWindows Server 2008 R2 EnterpriseWindows Server 2008 R2 Standard

Symptoms


When Loadgen (Server Stress) is run as part of the testing required for Windows Server 2012 or Windows Server 2008 R2 Certification, in Phase 4 of testing you may see error messages in the Master Client (MC) system checkspsrv.xml file such as; 

"Trying to contact remote spsrv service on machine "machinename" CA="a number" LA="a number"
After some period of time, a further error message may appear, "Cannot contact Spsrv service on machine "machinename" before timeout" CA="a number" LA="another number"

In the SRVLog.xml file you may see - "Win8 LoadGen Server Stress - Start Test for Server test fails with the following error message: "Main::RunMain:: Test Check Spsrv stopped and did not pass required pass percentage (100) (Error=0x80004005)""

Cause


This error may be caused by several issues, such as loss of network connectivity between the MC and the Server System Under Test (SUT), but can also be caused by a bug. The root cause of this failure may be that the SUT computer name has 15 characters (the maximum allowed by Windows), but checkspsrv.exe can only handle computer names with 14 characters or less, due to an off-by-one error in the code.

Resolution


To workaround this issue:

1) Close HCK Studio
2) Change the SUT computer name
a. Connect to the SUT
b. Change the SUT computer name to 14 characters or less
c. Reboot the SUT
d. Wait for the SUT to restart
3) Open HCK Studio
4) Re-run “Win8 LoadGen Server Stress - Start Test for Server"

More Information


The SRVlog.xml can be accessed by clicking on the Results tab in HCK Studio and expanding logs for the failed test.

Prerequisites

Windows Hardware Certification Kit

Testing of either Windows Server 2012, or Windows Server 2008 R2.

Restart Requirement

A Restart of the system is required whenever a system computer name is changed