Organisationsverbosemodesyslog-message160d94 (main)debian-12-4.11_opam-2.3

debian-12-4.11_opam-2.3

Link Copied
Code Copied

Logs

2025-07-10 14:49.44: New job: test verbosemode/syslog-message https://github.com/verbosemode/syslog-message.git#refs/heads/main (160d94f9e3e4972b53042c5bd7c32a3ce1656082) (linux-x86_64:debian-12-4.11_opam-2.3)
Base: ocaml/opam:debian-12-ocaml-4.11@sha256:2dce75e675e23fd22a5db2cc9e93722dcd2627af3c514980c29ea1ca457ce0d4
Opam project build


To reproduce locally:


git clone --recursive "https://github.com/verbosemode/syslog-message.git" -b "main" && cd "syslog-message" && git reset --hard 160d94f9
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-12-ocaml-4.11@sha256:2dce75e675e23fd22a5db2cc9e93722dcd2627af3c514980c29ea1ca457ce0d4
# debian-12-4.11_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 97bb175d1e6ee67d1f44f322ec4b2e76d2961531 || git fetch origin master) && git reset -q --hard 97bb175d1e6ee67d1f44f322ec4b2e76d2961531 && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 syslog-message.opam ./
RUN opam pin add -yn syslog-message.dev './'
RUN echo '(lang dune 3.0)' > './dune-project'
ENV DEPS="base-bigarray.base base-threads.base base-unix.base dune.3.19.1 ocaml.4.11.2 ocaml-base-compiler.4.11.2 ocaml-config.1 ocamlbuild.0.16.1 ocamlfind.1.9.8 ounit2.2.2.7 ptime.1.2.0 qcheck.0.26 qcheck-core.0.26 qcheck-ounit.0.26 seq.base stdlib-shims.0.3.0 topkg.1.0.8"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.3 --depext-only -y syslog-message.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-07-10 14:49.44: Using cache hint "verbosemode/syslog-message-ocaml/opam:debian-12-ocaml-4.11@sha256:2dce75e675e23fd22a5db2cc9e93722dcd2627af3c514980c29ea1ca457ce0d4-debian-12-4.11_opam-2.3-8d99deec71b6d343319cd34c95aee4bc"
2025-07-10 14:49.44: Using OBuilder spec:
((from ocaml/opam:debian-12-ocaml-4.11@sha256:2dce75e675e23fd22a5db2cc9e93722dcd2627af3c514980c29ea1ca457ce0d4)
(comment debian-12-4.11_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 97bb175d1e6ee67d1f44f322ec4b2e76d2961531 || git fetch origin master) && git reset -q --hard 97bb175d1e6ee67d1f44f322ec4b2e76d2961531 && git log --no-decorate -n1 --oneline && opam update -u"))
(copy (src syslog-message.opam) (dst ./))
(run (network host)
(shell "opam pin add -yn syslog-message.dev './'"))
(run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
(env DEPS "base-bigarray.base base-threads.base base-unix.base dune.3.19.1 ocaml.4.11.2 ocaml-base-compiler.4.11.2 ocaml-config.1 ocamlbuild.0.16.1 ocamlfind.1.9.8 ounit2.2.2.7 ptime.1.2.0 qcheck.0.26 qcheck-core.0.26 qcheck-ounit.0.26 seq.base stdlib-shims.0.3.0 topkg.1.0.8")
(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 syslog-message.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-07-10 14:49.44: Waiting for resource in pool OCluster
2025-07-10 18:10.23: Waiting for worker…
2025-07-10 18:12.51: Got resource from pool OCluster
Building on clete.caelum.ci.dev
All commits already cached
HEAD is now at 160d94f release 1.2.0


(from ocaml/opam:debian-12-ocaml-4.11@sha256:2dce75e675e23fd22a5db2cc9e93722dcd2627af3c514980c29ea1ca457ce0d4)
2025-07-10 18:12.52 ---> using "e6c058c747c2299c436bd88f68a27d5eb7648c2beb994ce56ec1e23a7fa3344f" from cache


/: (comment debian-12-4.11_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-07-10 18:12.52 ---> using "f9e56d7c98fc281dfa36178e471c2c2fe7faa703b56b0c725fddfa7ffe2a90e3" 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] Initialised
2025-07-10 18:12.52 ---> using "db457c39dea794696525089a7e414c9d0f740c1cc332859594c0fbf073f6028a" from cache


/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-134-generic
The OCaml toplevel, version 4.11.2
2.3.0
2025-07-10 18:12.52 ---> using "82a727c63447dacebb33da98a89c439a755b0421b9c2e18520c1ade9fc4757bb" from cache


/src: (workdir /src)


/src: (run (shell "sudo chown opam /src"))
2025-07-10 18:12.52 ---> using "22f54e858b19279035672d57e8e6438034ca4a55bb9ad8d10e46753f9c4229d4" from cache


/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e 97bb175d1e6ee67d1f44f322ec4b2e76d2961531 || git fetch origin master) && git reset -q --hard 97bb175d1e6ee67d1f44f322ec4b2e76d2961531 && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
* branch                  master     -> FETCH_HEAD
c7269f729a..0094db1438  master     -> origin/master
97bb175d1e Merge pull request #28148 from jmid/opam-publish-qcheck.0.26


<><> Updating package repositories ><><><><><><><><><><><><><><><><><><><><><><>
[default] synchronised from git+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-07-10 18:14.14 ---> saved as "13bff7813bce83855dc4408864e21b2123bc8c5d8d132881cce1886cfdc98edf"


/src: (copy (src syslog-message.opam) (dst ./))
2025-07-10 18:14.15 ---> saved as "2675ea721758884264568a65f041f0a5f7e99f47b3e3a97da0eb40207c8d890a"


/src: (run (network host)
(shell "opam pin add -yn syslog-message.dev './'"))
[syslog-message.dev] synchronised (file:///src)
syslog-message is now pinned to file:///src (version dev)
2025-07-10 18:14.18 ---> saved as "060301c6da431c9302c22b335603c2edb838fa86f76533cf96e733bbc6e2c9de"


/src: (run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
2025-07-10 18:14.18 ---> saved as "c868472b38821ab4b4b96c0a8d3c65afbae786fe08ac427fef836d8becd0af26"


/src: (env DEPS "base-bigarray.base base-threads.base base-unix.base dune.3.19.1 ocaml.4.11.2 ocaml-base-compiler.4.11.2 ocaml-config.1 ocamlbuild.0.16.1 ocamlfind.1.9.8 ounit2.2.2.7 ptime.1.2.0 qcheck.0.26 qcheck-core.0.26 qcheck-ounit.0.26 seq.base stdlib-shims.0.3.0 topkg.1.0.8")


/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 syslog-message.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 [272 kB]
- Fetched 375 kB in 0s (790 kB/s)
- Reading package lists...
- 


<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[syslog-message.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.11.2).
[NOTE] Package ocaml is already installed (current version is 4.11.2).
[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).
2025-07-10 18:14.38 ---> saved as "24e037c894cd732b2968f1019bd146e36f2a7eb1bdc276cf22bb50e082f44057"


/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.11.2).
[NOTE] Package ocaml is already installed (current version is 4.11.2).
[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 11 packages
- install dune         3.19.1
- install ocamlbuild   0.16.1
- install ocamlfind    1.9.8
- install ounit2       2.2.7
- install ptime        1.2.0
- install qcheck       0.26
- install qcheck-core  0.26
- install qcheck-ounit 0.26
- install seq          base
- install stdlib-shims 0.3.0
- install topkg        1.0.8


<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved ocamlfind.1.9.8  (cached)
-> retrieved ocamlbuild.0.16.1  (cached)
-> retrieved ounit2.2.2.7  (cached)
-> retrieved ptime.1.2.0  (cached)
-> retrieved seq.base  (cached)
-> installed seq.base
-> retrieved stdlib-shims.0.3.0  (cached)
-> retrieved qcheck.0.26, qcheck-core.0.26, qcheck-ounit.0.26  (cached)
-> retrieved topkg.1.0.8  (cached)
-> retrieved dune.3.19.1  (cached)
-> installed ocamlfind.1.9.8
-> installed ocamlbuild.0.16.1
-> installed topkg.1.0.8
-> installed ptime.1.2.0
-> installed dune.3.19.1
-> installed stdlib-shims.0.3.0
-> installed ounit2.2.2.7
-> installed qcheck-core.0.26
-> installed qcheck-ounit.0.26
-> installed qcheck.0.26
Done.
# To update the current shell environment, run: eval $(opam env)
2025-07-10 18:16.16 ---> saved as "a3813daa50f27f7a4012be515dbc324baea3456995c48b1c828582c4a5a73d52"


/src: (copy (src .) (dst /src))
2025-07-10 18:16.17 ---> saved as "dc845b7d9a7bf46109358c67d3a8728480af3dc9d5c17123cdcd7edefd3cd0e2"


/src: (run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build"))
File "test/dune", line 2, characters 13-32:
2 |   (name      test_syslog_message)
^^^^^^^^^^^^^^^^^^^
(cd _build/default/test && ./test_syslog_message.exe)
random seed: 225076603


--- Failure --------------------------------------------------------------------


Test putting in invalid data always fails failed (3 shrink steps):


"<9"
================================================================================
failure (1 tests failed, 0 tests errored, ran 3 tests)
"/usr/bin/env" "bash" "-c" "opam exec -- dune build @install @check @runtest && rm -rf _build" failed with exit status 1
2025-07-10 18:16.19: Job failed: Failed: Build failed