Failure with Device Path Exerciser Test

Hi!

I’m developing a USB Driver, and I encountered a failure in the
DevPathExer test. From examining the infrastructure logs I have found 2
kinds of errors:

1) Computer not registered

CJob::Initialize : Recovering From Reboot
CJob::Initialize : Job Category Before Reboot 0
CJob::PopulateDependencyList : Task “RunJob: Copy Setupapi Logs” Depends
on Task “RunJob: Device - Disable Driver Verifier” in Category “Cleanup”
CJob::PopulateDependencyList : Task “RunJob: Device - Ensure verifier
mode and system mode” Depends on Task “RunJob: Device - Enable driver
verifier” in Category “Setup”
CJob::PopulateDependencyList : Task “RunJob: Device - Enable driver
verifier” Depends on Task “STORAGE: Copy Disk Import Scripts” in
Category “Setup”
CJob::PopulateDependencyList : Task “RunJob: Device - Disable Driver
Verifier” Depends on Task “STORAGE: Run disk import for any foreign
disks” in Category “Cleanup”
CJob::Initialize : Recovering From Reboot
CJob::Initialize : Job Category Before Reboot 0
Warn: FnExit: CheckHB: It is local computer name or there are 0
computers registered
File=d:\6120\sdktools\wtt\jobs\runtime\wttexecutionagent\eamanager\hb\src\hb.cpp,
Line=593
CHeartBeat::Init : starting HB with Interval 1800000 ms Expiry 7200000 ms
MachineCount 1
Warn: FnExit: CheckHB: It is local computer name or there are 0
computers registered
File=d:\6120\sdktools\wtt\jobs\runtime\wttexecutionagent\eamanager\hb\src\hb.cpp,
Line=593
Error: 0x57, The parameter is incorrect. FnExit: AddComputer: bad
param
File=d:\6120\sdktools\wtt\jobs\runtime\wttexecutionagent\eamanager\hb\src\hb.cpp
Line=644
Error: 0x57, The parameter is incorrect. Failed in
CHeartBeat::AddComputer ()
File=d:\6120\sdktools\wtt\jobs\runtime\wttexecutionagent\eamanager\hb\src\hb.cpp
Line=697

  1. NetUserGetInfo failure

CTask::ResolveParameters : Parameter Evaluated String “cmd /c
DevPathExer.exe /lwa /HCT /dr “[WDKDriverName]”” to “cmd /c
DevPathExer.exe /lwa /HCT /dr “huawei_cdcncm””
CTask::ResolveParameters : Parameter Evaluated String
“C:\WTT\JobsWorkingDir\Tasks\WTTJobRun5CB4F245-5CBD-4499-83C1-47BE18DD44BE”
to
“C:\WTT\JobsWorkingDir\Tasks\WTTJobRun5CB4F245-5CBD-4499-83C1-47BE18DD44BE”
Warn: (Warning ( status = 1355 ) in call: DsGetDcName(NULL, m_lpszDomain
,NULL, NULL,0,&pDomainControllerInfo) )
File=d:\6120\sdktools\wtt\jobs\runtime\wttexecutionagent\coreea\executiontask\src\executiontask.cpp,
Line=2419
Warn: ExecuteTask : NetUserGetInfo Failed for user "" with ErrorCode
2221
File=d:\6120\sdktools\wtt\jobs\runtime\wttexecutionagent\coreea\executiontask\src\executiontask.cpp,
Line=2424
Warn: (Warning ( BOOL is FALSE ) ErrorCode 87 from Call
LoadUserProfile(m_hAccessToken, &m_ProfileInfo))
File=d:\6120\sdktools\wtt\jobs\runtime\wttexecutionagent\coreea\executiontask\src\executiontask.cpp,
Line=2435
AppendEnvVariable : Adding
WttTaskGuid=8DA1769B-003D-438B-8C5E-9AD5311C4943 Env Variable
AppendEnvVariable : Adding
WTTRunWorkingDir=C:\WTT\JobsWorkingDir\Tasks\WTTJobRun5CB4F245-5CBD-4499-83C1-47BE18DD44BE
Env Variable
ExecuteTask : Creating Process as user with CmdLine “cmd /c
DevPathExer.exe /lwa /HCT /dr “huawei_cdcncm””
WTTProtocolTCPIP::ClientOpen : 1 More Identifiers to be Tried
AsyncManagerThread::EA:TaskUpdateToController:PassedVISTA32BIT->ST-LAB-WHQL:
WTTProtocolTCPIP::ClientOpen : Trying Identifier 10.71.3.15
AsyncManagerThread::EA:TaskUpdateToController:PassedVISTA32BIT->ST-LAB-WHQL:
Entering COMM receive
AsyncManagerThread::EA:TaskUpdateToController:PassedVISTA32BIT->ST-LAB-WHQL:
WTTProtocolTCPIP::ClientOpen : 1 More Identifiers to be Tried
AsyncManagerThread::EA:TaskUpdateToController:NotCompleteVISTA32BIT->ST-LAB-WHQL:
WTTProtocolTCPIP::ClientOpen : Trying Identifier 10.71.3.15
AsyncManagerThread::EA:TaskUpdateToController:NotCompleteVISTA32BIT->ST-LAB-WHQL:
Entering COMM receive
AsyncManagerThread::EA:TaskUpdateToController:NotCompleteVISTA32BIT->ST-LAB-WHQL:
CTask::Cleanup : Task “Run Device Path Exerciser” Running…Will Call
InternalTask->Cleanup
Failing the TaskResults with ExitCode 1
CTask::RecoverAfterReboot : Unable to get Internal Config Value
“RebootFlag”
CExecutionTask::Cleanup : Task “Run Device Path Exerciser” Exited With
Exit Code 1
ExecuteTask::ParseLogFile : No LogFileName : NO LogFileData…Will Look
for default Task Guid XML
CExecutionTask::ParseLogFile : Trying to Find
“C:\WTT\JobsWorkingDir\Tasks\WTTJobRun5CB4F245-5CBD-4499-83C1-47BE18DD44BE\8DA1769B-003D-438B-8C5E-9AD5311C4943.xml”
LogFile
Task Guid File Name
C:\WTT\JobsWorkingDir\Tasks\WTTJobRun5CB4F245-5CBD-4499-83C1-47BE18DD44BE\8DA1769B-003D-438B-8C5E-9AD5311C4943.xml

Pass : 0 Fail : 1 NotRun : 0 NotApplicable : 0
ExecuteTask : Parse TaskGuid XML Succeded
Build No Greater than 4000. This is a Windows Vista Machine
Single User TS Enabled
Comparing ST-LAB-WHQL vista32bit 10
Logon Netonly
GetUserToken : Returns 0
FindFileAndCopy : SrcDrive C: SrcDir
\WTT\JobsWorkingDir\Tasks\WTTJobRun5CB4F245-5CBD-4499-83C1-47BE18DD44BE\
SrcFileName 8DA1769B-003D-438B-8C5E-9AD5311C4943 SrcExt .xml
FindFileAndCopy : DestDrive DestDir
\st-lab-whql\DTMLogs\328697DA-32C9-47A2-9053-B01342D41F74\27A0EDCE-7CC9-4CFF-BAF1-B823E374ADAF\8DA1769B-003D-438B-8C5E-9AD5311C4943\
DestFileName DestExt
FindFileAndCopy : Searching Pattern
C:\WTT\JobsWorkingDir\Tasks\WTTJobRun5CB4F245-5CBD-4499-83C1-47BE18DD44BE\8DA1769B-003D-438B-8C5E-9AD5311C4943.xml

FindFileAndCopy : Copying File From
C:\WTT\JobsWorkingDir\Tasks\WTTJobRun5CB4F245-5CBD-4499-83C1-47BE18DD44BE\8DA1769B-003D-438B-8C5E-9AD5311C4943.XML
to
\st-lab-whql\DTMLogs\328697DA-32C9-47A2-9053-B01342D41F74\27A0EDCE-7CC9-4CFF-BAF1-B823E374ADAF\8DA1769B-003D-438B-8C5E-9AD5311C4943\8DA1769B-003D-438B-8C5E-9AD5311C4943.XML

FindFileAndCopy : SrcDrive C: SrcDir
\WTT\JobsWorkingDir\Tasks\WTTJobRun5CB4F245-5CBD-4499-83C1-47BE18DD44BE\
SrcFileName DevPathExer SrcExt .xml
FindFileAndCopy : DestDrive DestDir
\st-lab-whql\DTMLogs\328697DA-32C9-47A2-9053-B01342D41F74\27A0EDCE-7CC9-4CFF-BAF1-B823E374ADAF\8DA1769B-003D-438B-8C5E-9AD5311C4943\
DestFileName DestExt
FindFileAndCopy : Searching Pattern
C:\WTT\JobsWorkingDir\Tasks\WTTJobRun5CB4F245-5CBD-4499-83C1-47BE18DD44BE\DevPathExer.xml

FindFileAndCopy : Copying File From
C:\WTT\JobsWorkingDir\Tasks\WTTJobRun5CB4F245-5CBD-4499-83C1-47BE18DD44BE\DevPathExer.xml
to
\st-lab-whql\DTMLogs\328697DA-32C9-47A2-9053-B01342D41F74\27A0EDCE-7CC9-4CFF-BAF1-B823E374ADAF\8DA1769B-003D-438B-8C5E-9AD5311C4943\DevPathExer.xml

FindFileAndCopy : SrcDrive C: SrcDir
\WTT\JobsWorkingDir\Tasks\WTTJobRun5CB4F245-5CBD-4499-83C1-47BE18DD44BE\
SrcFileName DevPathExer SrcExt .xml
FindFileAndCopy : DestDrive DestDir
\st-lab-whql\DTMLogs\328697DA-32C9-47A2-9053-B01342D41F74\27A0EDCE-7CC9-4CFF-BAF1-B823E374ADAF\8DA1769B-003D-438B-8C5E-9AD5311C4943\
DestFileName DestExt
FindFileAndCopy : Searching Pattern
C:\WTT\JobsWorkingDir\Tasks\WTTJobRun5CB4F245-5CBD-4499-83C1-47BE18DD44BE\DevPathExer.xml

FindFileAndCopy : Copying File From
C:\WTT\JobsWorkingDir\Tasks\WTTJobRun5CB4F245-5CBD-4499-83C1-47BE18DD44BE\DevPathExer.xml
to
\st-lab-whql\DTMLogs\328697DA-32C9-47A2-9053-B01342D41F74\27A0EDCE-7CC9-4CFF-BAF1-B823E374ADAF\8DA1769B-003D-438B-8C5E-9AD5311C4943\DevPathExer.xml

Warn: (Warning ( BOOL is FALSE ) ErrorCode 6 from Call
CloseHandle(ProcessInfo.hProcess))
File=d:\6120\sdktools\wtt\jobs\runtime\wttexecutionagent\coreea\executiontask\src\executiontask.cpp,
Line=2112
Warn: (Warning ( BOOL is FALSE ) ErrorCode 6 from Call
CloseHandle(ProcessInfo.hThread))
File=d:\6120\sdktools\wtt\jobs\runtime\wttexecutionagent\coreea\executiontask\src\executiontask.cpp,
Line=2113
EA: MessageDelivery: Sending message to DB router with RetryInterval 15
Timeout 71 EA:TaskUpdateToController:Failed
Entering AsyncManager::addmessage EA:TaskUpdateToController:Failed
EA: MessageDelivery: Finished sending message to DB router
EA:TaskUpdateToController:Failed
EA: MessageDelivery: Sending message to DB router with RetryInterval 15
Timeout 71
Entering AsyncManager::addmessage
EA: MessageDelivery: Finished sending message to DB router
Error: 0x8201adb2, Error 0x8201adb2
CExecutionTask::Cleanup()::(null)::CAUSE:The Execute Task with
Commandline cmd /c DevPathExer.exe /lwa /HCT /dr “huawei_cdcncm” Failed
with ExitCode 1
File=d:\6120\sdktools\wtt\jobs\runtime\wttexecutionagent\coreea\executiontask\src\executiontask.cpp
Line=1436
WTTProtocolTCPIP::ClientOpen : 1 More Identifiers to be Tried
AsyncManagerThread::EA:TaskUpdateToController:FailedVISTA32BIT->ST-LAB-WHQL:
WTTProtocolTCPIP::ClientOpen : Trying Identifier 10.71.3.15
AsyncManagerThread::EA:TaskUpdateToController:FailedVISTA32BIT->ST-LAB-WHQL:
Error: 0x8201aeac, Error 0x8201aeac
CTaskResults::ParseTaskGuidXML()::(null)::CAUSE:Task is Marked Failed as
it had non-zero Fail Counts in the LogFile
File=d:\6120\sdktools\wtt\jobs\runtime\wttexecutionagent\common\taskresults\src\taskresults.cpp
Line=324
Error: 0x8201aeac, Error 0x8201aeac
CExecutionTask::Cleanup()::(null)::CAUSE:Task “Run Device Path
Exerciser” is Marked Failed From the LogFile
File=d:\6120\sdktools\wtt\jobs\runtime\wttexecutionagent\coreea\executiontask\src\executiontask.cpp
Line=1601


What can cause those problems?

Thanks!

Elyashiv Lavi wrote:

I’m developing a USB Driver, and I encountered a failure in the
DevPathExer test. From examining the infrastructure logs I have found
2 kinds of errors:

Are you running this by itself, or under DTM? It almost looks like
you’re running the DTM client on the same computer as the DTM studio.


Tim Roberts, xxxxx@probo.com
Providenza & Boekelheide, Inc.

Yes. I run the test itself from the Testing computer. Does it affects the results? I receive the same results when running tests from DTM Server.

The logs you posted are not very useful. Can you run DevPathExer.exe on your test machine directly and post the logs? You can find DevPathExer.exe on DTM server under where DTM is installed.

This is the cmd to run DevPathExer.exe:
DevPathExer.exe /lwa /HCT /dr “huawei_cdcncm”