-
Notifications
You must be signed in to change notification settings - Fork 139
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
buildkit "no active sessions" #280
Comments
Hi... I ran the example and it seemed to build correctly on my machine. The output was:
I'm running Docker 20.10.19 with the following config:
|
Hmm that's quite odd. The output on the branch is spewing the raw Aux/VertexLog stuff. Did you run it on the correct branch (cooper/bollard)? I was able to get it working, but I had to basically cram a "dummy option" (in this case, pull: true) right below the #[cfg(feature...)] line. Previously, it was session, which meant I guess that wasn't passed? |
Yes, you're right I was not on the right branch. Interesting that you need the Re: the spurious logs - |
Yes this looks like you can just string utf8 encode that field, and you get a log output. I think I'll add a |
That would be amazing! If you could let me know when that's merge, I can go ahead and finish up the Bollard PR The only other thing that's quite odd is, for this ticket, if you pull in the git hash, even if you enable buildkit in the Cargo toml, it does this odd thing where I need to declare a "filler" line right below cfg This is where the original issue came with the "No session found". Basically, it was swallowing whatever property was being passed right below it. To get around this, I had to add a redundant pull line |
I've merged the I did manage to eventually reproduce the "no active session" problem above, and I think it's because the nixpacks crate doesn't actually have a In those situations the Bollard codebase should be injecting a dummy id as replacement, but I guess that doesn't work for some reason.. Something to look into in future.. |
Apologies to be a bother. I might have messed it up but it seems that simply calling print on the inner (as you did in your #281 PR isn't sufficient to produce the progress? Much appreciated and sorry if this is a trivial Rust thing I'm messing up |
I think you need to clear the docker cache - I always had to run |
Or... did you mean something else with progress? |
Yea I meant something with progress |
I'm seeing a progress from the returned bollard/codegen/proto/resources/moby/buildkit/v1/control.proto Lines 125 to 126 in 8d5306d
For example, while running
... where you can just divide the |
Oh right. Sorry, I should clarify; that part is indeed working It's literally rendering the vertex logs to something like we currently have in the output in your original post |
Added the Bollard to Nixpacks (railwayapp/nixpacks#709) and having the "no active sessions error"
To test, pull down that branch and run
cargo run build ./examples/node
The text was updated successfully, but these errors were encountered: