BuildStream-Migration-Bot opened a new issue #1390: URL: https://github.com/apache/buildstream/issues/1390
[See original issue on GitLab](https://gitlab.com/BuildStream/buildstream/-/issues/1390) In GitLab by [[Gitlab user @BenjaminSchubert]](https://gitlab.com/BenjaminSchubert) on Aug 30, 2020, 10:13 ## Summary [//]: # (Summarize the bug encountered concisely) I was trying to ingest my sources before running my builds. I have plenty enough of disk space (200GB free, while trying FSDK), and my cache has no quota. For this I did: ``` bst source fetch my_target.bst bst source push --deps all my_target.bst ``` I expected this to succeed and be able to build without any external connection. I however got a few sources that failed to be pushed with errors as seen below. (Size does not seem to affect the success rate). I tried a second `bst source push --deps all my_target.bst`, and it started downloading sources again? And failing again to upload them. ## What is the current bug behavior? [//]: # (What actually happens) I get: ``` [--:--:--] START cross-compilers/freedesktop-sdk-arm.bst:bootstrap/build/dwz-build.bst: Src-push [--:--:--] STATUS cross-compilers/freedesktop-sdk-arm.bst:bootstrap/build/dwz-build.bst: Pushing data for source 46b59054 -> http://bst-source-cache:8000 [--:--:--] BUG cross-compilers/freedesktop-sdk-arm.bst:bootstrap/build/dwz-build.bst: Src-push An unhandled exception occured: Traceback (most recent call last): File "/home/buildstream/workspace/buildstream/src/buildstream/_scheduler/jobs/job.py", line 650, in child_action result = self.child_process() # pylint: disable=assignment-from-no-return File "/home/buildstream/workspace/buildstream/src/buildstream/_scheduler/jobs/elementjob.py", line 93, in child_process return self._action_cb(self._element) File "/home/buildstream/workspace/buildstream/src/buildstream/_scheduler/queues/sourcepushqueue.py", line 44, in _push_or_skip if not element._source_push(): File "/home/buildstream/workspace/buildstream/src/buildstream/element.py", line 1753, in _source_push return self.__sources.push() File "/home/buildstream/workspace/buildstream/src/buildstream/_elementsources.py", line 140, in push if self._sourcecache.push(source): File "/home/buildstream/workspace/buildstream/src/buildstream/_sourcecache.py", line 204, in push self.cas._send_directory(remote, source_proto.files) File "/home/buildstream/workspace/buildstream/src/buildstream/_cas/cascache.py", line 672, in _send_directory self.send_blobs(remote, required_blobs) File "/home/buildstream/workspace/buildstream/src/buildstream/_cas/cascache.py", line 661, in send_blobs for digest in digests: File "/home/buildstream/workspace/buildstream/src/buildstream/_cas/cascache.py", line 456, in required_blobs_for_directory with open(self.objpath(directory_digest), "rb") as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/buildstream/.cache/buildstream/cas/objects/53/307cae796d1262c6834ef9814d41563b10d30731423e17059cd68bf5d37cc9' ``` ## What is the expected correct behavior? [//]: # (What you should see instead) I should have all my sources synced and pushed ---- ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected]
