Received: by 2002:ac0:aed5:0:0:0:0:0 with SMTP id t21csp4797320imb; Thu, 7 Mar 2019 00:21:50 -0800 (PST) X-Google-Smtp-Source: APXvYqwEmzfGQ1jfOGQtGWXCs24t+a39i/J5rpSCIN+1zgJZAlaCKk7pUqZlCR/9XYYL09NEzjnv X-Received: by 2002:a62:b286:: with SMTP id z6mr11620689pfl.106.1551946910724; Thu, 07 Mar 2019 00:21:50 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1551946910; cv=none; d=google.com; s=arc-20160816; b=IKSc3Ho1imiTkDd0q86F1sdEPtZbNyvbPz2jZImAqlcjdxgsmzh1rzsO7xq7WrVG9/ B33BDT6pMwCCuSlxyCu0JFprwoIOiH0qI0iSgqQKPTNazF5FM8urLsorY0+rI/lCqKyZ bsyzWLN5UtOShC2XofOGkqpcb56pE8ry3lo4bvxGVdZPqpf2R8+4silc3+aP7JOlUIlF g0mNsC+FSmidI3ysLnmReVkQ/+H+Kqbkp1hLMdKH/Eg6DAEWC9d6bCulQLa9j/lzBSzL 6E3Tr219f0e7zS/m54rfjiR4lWKtsstjGxgJ/Uv2WSDU3aDqJ4ml/o6TSCDXivIor1Yu X32w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=QLc/2VX09wZApvZCzNlSgxVz97701U3r9m8wjFwajso=; b=rAaV8sRiOG0eFZ2ps/WvTQZF+RLnQZEN4K5p6lHIIeEtbIaTV0efkDPXRu7C2FqCdk b6VYrdAZFolglIOp/loabW910wnpUsAu6fasuZp1aJIZ1qarNZbfkd44o1chqCl1vS7N MYsHuGEhG0/NYhaTFbgrjXR0l/gKQaywfOkvHEoWlx8mLl4d2xrfgjrgroSdVwN/jCL9 PhNkoicalk1O4ChJ2RNWCc8B5YOCm7y/cA8+TyBPuoVPjIHAwAUpA8Puxcr8HaBPQlA4 wprYpunYbDGrh8gZdp0XJVs6p0Ek8WgBFe/lin133couKS/2w2rHj9ffCbse8PS6lTfv V8Gw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 2si3756450pfd.129.2019.03.07.00.21.34; Thu, 07 Mar 2019 00:21:50 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726136AbfCGIVO (ORCPT + 99 others); Thu, 7 Mar 2019 03:21:14 -0500 Received: from mga07.intel.com ([134.134.136.100]:27648 "EHLO mga07.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725747AbfCGIVO (ORCPT ); Thu, 7 Mar 2019 03:21:14 -0500 X-Amp-Result: UNSCANNABLE X-Amp-File-Uploaded: False Received: from orsmga006.jf.intel.com ([10.7.209.51]) by orsmga105.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 07 Mar 2019 00:21:13 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.58,451,1544515200"; d="scan'208";a="121742409" Received: from shao2-debian.sh.intel.com (HELO localhost) ([10.239.13.107]) by orsmga006.jf.intel.com with ESMTP; 07 Mar 2019 00:21:12 -0800 Date: Thu, 7 Mar 2019 16:21:25 +0800 From: kernel test robot To: Tony Chuang Cc: Linus Torvalds , "lkp@01.org" , LKML , Johannes Berg , Larry Finger Subject: Re: [LKP] [mac80211] c752cac9db: hwsim.ap_vlan_iface_cleanup_multibss_per_sta_vif.fail Message-ID: <20190307082125.GR25100@shao2-debian> References: <20190307070450.GO25100@shao2-debian> <20190307075916.GQ25100@shao2-debian> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20190307075916.GQ25100@shao2-debian> User-Agent: Mutt/1.10.0 (2018-05-17) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Mar 07, 2019 at 03:59:16PM +0800, kernel test robot wrote: > On Thu, Mar 07, 2019 at 07:49:11AM +0000, Tony Chuang wrote: > > > > > > > -----Original Message----- > > > From: kernel test robot [mailto:rong.a.chen@intel.com] > > > Sent: Thursday, March 07, 2019 3:05 PM > > > To: Tony Chuang > > > Cc: Johannes Berg; Larry Finger; LKML; Linus Torvalds; lkp@01.org > > > Subject: [LKP] [mac80211] c752cac9db: > > > hwsim.ap_vlan_iface_cleanup_multibss_per_sta_vif.fail > > > > > > FYI, we noticed the following commit (built with gcc-8): > > > > > > commit: c752cac9db1b0c469db7ba9d17af4ba708984db5 ("mac80211: fix > > > GFP_KERNEL under tasklet context") > > > https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git master > > > > > > in testcase: hwsim > > > with following parameters: > > > > > > group: hwsim-02 > > > > > > > > > > > > on test machine: qemu-system-x86_64 -enable-kvm -cpu SandyBridge -smp 2 > > > -m 4G > > > > > > caused below changes (please refer to attached dmesg/kmsg for entire > > > log/backtrace): > > > > > > > <...> > > > > > > > > 2019-03-06 14:51:15 ./run-tests.py ap_vlan_iface_cleanup_multibss > > > 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 ap_vlan_iface_cleanup_multibss 1/1 > > > Test: AP VLAN operation in multi-BSS multi-VLAN case > > > RTNETLINK answers: File exists > > > Starting AP wlan4 > > > Starting interface wlan3 > > > Connect STA wlan0 to AP > > > Connect STA wlan1 to AP > > > wlan0 -> VLAN 2 > > > test wlan1 == VLAN 1 > > > wlan1 -> VLAN 2 > > > test wlan0 == VLAN 2 > > > PASS ap_vlan_iface_cleanup_multibss 3.037115 2019-03-06 14:51:19.362536 > > > passed all 1 test case(s) > > > 2019-03-06 14:51:19 ./run-tests.py > > > ap_vlan_iface_cleanup_multibss_per_sta_vif > > > 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 ap_vlan_iface_cleanup_multibss_per_sta_vif 1/1 > > > Test: AP VLAN operation in multi-BSS multi-VLAN case with per-sta-vif set > > > Starting AP wlan4 > > > Starting interface wlan3 > > > Connect STA wlan0 to AP > > > Connect STA wlan1 to AP > > > dev1->dev2 unicast data delivery failed > > > Traceback (most recent call last): > > > File "./run-tests.py", line 466, in main > > > t(dev, apdev) > > > File "/lkp/benchmarks/hwsim/tests/hwsim/test_ap_vlan.py", line 505, in > > > test_ap_vlan_iface_cleanup_multibss_per_sta_vif > > > 'multi-bss-iface-per_sta_vif.conf') > > > File "/lkp/benchmarks/hwsim/tests/hwsim/test_ap_vlan.py", line 413, in > > > ap_vlan_iface_cleanup_multibss > > > hwsim_utils.test_connectivity_iface(dev[1], hapd1, "brvlan1") > > > File "/lkp/benchmarks/hwsim/tests/hwsim/hwsim_utils.py", line 176, in > > > test_connectivity_iface > > > max_tries=max_tries, timeout=timeout) > > > File "/lkp/benchmarks/hwsim/tests/hwsim/hwsim_utils.py", line 169, in > > > test_connectivity > > > raise Exception(last_err) > > > Exception: dev1->dev2 unicast data delivery failed > > > FAIL ap_vlan_iface_cleanup_multibss_per_sta_vif 6.917146 2019-03-06 > > > 14:51:26.784664 > > > passed 0 test case(s) > > > skipped 0 test case(s) > > > failed tests: ap_vlan_iface_cleanup_multibss_per_sta_vif > > > > <...> > > > > > > > > > > > To reproduce: > > > > > > # build kernel > > > cd linux > > > cp config-4.19.0-12453-gc752cac .config > > > make HOSTCC=gcc-8 CC=gcc-8 ARCH=x86_64 olddefconfig > > > make HOSTCC=gcc-8 CC=gcc-8 ARCH=x86_64 prepare > > > make HOSTCC=gcc-8 CC=gcc-8 ARCH=x86_64 modules_prepare > > > make HOSTCC=gcc-8 CC=gcc-8 ARCH=x86_64 SHELL=/bin/bash > > > make HOSTCC=gcc-8 CC=gcc-8 ARCH=x86_64 bzImage > > > > > > > > > git clone https://github.com/intel/lkp-tests.git > > > cd lkp-tests > > > bin/lkp qemu -k job-script # job-script is attached in this > > > email > > > > > > > > > > > > Thanks, > > > Rong Chen > > > > > > It looks really strange that this patch failed the test. > > And I checked the dmesg, the log shows me that > > > > PASS ap_vlan_iface_cleanup_multibss_per_sta_vif > > > > At line 24000. > > Hi, > > This doesn't happen every time. Here is a bad result: > > 2019-03-06 14:51:19 ./run-tests.py ap_vlan_iface_cleanup_multibss_per_sta_vif > 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 ap_vlan_iface_cleanup_multibss_per_sta_vif 1/1 > Test: AP VLAN operation in multi-BSS multi-VLAN case with per-sta-vif set > Starting AP wlan4 > Starting interface wlan3 > Connect STA wlan0 to AP > Connect STA wlan1 to AP > dev1->dev2 unicast data delivery failed > Traceback (most recent call last): > File "./run-tests.py", line 466, in main > t(dev, apdev) > File "/lkp/benchmarks/hwsim/tests/hwsim/test_ap_vlan.py", line 505, in test_ap_vlan_iface_cleanup_multibss_per_sta_vif > 'multi-bss-iface-per_sta_vif.conf') > File "/lkp/benchmarks/hwsim/tests/hwsim/test_ap_vlan.py", line 413, in ap_vlan_iface_cleanup_multibss > hwsim_utils.test_connectivity_iface(dev[1], hapd1, "brvlan1") > File "/lkp/benchmarks/hwsim/tests/hwsim/hwsim_utils.py", line 176, in test_connectivity_iface > max_tries=max_tries, timeout=timeout) > File "/lkp/benchmarks/hwsim/tests/hwsim/hwsim_utils.py", line 169, in test_connectivity > raise Exception(last_err) > Exception: dev1->dev2 unicast data delivery failed > FAIL ap_vlan_iface_cleanup_multibss_per_sta_vif 6.917146 2019-03-06 14:51:26.784664 > passed 0 test case(s) > skipped 0 test case(s) > failed tests: ap_vlan_iface_cleanup_multibss_per_sta_vif > Sorry, ap_vlan_iface_cleanup_multibss_per_sta_vif.fail is this one, but hwsim.ap_wpa2_eap_aka_sql fails too. the kernel of parent commit can't run successfully, I'm not 100% sure the failure was caused by this commit. 81c5dce2cd0bb0ec c752cac9db1b0c469db7ba9d17a ---------------- --------------------------- fail:runs %reproduction fail:runs | | | :90 14% 13:91 hwsim.ap_vlan_iface_cleanup_multibss_per_sta_vif.fail :90 9% 8:91 stderr.Failed_to_connect_to_hostapd-wpa_ctrl_open:No_such_file_or_directory 90:90 -100% :91 dmesg.BUG:sleeping_function_called_from_invalid_context_at_mm/slab.h :90 6% 5:91 dmesg.RIP:__ieee80211_beacon_get[mac80211] :90 1% 1:91 dmesg.RIP:console_unlock :90 6% 5:91 dmesg.WARNING:at_net/mac80211/tx.c:#__ieee80211_beacon_get/0x 90:90 -94% 5:91 dmesg.boot_failures 21732:90 -24148% :91 dmesg.timestamp:BUG:sleeping_function_called_from_invalid_context_at_mm/slab.h :90 14125% 12712:91 dmesg.timestamp:RIP:__ieee80211_beacon_get[mac80211] :90 3137% 2822:91 dmesg.timestamp:RIP:console_unlock :90 14125% 12712:91 dmesg.timestamp:WARNING:at_net/mac80211/tx.c:#__ieee80211_beacon_get/0x 22439:90 70264% 85676:91 dmesg.timestamp:last Best Regards, Rong Chen