From 36b72f18ef64d7915e859c5f59032443640e7576 Mon Sep 17 00:00:00 2001 From: Fabian Meumertzheim Date: Mon, 6 Nov 2023 14:59:39 +0100 Subject: [PATCH] Debug test failures --- tools/build_defs/repo/cache.bzl | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tools/build_defs/repo/cache.bzl b/tools/build_defs/repo/cache.bzl index d1a89619ba1ab0..036e58d30e3241 100644 --- a/tools/build_defs/repo/cache.bzl +++ b/tools/build_defs/repo/cache.bzl @@ -35,6 +35,7 @@ machines without the file in the cache. This behavior can be disabled with """.format(env = NO_DEFAULT_CANONICAL_ID_ENV) def get_default_canonical_id(repository_ctx, urls): + print(repository_ctx.os.environ) """Returns the default canonical id to use for downloads.""" if repository_ctx.os.environ.get(NO_DEFAULT_CANONICAL_ID_ENV) == "1": return "" @@ -45,4 +46,5 @@ def get_default_canonical_id(repository_ctx, urls): # 3. Order of urls is flipped to [A, B]. # 4. Fetch would reuse cache entry for "A B", even though A may be broken (it has never been # fetched before). + print("Canonical ID: " + str(urls)) return " ".join(urls)