2024-05-10 09:18.52: New job: test mirage/ocaml-cow https://github.com/mirage/ocaml-cow.git#refs/heads/main (3f53db99b048261b774e45d22d57c7c71f02092b) (linux-x86_64:(lower-bound))
Base: ocaml/opam@sha256:efeda74a7308e07f1116c60f20e99e3316014c1a121f86b7a0cf4676fafe83ea
Opam project build
To reproduce locally:
git clone --recursive "https://github.com/mirage/ocaml-cow.git" -b "main" && cd "ocaml-cow" && git reset --hard 3f53db99
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam@sha256:efeda74a7308e07f1116c60f20e99e3316014c1a121f86b7a0cf4676fafe83ea
# debian-12-4.03_opam-2.1
USER 1000:1000
ENV CLICOLOR_FORCE="1"
ENV OPAMCOLOR="always"
WORKDIR /src
RUN sudo ln -f /usr/bin/opam-2.1 /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 2275b400535e884d216047a092e70705139c9e41 || git fetch origin master) && git reset -q --hard 2275b400535e884d216047a092e70705139c9e41 && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 cow.opam ./
RUN opam pin add -yn cow.dev './'
ENV DEPS="alcotest.0.8.0 astring.0.8.0 base-bigarray.base base-bytes.base base-threads.base base-unix.base cmdliner.0.9.8 conf-m4.1 dune.3.1.0 ezjsonm.0.4.3 fmt.0.8.0 hex.0.1.0 jbuilder.1.0+beta10 jsonm.0.9.1 ocaml.4.03.0 ocaml-base-compiler.4.03.0 ocaml-config.1 ocaml-secondary-compiler.4.08.1 ocamlbuild.0.9.0 ocamlfind.1.8.1 ocamlfind-secondary.1.8.1 omd.0.8.2 re.1.0 result.1.0 sexplib.113.33.00+4.03 topkg.0.7.5 uri.1.3.9 uutf.0.9.1 xmlm.1.1.1"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.1 --depext-only -y cow.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-05-10 09:18.52: Using cache hint "mirage/ocaml-cow-ocaml/opam@sha256:efeda74a7308e07f1116c60f20e99e3316014c1a121f86b7a0cf4676fafe83ea-debian-12-4.03_opam-2.1-c5875eeee1f50a22e76d37950b20b1b3"
2024-05-10 09:18.52: Using OBuilder spec:
((from ocaml/opam@sha256:efeda74a7308e07f1116c60f20e99e3316014c1a121f86b7a0cf4676fafe83ea)
(comment debian-12-4.03_opam-2.1)
(user (uid 1000) (gid 1000))
(env CLICOLOR_FORCE 1)
(env OPAMCOLOR always)
(workdir /src)
(run (shell "sudo ln -f /usr/bin/opam-2.1 /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 2275b400535e884d216047a092e70705139c9e41 || git fetch origin master) && git reset -q --hard 2275b400535e884d216047a092e70705139c9e41 && git log --no-decorate -n1 --oneline && opam update -u"))
(copy (src cow.opam) (dst ./))
(run (network host)
(shell "opam pin add -yn cow.dev './'"))
(env DEPS "alcotest.0.8.0 astring.0.8.0 base-bigarray.base base-bytes.base base-threads.base base-unix.base cmdliner.0.9.8 conf-m4.1 dune.3.1.0 ezjsonm.0.4.3 fmt.0.8.0 hex.0.1.0 jbuilder.1.0+beta10 jsonm.0.9.1 ocaml.4.03.0 ocaml-base-compiler.4.03.0 ocaml-config.1 ocaml-secondary-compiler.4.08.1 ocamlbuild.0.9.0 ocamlfind.1.8.1 ocamlfind-secondary.1.8.1 omd.0.8.2 re.1.0 result.1.0 sexplib.113.33.00+4.03 topkg.0.7.5 uri.1.3.9 uutf.0.9.1 xmlm.1.1.1")
(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.1 --depext-only -y cow.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-05-10 09:18.52: Waiting for resource in pool OCluster
2024-05-11 00:53.52: Waiting for worker…
2024-05-11 00:54.02: Got resource from pool OCluster
Building on asteria.caelum.ci.dev
All commits already cached
HEAD is now at 3f53db9 Fix typo in CHANGELOG
(from ocaml/opam@sha256:efeda74a7308e07f1116c60f20e99e3316014c1a121f86b7a0cf4676fafe83ea)
2024-05-11 00:54.02 ---> using "5e746ce75e4437cb8305c3242b0b72bc201345168ee5141ebd6738538e1ece83" from cache
/: (comment debian-12-4.03_opam-2.1)
/: (user (uid 1000) (gid 1000))
/: (env CLICOLOR_FORCE 1)
/: (env OPAMCOLOR always)
/: (workdir /src)
/src: (run (shell "sudo ln -f /usr/bin/opam-2.1 /usr/bin/opam"))
2024-05-11 00:54.02 ---> using "17730712d481f6de6d87f039733a29f54bc236fb415a7ed1b4487ab1828fae07" 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.1, 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-05-11 00:54.02 ---> using "0daf33aedad7fb282aaac6c7833940bdb15b54d88d76fff8c6981e24105988f0" from cache
/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-106-generic
The OCaml toplevel, version 4.03.0
2.1.5
2024-05-11 00:54.02 ---> using "8ba57746c1588e360057937b5f9571685bd8a781186d299d6c3ac306404d108c" from cache
/src: (workdir /src)
/src: (run (shell "sudo chown opam /src"))
2024-05-11 00:54.02 ---> using "8a972db9ab987a0f7ac5a95a1c0017fef21f56ba02eb320ff0446f680f19bec7" from cache
/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e 2275b400535e884d216047a092e70705139c9e41 || git fetch origin master) && git reset -q --hard 2275b400535e884d216047a092e70705139c9e41 && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
* branch master -> FETCH_HEAD
fa727ddb20..2ae169d7d0 master -> origin/master
2275b40053 @dra27 maintains ocaml-secondary-compiler
<><> 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-05-11 00:54.02 ---> using "b23c89d2df967834f4f7db348270813bc59697abbac2e3364c5d69016096764d" from cache
/src: (copy (src cow.opam) (dst ./))
2024-05-11 00:54.02 ---> saved as "f95eeeb1229adea570beab0b518ad9e2f98b444f5d5280314253bf33cc68eb9b"
/src: (run (network host)
(shell "opam pin add -yn cow.dev './'"))
[cow.dev] synchronised (file:///src)
cow is now pinned to file:///src (version dev)
2024-05-11 00:54.03 ---> saved as "bfd5fec1eed0d16786d23cb968c5dafd31a0214ef6da0753077a1674fbcef555"
/src: (env DEPS "alcotest.0.8.0 astring.0.8.0 base-bigarray.base base-bytes.base base-threads.base base-unix.base cmdliner.0.9.8 conf-m4.1 dune.3.1.0 ezjsonm.0.4.3 fmt.0.8.0 hex.0.1.0 jbuilder.1.0+beta10 jsonm.0.9.1 ocaml.4.03.0 ocaml-base-compiler.4.03.0 ocaml-config.1 ocaml-secondary-compiler.4.08.1 ocamlbuild.0.9.0 ocamlfind.1.8.1 ocamlfind-secondary.1.8.1 omd.0.8.2 re.1.0 result.1.0 sexplib.113.33.00+4.03 topkg.0.7.5 uri.1.3.9 uutf.0.9.1 xmlm.1.1.1")
/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.1 --depext-only -y cow.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 [10.6 kB]
- Get:5 http://deb.debian.org/debian bookworm-updates/main amd64 Packages T-2024-04-23-2036.10-F-2024-04-23-2036.10.pdiff [1595 B]
- Get:5 http://deb.debian.org/debian bookworm-updates/main amd64 Packages T-2024-04-23-2036.10-F-2024-04-23-2036.10.pdiff [1595 B]
- Get:6 http://deb.debian.org/debian-security bookworm-security/main amd64 Packages [155 kB]
- Fetched 271 kB in 0s (939 kB/s)
- Reading package lists...
<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[cow.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.03.0).
[NOTE] Package ocaml is already installed (current version is 4.03.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-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-05-11 00:54.18 ---> saved as "d0d6834ddbabacbf79e6ceaed176014e532edc5cc85adfb973ecd2802ee8cbd8"
/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.03.0).
[NOTE] Package ocaml is already installed (current version is 4.03.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-bigarray is already installed (current version is base).
The following actions will be performed:
- install conf-m4 1
- install ocamlbuild 0.9.0
- install result 1.0
- downgrade ocaml-secondary-compiler 4.08.1-1 to 4.08.1
- install ocamlfind 1.8.1
- install cmdliner 0.9.8
- install xmlm 1.1.1
- install uutf 0.9.1
- install topkg 0.7.5
- install sexplib 113.33.00+4.03
- install re 1.0
- install omd 0.8.2
- install ocamlfind-secondary 1.8.1
- install jbuilder 1.0+beta10
- install hex 0.1.0
- install base-bytes base
- install jsonm 0.9.1
- install fmt 0.8.0
- install uri 1.3.9
- install dune 3.1.0
- install astring 0.8.0
- install ezjsonm 0.4.3
- install alcotest 0.8.0
===== 22 to install | 1 to downgrade =====
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved alcotest.0.8.0 (cached)
-> retrieved astring.0.8.0 (cached)
-> installed conf-m4.1
-> retrieved cmdliner.0.9.8 (http://erratique.ch/software/cmdliner/releases/cmdliner-0.9.8.tbz)
-> retrieved fmt.0.8.0 (cached)
-> retrieved dune.3.1.0 (https://github.com/ocaml/dune/releases/download/3.1.0/fiber-3.1.0.tbz)
-> retrieved ezjsonm.0.4.3 (https://github.com/mirage/ezjsonm/archive//0.4.3.tar.gz)
-> retrieved hex.0.1.0 (https://github.com/mirage/ocaml-hex/archive/0.1.0.tar.gz)
-> retrieved jsonm.0.9.1 (http://erratique.ch/software/jsonm/releases/jsonm-0.9.1.tbz)
-> retrieved ocamlbuild.0.9.0 (cached)
-> retrieved ocaml-secondary-compiler.4.08.1 (cached)
-> retrieved ocamlfind.1.8.1 (cached)
-> retrieved ocamlfind-secondary.1.8.1 (cached)
-> retrieved jbuilder.1.0+beta10 (https://github.com/janestreet/jbuilder/releases/download/1.0+beta10/jbuilder-1.0.beta10.tbz)
-> retrieved result.1.0 (cached)
-> retrieved omd.0.8.2 (https://github.com/ocaml/opam-source-archives/raw/main/omd-0.8.2.tar.gz)
-> retrieved topkg.0.7.5 (cached)
-> installed result.1.0
-> retrieved re.1.0 (http://github.com/ocaml/ocaml-re/tarball/ocaml-re-1.0)
-> retrieved uutf.0.9.1 (http://erratique.ch/software/uutf/releases/uutf-0.9.1.tbz)
-> retrieved xmlm.1.1.1 (http://erratique.ch/software/xmlm/releases/xmlm-1.1.1.tbz)
-> retrieved sexplib.113.33.00+4.03 (https://ocaml.janestreet.com/ocaml-core/113.33/files/sexplib-113.33.00+4.03.tar.gz)
-> retrieved uri.1.3.9 (https://github.com/mirage/ocaml-uri/archive/v1.3.9.tar.gz)
-> installed ocamlbuild.0.9.0
-> installed cmdliner.0.9.8
-> installed ocamlfind.1.8.1
-> installed base-bytes.base
-> installed astring.0.8.0
-> installed hex.0.1.0
-> installed topkg.0.7.5
-> installed uutf.0.9.1
-> installed fmt.0.8.0
-> installed jbuilder.1.0+beta10
-> installed omd.0.8.2
-> installed alcotest.0.8.0
-> installed re.1.0
-> installed sexplib.113.33.00+4.03
-> installed xmlm.1.1.1
-> installed jsonm.0.9.1
-> installed uri.1.3.9
-> installed ezjsonm.0.4.3
-> removed ocaml-secondary-compiler.4.08.1-1
-> installed ocaml-secondary-compiler.4.08.1
-> installed ocamlfind-secondary.1.8.1
-> installed dune.3.1.0
Done.
# Run eval $(opam env) to update the current shell environment
2024-05-11 00:56.14 ---> saved as "faa5ac8a8f656287d28f7033c178914f4d46f865fec890cf7afd85d4fb63663c"
/src: (copy (src .) (dst /src))
2024-05-11 00:56.14 ---> saved as "eddb3d0af5bcace632fe681ed3d6e80c6291eebd71aede0076ae161f8c99aefb"
/src: (run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build"))
(cd _build/default/test && ./render.exe -q --color=always)
tput: No value for $TERM and no -T specified
stty: 'standard input': Inappropriate ioctl for device
Testing cow.
[OK] xml 0 xml_expander+dtd.opt-2.
[OK] xml 1 xml_expander+dtd.opt-1.
[OK] xml 2 xml_expander+dtd.opt'-2.
[OK] xml 3 xml_expander+dtd.opt'-1.
[OK] xml 4 xml_expander+dtd.int-1.
[OK] xml 5 xml_expander+dtd.flo-1.
[OK] xml 6 xml_expander+dtd.str-1.
[OK] xml 7 xml_expander+dtd.uri-1.
[OK] xml 8 xml_expander+dtd.alist-2.
[OK] xml 9 xml_expander+dtd.alist-1.
[OK] xml 10 xml_expander+dtd.list-2.
[OK] xml 11 xml_expander+dtd.list-1.
[OK] xml 12 xml_expander+dtd.attrs-2.
[OK] xml 13 xml_expander+dtd.attrs-1.
[OK] xml 14 xml_expander+dtd.attrs'-2.
[OK] xml 15 xml_expander+dtd.attrs'-1.
[OK] xml 16 xml_expander+dtd.attrs''-2.
[OK] xml 17 xml_expander+dtd.attrs''-1.
[OK] xml 18 xml_expander+dtd.labeled_xml_fn-2.
[OK] xml 19 xml_expander+dtd.labeled_xml_fn-1.
[OK] xml 20 xml_expander+dtd.label_xml_fn_assignment-2.
[OK] xml 21 xml_expander+dtd.label_xml_fn_assignment-1.
[OK] xml 22 xml_expander.opt-2.
[OK] xml 23 xml_expander.opt-1.
[OK] xml 24 xml_expander.opt'-2.
[OK] xml 25 xml_expander.opt'-1.
[OK] xml 26 xml_expander.int-1.
[OK] xml 27 xml_expander.flo-1.
[OK] xml 28 xml_expander.str-1.
[OK] xml 29 xml_expander.uri-1.
[OK] xml 30 xml_expander.alist-2.
[OK] xml 31 xml_expander.alist-1.
[OK] xml 32 xml_expander.list-2.
[OK] xml 33 xml_expander.list-1.
[OK] xml 34 xml_expander.attrs-2.
[OK] xml 35 xml_expander.attrs-1.
[OK] xml 36 xml_expander.attrs'-2.
[OK] xml 37 xml_expander.attrs'-1.
[OK] xml 38 xml_expander.attrs''-2.
[OK] xml 39 xml_expander.attrs''-1.
[OK] xml 40 xml_expander.labeled_xml_fn-2.
[OK] xml 41 xml_expander.labeled_xml_fn-1.
[OK] xml 42 xml_expander.label_xml_fn_assignment-2.
[OK] xml 43 xml_expander.label_xml_fn_assignment-1.
The full test results are available in `_build/_tests`.
Test Successful in 0.002s. 44 tests run.
2024-05-11 00:56.15 ---> saved as "fd5e915380c8005fdd0e70ad96e13a4b794d60598052ba817f42c116807bded3"
Job succeeded
2024-05-11 00:56.15: Job succeeded