From: Thomas Petazzoni via buildroot <buildroot@buildroot.org>
To: buildroot@buildroot.org
Cc: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Subject: [Buildroot] [PATCH] utils/genrandconfig: always use BR2_BACKUP_SITE in the autobuilders
Date: Wed, 26 Aug 2026 17:51:54 +0200 [thread overview]
Message-ID: <20260826155155.4146765-1-thomas.petazzoni@bootlin.com> (raw)
In commit da5c25c9f91b17a3c00ff0b35164881f2d1aa425, we decided to
generate 10% of configurations without BR2_BACKUP_SITE to test
upstream locations and see if they fail.
In recent times, we have seen a significant increase of temporary
failures of upstream locations, which cause build failures for which
there is not much we can do. They cause noise in the build results and
consume autobuilders CPU time for builds that don't lead to any useful
conclusion.
So in the end let's revert back to using BR2_BACKUP_SITE in all
configurations to avoid those build failures. If we want to detect
really stale upstream locations, as suggested by Arnout, we can
instrument the autobuilder runs to inject a special HTTP header and
then look at the logs of sources.buildroot.net to see which files are
grabbed by the autobuilders and determine if upstream locations are
really dead and packages need to be fixed accordingly.
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
---
Note: this is a proposal. If accepted, it should be merged into all
branches currently tested by autobuild.buildroot.org.
---
utils/genrandconfig | 5 -----
1 file changed, 5 deletions(-)
diff --git a/utils/genrandconfig b/utils/genrandconfig
index 727c8193c4..fad3a20786 100755
--- a/utils/genrandconfig
+++ b/utils/genrandconfig
@@ -556,11 +556,6 @@ async def gen_config(args):
configlines.append("BR2_REPRODUCIBLE=y\n")
configlines.append("BR2_TARGET_ROOTFS_TAR=y\n")
- # From time to time, ignore sources.buildroot.net to really fetch
- # from upstream
- if randint(0, 1) == 0:
- configlines.append("""BR2_BACKUP_SITE=""\n""")
-
with open(configfile, "a") as configf:
configf.writelines(configlines)
--
2.55.0
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
next reply other threads:[~2026-08-26 15:52 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-08-26 15:51 Thomas Petazzoni via buildroot [this message]
2026-08-27 15:29 ` [Buildroot] [PATCH] utils/genrandconfig: always use BR2_BACKUP_SITE in the autobuilders Thomas Perale via buildroot
2026-08-27 15:42 ` Thomas Petazzoni via buildroot
2026-08-27 17:33 ` Thomas Perale via buildroot
2026-08-27 20:17 ` Thomas Petazzoni via buildroot
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=20260826155155.4146765-1-thomas.petazzoni@bootlin.com \
--to=buildroot@buildroot.org \
--cc=thomas.petazzoni@bootlin.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.