Build:
  1. 0
2025-03-26 13:44.08: New job: Build Dockerfile.gitlab using linux-x86_64 in
                                [https://github.com/ocurrent/ocaml-ci.git#refs/heads/master (4b974f7d49a2f08671734b91db851cab1e3e7109)]
2025-03-26 13:44.08: Using cache hint "https://github.com/ocurrent/ocaml-ci.git-Dockerfile.gitlab"
2025-03-26 13:44.08: Waiting for resource in pool OCluster
2025-03-26 13:44.08: Waiting for worker…
2025-03-26 13:44.08: Got resource from pool OCluster
Building on x86-bm-c2.sw.ocaml.org
Submodule path 'ocaml-dockerfile': checked out '2e407583a707ae7382b4e5bb3ea5a772f4f6b04d'
Submodule path 'ocaml-version': checked out '1a6833441733a7d682d7b5e2d1618a9bc9919bd8'
Submodule path 'ocluster': checked out 'ba26623c6bca8b917c4252fa9739313fb14692ea'
Submodule path 'ocurrent': checked out '575e5cf1a4ade96ea4a5c43c4aa7ae12fc90dde0'
Submodule path 'solver-service': checked out 'f14bc6fdb22c1cef45bb3d3589bd778f4d6c8196'
HEAD is now at ba868fb Constrain Dune to < 3.17
Synchronizing submodule url for 'ocaml-dockerfile'
Synchronizing submodule url for 'ocaml-version'
Synchronizing submodule url for 'ocluster'
Synchronizing submodule url for 'ocurrent'
Synchronizing submodule url for 'solver-service'
Cleared directory 'ocaml-dockerfile'
Submodule 'ocaml-dockerfile' (https://github.com/ocurrent/ocaml-dockerfile.git) unregistered for path 'ocaml-dockerfile'
Cleared directory 'ocaml-version'
Submodule 'ocaml-version' (https://github.com/ocurrent/ocaml-version.git) unregistered for path 'ocaml-version'
Cleared directory 'ocluster'
Submodule 'ocluster' (https://github.com/ocurrent/ocluster.git) unregistered for path 'ocluster'
Cleared directory 'ocurrent'
Submodule 'ocurrent' (https://github.com/ocurrent/ocurrent.git) unregistered for path 'ocurrent'
Cleared directory 'solver-service'
Submodule 'solver-service' (https://github.com/ocurrent/solver-service.git) unregistered for path 'solver-service'
HEAD is now at 4b974f7 Merge pull request #1004 from ocurrent/freebsd-14.2
warning: Could not unset core.worktree setting in submodule 'ocaml-dockerfile'
Cleared directory 'ocaml-dockerfile'
warning: Could not unset core.worktree setting in submodule 'ocaml-version'
Cleared directory 'ocaml-version'
warning: Could not unset core.worktree setting in submodule 'ocluster'
Cleared directory 'ocluster'
warning: Could not unset core.worktree setting in submodule 'ocurrent'
Cleared directory 'ocurrent'
warning: Could not unset core.worktree setting in submodule 'solver-service'
Cleared directory 'solver-service'
Submodule 'ocaml-dockerfile' (https://github.com/ocurrent/ocaml-dockerfile.git) registered for path 'ocaml-dockerfile'
Submodule 'ocaml-version' (https://github.com/ocurrent/ocaml-version.git) registered for path 'ocaml-version'
Submodule 'ocluster' (https://github.com/ocurrent/ocluster.git) registered for path 'ocluster'
Submodule 'ocurrent' (https://github.com/ocurrent/ocurrent.git) registered for path 'ocurrent'
Submodule 'solver-service' (https://github.com/ocurrent/solver-service.git) registered for path 'solver-service'
Submodule path 'ocaml-dockerfile': checked out '2e407583a707ae7382b4e5bb3ea5a772f4f6b04d'
Submodule path 'ocaml-version': checked out 'd058454c3660a737a7622e224420e927a5c3d2ce'
Submodule path 'ocluster': checked out 'ba26623c6bca8b917c4252fa9739313fb14692ea'
Submodule path 'ocluster/obuilder': checked out 'bc6eca86e5624b32ca58fb0b5e43e7e15f188f58'
Submodule path 'ocurrent': checked out '575e5cf1a4ade96ea4a5c43c4aa7ae12fc90dde0'
Submodule path 'solver-service': checked out 'f14bc6fdb22c1cef45bb3d3589bd778f4d6c8196'
#1 [internal] load build definition from Dockerfile.gitlab
#1 sha256:400553600a451e6e028afbfae6e120f55208618c31e2ae4574bba94ba278fbd0
#1 transferring dockerfile: 3.89kB done
#1 DONE 0.1s

#2 [internal] load .dockerignore
#2 sha256:cec122b7157d09f05f4136549f91d23d3c3ead85f47ac6d0e415087d57dadda0
#2 transferring context: 114B done
#2 DONE 0.1s

#3 resolve image config for docker.io/docker/dockerfile:1
#3 sha256:ac072d521901222eeef550f52282877f196e16b0247844be9ceb1ccc1eac391d
#3 DONE 0.8s

#4 docker-image://docker.io/docker/dockerfile:1@sha256:4c68376a702446fc3c79af22de146a148bc3367e73c25a5803d453b6b3f722fb
#4 sha256:427cf0a575751232a2160636f1e02d0ac6857f1be9974fb6027aeca888e4e10f
#4 CACHED

#5 [internal] load build definition from Dockerfile.gitlab
#5 sha256:de1edcd99067f953bfdfca8a93f635ef30ae5aae2be03bf44a71d8c8f2030223
#5 DONE 0.0s

#7 [internal] load metadata for docker.io/ocaml/opam:debian-12-ocaml-4.14@sha256:6246731ea5d2cd3a57669027aae33184d30d424e41ff8219d05a214726ef7426
#7 sha256:258a35cea5e9193ae7fcff946b1a6a72c3bb336ba14822a006b382990f4b2a16
#7 DONE 0.5s

#6 [internal] load metadata for docker.io/library/debian:12
#6 sha256:305af2ac101ebe8f08917ad47bf53fe42aa4eb121057f0a0044ed8ccb46feeb7
#6 DONE 0.6s

#8 [internal] load .dockerignore
#8 sha256:d69184dcb7799fd098566ff848fae9edcedb303ad34b15ebdf5a2576bbeb5773
#8 DONE 0.0s

#16 [build  1/15] FROM docker.io/ocaml/opam:debian-12-ocaml-4.14@sha256:6246731ea5d2cd3a57669027aae33184d30d424e41ff8219d05a214726ef7426
#16 sha256:fb29dbbb813fa7cc0a1e9345020bd5e6407989c6f6ee74b1318c81c09a8bcc4f
#16 DONE 0.0s

#29 [internal] setting cache mount permissions
#29 sha256:14a9ce1c7e5131f82ba903789ca9ec8d50fd9eb3f05df2753208d34da25bd42a
#29 DONE 0.0s

#9 [stage-1 1/9] FROM docker.io/library/debian:12@sha256:18023f131f52fc3ea21973cabffe0b216c60b417fd2478e94d9d59981ebba6af
#9 sha256:d313baa8757ac4b309f7a6ede3d2d182a73473c63158e764552cde799fc1b907
#9 DONE 0.0s

#21 [internal] load build context
#21 sha256:41dad4c95a2277b50f012ca58eb81aafdd665d72561bc17f98219c94023daa01
#21 transferring context: 11.08MB 0.3s done
#21 DONE 0.3s

#28 [build 12/15] COPY --chown=opam --link ocaml-ci.opam ocaml-ci-gitlab.opam ocaml-ci-service.opam ocaml-ci-api.opam /src/
#28 sha256:656725c28019d7c73db4b4ffdad1de3f9c7afa5975c2be5ccc37ad479899b30f
#28 CACHED

#19 [build  4/15] RUN --mount=type=cache,target=/var/cache/apt,sharing=locked     --mount=type=cache,target=/var/lib/apt,sharing=locked     sudo apt update && sudo apt-get --no-install-recommends install -y     capnproto     graphviz     libev-dev     libgmp-dev     libsqlite3-dev     m4     pkg-config
#19 sha256:3f7ab0fe12ee4420c5b0ea023bc0c42ee80ffbbfbaaacabc48416ed25f47b5f2
#19 CACHED

#26 [build 10/15] WORKDIR /src
#26 sha256:a0662b958846a79b623c7cd1c82bb71d301651ac9e4e448c2f12680ae1c59f28
#26 CACHED

#14 [stage-1 6/9] RUN --mount=type=cache,target=/var/cache/apt,sharing=locked     --mount=type=cache,target=/var/lib/apt,sharing=locked     apt update && apt-get --no-install-recommends install -y     docker-buildx-plugin     docker-ce
#14 sha256:7b4f16feac185c8aa9146038a782c6ffd6d875de9572b9bc319a77f6d964771b
#14 CACHED

#20 [build  5/15] RUN cd ~/opam-repository && git fetch -q origin master && git reset --hard 11bdbee61114a1cfa080b764e71c72a5760a93f0 && opam update
#20 sha256:8fd1e3bf2966a04722cec0f30739b158f707b5a8b5dc380f14201b1718903a66
#20 CACHED

#13 [stage-1 5/9] RUN echo 'deb https://download.docker.com/linux/debian bookworm stable' >> /etc/apt/sources.list
#13 sha256:2758305ae2fee171ac936fbcdae2b11fa037fe52cbfe05bef363ca1103339289
#13 CACHED

#31 [build 14/15] ADD --chown=opam . .
#31 sha256:2e7befeaf752857d0925f5c9243daba662e4f97935e4a406f0acb83b9bee5857
#31 CACHED

#10 [stage-1 2/9] RUN rm -f /etc/apt/apt.conf.d/docker-clean; echo 'Binary::apt::APT::Keep-Downloaded-Packages "true";' > /etc/apt/apt.conf.d/keep-cache
#10 sha256:d2c6885c5e4f7251dc6f3c1c404176cd477871a0f10d7caa613c3001cf17b31c
#10 CACHED

#17 [build  2/15] RUN sudo ln -sf /usr/bin/opam-2.3 /usr/bin/opam && opam init --reinit -ni
#17 sha256:226879f2e67064acf66fa329a316c154c06e55259d3896439933ec5a10e860df
#17 CACHED

#15 [stage-1 7/9] WORKDIR /var/lib/ocurrent
#15 sha256:7dd6a15b769c8f28a0adc710bae1fbb6aa2dff3d845957fed44494f12204dcc5
#15 CACHED

#25 [build  9/15] COPY --chown=opam --link 	ocaml-dockerfile/dockerfile*.opam 	/src/ocaml-dockerfile/
#25 sha256:75063d287f76734d692a032c495c03fc509dd4256a3964235b80b86475a31214
#25 CACHED

#11 [stage-1 3/9] RUN --mount=type=cache,target=/var/cache/apt,sharing=locked     --mount=type=cache,target=/var/lib/apt,sharing=locked     apt update && apt-get --no-install-recommends install -y     ca-certificates     curl     dumb-init     git     gnupg2     graphviz     libev4     libsqlite3-dev     netbase     openssh-client
#11 sha256:954cdc68d965469ee67097415ab12b687d2a1f8c88dc682a15862dd0dd00cd5a
#11 CACHED

#24 [build  8/15] COPY --chown=opam --link 	solver-service/solver-service-api.opam 	solver-service/solver-service.opam 	/src/solver-service/
#24 sha256:64c45648abb1438c0fcd316645268763284277a85804dda90ea422ae58d034e3
#24 CACHED

#33 [stage-1 8/9] COPY --from=build --link /src/_build/install/default/bin/ocaml-ci-gitlab /src/_build/install/default/bin/solver-service /usr/local/bin/
#33 sha256:38efc6efc94e602abab3d0be9162d9912060eee6135f74551ee7ac455ec56ebb
#33 CACHED

#22 [build  6/15] COPY --chown=opam --link 	ocurrent/current_docker.opam 	ocurrent/current_github.opam 	ocurrent/current_gitlab.opam 	ocurrent/current_git.opam 	ocurrent/current.opam 	ocurrent/current_rpc.opam 	ocurrent/current_slack.opam 	ocurrent/current_web.opam 	/src/ocurrent/
#22 sha256:f24599492765012019dca411a44b67d613cad0f541d36f084f64154a577d4c09
#22 CACHED

#30 [build 13/15] RUN --mount=type=cache,target=/home/opam/.opam/download-cache,sharing=locked,uid=1000,gid=1000     opam install -y --deps-only .
#30 sha256:545cfeae7cc03e989db7b441467625c984fa11c5f5e63c0fba92676b8d3d5959
#30 CACHED

#32 [build 15/15] RUN opam exec -- dune build ./_build/install/default/bin/ocaml-ci-gitlab
#32 sha256:3fd6091c22cb0d7ad242590421fea1bb41b72a3b9f5ab171ab2047fff03df670
#32 CACHED

#18 [build  3/15] RUN sudo rm -f /etc/apt/apt.conf.d/docker-clean; echo 'Binary::apt::APT::Keep-Downloaded-Packages "true";' | sudo tee /etc/apt/apt.conf.d/keep-cache
#18 sha256:78c461be997a5b6288498446dc38fe40a299652e054e6f3afada96b53d77dc43
#18 CACHED

#12 [stage-1 4/9] RUN curl -fsSL https://download.docker.com/linux/debian/gpg | apt-key add -
#12 sha256:613841f1e27ad6c3fc70610169a26e7d01ed60f7d81b5e5986419688b5b348d3
#12 CACHED

#23 [build  7/15] COPY --chown=opam --link 	ocluster/ocluster-api.opam 	ocluster/current_ocluster.opam 	/src/ocluster/
#23 sha256:deb3c58d202ba3798619c52ac9d027467ff85240107393013c84d0773eae49e3
#23 CACHED

#27 [build 11/15] RUN opam pin add -yn current_docker.dev "./ocurrent" &&     opam pin add -yn current_github.dev "./ocurrent" &&     opam pin add -yn current_gitlab.dev "./ocurrent" &&     opam pin add -yn current_git.dev "./ocurrent" &&     opam pin add -yn current.dev "./ocurrent" &&     opam pin add -yn current_rpc.dev "./ocurrent" &&     opam pin add -yn current_slack.dev "./ocurrent" &&     opam pin add -yn current_web.dev "./ocurrent" &&     opam pin add -yn current_ocluster.dev "./ocluster" &&     opam pin add -yn dockerfile.dev "./ocaml-dockerfile" &&     opam pin add -yn dockerfile-opam.dev "./ocaml-dockerfile" &&     opam pin add -yn solver-service-api.dev "./solver-service" &&     opam pin add -yn solver-service.dev "./solver-service" &&     opam pin add -yn ocluster-api.dev "./ocluster"
#27 sha256:dbc7b07e1443c384a57d6187212a97ee7ed65165cc1cc7e51f92da0115e569a5
#27 CACHED

#34 [stage-1 9/9] COPY --from=build --link /src/migrations /migrations
#34 sha256:755638b19eee57dc97c7bb4560bfff33709e23aae3cbaf907970d3683223ec90
#34 CACHED

#35 exporting to image
#35 sha256:e8c613e07b0b7ff33893b694f7759a10d42e180f2b4dc349fb57dc6b71dcab00
#35 exporting layers done
#35 writing image sha256:30ba140a18643d611c6408a29452f191dddab4f166aca87fd9bf2282be49571c done
#35 DONE 0.1s
Job succeeded
2025-03-26 13:44.12: Job succeeded