[PATCH 14/18] tests: Issue TEST-START NOTE to extra wpa_suplicant instances

Jouni Malinen j at w1.fi
Sat Dec 13 12:21:23 PST 2025


On Thu, Oct 30, 2025 at 09:24:45AM +0100, Benjamin Berg wrote:
> The wlan5 and wlan6 instances are separate as they only have interfaces
> in some tests. Also issue TEST-START notes for them.

Where is the wlan6 instance coming from? Is that in a pending patch that
is somewhere in my queue but did not happen to come up before I starting
going through this patchset?

> diff --git a/tests/hwsim/run-tests.py b/tests/hwsim/run-tests.py
> +            for ifname in ['/tmp/wpas-wlan5', '/tmp/wpas-wlan6']:
> +                wpas = None
> +                try:
> +                    wpas = WpaSupplicant(global_iface=ifname, monitor=False)
> +                    wpas.global_request("NOTE TEST-START " + name)
> +                    del wpas
> +                except:
> +                    logger.exception("Failed to issue TEST-START before " + name + " for " + ifname)
> +                    print("FAIL " + name + " - could not start test")

This /tmp/wpas-wlan6 breaks more or less all testing in my setup, so I
removed it for now.
 
-- 
Jouni Malinen                                            PGP id EFC895FA



More information about the Hostap mailing list