Organisationsmirageocaml-github217dcd (master)debian-12-4.14_arm32_opam-2.1

debian-12-4.14_arm32_opam-2.1

Link Copied
Code Copied

Logs

2024-05-26 11:25.49: New job: test mirage/ocaml-github https://github.com/mirage/ocaml-github.git#refs/heads/master (217dcd54b9320a2b59a19113e574f240052cf651) (linux-arm64:debian-12-4.14_arm32_opam-2.1)
Base: ocaml/opam:debian-12-ocaml-4.14@sha256:0b5715559a9013e7a7a4167db55ae80f6d21eda42c7824dfe1de5b4cc8dfb970
Opam project build


To reproduce locally:


git clone --recursive "https://github.com/mirage/ocaml-github.git" -b "master" && cd "ocaml-github" && git reset --hard 217dcd54
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-12-ocaml-4.14@sha256:0b5715559a9013e7a7a4167db55ae80f6d21eda42c7824dfe1de5b4cc8dfb970
# debian-12-4.14_arm32_opam-2.1
USER 1000:1000
SHELL [ "/usr/bin/linux32", "/bin/sh", "-c" ]
ENV CLICOLOR_FORCE="1"
ENV OPAMCOLOR="always"
WORKDIR /src
RUN sudo ln -f /usr/bin/opam-2.1 /usr/bin/opam
RUN opam init --reinit -ni
RUN uname -rs && opam exec -- ocaml -version && opam --version
WORKDIR /src
RUN sudo chown opam /src
RUN cd ~/opam-repository && (git cat-file -e 1c7ec1efdedc0a230f387bd65706ef364627fdd0 || git fetch origin master) && git reset -q --hard 1c7ec1efdedc0a230f387bd65706ef364627fdd0 && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 github.opam github-unix.opam github-jsoo.opam github-data.opam ./
RUN opam pin add -yn github.dev './' && \
    opam pin add -yn github-unix.dev './' && \
    opam pin add -yn github-jsoo.dev './' && \
    opam pin add -yn github-data.dev './'
ENV DEPS="angstrom.0.16.0 asn1-combinators.0.2.6 astring.0.8.5 atd.2.15.0 atdgen.2.15.0 atdgen-runtime.2.15.0 base.v0.16.3 base-bigarray.base base-bytes.base base-threads.base base-unix.base base64.3.5.1 bigstringaf.0.9.1 biniou.1.2.2 bos.0.2.1 ca-certs.0.2.3 camlp-streams.5.0.1 cmdliner.1.3.0 cohttp.5.3.0 cohttp-lwt.5.3.0 cohttp-lwt-jsoo.5.3.0 cohttp-lwt-unix.5.3.0 conduit.6.2.2 conduit-lwt.6.2.2 conduit-lwt-unix.6.2.2 conf-bash.1 conf-gmp.4 conf-gmp-powm-sec.3 cppo.1.6.9 csexp.1.5.2 cstruct.6.2.0 domain-name.0.4.0 dune.3.15.3 dune-configurator.3.15.3 duration.0.2.1 easy-format.1.3.4 eqaf.0.9 fmt.0.9.0 fpath.0.7.3 gen.1.1 gmap.0.3.0 ipaddr.5.6.0 ipaddr-sexp.5.6.0 js_of_ocaml.5.8.1 js_of_ocaml-compiler.5.8.1 js_of_ocaml-lwt.5.8.1 js_of_ocaml-ppx.5.8.1 jsonm.1.0.2 logs.0.7.0 lwt.5.7.0 macaddr.5.6.0 magic-mime.1.3.1 menhir.20231231 menhirCST.20231231 menhirLib.20231231 menhirSdk.20231231 mirage-crypto.0.11.3 mirage-crypto-ec.0.11.3 mirage-crypto-pk.0.11.3 mirage-crypto-rng.0.11.3 num.1.5 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-compiler-libs.v0.12.4 ocaml-config.2 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocamlbuild.0.14.3 ocamlfind.1.9.6 ocplib-endian.1.2 parsexp.v0.16.0 pbkdf.1.2.0 ppx_derivers.1.2.1 ppx_sexp_conv.v0.16.0 ppxlib.0.32.1 ptime.1.1.0 re.1.11.0 rresult.0.7.0 sedlex.3.2 seq.base sexplib.v0.16.0 sexplib0.v0.16.0 stdlib-shims.0.3.0 stringext.1.6.0 topkg.1.0.7 uri.4.4.0 uri-sexp.4.4.0 uutf.1.0.3 x509.0.16.5 yojson.2.1.2 zarith.1.13"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.1 --depext-only -y github.dev github-unix.dev github-jsoo.dev github-data.dev $DEPS
RUN opam install $DEPS
COPY --chown=1000:1000 . /src
RUN opam exec -- dune build @install @check @runtest && rm -rf _build


END-OF-DOCKERFILE
docker build .
END-REPRO-BLOCK


2024-05-26 11:25.49: Using cache hint "mirage/ocaml-github-ocaml/opam:debian-12-ocaml-4.14@sha256:0b5715559a9013e7a7a4167db55ae80f6d21eda42c7824dfe1de5b4cc8dfb970-debian-12-4.14_arm32_opam-2.1-6c1497703ab658032fe3a0fd71df8095"
2024-05-26 11:25.49: Using OBuilder spec:
((from ocaml/opam:debian-12-ocaml-4.14@sha256:0b5715559a9013e7a7a4167db55ae80f6d21eda42c7824dfe1de5b4cc8dfb970)
 (comment debian-12-4.14_arm32_opam-2.1)
 (user (uid 1000) (gid 1000))
 (shell /usr/bin/linux32 /bin/sh -c)
 (env CLICOLOR_FORCE 1)
 (env OPAMCOLOR always)
 (workdir /src)
 (run (shell "sudo ln -f /usr/bin/opam-2.1 /usr/bin/opam"))
 (run (shell "opam init --reinit -ni"))
 (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
 (workdir /src)
 (run (shell "sudo chown opam /src"))
 (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
      (network host)
      (shell "cd ~/opam-repository && (git cat-file -e 1c7ec1efdedc0a230f387bd65706ef364627fdd0 || git fetch origin master) && git reset -q --hard 1c7ec1efdedc0a230f387bd65706ef364627fdd0 && git log --no-decorate -n1 --oneline && opam update -u"))
 (copy (src github.opam github-unix.opam github-jsoo.opam github-data.opam)
       (dst ./))
 (run (network host)
      (shell  "opam pin add -yn github.dev './' && \
             \nopam pin add -yn github-unix.dev './' && \
             \nopam pin add -yn github-jsoo.dev './' && \
             \nopam pin add -yn github-data.dev './'"))
 (env DEPS "angstrom.0.16.0 asn1-combinators.0.2.6 astring.0.8.5 atd.2.15.0 atdgen.2.15.0 atdgen-runtime.2.15.0 base.v0.16.3 base-bigarray.base base-bytes.base base-threads.base base-unix.base base64.3.5.1 bigstringaf.0.9.1 biniou.1.2.2 bos.0.2.1 ca-certs.0.2.3 camlp-streams.5.0.1 cmdliner.1.3.0 cohttp.5.3.0 cohttp-lwt.5.3.0 cohttp-lwt-jsoo.5.3.0 cohttp-lwt-unix.5.3.0 conduit.6.2.2 conduit-lwt.6.2.2 conduit-lwt-unix.6.2.2 conf-bash.1 conf-gmp.4 conf-gmp-powm-sec.3 cppo.1.6.9 csexp.1.5.2 cstruct.6.2.0 domain-name.0.4.0 dune.3.15.3 dune-configurator.3.15.3 duration.0.2.1 easy-format.1.3.4 eqaf.0.9 fmt.0.9.0 fpath.0.7.3 gen.1.1 gmap.0.3.0 ipaddr.5.6.0 ipaddr-sexp.5.6.0 js_of_ocaml.5.8.1 js_of_ocaml-compiler.5.8.1 js_of_ocaml-lwt.5.8.1 js_of_ocaml-ppx.5.8.1 jsonm.1.0.2 logs.0.7.0 lwt.5.7.0 macaddr.5.6.0 magic-mime.1.3.1 menhir.20231231 menhirCST.20231231 menhirLib.20231231 menhirSdk.20231231 mirage-crypto.0.11.3 mirage-crypto-ec.0.11.3 mirage-crypto-pk.0.11.3 mirage-crypto-rng.0.11.3 num.1.5 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-compiler-libs.v0.12.4 ocaml-config.2 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocamlbuild.0.14.3 ocamlfind.1.9.6 ocplib-endian.1.2 parsexp.v0.16.0 pbkdf.1.2.0 ppx_derivers.1.2.1 ppx_sexp_conv.v0.16.0 ppxlib.0.32.1 ptime.1.1.0 re.1.11.0 rresult.0.7.0 sedlex.3.2 seq.base sexplib.v0.16.0 sexplib0.v0.16.0 stdlib-shims.0.3.0 stringext.1.6.0 topkg.1.0.7 uri.4.4.0 uri-sexp.4.4.0 uutf.1.0.3 x509.0.16.5 yojson.2.1.2 zarith.1.13")
 (env CI true)
 (env OCAMLCI true)
 (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
      (network host)
      (shell "opam update --depexts && opam install --cli=2.1 --depext-only -y github.dev github-unix.dev github-jsoo.dev github-data.dev $DEPS"))
 (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
      (network host)
      (shell "opam install $DEPS"))
 (copy (src .) (dst /src))
 (run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build"))
)


2024-05-26 11:25.49: Waiting for resource in pool OCluster
2024-05-26 11:25.49: Waiting for worker…
2024-05-26 11:25.49: Got resource from pool OCluster
Building on arm64-jade-1.equinix.ci.dev
HEAD is now at 91edfae Merge pull request #266 from shonfeder/fix-link-to-atd-files
HEAD is now at 217dcd5 handle "Bot" user type (#270)


(from ocaml/opam:debian-12-ocaml-4.14@sha256:0b5715559a9013e7a7a4167db55ae80f6d21eda42c7824dfe1de5b4cc8dfb970)
Unable to find image 'ocaml/opam:debian-12-ocaml-4.14@sha256:0b5715559a9013e7a7a4167db55ae80f6d21eda42c7824dfe1de5b4cc8dfb970' locally
docker.io/ocaml/opam@sha256:0b5715559a9013e7a7a4167db55ae80f6d21eda42c7824dfe1de5b4cc8dfb970: Pulling from ocaml/opam
9d3555d1192d: Pulling fs layer
9d3555d1192d: Verifying Checksum
9d3555d1192d: Download complete
9d3555d1192d: Pull complete
Digest: sha256:0b5715559a9013e7a7a4167db55ae80f6d21eda42c7824dfe1de5b4cc8dfb970
Status: Downloaded newer image for ocaml/opam@sha256:0b5715559a9013e7a7a4167db55ae80f6d21eda42c7824dfe1de5b4cc8dfb970
WARNING: The requested image's platform (linux/arm/v7) does not match the detected host platform (linux/arm64/v8) and no specific platform was requested
2024-05-26 11:25.53 ---> using "97033d7a9a3c42b44a3864e5a080878355cc43512fa4954b12f427c72b432cd2" from cache


/: (comment debian-12-4.14_arm32_opam-2.1)


/: (user (uid 1000) (gid 1000))


/: (shell /usr/bin/linux32 /bin/sh -c)


/: (env CLICOLOR_FORCE 1)


/: (env OPAMCOLOR always)


/: (workdir /src)


/src: (run (shell "sudo ln -f /usr/bin/opam-2.1 /usr/bin/opam"))
2024-05-26 11:25.53 ---> using "fbb3714dfcf8df2fdc3dc9f8595a211dd97d414b621f140cbb96f2e9fd9bdab1" from cache


/src: (run (shell "opam init --reinit -ni"))
No configuration file found, using built-in defaults.
Checking for available remotes: rsync and local, git.
  - you won't be able to use mercurial repositories unless you install the hg command on your system.
  - you won't be able to use darcs repositories unless you install the darcs command on your system.


[ERROR] Could not write /home/opam/.opam/opam-init/hooks/sandbox.sh
Fatal error:
/usr/bin/opam: "chmod" failed on /home/opam/.opam/opam-init/hooks/sandbox.sh: Permission denied
"/usr/bin/linux32" "/bin/sh" "-c" "opam init --reinit -ni" failed with exit status 99
2024-05-26 11:25.55: Job failed: Failed: Build failed