public inbox for isar-users@googlegroups.com
 help / color / mirror / Atom feed
From: Baurzhan Ismagulov <ibr@radix50.net>
To: isar-users <isar-users@googlegroups.com>
Subject: Re: FYI: Feasibility of CI on github
Date: Mon, 15 Feb 2021 12:27:28 +0100	[thread overview]
Message-ID: <20210215112728.GO20742@yssyq.m.ilbers.de> (raw)
In-Reply-To: <20210212202051.3446d863@md1za8fc.ad001.siemens.net>

On Fri, Feb 12, 2021 at 08:20:51PM +0100, Henning Schild wrote:
> > When we made our initial PoC with Avocado, we used their Debian
> > packaging. Unfortunately, it got broken with buster. I'll talk with
> > upstream regarding this.
> 
> That would be good. I think having debian would be good enough but not
> having it is really bad.

I've looked at the code, they've meanwhile updated it. I've submitted small
fixes, but we have the package and will test it.


> I do not remember the details. It is quite possible. But a feature
> merge without a user is something that should never have happened.

The code that is not used by default doesn't necessarily mean it is not used.
It's exactly because we wanted to experiment with different test case splits
that we didn't enable it by default too early. In the first step, we'd like to
mimic the existing test suite, then maybe add test cases for individual machine
builds, then switch the default.

That said, this topic is something we are often confronted with: We get an
obviously useful patch (e.g., a fix for a build failure in a certain scenario),
but don't have a test case for it. By this definition, it is code without a
user. As much as I'd like to have test cases for everything, I doubt we can
live up to that 100%.


> > > And one really important first step would be decoupling of CI and
> > > CT.  
> > 
> > If CT = continuous testing, I've indeed handled that as one step in
> > our process; what could we decouple with which benefit?
> 
> Yes i mean continous testing.
> 
> Starting those qemus and parsing their output is clearly testing and
> should be another job.

Ok, roughly, CI is building and CT is running. Yes, starting the images will go
to their own test cases. That said, at Isar CI we'd still like to include them
in the process. But downstreams can decide that themselves -- IIUC, it isn't
used at the Siemens CI today.


> All the qemu-related variables need to leave the machine configs.
> 
> These configs serve as a very bad example where people might think they
> can configure the kernel cmdline in the machine cfg, even though they
> might be on wic.

If the docs can be improved to avoid misunderstandings, I'd start with that
first. The qemu vars are already prefixed. Scattered settings is one of the
main complaints about bitbake, so I'm not yet convinced moving is justified in
this case.


> Ideally the test CI and CT framwork of Isar would allow layering. While
> main Isar would be mc and slow on its thorough CI/CT layers could reuse
> parts.

Yes, that requires dependency support, we'll continue looking how to address
that. An alternative would be bitbake, which we didn't do :) .


> I think a proper modularization will save time even given the current
> CI.

As mentioned, we already agree that a framework would be useful.


> To get there we would need a CI system where the pipelines are part of
> the code, so probably not jenkins.

Just as a remark, Jenkins does support pipelines, we just don't use them; maybe
I should prioritize that. We did resurrect our GitLab, and I don't see how it
is better. Ideally, I want a different tool :) . In practice, many people use
one of the two, so I'd be interested in documenting both workflows.


With kind regards,
Baurzhan.

  reply	other threads:[~2021-02-15 11:27 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-02-09 12:53 Jan Kiszka
2021-02-12  9:16 ` Henning Schild
2021-02-12 10:01   ` Baurzhan Ismagulov
2021-02-12 10:28     ` Henning Schild
2021-02-12 10:53       ` Baurzhan Ismagulov
2021-02-12 16:55         ` Jan Kiszka
2021-02-15 11:30           ` Baurzhan Ismagulov
2021-02-12 19:20         ` Henning Schild
2021-02-15 11:27           ` Baurzhan Ismagulov [this message]
2021-02-15 13:45             ` Jan Kiszka

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20210215112728.GO20742@yssyq.m.ilbers.de \
    --to=ibr@radix50.net \
    --cc=isar-users@googlegroups.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox