none
Testing Virtual Miniport Driver with HCK RRS feed

  • Question

  • Hi,

    We have developed a Virtual Miniport and we wanted to get it certified by Microsoft.

    I have done all the installations required for HCK testing as mentioned in https://msdn.microsoft.com/en-us/library/windows/hardware/jj125146%28v=vs.85%29.aspx.

    I have tested the virtual miniport driver in the HCK Studio and all the 1c_xxx tests run perfectly well. But all the 2c_xxx tests and 2 machine tests are failing. The log file shows that the Test card is not connected to the support card.Since out Target is a virtual miniport driver, I cannot connect it to a support card.

    However, if I run NDtest.bat on a Client machine with 2 instances of our Virtual miniport driver as Test and Support Cards, all the WHQL tests pass.

    My questions now are:

    1. Is there any specific way to test 'Virtual drivers' in HCK ( I dont see them in the windows_hck_product_martix )

    2. Is there any Errata ID that can be used in the above mentioned scenario?

    3. Can I submit the logs from the Client machine for certification? If so, How?

    Thanks in Advance,

    Usha Achar

    Thursday, March 24, 2016 2:38 PM

All replies

  • Hi,

    Can you elaborate a little more on what type of errors you are getting? can you attach a log?

    Also see the following on the Certifying filter driver requirments:

    https://msdn.microsoft.com/en-us/library/windows/hardware/jj128255

    If this turns out to be a test issue and you need an errata for, you would need to open a CSS case in order to obtain one (it will be free of charge if this is a test/OS issue)

    Thanks

    Fidaab


    Thanks!

    Friday, March 25, 2016 10:48 PM
  • Hi Fidaab,

    Here is a portion log file that I got for the test 2c_mini6sendrecvreply:

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

    <Error File="" Line="0" ErrCode="0x15b38" ErrType="NT_STATUS" ErrorText="Error 0x00015b38" UserText="Test card did not receive any packets sent from the Support card" CA="72067645" LA="72077794">
        <rti id="3500763211" />
        <ctx id="1249532295" />
      </Error>
      <Error File="" Line="0" ErrCode="0x15b38" ErrType="NT_STATUS" ErrorText="Error 0x00015b38" UserText="Test card did not send any reply net buffer lists" CA="72083208" LA="72083665">
        <rti id="3500763211" />
        <ctx id="1249532295" />
      </Error>
      <Error File="" Line="0" ErrCode="0x15b38" ErrType="NT_STATUS" ErrorText="Error 0x00015b38" UserText="Support card did not receive any replies sent from the Test card" CA="72087507" LA="72087953">
        <rti id="3500763211" />
        <ctx id="1249532295" />
      </Error>
      <Error File="" Line="0" ErrCode="0x15b38" ErrType="NT_STATUS" ErrorText="Error 0x00015b38" UserText="Support card did not receive any packets sent from the Test card" CA="79737590" LA="79738129">
        <rti id="3500763211" />
        <ctx id="1249532295" />
      </Error>
      <Error File="" Line="0" ErrCode="0x15b38" ErrType="NT_STATUS" ErrorText="Error 0x00015b38" UserText="Support card did not send any reply net buffer lists" CA="79740765" LA="79741213">
        <rti id="3500763211" />
        <ctx id="1249532295" />
      </Error>
      <Error File="" Line="0" ErrCode="0x15b38" ErrType="NT_STATUS" ErrorText="Error 0x00015b38" UserText="Test card did not receive any replies sent from the Support card" CA="79743739" LA="79744177">
        <rti id="3500763211" />
        <ctx id="1249532295" />
      </Error>
      <EndTest Title="Starting Test-&gt;Supp-&gt;Test" TUID="" Result="Fail" Repro="2c_mini6sendrecvreply" CA="79746571" LA="79746882">
        <rti id="3500763211" />
        <ctx id="1249532295" />
      </EndTest>
      <CTX ID="2465496414" Current="Clear Events" Parent="2c_mini6sendrecvreply" />
      <StartTest Title="Clear Events" TUID="" CA="79747377" LA="79747641">
        <rti id="3500763211" />
        <ctx id="2465496414" />

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

    As you can see in the log file, this test requires a connection between test card and the support card. Test and support cards have to be on different machines (Client and Support) in HCK Studio Environment. But Our Test card is a 'Virtual' card and it cannot be connected to another Support card on a different machine using a cable.

    That is why there are no packets exchange between test and support cards.

    How can I use these tests for a virtual device in HCK Studio? Is there any workaround or a special Configuration?.

    Thanks in Advance,

    Usha

    Tuesday, March 29, 2016 1:51 PM