2024-03-29 02:25:03

by kernel test robot

[permalink] [raw]
Subject: [linus:master] [wifi] 310c8387c6: hwsim.autogo_chan_switch.fail



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



compiler: gcc-12
test machine: 8 threads 1 sockets Intel(R) Core(TM) i7-4790 v3 @ 3.60GHz (Haswell) with 6G memory

(please refer to attached dmesg/kmsg for entire log/backtrace)




If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <[email protected]>
| Closes: https://lore.kernel.org/oe-lkp/[email protected]

group: group-20, test: autogo_chan_switch
2024-03-22 18:48:55 export USER=root
2024-03-22 18:48:55 ./build.sh
Building TNC testing tools
Building wlantest
Building hs20-osu-client
Building hostapd
Building wpa_supplicant
2024-03-22 18:49:57 ./start.sh
2024-03-22 18:49:59 ./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 15.072969 2024-03-22 18:50:26.967705
passed 0 test case(s)
skipped 0 test case(s)
failed tests: autogo_chan_switch
2024-03-22 18:50:27 ./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 18.357236 2024-03-22 18:50:57.293385
passed 0 test case(s)
skipped 0 test case(s)
failed tests: autogo_chan_switch_group_iface
2024-03-22 18:50:57 ./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 25.252863 2024-03-22 18:51:34.497093
passed all 1 test case(s)
2024-03-22 18:51:34 ./stop.sh



The kernel config and materials to reproduce are available at:
https://download.01.org/0day-ci/archive/20240329/[email protected]



--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki



2024-03-29 10:09:05

by Johannes Berg

[permalink] [raw]
Subject: Re: [linus:master] [wifi] 310c8387c6: hwsim.autogo_chan_switch.fail

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.

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.

johannes

2024-04-02 06:19:10

by kernel test robot

[permalink] [raw]
Subject: Re: [linus:master] [wifi] 310c8387c6: hwsim.autogo_chan_switch.fail

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
>


Attachments:
(No filename) (2.17 kB)
hwsim.61f0261131 (1.78 kB)
hwsim.310c8387c6 (3.48 kB)
Download all attachments