summaryrefslogtreecommitdiff
path: root/buildstream
diff options
context:
space:
mode:
Diffstat (limited to 'buildstream')
-rw-r--r--buildstream/_artifactcache/cascache.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/buildstream/_artifactcache/cascache.py b/buildstream/_artifactcache/cascache.py
index 16789caed..a540c8c61 100644
--- a/buildstream/_artifactcache/cascache.py
+++ b/buildstream/_artifactcache/cascache.py
@@ -221,6 +221,8 @@ class CASCache(ArtifactCache):
try:
remote.init()
+ element.info("Pulling {} <- {}".format(element._get_brief_display_key(), remote.spec.url))
+
request = buildstream_pb2.GetReferenceRequest()
request.key = ref
response = remote.ref_storage.GetReference(request)
@@ -238,6 +240,7 @@ class CASCache(ArtifactCache):
except grpc.RpcError as e:
if e.code() != grpc.StatusCode.NOT_FOUND:
+ element.info("{} not found at remote {}".format(element._get_brief_display_key(), remote.spec.url))
raise
return False