Re: [PATCH 0/3] kci-gitlab: Introducing GitLab-CI Pipeline for Kernel Testing

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Friday, March 01, 2024 18:56 -03, Guillaume Tucker <gtucker@xxxxxxxxxx> wrote:

> On 29/02/2024 17:28, Nicolas Dufresne wrote:
> > Hi,
> > 
> > Le jeudi 29 février 2024 à 16:16 +0200, Nikolai Kondrashov a écrit :
> >> On 2/29/24 2:20 PM, Guillaume Tucker wrote:
> >>> Hello,
> >>>
> >>> On 28/02/2024 23:55, Helen Koike wrote:
> >>>> Dear Kernel Community,
> >>>>
> >>>> 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 an
> >>>> integrated cache for efficient build times and introduces a flexible 'scenarios'
> >>>> mechanism for subsystem-specific extensions.
> >>>
> >>> 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.
> >>>
> >>> [...]
> >>>
> >>>> 4. **Collaborative Testing Environment:** The kernel community is already
> >>>> engaged in numerous testing efforts, including various GitLab-CI pipelines 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.
> >>>
> >>> [...]
> >>>
> >>>> **Leveraging External Test Labs:**
> >>>> We can extend our testing to external labs, similar to what DRM-CI currently
> >>>> does. This includes:
> >>>> - Lava labs
> >>>> - Bare metal labs
> >>>> - Using KernelCI-provided labs
> >>>>
> >>>> **Other integrations**
> >>>> - Submit results to KCIDB
> >>>
> >>> [...]
> >>>
> >>>> **Join Our Slack Channel:**
> >>>> We have a Slack channel, #gitlab-ci, on the KernelCI Slack instance https://kernelci.slack.com/ .
> >>>> Feel free to join and contribute to the conversation. The KernelCI team has
> >>>> weekly calls where we also discuss the GitLab-CI pipeline.
> >>>>
> >>>> **Acknowledgments:**
> >>>> A special thanks to Nikolai Kondrashov, Tales da Aparecida - both from Red Hat -
> >>>> and KernelCI community for their valuable feedback and support in this proposal.
> >>>
> >>> Where does this fit on the KernelCI roadmap?
> >>>
> >>> 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?
> >>
> >> I would say this is an important part of KernelCI the project, considering its 
> >> aim to improve testing and CI in the kernel. It's not a part of KernelCI the 
> >> service as it is right now, although I would say it would be good to have 
> >> ability to submit KernelCI jobs from GitLab CI and pull results in the same 
> >> pipeline, as we discussed earlier.
> 
> Right, I think this needs a bit of disambiguation.  The legacy
> KernelCI system from the Linaro days several years ago is really
> a service on its own like the many other CIs out there.  However,
> the new KernelCI API and related tooling (kci command line, new
> web dashboard, modular runtime design etc.) is not that.  It's
> about addressing all the community requirements and that includes
> being able to run a same test manually in a shell, or in a VM, or
> automatically from GitLab CI or using a main generic pipeline
> hosted by KernelCI itself.  With this approach, there's no
> distinction between "the project" and "the service", and as we
> discussed before there shouldn't even be a distinction with
> KCIDB.  Just KernelCI.
> 
> However I don't really see this happening, unless I'm missing a
> part of the story or some upcoming announcement with an updated
> roadmap.  For some reason the old and established paradigm seems
> unshakeable.  The new KernelCI implementation is starting to look
> just like a refresh of the old one with newer components - which
> is a huge missed opportunity to really change things IMHO.

Calling that a missed opportunity is a subjective perspective about
the latest developments in KernelCI. The system implementation is
one level less important than the actual kernel community engagement
the project can generate. If one asks people around, the lack of
community engagement with KernelCI is evident.

However, after the recent leadership change in the project there is a
growing effort to bring the kernel community closer to the KernelCI
project with a renewed focus on high quality test results, clean regression
reporting, among other things. Then, with an increased number of community
members involved, we will have the necessary feedback (and funding!) to
evolve the KernelCI infrastructure and technology to new levels.

Otherwise, envisioning something that can solve *all* community testing
needs would never be anything more than a fantasy in people's heads.

- Gus

-- 
Gustavo Padovan
Kernel Lead
Collabora Ltd.






[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]

  Powered by Linux