All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH] utils/genrandconfig: always use BR2_BACKUP_SITE in the autobuilders
@ 2026-08-26 15:51 Thomas Petazzoni via buildroot
  2026-08-27 15:29 ` Thomas Perale via buildroot
  0 siblings, 1 reply; 5+ messages in thread
From: Thomas Petazzoni via buildroot @ 2026-08-26 15:51 UTC (permalink / raw)
  To: buildroot; +Cc: Thomas Petazzoni

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

^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2026-08-27 20:17 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-08-26 15:51 [Buildroot] [PATCH] utils/genrandconfig: always use BR2_BACKUP_SITE in the autobuilders Thomas Petazzoni via buildroot
2026-08-27 15:29 ` 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

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.