← Catalogue

docker_build

BuildKit giving up - `failed to solve` / `executor failed running` - around the Dockerfile step that failed. A wrapper: the `RUN` step's own output is the cause.

containerbuildwrappermatcher

Open in playgroundFile on GitHubHistory

Install: ci-doctor matchers add official/docker_build

matchers/container/docker_build/matcher.yaml

id: docker_buildrole: wrapperclassification: [container, build]description: 'BuildKit giving up - `failed to solve` / `executor failed running` - around the Dockerfile step that failed. A wrapper: the `RUN` step''s own output is the cause.'pattern: failed to solve|executor failed runningbefore: 3after: 8

In bundles

allcontainer

Fixtures

Framing stripped per provider. Highlighted lines are what this matcher selects; the marked line is the anchor.

docker_build_oomOpen in playground

1Current runner version: '2.336.0'
2##[group]Operating System
3Ubuntu
424.04.4
5LTS
6##[endgroup]
7Secret source: Actions
8Prepare workflow directory
9Prepare all required actions
10Complete job name: docker_build_oom
11##[group]Set up job
12Image: ubuntu-24.04
13Runner name: 'GitHub Actions 12'
14##[endgroup]
15Download action repository 'actions/checkout@v4'
16Download action repository 'actions/cache@v4'
17##[group]Run actions/checkout@v4
18 with:
19 fetch-depth: 20
20 lfs: false
21##[endgroup]
22Syncing repository: acme/ledger
23##[group]Getting Git version info
24Working directory is '/home/runner/work/ledger/ledger'
25##[endgroup]
26/usr/bin/git checkout --progress --force 8ad41f02
27##[group]Run docker info >/dev/null
28docker info >/dev/null
29docker build -t registry.internal/app:$CI_COMMIT_SHORT_SHA .
30shell: /usr/bin/bash -e {0}
31##[endgroup]
32#5 [build 2/7] RUN apk add --no-cache build-base cmake
33#5 12.4 (1/24) Installing ...
34#5 DONE 18.2s
35#6 [build 3/7] COPY . /src
36#6 DONE 2.1s
37#7 [build 4/7] RUN cmake -S . -B build -DCMAKE_BUILD_TYPE=Release
38#7 3.4 -- The CXX compiler identification is GNU 13.2.0
39#7 8.9 -- Configuring done
40#7 9.1 -- Generating done
41#7 DONE 9.3s
42#9 [build 6/7] RUN cmake --build build --parallel 16
43#9 41.7 [ 62%] Building CXX object src/CMakeFiles/engine.dir/tensor.cpp.o
44#9 88.3 [ 74%] Building CXX object src/CMakeFiles/engine.dir/graph.cpp.o
45#9 132.9 c++: fatal error: Killed signal terminated program cc1plus
46#9 132.9 compilation terminated.
47#9 133.0 make[2]: *** [src/CMakeFiles/engine.dir/build.make:118: graph.cpp.o] Error 1
48#9 ERROR: process "/bin/sh -c cmake --build build --parallel 16" did not complete successfully: exit code: 137
49------
50 > [build 6/7] RUN cmake --build build --parallel 16:
51133.0 c++: fatal error: Killed signal terminated program cc1plus
52------
53Dockerfile:19
54ERROR: failed to solve: process "/bin/sh -c cmake --build build --parallel 16" did not complete successfully: exit code: 137
55##[error]Process completed with exit code 137.
56##[group]Post Run actions/checkout@v4
57##[endgroup]
58/usr/bin/git version
59git version 2.54.0
60Post job cleanup.
61Cleaning up orphan processes