Skip to main content

 none
WHCK : System.Exception: Unable to find 2 routers RRS feed

  • Question

  • Hi,

    I have newly built up a Windows HCK setup for validating my Win 10 laptop WLAN device.

    I have installed Win 10 1903 on both client and my DUT (Win 10 1903 Laptop)

    I have successfully installed HLK client and server software on respective PCs.

    And i'm able to run tests on it.

    But i'm observing issue while running WLAN tests in HLK studio.

    Testcase run - WLAN Association Tests - OPEN_WEP-WPA_TKIP

    Test error msg -

    System.Exception: Unable to find 2 routers
       at Microsoft.Test.Networking.Kit.Helpers.GetRouterCollection(ApConfigClient AC)
       at HlkTest.AssociationTests.WhckAssociation..ctor(RunTimeConfiguration RuntimeConfig, APConfigParameter AP1Config24GHz, APConfigParameter AP1Config5GHz, APConfigParameter AP2Config24GHz, APConfigParameter AP2Config5GHz, ASSOC_TEST_OPTIONS AssocTestOptions)
       at HlkTest.AssociationTests.WhckAssociation.Associate(RunTimeConfiguration rc, APConfigParameter AP1Config24GHz, APConfigParameter AP1Config5GHz, APConfigParameter AP2Config24GHz, APConfigParameter AP2Config5GHz, ASSOC_TEST_OPTIONS AssocTestOptions)
       at HlkTest.AssociationTests.AssociationTests.Associate_OPEN_WEP_WPA_TKIP()

    I want to know if we need to specify the IP address of the routers anywhere in the HLK Manager / Studio. How they should be configured and all.

    Please help to answer this issue.

    Wednesday, July 31, 2019 5:43 AM

Answers

  • The WLAN test-hardware configuration is described in the Wireless LAN (802.11) Testing Prerequisites document here: https://docs.microsoft.com/en-us/windows-hardware/test/hlk/testref/wireless-lan--80211--testing-prerequisites. The document details how to set up two Wi-Fi Access Points connected to an AP-Control server and, in turn, connect that server to the HCK controller. As WLAN multi-machine tests run they send commands to the AP server telling it how to configure the connected Access Points.

     

    The error indicates the AP-Control server was unable to connect to the two APs. To do so the server needs the address and password of each of the two APs. The primary question was “I want to know if we need to specify the IP address of the routers anywhere in the HLK Manager / Studio. How they should be configured and all.”

    The Windows Hardware Lab Kit provides this dialog for entering that information:

    This dialog is shown when most of the WLAN multi-machine tests are run. The Access Point IP addresses are entered in the AP?IPAddress fields and their passwords in AP?Password. Once the AP-Control server (MICEDM_A2 in the dialog above) is selected the test has all the information needed to control the Access Points.

    Monday, August 5, 2019 4:20 PM
    Moderator

All replies

  • The WLAN test-hardware configuration is described in the Wireless LAN (802.11) Testing Prerequisites document here: https://docs.microsoft.com/en-us/windows-hardware/test/hlk/testref/wireless-lan--80211--testing-prerequisites. The document details how to set up two Wi-Fi Access Points connected to an AP-Control server and, in turn, connect that server to the HCK controller. As WLAN multi-machine tests run they send commands to the AP server telling it how to configure the connected Access Points.

     

    The error indicates the AP-Control server was unable to connect to the two APs. To do so the server needs the address and password of each of the two APs. The primary question was “I want to know if we need to specify the IP address of the routers anywhere in the HLK Manager / Studio. How they should be configured and all.”

    The Windows Hardware Lab Kit provides this dialog for entering that information:

    This dialog is shown when most of the WLAN multi-machine tests are run. The Access Point IP addresses are entered in the AP?IPAddress fields and their passwords in AP?Password. Once the AP-Control server (MICEDM_A2 in the dialog above) is selected the test has all the information needed to control the Access Points.

    Monday, August 5, 2019 4:20 PM
    Moderator
  • Hi Cymon,

    Thank you so much for the reply. I was able to solve the issue as per the steps you have specified. i'm not seeing that error anymore and the test is able to progress further. Currently i'm facing an issue with the WLAN association tests. i have observed that both the APs are getting configured during the test but the main association part is failing. im not knowing how to debug this issue. i have checked the association manually and its working fine. even the WLAN scan tests are passing. Issue is only observed with WLAN Association tests.

    Could you please help me in this regard.

    Wednesday, August 7, 2019 12:04 PM
  • I don't have any knowlage about the WLAN Association tests but searching MSDN I did come up with these results, maybe they can further help you investigate the failures seen in the tests.

    https://docs.microsoft.com/en-us/windows-hardware/test/hlk/testref/41e3400d-08da-424b-becd-fe3e8952bbca 

    https://docs.microsoft.com/en-us/windows-hardware/test/hlk/testref/e0eff39a-0d3f-4602-b0bb-0df094564f45

    https://docs.microsoft.com/en-us/windows-hardware/test/hlk/testref/d6da2adf-19f4-4df0-8dc2-cb6acd31deda

    https://docs.microsoft.com/en-us/windows-hardware/test/hlk/testref/602d00a4-d2a0-4c10-8f9c-ac0f3590d03c

    Anoher couple of options for help are:

    Windows Hardware and Testing fourm:

    https://social.msdn.microsoft.com/Forums/en-US/home?forum=whck

    CSS:

    https://support.microsoft.com/en-us/supportforbusiness/productselection 

    Wednesday, August 7, 2019 6:52 PM
    Moderator