Received: by 2002:a6b:500f:0:0:0:0:0 with SMTP id e15csp5028iob; Wed, 11 May 2022 08:22:50 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyAtpLvvOD+ysgwuILmb/y26xQQvQrfHkS2Us1UdSKNvDnl9lCpE3o1GWyogU8z3PcYpcAy X-Received: by 2002:a05:6a00:c91:b0:510:73d6:a890 with SMTP id a17-20020a056a000c9100b0051073d6a890mr25905133pfv.42.1652282569826; Wed, 11 May 2022 08:22:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1652282569; cv=none; d=google.com; s=arc-20160816; b=dDppC8UCnFwi0GKwhVBObBVi3zvMu2o44ND0vN9puAR59zljPJf1FQjnMp5iv1LkKc G6woZrvPhDZgLzYgEItEYswBgh3ZPW/zqO97/nA5n5pHSxmUcYod0KTeoAK1YRXYXNT8 4RvufyKWnaBVCKEZHEXujQLnaR4U+rbes3fSOmQwhJJ1CQ/zCHybcKuTkiJHJg9uJ6s5 CctHZ4l7YacgpoRIzs4VOHuOFbGbqwIzJIFqj5axaJdlZF3xj+GUPNz/LaTsxWQnX5pT 8/88C2Kz8ZeXCAXcUU3wJpOlWiy2+YI3EFdA3jCcyvGQ0UakWvzwu+8h7AIBb38CDM+d pjGg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=85IvN48Oum7wDA9VHPWkbcNiKQPkAxfNM4RLWFP5Phc=; b=YtUA07k6OAI8Bq8m8WnCRosMwV/TiOWzvx2Q1/15U/SpBPrxzK1LY4Q3jf7mdGdauL Ee60AC2fgpYWT/84Nm4KDK5TVlohGdaBFT9vTJO6svnfsFKw+n4jN+mHDqXeW47BV9v7 H5IQ4W93vKrhNcNzqkINLPSQa9HgHvMZDCCNPDw1sovO7bCJclxXtp4Jra6U6M9KpAkR d/d3+FXtZ0MJkw5/R2IX+ErvSWKChvegw7z8HGlPWBCLxbG9XzCThqIl8pEC7rAgGiSP +/4RzNbyrdVGGqcAQw/KK58RL22v3Zg1AkxpTlI9yD7PX87HpKdTdokWmV67mHat8Fv2 jV3g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=hBQw3J6k; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id l1-20020a656801000000b0039911b1bf43si6854pgt.269.2022.05.11.08.22.37; Wed, 11 May 2022 08:22:49 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=hBQw3J6k; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240590AbiEKLvQ (ORCPT + 99 others); Wed, 11 May 2022 07:51:16 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39624 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229991AbiEKLu5 (ORCPT ); Wed, 11 May 2022 07:50:57 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A9A8056C09; Wed, 11 May 2022 04:50:55 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id D7E3F61718; Wed, 11 May 2022 11:50:54 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id B1ADFC340F2; Wed, 11 May 2022 11:50:53 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1652269854; bh=pbTu1SyOmaMoBMug74Cs/J6drhmgKaLsBjPev0VWet4=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=hBQw3J6kbqcWvUQHyx2hh13xUfDwIP/58AdyOtmKRjAbatz5H5HWDlte3eZbI1kV3 vAkAh+j58tYbQAuZlSL2K8wUwXA8YtbdjA2VH82YJAGEcyRsvsyfKPFJndRgVUbSJv VWVqZwYwaq7f4RArduroU+JVpeAGfc+GOJmKUSIA= Date: Wed, 11 May 2022 13:50:51 +0200 From: Greg Kroah-Hartman To: Michel =?iso-8859-1?Q?D=E4nzer?= Cc: Dave Airlie , freedreno , Thomas Zimmermann , Tomeu Vizoso , Jonathan Corbet , Sean Paul , "open list:DOCUMENTATION" , Abhinav Kumar , LKML , dri-devel , linux-arm-msm , Linus Torvalds Subject: Re: Adding CI results to the kernel tree was Re: [RFC v2] drm/msm: Add initial ci/ subdirectory Message-ID: References: <20220510070140.45407-1-tomeu.vizoso@collabora.com> <20220510141329.54414-1-tomeu.vizoso@collabora.com> <1255a66a-121d-988a-19a7-316f703cb37d@mailbox.org> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <1255a66a-121d-988a-19a7-316f703cb37d@mailbox.org> X-Spam-Status: No, score=-7.7 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, May 11, 2022 at 12:26:05PM +0200, Michel D?nzer wrote: > On 2022-05-11 08:22, Greg Kroah-Hartman wrote: > > On Wed, May 11, 2022 at 03:06:47PM +1000, Dave Airlie wrote: > >>> And use it to store expectations about what the drm/msm driver is > >>> supposed to pass in the IGT test suite. > >> > >> I wanted to loop in Linus/Greg to see if there are any issues raised > >> by adding CI results file to the tree in their minds, or if any other > >> subsystem has done this already, and it's all fine. > > > > Why does the results need to be added to the tree? Shouldn't they be > > either "all is good" or "constantly changing and a constant churn"? > > > >> I think this is a good thing after our Mesa experience, but Mesa has a > >> lot tighter integration here, so I want to get some more opinions > >> outside the group. > > > > For systems that have "tight integration" this might make sense as proof > > that all is working for a specific commit, but I can't see how this will > > help the kernel out much. > > > > What are you going to do with these results being checked in all the > > time? > > Having the expected results in the tree keeps them consistent with the driver code itself, and allows putting in place gating CI to prevent merging driver changes which make any of the tests deviate from the expected result. Shouldn't "expected result" always be "pass"? If not, then the test should be changed to be "skipped" like we have today in the kselftest tests. And how about tieing this into the kselftest process as well, why would this be somehow separate from the rest of the kernel tests? > Keeping them separate inevitably results in divergence between the driver code and the expected test results, which would result in spurious failures of such CI. Again, "pass" should be the expected results :) > I expect the main complication for the kernel will be due to driver changes merged via different trees, e.g. for cross-subsystem reworks. Since those will not go through the same CI, they may accidentally introduce inconsistencies. The ideal solution for this IMO would be centralizing CI such that the same gating tests have to pass regardless of how the code is merged. But there's likely quite a long way to go until we get there. :) We have in-kernel tests for the rest of the kernel, why can't you put your testing stuff into there as well? thanks, greg k-h