This is an automated email from the ASF dual-hosted git repository. akitouni pushed a commit to branch abderrahim/debug-push in repository https://gitbox.apache.org/repos/asf/buildstream.git
commit 55cb06fddb1cf418fea1a6e0380c10ef540a1473 Author: Abderrahim Kitouni <[email protected]> AuthorDate: Fri May 23 20:47:37 2025 +0100 Add debug output --- src/buildstream/_cas/cascache.py | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/src/buildstream/_cas/cascache.py b/src/buildstream/_cas/cascache.py index 6a4043f73..c2301bebb 100644 --- a/src/buildstream/_cas/cascache.py +++ b/src/buildstream/_cas/cascache.py @@ -683,11 +683,22 @@ class CASCache: # digests (list): The Digests of Blobs to upload # def send_blobs(self, remote, digests): + print("*"*80) + print("Asked to send blobs") + for sha in sorted(digest.hash for digest in digests): + print(sha) + print("*"*80) + if self._remote_cache: # First fetch missing blobs from the remote cache as we can't # transfer blobs directly from the remote cache to another remote. remote_missing_blobs = self.missing_blobs(digests, remote=remote) + print("*"*80) + print("Blobs missing from the remote") + for sha in sorted(digest.hash for digest in remote_missing_blobs): + print(sha) + print("*"*80) batch = _CASBatchRead(self._default_remote) for digest in remote_missing_blobs:
