Organisationsmiragealcotest7141a4 ()alpine-3.21-4.14_opam-2.3

alpine-3.21-4.14_opam-2.3

Logs

Show full logs
2025-01-17 21:59.17: New job: test mirage/alcotest https://github.com/mirage/alcotest.git#refs/pull/413/head (7141a4c678a67fb06f10ec4c27b407c2e36bd3f7) (linux-x86_64:alpine-3.21-4.14_opam-2.3)
Base: ocaml/opam:alpine-3.21-ocaml-4.14@sha256:c810715263d60567b2461193b2da505b76379f507ee019b54161dd101ccd44bd
Opam project build

To reproduce locally:

git clone --recursive "https://github.com/mirage/alcotest.git" && cd "alcotest" && git fetch origin "refs/pull/413/head" && git reset --hard 7141a4c6
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:alpine-3.21-ocaml-4.14@sha256:c810715263d60567b2461193b2da505b76379f507ee019b54161dd101ccd44bd
# alpine-3.21-4.14_opam-2.3
USER 1000:1000
ENV CLICOLOR_FORCE="1"
ENV OPAMCOLOR="always"
WORKDIR /src
RUN sudo ln -f /usr/bin/opam-2.3 /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 da383c8610c72e3b8a92e6327148910d1d81cd57 || git fetch origin master) && git reset -q --hard da383c8610c72e3b8a92e6327148910d1d81cd57 && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 alcotest.opam alcotest-mirage.opam alcotest-lwt.opam alcotest-js.opam alcotest-async.opam ./
RUN opam pin add -yn alcotest.dev './' && \
    opam pin add -yn alcotest-mirage.dev './' && \
    opam pin add -yn alcotest-lwt.dev './' && \
    opam pin add -yn alcotest-js.dev './' && \
    opam pin add -yn alcotest-async.dev './'
RUN echo '(lang dune 3.0)' > './dune-project'
ENV DEPS="astring.0.8.5 async.v0.16.0 async_kernel.v0.16.0 async_rpc_kernel.v0.16.0 async_unix.v0.16.0 base.v0.16.3 base-bigarray.base base-bytes.base base-threads.base base-unix.base base_bigstring.v0.16.0 base_quickcheck.v0.16.0 bin_prot.v0.16.0 cmdliner.1.3.0 conf-bash.1 core.v0.16.2 core_kernel.v0.16.0 core_unix.v0.16.0 cppo.1.8.0 csexp.1.5.2 dune.3.17.1 dune-configurator.3.17.1 duration.0.2.1 expect_test_helpers_core.v0.16.0 fieldslib.v0.16.0 fmt.0.9.0 gen.1.1 host-arch-x86_64.1 host-system-other.1 int_repr.v0.16.0 jane-street-headers.v0.16.0 js_of_ocaml-compiler.5.9.1 jst-config.v0.16.0 logs.0.7.0 lwt.5.9.0 menhir.20240715 menhirCST.20240715 menhirLib.20240715 menhirSdk.20240715 mirage-clock.4.2.0 num.1.5-1 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_intrinsics.v0.16.1 ocamlbuild.0.15.0 ocamlfind.1.9.6 ocplib-endian.1.2 parsexp.v0.16.0 ppx_assert.v0.16.0 ppx_base.v0.16.0 ppx_bench.v0.16.0 ppx_bin_prot.v0.16.0 ppx_cold.v0.16.0 ppx_compare.v0.16.0 ppx_custom_printf.v0.16.0 ppx_derivers.1.2.1 ppx_disable_unused_warnings.v0.16.0 ppx_enumerate.v0.16.0 ppx_expect.v0.16.1 ppx_fields_conv.v0.16.0 ppx_fixed_literal.v0.16.0 ppx_globalize.v0.16.0 ppx_hash.v0.16.0 ppx_here.v0.16.0 ppx_ignore_instrumentation.v0.16.0 ppx_inline_test.v0.16.1 ppx_jane.v0.16.0 ppx_let.v0.16.0 ppx_log.v0.16.0 ppx_module_timer.v0.16.0 ppx_optcomp.v0.16.0 ppx_optional.v0.16.0 ppx_pipebang.v0.16.0 ppx_sexp_conv.v0.16.0 ppx_sexp_message.v0.16.0 ppx_sexp_value.v0.16.0 ppx_stable.v0.16.0 ppx_stable_witness.v0.16.0 ppx_string.v0.16.0 ppx_tydi.v0.16.0 ppx_typerep_conv.v0.16.0 ppx_variants_conv.v0.16.0 ppxlib.0.34.0 protocol_version_header.v0.16.0 re.1.12.0 sedlex.3.3 seq.base sexp_pretty.v0.16.0 sexplib.v0.16.0 sexplib0.v0.16.0 spawn.v0.17.0 splittable_random.v0.16.0 stdio.v0.16.0 stdlib-shims.0.3.0 textutils.v0.16.0 textutils_kernel.v0.16.0 time_now.v0.16.0 timezone.v0.16.0 topkg.1.0.7 typerep.v0.16.0 uutf.1.0.3 variantslib.v0.16.0 yojson.2.2.2"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.3 --depext-only -y alcotest.dev alcotest-mirage.dev alcotest-lwt.dev alcotest-js.dev alcotest-async.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

2025-01-17 21:59.17: Using cache hint "mirage/alcotest-ocaml/opam:alpine-3.21-ocaml-4.14@sha256:c810715263d60567b2461193b2da505b76379f507ee019b54161dd101ccd44bd-alpine-3.21-4.14_opam-2.3-24e56f6f05694f45fac441b2ee903c55"
2025-01-17 21:59.17: Using OBuilder spec:
((from ocaml/opam:alpine-3.21-ocaml-4.14@sha256:c810715263d60567b2461193b2da505b76379f507ee019b54161dd101ccd44bd)
 (comment alpine-3.21-4.14_opam-2.3)
 (user (uid 1000) (gid 1000))
 (env CLICOLOR_FORCE 1)
 (env OPAMCOLOR always)
 (workdir /src)
 (run (shell "sudo ln -f /usr/bin/opam-2.3 /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 da383c8610c72e3b8a92e6327148910d1d81cd57 || git fetch origin master) && git reset -q --hard da383c8610c72e3b8a92e6327148910d1d81cd57 && git log --no-decorate -n1 --oneline && opam update -u"))
 (copy (src alcotest.opam alcotest-mirage.opam alcotest-lwt.opam alcotest-js.opam alcotest-async.opam)
       (dst ./))
 (run (network host)
      (shell  "opam pin add -yn alcotest.dev './' && \
             \nopam pin add -yn alcotest-mirage.dev './' && \
             \nopam pin add -yn alcotest-lwt.dev './' && \
             \nopam pin add -yn alcotest-js.dev './' && \
             \nopam pin add -yn alcotest-async.dev './'"))
 (run (network host)
      (shell "echo '(lang dune 3.0)' > './dune-project'"))
 (env DEPS "astring.0.8.5 async.v0.16.0 async_kernel.v0.16.0 async_rpc_kernel.v0.16.0 async_unix.v0.16.0 base.v0.16.3 base-bigarray.base base-bytes.base base-threads.base base-unix.base base_bigstring.v0.16.0 base_quickcheck.v0.16.0 bin_prot.v0.16.0 cmdliner.1.3.0 conf-bash.1 core.v0.16.2 core_kernel.v0.16.0 core_unix.v0.16.0 cppo.1.8.0 csexp.1.5.2 dune.3.17.1 dune-configurator.3.17.1 duration.0.2.1 expect_test_helpers_core.v0.16.0 fieldslib.v0.16.0 fmt.0.9.0 gen.1.1 host-arch-x86_64.1 host-system-other.1 int_repr.v0.16.0 jane-street-headers.v0.16.0 js_of_ocaml-compiler.5.9.1 jst-config.v0.16.0 logs.0.7.0 lwt.5.9.0 menhir.20240715 menhirCST.20240715 menhirLib.20240715 menhirSdk.20240715 mirage-clock.4.2.0 num.1.5-1 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_intrinsics.v0.16.1 ocamlbuild.0.15.0 ocamlfind.1.9.6 ocplib-endian.1.2 parsexp.v0.16.0 ppx_assert.v0.16.0 ppx_base.v0.16.0 ppx_bench.v0.16.0 ppx_bin_prot.v0.16.0 ppx_cold.v0.16.0 ppx_compare.v0.16.0 ppx_custom_printf.v0.16.0 ppx_derivers.1.2.1 ppx_disable_unused_warnings.v0.16.0 ppx_enumerate.v0.16.0 ppx_expect.v0.16.1 ppx_fields_conv.v0.16.0 ppx_fixed_literal.v0.16.0 ppx_globalize.v0.16.0 ppx_hash.v0.16.0 ppx_here.v0.16.0 ppx_ignore_instrumentation.v0.16.0 ppx_inline_test.v0.16.1 ppx_jane.v0.16.0 ppx_let.v0.16.0 ppx_log.v0.16.0 ppx_module_timer.v0.16.0 ppx_optcomp.v0.16.0 ppx_optional.v0.16.0 ppx_pipebang.v0.16.0 ppx_sexp_conv.v0.16.0 ppx_sexp_message.v0.16.0 ppx_sexp_value.v0.16.0 ppx_stable.v0.16.0 ppx_stable_witness.v0.16.0 ppx_string.v0.16.0 ppx_tydi.v0.16.0 ppx_typerep_conv.v0.16.0 ppx_variants_conv.v0.16.0 ppxlib.0.34.0 protocol_version_header.v0.16.0 re.1.12.0 sedlex.3.3 seq.base sexp_pretty.v0.16.0 sexplib.v0.16.0 sexplib0.v0.16.0 spawn.v0.17.0 splittable_random.v0.16.0 stdio.v0.16.0 stdlib-shims.0.3.0 textutils.v0.16.0 textutils_kernel.v0.16.0 time_now.v0.16.0 timezone.v0.16.0 topkg.1.0.7 typerep.v0.16.0 uutf.1.0.3 variantslib.v0.16.0 yojson.2.2.2")
 (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.3 --depext-only -y alcotest.dev alcotest-mirage.dev alcotest-lwt.dev alcotest-js.dev alcotest-async.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"))
)

2025-01-17 21:59.17: Waiting for resource in pool OCluster
2025-01-18 02:01.51: Waiting for worker…
2025-01-18 02:01.51: Got resource from pool OCluster
Building on doris.caelum.ci.dev
All commits already cached
HEAD is now at 7141a4c no longer rely on joo_global_object

(from ocaml/opam:alpine-3.21-ocaml-4.14@sha256:c810715263d60567b2461193b2da505b76379f507ee019b54161dd101ccd44bd)
2025-01-18 02:01.51 ---> using "53a586dee36495bf7ec4fb904a8b3330f0aafc149d45da9757d8480bbc81dd56" from cache

/: (comment alpine-3.21-4.14_opam-2.3)

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

/: (env CLICOLOR_FORCE 1)

/: (env OPAMCOLOR always)

/: (workdir /src)

/src: (run (shell "sudo ln -f /usr/bin/opam-2.3 /usr/bin/opam"))
2025-01-18 02:01.51 ---> using "461c3f13be41faf96f6a13c92270e688b0ad5416f7520d46cd35e5c4784d07c5" from cache

/src: (run (shell "opam init --reinit -ni"))
Configuring from /home/opam/.opamrc and then from 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.

This development version of opam requires an update to the layout of /home/opam/.opam from version 2.0 to version 2.2, which can't be reverted.
You may want to back it up before going further.

Continue? [y/n] y
Format upgrade done.

<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] synchronised from file:///home/opam/opam-repository
2025-01-18 02:01.51 ---> using "a08aa2b714f2eb9001308844375adde0dffdf93ef9dd2ee9cbb051cd0aaaf049" from cache

/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-130-generic
The OCaml toplevel, version 4.14.2
2.3.0
2025-01-18 02:01.51 ---> using "b0a038d393f2dc47db52841066eaf215bed6b9836d87a4470823f9f304af2c74" from cache

/src: (workdir /src)

/src: (run (shell "sudo chown opam /src"))
2025-01-18 02:01.51 ---> using "23d495eb6205288b0503ee14c3933a15dc88912b2d66b9e90ce44d81c8bc47ba" from cache

/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
           (network host)
           (shell "cd ~/opam-repository && (git cat-file -e da383c8610c72e3b8a92e6327148910d1d81cd57 || git fetch origin master) && git reset -q --hard da383c8610c72e3b8a92e6327148910d1d81cd57 && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
 * branch                  master     -> FETCH_HEAD
   f93eb7cb02..da383c8610  master     -> origin/master
da383c8610 Merge pull request #27275 from xavierleroy/maintenance-intent

<><> Updating package repositories ><><><><><><><><><><><><><><><><><><><><><><>
[default] synchronised from file:///home/opam/opam-repository

Everything as up-to-date as possible (run with --verbose to show unavailable upgrades).
However, you may "opam upgrade" these packages explicitly, which will ask permission to downgrade or uninstall the conflicting packages.
Nothing to do.
# To update the current shell environment, run: eval $(opam env)
2025-01-18 02:01.51 ---> using "12fcc3ade43bb84039c22678902e84bce367072051a37806908978b6a775467c" from cache

/src: (copy (src alcotest.opam alcotest-mirage.opam alcotest-lwt.opam alcotest-js.opam alcotest-async.opam)
            (dst ./))
2025-01-18 02:01.52 ---> saved as "a9b5f1c83d222e723fd761205c7a01540d4f1371717d187306a33c3484f6b33b"

/src: (run (network host)
           (shell  "opam pin add -yn alcotest.dev './' && \
                  \nopam pin add -yn alcotest-mirage.dev './' && \
                  \nopam pin add -yn alcotest-lwt.dev './' && \
                  \nopam pin add -yn alcotest-js.dev './' && \
                  \nopam pin add -yn alcotest-async.dev './'"))
[alcotest.dev] synchronised (file:///src)
alcotest is now pinned to file:///src (version dev)
[alcotest-mirage.dev] synchronised (file:///src)
alcotest-mirage is now pinned to file:///src (version dev)
[alcotest-lwt.dev] synchronised (file:///src)
alcotest-lwt is now pinned to file:///src (version dev)
[alcotest-js.dev] synchronised (file:///src)
alcotest-js is now pinned to file:///src (version dev)
[alcotest-async.dev] synchronised (file:///src)
alcotest-async is now pinned to file:///src (version dev)
2025-01-18 02:02.02 ---> saved as "78e44650486e277f33aed493fa18fc71e44e700d1c11ebd4f5466cbb620882ab"

/src: (run (network host)
           (shell "echo '(lang dune 3.0)' > './dune-project'"))
2025-01-18 02:02.02 ---> saved as "d8305468f8dec7d578c75e734e1184f7c7848909fc6796d593b5729c634516ae"

/src: (env DEPS "astring.0.8.5 async.v0.16.0 async_kernel.v0.16.0 async_rpc_kernel.v0.16.0 async_unix.v0.16.0 base.v0.16.3 base-bigarray.base base-bytes.base base-threads.base base-unix.base base_bigstring.v0.16.0 base_quickcheck.v0.16.0 bin_prot.v0.16.0 cmdliner.1.3.0 conf-bash.1 core.v0.16.2 core_kernel.v0.16.0 core_unix.v0.16.0 cppo.1.8.0 csexp.1.5.2 dune.3.17.1 dune-configurator.3.17.1 duration.0.2.1 expect_test_helpers_core.v0.16.0 fieldslib.v0.16.0 fmt.0.9.0 gen.1.1 host-arch-x86_64.1 host-system-other.1 int_repr.v0.16.0 jane-street-headers.v0.16.0 js_of_ocaml-compiler.5.9.1 jst-config.v0.16.0 logs.0.7.0 lwt.5.9.0 menhir.20240715 menhirCST.20240715 menhirLib.20240715 menhirSdk.20240715 mirage-clock.4.2.0 num.1.5-1 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_intrinsics.v0.16.1 ocamlbuild.0.15.0 ocamlfind.1.9.6 ocplib-endian.1.2 parsexp.v0.16.0 ppx_assert.v0.16.0 ppx_base.v0.16.0 ppx_bench.v0.16.0 ppx_bin_prot.v0.16.0 ppx_cold.v0.16.0 ppx_compare.v0.16.0 ppx_custom_printf.v0.16.0 ppx_derivers.1.2.1 ppx_disable_unused_warnings.v0.16.0 ppx_enumerate.v0.16.0 ppx_expect.v0.16.1 ppx_fields_conv.v0.16.0 ppx_fixed_literal.v0.16.0 ppx_globalize.v0.16.0 ppx_hash.v0.16.0 ppx_here.v0.16.0 ppx_ignore_instrumentation.v0.16.0 ppx_inline_test.v0.16.1 ppx_jane.v0.16.0 ppx_let.v0.16.0 ppx_log.v0.16.0 ppx_module_timer.v0.16.0 ppx_optcomp.v0.16.0 ppx_optional.v0.16.0 ppx_pipebang.v0.16.0 ppx_sexp_conv.v0.16.0 ppx_sexp_message.v0.16.0 ppx_sexp_value.v0.16.0 ppx_stable.v0.16.0 ppx_stable_witness.v0.16.0 ppx_string.v0.16.0 ppx_tydi.v0.16.0 ppx_typerep_conv.v0.16.0 ppx_variants_conv.v0.16.0 ppxlib.0.34.0 protocol_version_header.v0.16.0 re.1.12.0 sedlex.3.3 seq.base sexp_pretty.v0.16.0 sexplib.v0.16.0 sexplib0.v0.16.0 spawn.v0.17.0 splittable_random.v0.16.0 stdio.v0.16.0 stdlib-shims.0.3.0 textutils.v0.16.0 textutils_kernel.v0.16.0 time_now.v0.16.0 timezone.v0.16.0 topkg.1.0.7 typerep.v0.16.0 uutf.1.0.3 variantslib.v0.16.0 yojson.2.2.2")

/src: (env CI true)

/src: (env OCAMLCI true)

/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
           (network host)
           (shell "opam update --depexts && opam install --cli=2.3 --depext-only -y alcotest.dev alcotest-mirage.dev alcotest-lwt.dev alcotest-js.dev alcotest-async.dev $DEPS"))
+ /usr/bin/sudo "apk" "update"
- fetch https://dl-cdn.alpinelinux.org/alpine/v3.21/main/x86_64/APKINDEX.tar.gz
- WARNING: updating https://dl-cdn.alpinelinux.org/alpine/v3.21/main: temporary error (try again later)
- fetch https://dl-cdn.alpinelinux.org/alpine/v3.21/community/x86_64/APKINDEX.tar.gz
- fetch https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
- fetch https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
- fetch https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz
- v3.21.2-7-g70f7683a545 [https://dl-cdn.alpinelinux.org/alpine/v3.21/main]
- v3.21.2-81-g19c67be4d3d [https://dl-cdn.alpinelinux.org/alpine/v3.21/community]
- v20250108-687-gb45665c4d12 [https://dl-cdn.alpinelinux.org/alpine/edge/main]
- v20250108-689-gdfc4d4843a4 [https://dl-cdn.alpinelinux.org/alpine/edge/community]
- v20250108-683-g30d16cbf70d [https://dl-cdn.alpinelinux.org/alpine/edge/testing]
- 0 unavailable, 1 stale; 55539 distinct packages available
Fatal error: System package update failed with exit code 1 at command:
    sudo apk update
"/usr/bin/env" "bash" "-c" "opam update --depexts && opam install --cli=2.3 --depext-only -y alcotest.dev alcotest-mirage.dev alcotest-lwt.dev alcotest-js.dev alcotest-async.dev $DEPS" failed with exit status 99
2025-01-18 02:02.09: Job failed: Failed: Build failed