Hello Siva,
Thanks for your information.
I did a deeper check for several hours. And I think I have some clue.
Every time I run the DTM Job, it creates a dynamic location, something like
cmd /c set path=%path%;C:\WTT\JobsWorkingDir\Tasks\WTTJobRunF229E800-4AE0-4F1A-8512-512A5812679C && “C:\WTT\JobsWorkingDir\Tasks\WTTJobRunF229E800-4AE0-4F1A-8512-512A5812679C\i386\inftest.exe” -wdk -p C:\WTT\JobsWorkingDir\Tasks\WTTJobRunF229E800-4AE0-4F1A-8512-512A5812679C -f /LG -l %windir%\inf\
It tries to set the PATH environment variable in the DTM-Client PC.
But observed that, this dynamic created location is not exists in my DTM-Client PC.
So this task basically failed as it can not execute the inftest.exe file.
In the xml log file it says to look at the inftestdbg.log file. So I checked in that file. It was written as below:
Inftest is running …
Command line: “C:\WTT\JobsWorkingDir\Tasks\WTTJobRunF229E800-4AE0-4F1A-8512-512A5812679C\i386\inftest.exe”? -wdk -p C:\WTT\JobsWorkingDir\Tasks\WTTJobRunF229E800-4AE0-4F1A-8512-512A5812679C -f /LG -l C:\Windows\inf\
Current directory : C:\WTT\JobsWorkingDir\Tasks\WTTJobRunF229E800-4AE0-4F1A-8512-512A5812679C
Passing extra flags to Chkinf: /LG
FindPerl : ChkinfPath = C:\WTT\JobsWorkingDir\Tasks\WTTJobRunF229E800-4AE0-4F1A-8512-512A5812679C
FindPerl : perl.exe found on the system!
Setting chkinf directory as : C:\WTT\JobsWorkingDir\Tasks\WTTJobRunF229E800-4AE0-4F1A-8512-512A5812679C\chkinf.bat
Processing command line …
Find First File operation failed! Bailing out …
Could not find user specified INF files. Bailing out …Could not expand user supplied lists of infs into individual filenames.
Running InfTest : Could not expand user supplied list of infs.
Clearing list of infs …
Processing command line … DONE!
The inftest check failed to run. Please check the debug logs for more information.
As it says
Find First File operation failed! Bailing out …
So this message comes for not finding the desired file.
Ultimately this test is FAILED!
So Can I guess this is my DTM Studio/Controller configuration problem ?
Any Idea ?
James
— On Fri, 8/21/09, sivakumar thulasimani wrote:
> From: sivakumar thulasimani
> Subject: Re: [ntdev] [DTM Testing] INF Testing Failed
> To: “Windows System Software Devs Interest List”
> Date: Friday, August 21, 2009, 2:43 PM
> James,
> ???From what you are?telling it seems you
> did not provide any inf?path?in the test parameters.?Copy
> the inf file to say c: and when you schedule the inf test i
> think you have to specify the path to the file like
> “c:\yourinf.inf”? in one of the parameters.
> Think the parameter name is “PATH” check with the
> wdk documentation on the exact details of these. Now if you
> run the test with the path in parameter, wdk will be able to
> find your inf file.
>
>
> ?
> -rtshiva
>
>
> On Fri, Aug 21, 2009 at 2:36 PM,
> James Rassel
> wrote:
>
> Thank
> you for giving advice.
>
> We have FIXED our INF file and remove all the ERROR
> and do the DTM test again. But getting the same problem.
>
>
>
> One strange thing is, following path even does not exits
> that is written in the error log file:
>
> - > File=“d:\5289\sdktools\ddk\tools\inftest\wttlog.cpp”
> Line=“272” …
>
>
> did you give the INF path in one of the parameters ? try
> moving it to some path that does not contain spaces
>
> >>Our INF file is in C:\Windows\inf
> directory, and as we know this is the default directory to
> look the inf file. Could you please tell which path you are
> indicating. But C:\Windows\inf is not in the PATH
> environment variable.
>
>
>
>
> =====================================================================
> Additionally I am posing other log information that may
> help
> =====================================================================
> log.xml
>
>
> ---------------------------------------------------------------------
> -
> -
> - > ResourceName=“WINDIWS7-PC”
> MessageTime=“2009-08-21T05:55:00.387”>
>
>
> -
> - > INFTest Library Job" As Failed as the LibraryJob
> “CHKINF and INFTest Library Job” has Failed"
> Hresult=“0x8201b0ab”
> File=“e:\6120\sdktools\wtt\jobs\runtime\wttexecutionagent\coreea\runjobtask\src\runjobtask.cpp”
> Line=“246”
> Function=“CRunJobTask::Cleanup”
> Machine=“WINDIWS7-PC”>
>
>
> ?The Library job that was called by this
> RunJob task has failed. Hence this RunJob task will also be
> marked failed.
> ?
> ?
> ?The task found to be failed. Look at
> the inner errors to find out why the task is
> failed.
>
>
> ?
> ?
> ?> XSLTDirectory=“\XSLTs\ErrorView”
> Title=“Result Error” />
> ?
>
> =====================================================================
>
>
> log2.xml
> ---------------------------------------------------------------------
>
> -
> -
> - > ResourceName=“WINDIWS7-PC”
> MessageTime=“2009-08-21T05:55:00.293”>
>
>
> -
> - > INFTest Library Job"" Cause=“Job Failed
> because Task “Run INF Test” Failed with Failure
> Action FailAndContinue” Hresult=“0x8201acad”
> File=“e:\6120\sdktools\wtt\jobs\runtime\wttexecutionagent\coreea\job\src\job.cpp”
> Line=“2179”
> Function=“CJob::HandleFailureAction”
> Machine=“WINDIWS7-PC”>
>
>
> ?Job was found to have failed. Look at
> the inner errors to find out why.
> ?
> ?
> ?Job was found to have failed. Look at
> the inner errors to find out why.
>
>
> ?
> - > ResourceName=“WINDIWS7-PC”
> MessageTime=“2009-08-21T05:55:00.167”>
> -
> - > INF Test" is Marked Failed From the LogFile"
> Hresult=“0x8201aeac”
> File=“e:\6120\sdktools\wtt\jobs\runtime\wttexecutionagent\coreea\executiontask\src\executiontask.cpp”
> Line=“1601”
> Function=“CExecutionTask::Cleanup”
> Machine=“WINDIWS7-PC”>
>
>
> - > Hresult=“0x8201aeac”
> File=“e:\6120\sdktools\wtt\jobs\runtime\wttexecutionagent\common\taskresults\src\taskresults.cpp”
> Line=“324”
> Function=“CTaskResults::ParseTaskGuidXML”
> Machine=“WINDIWS7-PC”>
>
>
> - > -wdk -p
> C:\WTT\JobsWorkingDir\Tasks\WTTJobRun1D2535AC-6659-4BE4-8D69-A18EAE78D789
> -f /LG -l %windir%\inf\ Failed with ExitCode 1"
> Hresult=“0x8201adb2”
> File=“e:\6120\sdktools\wtt\jobs\runtime\wttexecutionagent\coreea\executiontask\src\executiontask.cpp”
> Line=“1436”
> Function=“CExecutionTask::Cleanup”
> Machine=“WINDIWS7-PC”>
>
>
> ?The task exited with an ExitCode other
> than the ExpectedTaskExitCode. This may cause the Task to
> Fail if it is set to Fail On Exit Code
> ?
> ?The task was marked failed after
> parsing the log file.
>
>
> ?
> ?The task was marked failed after
> parsing the log file.
> ?
> ?
> ?The task found to be failed. Look at
> the inner errors to find out why the task is
> failed.
>
>
> ?
> ?
> ?> XSLTDirectory=“\XSLTs\ErrorView”
> Title=“Result Error” />
> ?
>
>
> — On Thu, 8/20/09, Tim Roberts
> wrote:
>
> > From: Tim Roberts
> > Subject: Re: [ntdev] [DTM Testing] INF Testing Failed
>
>
> > To: “Windows System Software Devs Interest
> List”
> > Date: Thursday, August 20, 2009, 10:35 PM
>
>
>
> > James Rassel wrote:
> > > I have checked my INF file with the chkinf.bat
> file
> > and I get the following error and warning
> > >
> > > For those ERROR and WARNING, I do not know how
> to
>
>
> > solve
> > > followings. Have any idea ?
> > >
> > > Line 19: ERROR: (E22.1.1003) Section [SOURCENEXT]
> not
> > defined.
> > >???
> >
> > This is pointing out a likely spelling error.? You
>
>
> > have a line that
> > referring to a section called [SourceNext] but that
> section
> > was not
> > found.? Since you didn’t post the INF, we
> can’t tell
> > you how this came
> > to be.
> >
>
>
> > > Line 4: WARNING: (W22.1.2215) Class ddrv
> (ClassGUID
> > > {8ECC055D-047F-11D1-A537-0000F8753ED2}) is
> > unrecognized.
> > >???
> >
> > Well, you made that class up, right?? It’s not
>
>
> > surprising that it would
> > be unrecognized.? Assuming you did intend to make up
> > your own class,
> > that’s not an error.? ChkInf is just telling you
> “by
> > the way, because
> > this is a custom class, I can’t check any
> class-specific
>
>
> > stuff.”
> >
> > By the way, I see there is already a class
> LegacyDriver
> > with a GUID that
> > is 1 below that one.? That is NOT a good way to
> create
> > new GUIDs.? In
> > particular, that is a “type 1” GUID, where
> the last 6 bytes
>
>
> > are the MAC
> > address of the primary NIC on the machine that
> created
> > it.? Since there
> > probably IS a network device with the MAC address you
> > chose, you are
> > interfering with the guarantee of uniqueness.?
> Always
>
>
> > use guidgen or
> > uuidgen to create a new GUID.
> >
> > –
> > Tim Roberts, xxxxx@probo.com
> > Providenza & Boekelheide, Inc.
> >
> >
> > —
>
>
> > NTDEV is sponsored by OSR
> >
> > For our schedule of WDF, WDM, debugging and other
> seminars
> > visit:
> > http://www.osr.com/seminars
> >
>
>
> > To unsubscribe, visit the List Server section of OSR
> Online
> > at http://www.osronline.com/page.cfm?name=ListServer
> >
>
>
>
>
>
>
>
> —
> NTDEV is sponsored by OSR
>
> For our schedule of WDF, WDM, debugging and other seminars
> visit:
> http://www.osr.com/seminars
>
> To unsubscribe, visit the List Server section of OSR Online
> at http://www.osronline.com/page.cfm?name=ListServer
>
>
>
>
>
> —
> NTDEV is sponsored by OSR
>
> For our schedule of WDF, WDM, debugging and other seminars
> visit:
> http://www.osr.com/seminars
>
> To unsubscribe, visit the List Server section of OSR Online
> at
> http://www.osronline.com/page.cfm?name=ListServer