2024-05-10 09:03.20: New job: test patricoferris/ocaml-base32 https://github.com/patricoferris/ocaml-base32.git#refs/heads/main (b0b0277a48c75d9e4eb25a616743b8151cadc9de) (linux-x86_64:fedora-40-4.14_opam-2.1)
Base: ocaml/opam@sha256:415c184d9c858b1ae7a76855065ecf6c50581f3c9d4564ac83c8b23b8b9ae2b9
Opam project build
To reproduce locally:
git clone --recursive "https://github.com/patricoferris/ocaml-base32.git" -b "main" && cd "ocaml-base32" && git reset --hard b0b0277a
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam@sha256:415c184d9c858b1ae7a76855065ecf6c50581f3c9d4564ac83c8b23b8b9ae2b9
# fedora-40-4.14_opam-2.1
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.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 307e33d08fc4ccc1ea453ab45b0ead8ed574b97b || git fetch origin master) && git reset -q --hard 307e33d08fc4ccc1ea453ab45b0ead8ed574b97b && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 base32.opam ./
RUN opam pin add -yn base32.dev './'
ENV DEPS="alcotest.1.7.0 astring.0.8.5 base-bigarray.base base-threads.base base-unix.base camlp-streams.5.0.1 cmdliner.1.2.0 cppo.1.6.9 csexp.1.5.2 dune.3.15.2 fmt.0.9.0 logs.0.7.0 mdx.2.4.1 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-config.2 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocaml-version.3.6.7 ocamlbuild.0.14.3 ocamlfind.1.9.6 optint.0.3.0 re.1.11.0 result.1.5 seq.base stdlib-shims.0.3.0 topkg.1.0.7 uutf.1.0.3"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.1 --depext-only -y base32.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:03.20: Using cache hint "patricoferris/ocaml-base32-ocaml/opam@sha256:415c184d9c858b1ae7a76855065ecf6c50581f3c9d4564ac83c8b23b8b9ae2b9-fedora-40-4.14_opam-2.1-59ce9fb1bc3e2ffa05bc47d960897127"
2024-05-10 09:03.20: Using OBuilder spec:
((from ocaml/opam@sha256:415c184d9c858b1ae7a76855065ecf6c50581f3c9d4564ac83c8b23b8b9ae2b9)
(comment fedora-40-4.14_opam-2.1)
(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.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 307e33d08fc4ccc1ea453ab45b0ead8ed574b97b || git fetch origin master) && git reset -q --hard 307e33d08fc4ccc1ea453ab45b0ead8ed574b97b && git log --no-decorate -n1 --oneline && opam update -u"))
(copy (src base32.opam) (dst ./))
(run (network host)
(shell "opam pin add -yn base32.dev './'"))
(env DEPS "alcotest.1.7.0 astring.0.8.5 base-bigarray.base base-threads.base base-unix.base camlp-streams.5.0.1 cmdliner.1.2.0 cppo.1.6.9 csexp.1.5.2 dune.3.15.2 fmt.0.9.0 logs.0.7.0 mdx.2.4.1 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-config.2 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocaml-version.3.6.7 ocamlbuild.0.14.3 ocamlfind.1.9.6 optint.0.3.0 re.1.11.0 result.1.5 seq.base stdlib-shims.0.3.0 topkg.1.0.7 uutf.1.0.3")
(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 base32.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:03.20: Waiting for resource in pool OCluster
2024-05-10 16:12.46: Waiting for worker…
2024-05-11 00:10.06: Got resource from pool OCluster
Building on x86-bm-c18.sw.ocaml.org
All commits already cached
HEAD is now at b0b0277 Add name to dune-project
(from ocaml/opam@sha256:415c184d9c858b1ae7a76855065ecf6c50581f3c9d4564ac83c8b23b8b9ae2b9)
2024-05-11 00:10.32 ---> saved as "734939365ca49b277f590ce41c8d4d56e6ac1e187e29aa8fe4ddd810266ec9cf"
/: (comment fedora-40-4.14_opam-2.1)
/: (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 289 kB/s | 25 kB 00:00
Fedora 40 - x86_64 272 kB/s | 994 kB 00:03
Fedora 40 openh264 (From Cisco) - x86_64 15 kB/s | 989 B 00:00
Fedora 40 - x86_64 - Updates 251 kB/s | 21 kB 00:00
Fedora 40 - x86_64 - Updates 2.4 MB/s | 5.1 MB 00:02
Package findutils-1:4.9.0-8.fc40.x86_64 is already installed.
Dependencies resolved.
Nothing to do.
Complete!
2024-05-11 00:10.53 ---> saved as "27f125f8f9874760f522cedb21a2c5b03620375c8731fb3f496d760cdd2cb364"
/src: (run (shell "sudo ln -f /usr/bin/opam-2.1 /usr/bin/opam"))
2024-05-11 00:10.53 ---> saved as "31dee9b2c2b3c177fa91b119394c49844294d7b96dbd38a1ef8f05dde637abb5"
/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:12.11 ---> saved as "769cb91d456d94573e687dc675037a6ace197e06d0f2fcaf82817c641e39f479"
/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-101-generic
The OCaml toplevel, version 4.14.2
2.1.5
2024-05-11 00:12.11 ---> saved as "d47b804d5ae432c0bfb5d9e647b8c6d02aad94f10c345069ee85ddf4fab8a3d9"
/src: (workdir /src)
/src: (run (shell "sudo chown opam /src"))
2024-05-11 00:12.11 ---> saved as "5f1ee7a0295c519a4c376aaa91c28f8b0989c0c4b230f8d83ebda3575617f0c8"
/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e 307e33d08fc4ccc1ea453ab45b0ead8ed574b97b || git fetch origin master) && git reset -q --hard 307e33d08fc4ccc1ea453ab45b0ead8ed574b97b && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
* branch master -> FETCH_HEAD
6a2ad82c27..2ae169d7d0 master -> origin/master
307e33d08f @dra27 and @Octachron maintain the 4.08+ packages
<><> 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:13.47 ---> saved as "df50afeb9a04ef44262747674678aef419edd2688d98308e9917851683b016d4"
/src: (copy (src base32.opam) (dst ./))
2024-05-11 00:13.47 ---> saved as "7fa9f1befcc2a283ec21cd6b0373ed443d70d18d92326fd1e19abc85371f7490"
/src: (run (network host)
(shell "opam pin add -yn base32.dev './'"))
[base32.dev] synchronised (file:///src)
base32 is now pinned to file:///src (version dev)
2024-05-11 00:13.48 ---> saved as "16ce516ea63f2309fff300d05c45285edd045f98b3d93a51c64fb683203891ce"
/src: (env DEPS "alcotest.1.7.0 astring.0.8.5 base-bigarray.base base-threads.base base-unix.base camlp-streams.5.0.1 cmdliner.1.2.0 cppo.1.6.9 csexp.1.5.2 dune.3.15.2 fmt.0.9.0 logs.0.7.0 mdx.2.4.1 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-config.2 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocaml-version.3.6.7 ocamlbuild.0.14.3 ocamlfind.1.9.6 optint.0.3.0 re.1.11.0 result.1.5 seq.base stdlib-shims.0.3.0 topkg.1.0.7 uutf.1.0.3")
/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 base32.dev $DEPS"))
+ /usr/bin/sudo "yum" "makecache"
- Fedora 40 - x86_64 324 kB/s | 25 kB 00:00
- Fedora 40 openh264 (From Cisco) - x86_64 17 kB/s | 989 B 00:00
- Fedora 40 - x86_64 - Updates 265 kB/s | 21 kB 00:00
- Metadata cache created.
<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[base32.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 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-05-11 00:14.06 ---> saved as "20be6c022ad8de2a154652f4c03351cb4ce894b104e2aff961297361fc3b968b"
/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 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 ocamlbuild 0.14.3
- install cmdliner 1.2.0
- install ocamlfind 1.9.6
- install seq base
- install dune 3.15.2
- install topkg 1.0.7
- install stdlib-shims 0.3.0
- install result 1.5
- install re 1.11.0
- install optint 0.3.0
- install ocaml-version 3.6.7
- install ocaml-syntax-shims 1.0.0
- install csexp 1.5.2
- install cppo 1.6.9
- install camlp-streams 5.0.1
- install uutf 1.0.3
- install fmt 0.9.0
- install astring 0.8.5
- install logs 0.7.0
- install alcotest 1.7.0
- install mdx 2.4.1
===== 21 to install =====
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved camlp-streams.5.0.1 (cached)
-> retrieved astring.0.8.5 (cached)
-> retrieved cmdliner.1.2.0 (cached)
-> retrieved alcotest.1.7.0 (cached)
-> retrieved cppo.1.6.9 (cached)
-> retrieved csexp.1.5.2 (cached)
-> retrieved fmt.0.9.0 (cached)
-> retrieved logs.0.7.0 (cached)
-> retrieved ocaml-syntax-shims.1.0.0 (cached)
-> retrieved ocaml-version.3.6.7 (cached)
-> retrieved mdx.2.4.1 (cached)
-> retrieved ocamlbuild.0.14.3 (cached)
-> retrieved ocamlfind.1.9.6 (cached)
-> retrieved optint.0.3.0 (cached)
-> retrieved re.1.11.0 (cached)
-> installed seq.base
-> retrieved result.1.5 (cached)
-> retrieved stdlib-shims.0.3.0 (cached)
-> retrieved uutf.1.0.3 (cached)
-> retrieved topkg.1.0.7 (cached)
-> retrieved dune.3.15.2 (cached)
-> installed cmdliner.1.2.0
-> installed ocamlfind.1.9.6
-> installed ocamlbuild.0.14.3
-> installed topkg.1.0.7
-> installed uutf.1.0.3
-> installed fmt.0.9.0
-> installed astring.0.8.5
-> installed logs.0.7.0
-> installed dune.3.15.2
-> installed csexp.1.5.2
-> installed result.1.5
-> installed stdlib-shims.0.3.0
-> installed camlp-streams.5.0.1
-> installed optint.0.3.0
-> installed ocaml-version.3.6.7
-> installed re.1.11.0
-> installed cppo.1.6.9
-> installed ocaml-syntax-shims.1.0.0
-> installed alcotest.1.7.0
-> installed mdx.2.4.1
Done.
# Run eval $(opam env) to update the current shell environment
2024-05-11 00:14.58 ---> saved as "5de6c6c7432dcfd9ccfbdf7e663dc5a065319266a2195c451229d7a72dabd72b"
/src: (copy (src .) (dst /src))
2024-05-11 00:14.58 ---> saved as "2b594b46101093b0f018ee7c3561556a379f232782fe26029ec6bca5eec85bb8"
/src: (run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build"))
(cd _build/default/test && ./test.exe)
Testing `Base32'.
This run has ID `MX9JBI5G'.
[OK] encode 0 helloworld.
[OK] encode32 0
[OK] encode32 1 f.
[OK] encode32 2 fo.
[OK] encode32 3 foo.
[OK] encode32 4 foob.
[OK] encode32 5 fooba.
[OK] encode32 6 foobar.
[OK] encode32hex 0
[OK] encode32hex 1 f.
[OK] encode32hex 2 fo.
[OK] encode32hex 3 foo.
[OK] encode32hex 4 foob.
[OK] encode32hex 5 fooba.
[OK] encode32hex 6 foobar.
[OK] decode32 0
[OK] decode32 1 f.
[OK] decode32 2 fo.
[OK] decode32 3 foo.
[OK] decode32 4 foob.
[OK] decode32 5 fooba.
[OK] decode32 6 foobar.
Full test results in `/src/_build/default/test/_build/_tests/Base32'.
Test Successful in 0.001s. 22 tests run.
2024-05-11 00:14.59 ---> saved as "1461c1f77239f4cf312892cf5b18da1d4baf1402a86ce1c89d02bb29ab393669"
Job succeeded
2024-05-11 00:15.00: Job succeeded