Received: by 2002:ac0:aed5:0:0:0:0:0 with SMTP id t21csp4784603imb; Wed, 6 Mar 2019 23:59:58 -0800 (PST) X-Google-Smtp-Source: APXvYqxNlLyZYmKQvrnVOC97iLF1bd86YgAuhnDkS2Oj7SWzc9oI0VoUwHJC2lnqX9Ra3lagXrSM X-Received: by 2002:a63:8341:: with SMTP id h62mr10376008pge.254.1551945598284; Wed, 06 Mar 2019 23:59:58 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1551945598; cv=none; d=google.com; s=arc-20160816; b=MXWjCbMZ6hAoycgKTDlzIzrr5OONt7ptLwVG/kxYCrYdDbJubZ/5p+Q11U+LJq6Qaw 6z6WwBCHNL2RqRXhuSxxD7katNPsRP2jTingMHaYl6v4GxBP4gqaIYr/ZrmHEdEv62Zy 3m1p/CpOSQWXSDof6B3Ki0JFH274G0LUbUCc3pctkv9Y/o08k8j+icP+kpSHH8d9zY34 bG9Y+tC9QyXevnAdgPnrBKyNExjAt5AxZUouHO66zR6PGmFA/FJO8DgmbuwDkyflnIbl HzXkzQ3DMCn8dgJa3gdjS+PzHuvrAK7S82P35iG/dM8j0UswP8PInRx/K+8P6tnoLLDY ryAw== 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=OuQ18CtnkO6maBVYMQzDuleNGUMyzNMhCZ8HFw8VGFY=; b=HJrbvaewrLlMNtt2rS/PaxNh/BTNxA8XkM3Myr6cwlTsKfEAmjCbL6mj+v+RI3NPwN 47ZMURB9OpBFIlPMb0tlGDPLmoFm5AF9oG85cQOhN/fa7YPX1mmGJR95X0sni8Emwb1I ioJgOxYYE9zUAC7yLshc0uwZAeM/rFpaONtMieZrz3qHu7unQ5HVG0D498wrBla0ry8V KGjgJE+LrH12lEiGd/KRfdT2a7j4AxIc/x0WuJF8HH+mN/jHCIGn901nx2eB0YZO1L6n QDQfDvtsqtzWKSJI4ppcVoriKZugSWbevOWiXHgUFzmALK9vU86121UH/GZUoIhWR6j8 FvHA== 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 f65si3734738pff.195.2019.03.06.23.59.43; Wed, 06 Mar 2019 23:59:58 -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 S1726210AbfCGH7F (ORCPT + 99 others); Thu, 7 Mar 2019 02:59:05 -0500 Received: from mga02.intel.com ([134.134.136.20]:42863 "EHLO mga02.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725554AbfCGH7F (ORCPT ); Thu, 7 Mar 2019 02:59:05 -0500 X-Amp-Result: UNSCANNABLE X-Amp-File-Uploaded: False Received: from fmsmga005.fm.intel.com ([10.253.24.32]) by orsmga101.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 06 Mar 2019 23:59:04 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.58,451,1544515200"; d="scan'208";a="326217055" Received: from shao2-debian.sh.intel.com (HELO localhost) ([10.239.13.107]) by fmsmga005.fm.intel.com with ESMTP; 06 Mar 2019 23:59:03 -0800 Date: Thu, 7 Mar 2019 15:59:16 +0800 From: kernel test robot To: Tony Chuang Cc: "lkp@01.org" , Linus Torvalds , LKML , Johannes Berg , Larry Finger Subject: Re: [LKP] [mac80211] c752cac9db: hwsim.ap_vlan_iface_cleanup_multibss_per_sta_vif.fail Message-ID: <20190307075916.GQ25100@shao2-debian> References: <20190307070450.GO25100@shao2-debian> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: 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 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 81c5dce2cd0bb0ec c752cac9db1b0c469db7ba9d17a ---------------- --------------------------- fail:runs %reproduction fail:runs | | | :90 11% 10:91 hwsim.ap_wpa2_eap_aka_sql.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 > > So I think I need to reproduce this to confirm it. > Or anyone has any idea please let me know. > Thanks > > Yan-Hsuan > _______________________________________________ > LKP mailing list > LKP@lists.01.org > https://lists.01.org/mailman/listinfo/lkp