Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Peter Korsgaard <peter@korsgaard.com>
To: Romain Naour <romain.naour@gmail.com>
Cc: buildroot@buildroot.org
Subject: Re: [Buildroot] [RFC] support/misc/gitlab-ci.yml.in: retry a job only if it failed due to a runner issue
Date: Wed, 13 Sep 2023 21:28:53 +0200	[thread overview]
Message-ID: <875y4d27pm.fsf@48ers.dk> (raw)
In-Reply-To: <20230826210011.39269-1-romain.naour@gmail.com> (Romain Naour's message of "Sat, 26 Aug 2023 23:00:11 +0200")

>>>>> "Romain" == Romain Naour <romain.naour@gmail.com> writes:

 > Each time a new pipeline is trigged, some jobs may fail due to temporary
 > issue with a Gitlab runner (network, power supply, docker or maintainance).

 > Most of the problems are "runner system failure" [1] and requires to retart
 > each failed jobs manually by maintainers to complete the pipeline with only
 > real failure if any.

 > The "retry" keyword allows to configure how many time a job is retried if
 > it fails. "retry:when" allows to retry a failed job only on specific
 > failure types like "runner_system_failure".

 > While at it, retry a job if it failed due to a timeout failure (this
 > timeout means that the job was pending for more than 24h) [2].

 > Such timeout failure occurs on pipeline testing each Buildroot's defconfig
 > since there is not enough gitlab runner avaible to build all of them
 > within 24h.

 > Retry only jobs that are more likely to wait for a runner
 > (generate-gitlab-ci-yml, runtime_test_base, defconfig_base and test_pkg).

 > [1] https://gitlab.com/buildroot.org/buildroot/-/jobs/4936949397 (runner system failure)
 > [2] https://gitlab.com/buildroot.org/buildroot/-/jobs/4936949530 (timeout failure or the job got stuck)

 > https://docs.gitlab.com/ee/ci/yaml/#retrywhen

 > Signed-off-by: Romain Naour <romain.naour@gmail.com>
 > Cc: Arnout Vandecappelle <arnout@mind.be>

Committed to 2023.02.x and 2023.05.x, thanks.

-- 
Bye, Peter Korsgaard
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

      parent reply	other threads:[~2023-09-13 19:29 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-08-26 21:00 [Buildroot] [RFC] support/misc/gitlab-ci.yml.in: retry a job only if it failed due to a runner issue Romain Naour
2023-08-27  8:11 ` Thomas Petazzoni via buildroot
2023-09-13 19:28 ` Peter Korsgaard [this message]

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=875y4d27pm.fsf@48ers.dk \
    --to=peter@korsgaard.com \
    --cc=buildroot@buildroot.org \
    --cc=romain.naour@gmail.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