public inbox for isar-users@googlegroups.com
 help / color / mirror / Atom feed
From: "Maxim Yu. Osipov" <mosipov@ilbers.de>
To: Claudius Heine <claudius.heine.ext@siemens.com>,
	isar-users <isar-users@googlegroups.com>
Subject: Re: [DISCUSSIONS] CI build
Date: Wed, 22 May 2019 10:20:49 +0200	[thread overview]
Message-ID: <5128c754-55f8-924b-365c-2d529131bd3a@ilbers.de> (raw)
In-Reply-To: <b5c9fb55-5d59-8be4-ccdd-d6fd45edda76@siemens.com>

On 5/22/19 9:26 AM, Claudius Heine wrote:
> Hi,
> 
> we discussed some issues with the CI offline.
> 
> Here are my issues of the current CI with Jenkins in text:
>   - Unreliable build:
>     -> Network and other unrelated issues to the patch
>     -> Contains expected to fail tests
>   - Not transparent configuration/environment:
>     -> parameters with which ci_build.sh is called are not controllable 
> from the repository
>     -> difficult to select which test case should be run

Yes. that's why we are going to migrate to avocado test suite.

>     -> Configuration of the environment is not controllable from the 
> repository: Installed packages, System configuration (locales), 
> Distribution, etc.

In my opinion we need to have some "reference" common (better as minimal 
as possible) environment, to avoid a zoo of different environments...

>   - Just one giant build process
>     -> Takes a long time

I fear that it can't be avoided for such kind of build systems - several 
months ago we upgraded/tweaked the server and whole CI build itself 
takes now around 1 hour (which is acceptable in my opinion).
We are improving now smoke test launching.

>     -> Cannot be spread over multiple servers
>     -> Giant log file, that makes it difficult to figure out exactly 
> which command or test case caused an issue to reproduce that locally

Your project is configured with -q (quiet) option and doesn't generate 
huge trace - it becomes verbose only on encountered errors -
I had no problems with such log file as you can easily find the 
encountered error and always analyze the build workspace which is not 
cleaned up for the last build.

Just have a look at your latest build
http://isar-build.org:8080/job/isar_claudius_ilbers-ci/64/console
it took for me 10 seconds to locate the failed recipe.

>   - Manually triggering of build jobs
>     -> After pushing of CI branch, build has to be triggered via button

One may enable such build trigger (I believe that such trigger is 
enabled for Henning's project). but from my user's experience I prefer 
to start the build manually.

Of course, overnights builds are started periodically.

See for details:
https://wiki.jenkins.io/display/JENKINS/Building+a+software+project

>     -> Patches on ML should be automatically tested and reported back to 
> ML (that only makes sense if the build is reliable though)

Do we really want such feature?
My concern is that ML will be polluted by such reports...

>   - No "test everything" (acceptance test) build job

I'll introduce such acceptance test.

>   - Logs aren't public accessible

I think that Baurzhan may comment this.


Regards,
Maxim.

> 
> Anyone has other issues or comments?
> 
> regards,
> Claudius
> 


-- 
Maxim Osipov
ilbers GmbH
Maria-Merian-Str. 8
85521 Ottobrunn
Germany
+49 (151) 6517 6917
mosipov@ilbers.de
http://ilbers.de/
Commercial register Munich, HRB 214197
General Manager: Baurzhan Ismagulov

  reply	other threads:[~2019-05-22  8:20 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-05-22  7:26 Claudius Heine
2019-05-22  8:20 ` Maxim Yu. Osipov [this message]
2019-05-22  9:10   ` Claudius Heine
2019-05-22  9:50     ` Maxim Yu. Osipov
2019-05-22 11:28       ` Claudius Heine
2019-05-23  8:10         ` Claudius Heine
2019-05-23 13:43           ` Claudius Heine
2019-05-23 13:56             ` Maxim Yu. Osipov
2019-05-23 14:36               ` Claudius Heine
2019-05-22 19:44 ` Baurzhan Ismagulov
2019-05-23  4:44   ` Jan Kiszka
2019-05-23  8:32     ` Claudius Heine
2019-05-23  8:39       ` Jan Kiszka
2019-05-23 10:58       ` Maxim Yu. Osipov
2019-05-23 11:35 ` Henning Schild
2019-05-23 12:11   ` Baurzhan Ismagulov
2019-05-30  8:29 ` Jenkins project configuration by user Maxim Yu. Osipov

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=5128c754-55f8-924b-365c-2d529131bd3a@ilbers.de \
    --to=mosipov@ilbers.de \
    --cc=claudius.heine.ext@siemens.com \
    --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