“针对单个INF运行INFTest”失败 - 无法找到inf [英] "Run INFTest against a single INF" fails - cannot find inf

查看:115
本文介绍了“针对单个INF运行INFTest”失败 - 无法找到inf的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们正在尝试签署一个驱动程序,从而在DTM 1.6中运行驱动程序测试(截至12月12日应用了所有最新的过滤器)。

所有测试都通过了除外针对单个INF运行INFTest - 这会失败。

完整日志如下所示。

当我对.inf文件运行chkinf时 - 我收到一些警告但没有错误。它通过。

当我对.inf文件运行inftest时,它会通过。

但是当在DTM中运行时,这会失败。

We are trying to get a driver signed, thus running the driver tests in DTM 1.6 (with all the latest filters applied as of Dec '12).
All tests pass except for Run INFTest against a single INF - this fails.
The full log follows below.
When I run chkinf against the .inf file - I get some warnings but no errors. It passes.
When I run inftest against the .inf file, it passes.
However when run in DTM, this fails.

我看到的问题是DTM查找测试计算机上安装的.inf文件,并将该inf文件(在c:\windows \ inff中找到)传递给测试。但是,在这种情况下,它无法找到inf文件(虽然我可以在inf目录中看到它)和
因此chkinf失败,因为没有指定.inf文件。我根据chkinf的命令行选项确定了这个:-l C:\ Windows \ infs; \\ n  <期望的文件是空白的,传入的所有内容都是一个目录,没有inffile。"

The issue I see is that DTM looks for the .inf file as installed on the test machine and passes that inf file (found in c:\windows\inf) to the test. In this case however, it fails to find the inf file (although I can see it there in the inf directory) and so chkinf fails as no .inf file is specified. I determine this based on the commandline option for chkinf: -l C:\Windows\inf\  <the expected file is blank, all that is passed in is a directory, no inffile).

我重新加载了驱动程序并使用相同的驱动程序重新创建了一个提交。我尝试过其他一些不同的东西,都无济于事。我不明白为什么DTMs DeviceConsole找不到inf文件。

I've reloaded the driver and recreated a submission using the same driver. I've tried a few other various things, all to no avail. I dont understand why DTMs DeviceConsole cannot find the inf file.

问题:

1.可能出错的地方以及如何解决?

2. DTM如何在测试机器上查找驱动程序(或许我可以进行一些挖掘以找出DTM找不到它的原因)。这一切都在幕后,因此很难解决问题。

Questions:
1. what could possibly be wrong and how do I fix it?
2. how does DTM look for the driver on the test machine (perhaps I can then do some digging to find out why DTM is not finding it). This is all under the covers, so it is extremely difficult to troubleshoot issues.

我的问题是在Windows Server 2008 R2 x64上使用NDIS 过滤器驱动程序。

My issue is with a NDIS filter driver on Windows Server 2008 R2 x64.

==

完成测试日志

运行时间1/11/2013 8:42:24.359 AM _ 

运行时索引:   3493357417
$
机器:   DTM-R2-ACGW

流程名称:   C:\ WLK\JobsWorkingDir \Tasks \ WTTJobRunBECCEA6B-F17A-47A0-9C2A-C1B08A13422B \ infstest.exe


流程ID:   1432

主题ID:   2608

背景_  _&NBSP;

背景指数:   384048256
$
目前:   WTTLOG

家长:   ROOT

计算机1/11/2013 8:42:24.359 AM _ 

操作系统:   Windows Server 2008 R2 Enterprise

版本:   6.1.7601.1130 x86 

语言:  英语(美国)(REDMOND)

构建字符串:   win7sp1_rtm-101119-1850

背景_  _&NBSP;

背景指数:   2439827631
$
当前:   FABBDC82-BACD-4D23-A2D7-30219463EB0E

父母:   WTTLOG

开始测试2013年1月11日8:42:24.359 AM Inftest

错误1/11/2013 8:42:24.359 AM无法找到用户指定的INF文件。纾困...


档案:   d:\ 6229 \sdktools \ddk\tools\inftest\wttlog.cpp行:272

错误类型:   WIN32

错误代码:   0x6

错误文字:  句柄无效。

断言1/11/2013 8:42:24.359 AM无法将用户提供的inf列表扩展为单个文件名。

:有关详细信息,请参阅inftestdbg.log />
文件:   chkinf.bat Line:1

End Test 1/11/2013 8:42:24.359 AM Inftest

结果:  失败

Repro:   " C:\WLK\JobsWorkingDir\Tasks\WTTJobRunBECCEA6B-F17A-47A0-9C2A-C1B08A13422B\i386\inftest.exe" -wdk -p C:\ WLK\JobsWorkingDir \Tasks\WTTJobRunBECCEA6B-F17A-47A0-9C2A-C1B08A13422B -f / LG -l C:\ Windows\inf \


通过/未通过结果汇总计数1/11/2013 8:42:24.359 AM _ 

总计:   1
$
通过:   0

失败:   1

被阻止:   0

警告:   0

跳过:   0

Complete Test Log
Runtime 1/11/2013 8:42:24.359 AM _ 
Runtime Index:   3493357417
Machine:   DTM-R2-ACGW
Process Name:   C:\WLK\JobsWorkingDir\Tasks\WTTJobRunBECCEA6B-F17A-47A0-9C2A-C1B08A13422B\inftest.exe
Process ID:   1432
Thread ID:   2608
Context _  _ 
Context Index:   384048256
Current:   WTTLOG
Parent:   ROOT
Computer 1/11/2013 8:42:24.359 AM _ 
OS:   Windows Server 2008 R2 Enterprise
Version:   6.1.7601.1130 x86 
Language:   English (US) (REDMOND)
Build String:   win7sp1_rtm-101119-1850
Context _  _ 
Context Index:   2439827631
Current:   FABBDC82-BACD-4D23-A2D7-30219463EB0E
Parent:   WTTLOG
Start Test 1/11/2013 8:42:24.359 AM Inftest
Error 1/11/2013 8:42:24.359 AM Could not find user specified INF files. Bailing out ...
File:   d:\6229\sdktools\ddk\tools\inftest\wttlog.cpp Line: 272
Error Type:   WIN32
Error Code:   0x6
Error Text:   The handle is invalid.
Assertion 1/11/2013 8:42:24.359 AM Could not expand user supplied lists of infs into individual filenames.
: See inftestdbg.log for more information
File:   chkinf.bat Line: 1
End Test 1/11/2013 8:42:24.359 AM Inftest
Result:   Fail
Repro:   "C:\WLK\JobsWorkingDir\Tasks\WTTJobRunBECCEA6B-F17A-47A0-9C2A-C1B08A13422B\i386\inftest.exe" -wdk -p C:\WLK\JobsWorkingDir\Tasks\WTTJobRunBECCEA6B-F17A-47A0-9C2A-C1B08A13422B -f /LG -l C:\Windows\inf\
Pass/Fail Result Rollup Counts 1/11/2013 8:42:24.359 AM _ 
Total:   1
Passed:   0
Failed:   1
Blocked:   0
Warned:   0
Skipped:   0

推荐答案

我与winqual取得了联系并收到了回复。这是他们对我的回复:

I got in touch with and heard back from winqual. This is their response to me:

"你可以使用Errata 2111来解决这个问题。"

"You can use Errata 2111 for this failure it is known issue."

不确定是否将适用,但有一些尝试。希望这会在他们遇到这个问题时帮助他人。

Not sure if it will be applicable, but something to try. Hopefully that will help others out when they run into this.


这篇关于“针对单个INF运行INFTest”失败 - 无法找到inf的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆