Re: [linus:master] [wifi] 310c8387c6: hwsim.autogo_chan_switch.fail
From: Oliver Sang
Date: Tue Apr 02 2024 - 02:19:17 EST
hi, johannes,
On Fri, Mar 29, 2024 at 11:08:51AM +0100, Johannes Berg wrote:
> On Fri, 2024-03-29 at 10:24 +0800, kernel test robot wrote:
> >
> > Hello,
> >
> > kernel test robot noticed "hwsim.autogo_chan_switch.fail" on:
> >
> > commit: 310c8387c63830bc375827242e0f9fa689f82e21 ("wifi: mac80211: clean up connection process")
> > https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git master
> >
> > [test failed on linus/master 7033999ecd7b8cf9ea59265035a0150961e023ee]
> > [test failed on linux-next/master 26074e1be23143b2388cacb36166766c235feb7c]
> >
> > in testcase: hwsim
> > version: hwsim-x86_64-717e5d7-1_20240320
> > with following parameters:
> >
> > test: autogo_chan_switch
>
> Does any of that tell you which version of the tests it's using? It
> doesn't tell me, and "717e5d7" doesn't seem to be a hostap sha1. I also
> didn't find it in the CI archive.
sorry for confusing, due to some history reason, we improperly captured sha1
from https://github.com/bcopeland/wmediumd.git in the version label.
now we fixed it and it will show such like hwsim-x86_64-07c9f183e-1_20240402
in the future. the 07c9f183e is from http://w1.fi/hostap.git
07c9f183e (HEAD -> main, origin/pending, origin/main, origin/HEAD) tests: Avoid control interface throttling in various test cases
by just this version, we tested 310c8387c6 and its parent again, confirmed
the issue is still persistent
61f0261131c8dc2b 310c8387c63830bc375827242e0
---------------- ---------------------------
fail:runs %reproduction fail:runs
| | |
:10 80% 10:10 hwsim.autogo_chan_switch.fail
:10 80% 10:10 hwsim.autogo_chan_switch_group_iface.fail
I attached one hwsim output from parent (hwsim.61f0261131) and one from
310c8387c6 (hwsim.310c8387c6) for details.
>
> That said, there were test issues raised with recent commits (and
> particularly this one), even upstream one of them (eht puncturing 1) is
> still failing as far as I know.
thanks for information! if you have any patch want us to test, just let us
know. Thanks!
>
> johannes
>
group: group-20, test: autogo_chan_switch
2024-04-02 02:33:29 export USER=root
2024-04-02 02:33:29 ./build.sh
Building TNC testing tools
Building wlantest
Building hs20-osu-client
Building hostapd
Building wpa_supplicant
2024-04-02 02:34:30 ./start.sh
2024-04-02 02:34:32 ./run-tests.py autogo_chan_switch
DEV: wlan0: 02:00:00:00:00:00
DEV: wlan1: 02:00:00:00:01:00
DEV: wlan2: 02:00:00:00:02:00
APDEV: wlan3
APDEV: wlan4
START autogo_chan_switch 1/1
Test: P2P autonomous GO switching channels
Start autonomous GO wlan0
Try to connect the client to the GO
wlan1: Trying to discover peer 02:00:00:00:00:00
Client connected
PASS autogo_chan_switch 16.361446 2024-04-02 02:35:03.458893
passed all 1 test case(s)
2024-04-02 02:35:03 ./run-tests.py autogo_chan_switch_group_iface
DEV: wlan0: 02:00:00:00:00:00
DEV: wlan1: 02:00:00:00:01:00
DEV: wlan2: 02:00:00:00:02:00
APDEV: wlan3
APDEV: wlan4
START autogo_chan_switch_group_iface 1/1
Test: P2P autonomous GO switching channels (separate group interface)
Start autonomous GO wlan0
Try to connect the client to the GO
wlan1: Trying to discover peer 02:00:00:00:00:00
Client connected
PASS autogo_chan_switch_group_iface 17.332407 2024-04-02 02:35:32.180969
passed all 1 test case(s)
2024-04-02 02:35:32 ./run-tests.py p2p_device_autogo_chan_switch
DEV: wlan0: 02:00:00:00:00:00
DEV: wlan1: 02:00:00:00:01:00
DEV: wlan2: 02:00:00:00:02:00
APDEV: wlan3
APDEV: wlan4
START p2p_device_autogo_chan_switch 1/1
Test: P2P autonomous GO switching channels with cfg80211 P2P Device
Start autonomous GO wlan7
Try to connect the client to the GO
wlan1: Trying to discover peer 42:00:00:00:07:00
Client connected
PASS p2p_device_autogo_chan_switch 24.354487 2024-04-02 02:36:07.851656
passed all 1 test case(s)
2024-04-02 02:36:07 ./stop.sh
group: group-20, test: autogo_chan_switch
2024-04-02 02:29:04 export USER=root
2024-04-02 02:29:04 ./build.sh
Building TNC testing tools
Building wlantest
Building hs20-osu-client
Building hostapd
Building wpa_supplicant
2024-04-02 02:30:06 ./start.sh
2024-04-02 02:30:07 ./run-tests.py autogo_chan_switch
DEV: wlan0: 02:00:00:00:00:00
DEV: wlan1: 02:00:00:00:01:00
DEV: wlan2: 02:00:00:00:02:00
APDEV: wlan3
APDEV: wlan4
START autogo_chan_switch 1/1
Test: P2P autonomous GO switching channels
Start autonomous GO wlan0
Try to connect the client to the GO
wlan1: Trying to discover peer 02:00:00:00:00:00
Client connected
sending data without carrier won't work
Traceback (most recent call last):
File "/lkp/benchmarks/hwsim/tests/hwsim/./run-tests.py", line 593, in main
t(dev)
File "/lkp/benchmarks/hwsim/tests/hwsim/test_p2p_autogo.py", line 357, in test_autogo_chan_switch
run_autogo_chan_switch(dev)
File "/lkp/benchmarks/hwsim/tests/hwsim/test_p2p_autogo.py", line 375, in run_autogo_chan_switch
hwsim_utils.test_connectivity_p2p(dev[0], dev[1])
File "/lkp/benchmarks/hwsim/tests/hwsim/hwsim_utils.py", line 227, in test_connectivity_p2p
test_connectivity(dev1, dev2, dscp, tos, dev1group=True, dev2group=True)
File "/lkp/benchmarks/hwsim/tests/hwsim/hwsim_utils.py", line 217, in test_connectivity
raise Exception(last_err)
Exception: sending data without carrier won't work
FAIL autogo_chan_switch 16.286132 2024-04-02 02:30:39.168596
passed 0 test case(s)
skipped 0 test case(s)
failed tests: autogo_chan_switch
2024-04-02 02:30:39 ./run-tests.py autogo_chan_switch_group_iface
DEV: wlan0: 02:00:00:00:00:00
DEV: wlan1: 02:00:00:00:01:00
DEV: wlan2: 02:00:00:00:02:00
APDEV: wlan3
APDEV: wlan4
START autogo_chan_switch_group_iface 1/1
Test: P2P autonomous GO switching channels (separate group interface)
Start autonomous GO wlan0
Try to connect the client to the GO
wlan1: Trying to discover peer 02:00:00:00:00:00
Client connected
sending data without carrier won't work
Traceback (most recent call last):
File "/lkp/benchmarks/hwsim/tests/hwsim/./run-tests.py", line 593, in main
t(dev)
File "/lkp/benchmarks/hwsim/tests/hwsim/test_p2p_autogo.py", line 383, in test_autogo_chan_switch_group_iface
run_autogo_chan_switch(dev)
File "/lkp/benchmarks/hwsim/tests/hwsim/test_p2p_autogo.py", line 375, in run_autogo_chan_switch
hwsim_utils.test_connectivity_p2p(dev[0], dev[1])
File "/lkp/benchmarks/hwsim/tests/hwsim/hwsim_utils.py", line 227, in test_connectivity_p2p
test_connectivity(dev1, dev2, dscp, tos, dev1group=True, dev2group=True)
File "/lkp/benchmarks/hwsim/tests/hwsim/hwsim_utils.py", line 217, in test_connectivity
raise Exception(last_err)
Exception: sending data without carrier won't work
FAIL autogo_chan_switch_group_iface 17.390208 2024-04-02 02:31:07.869510
passed 0 test case(s)
skipped 0 test case(s)
failed tests: autogo_chan_switch_group_iface
2024-04-02 02:31:07 ./run-tests.py p2p_device_autogo_chan_switch
DEV: wlan0: 02:00:00:00:00:00
DEV: wlan1: 02:00:00:00:01:00
DEV: wlan2: 02:00:00:00:02:00
APDEV: wlan3
APDEV: wlan4
START p2p_device_autogo_chan_switch 1/1
Test: P2P autonomous GO switching channels with cfg80211 P2P Device
Start autonomous GO wlan7
Try to connect the client to the GO
wlan1: Trying to discover peer 42:00:00:00:07:00
Client connected
PASS p2p_device_autogo_chan_switch 24.104111 2024-04-02 02:31:43.303405
passed all 1 test case(s)
2024-04-02 02:31:43 ./stop.sh