问题描述
您好,
我正在运行Anti-Virus Filter驱动程序测试,并在Installable File System Filter Test中遇到两次失败。 以下错误从NTFS卷上的测试日志中复制,但在除UDF之外的所有其他卷上都是类似的。
1.
1214.1218: + TEST + SEV2   :测试       :CreatePagingFileTest
Group       ;:OpenCreateGeneral
状态     :C000001E(IFSTEST_TEST_NTAPI_FAILURE_CODE)
LastNtStatus   :00000000 STATUS_SUCCESS
ExpectedNtStatus:C00000BB STATUS_NOT_SUPPORTED
说明 :{Msg#OpCreatG!crpagef!11b} NtCreatePagingFile应该是
           在UDFS上返回STATUS_NOT_SUPPORTED并且
           关于企业搬迁的STATUS_INVALID_DEVICE_REQUEST
            media.RemovableMedia 0,RemovalPolicy 2,VirtualDisk
            0
WDKTUID:A72C4D26-977B-19CB-2E11-D6F93917D718
testsrc\basetest\core_file_services\ifs_test_kit\code \\ main\main.c行:1275
错误类型:
错误代码: 0x0
错误文字: 错误0x00000000
失败 Repro: ifstest.exe g:-g Virus / n Ifstest-Local-NtfsResults.log / N 356789AB / T / p / m / E / j / rc:-d \ Ntfs -a \datacoh.exe / u ifstest / U * rw53w52
$
2.
1214.1218: + TEST + SEV2   :测试       :EncryptionAttributeTest
Group     :加密
状态     :C0000058(IFSTEST_TEST_WIN32_FAILURE)
说明 :{Msg#encrypt!encrattr!16}尝试时失败
            EncryptFile函数。 GetLastError()= 50预期
            5.此操作应该在此文件系统上失败
           因为不支持加密。
WDKTUID:A72C4D26-977B-19CB-2E11-D6F93917D718
testsrc\basetest\core_file_services \ifs_test_kit\code\main\main.c行:1275
错误类型:
错误代码: 0x0
错误文字: 错误0x00000000
失败 Repro: ifstest.exe g:-g Virus / n Ifstest-Local-NtfsResults.log / N 356789AB / T / p / m / E / j / rc:-d \ Ntfs -a \datacoh.exe / u ifstest / U * rw53w52
即使我卸下所有司机,测试也会失败。 这些失败对我来说没有任何意义:对于CreatePagingFileTest,为什么NtCreatePagingFile应该在_NTFS_上失败;对于EncryptionAttributeTest,使用错误代码50("不支持
请求")的EncryptFile调用失败似乎是明智的,这在Windows 8 Basic上不支持文件加密。
任何想法,我做错了什么或这是测试的问题? 关于EncryptionAttributeTest问题,我应该在Windows 8 Pro上进行测试吗?
最好的问候,Urmas
Hello,
I'm running tests for Anti-Virus Filter driver and getting two failures in Installable File System Filter Test. Below errors are copied from the log of test on NTFS volume but they are similar on all other volumes except UDF.
1.
1214.1218 : +TEST+SEV2 : Test :CreatePagingFileTest
Group :OpenCreateGeneral
Status :C000001E (IFSTEST_TEST_NTAPI_FAILURE_CODE)
LastNtStatus :00000000 STATUS_SUCCESS
ExpectedNtStatus :C00000BB STATUS_NOT_SUPPORTED
Description :{Msg# OpCreatG!crpagef!11b} NtCreatePagingFile should
return STATUS_NOT_SUPPORTED on UDFS and
STATUS_INVALID_DEVICE_REQUEST on a suprise removal
media.RemovableMedia 0, RemovalPolicy 2, VirtualDisk
0
WDKTUID: A72C4D26-977B-19CB-2E11-D6F93917D718
testsrc\basetest\core_file_services\ifs_test_kit\code\main\main.c Line: 1275
Error Type:
Error Code: 0x0
Error Text: Error 0x00000000
Fail Repro: ifstest.exe g: -g Virus /n Ifstest-Local-NtfsResults.log /N 356789AB /T /p /m /E /j /r c: -d \Ntfs -a \datacoh.exe /u ifstest /U *rw53w52
2.
1214.1218 : +TEST+SEV2 : Test :EncryptionAttributeTest
Group :Encryption
Status :C0000058 (IFSTEST_TEST_WIN32_FAILURE)
Description :{Msg# encrypt!encrattr!16} Failure while attempting
the EncryptFile function. GetLastError() = 50 expected
5. This operation should have failed on this filesystem
since encryption is not supported.
WDKTUID: A72C4D26-977B-19CB-2E11-D6F93917D718
testsrc\basetest\core_file_services\ifs_test_kit\code\main\main.c Line: 1275
Error Type:
Error Code: 0x0
Error Text: Error 0x00000000
Fail Repro: ifstest.exe g: -g Virus /n Ifstest-Local-NtfsResults.log /N 356789AB /T /p /m /E /j /r c: -d \Ntfs -a \datacoh.exe /u ifstest /U *rw53w52
The tests will fail even if I unload all of our drivers. These failures make no sense to me: for CreatePagingFileTest why is NtCreatePagingFile expected to fail on _NTFS_; for EncryptionAttributeTest the EncryptFile call failure with error code 50 ("The request is not supported") seems sensible, this being on Windows 8 Basic that does not support file encryption.
Any ideas, am I doing something wrong or is this a problem with the tests? Regarding the EncryptionAttributeTest issue, should I be testing on Windows 8 Pro instead?
Best Regards, Urmas
推荐答案
我的驱动程序是一个简单的活动监视器迷你过滤器。 这对我来说就像是测试配置或HCK软件的问题。 与您的情况一样,即使没有我们的驱动程序,测试也会失败。
My driver is a simple activity monitor mini filter. This looks to me like an issue with the test configuration or the HCK software somehow. As in your case, the test fails even without our driver on the stack.
由于此错误,Microsoft拒绝了我的提交。 我也需要帮助!
Microsoft rejected my submission because of this error. I need help too!
来自MS的某人请回复此主题和/或我发送的电子邮件[email protected]?
Someone from MS please respond to this thread, and/or the emails I keep sending [email protected]?
这篇关于可安装的文件系统过滤器使用CreatePagingFileTest和EncryptDecryptFileTest测试失败的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!