Organisationsocurrentocaml-version1165e1 (master)ubuntu-24.04-5.3_opam-2.3

ubuntu-24.04-5.3_opam-2.3

Link Copied
Code Copied

Logs

2025-02-09 13:23.50: New job: test ocurrent/ocaml-version https://github.com/ocurrent/ocaml-version.git#refs/heads/master (1165e18c18c2eed9109edfecbbe1a8eb81141272) (linux-x86_64:ubuntu-24.04-5.3_opam-2.3)
Base: ocaml/opam:ubuntu-24.04-ocaml-5.3@sha256:44e15be74257aebfcb44dfe7b5feef71b890aeecc9d126f40cb5debab16df804
Opam project build


To reproduce locally:


git clone --recursive "https://github.com/ocurrent/ocaml-version.git" -b "master" && cd "ocaml-version" && git reset --hard 1165e18c
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:ubuntu-24.04-ocaml-5.3@sha256:44e15be74257aebfcb44dfe7b5feef71b890aeecc9d126f40cb5debab16df804
# ubuntu-24.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 3ee951993de4d18fd335fcea4ac7375cab56a637 || git fetch origin master) && git reset -q --hard 3ee951993de4d18fd335fcea4ac7375cab56a637 && 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.8.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.9.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.15.0 ocamlfind.1.9.8 re.1.12.0 seq.base stdlib-shims.0.3.0 topkg.1.0.7 uutf.1.0.3"
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-02-09 13:23.50: Using cache hint "ocurrent/ocaml-version-ocaml/opam:ubuntu-24.04-ocaml-5.3@sha256:44e15be74257aebfcb44dfe7b5feef71b890aeecc9d126f40cb5debab16df804-ubuntu-24.04-5.3_opam-2.3-0747de6e6dbcf90654399b7d7f6357ad"
2025-02-09 13:23.50: Using OBuilder spec:
((from ocaml/opam:ubuntu-24.04-ocaml-5.3@sha256:44e15be74257aebfcb44dfe7b5feef71b890aeecc9d126f40cb5debab16df804)
(comment ubuntu-24.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 3ee951993de4d18fd335fcea4ac7375cab56a637 || git fetch origin master) && git reset -q --hard 3ee951993de4d18fd335fcea4ac7375cab56a637 && 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.8.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.9.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.15.0 ocamlfind.1.9.8 re.1.12.0 seq.base stdlib-shims.0.3.0 topkg.1.0.7 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.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-02-09 13:23.50: Waiting for resource in pool OCluster
2025-02-09 15:56.19: Waiting for worker…
2025-02-09 15:59.30: Got resource from pool OCluster
Building on asteria.caelum.ci.dev
All commits already cached
HEAD is now at 1165e18 Merge pull request #80 from mtelvers/maintenance-intent


(from ocaml/opam:ubuntu-24.04-ocaml-5.3@sha256:44e15be74257aebfcb44dfe7b5feef71b890aeecc9d126f40cb5debab16df804)
Unable to find image 'ocaml/opam:ubuntu-24.04-ocaml-5.3@sha256:44e15be74257aebfcb44dfe7b5feef71b890aeecc9d126f40cb5debab16df804' locally
docker.io/ocaml/opam@sha256:44e15be74257aebfcb44dfe7b5feef71b890aeecc9d126f40cb5debab16df804: Pulling from ocaml/opam
731692a08ac1: Pulling fs layer
731692a08ac1: Verifying Checksum
731692a08ac1: Download complete
731692a08ac1: Pull complete
Digest: sha256:44e15be74257aebfcb44dfe7b5feef71b890aeecc9d126f40cb5debab16df804
Status: Downloaded newer image for ocaml/opam@sha256:44e15be74257aebfcb44dfe7b5feef71b890aeecc9d126f40cb5debab16df804
2025-02-09 15:59.31 ---> using "45c68f09a6aedde794f62eebf894c4dcd1c8986164e3a2207908576873ab39c7" from cache


/: (comment ubuntu-24.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-02-09 15:59.31 ---> using "9b3b08fa393a38047160ee5ad169f27608e5b62864145475444c983f1b3f1197" 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-02-09 15:59.31 ---> using "8d4d20eed54b74e0ff07873262a203344b87b65e8956d1c8788a9b95b24c4ee4" from cache


/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-130-generic
The OCaml toplevel, version 5.3.0
2.3.0
2025-02-09 15:59.31 ---> using "c4ae39a4991a369fd792f19195ee9e6e3693d82635994016ed52bcb99a7a6d1e" from cache


/src: (workdir /src)


/src: (run (shell "sudo chown opam /src"))
2025-02-09 15:59.31 ---> using "ab2298e51e2d3d2a5f87634d062f7f3567ca1beb48d5c3de8b69df9a3c685cdf" from cache


/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e 3ee951993de4d18fd335fcea4ac7375cab56a637 || git fetch origin master) && git reset -q --hard 3ee951993de4d18fd335fcea4ac7375cab56a637 && git log --no-decorate -n1 --oneline && opam update -u"))
3ee951993d Merge pull request #27253 from kit-ty-kate/opam-publish-ocamlfind.1.9.8


<><> Updating package repositories ><><><><><><><><><><><><><><><><><><><><><><>
[opam-repository-archive] no changes 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-02-09 15:59.31 ---> using "c8b971cbd3924df45e7e0f678979a79c25f3d496b5d21f3e4927efe3ca46af9e" from cache


/src: (copy (src ocaml-version.opam) (dst ./))
2025-02-09 15:59.31 ---> saved as "25d8871090ff0d05489cd83f9d1b0bad3c46afb9293f1b572fac30e082142650"


/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-02-09 15:59.33 ---> saved as "2e2bb98d8072699c5070cba1db6abc53cc4a7889cd15ecd23f93b0886e8fd243"


/src: (run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
2025-02-09 15:59.34 ---> saved as "36428fdc213ff7d1b313be0965a3a0591aa440383b7547322b7fcb3668b0d6f0"


/src: (env DEPS "alcotest.1.8.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.9.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.15.0 ocamlfind.1.9.8 re.1.12.0 seq.base stdlib-shims.0.3.0 topkg.1.0.7 uutf.1.0.3")


/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"
- Get:1 http://security.ubuntu.com/ubuntu noble-security InRelease [126 kB]
- Hit:2 http://archive.ubuntu.com/ubuntu noble InRelease
- Get:3 http://archive.ubuntu.com/ubuntu noble-updates InRelease [126 kB]
- Get:4 http://archive.ubuntu.com/ubuntu noble-backports InRelease [126 kB]
- Get:5 http://archive.ubuntu.com/ubuntu noble-updates/universe amd64 Packages [1315 kB]
- Get:6 http://archive.ubuntu.com/ubuntu noble-updates/main amd64 Packages [1084 kB]
- Fetched 2777 kB in 1s (2559 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-02-09 15:59.50 ---> saved as "3c5c2826a54c451a1cc984d26294a8bfdd0f2b58ade5832af804e6fb5cac7731"


/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.8.0
- install astring            0.8.5
- install cmdliner           1.3.0
- install dune               3.17.2
- install fmt                0.9.0
- install ocaml-syntax-shims 1.0.0
- install ocamlbuild         0.15.0
- install ocamlfind          1.9.8
- install re                 1.12.0
- install seq                base
- install stdlib-shims       0.3.0
- install topkg              1.0.7
- install uutf               1.0.3


<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved astring.0.8.5  (cached)
-> retrieved cmdliner.1.3.0  (cached)
-> retrieved alcotest.1.8.0  (cached)
-> retrieved fmt.0.9.0  (cached)
-> retrieved ocaml-syntax-shims.1.0.0  (cached)
-> retrieved ocamlbuild.0.15.0  (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.3  (cached)
-> retrieved topkg.1.0.7  (cached)
-> retrieved dune.3.17.2  (cached)
-> installed cmdliner.1.3.0
-> installed ocamlbuild.0.15.0
-> installed ocamlfind.1.9.8
-> installed topkg.1.0.7
-> installed uutf.1.0.3
-> installed fmt.0.9.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.8.0
Done.
# To update the current shell environment, run: eval $(opam env)
2025-02-09 16:00.28 ---> saved as "c5f469fad0751d52adb8f7db41968e650973fbe8af0273540568bbbff5d27dcd"


/src: (copy (src .) (dst /src))
2025-02-09 16:00.28 ---> saved as "1863d8304d4188afac58754cf9c4ac5323a3ee17390647d7d451ba8c610a774f"


/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 `CP9JFPVL'.


[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-02-09 16:00.29 ---> saved as "2e9412cd95075004535bc311a517e46238d50387a54b81eddc203f52d1fc0360"
Job succeeded
2025-02-09 16:00.30: Job succeeded