question

CHRISTOPHERBerube-4403 avatar image
3 Votes"
CHRISTOPHERBerube-4403 asked YoannLamy-1742 commented

HLK Failure in WFP Test: Secondary Sparta Mini Port Interface is not Created

I'm using HLK Studio version 1809 on a Windows Server 2016 machine with a Windows Server 2019 client. I'm running the Windows Filtering Platform test on our WFP callout driver, and it's failing at the point where it installs the Sparta MiniPort interfaces. The primary interface is installed and configured correctly, and the DevCon command to create the secondary interface succeeds according to its output, but no secondary interface gets created.

I saw a post in the old Windows HLK forum about this very problem and it suggested updating the client fully via Windows Update to pick up the bug fix. I have done this with my Windows Server 2019 system, but the problem persists. I'm going to try a higher version of HLK Studio to see if that fixes the problem, but I wanted to post here at the same time in case someone already knows the answer to this problem.

windows-hardware-certification
· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

If you are testing an application that is able to block other applications (e.g.: antivirus) you should take a look if your application is not blocking the HLK test artifacts, due to false positives. You can inspect and deduct it by watching the test setup logs.

0 Votes 0 ·

1 Answer

89146465 avatar image
1 Vote"
89146465 answered YoannLamy-1742 commented

is same with "https://social.msdn.microsoft.com/forums/vstudio/en-US/b1fd3d1a-44a2-4138-9370-cd1409293697/sparta-miniport-interfaces-failed-to-start-in-windows-10?forum=whck"

ok,use \\host2016\Tests\amd64\nttest\NetTest\Transports\SpartaMini\SpartaMini62.sys and SpartaMini62.cat replace SpartaMini.sys and SpartaMini.cat.
host2016 is my HLK controller, amd64 is my test machine arch, and the test client is running on Windows Server 2019 1809 17763.737.

and clear the test client machine, search spartamini in C:\Windows\System32\drivers and C:\Windows\System32\DriverStore\FileRepository, delete result for clear.

· 2
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

clear the test client machine first, if your test case has been failed.

0 Votes 0 ·

Excellent, thanks for the solution.
For Windows Server 2019, renaming SpartaMini62 to SpartaMini did the trick.
As the files cannot be easily renamed on the HLK Studio side, what I did was :
- Pick the folder on the client side during test setup
- rename the spartamini62. to spartamini.
- perform a clean uninstall of existing spartamini (ensure that there is no spartamini anymore in DriverStore)
- manually install one instance of spartamini with devcon from my modified source directory (same command as in the .js script of the test folder)
- uninstall with devcon
- Ensure that the driver is still present in the catalog (driverStore)

Now the test pass.



0 Votes 0 ·