-
Notifications
You must be signed in to change notification settings - Fork 133
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature Request: Support for Buildstream (buildstream.build) #1533
Comments
Thank you for raising the issue. We will prioritize this it internally and revert back. |
Thanks! Let me know if there is anything you want me to try, I'm also going to poke around and see what I can find out myself. |
Any chance you have a cluster configuration yaml (k8 or docker or something) we can use to debug this? |
I used the docker-compose example you have in your repo for my testing and setup buildstream with the following: ~/.config/buildstream.conf
I also used the base usage tutorial for a simplet est project: https://docs.buildstream.build/2.3/using_tutorial.html specifically the running commands hello.c example |
💎 $2,500 bounty • TraceMachinaSteps to solve:
Thank you for contributing to TraceMachina/nativelink! |
hi would love to work on this if anyone is not working. |
@kernel-loophole feel free! The first to complete the issue is the winner. |
HI @MarcusSorealheis where i can find artifact cache server implementation. is this is the one https://github.com/TraceMachina/nativelink/blob/main/nativelink-config/src/cas_server.rs |
Yes it's the one |
@MarcusSorealheis how to build this locally using |
@jmt-lab can you guide me through to replicate this issue |
Hi there sure, I would use the standard C tutorial project from buildstream (https://docs.buildstream.build/2.4/tutorial/running-commands.html) as this is what I used after using my bigger project to test. At that point I spun up nativelink using the docker compose example for running nativelink (https://github.com/TraceMachina/nativelink/tree/main/deployment-examples/docker-compose). I then setup the link in ~/.config/buildstream.conf like so: artifacts:
servers:
- url: http://localhost:50051
push: true
remote-execution:
execution-service:
url: http://localhost:50052
action-cache-service:
url: http://localhost:50051
storage-service:
url: http://localhost:50051 Then when you try and use bst build hello.bst it will try to initialize the remote cache and the warning that FetchBlob: Stream removed will occur which is the first issue. From the log of local cas:
|
@jmt-lab thanks really appreciated |
/request can i start working on it |
Hi, this product is really nice especially since it has an easy configuration to work with. However it runs into some compatibility issues with buildstream (buildstream.build). I figured since there is no issue here yet I'd go ahead and create one. The two issues i've run into and some solutions i've found:
I was able to work around this funny enough by putting a buildbox-casd local cache via
Then it looks like everything was happy
This manifests in having permission denied on the work environment since it expects to use absolute paths, One way to address this could be to allow some sort of method to tell nativelink workers to run everything through buildbox-run-bubblewrap or something of the sort.
The text was updated successfully, but these errors were encountered: