From 683eb17b1f5312ff735e2db036aa4eeab838706e Mon Sep 17 00:00:00 2001 From: Lutz Reinhardt Date: Fri, 28 Aug 2026 10:07:20 +0000 Subject: [PATCH 1/2] ci: Retry SDK downloads via bazel Especially the flaky QNX download fails a lot in CI and causes builds to fail. Let bazel retry a few times before failing the build. This is already in use at e.g. https://github.com/eclipse-score/communication/blob/f5a5612c870781c87d786a77d2361d3eaa80574b/.bazelrc#L16-L22 --- .bazelrc | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.bazelrc b/.bazelrc index f00a26c8437..70c7168c1ae 100644 --- a/.bazelrc +++ b/.bazelrc @@ -7,6 +7,13 @@ common --registry=https://bcr.bazel.build common --credential_helper=*.qnx.com=%workspace%/.github/tools/qnx_credential_helper.py common --credential_helper_timeout="60s" +# In order to overcome stability issues in GitHub +common --experimental_repository_downloader_retries=10 +common --experimental_scale_timeouts=2.0 +common --http_connector_attempts=10 +common --http_connector_retry_max_timeout=1s +common --http_timeout_scaling=2.0 + # Clear ANDROID_HOME for repository rules. rules_android (pulled transitively via # grpc-java -> rules_jvm_external) evaluates android_sdk_repository, which fails # when ANDROID_HOME points at an incomplete SDK (as on CI runners). None of our From 7c71c4ef7a4e40050518e9a2a60bce1c54c67662 Mon Sep 17 00:00:00 2001 From: Lutz Reinhardt Date: Fri, 28 Aug 2026 10:15:06 +0000 Subject: [PATCH 2/2] incerase number of retries a lot --- .bazelrc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.bazelrc b/.bazelrc index 70c7168c1ae..aeb0c37484c 100644 --- a/.bazelrc +++ b/.bazelrc @@ -8,9 +8,9 @@ common --credential_helper=*.qnx.com=%workspace%/.github/tools/qnx_credential_he common --credential_helper_timeout="60s" # In order to overcome stability issues in GitHub -common --experimental_repository_downloader_retries=10 +common --experimental_repository_downloader_retries=30 common --experimental_scale_timeouts=2.0 -common --http_connector_attempts=10 +common --http_connector_attempts=30 common --http_connector_retry_max_timeout=1s common --http_timeout_scaling=2.0