Received: by 2002:a05:6500:4c4:b0:1ed:114f:4c4b with SMTP id y4csp16257lqc; Thu, 29 Feb 2024 08:31:43 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCUZuemuwT9xl+P0PQIvL9EiZrpMHdTAvl6o7BqQacOqFIaSnV7bvPvUnJqVLZIkhu3PV8CMVk9Su+gjS5z/dvDR84jylLn2eozWJHip4g== X-Google-Smtp-Source: AGHT+IHVk2Q6ZWgPBiTk8Ss4iHj/bR/qFivKWjhNzNR5xeDXfu5/S+fIXC2B3EVPKYoB4B5RFeJa X-Received: by 2002:a67:ee4a:0:b0:472:667a:b859 with SMTP id g10-20020a67ee4a000000b00472667ab859mr2405728vsp.25.1709224302793; Thu, 29 Feb 2024 08:31:42 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1709224302; cv=pass; d=google.com; s=arc-20160816; b=uRHgRr9BZRiAmudTFA5rfllED2TD0A415llP3nnoptRt0cXW3ULHC021+6AHC9CfzW Mf1T4i9Cag3T4NgL+heBkM+jDikTzWnrzRZIpagN2Q6dKb89AgEQgaLmYU/u/NJBQHpS reeeUM2aicbmwYmTjk5QgJRp7k9Suc/i9xM8CiSPCbBXkZ+1JHpnxfN5qBjlTWaG0yaY 1/VinJGAQKHAUx0xmtCdf4Ms0KH4Tkrfy3vCB4LxbvWfm+dwPetspOWD6jN7fubQjpcf GcOmrUMjHbVAWt1walzyFBLJAcRnFRkLvd4gUp64J6WiPueOt+Xy7dD32BPiYKL0ggY7 fzZA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=mime-version:list-unsubscribe:list-subscribe:list-id:precedence :user-agent:content-transfer-encoding:autocrypt:references :in-reply-to:date:to:from:subject:message-id:dkim-signature; bh=SMGOab+7zWmZzRImZKq5cXat6UyO55K3LoDtn2ke3cw=; fh=6UbML8/tYaesYgrIHx5w2oVsPp4nKEGpjgWidY5YrUw=; b=PdskVNPidIUqWfxXyrDOjxQpCxlXZ/uSd5k3g1g9b3yq2lllsfEXXeT2NxKBIn4QUU uUl+gyxZ9vbWJHh81UqvFICazPJgMYTfGNJ3y6rltuCu/6/LX/Q2u6y6W2Q4+saoBDq7 0zrnAEYqp+ihViA4kC5kfMDj5EzQOGsBod5XPXgUB1XMquq1ZOnciF1jXyrf10wd3EaD NW8lgwnGqqgFzLJmQKzMGKQD49HoQeq4SYrB01hsTSXaYjXmeMps3NYq6XyzDhE7r8d6 Y5L8duzvjEQ0MvxDWlTQTmvMEGdcad8IbrMMl6hYX+YQTivUxpm6ayfXN10rqI7Uy39M lQHQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=Q14FqFwO; arc=pass (i=1 spf=pass spfdomain=collabora.com dkim=pass dkdomain=collabora.com dmarc=pass fromdomain=collabora.com); spf=pass (google.com: domain of linux-kernel+bounces-87084-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-87084-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=collabora.com Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id g16-20020a056102159000b00471bf079fabsi300022vsv.820.2024.02.29.08.31.42 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 29 Feb 2024 08:31:42 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-87084-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=Q14FqFwO; arc=pass (i=1 spf=pass spfdomain=collabora.com dkim=pass dkdomain=collabora.com dmarc=pass fromdomain=collabora.com); spf=pass (google.com: domain of linux-kernel+bounces-87084-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-87084-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=collabora.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 1ED5F1C236A7 for ; Thu, 29 Feb 2024 16:31:31 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 7E9576CC18; Thu, 29 Feb 2024 16:28:59 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=collabora.com header.i=@collabora.com header.b="Q14FqFwO" Received: from madrid.collaboradmins.com (madrid.collaboradmins.com [46.235.227.194]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id B9E3F6CBE0; Thu, 29 Feb 2024 16:28:56 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=46.235.227.194 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709224138; cv=none; b=RlgEzoPp+HymUrW2RLArSw1cIFH9NrXWkKrWacZIn1157k0RpUUoscb3roUjsfIEN8CnbgVlwhSKDilbscOsNIBnqcIjis05xNcNj8EZ0asgcJMGFu9DZRiM5JedBb+dhnu852HNY76khrC74HfJvun/7Bj4g0ohGnMlqPGQRxk= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709224138; c=relaxed/simple; bh=z4pcMkbx7CwYtTLR1xVSD2jGRP8EoN4FBh8txazgN9A=; h=Message-ID:Subject:From:To:Date:In-Reply-To:References: Content-Type:MIME-Version; b=Yk8q9AvQFOuB1esStVtnxxiAbNRAJO0Lil2m8r8FT9CAlg2fRrQ9+bKc1dG78FWod6jA/kKEmM1XWRNFEVvAAoBpuN1c4pE1xPbR54pFkpMR8/156j57BTE2ApuKfjKdf/J/LB4tFx3BJDN5W/hxEU0A/Q+Os1ZE7XUJ9fUKEPg= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=collabora.com; spf=pass smtp.mailfrom=collabora.com; dkim=pass (2048-bit key) header.d=collabora.com header.i=@collabora.com header.b=Q14FqFwO; arc=none smtp.client-ip=46.235.227.194 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=collabora.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=collabora.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1709224134; bh=z4pcMkbx7CwYtTLR1xVSD2jGRP8EoN4FBh8txazgN9A=; h=Subject:From:To:Date:In-Reply-To:References:From; b=Q14FqFwOkU3VixMurYxnw1yk1ZbMV9inkY4T1bEtUk4/XS5dyG+R94vFtllvI/t1b BLOtyXu7swxRNfucTD11pVsSgdE0emaKDk+nNA+iRUqy11TXgGKLTE0dbr4QtYhiAW 3R3NW0akW34+qswicx0By/kpbDHalnrt0hcUHs1fQf08vDKcmYxD0p4odjklxshMID bek9QpSuvYFpYd2ms1DWsCyijWVcDNkR+DROy3guaDoYd21B1zBqeAE/1j+qZu0tTL nVulcl3OdM19BKtZutlAs+shYJGgpfIoXjlhEB9AgDh2FFQa2kdoq7wtco/LS2xlHT dlzl/nirPPcnA== Received: from nicolas-tpx395.localdomain (cola.collaboradmins.com [195.201.22.229]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: nicolas) by madrid.collaboradmins.com (Postfix) with ESMTPSA id 92CC13782066; Thu, 29 Feb 2024 16:28:51 +0000 (UTC) Message-ID: <51fa8932e57010620e9a9e16a1979f4883e95a7d.camel@collabora.com> Subject: Re: [PATCH 0/3] kci-gitlab: Introducing GitLab-CI Pipeline for Kernel Testing From: Nicolas Dufresne To: Nikolai Kondrashov , Guillaume Tucker , Helen Koike , linuxtv-ci@linuxtv.org, dave.pigott@collabora.com, mripard@kernel.org, linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, linux-kselftest@vger.kernel.org, gustavo.padovan@collabora.com, pawiecz@collabora.com, tales.aparecida@gmail.com, workflows@vger.kernel.org, kernelci@lists.linux.dev, skhan@linuxfoundation.org, kunit-dev@googlegroups.com, nfraprado@collabora.com, davidgow@google.com, cocci@inria.fr, Julia.Lawall@inria.fr, laura.nao@collabora.com, ricardo.canuelo@collabora.com, kernel@collabora.com, torvalds@linuxfoundation.org, gregkh@linuxfoundation.org Date: Thu, 29 Feb 2024 11:28:48 -0500 In-Reply-To: References: <20240228225527.1052240-1-helen.koike@collabora.com> Autocrypt: addr=nicolas.dufresne@collabora.com; prefer-encrypt=mutual; keydata=mQGiBEUQN0MRBACQYceNSezSdMjx7sx6gwKkMghrrODgl3B0eXBTgNp6c431IfOOEsdvkoOh1kwoYcQgbg4MXw6beOltysX4e8fFWsiRkc2nvvRW9ir9kHDm49MkBLqaDjTqOkYKNMiurFW+gozpr/lUW15QqT6v68RYe0zRdtwGZqeLzX2LVuukGwCg4AISzswrrYHNV7vQLcbaUhPgIl0D+gILYT9TJgAEK4YHW+bFRcY+cgUFoLQqQayECMlctKoLOE69nIYOc/hDr9uih1wxrQ/yL0NJvQCohSPyoyLF9b2EuIGhQVp05XP7FzlTxhYvGO/DtO08ec85+bTfVBMV6eeY4MS3ZU+1z7ObD7Pf29YjyTehN2Dan6w1g2rBk5MoA/9nDocSlk4pbFpsYSFmVHsDiAOFje3+iY4ftVDKunKYWMhwRVBjAREOByBagmRau0cLEcElpf4hX5f978GoxSGIsi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CfT/7P9WDjkkmiq5AfeOiwVlpuHtM= Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable User-Agent: Evolution 3.50.4 (3.50.4-1.fc39) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Hi, Le jeudi 29 f=C3=A9vrier 2024 =C3=A0 16:16 +0200, Nikolai Kondrashov a =C3= =A9crit=C2=A0: > On 2/29/24 2:20 PM, Guillaume Tucker wrote: > > Hello, > >=20 > > On 28/02/2024 23:55, Helen Koike wrote: > > > Dear Kernel Community, > > >=20 > > > This patch introduces a `.gitlab-ci` file along with a `ci/` folder, = defining a > > > basic test pipeline triggered by code pushes to a GitLab-CI instance.= This > > > initial version includes static checks (checkpatch and smatch for now= ) and build > > > tests across various architectures and configurations. It leverages a= n > > > integrated cache for efficient build times and introduces a flexible = 'scenarios' > > > mechanism for subsystem-specific extensions. > >=20 > > This sounds like a nice starting point to me as an additional way > > to run tests upstream. I have one particular question as I see a > > pattern through the rest of the email, please see below. > >=20 > > [...] > >=20 > > > 4. **Collaborative Testing Environment:** The kernel community is alr= eady > > > engaged in numerous testing efforts, including various GitLab-CI pipe= lines such > > > as DRM-CI, which I maintain, along with other solutions like KernelCI= and > > > BPF-CI. This proposal is designed to further stimulate contributions = to the > > > evolving testing landscape. Our goal is to establish a comprehensive = suite of > > > common tools and files. > >=20 > > [...] > >=20 > > > **Leveraging External Test Labs:** > > > We can extend our testing to external labs, similar to what DRM-CI cu= rrently > > > does. This includes: > > > - Lava labs > > > - Bare metal labs > > > - Using KernelCI-provided labs > > >=20 > > > **Other integrations** > > > - Submit results to KCIDB > >=20 > > [...] > >=20 > > > **Join Our Slack Channel:** > > > We have a Slack channel, #gitlab-ci, on the KernelCI Slack instance h= ttps://kernelci.slack.com/ . > > > Feel free to join and contribute to the conversation. The KernelCI te= am has > > > weekly calls where we also discuss the GitLab-CI pipeline. > > >=20 > > > **Acknowledgments:** > > > A special thanks to Nikolai Kondrashov, Tales da Aparecida - both fro= m Red Hat - > > > and KernelCI community for their valuable feedback and support in thi= s proposal. > >=20 > > Where does this fit on the KernelCI roadmap? > >=20 > > I see it mentioned a few times but it's not entirely clear > > whether this initiative is an independent one or in some way > > linked to KernelCI. Say, are you planning to use the kci tool, > > new API, compiler toolchains, user-space and Docker images etc? > > Or, are KernelCI plans evolving to follow this move? >=20 > I would say this is an important part of KernelCI the project, considerin= g its=20 > aim to improve testing and CI in the kernel. It's not a part of KernelCI = the=20 > service as it is right now, although I would say it would be good to have= =20 > ability to submit KernelCI jobs from GitLab CI and pull results in the sa= me=20 > pipeline, as we discussed earlier. I'd like to add that both CI have a different purpose in the Linux project.= This CI work is a pre-merge verification. Everyone needs to run checkpatch and smatch, this is automating it (and will catch those that forgot or ran it incorrectly). But it can go further by effectively testing specific patches= on real hardware (with pretty narrow filters). It will help catch submission i= ssues earlier, and reduce kernelCI regression rate. As a side effect, kernelCI in= fra will endup catching the "integration" issues, which are the issue as a resu= lt of simultenous changes in different trees. They are also often more complex an= d benefit from the bisection capabilities. kernelCI tests are also a lot more intensive, they usually covers everythin= g, but they bundle multiple changes per run. The pre-merge tests will be reduc= ed to what seems meaningful for the changes. Its important to understand that pre= - merge CI have a time cost, and we need to make sure CI time does not exceed= the merge window period. Nicolas