test: How to pass auto test

Peer, Ilan ilan.peer
Wed Dec 31 07:08:23 PST 2014


Hi,

Johannes added support for not enabling P2P_DEVICE interface in  8c66a3d9d951a645861b9ec5751184723c4480ce, and newer versions of hostap disable using a dedicated P2P_DEVICE interface in tests/hwsim/start.sh.

So either you use a newer version of mac80211_hwsim driver, or manually disable support for P2P_DEVICE.

Hope this helps,

Ilan.

> -----Original Message-----
> From: hostap-bounces at lists.shmoo.com [mailto:hostap-
> bounces at lists.shmoo.com] On Behalf Of Masashi Honma
> Sent: Wednesday, December 31, 2014 15:17
> To: hostap ML
> Subject: test: How to pass auto test
> 
> The autogo test fails on my environment.
> 
> [test command]
> $ ./start.sh
> $ ./run-tests.py autogo
> $ ./stop.sh
> 
> [result log]
> DEV: wlan0: 42:00:00:00:00:00
> DEV: wlan1: 42:00:00:00:01:00
> DEV: wlan2: 42:00:00:00:02:00
> APDEV: wlan3
> APDEV: wlan4
> START autogo 1/1
> Test: P2P autonomous GO and client joining group Start autonomous GO
> wlan0 Unexpected group interface name on GO FAIL autogo 0.340814 2014-
> 12-31 19:32:44.973469 passed 0 test case(s) skipped 0 test case(s) failed tests:
> autogo
> 
> [environment]
> OS: Ubuntu 14.04 x64 Desktop
> Linux: 3.13.0-43
> commit: 4e70bbf1c68579b3223f1cac0ffcdbf1c52b4a55
> Physical wlan device: exists but device driver unloaded. So no wlan device
> found by ifconfig -a.
> 
> [cause of the error]
> test_p2p_autogo.py#test_autogo fails with "Unexpected group interface
> name on GO".
> Because interface name created for GO is p2p-wlan0-0.
> The vif was created. Because WPA_DRIVER_FLAGS_DEDICATED_P2P_DEVICE
> flag is on.
> 
> [question]
> How can I avoid this error ?
> 
> The buildbot <http://buildbot.w1.fi/hwsim/> looks passed this test.
> 
> Regards,
> Masashi Honma.
> _______________________________________________
> HostAP mailing list
> HostAP at lists.shmoo.com
> http://lists.shmoo.com/mailman/listinfo/hostap



More information about the Hostap mailing list