Build:
- 0
2024-10-02 08:59.09: New job: Build Dockerfile using linux-x86_64 in [https://github.com/ocurrent/ocurrent-deployer.git#refs/pull/234/head (e71b06a779c98017c63bb543a68af2b9f6902e16)] 2024-10-02 08:59.09: Using cache hint "https://github.com/ocurrent/ocurrent-deployer.git-Dockerfile" 2024-10-02 08:59.09: Waiting for resource in pool OCluster 2024-10-02 08:59.09: Waiting for worker… 2024-10-02 08:59.09: Got resource from pool OCluster Building on x86-bm-c9.sw.ocaml.org Submodule path 'ocluster': checked out 'c8d092f0d0c01253a9199b94465f00f1dcbbe94d' Submodule path 'ocurrent': checked out '87dc7d1959b5d03a3d6ba462f2d96392988e7426' HEAD is now at 088e3aa Add ocaml-dune/binary-distribution Synchronizing submodule url for 'ocluster' Synchronizing submodule url for 'ocurrent' 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' HEAD is now at e71b06a Add ocaml-dune/binary-distribution 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' 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 path 'ocluster': checked out 'c8d092f0d0c01253a9199b94465f00f1dcbbe94d' Submodule path 'ocluster/obuilder': checked out '7015f4f00ac5183c70b27d044e8582b6c33105bd' Submodule path 'ocurrent': checked out '87dc7d1959b5d03a3d6ba462f2d96392988e7426' Submodule path 'ocurrent/vendor/ocaml-gitlab': checked out '134d702d195504c024a380cf577bf8672aa5e91e' #0 building with "default" instance using docker driver #1 [internal] load .dockerignore #1 transferring context: #1 transferring context: 65B done #1 DONE 0.4s #2 [internal] load build definition from Dockerfile #2 transferring dockerfile: 2.28kB done #2 DONE 0.6s #3 [internal] load metadata for docker.io/ocaml/opam:debian-12-ocaml-4.14@sha256:06d58a5cb1ab7875e8d94848102be43f6492e95320e8e9a9ecb9167654d0ee3f #3 DONE 0.9s #4 [internal] load metadata for docker.io/library/debian:12 #4 DONE 0.9s #5 [internal] load build context #5 DONE 0.0s #6 [stage-1 1/10] FROM docker.io/library/debian:12@sha256:27586f4609433f2f49a9157405b473c62c3cb28a581c413393975b4e8496d0ab #6 DONE 0.0s #7 [build 1/12] FROM docker.io/ocaml/opam:debian-12-ocaml-4.14@sha256:06d58a5cb1ab7875e8d94848102be43f6492e95320e8e9a9ecb9167654d0ee3f #7 DONE 0.0s #5 [internal] load build context #5 transferring context: 2.17MB 0.1s done #5 DONE 0.9s #8 [build 9/12] RUN opam pin -yn add . #8 CACHED #9 [build 2/12] RUN sudo apt-get update && sudo apt-get install libffi-dev libev-dev m4 pkg-config libsqlite3-dev libgmp-dev libssl-dev capnproto graphviz -y --no-install-recommends #9 CACHED #10 [build 5/12] COPY --chown=opam ocluster/*.opam /src/ocluster/ #10 CACHED #11 [build 3/12] RUN cd ~/opam-repository && git fetch -q origin master && git reset --hard 6d3d7021d944058cc7531905e065fe2cd72f01e8 && opam update #11 CACHED #12 [build 8/12] COPY --chown=opam deployer.opam /src/ #12 CACHED #13 [build 7/12] 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_ssh.dev "./ocurrent" && opam pin add -yn current_web.dev "./ocurrent" && opam pin add -yn ocluster-api.dev "./ocluster" #13 CACHED #14 [build 6/12] WORKDIR /src #14 CACHED #15 [build 4/12] 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_ssh.opam ocurrent/current_web.opam /src/ocurrent/ #15 CACHED #16 [stage-1 2/10] RUN apt-get update && apt-get install libffi-dev libev4 openssh-client curl gnupg2 dumb-init git graphviz libsqlite3-dev ca-certificates netbase rsync awscli -y --no-install-recommends #16 CACHED #17 [stage-1 5/10] RUN apt-get update && apt-get install docker-ce docker-ce-cli docker-buildx-plugin docker-compose-plugin -y --no-install-recommends #17 CACHED #18 [stage-1 4/10] RUN echo 'deb [arch=amd64] https://download.docker.com/linux/debian bookworm stable' >> /etc/apt/sources.list #18 CACHED #19 [stage-1 3/10] RUN curl -fsSL https://download.docker.com/linux/debian/gpg | apt-key add - #19 CACHED #20 [stage-1 6/10] WORKDIR /var/lib/ocurrent #20 CACHED #21 [build 10/12] RUN opam install -y --deps-only . #21 CACHED #22 [stage-1 7/10] COPY create-config.sh create-config.sh #22 DONE 1.7s #23 [build 11/12] ADD --chown=opam . . #23 DONE 1.8s #24 [build 12/12] RUN opam config exec -- dune build ./_build/install/default/bin/ocurrent-deployer #24 4.297 schema.capnp --> schema.mli schema.ml #24 4.297 kj/filesystem-disk-unix.c++:1681: warning: PWD environment variable doesn't match current directory; pwd = /src #24 ... #25 [stage-1 8/10] RUN ./create-config.sh #25 0.600 Successfully created context "ci3.ocamllabs.io" #25 0.600 ci3.ocamllabs.io #25 0.618 Successfully created context "ci4.ocamllabs.io" #25 0.618 ci4.ocamllabs.io #25 0.638 Successfully created context "ci.mirage.io" #25 0.638 ci.mirage.io #25 0.658 ci.ocamllabs.io #25 0.658 Successfully created context "ci.ocamllabs.io" #25 0.676 deploy.ci.ocaml.org #25 0.676 Successfully created context "deploy.ci.ocaml.org" #25 0.695 dev1.ocamllabs.io #25 0.695 Successfully created context "dev1.ocamllabs.io" #25 0.716 Successfully created context "docs.ci.ocaml.org" #25 0.716 docs.ci.ocaml.org #25 0.746 Successfully created context "staging.docs.ci.ocamllabs.io" #25 0.746 staging.docs.ci.ocamllabs.io #25 0.764 opam-4.ocaml.org #25 0.764 Successfully created context "opam-4.ocaml.org" #25 0.796 Successfully created context "opam-5.ocaml.org" #25 0.796 opam-5.ocaml.org #25 0.893 v3b.ocaml.org #25 0.893 Successfully created context "v3b.ocaml.org" #25 0.915 Successfully created context "v3c.ocaml.org" #25 0.915 v3c.ocaml.org #25 0.945 Successfully created context "watch.ocaml.org" #25 0.945 watch.ocaml.org #25 0.967 Successfully created context "opam.ci.ocaml.org" #25 0.967 opam.ci.ocaml.org #25 0.995 ocaml.ci.dev #25 0.995 Successfully created context "ocaml.ci.dev" #25 1.016 check.ci.ocaml.org #25 1.016 Successfully created context "check.ci.ocaml.org" #25 1.041 registry.ci.dev #25 1.041 Successfully created context "registry.ci.dev" #25 1.063 get.dune.build #25 1.063 Successfully created context "get.dune.build" #25 2.007 unknown flag: --profile #25 2.007 See 'docker context create --help'. #25 2.030 # ci3.ocamllabs.io:22 SSH-2.0-OpenSSH_7.9p1 Debian-10+deb10u4 #25 2.060 # ci4.ocamllabs.io:22 SSH-2.0-OpenSSH_8.9p1 Ubuntu-3ubuntu0.10 #25 2.245 # ci.mirage.io:22 SSH-2.0-OpenSSH_8.2p1 Ubuntu-4ubuntu0.11 #25 2.426 # ci.ocamllabs.io:22 SSH-2.0-OpenSSH_8.9p1 Ubuntu-3ubuntu0.10 #25 2.779 # deploy.ci.ocaml.org:22 SSH-2.0-OpenSSH_8.9p1 Ubuntu-3ubuntu0.10 #25 2.971 # dev1.ocamllabs.io:22 SSH-2.0-OpenSSH_8.9p1 Ubuntu-3ubuntu0.10 #25 3.210 # docs.ci.ocaml.org:22 SSH-2.0-OpenSSH_8.9p1 Ubuntu-3ubuntu0.10 #25 3.460 # staging.docs.ci.ocamllabs.io:22 SSH-2.0-OpenSSH_8.9p1 Ubuntu-3ubuntu0.10 #25 3.693 # opam-4.ocaml.org:22 SSH-2.0-OpenSSH_8.9p1 Ubuntu-3ubuntu0.10 #25 3.957 # opam-5.ocaml.org:22 SSH-2.0-OpenSSH_8.9p1 Ubuntu-3ubuntu0.10 #25 4.230 # v3b.ocaml.org:22 SSH-2.0-OpenSSH_8.9p1 Ubuntu-3ubuntu0.10 #25 4.397 # v3c.ocaml.org:22 SSH-2.0-OpenSSH_8.9p1 Ubuntu-3ubuntu0.10 #25 4.578 # watch.ocaml.org:22 SSH-2.0-OpenSSH_8.9p1 Ubuntu-3ubuntu0.10 #25 4.918 # opam.ci.ocaml.org:22 SSH-2.0-OpenSSH_8.9p1 Ubuntu-3ubuntu0.10 #25 5.427 # ocaml.ci.dev:22 SSH-2.0-OpenSSH_8.9p1 Ubuntu-3ubuntu0.10 #25 5.924 # check.ci.ocaml.org:22 SSH-2.0-OpenSSH_8.9p1 Ubuntu-3ubuntu0.10 #25 6.247 # registry.ci.dev:22 SSH-2.0-OpenSSH_8.9p1 Ubuntu-3ubuntu0.10 #25 6.586 # get.dune.build:22 SSH-2.0-OpenSSH_8.2p1 Ubuntu-4ubuntu0.11 #25 6.638 # 147.75.84.37:22 SSH-2.0-OpenSSH_8.4p1 Debian-5+deb11u3 #25 DONE 9.1s #24 [build 12/12] RUN opam config exec -- dune build ./_build/install/default/bin/ocurrent-deployer #24 ... #26 [stage-1 9/10] RUN docker context use default #26 0.737 default #26 0.737 Current context is now "default" #26 DONE 1.4s #24 [build 12/12] RUN opam config exec -- dune build ./_build/install/default/bin/ocurrent-deployer #24 DONE 10.8s #27 [stage-1 10/10] COPY --from=build /src/_build/install/default/bin/ocurrent-deployer /usr/local/bin/ #27 DONE 1.0s #28 exporting to image #28 exporting layers #28 exporting layers 0.5s done #28 writing image sha256:9ae97f457058fe3b9aba198c072a03eb7729bf7e77849eb24ae79b934c41401a done #28 DONE 0.5s Job succeeded 2024-10-02 08:59.28: Job succeeded