Hi, I'm posting this on behalf of a colleague of mine, who is too busy to post a report. I'm not experiencing the error so this report might be incomplete. Could you please provide any advice for collecting further information after reading this?
Recently we started to use cache mount feature of buildkit in our project like below.
RUN --mount=type=cache,target=/root/.cache/pypoetry \
poetry install --no-root --no-dev -E test
And he noticed that sometimes build fails with an error like below.
failed to solve: rpc error: code = Unknown desc = error committing 5yhgjt88cnwecs2gtanqos715: invalid mutable ref 0xc002a652c0: invalid: executor failed running [/bin/bash -c poetry install --no-root --no-dev -E style]: stat /var/lib/docker/overlay2/5yhgjt88cnwecs2gtanqos715: no such file or directory
Once he get the error, it seems to persist until he rebuild with --no-cache.
I seem to be immune to this issue probably because I'm using btrfs.
We are using docker buildx bake frontend, and his docker version reads like below.
% docker version
Client: Docker Engine - Community
Version: 20.10.2
API version: 1.41
Go version: go1.13.15
Git commit: 2291f61
Built: Mon Dec 28 16:17:32 2020
OS/Arch: linux/amd64
Context: default
Experimental: true
Server: Docker Engine - Community
Engine:
Version: 20.10.2
API version: 1.41 (minimum version 1.12)
Go version: go1.13.15
Git commit: 8891c58
Built: Mon Dec 28 16:15:09 2020
OS/Arch: linux/amd64
Experimental: false
containerd:
Version: 1.4.3
GitCommit: 269548fa27e0089a8b8278fc4fc781d7f65a939b
runc:
Version: 1.0.0-rc92
GitCommit: ff819c7e9184c13b7c2607fe6c30ae19403a7aff
docker-init:
Version: 0.19.0
GitCommit: de40ad0
Hi, I'm posting this on behalf of a colleague of mine, who is too busy to post a report. I'm not experiencing the error so this report might be incomplete. Could you please provide any advice for collecting further information after reading this?
Recently we started to use cache mount feature of buildkit in our project like below.
RUN --mount=type=cache,target=/root/.cache/pypoetry \ poetry install --no-root --no-dev -E testAnd he noticed that sometimes build fails with an error like below.
Once he get the error, it seems to persist until he rebuild with
--no-cache.I seem to be immune to this issue probably because I'm using btrfs.
We are using
docker buildx bakefrontend, and his docker version reads like below.