public inbox for isar-users@googlegroups.com
 help / color / mirror / Atom feed
From: Henning Schild <henning.schild@siemens.com>
To: Baurzhan Ismagulov <ibr@radix50.net>
Cc: isar-users@googlegroups.com, "Moessbauer,
	Felix" <felix.moessbauer@siemens.com>
Subject: Re: [PATCH 0/8] CI rework of gitlab fast job
Date: Mon, 23 Jan 2023 09:26:58 +0100	[thread overview]
Message-ID: <20230123092658.2275d928@md1za8fc.ad001.siemens.net> (raw)
In-Reply-To: <Y8K+77YJG6Wpt0uj@ilbers.de>

Am Sat, 14 Jan 2023 15:40:47 +0100
schrieb Baurzhan Ismagulov <ibr@radix50.net>:

> On Fri, Jan 13, 2023 at 06:14:01PM +0100, Henning Schild wrote:
> > think we should not add a third pipeline. Too many switches and
> > variations just mean that we will need testing for the tests and
> > nobody will know which to run when.  
> 
> This is a very valid point. Our problem is, we need two (or maybe
> more :( ) testsuites for efficient handling of maintenance tasks, and
> they are very unsuitable for an average contributor. So this has
> appeared out of necessity.
> 
> I fully agree regarding the switches, I also hate them for the same
> reason. We've considered moving to the raw avocado command line, but
> it is neither short nor obvious, so we left ci_build.sh wrapper at
> this stage.

I would suggest a wrapper for every pipeline, rather than a switch to
one of the wrappers. We can leave switches for advanced users but maybe
only $@ to be passed to avocado.

So a simple ls would tell one which tests are available, where the
files hopefully have good names and the README or CONTRIBUTING files
say which tests to best run after changing anything.

Henning

> 
> So, my proposal is to make "dev" the default and everyone should
> normally run ci_build.sh without any switches (unless anyone
> explicitly wants to experience some diversity in life). Of course,
> the maintainers should then regularly run it.
> 
> 
> > I did not try but i bet if "fast" would simply use Sstate caches it
> > would run in less than 30min for small changes. And we would
> > naturally test Sstate and actually become much better on "partial
> > rebuild".
> > 
> > So in my book "dev" is "fast" or even "full" with warm caches.  
> 
> Caching is also a good point. We can run "dev" with sstate by
> default; we just need a way to specify local site configuration out
> of git (e.g., in an environment variable).
> 
> I wouldn't like to have "dev" = "full" + caching because we're
> evaluating adding rebuild testcases with and without specific options
> (like sstate, etc.) and running both in "full".
> 
> "Fast" is rather a misnomer; its goal is to cover some 95+% of
> functionality in somewhat reasonable time. The mentioned testcases
> have been very consciously included there (e.g., sdk was broken
> several times); we can discuss what to include but in general we'd
> like to keep and increase the current coverage (execution time
> permitting) without affecting the users who don't need it.
> 
> "Dev" would further diverge from "fast" due to e.g.:
> 
> * Omitted "pedantic / infrastructure" bits as you mentioned
> 
> * Chosen rebuild testcases as this has often been broken in the past
> 
> * To be useful, "dev" should be kept green as far as possible, with
> all the implications.
> 
>   E.g., testcases can fail due to Debian issues, so "dev" shouldn't
> include Debian-ports (riscv). But the maintainers need to "quickly"
> assess the state of all supported arches.
> 
> * Testcase granularity (one testcase covering one arch + distro) to
> have a clear indication in the test results which specific combos
> have failed and to be able to re-run that failed combo only.
> 
>   "Fast" needs to keep the multiconfig building to catch races.
> 
> 
> With kind regards,
> Baurzhan
> 


  reply	other threads:[~2023-01-23  8:27 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-01-10 12:17 Henning Schild
2023-01-10 12:17 ` [PATCH 1/8] CI: move to avocado to 99.0 Henning Schild
2023-01-10 12:17 ` [PATCH 2/8] CI: fix shell coding style Henning Schild
2023-01-10 12:17 ` [PATCH 3/8] CI: install qemu-system when qemu testing is requested Henning Schild
2023-01-10 12:17 ` [PATCH 4/8] testsuite: remove Ccache test from "fast" set Henning Schild
2023-01-10 12:38   ` Jan Kiszka
2023-01-10 12:17 ` [PATCH 5/8] testsuite: remove Sdk " Henning Schild
2023-01-10 12:38   ` Jan Kiszka
2023-01-10 15:44     ` Henning Schild
2023-01-10 12:17 ` [PATCH 6/8] testsuite: remove ContainerImage " Henning Schild
2023-01-10 12:17 ` [PATCH 7/8] testsuite: remove ContainerSdk " Henning Schild
2023-01-10 12:17 ` [PATCH 8/8] testsuite: remove Sstate " Henning Schild
2023-01-10 12:24 ` [PATCH 0/8] CI rework of gitlab fast job Henning Schild
2023-01-12 12:23 ` Baurzhan Ismagulov
2023-01-12 15:12   ` Henning Schild
2023-01-12 15:20     ` Baurzhan Ismagulov
2023-01-12 23:43       ` Henning Schild
2023-01-13  4:34         ` Moessbauer, Felix
2023-01-13 13:14         ` Baurzhan Ismagulov
2023-01-13 17:14           ` Henning Schild
2023-01-14 14:40             ` Baurzhan Ismagulov
2023-01-23  8:26               ` Henning Schild [this message]
2023-04-02 19:13           ` Baurzhan Ismagulov

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=20230123092658.2275d928@md1za8fc.ad001.siemens.net \
    --to=henning.schild@siemens.com \
    --cc=felix.moessbauer@siemens.com \
    --cc=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