2024-12-19 10:26.21: New job: test ocurrent/ocaml-version https://github.com/ocurrent/ocaml-version.git#refs/heads/master (b590e2b1135afb8f2460e8c90bca89b66c9d9cdc) (linux-x86_64:(lower-bound))
Base: ocaml/opam:debian-12-ocaml-4.07@sha256:eb28d827734c2d5e16eb8240b7bce5972b76e307d173848aad11c2a7153bf412
Opam project build
To reproduce locally:
git clone --recursive "https://github.com/ocurrent/ocaml-version.git" -b "master" && cd "ocaml-version" && git reset --hard b590e2b1
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-12-ocaml-4.07@sha256:eb28d827734c2d5e16eb8240b7bce5972b76e307d173848aad11c2a7153bf412
# debian-12-4.07_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 28daeff6f36e886a2c133aceed8a117d4c6dcd28 || git fetch origin master) && git reset -q --hard 28daeff6f36e886a2c133aceed8a117d4c6dcd28 && 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.0.8.0 astring.0.8.2 base-bigarray.base base-bytes.base base-threads.base base-unix.base cmdliner.1.0.3 conf-m4.1 dune.3.6.0 fmt.0.8.0 jbuilder.1.0+beta10 ocaml.4.07.1 ocaml-base-compiler.4.07.1 ocaml-config.1 ocaml-secondary-compiler.4.08.1 ocamlbuild.0.9.1 ocamlfind.1.8.1 ocamlfind-secondary.1.8.1 result.1.0 topkg.0.7.5"
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
2024-12-19 10:26.21: Using cache hint "ocurrent/ocaml-version-ocaml/opam:debian-12-ocaml-4.07@sha256:eb28d827734c2d5e16eb8240b7bce5972b76e307d173848aad11c2a7153bf412-debian-12-4.07_opam-2.3-f6e4d8e06c0f711d05ef2238535060a7"
2024-12-19 10:26.21: Using OBuilder spec:
((from ocaml/opam:debian-12-ocaml-4.07@sha256:eb28d827734c2d5e16eb8240b7bce5972b76e307d173848aad11c2a7153bf412)
(comment debian-12-4.07_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 28daeff6f36e886a2c133aceed8a117d4c6dcd28 || git fetch origin master) && git reset -q --hard 28daeff6f36e886a2c133aceed8a117d4c6dcd28 && 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.0.8.0 astring.0.8.2 base-bigarray.base base-bytes.base base-threads.base base-unix.base cmdliner.1.0.3 conf-m4.1 dune.3.6.0 fmt.0.8.0 jbuilder.1.0+beta10 ocaml.4.07.1 ocaml-base-compiler.4.07.1 ocaml-config.1 ocaml-secondary-compiler.4.08.1 ocamlbuild.0.9.1 ocamlfind.1.8.1 ocamlfind-secondary.1.8.1 result.1.0 topkg.0.7.5")
(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"))
)
2024-12-19 10:26.21: Waiting for resource in pool OCluster
2024-12-19 10:26.21: Waiting for worker…
2024-12-19 10:26.32: Got resource from pool OCluster
Building on x86-bm-c16.sw.ocaml.org
HEAD is now at 9519d28 Add 5.3.0~beta1
HEAD is now at b590e2b Merge pull request #78 from mtelvers/5-3-rc1
(from ocaml/opam:debian-12-ocaml-4.07@sha256:eb28d827734c2d5e16eb8240b7bce5972b76e307d173848aad11c2a7153bf412)
2024-12-19 10:26.34 ---> using "fae3830a23d9fb9aba11c76c879e838d4ce744113577ec6d63c477d66ee5f15d" from cache
/: (comment debian-12-4.07_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"))
2024-12-19 10:26.34 ---> using "97391d51b1d1a4bed87aa7e041852b13e08eb5c624d832c4281ca7624d8a252c" 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 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
[NOTE] The 'jobs' option was reset, its value was 39 and its new value will vary according to the current number of cores on your machine. You can restore the fixed value using:
opam option jobs=39 --global
Format upgrade done.
<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] synchronised from file:///home/opam/opam-repository
2024-12-19 10:26.34 ---> using "7c0fd92b9a646a87ba33728c4c050e2cfa259d670b36736a7bc1915d13e455f4" from cache
/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-126-generic
The OCaml toplevel, version 4.07.1
2.3.0
2024-12-19 10:26.34 ---> using "83076f2fcecfadc97fb4eda5ea650f4dc809fdb28c1f5752e2e4e4265ce681a8" from cache
/src: (workdir /src)
/src: (run (shell "sudo chown opam /src"))
2024-12-19 10:26.34 ---> using "bdd1af2add94b52f7ca76859be72d5b9712602db6dacc4afeefee0215ca79128" from cache
/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e 28daeff6f36e886a2c133aceed8a117d4c6dcd28 || git fetch origin master) && git reset -q --hard 28daeff6f36e886a2c133aceed8a117d4c6dcd28 && git log --no-decorate -n1 --oneline && opam update -u"))
28daeff6f3 Merge pull request #26814 from mtelvers/m4
<><> 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)
2024-12-19 10:26.34 ---> using "8d7c75e4126b3831228eb7ea6913b2ac67d1833d2055d88d8a47fc03b5ba4cd4" from cache
/src: (copy (src ocaml-version.opam) (dst ./))
2024-12-19 10:26.34 ---> using "296c0952e57833daa1c0d8cd08f55fb5336740ef0f14bd57a68abfa1695d4c82" from cache
/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)
2024-12-19 10:26.34 ---> using "4cce9c0f0740e94cfb3948715474d138c15730ee9b6431fc9e82184b12d30e6a" from cache
/src: (run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
2024-12-19 10:26.34 ---> using "9bccba3c84c0b9fc2e64aa3cf0b254315f99903baf547f14092daaaa0efd4d9d" from cache
/src: (env DEPS "alcotest.0.8.0 astring.0.8.2 base-bigarray.base base-bytes.base base-threads.base base-unix.base cmdliner.1.0.3 conf-m4.1 dune.3.6.0 fmt.0.8.0 jbuilder.1.0+beta10 ocaml.4.07.1 ocaml-base-compiler.4.07.1 ocaml-config.1 ocaml-secondary-compiler.4.08.1 ocamlbuild.0.9.1 ocamlfind.1.8.1 ocamlfind-secondary.1.8.1 result.1.0 topkg.0.7.5")
/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://deb.debian.org/debian bookworm InRelease
- Get:2 http://deb.debian.org/debian bookworm-updates InRelease [55.4 kB]
- Get:3 http://deb.debian.org/debian-security bookworm-security InRelease [48.0 kB]
- Get:4 http://deb.debian.org/debian bookworm-updates/main amd64 Packages.diff/Index [14.0 kB]
- Get:5 http://deb.debian.org/debian bookworm-updates/main amd64 Packages T-2024-12-07-2012.31-F-2024-11-27-1405.46.pdiff [7410 B]
- Get:5 http://deb.debian.org/debian bookworm-updates/main amd64 Packages T-2024-12-07-2012.31-F-2024-11-27-1405.46.pdiff [7410 B]
- Get:6 http://deb.debian.org/debian-security bookworm-security/main amd64 Packages [236 kB]
- Fetched 361 kB in 1s (496 kB/s)
- Reading package lists...
-
<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[ocaml-version.dev] synchronised (file:///src)
[NOTE] Package ocaml-config is already installed (current version is 1).
[NOTE] Package ocaml-base-compiler is already installed (current version is 4.07.1).
[NOTE] Package ocaml is already installed (current version is 4.07.1).
[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-bigarray is already installed (current version is base).
The following system packages will first need to be installed:
m4
<><> Handling external dependencies <><><><><><><><><><><><><><><><><><><><><><>
+ /usr/bin/sudo "apt-get" "install" "-qq" "-yy" "m4"
- debconf: delaying package configuration, since apt-utils is not installed
- Selecting previously unselected package m4.
- (Reading database ...
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 18745 files and directories currently installed.)
- Preparing to unpack .../archives/m4_1.4.19-3_amd64.deb ...
- Unpacking m4 (1.4.19-3) ...
- Setting up m4 (1.4.19-3) ...
2024-12-19 10:26.34 ---> using "042ca1b6a9715ef69800819f9efdf745ba00bedf9d13cdca53255b7bbbe66bd5" from cache
/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam install $DEPS"))
[NOTE] Package ocaml-config is already installed (current version is 1).
[NOTE] Package ocaml-base-compiler is already installed (current version is 4.07.1).
[NOTE] Package ocaml is already installed (current version is 4.07.1).
[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-bigarray is already installed (current version is base).
The following actions will be performed:
=== downgrade 1 package
- downgrade ocaml-secondary-compiler 4.14.2 to 4.08.1
=== install 13 packages
- install alcotest 0.8.0
- install astring 0.8.2
- install base-bytes base
- install cmdliner 1.0.3
- install conf-m4 1
- install dune 3.6.0
- install fmt 0.8.0
- install jbuilder 1.0+beta10
- install ocamlbuild 0.9.1
- install ocamlfind 1.8.1
- install ocamlfind-secondary 1.8.1
- install result 1.0
- install topkg 0.7.5
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved alcotest.0.8.0 (cached)
-> retrieved astring.0.8.2 (cached)
-> retrieved cmdliner.1.0.3 (cached)
-> installed conf-m4.1
-> retrieved fmt.0.8.0 (cached)
-> retrieved jbuilder.1.0+beta10 (cached)
-> retrieved ocamlbuild.0.9.1 (cached)
-> retrieved ocamlfind.1.8.1, ocamlfind-secondary.1.8.1 (cached)
-> retrieved dune.3.6.0 (cached)
-> retrieved ocaml-secondary-compiler.4.08.1 (cached)
-> retrieved result.1.0 (cached)
-> retrieved topkg.0.7.5 (cached)
-> installed result.1.0
-> installed cmdliner.1.0.3
-> installed ocamlfind.1.8.1
-> installed base-bytes.base
-> installed ocamlbuild.0.9.1
-> installed topkg.0.7.5
-> installed jbuilder.1.0+beta10
-> installed fmt.0.8.0
-> installed astring.0.8.2
-> installed alcotest.0.8.0
-> removed ocaml-secondary-compiler.4.14.2
-> installed ocaml-secondary-compiler.4.08.1
-> installed ocamlfind-secondary.1.8.1
-> installed dune.3.6.0
Done.
# To update the current shell environment, run: eval $(opam env)
2024-12-19 10:26.34 ---> using "963006f0ca176f368741a85354411e49aa50e9589d810abf9bb31f87baf00013" from cache
/src: (copy (src .) (dst /src))
2024-12-19 10:26.34 ---> using "2e0edba04ddd827d2167b4f875c957e3c076caf0becee534d08f67c84806e06a" from cache
/src: (run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build"))
Done: 0% (0/0, 0 left) (jobs: 1)
Done: 100% (2/2, 0 left) (jobs: 0)
Done: 42% (3/7, 4 left) (jobs: 0)
Done: 57% (4/7, 3 left) (jobs: 0)
Done: 57% (4/7, 3 left) (jobs: 0)
Done: 36% (4/11, 7 left) (jobs: 0)
Done: 36% (4/11, 7 left) (jobs: 0)
Done: 36% (4/11, 7 left) (jobs: 0)
Done: 54% (6/11, 5 left) (jobs: 1)
Done: 63% (7/11, 4 left) (jobs: 1)
Done: 63% (7/11, 4 left) (jobs: 1)
Done: 63% (7/11, 4 left) (jobs: 1)
Done: 44% (8/18, 10 left) (jobs: 1)
Done: 44% (8/18, 10 left) (jobs: 1)
Done: 61% (11/18, 7 left) (jobs: 1)
Done: 61% (11/18, 7 left) (jobs: 1)
Done: 61% (11/18, 7 left) (jobs: 1)
Done: 48% (20/41, 21 left) (jobs: 3)
Done: 70% (29/41, 12 left) (jobs: 3)
Done: 75% (31/41, 10 left) (jobs: 2)
Done: 75% (31/41, 10 left) (jobs: 2)
Done: 78% (32/41, 9 left) (jobs: 1)
Done: 78% (32/41, 9 left) (jobs: 1)
Done: 78% (32/41, 9 left) (jobs: 1)
Done: 78% (32/41, 9 left) (jobs: 1)
Done: 78% (32/41, 9 left) (jobs: 1)
Done: 78% (32/41, 9 left) (jobs: 1)
Done: 78% (32/41, 9 left) (jobs: 1)
Done: 78% (32/41, 9 left) (jobs: 1)
Done: 78% (32/41, 9 left) (jobs: 1)
Done: 78% (32/41, 9 left) (jobs: 1)
Done: 78% (32/41, 9 left) (jobs: 1)
Done: 82% (34/41, 7 left) (jobs: 1)
Done: 82% (34/41, 7 left) (jobs: 1)
Done: 90% (37/41, 4 left) (jobs: 2)
Done: 90% (37/41, 4 left) (jobs: 2)
Done: 90% (37/41, 4 left) (jobs: 2)
Done: 90% (37/41, 4 left) (jobs: 2)
Done: 90% (37/41, 4 left) (jobs: 2)
Done: 97% (40/41, 1 left) (jobs: 1)
Done: 97% (40/41, 1 left) (jobs: 1)
Done: 97% (40/41, 1 left) (jobs: 1)
Done: 97% (40/41, 1 left) (jobs: 1)
Done: 97% (40/41, 1 left) (jobs: 1)
Done: 97% (40/41, 1 left) (jobs: 1)
Done: 97% (40/41, 1 left) (jobs: 1)
Done: 97% (40/41, 1 left) (jobs: 1)
Done: 97% (40/41, 1 left) (jobs: 1)
Done: 97% (40/41, 1 left) (jobs: 1)
Done: 97% (40/41, 1 left) (jobs: 1)
Done: 97% (40/41, 1 left) (jobs: 1)
Done: 97% (40/41, 1 left) (jobs: 1)
Done: 97% (40/41, 1 left) (jobs: 1)
(cd _build/default/test && ./test_unit.exe)
tput: No value for $TERM and no -T specified
stty: 'standard input': Inappropriate ioctl for device
Testing ocaml-version.
... Compiler_variants 0 Multicore not on 4.12 x86-64.
[OK] Compiler_variants 0 Multicore not on 4.12 x86-64.
... Compiler_variants 1 Multicore not on 4.10 i386.
[OK] Compiler_variants 1 Multicore not on 4.10 i386.
... Compiler_variants 2 Multicore not on 4.12 xi386.
[OK] Compiler_variants 2 Multicore not on 4.12 xi386.
... Configure_options 0 FP on last 4.07.
[OK] Configure_options 0 FP on last 4.07.
... Configure_options 1 FP on first 4.08.
[OK] Configure_options 1 FP on first 4.08.
... Configure_options 2 FP on 3.12.
[OK] Configure_options 2 FP on 3.12.
The full test results are available in `_build/_tests`.
Test Successful in 0.000s. 6 tests run.
Done: 97% (40/41, 1 left) (jobs: 1)
2024-12-19 10:26.34 ---> using "60fbd550e41df7419c27df6fd5af8859cffd9be61e49e45726697fc14049c34a" from cache
Job succeeded
2024-12-19 10:26.34: Job succeeded