Organisationsverbosemodesyslog-message160d94 (main)fedora-40-4.14_opam-2.2

fedora-40-4.14_opam-2.2

Link Copied
Code Copied

Logs

2024-09-18 15:14.23: New job: test verbosemode/syslog-message https://github.com/verbosemode/syslog-message.git#refs/heads/main (160d94f9e3e4972b53042c5bd7c32a3ce1656082) (linux-x86_64:fedora-40-4.14_opam-2.2)
Base: ocaml/opam:fedora-40-ocaml-4.14@sha256:7a559fbce3a98093c0094707c7eec2d9d32c1dbf3fec97d107ee0221607570f2
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:fedora-40-ocaml-4.14@sha256:7a559fbce3a98093c0094707c7eec2d9d32c1dbf3fec97d107ee0221607570f2
# fedora-40-4.14_opam-2.2
USER 1000:1000
ENV CLICOLOR_FORCE="1"
ENV OPAMCOLOR="always"
WORKDIR /src
RUN sudo dnf install -y findutils
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 45f961713f04a0d83218c0eb2706131a40f96d54 || git fetch origin master) && git reset -q --hard 45f961713f04a0d83218c0eb2706131a40f96d54 && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 syslog-message.opam ./
RUN opam pin add -yn syslog-message.dev './'
ENV DEPS="base-bigarray.base base-threads.base base-unix.base dune.3.16.0 host-arch-x86_64.1 host-system-other.1 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-config.2 ocaml-options-vanilla.1 ocamlbuild.0.15.0 ocamlfind.1.9.6 ounit2.2.2.7 ptime.1.2.0 qcheck.0.22 qcheck-core.0.22 qcheck-ounit.0.22 seq.base stdlib-shims.0.3.0 topkg.1.0.7"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.2 --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


2024-09-18 15:14.23: Using cache hint "verbosemode/syslog-message-ocaml/opam:fedora-40-ocaml-4.14@sha256:7a559fbce3a98093c0094707c7eec2d9d32c1dbf3fec97d107ee0221607570f2-fedora-40-4.14_opam-2.2-7c3d74b324c7929a11a971ba60f4d397"
2024-09-18 15:14.23: Using OBuilder spec:
((from ocaml/opam:fedora-40-ocaml-4.14@sha256:7a559fbce3a98093c0094707c7eec2d9d32c1dbf3fec97d107ee0221607570f2)
 (comment fedora-40-4.14_opam-2.2)
 (user (uid 1000) (gid 1000))
 (env CLICOLOR_FORCE 1)
 (env OPAMCOLOR always)
 (workdir /src)
 (run (network host)
      (shell "sudo dnf install -y findutils"))
 (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 45f961713f04a0d83218c0eb2706131a40f96d54 || git fetch origin master) && git reset -q --hard 45f961713f04a0d83218c0eb2706131a40f96d54 && 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 './'"))
 (env DEPS "base-bigarray.base base-threads.base base-unix.base dune.3.16.0 host-arch-x86_64.1 host-system-other.1 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-config.2 ocaml-options-vanilla.1 ocamlbuild.0.15.0 ocamlfind.1.9.6 ounit2.2.2.7 ptime.1.2.0 qcheck.0.22 qcheck-core.0.22 qcheck-ounit.0.22 seq.base stdlib-shims.0.3.0 topkg.1.0.7")
 (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 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"))
)


2024-09-18 15:14.23: Waiting for resource in pool OCluster
2024-09-18 16:09.33: Waiting for worker…
2024-09-18 16:09.35: Got resource from pool OCluster
Building on x86-bm-c3.sw.ocaml.org
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint: 
hint: 	git config --global init.defaultBranch <name>
hint: 
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint: 
hint: 	git branch -m <name>
Initialized empty Git repository in /var/cache/obuilder/ocluster/git/syslog-message.git-f6bf49bb0ba12fbee909ae0bb60d64c0e68821e6/.git/
HEAD is now at 160d94f release 1.2.0


(from ocaml/opam:fedora-40-ocaml-4.14@sha256:7a559fbce3a98093c0094707c7eec2d9d32c1dbf3fec97d107ee0221607570f2)
2024-09-18 16:09.36 ---> using "d935b78b3b3d1b9175556810bedcd612a82afc930885b14f52a4ce87dfe76c2d" from cache


/: (comment fedora-40-4.14_opam-2.2)


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


/: (env CLICOLOR_FORCE 1)


/: (env OPAMCOLOR always)


/: (workdir /src)


/src: (run (network host)
           (shell "sudo dnf install -y findutils"))
Fedora 40 - x86_64                              351 kB/s |  28 kB     00:00    
Fedora 40 openh264 (From Cisco) - x86_64         15 kB/s | 989  B     00:00    
Fedora 40 - x86_64 - Updates                    305 kB/s |  25 kB     00:00    
Fedora 40 - x86_64 - Updates                    4.7 MB/s | 5.1 MB     00:01    
Package findutils-1:4.9.0-9.fc40.x86_64 is already installed.
Dependencies resolved.
Nothing to do.
Complete!
2024-09-18 16:09.36 ---> using "b95dac668c44721e374419201a9bd94f72da55184895174c6c06fd9a8d08cc60" from cache


/src: (run (shell "sudo ln -f /usr/bin/opam-2.2 /usr/bin/opam"))
2024-09-18 16:09.36 ---> using "18d966f9d7a48212549a29d80cabca0c2ad8ff0c9cf80df3c4bc95ce0a8036a6" 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-09-18 16:09.36 ---> using "b511d78c82857fc94cf916a0e91483566fbaa3ae9d3b6eacde46cf485be8912d" from cache


/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-121-generic
The OCaml toplevel, version 4.14.2
2.2.1
2024-09-18 16:09.36 ---> using "342175cbcca3d2e7439a8e49d953a41a641fd33389ae32a64d0e026e1e56cd76" from cache


/src: (workdir /src)


/src: (run (shell "sudo chown opam /src"))
2024-09-18 16:09.36 ---> using "2c702272e1dedf073d86e5921443fe8509d1dae712d6127840e3496ff9662007" from cache


/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
           (network host)
           (shell "cd ~/opam-repository && (git cat-file -e 45f961713f04a0d83218c0eb2706131a40f96d54 || git fetch origin master) && git reset -q --hard 45f961713f04a0d83218c0eb2706131a40f96d54 && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
 * branch                  master     -> FETCH_HEAD
   e89899ac28..45f961713f  master     -> origin/master
45f961713f Merge pull request #26585 from dra27/trunk-tweaks


<><> 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-09-18 16:09.36 ---> using "9aacb0a50839eaae096a9697be1e5cf2e59e9ddf4840e1d5398be1175fa01ea4" from cache


/src: (copy (src syslog-message.opam) (dst ./))
2024-09-18 16:09.36 ---> saved as "8800f44b8d2270547dc3b8219e34bdcfc66cb1dffcb0e7ebc50b4a15d52bbcb7"


/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)
2024-09-18 16:09.37 ---> saved as "11a5dd4925cf4779480bb2f4a53104eae698506c2419d33985b9dc4ec087904f"


/src: (env DEPS "base-bigarray.base base-threads.base base-unix.base dune.3.16.0 host-arch-x86_64.1 host-system-other.1 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-config.2 ocaml-options-vanilla.1 ocamlbuild.0.15.0 ocamlfind.1.9.6 ounit2.2.2.7 ptime.1.2.0 qcheck.0.22 qcheck-core.0.22 qcheck-ounit.0.22 seq.base stdlib-shims.0.3.0 topkg.1.0.7")


/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 syslog-message.dev $DEPS"))
+ /usr/bin/sudo "yum" "makecache"
- Fedora 40 - x86_64                              338 kB/s |  28 kB     00:00    
- Fedora 40 openh264 (From Cisco) - x86_64         14 kB/s | 989  B     00:00    
- Fedora 40 - x86_64 - Updates                    316 kB/s |  25 kB     00:00    
- Metadata cache created.


<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[syslog-message.dev] synchronised (no changes)


[NOTE] Package ocaml-options-vanilla is already installed (current version is 1).
[NOTE] Package ocaml-config is already installed (current version is 2).
[NOTE] Package ocaml-base-compiler is already installed (current version is 4.14.2).
[NOTE] Package ocaml is already installed (current version is 4.14.2).
[NOTE] Package host-system-other is already installed (current version is 1).
[NOTE] Package host-arch-x86_64 is already installed (current version is 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).
2024-09-18 16:09.58 ---> saved as "31df85e9720c682ddb4e39c394726154605daf0aaf934d887e726847c4042818"


/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
           (network host)
           (shell "opam install $DEPS"))
[NOTE] Package ocaml-options-vanilla is already installed (current version is 1).
[NOTE] Package ocaml-config is already installed (current version is 2).
[NOTE] Package ocaml-base-compiler is already installed (current version is 4.14.2).
[NOTE] Package ocaml is already installed (current version is 4.14.2).
[NOTE] Package host-system-other is already installed (current version is 1).
[NOTE] Package host-arch-x86_64 is already installed (current version is 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 11 packages
  - install dune         3.16.0
  - install ocamlbuild   0.15.0
  - install ocamlfind    1.9.6
  - install ounit2       2.2.7
  - install ptime        1.2.0
  - install qcheck       0.22
  - install qcheck-core  0.22
  - install qcheck-ounit 0.22
  - install seq          base
  - install stdlib-shims 0.3.0
  - install topkg        1.0.7


<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved ocamlbuild.0.15.0  (cached)
-> retrieved ocamlfind.1.9.6  (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.22, qcheck-core.0.22, qcheck-ounit.0.22  (cached)
-> retrieved topkg.1.0.7  (cached)
-> retrieved dune.3.16.0  (cached)
-> installed ocamlfind.1.9.6
-> installed ocamlbuild.0.15.0
-> installed topkg.1.0.7
-> installed ptime.1.2.0
-> installed dune.3.16.0
-> installed stdlib-shims.0.3.0
-> installed ounit2.2.2.7
-> installed qcheck-core.0.22
-> installed qcheck-ounit.0.22
-> installed qcheck.0.22
Done.
# Run eval $(opam env) to update the current shell environment
2024-09-18 16:11.00 ---> saved as "197a5cbc154b52d5f440454544b1a8ffef04fc1c8218d4c3d2cf2f979e7985ee"


/src: (copy (src .) (dst /src))
2024-09-18 16:11.00 ---> saved as "56a159d7a91ee894cde9a9038056e8fc8f82862ef6ef54a18249fda754083c23"


/src: (run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build"))
(cd _build/default/test && ./test_syslog_message.exe)
random seed: 458830903
================================================================================
success (ran 3 tests)
2024-09-18 16:11.01 ---> saved as "cc7fac277494d10e0782a2086a78658215f28a921c5e0b9c4c246f519ecf2b3b"
Job succeeded
2024-09-18 16:11.01: Job succeeded