Organisationsocurrentocaml-versionb80aad ()(lower-bound)

(lower-bound)

Link Copied
Code Copied

Logs

2024-08-21 14:45.17: New job: test ocurrent/ocaml-version https://github.com/ocurrent/ocaml-version.git#refs/heads/master (b80aad5425c7dd6f1e6f8925f5719c72f8b8f7fa) (linux-x86_64:(lower-bound))
Base: ocaml/opam:debian-12-ocaml-4.07@sha256:035d4e5597ee3bb60a0add4f2dec025335b3639b1edf641011d8fbb1084b8cf9
Opam project build


To reproduce locally:


git clone --recursive "https://github.com/ocurrent/ocaml-version.git" -b "master" && cd "ocaml-version" && git reset --hard b80aad54
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-12-ocaml-4.07@sha256:035d4e5597ee3bb60a0add4f2dec025335b3639b1edf641011d8fbb1084b8cf9
# debian-12-4.07_opam-2.2
USER 1000:1000
ENV CLICOLOR_FORCE="1"
ENV OPAMCOLOR="always"
WORKDIR /src
RUN sudo ln -f /usr/bin/opam-2.2 /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 4795e0895b44aa27b6ee67583148aee756966a60 || git fetch origin master) && git reset -q --hard 4795e0895b44aa27b6ee67583148aee756966a60 && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 ocaml-version.opam ./
RUN opam pin add -yn ocaml-version.dev './'
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.2 --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-08-21 14:45.17: Using cache hint "ocurrent/ocaml-version-ocaml/opam:debian-12-ocaml-4.07@sha256:035d4e5597ee3bb60a0add4f2dec025335b3639b1edf641011d8fbb1084b8cf9-debian-12-4.07_opam-2.2-f6e4d8e06c0f711d05ef2238535060a7"
2024-08-21 14:45.17: Using OBuilder spec:
((from ocaml/opam:debian-12-ocaml-4.07@sha256:035d4e5597ee3bb60a0add4f2dec025335b3639b1edf641011d8fbb1084b8cf9)
 (comment debian-12-4.07_opam-2.2)
 (user (uid 1000) (gid 1000))
 (env CLICOLOR_FORCE 1)
 (env OPAMCOLOR always)
 (workdir /src)
 (run (shell "sudo ln -f /usr/bin/opam-2.2 /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 4795e0895b44aa27b6ee67583148aee756966a60 || git fetch origin master) && git reset -q --hard 4795e0895b44aa27b6ee67583148aee756966a60 && 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 './'"))
 (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.2 --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-08-21 14:45.17: Waiting for resource in pool OCluster
2024-08-21 21:11.18: Waiting for worker…
2024-08-21 21:15.38: Got resource from pool OCluster
Building on x86-bm-c10.sw.ocaml.org
All commits already cached
HEAD is now at b80aad5 Merge pull request #73 from Octachron/OCaml_5.2.0_released


(from ocaml/opam:debian-12-ocaml-4.07@sha256:035d4e5597ee3bb60a0add4f2dec025335b3639b1edf641011d8fbb1084b8cf9)
2024-08-21 21:15.38 ---> using "bd203c2f6407a91bf4195101be7e2259dca2d0e299d55956018959163fc86286" from cache


/: (comment debian-12-4.07_opam-2.2)


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


/: (env CLICOLOR_FORCE 1)


/: (env OPAMCOLOR always)


/: (workdir /src)


/src: (run (shell "sudo ln -f /usr/bin/opam-2.2 /usr/bin/opam"))
2024-08-21 21:15.38 ---> using "15f43212e63646059c40b0d6ef24f36274ec3998912266fde8f8c74cd6cbc5dc" 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
2024-08-21 21:15.38 ---> using "80b9fb1388c51b7ec9ac1a9be7d6a7049e0986bd7a1e2b6a94e1f6bd7da576ff" from cache


/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-116-generic
The OCaml toplevel, version 4.07.1
2.2.0
2024-08-21 21:15.38 ---> using "a898f87646ebd9ed01bae4ebccc480baa88a58d355a9e84eea5b033a0efba9b4" from cache


/src: (workdir /src)


/src: (run (shell "sudo chown opam /src"))
2024-08-21 21:15.38 ---> using "21f4134ba16b176fd48ecff24394dce2f6de144469bba12bd38ba057533d69e4" from cache


/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
           (network host)
           (shell "cd ~/opam-repository && (git cat-file -e 4795e0895b44aa27b6ee67583148aee756966a60 || git fetch origin master) && git reset -q --hard 4795e0895b44aa27b6ee67583148aee756966a60 && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
 * branch                  master     -> FETCH_HEAD
   7c4ff52ef3..1477721e29  master     -> origin/master
4795e0895b Merge pull request #26339 from mtelvers/macos-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.
# Run eval $(opam env) to update the current shell environment
2024-08-21 21:16.51 ---> saved as "54bcdb580ff376aca4d4adafb075958cd6fdd2e94bee2f0d16a0052464281abf"


/src: (copy (src ocaml-version.opam) (dst ./))
2024-08-21 21:16.51 ---> saved as "ad59b4c3a18017cee17d366b333b1f70951f09ddc5c96c02cb7c89c88498c3e2"


/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-08-21 21:16.52 ---> saved as "2841b60ebe76b4c266b4c6ae085f268f21e3ce46d6b075ed29052314b1d67e2e"


/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.2 --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-security bookworm-security/main amd64 Packages [176 kB]
- Fetched 279 kB in 0s (1111 kB/s)
- Reading package lists...


<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[ocaml-version.dev] synchronised (no changes)


[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


2024-08-21 21:17.13 ---> saved as "eeae92e448b69ddc445bc8b71f1be62f181e5277418fb0f23c1c4482d29d6cf1"


/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.08.1-1 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 cmdliner.1.0.3
-> installed result.1.0
-> installed ocamlfind.1.8.1
-> installed base-bytes.base
-> installed ocamlbuild.0.9.1
-> installed jbuilder.1.0+beta10
-> installed topkg.0.7.5
-> installed fmt.0.8.0
-> installed astring.0.8.2
-> installed alcotest.0.8.0
-> removed   ocaml-secondary-compiler.4.08.1-1
-> installed ocaml-secondary-compiler.4.08.1
-> installed ocamlfind-secondary.1.8.1
-> installed dune.3.6.0
Done.
# Run eval $(opam env) to update the current shell environment
2024-08-21 21:21.52 ---> saved as "920c1a11833b7a2fa84d0fb50468b5935d1719f9cd633dc7043e3eb4a300c1c8"


/src: (copy (src .) (dst /src))
2024-08-21 21:21.53 ---> saved as "602c3dba28dc988aadab25b6f0ab4a17db2dd685c35d4c58753d8c92c188990d"


/src: (run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build"))
(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.
[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.
The full test results are available in `_build/_tests`.
Test Successful in 0.000s. 6 tests run.
2024-08-21 21:21.54 ---> saved as "48243539b954b31b25d2753743f388ce0e63c9c80aa01edb674e0aa253336e9c"
Job succeeded
2024-08-21 21:21.54: Job succeeded