Build:
  1. 0
2024-11-19 18:09.21: New job: Build Dockerfile using linux-x86_64 in
                                [https://github.com/ocurrent/ocaml-ci.git#refs/heads/live-engine (e941544ed2c0ff0a0a546e332748f45e0f3fd2a7)]
2024-11-19 18:09.21: Will push staging image to ocurrentbuilder/staging:live-ocurrent-ocaml-ci-service-linux-x86_64
2024-11-19 18:09.21: Using cache hint "https://github.com/ocurrent/ocaml-ci.git-Dockerfile"
2024-11-19 18:09.21: Waiting for resource in pool OCluster
2024-11-19 18:09.21: Waiting for worker…
2024-11-19 18:09.21: Got resource from pool OCluster
Building on x86-bm-c20.sw.ocaml.org
All commits already cached
Submodule path 'ocaml-dockerfile': checked out 'dc5ab758fd581ac55b340af6060a7552d50200ba'
Submodule path 'ocaml-version': checked out 'f92a9f1b848b5eed179861ea13586a618b5fa25b'
Submodule path 'ocluster': checked out 'ba26623c6bca8b917c4252fa9739313fb14692ea'
Submodule path 'ocurrent': checked out '575e5cf1a4ade96ea4a5c43c4aa7ae12fc90dde0'
Submodule path 'solver-service': checked out 'f14bc6fdb22c1cef45bb3d3589bd778f4d6c8196'
HEAD is now at e941544 Update submodules and Dockerfile
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'
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 'dc5ab758fd581ac55b340af6060a7552d50200ba'
Submodule path 'ocaml-version': checked out 'f92a9f1b848b5eed179861ea13586a618b5fa25b'
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'
Sending build context to Docker daemon  11.74MB

Step 1/26 : FROM ocaml/opam:debian-12-ocaml-4.14@sha256:6246731ea5d2cd3a57669027aae33184d30d424e41ff8219d05a214726ef7426 AS build
docker.io/ocaml/opam:debian-12-ocaml-4.14@sha256:6246731ea5d2cd3a57669027aae33184d30d424e41ff8219d05a214726ef7426: Pulling from ocaml/opam
Digest: sha256:6246731ea5d2cd3a57669027aae33184d30d424e41ff8219d05a214726ef7426
Status: Image is up to date for ocaml/opam:debian-12-ocaml-4.14@sha256:6246731ea5d2cd3a57669027aae33184d30d424e41ff8219d05a214726ef7426
 ---> e05543a71fb7
Step 2/26 : RUN sudo ln -f /usr/bin/opam-2.2 /usr/bin/opam && opam init --reinit -ni
 ---> Using cache
 ---> 1ca72d570262
Step 3/26 : RUN sudo apt-get update && sudo apt-get install libcapnp-dev libffi-dev libev-dev capnproto m4 pkg-config libsqlite3-dev libgmp-dev graphviz -y --no-install-recommends
 ---> Using cache
 ---> 17bf36d9299e
Step 4/26 : RUN cd ~/opam-repository && git fetch -q origin master && git reset --hard 11bdbee61114a1cfa080b764e71c72a5760a93f0 && opam update
 ---> Using cache
 ---> 927a63ac8bf2
Step 5/26 : COPY --chown=opam 	ocurrent/current_docker.opam 	ocurrent/current_github.opam 	ocurrent/current_git.opam 	ocurrent/current.opam 	ocurrent/current_rpc.opam 	ocurrent/current_slack.opam 	ocurrent/current_web.opam 	/src/ocurrent/
 ---> Using cache
 ---> 7b42ec96fc59
Step 6/26 : COPY --chown=opam 	ocluster/ocluster-api.opam 	ocluster/current_ocluster.opam 	/src/ocluster/
 ---> Using cache
 ---> b75359710347
Step 7/26 : COPY --chown=opam 	solver-service/solver-service-api.opam 	solver-service/solver-service.opam 	solver-service/solver-worker.opam 	/src/solver-service/
 ---> Using cache
 ---> 6ffd9fcad6bd
Step 8/26 : COPY --chown=opam 	ocaml-dockerfile/dockerfile*.opam 	/src/ocaml-dockerfile/
 ---> Using cache
 ---> 9375962f7e3f
Step 9/26 : WORKDIR /src
 ---> Using cache
 ---> b472af403dbd
Step 10/26 : RUN opam pin add -yn current_docker.dev "./ocurrent" &&     opam pin add -yn current_github.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 solver-worker.dev "./solver-service" &&     opam pin add -yn ocluster-api.dev "./ocluster"
 ---> Using cache
 ---> 78a3d2c866bb
Step 11/26 : COPY --chown=opam ocaml-ci.opam ocaml-ci-service.opam ocaml-ci-api.opam /src/
 ---> Using cache
 ---> 73c4adc2dc55
Step 12/26 : RUN opam install -y --deps-only .
 ---> Using cache
 ---> 2134bc58830c
Step 13/26 : ADD --chown=opam . .
 ---> Using cache
 ---> c7ff2041186e
Step 14/26 : RUN opam exec -- dune build ./_build/install/default/bin/ocaml-ci-service
 ---> Using cache
 ---> 3a2393d691d4
Step 15/26 : FROM debian:12
12: Pulling from library/debian
Digest: sha256:10901ccd8d249047f9761845b4594f121edef079cfd8224edebd9ea726f0a7f6
Status: Image is up to date for debian:12
 ---> 63ba939a68fd
Step 16/26 : RUN apt-get update && apt-get install libev4 openssh-client curl gnupg2 dumb-init git graphviz libsqlite3-dev ca-certificates netbase -y --no-install-recommends
 ---> Using cache
 ---> f6940a3dcef0
Step 17/26 : RUN curl -fsSL https://download.docker.com/linux/debian/gpg | apt-key add -
 ---> Using cache
 ---> 4fbd46ec53ae
Step 18/26 : RUN echo 'deb https://download.docker.com/linux/debian bookworm stable' >> /etc/apt/sources.list
 ---> Using cache
 ---> ae4bb5d3cafa
Step 19/26 : RUN apt-get update && apt-get install docker-ce docker-buildx-plugin -y --no-install-recommends
 ---> Using cache
 ---> 6a2a32945ea0
Step 20/26 : WORKDIR /var/lib/ocurrent
 ---> Using cache
 ---> ff1406e4220d
Step 21/26 : ENTRYPOINT ["dumb-init", "/usr/local/bin/ocaml-ci-service"]
 ---> Using cache
 ---> 5852df7342c9
Step 22/26 : ENV OCAMLRUNPARAM=a=2
 ---> Using cache
 ---> 0c54f9794586
Step 23/26 : ENV DOCKER_CLI_EXPERIMENTAL=enabled
 ---> Using cache
 ---> f2d08e7d857a
Step 24/26 : COPY --from=build /src/_build/install/default/bin/ocaml-ci-service /src/_build/install/default/bin/solver-service /usr/local/bin/
 ---> Using cache
 ---> 5e88b7aa0421
Step 25/26 : RUN mkdir -p /migrations
 ---> Using cache
 ---> d6a87d0dd7dc
Step 26/26 : COPY --from=build /src/migrations /migrations
 ---> Using cache
 ---> 597a0a5fd800
Successfully built 597a0a5fd800
Pushing "sha256:597a0a5fd800ac2934bede435394dc8d949f4f05381ac7fbbecf3794a8195b2a" to "ocurrentbuilder/staging:live-ocurrent-ocaml-ci-service-linux-x86_64" as user "ocurrentbuilder"
Login Succeeded
The push refers to repository [docker.io/ocurrentbuilder/staging]
37b4a6e7c228: Preparing
e0f8b795c6cc: Preparing
a5e52f6d7229: Preparing
16df17f50099: Preparing
41f736bc41ac: Preparing
ab8a612e3f61: Preparing
d9eb3e0a1557: Preparing
e23acf8b11c1: Preparing
24b5ce0f1e07: Preparing
e23acf8b11c1: Waiting
d9eb3e0a1557: Waiting
ab8a612e3f61: Waiting
24b5ce0f1e07: Waiting
e0f8b795c6cc: Pushed
16df17f50099: Pushed
37b4a6e7c228: Pushed
ab8a612e3f61: Pushed
24b5ce0f1e07: Layer already exists
d9eb3e0a1557: Pushed
a5e52f6d7229: Pushed
e23acf8b11c1: Pushed
41f736bc41ac: Pushed
live-ocurrent-ocaml-ci-service-linux-x86_64: digest: sha256:41e09b4859fbda333e4da70aca51502b286dd89ce46ab5600a71eefda1cc1974 size: 2202
The push refers to repository [docker.io/ocurrentbuilder/staging]
37b4a6e7c228: Preparing
e0f8b795c6cc: Preparing
a5e52f6d7229: Preparing
16df17f50099: Preparing
41f736bc41ac: Preparing
ab8a612e3f61: Preparing
d9eb3e0a1557: Preparing
e23acf8b11c1: Preparing
24b5ce0f1e07: Preparing
ab8a612e3f61: Waiting
24b5ce0f1e07: Waiting
e23acf8b11c1: Waiting
37b4a6e7c228: Layer already exists
e0f8b795c6cc: Layer already exists
16df17f50099: Layer already exists
41f736bc41ac: Layer already exists
a5e52f6d7229: Layer already exists
ab8a612e3f61: Layer already exists
24b5ce0f1e07: Layer already exists
e23acf8b11c1: Layer already exists
d9eb3e0a1557: Layer already exists
live-ocurrent-ocaml-ci-service-linux-x86_64: digest: sha256:41e09b4859fbda333e4da70aca51502b286dd89ce46ab5600a71eefda1cc1974 size: 2202
Job succeeded
2024-11-19 18:10.18: Job succeeded