Organisationsocurrentocaml-version66020c ()ubuntu-22.04-5.3_opam-2.3

ubuntu-22.04-5.3_opam-2.3

Logs

Show full logs
2025-03-24 08:54.41: New job: test ocurrent/ocaml-version https://github.com/ocurrent/ocaml-version.git#refs/heads/master (66020ca8d3279a23b6945b9c11094c5dc12cc8f4) (linux-x86_64:ubuntu-22.04-5.3_opam-2.3)
Base: ocaml/opam:ubuntu-22.04-ocaml-5.3@sha256:99c5a502c60386ca37516e8d10372b031a2191411a2b352e3c52debec31a5a18
Opam project build

To reproduce locally:

git clone --recursive "https://github.com/ocurrent/ocaml-version.git" -b "master" && cd "ocaml-version" && git reset --hard 66020ca8
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:ubuntu-22.04-ocaml-5.3@sha256:99c5a502c60386ca37516e8d10372b031a2191411a2b352e3c52debec31a5a18
# ubuntu-22.04-5.3_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 f92e43c2e4282b573967127440259031915a8fba || git fetch origin master) && git reset -q --hard f92e43c2e4282b573967127440259031915a8fba && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 ocaml-version.opam ./
RUN opam pin add -yn ocaml-version.dev './'
RUN echo '(lang dune 3.0)' > './dune-project'
ENV DEPS="alcotest.1.9.0 astring.0.8.5 base-bigarray.base base-domains.base base-effects.base base-nnp.base base-threads.base base-unix.base cmdliner.1.3.0 dune.3.17.2 fmt.0.10.0 ocaml.5.3.0 ocaml-base-compiler.5.3.0 ocaml-compiler.5.3.0 ocaml-config.3 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocamlbuild.0.16.1 ocamlfind.1.9.8 re.1.12.0 seq.base stdlib-shims.0.3.0 topkg.1.0.8 uutf.1.0.4"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.3 --depext-only -y ocaml-version.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-03-24 08:54.41: Using cache hint "ocurrent/ocaml-version-ocaml/opam:ubuntu-22.04-ocaml-5.3@sha256:99c5a502c60386ca37516e8d10372b031a2191411a2b352e3c52debec31a5a18-ubuntu-22.04-5.3_opam-2.3-705fb642449654bc5258225fa81f9803"
2025-03-24 08:54.41: Using OBuilder spec:
((from ocaml/opam:ubuntu-22.04-ocaml-5.3@sha256:99c5a502c60386ca37516e8d10372b031a2191411a2b352e3c52debec31a5a18)
 (comment ubuntu-22.04-5.3_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 f92e43c2e4282b573967127440259031915a8fba || git fetch origin master) && git reset -q --hard f92e43c2e4282b573967127440259031915a8fba && git log --no-decorate -n1 --oneline && opam update -u"))
 (copy (src ocaml-version.opam) (dst ./))
 (run (network host)
      (shell "opam pin add -yn ocaml-version.dev './'"))
 (run (network host)
      (shell "echo '(lang dune 3.0)' > './dune-project'"))
 (env DEPS "alcotest.1.9.0 astring.0.8.5 base-bigarray.base base-domains.base base-effects.base base-nnp.base base-threads.base base-unix.base cmdliner.1.3.0 dune.3.17.2 fmt.0.10.0 ocaml.5.3.0 ocaml-base-compiler.5.3.0 ocaml-compiler.5.3.0 ocaml-config.3 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocamlbuild.0.16.1 ocamlfind.1.9.8 re.1.12.0 seq.base stdlib-shims.0.3.0 topkg.1.0.8 uutf.1.0.4")
 (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 ocaml-version.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-03-24 08:54.41: Waiting for resource in pool OCluster
2025-03-24 08:54.42: Waiting for worker…
2025-03-24 08:54.42: Got resource from pool OCluster
Building on asteria.caelum.ci.dev
HEAD is now at 1165e18 Merge pull request #80 from mtelvers/maintenance-intent
HEAD is now at 66020ca Merge pull request #81 from ocurrent/shonfeder/4.08-as-oldest-recent

(from ocaml/opam:ubuntu-22.04-ocaml-5.3@sha256:99c5a502c60386ca37516e8d10372b031a2191411a2b352e3c52debec31a5a18)
2025-03-24 08:54.43 ---> using "5fa3078d03c36c41486be280786245ce69ede71e099f6e9f139dd603c7cf19d4" from cache

/: (comment ubuntu-22.04-5.3_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-03-24 08:54.43 ---> using "9fa2948f62ebf217b649feb63f54e071fb9cc3561596dd542f41ffce6afc87f1" 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 ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[ERROR] Could not update repository "opam-repository-archive": "/usr/bin/git fetch -q" exited with code 128 "fatal: unable to access 'https://github.com/ocaml/opam-repository-archive/': Could not resolve host: github.com"
[default] synchronised from file:///home/opam/opam-repository
2025-03-24 08:54.43 ---> using "6bb8b431014597f12d2db6d70bc54ee86c04939a285e36b59374c9676b94689d" from cache

/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-134-generic
The OCaml toplevel, version 5.3.0
2.3.0
2025-03-24 08:54.43 ---> using "d15d3dd480d27c7fd8aa5a3de30d468c1769f04fa3a4f1bedfa6f96e8d0510a7" from cache

/src: (workdir /src)

/src: (run (shell "sudo chown opam /src"))
2025-03-24 08:54.43 ---> using "a7270fe5f693c720164e7c354c393f9a21e9315d8aed1fab45dcaf4532593257" from cache

/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
           (network host)
           (shell "cd ~/opam-repository && (git cat-file -e f92e43c2e4282b573967127440259031915a8fba || git fetch origin master) && git reset -q --hard f92e43c2e4282b573967127440259031915a8fba && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
 * branch                  master     -> FETCH_HEAD
   862a7640b1..acfb0e6e94  master     -> origin/master
f92e43c2e4 Merge pull request #27617 from samoht/release-alcotest-1.9.0

<><> Updating package repositories ><><><><><><><><><><><><><><><><><><><><><><>
[opam-repository-archive] synchronised from git+https://github.com/ocaml/opam-repository-archive
[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-03-24 08:54.43 ---> using "325121a3bcba4f254722d186e85c5538b4c896f9b15e3fd4b6f20a210e351f72" from cache

/src: (copy (src ocaml-version.opam) (dst ./))
2025-03-24 08:54.43 ---> saved as "5c55c49cb059f641eeb96550e18bf1e34bf2d67dc6fb622c86f8385cd22b9c1a"

/src: (run (network host)
           (shell "opam pin add -yn ocaml-version.dev './'"))
[ocaml-version.dev] synchronised (file:///src)
ocaml-version is now pinned to file:///src (version dev)
2025-03-24 08:54.45 ---> saved as "3a1accc45de80938fde50255a6331dfa3f75b98236bdc5e82a53dccbf6ab28fd"

/src: (run (network host)
           (shell "echo '(lang dune 3.0)' > './dune-project'"))
2025-03-24 08:54.46 ---> saved as "050bb1de2812d2e9572726228de3c8596a427f49d22cc562f77da34ad6b389e4"

/src: (env DEPS "alcotest.1.9.0 astring.0.8.5 base-bigarray.base base-domains.base base-effects.base base-nnp.base base-threads.base base-unix.base cmdliner.1.3.0 dune.3.17.2 fmt.0.10.0 ocaml.5.3.0 ocaml-base-compiler.5.3.0 ocaml-compiler.5.3.0 ocaml-config.3 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocamlbuild.0.16.1 ocamlfind.1.9.8 re.1.12.0 seq.base stdlib-shims.0.3.0 topkg.1.0.8 uutf.1.0.4")

/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 ocaml-version.dev $DEPS"))
+ /usr/bin/sudo "apt-get" "update"
- Hit:1 http://archive.ubuntu.com/ubuntu jammy InRelease
- Get:2 http://archive.ubuntu.com/ubuntu jammy-updates InRelease [128 kB]
- Get:3 http://archive.ubuntu.com/ubuntu jammy-backports InRelease [127 kB]
- Get:4 http://archive.ubuntu.com/ubuntu jammy-updates/restricted amd64 Packages [3962 kB]
- Get:5 http://archive.ubuntu.com/ubuntu jammy-updates/universe amd64 Packages [1535 kB]
- Get:6 http://archive.ubuntu.com/ubuntu jammy-updates/multiverse amd64 Packages [65.7 kB]
- Get:7 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 Packages [3003 kB]
- Get:8 http://archive.ubuntu.com/ubuntu jammy-backports/universe amd64 Packages [35.2 kB]
- Get:9 http://archive.ubuntu.com/ubuntu jammy-backports/main amd64 Packages [82.7 kB]
- Get:10 http://security.ubuntu.com/ubuntu jammy-security InRelease [129 kB]
- Get:11 http://security.ubuntu.com/ubuntu jammy-security/restricted amd64 Packages [3798 kB]
- Get:12 http://security.ubuntu.com/ubuntu jammy-security/main amd64 Packages [2692 kB]
- Get:13 http://security.ubuntu.com/ubuntu jammy-security/universe amd64 Packages [1237 kB]
- Get:14 http://security.ubuntu.com/ubuntu jammy-security/multiverse amd64 Packages [57.9 kB]
- Fetched 16.9 MB in 6s (2765 kB/s)
- Reading package lists...
- 

<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[ocaml-version.dev] synchronised (file:///src)

[NOTE] Package ocaml-options-vanilla is already installed (current version is 1).
[NOTE] Package ocaml-config is already installed (current version is 3).
[NOTE] Package ocaml-compiler is already installed (current version is 5.3.0).
[NOTE] Package ocaml-base-compiler is already installed (current version is 5.3.0).
[NOTE] Package ocaml is already installed (current version is 5.3.0).
[NOTE] Package base-unix is already installed (current version is base).
[NOTE] Package base-threads is already installed (current version is base).
[NOTE] Package base-nnp is already installed (current version is base).
[NOTE] Package base-effects is already installed (current version is base).
[NOTE] Package base-domains is already installed (current version is base).
[NOTE] Package base-bigarray is already installed (current version is base).
2025-03-24 08:55.06 ---> saved as "d64ff7a7bdf5cbe1a545b6c159b713ab753e3d37e06b885214a802bc1d8836c2"

/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
           (network host)
           (shell "opam install $DEPS"))
[NOTE] Package ocaml-options-vanilla is already installed (current version is 1).
[NOTE] Package ocaml-config is already installed (current version is 3).
[NOTE] Package ocaml-compiler is already installed (current version is 5.3.0).
[NOTE] Package ocaml-base-compiler is already installed (current version is 5.3.0).
[NOTE] Package ocaml is already installed (current version is 5.3.0).
[NOTE] Package base-unix is already installed (current version is base).
[NOTE] Package base-threads is already installed (current version is base).
[NOTE] Package base-nnp is already installed (current version is base).
[NOTE] Package base-effects is already installed (current version is base).
[NOTE] Package base-domains is already installed (current version is base).
[NOTE] Package base-bigarray is already installed (current version is base).
The following actions will be performed:
=== install 13 packages
  - install alcotest           1.9.0
  - install astring            0.8.5
  - install cmdliner           1.3.0
  - install dune               3.17.2
  - install fmt                0.10.0
  - install ocaml-syntax-shims 1.0.0
  - install ocamlbuild         0.16.1
  - install ocamlfind          1.9.8
  - install re                 1.12.0
  - install seq                base
  - install stdlib-shims       0.3.0
  - install topkg              1.0.8
  - install uutf               1.0.4

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved cmdliner.1.3.0  (cached)
-> retrieved alcotest.1.9.0  (cached)
-> retrieved astring.0.8.5  (cached)
-> retrieved fmt.0.10.0  (cached)
-> retrieved ocaml-syntax-shims.1.0.0  (cached)
-> retrieved ocamlbuild.0.16.1  (cached)
-> retrieved ocamlfind.1.9.8  (cached)
-> retrieved seq.base  (cached)
-> installed seq.base
-> retrieved re.1.12.0  (cached)
-> retrieved stdlib-shims.0.3.0  (cached)
-> retrieved uutf.1.0.4  (cached)
-> retrieved topkg.1.0.8  (cached)
-> retrieved dune.3.17.2  (cached)
-> installed cmdliner.1.3.0
-> installed ocamlbuild.0.16.1
-> installed ocamlfind.1.9.8
-> installed topkg.1.0.8
-> installed uutf.1.0.4
-> installed fmt.0.10.0
-> installed astring.0.8.5
-> installed dune.3.17.2
-> installed stdlib-shims.0.3.0
-> installed re.1.12.0
-> installed ocaml-syntax-shims.1.0.0
-> installed alcotest.1.9.0
Done.
# To update the current shell environment, run: eval $(opam env)
2025-03-24 08:55.40 ---> saved as "832fcf83f5469b00b1a1188df496e43f3763566881b53562aa7b81305bcf0069"

/src: (copy (src .) (dst /src))
2025-03-24 08:55.41 ---> saved as "5ba50c4b0fb891017dfb4e025c58ba8ebecdf1eaeef57d3123029391dfeac4a1"

/src: (run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build"))
(cd _build/default/test && ./test_unit.exe)
Testing `ocaml-version'.
This run has ID `M51S99VO'.

  [OK]          Compiler_variants          0   Multicore not on 4.12 x86-64.
  [OK]          Compiler_variants          1   Multicore not on 4.10 i386.
  [OK]          Compiler_variants          2   Multicore not on 4.12 xi386.
  [OK]          Configure_options          0   FP on last 4.07.
  [OK]          Configure_options          1   FP on first 4.08.
  [OK]          Configure_options          2   FP on 3.12.

Full test results in `/src/_build/default/test/_build/_tests/ocaml-version'.
Test Successful in 0.001s. 6 tests run.
2025-03-24 08:55.42 ---> saved as "7241fa950b3520cf335b1007781e5291ae9870827b8c38df048b750046e3840e"
Job succeeded
2025-03-24 08:55.42: Job succeeded