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
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
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
1Running with gitlab-runner 16.11.0 (a1b2c3d4)
2 on heavy-builder-02 Mn3Bv6Cx, system ID: s_112233445566
3Preparing the "docker" executor
4 Using Docker executor with image docker:26 ...
5Using Docker executor with image docker:26 ...
6Starting service docker:26-dind ...
7Waiting for services to be up and running (timeout 30 seconds)...
8Using docker image sha256:aabb11223344 for docker:26 with digest docker@sha256:beef...
9Preparing environment
10Running on runner-mn3bv6cx-project-9-concurrent-0...
11Fetching changes...
12Checking out c40a91bb as detached HEAD...
13$ docker info >/dev/null
14$ docker build -t registry.internal/app:$CI_COMMIT_SHORT_SHA .
15#5 [build 2/7] RUN apk add --no-cache build-base cmake
16#5 12.4 (1/24) Installing ...
17#5 DONE 18.2s
18#6 [build 3/7] COPY . /src
19#6 DONE 2.1s
20#7 [build 4/7] RUN cmake -S . -B build -DCMAKE_BUILD_TYPE=Release
21#7 3.4 -- The CXX compiler identification is GNU 13.2.0
22#7 8.9 -- Configuring done
23#7 9.1 -- Generating done
24#7 DONE 9.3s
25#9 [build 6/7] RUN cmake --build build --parallel 16
26#9 41.7 [ 62%] Building CXX object src/CMakeFiles/engine.dir/tensor.cpp.o
27#9 88.3 [ 74%] Building CXX object src/CMakeFiles/engine.dir/graph.cpp.o
28#9 132.9 c++: fatal error: Killed signal terminated program cc1plus
29#9 132.9 compilation terminated.
30#9 133.0 make[2]: *** [src/CMakeFiles/engine.dir/build.make:118: graph.cpp.o] Error 1
31#9 ERROR: process "/bin/sh -c cmake --build build --parallel 16" did not complete successfully: exit code: 137
32------
33 > [build 6/7] RUN cmake --build build --parallel 16:
34133.0 c++: fatal error: Killed signal terminated program cc1plus
35------
36Dockerfile:19
37ERROR: failed to solve: process "/bin/sh -c cmake --build build --parallel 16" did not complete successfully: exit code: 137
38Running after_script
39$ docker logout registry.internal
40Removing login credentials for registry.internal
41Cleaning up project directory and file based variables
42ERROR: Job failed: exit code 137