2024-12-19 22:53.37: New job: test ocaml-opam/opam-0install-cudf https://github.com/ocaml-opam/opam-0install-cudf.git#refs/heads/master (8f3d0e43d7f3b48055c312e8b2aacc6cb87987ac) (linux-x86_64:(lower-bound))
Base: ocaml/opam:debian-12-ocaml-4.08@sha256:a1d38b4249ac3e00f0c6f66cd35168b4c94ec556539dcdb604ce4bf4e98cc679
Opam project build
To reproduce locally:
git clone --recursive "https://github.com/ocaml-opam/opam-0install-cudf.git" -b "master" && cd "opam-0install-cudf" && git reset --hard 8f3d0e43
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-12-ocaml-4.08@sha256:a1d38b4249ac3e00f0c6f66cd35168b4c94ec556539dcdb604ce4bf4e98cc679
# debian-12-4.08_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 opam-0install-cudf.opam ./
RUN opam pin add -yn opam-0install-cudf.dev './'
RUN echo '(lang dune 3.0)' > './dune-project'
ENV DEPS="0install-solver.2.18 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 cppo.1.6.1 cudf.0.10 dune.2.7.0 extlib.1.7.0 fmt.0.8.0 jbuilder.1.0+beta20.1 ocaml.4.08.1 ocaml-base-compiler.4.08.1 ocaml-config.1 ocamlbuild.0.14.0 ocamlfind.1.8.0 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 opam-0install-cudf.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 22:53.37: Using cache hint "ocaml-opam/opam-0install-cudf-ocaml/opam:debian-12-ocaml-4.08@sha256:a1d38b4249ac3e00f0c6f66cd35168b4c94ec556539dcdb604ce4bf4e98cc679-debian-12-4.08_opam-2.3-3cd36722d399774268491aac8909fc12"
2024-12-19 22:53.37: Using OBuilder spec:
((from ocaml/opam:debian-12-ocaml-4.08@sha256:a1d38b4249ac3e00f0c6f66cd35168b4c94ec556539dcdb604ce4bf4e98cc679)
(comment debian-12-4.08_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 opam-0install-cudf.opam) (dst ./))
(run (network host)
(shell "opam pin add -yn opam-0install-cudf.dev './'"))
(run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
(env DEPS "0install-solver.2.18 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 cppo.1.6.1 cudf.0.10 dune.2.7.0 extlib.1.7.0 fmt.0.8.0 jbuilder.1.0+beta20.1 ocaml.4.08.1 ocaml-base-compiler.4.08.1 ocaml-config.1 ocamlbuild.0.14.0 ocamlfind.1.8.0 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 opam-0install-cudf.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 22:53.37: Waiting for resource in pool OCluster
2024-12-20 18:56.33: Waiting for worker…
2024-12-20 19:14.04: Got resource from pool OCluster
Building on x86-bm-c5.sw.ocaml.org
All commits already cached
HEAD is now at 8f3d0e4 Version 0.5.0
(from ocaml/opam:debian-12-ocaml-4.08@sha256:a1d38b4249ac3e00f0c6f66cd35168b4c94ec556539dcdb604ce4bf4e98cc679)
2024-12-20 19:14.04 ---> using "2c99520034ba7d2c12a0edb456b31a2f404e9da547f96b39b3b43810eae7bc5d" from cache
/: (comment debian-12-4.08_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-20 19:14.04 ---> using "9c7d267f7e92517e2e7ab4d7fc448d8fbbb94cc38a5840599e10f31251e4deb4" 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
[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-20 19:14.04 ---> using "a85c677794c09ff23dc8acdf20aecfae513f7cc60a85d118c52f015fe321d43e" from cache
/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-126-generic
The OCaml toplevel, version 4.08.1
2.3.0
2024-12-20 19:14.04 ---> using "9c1e00b937b2e38fda6057914a79238c0808f3fdb6f52e94d95390dfae7f0a0c" from cache
/src: (workdir /src)
/src: (run (shell "sudo chown opam /src"))
2024-12-20 19:14.04 ---> using "f584b3496481aecc521427cb7cbbdf8e119e34cd57b7f7ce22a6b3fcf867f9d5" 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-20 19:14.04 ---> using "2713730617c9120ead27e84101e14faee045a0a1c67f1bc7ba7c87a3ef1162e9" from cache
/src: (copy (src opam-0install-cudf.opam) (dst ./))
2024-12-20 19:14.04 ---> saved as "bee33e9ea0e17b5ab65ed2997c17745987fadf17777fab9751741b7a0c8c82ff"
/src: (run (network host)
(shell "opam pin add -yn opam-0install-cudf.dev './'"))
[opam-0install-cudf.dev] synchronised (file:///src)
opam-0install-cudf is now pinned to file:///src (version dev)
2024-12-20 19:14.07 ---> saved as "7840d3771e095daea4be1a53f2043547649258e54232108a1b073ee40a2aaf83"
/src: (run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
2024-12-20 19:14.07 ---> saved as "be06f26290b115fe95feb57c8177d17c24fb37014fc9dfde8309a6d8fe2d760a"
/src: (env DEPS "0install-solver.2.18 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 cppo.1.6.1 cudf.0.10 dune.2.7.0 extlib.1.7.0 fmt.0.8.0 jbuilder.1.0+beta20.1 ocaml.4.08.1 ocaml-base-compiler.4.08.1 ocaml-config.1 ocamlbuild.0.14.0 ocamlfind.1.8.0 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 opam-0install-cudf.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 [236 kB]
- Fetched 339 kB in 0s (845 kB/s)
- Reading package lists...
-
<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[opam-0install-cudf.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.08.1).
[NOTE] Package ocaml is already installed (current version is 4.08.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-20 19:14.40 ---> saved as "0d907b565330344faa14c34e9a862340bc3e0f924a4ac860dfca68e6d4a80f02"
/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.08.1).
[NOTE] Package ocaml is already installed (current version is 4.08.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:
=== install 16 packages
- install 0install-solver 2.18
- install alcotest 0.8.0
- install astring 0.8.2
- install base-bytes base
- install cmdliner 1.0.3
- install conf-m4 1
- install cppo 1.6.1
- install cudf 0.10
- install dune 2.7.0
- install extlib 1.7.0
- install fmt 0.8.0
- install jbuilder 1.0+beta20.1
- install ocamlbuild 0.14.0
- install ocamlfind 1.8.0
- 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)
-> retrieved cppo.1.6.1 (cached)
-> retrieved 0install-solver.2.18 (cached)
-> installed conf-m4.1
-> retrieved cudf.0.10 (cached)
-> retrieved fmt.0.8.0 (cached)
-> retrieved jbuilder.1.0+beta20.1 (cached)
-> retrieved dune.2.7.0 (cached)
-> retrieved ocamlbuild.0.14.0 (cached)
-> retrieved ocamlfind.1.8.0 (cached)
-> retrieved extlib.1.7.0 (https://github.com/ygrek/ocaml-extlib/archive/1.7.0.tar.gz)
-> retrieved result.1.0 (cached)
-> retrieved topkg.0.7.5 (cached)
-> installed result.1.0
-> installed cmdliner.1.0.3
-> installed ocamlfind.1.8.0
-> installed base-bytes.base
-> installed ocamlbuild.0.14.0
-> installed jbuilder.1.0+beta20.1
-> installed cppo.1.6.1
-> installed topkg.0.7.5
-> installed dune.2.7.0
-> installed extlib.1.7.0
-> installed fmt.0.8.0
-> installed 0install-solver.2.18
-> installed astring.0.8.2
-> installed alcotest.0.8.0
-> installed cudf.0.10
Done.
# To update the current shell environment, run: eval $(opam env)
2024-12-20 19:15.34 ---> saved as "fc2436ce142363cbeee44d14b6b799afe8949f3709a69165aa297dfc07f9b771"
/src: (copy (src .) (dst /src))
2024-12-20 19:15.35 ---> saved as "138c3458c529333222af2a41161a4e7c8236e7b8bf7743d7a5dc4f8dbc645a1e"
/src: (run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build"))
File "/home/opam/.opam/4.08/lib/alcotest/alcotest.dune", line 1, characters 0-0:
Warning: .dune files are ignored since 2.0. Reinstall the library with dune
>= 2.0 to get rid of this warning and enable support for the subsystem this
library provides.
test alias test/runtest
tput: No value for $TERM and no -T specified
stty: 'standard input': Inappropriate ioctl for device
Testing cudf.
... simple solve 0 normal. [OK] simple solve 0 normal.
... simple solve 1 oldest. [OK] simple solve 1 oldest.
... avoid-version 0 normal 1. [OK] avoid-version 0 normal 1.
... avoid-version 1 oldest 1. [OK] avoid-version 1 oldest 1.
... avoid-version 2 normal 2. [OK] avoid-version 2 normal 2.
... avoid-version 3 oldest 2. [OK] avoid-version 3 oldest 2.
... avoid-version 4 normal 3. [OK] avoid-version 4 normal 3.
... avoid-version 5 oldest 3. [OK] avoid-version 5 oldest 3.
... keep-installed 0 normal 1. [OK] keep-installed 0 normal 1.
... keep-installed 1 normal 2. [OK] keep-installed 1 normal 2.
... keep-installed 2 normal 3. [OK] keep-installed 2 normal 3.
... keep-installed 3 normal 4. [OK] keep-installed 3 normal 4.
... keep-installed 4 latest avoid-version=1. [OK] keep-installed 4 latest avoid-version=1.
... keep-installed 5 latest keep-installed=0, avoid-version=1. [OK] keep-installed 5 latest keep-installed=0, avoid-version=1.
... keep-installed 6 avoid-version=1. [OK] keep-installed 6 avoid-version=1.
... keep-installed 7 keep-installed=0, avoid-version=1. [OK] keep-installed 7 keep-installed=0, avoid-version=1.
The full test results are available in `_build/_tests`.
Test Successful in 0.002s. 16 tests run.
2024-12-20 19:15.36 ---> saved as "d5a84e2d14a62f0520965a6e96716d39656c1634e462bad586361874fa92aa53"
Job succeeded
2024-12-20 19:15.36: Job succeeded