test: How to pass auto test

Masashi Honma masashi.honma at gmail.com
Wed Dec 31 08:16:51 EST 2014


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.


More information about the HostAP mailing list