From patchwork Fri Jul 17 13:19:02 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Johannes Berg X-Patchwork-Id: 497137 Return-Path: X-Original-To: patchwork-incoming@ozlabs.org Delivered-To: patchwork-incoming@ozlabs.org Received: from maxx.maxx.shmoo.com (maxx.shmoo.com [205.134.188.171]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 2B0B2140A9A for ; Fri, 17 Jul 2015 23:19:23 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by maxx.maxx.shmoo.com (Postfix) with ESMTP id A7E0A17C477; Fri, 17 Jul 2015 09:19:19 -0400 (EDT) X-Virus-Scanned: amavisd-new at maxx.shmoo.com Received: from maxx.maxx.shmoo.com ([127.0.0.1]) by localhost (maxx.shmoo.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id J7mQi2z4oG8j; Fri, 17 Jul 2015 09:19:19 -0400 (EDT) Received: from maxx.shmoo.com (localhost [127.0.0.1]) by maxx.maxx.shmoo.com (Postfix) with ESMTP id EC73917C507; Fri, 17 Jul 2015 09:19:13 -0400 (EDT) X-Original-To: mailman-post+hostap@maxx.shmoo.com Delivered-To: mailman-post+hostap@maxx.shmoo.com Received: from localhost (localhost [127.0.0.1]) by maxx.maxx.shmoo.com (Postfix) with ESMTP id E9EDA17C507 for ; Fri, 17 Jul 2015 09:19:12 -0400 (EDT) X-Virus-Scanned: amavisd-new at maxx.shmoo.com Received: from maxx.maxx.shmoo.com ([127.0.0.1]) by localhost (maxx.shmoo.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id QjOvZuoIdgas for ; Fri, 17 Jul 2015 09:19:08 -0400 (EDT) Received: from sipsolutions.net (s3.sipsolutions.net [5.9.151.49]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (Client did not present a certificate) by maxx.maxx.shmoo.com (Postfix) with ESMTPS id C5DC717C477 for ; Fri, 17 Jul 2015 09:19:07 -0400 (EDT) Received: by sipsolutions.net with esmtpsa (TLS1.2:ECDHE_RSA_AES_128_CBC_SHA256:128) (Exim 4.86_RC3) (envelope-from ) id 1ZG5Xd-0004UH-69; Fri, 17 Jul 2015 15:19:05 +0200 From: Johannes Berg To: hostap@lists.shmoo.com Subject: [PATCH] hwsim tests: kernel check: catch RTNL assertions Date: Fri, 17 Jul 2015 15:19:02 +0200 Message-Id: <1437139142-30267-1-git-send-email-johannes@sipsolutions.net> X-Mailer: git-send-email 2.1.4 Cc: Johannes Berg X-BeenThere: hostap@lists.shmoo.com X-Mailman-Version: 2.1.11 Precedence: list List-Id: HostAP Project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: hostap-bounces@lists.shmoo.com Errors-To: hostap-bounces@lists.shmoo.com From: Johannes Berg Catch RTNL assertions made by ASSERT_RTNL() in the kernel message checks. Change-Id: Id34beaddc9a24dfc76c63b584e948c08bda296fd Signed-off-by: Johannes Berg --- tests/hwsim/check_kernel.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/hwsim/check_kernel.py b/tests/hwsim/check_kernel.py index 9c83833b0b35..15e585646c12 100644 --- a/tests/hwsim/check_kernel.py +++ b/tests/hwsim/check_kernel.py @@ -22,7 +22,7 @@ lockdep_messages = [ 'suspicious RCU usage', ] lockdep = r'(\[\s*)?INFO: (%s)' % ('|'.join(lockdep_messages), ) -issue = re.compile('(\[[0-9 .]*\] )?(WARNING:|BUG:|%s).*' % lockdep) +issue = re.compile('(\[[0-9 .]*\] )?(WARNING:|BUG:|%s|RTNL: assertion failed).*' % lockdep) def check_kernel(logfile): for line in open(logfile, 'r'):