Running the latest master of buildkitd, I'm seeing the following during a single file operation that copies a large number of source directories from a local context.
error: rpc error: code = Unknown desc = flightcontrol: exceeded retry timeout
failed to solve
github.com/moby/buildkit/client.(*Client).solve.func2
github.com/moby/buildkit/client/solve.go:215
golang.org/x/sync/errgroup.(*Group).Go.func1
golang.org/x/sync@v0.0.0-20190911185100-cd5d95a43a6e/errgroup/errgroup.go:57
runtime.goexit
runtime/asm_amd64.s:1373
I've created small setup that can be used as a minimal case to repro the issue. The gist also includes a Jaeger trace of one local failure.
go build .
./setup.sh
./repro | buildctl build --local context=.
It attempts to copy 150 directories from the ./data directory of the local context. Note this repro case did not result in the error every time as does my real world case.
Running the latest master of buildkitd, I'm seeing the following during a single file operation that copies a large number of source directories from a local context.
I've created small setup that can be used as a minimal case to repro the issue. The gist also includes a Jaeger trace of one local failure.
It attempts to copy 150 directories from the
./datadirectory of the local context. Note this repro case did not result in the error every time as does my real world case.