From: Tom Rini <trini@konsulko.com>
To: Simon Glass <sjg@google.com>
Cc: u-boot@lists.denx.de
Subject: Re: [PATCH] CI: Add automatic retry for test.py jobs
Date: Wed, 12 Jul 2023 16:38:39 -0400 [thread overview]
Message-ID: <20230712203839.GJ2066889@bill-the-cat> (raw)
In-Reply-To: <CAPnjgZ0iWQiBA376YYON7fJO=+guSsy7CpFO5=BnDce9cGf=Gg@mail.gmail.com>
[-- Attachment #1: Type: text/plain, Size: 2316 bytes --]
On Wed, Jul 12, 2023 at 02:32:18PM -0600, Simon Glass wrote:
> Hi Tom,
>
> On Wed, 12 Jul 2023 at 11:09, Tom Rini <trini@konsulko.com> wrote:
> >
> > On Wed, Jul 12, 2023 at 08:00:23AM -0600, Simon Glass wrote:
> > > Hi Tom,
> > >
> > > On Tue, 11 Jul 2023 at 20:33, Tom Rini <trini@konsulko.com> wrote:
> > > >
> > > > It is not uncommon for some of the QEMU-based jobs to fail not because
> > > > of a code issue but rather because of a timing issue or similar problem
> > > > that is out of our control. Make use of the keywords that Azure and
> > > > GitLab provide so that we will automatically re-run these when they fail
> > > > 2 times. If they fail that often it is likely we have found a real issue
> > > > to investigate.
> > > >
> > > > Signed-off-by: Tom Rini <trini@konsulko.com>
> > > > ---
> > > > .azure-pipelines.yml | 1 +
> > > > .gitlab-ci.yml | 1 +
> > > > 2 files changed, 2 insertions(+)
> > >
> > > This seems like a slippery slope. Do we know why things fail? I wonder
> > > if we should disable the tests / builders instead, until it can be
> > > corrected?
> >
> > It happens in Azure, so it's not just the broken runner problem we have
> > in GitLab. And the problem is timing, as I said in the commit.
> > Sometimes we still get the RTC test failing. Other times we don't get
> > QEMU + U-Boot spawned in time (most often m68k, but sometimes x86).
>
> How do we keep this list from growing?
Do we need to? The problem is in essence since we rely on free
resources, sometimes some heavy lifts take longer. That's what this
flag is for.
> > > I'll note that we don't have this problem with sandbox tests.
> >
> > OK, but that's not relevant?
>
> It is relevant to the discussion about using QEMU instead of sandbox,
> e.g. with the TPM. I recall a discussion with Ilias a while back.
I'm sure we could make sandbox take too long to start as well, if enough
other things are going on with the system. And sandbox has its own set
of super frustrating issues instead, so I don't think this is a great
argument to have right here (I have to run it in docker, to get around
some application version requirements and exclude event_dump, bootmgr,
abootimg and gpt tests, which could otherwise run, but fail for me).
--
Tom
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 659 bytes --]
next prev parent reply other threads:[~2023-07-12 20:38 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-07-12 2:33 [PATCH] CI: Add automatic retry for test.py jobs Tom Rini
2023-07-12 14:00 ` Simon Glass
2023-07-12 17:08 ` Tom Rini
2023-07-12 20:32 ` Simon Glass
2023-07-12 20:38 ` Tom Rini [this message]
2023-07-13 21:03 ` Simon Glass
2023-07-13 21:57 ` Tom Rini
2023-07-15 23:40 ` Simon Glass
2023-07-16 18:17 ` Tom Rini
2023-07-27 19:18 ` Simon Glass
2023-07-27 20:35 ` Tom Rini
2023-08-17 13:41 ` Simon Glass
2023-07-21 1:30 ` Tom Rini
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=20230712203839.GJ2066889@bill-the-cat \
--to=trini@konsulko.com \
--cc=sjg@google.com \
--cc=u-boot@lists.denx.de \
/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