Organisationsavsmocaml-yamld126d9 (master)debian-12-4.14_arm64_opam-2.1

debian-12-4.14_arm64_opam-2.1

Link Copied
Code Copied

Logs

2024-05-26 11:53.15: New job: test avsm/ocaml-yaml https://github.com/avsm/ocaml-yaml.git#refs/heads/master (d126d9417d85096e421dd3c4cf3550e18ffc3c4e) (linux-arm64:debian-12-4.14_arm64_opam-2.1)
Base: ocaml/opam@sha256:03a5a4ddf0eae514071c7504a3f0b49a917eaf2f7acd6806bc53498398aa1b85
Opam project build


To reproduce locally:


git clone --recursive "https://github.com/avsm/ocaml-yaml.git" -b "master" && cd "ocaml-yaml" && git reset --hard d126d941
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam@sha256:03a5a4ddf0eae514071c7504a3f0b49a917eaf2f7acd6806bc53498398aa1b85
# debian-12-4.14_arm64_opam-2.1
USER 1000:1000
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 yaml.opam yaml-sexp.opam ./
RUN opam pin add -yn yaml.dev './' && \
    opam pin add -yn yaml-sexp.dev './'
ENV DEPS="afl-persistent.1.4 alcotest.1.7.0 astring.0.8.5 base.v0.16.3 base-bigarray.base base-bytes.base base-threads.base base-unix.base bigarray-compat.1.1.0 bos.0.2.1 camlp-streams.5.0.1 cmdliner.1.3.0 conf-bash.1 cppo.1.6.9 crowbar.0.2.1 csexp.1.5.2 cstruct.6.2.0 ctypes.0.22.0 dune.3.15.3 dune-configurator.3.15.3 ezjsonm.1.3.0 fmt.0.9.0 fpath.0.7.3 hex.1.5.0 integers.0.7.0 jsonm.1.0.2 junit.2.0.2 junit_alcotest.2.0.2 logs.0.7.0 mdx.2.4.1 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 ocaml-version.3.6.7 ocamlbuild.0.14.3 ocamlfind.1.9.6 ocplib-endian.1.2 parsexp.v0.16.0 ppx_derivers.1.2.1 ppx_sexp_conv.v0.16.0 ppxlib.0.32.1 ptime.1.1.0 re.1.11.0 result.1.5 rresult.0.7.0 seq.base sexplib.v0.16.0 sexplib0.v0.16.0 stdlib-shims.0.3.0 topkg.1.0.7 tyxml.4.6.0 uutf.1.0.3"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.1 --depext-only -y yaml.dev yaml-sexp.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:53.15: Using cache hint "avsm/ocaml-yaml-ocaml/opam@sha256:03a5a4ddf0eae514071c7504a3f0b49a917eaf2f7acd6806bc53498398aa1b85-debian-12-4.14_arm64_opam-2.1-b1820f89ec95757142ac9f1f9c022dda"
2024-05-26 11:53.15: Using OBuilder spec:
((from ocaml/opam@sha256:03a5a4ddf0eae514071c7504a3f0b49a917eaf2f7acd6806bc53498398aa1b85)
 (comment debian-12-4.14_arm64_opam-2.1)
 (user (uid 1000) (gid 1000))
 (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 yaml.opam yaml-sexp.opam) (dst ./))
 (run (network host)
      (shell  "opam pin add -yn yaml.dev './' && \
             \nopam pin add -yn yaml-sexp.dev './'"))
 (env DEPS "afl-persistent.1.4 alcotest.1.7.0 astring.0.8.5 base.v0.16.3 base-bigarray.base base-bytes.base base-threads.base base-unix.base bigarray-compat.1.1.0 bos.0.2.1 camlp-streams.5.0.1 cmdliner.1.3.0 conf-bash.1 cppo.1.6.9 crowbar.0.2.1 csexp.1.5.2 cstruct.6.2.0 ctypes.0.22.0 dune.3.15.3 dune-configurator.3.15.3 ezjsonm.1.3.0 fmt.0.9.0 fpath.0.7.3 hex.1.5.0 integers.0.7.0 jsonm.1.0.2 junit.2.0.2 junit_alcotest.2.0.2 logs.0.7.0 mdx.2.4.1 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 ocaml-version.3.6.7 ocamlbuild.0.14.3 ocamlfind.1.9.6 ocplib-endian.1.2 parsexp.v0.16.0 ppx_derivers.1.2.1 ppx_sexp_conv.v0.16.0 ppxlib.0.32.1 ptime.1.1.0 re.1.11.0 result.1.5 rresult.0.7.0 seq.base sexplib.v0.16.0 sexplib0.v0.16.0 stdlib-shims.0.3.0 topkg.1.0.7 tyxml.4.6.0 uutf.1.0.3")
 (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 yaml.dev yaml-sexp.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:53.15: Waiting for resource in pool OCluster
2024-05-26 11:53.15: Waiting for worker…
2024-05-26 11:53.15: Got resource from pool OCluster
Building on arm64-jade-2.equinix.ci.dev
HEAD is now at d4fe98a Merge pull request #58 from samoht/fix-opam
HEAD is now at d126d94 update CHANGES


(from ocaml/opam@sha256:03a5a4ddf0eae514071c7504a3f0b49a917eaf2f7acd6806bc53498398aa1b85)
Unable to find image 'ocaml/opam@sha256:03a5a4ddf0eae514071c7504a3f0b49a917eaf2f7acd6806bc53498398aa1b85' locally
docker.io/ocaml/opam@sha256:03a5a4ddf0eae514071c7504a3f0b49a917eaf2f7acd6806bc53498398aa1b85: Pulling from ocaml/opam
11e98967d8d7: Pulling fs layer
11e98967d8d7: Verifying Checksum
11e98967d8d7: Download complete
11e98967d8d7: Pull complete
Digest: sha256:03a5a4ddf0eae514071c7504a3f0b49a917eaf2f7acd6806bc53498398aa1b85
Status: Downloaded newer image for ocaml/opam@sha256:03a5a4ddf0eae514071c7504a3f0b49a917eaf2f7acd6806bc53498398aa1b85
2024-05-26 11:53.16 ---> using "8996bcdb05f2890613e4a5e164dd9dd2f7c66284ebfc49b1df9eef1d9b3fb2b6" from cache


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


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


/: (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:53.16 ---> using "35551480ee274ddc04c523c838f09ee488f7c690e7831cdce4e4888be941464c" 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
"/bin/bash" "-c" "opam init --reinit -ni" failed with exit status 99
2024-05-26 11:53.17: Job failed: Failed: Build failed