Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp178194ybt; Tue, 16 Jun 2020 20:38:18 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyztFjLEZfxlDll6g316G8zP/sk8NxYkq56Fci0YVYyd46+s045EqKWcddBtZV7TbKYHFnJ X-Received: by 2002:a17:906:1c8e:: with SMTP id g14mr5696749ejh.136.1592365098737; Tue, 16 Jun 2020 20:38:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1592365098; cv=none; d=google.com; s=arc-20160816; b=bEk2UhkZZTCCWyTZ1r1ciIbgkDhaQo5hxK4I4asM5PtEt5bp5dFKm9WufRdglohFfa f8E3Ls6a+XwKe5ZoOIWeR0MHJiuRtiMWC1ono0thVCxKKwdUKOkPWLbcMkI7UfjIeLoH ASp+aMalKd6ASXxd2Qp5oihX9PgedMXgXi7ZnNBUAcFZtcITR4bW/11GYEx9pqTCJsHP FnB/o3YVWhuAfDRhuBEa3ho8U79g+NN0LFk8PuU4nvQOI3NJQYB9HA1GoeLNYFSwxk+8 iA0KZd3l3kaLxJWbcCDZyA7lNSaqaqSFt+R1Y0b9h2Wwq+yyKq7rAziObZz7fWlXned9 cAyA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=DLJBB3pRoWG5efQHi3veUFRcagcqJ+oWknNXTwAk0o0=; b=gOxnvrmIePuVCWAbO9yBhwJC69iUQ99+TVDC3JKqYqHbL4DX2MVpShmw39wMtEwKcQ TJQu5TiSxOf9RgILHnJJPLBcCeqvDPqzozARy20Fd7t/A7UtY2Vz+tQB/M8PQxje60rT xS8JV8OF0qOVhxeRfsTkH3ILS46cArx+Rv3PYa+X8llUPBpWPNBYApkHXDn+0wqaP9t9 1I+eRO6JE8wjNIFd+G11zDVjI8VM/pGippj4P8YbbrC8eXgn19CTHda4jyIhp8/VIvpC DhXFtCfvfjWjnzmIFHKnUvsFdXMr4+IoY+qUWwR4Lnba6xyZc/FqgbKravU6QI4YCioN bUNQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=NcmAqGk+; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id qk2si12536551ejb.271.2020.06.16.20.37.56; Tue, 16 Jun 2020 20:38:18 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=NcmAqGk+; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726703AbgFQDgL (ORCPT + 99 others); Tue, 16 Jun 2020 23:36:11 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42960 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726497AbgFQDgK (ORCPT ); Tue, 16 Jun 2020 23:36:10 -0400 Received: from mail-pf1-x42a.google.com (mail-pf1-x42a.google.com [IPv6:2607:f8b0:4864:20::42a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6FEF0C061573 for ; Tue, 16 Jun 2020 20:36:09 -0700 (PDT) Received: by mail-pf1-x42a.google.com with SMTP id z63so468212pfb.1 for ; Tue, 16 Jun 2020 20:36:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=DLJBB3pRoWG5efQHi3veUFRcagcqJ+oWknNXTwAk0o0=; b=NcmAqGk+iRuqRcsBVf4/+Ex0k/oFPhiAYwMxrL0tiAKhUfjO6L9sXlM9BOpAI6QVbu KDVYyPvTr3mHFIUXiuuzh8dTwGEfhsa0pRlk7EZ2vdpybUMt71pw5yS5SLUilMgf9lvA KLYKhZNTSD40IU6tRKvcLbIBTkgWccHUzP0bQ= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=DLJBB3pRoWG5efQHi3veUFRcagcqJ+oWknNXTwAk0o0=; b=FooyjQUzJ408dj+Xd30wY6KqUUYcgWVYNd6dnCE0/qJhg72LpKTQRy6Um5mdU8U1Li 5xgH3A+LBtDXAiK/93pG4nRS4fNrLs/HslwH4kHAmUg5qMbQUGaxauUbHbMPs9jEDDCW k9L0bi1ZEPmflHgxsSbMTjqI9sORN6UkvTQjpISc9NoNgxnszo+hJch/s+ams00ccP4/ PTmJS3T0J38o3ABKAK5zw3Rsl2UFjwI0xjmmbFZb09F2pAh1Ot9mRf4BqxE5kNzfLWKN geyaV2JHe88/8frVuaWJvqGg8Ad6ISQkBHOt8OBVer8qrd0vncMKB8c/jSN9dTurqx9M Qwzw== X-Gm-Message-State: AOAM530if/GxmX0mJQVL3I68SkT/X9AAFcmtTtBm0iO7VYB8k4GsgecC W2sRQ0qENwXopGNpm/m8qd/AiA== X-Received: by 2002:a63:778c:: with SMTP id s134mr4407440pgc.273.1592364968589; Tue, 16 Jun 2020 20:36:08 -0700 (PDT) Received: from www.outflux.net (smtp.outflux.net. [198.145.64.163]) by smtp.gmail.com with ESMTPSA id lt14sm3797226pjb.52.2020.06.16.20.36.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 16 Jun 2020 20:36:07 -0700 (PDT) Date: Tue, 16 Jun 2020 20:36:06 -0700 From: Kees Cook To: "Bird, Tim" Cc: Brendan Higgins , "shuah@kernel.org" , "linux-kselftest@vger.kernel.org" , "linux-kernel@vger.kernel.org" , Paolo Bonzini , David Gow Subject: Re: RFC - kernel selftest result documentation (KTAP) Message-ID: <202006162032.9BF6F8F4E@keescook> References: <20200616204817.GA212825@google.com> <202006161703.B2E51605@keescook> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Jun 17, 2020 at 02:30:45AM +0000, Bird, Tim wrote: > Agreed. You only need machine-parsable data if you expect the CI > system to do something more with the data than just present it. > What that would be, that would be common for all tests (or at least > many test), is unclear. Maybe there are patterns in the diagnostic > data that could lead to higher-level analysis, or even automated > fixes, that don't become apparent if the data is unstructured. But > it's hard to know until you have lots of data. I think just getting > the other things consistent is a good priority right now. Yeah. I think the main place for this is performance analysis, but I think that's a separate system entirely. TAP is really strictly yes/no, where as performance analysis a whole other thing. The only other thing I can think of is some kind of feature analysis, but that would be built out of the standard yes/no output. i.e. if I create a test that checks for specific security mitigation features (*cough*LKDTM*cough*), having a dashboard that shows features down one axis and architectures and/or kernel versions on other axes, then I get a pretty picture. But it's still being built out of the yes/no info. *shrug* I think diagnostic should be expressly non-machine-oriented. -- Kees Cook