Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp3328709yba; Tue, 23 Apr 2019 01:40:33 -0700 (PDT) X-Google-Smtp-Source: APXvYqxarMBeeBebjXZECUChogVVbitKOg+jUMi2DrtODnDp1/5RS+9ZJ+AIhlf2mfUvzRadhU33 X-Received: by 2002:a63:5511:: with SMTP id j17mr23684167pgb.449.1556008833188; Tue, 23 Apr 2019 01:40:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1556008833; cv=none; d=google.com; s=arc-20160816; b=FLvz55IWbgYn8765GNc74Xh2vuyOjW4+QZUx5vx6UqUjaZxRByZ5mZROBjjLRPzTLX 1DNAgEhBdXRI6klOzAZgiEe+qqyOKANFWRh2QH82V2EUZRFjwq8Z27TDhCO4ITIYFP7M QvPC9DX+hRPMz7RU5WYrY+lnSpalRSVgXbhmEchTyIUdCL5KJOC9J1Ww1SA7mLKE5JTX 7A8qILRYyKTTGWzwk4QVlIgZVoFoUyNWGWsaGd3FwM/tK2RxBQAZfBOtQfVEBb6lDbrj 53cO1TYOzKqrN98f5daBdVuIssNnsenvWAqm34nV38T1oySVOZwhGZoN9C/dX1BGU/ID ConQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:date:cc:to:from:subject :message-id:dkim-signature; bh=tEsn4kZu809kRTGqYobDogJ4G9e03+g7H6ipdOqD2dk=; b=E4HPZvT5yFNlWtY8/fXYUvpYWw/k54BkwNdFD1EkIm7lJXQAdtDyzaG1q78QW7mCTs 9A7AGW8nqYPeoYcY83nUS5N+rBzpV4yooTIPpTGRPyz29YANMdNfAXQCRrv2zFRZR4ie p4t4kHp7pzp3a4S7YzMJ8lGKhoA4FENNZY2PlbWRmDxC7R1XiopMp0Xh4zpzRyWUuD5A GxTp0JnJY5MjAiQUR0liDkkhPVflpv0uR2Kk19t6Pov1qT0u7XtUiTu1cew13XBOhGGr 4jpCrtp2TW8Uv7posrd3CSdsY59Y13v8FkzrtETOqMWMMSMW+UREHWD38Ke/pXDIIeLn X+MA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@oracle.com header.s=corp-2018-07-02 header.b=FX5765Hc; 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=pass (p=NONE sp=NONE dis=NONE) header.from=oracle.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id d23si16221602pfd.93.2019.04.23.01.40.17; Tue, 23 Apr 2019 01:40:33 -0700 (PDT) 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; dkim=pass header.i=@oracle.com header.s=corp-2018-07-02 header.b=FX5765Hc; 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=pass (p=NONE sp=NONE dis=NONE) header.from=oracle.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726722AbfDWIit (ORCPT + 99 others); Tue, 23 Apr 2019 04:38:49 -0400 Received: from userp2130.oracle.com ([156.151.31.86]:58754 "EHLO userp2130.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725939AbfDWIis (ORCPT ); Tue, 23 Apr 2019 04:38:48 -0400 Received: from pps.filterd (userp2130.oracle.com [127.0.0.1]) by userp2130.oracle.com (8.16.0.27/8.16.0.27) with SMTP id x3N8YMCW003608; Tue, 23 Apr 2019 08:37:59 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=message-id : subject : from : to : cc : date : in-reply-to : references : content-type : mime-version : content-transfer-encoding; s=corp-2018-07-02; bh=tEsn4kZu809kRTGqYobDogJ4G9e03+g7H6ipdOqD2dk=; b=FX5765Hc73WJE+fuyBGNDBaVJi7J7201Vy6atkwKodLPq+rrl3dhWXCZzH7NceYuJkzm ZdretX/3l8Xp+2/FihtHoz6vT1NYoXICeIcXXVrVucxmm63rdx0W5gzw+Nj+cj/2vM6b j5ajqJLHnGSSBk2UosP/N4LlMcozhZPpEb+uFRlm8xZReWhuz9HypaOwj9HBArv4dI+W AQVhKk0ZF3cJKPh8mAXyLtJv0gkC2Nfs6t3o/gmQAm1RIiSvbq4DFN14nrLwb/Wcb2j4 oPAuqhl3zIDvde4dwdJuMYw/P13RZ0xJbJkG+jYNqMfmDgOvCR6iDFDI2T/uXJi0y/Mc nw== Received: from userp3020.oracle.com (userp3020.oracle.com [156.151.31.79]) by userp2130.oracle.com with ESMTP id 2rytustnpf-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 23 Apr 2019 08:37:58 +0000 Received: from pps.filterd (userp3020.oracle.com [127.0.0.1]) by userp3020.oracle.com (8.16.0.27/8.16.0.27) with SMTP id x3N8aiHl095379; Tue, 23 Apr 2019 08:37:58 GMT Received: from userv0121.oracle.com (userv0121.oracle.com [156.151.31.72]) by userp3020.oracle.com with ESMTP id 2s0dwe4wh8-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 23 Apr 2019 08:37:58 +0000 Received: from abhmp0007.oracle.com (abhmp0007.oracle.com [141.146.116.13]) by userv0121.oracle.com (8.14.4/8.13.8) with ESMTP id x3N8bsqq026630; Tue, 23 Apr 2019 08:37:54 GMT Received: from abi.no.oracle.com (/141.143.213.42) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Tue, 23 Apr 2019 01:37:54 -0700 Message-ID: Subject: Re: Linux Testing Microconference at LPC From: Knut Omang To: Dhaval Giani , Sasha Levin , shuah , Kevin Hilman , Tim Bird , LKML Cc: Steven Rostedt , "Carpenter,Dan" , willy@infradead.org, gustavo.padovan@collabora.co.uk, Dmitry Vyukov Date: Tue, 23 Apr 2019 10:37:51 +0200 In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.30.4 (3.30.4-1.fc29) Mime-Version: 1.0 Content-Transfer-Encoding: 7bit X-Proofpoint-Virus-Version: vendor=nai engine=5900 definitions=9235 signatures=668685 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=0 malwarescore=0 phishscore=0 bulkscore=0 spamscore=0 mlxscore=0 mlxlogscore=999 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1810050000 definitions=main-1904230062 X-Proofpoint-Virus-Version: vendor=nai engine=5900 definitions=9235 signatures=668685 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 priorityscore=1501 malwarescore=0 suspectscore=0 phishscore=0 bulkscore=0 spamscore=0 clxscore=1011 lowpriorityscore=0 mlxscore=0 impostorscore=0 mlxlogscore=999 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1810050000 definitions=main-1904230062 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, On Thu, 2019-04-11 at 10:37 -0700, Dhaval Giani wrote: > Hi Folks, > > This is a call for participation for the Linux Testing microconference > at LPC this year. > > For those who were at LPC last year, as the closing panel mentioned, > testing is probably the next big push needed to improve quality. From > getting more selftests in, to regression testing to ensure we don't > break realtime as more of PREEMPT_RT comes in, to more stable distros, > we need more testing around the kernel. > > We have talked about different efforts around testing, such as fuzzing > (using syzkaller and trinity), automating fuzzing with syzbot, 0day > testing, test frameworks such as ktests, smatch to find bugs in the > past. We want to push this discussion further this year and are > interested in hearing from you what you want to talk about, and where > kernel testing needs to go next. > > Please let us know what topics you believe should be a part of the > micro conference this year. I'd like to propose another topic on unit test framework support in the kernel: From the initial reactions and interest I have seen wrt. KTF (http://heim.ifi.uio.no/~knuto/ktf/, https://github.com/oracle/ktf) and the discussions on LKML around KUnit (https://lkml.org/lkml/2018/11/29/82), it seems there's a general belief that some form of unit test framework like these can be a good addition to the tools and infrastructure already available in the kernel. It seems however that different people have different notions about what and how such a framework should ideally look, and what features belong there. I'd like to see if we can bring that discussion forward by focusing on some of these items, where people seem to have quite differing views depending on where they come from. Here is a non extensive list of some topics that seems to pop up when this gets discussed: - "Purity" of unit testing - what constitutes a "unit" in the kernel? - Testing kernel code - user space vs kernel space? (both useful) - Immediate development/debugging requirements vs longer term needs - Driver/hardware interaction testing? - "Neat"-factor - ease of use - Network testing (more than 1 kernel involved) ... I'd like to make a short intro into this, and hopefully we can have some good exchange based on that. [While our contribution (KTF) is currently available on Github, at that point in time I plan for us to have submitted a version of it to the LKML as well] Thanks, Knut