none
SensorHub WHCK Test: Sensor Missing Property fail RRS feed

  • 常规讨论

  • HI,

    we are test whck for the sensor hub, but there is a item named "Sensor Missing Proporty" is failed, see the following:

    -------------------------------------------------------------------------------------------------------------------------------------------------------

    File=testsrc\driverstest\mobilepc\sensors\drivers\wlk\sensorlocationtests\missingpropertytest.cpp Line=89

    End:Fail,MISSING_PROPERTY_VALIDATION,TUID=B9AA9A48-CB38-4B37-9725-26F4B7CAD09B, Repro=SensorLocationTests.exe   /test:missing_property

    Does anyone know how to fix this bug?


    2014年8月7日 6:05

全部回复

  • 需要在HCK Studio里查看log。能提供更完整的log信息吗?


    http://whqlcn.wordpress.com

    2014年8月11日 2:45
    版主
  • 完整的错误log信息如下:


    +<Msg LA="2471739" CA="2471680" UserText="Successfully retrieved Sensor from SensorCollection, Index: 1">


    +<Msg LA="2474734" CA="2474676" UserText="# Function Enter: MissingPropertyReturnsCorrectResult ">


    +<Msg LA="2477880" CA="2477823" UserText="# Function Enter: GetMissingPropertyReturnsCorrectResult ">


    +<Msg LA="2481055" CA="2480963" UserText="Successfully created IPortableDeviceValues: Output value for request to GetProperties">


    +<Msg LA="2484578" CA="2484504" UserText="Successfully created IPortableDeviceKeyCollection: Input value for request to GetProperties">


    +<Msg LA="2487621" CA="2487557" UserText="Successfully added PropertyKey to IPortableDeviceKeyCollection.">


    +<Msg LA="2492343" CA="2492281" UserText="Sensor returned S_FALSE to request for missing property.">


    +<Msg LA="2495160" CA="2495096" UserText="IPortableDeviceValues from GetProperties() contained requested PropVariant">


    +<Msg LA="2497811" CA="2497756" UserText="Missing PropVariant has expected type of VT_ERROR.">


    +<Msg LA="2500494" CA="2500432" UserText="Missing PropVariant has expected value of HRESULT_FROM_WIN32(ERROR_NOT_FOUND).">


    +<Msg LA="2503573" CA="2503512" UserText="# Function Exit: GetMissingPropertyReturnsCorrectResult ">


    +<Msg LA="2507068" CA="2507001" UserText="Response from GetProperties() for missing property had expected output data.">


    +<Msg LA="2509725" CA="2509663" UserText="# Function Enter: SetMissingPropertyReturnsCorrectResult ">


    +<Msg LA="2513143" CA="2513071" UserText="Successfully created IPortableDeviceValues: Set value for request to SetProperties">


    +<Msg LA="2516607" CA="2516542" UserText="Successfully created IPortableDeviceValues: Output value for request to SetProperties">


    +<Msg LA="2520007" CA="2519944" UserText="Successfully set values on input IPortableDeviceValues">


    +<Msg LA="2523053" CA="2522997" UserText="# Function Enter: SetPropertiesOnSensor ">


    +<Msg LA="2526659" CA="2526602" UserText="Attempting to set Propeties on the Sensor.">


    +<Msg LA="2532408" CA="2532334" UserText="Sensor method SetProperty returned successfully with hr: 00000000">


    +<Msg LA="2536672" CA="2536583" UserText="# Function Exit: SetPropertiesOnSensor ">


    +<Warn LA="2540242" CA="2539690" UserText="Set Request for missing property on Sensor did not return S_FALSE." Line="1585" File="testsrc\driverstest\mobilepc\sensors\drivers\wlk\common\testcommon.cpp">


    +<Msg LA="2543956" CA="2543896" UserText="# Function Exit: SetMissingPropertyReturnsCorrectResult ">


    +<Warn LA="2548121" CA="2547307" UserText="Response from SetProperties() for missing property contained unexpected data." Line="1312" File="testsrc\driverstest\mobilepc\sensors\drivers\wlk\common\testcommon.cpp">


    +<Msg LA="2552753" CA="2552691" UserText="# Function Exit: MissingPropertyReturnsCorrectResult ">


    +<Error LA="2605480" CA="2555987" UserText="The sensor failed to return the correct output information to a request for a missing property. HRESULT = 8007000d" Line="89" File="testsrc\driverstest\mobilepc\sensors\drivers\wlk\sensorlocationtests\missingpropertytest.cpp" ErrorText="The data is invalid." ErrType="HRESULT" ErrCode="0x8007000d">


    +<EndTest LA="2612996" CA="2612920" TUID="B9AA9A48-CB38-4B37-9725-26F4B7CAD09B" Title="MISSING_PROPERTY_VALIDATION" Repro="SensorLocationTests.exe /test:missing_property" Result="Fail">

    2015年10月17日 5:51
  • +<Warn LA="2540242" CA="2539690" UserText="Set Request for missing property on Sensor did not return S_FALSE." Line="1585" File="testsrc\driverstest\mobilepc\sensors\drivers\wlk\common\testcommon.cpp">


    +<Msg LA="2543956" CA="2543896" UserText="# Function Exit: SetMissingPropertyReturnsCorrectResult ">


    +<Warn LA="2548121" CA="2547307" UserText="Response from SetProperties() for missing property contained unexpected data." Line="1312" File="testsrc\driverstest\mobilepc\sensors\drivers\wlk\common\testcommon.cpp">


    +<Msg LA="2552753" CA="2552691" UserText="# Function Exit: MissingPropertyReturnsCorrectResult ">


    +<Error LA="2605480" CA="2555987" UserText="The sensor failed to return the correct output information to a request for a missing property. HRESULT = 8007000d" Line="89" File="testsrc\driverstest\mobilepc\sensors\drivers\wlk\sensorlocationtests\missingpropertytest.cpp" ErrorText="The data is invalid." ErrType="HRESULT" ErrCode="0x8007000d">

    http://whqlcn.wordpress.com

    2015年10月21日 5:06
    版主