2024-04-10 16:13.17: New job: test mirleft/ocaml-asn1-combinators https://github.com/mirleft/ocaml-asn1-combinators.git#refs/heads/main (df4ad9e454d53412bb3988c1f7051d29bf7b30f3) (linux-x86_64:(lower-bound))
Base: ocaml/opam@sha256:e30e92a245a5f284471a3437bd6b19ebfb9ae067e380416fd178b1f6c2290480
Opam project build
To reproduce locally:
git clone --recursive "https://github.com/mirleft/ocaml-asn1-combinators.git" -b "main" && cd "ocaml-asn1-combinators" && git reset --hard df4ad9e4
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam@sha256:e30e92a245a5f284471a3437bd6b19ebfb9ae067e380416fd178b1f6c2290480
# debian-12-4.08_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 58906d6837efc7562b4259f5bd6ad130e46ca207 || git fetch origin master) && git reset -q --hard 58906d6837efc7562b4259f5bd6ad130e46ca207 && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 asn1-combinators.opam ./
RUN opam pin add -yn asn1-combinators.dev './'
ENV DEPS="alcotest.0.8.1 astring.0.8.2 base-bigarray.base base-bytes.base base-threads.base base-unix.base cmdliner.1.0.0 conf-m4.1 dune.1.6.0 fmt.0.8.0 jbuilder.transition ocaml.4.08.1 ocaml-base-compiler.4.08.1 ocaml-config.1 ocamlbuild.0.14.0 ocamlfind.1.8.0 ptime.0.8.6 result.1.0 topkg.1.0.3"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.1 --depext-only -y asn1-combinators.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-04-10 16:13.17: Using cache hint "mirleft/ocaml-asn1-combinators-ocaml/opam@sha256:e30e92a245a5f284471a3437bd6b19ebfb9ae067e380416fd178b1f6c2290480-debian-12-4.08_opam-2.1-b9c42c6eea4f5bf56e116cfcd4729dba"
2024-04-10 16:13.17: Using OBuilder spec:
((from ocaml/opam@sha256:e30e92a245a5f284471a3437bd6b19ebfb9ae067e380416fd178b1f6c2290480)
(comment debian-12-4.08_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 58906d6837efc7562b4259f5bd6ad130e46ca207 || git fetch origin master) && git reset -q --hard 58906d6837efc7562b4259f5bd6ad130e46ca207 && git log --no-decorate -n1 --oneline && opam update -u"))
(copy (src asn1-combinators.opam) (dst ./))
(run (network host)
(shell "opam pin add -yn asn1-combinators.dev './'"))
(env DEPS "alcotest.0.8.1 astring.0.8.2 base-bigarray.base base-bytes.base base-threads.base base-unix.base cmdliner.1.0.0 conf-m4.1 dune.1.6.0 fmt.0.8.0 jbuilder.transition ocaml.4.08.1 ocaml-base-compiler.4.08.1 ocaml-config.1 ocamlbuild.0.14.0 ocamlfind.1.8.0 ptime.0.8.6 result.1.0 topkg.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 asn1-combinators.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-04-10 16:13.17: Waiting for resource in pool OCluster
2024-04-10 18:34.31: Waiting for worker…
2024-04-10 18:37.48: Got resource from pool OCluster
Building on x86-bm-c18.sw.ocaml.org
All commits already cached
HEAD is now at df4ad9e changes for 0.3.0
(from ocaml/opam@sha256:e30e92a245a5f284471a3437bd6b19ebfb9ae067e380416fd178b1f6c2290480)
Unable to find image 'ocaml/opam@sha256:e30e92a245a5f284471a3437bd6b19ebfb9ae067e380416fd178b1f6c2290480' locally
docker.io/ocaml/opam@sha256:e30e92a245a5f284471a3437bd6b19ebfb9ae067e380416fd178b1f6c2290480: Pulling from ocaml/opam
Digest: sha256:e30e92a245a5f284471a3437bd6b19ebfb9ae067e380416fd178b1f6c2290480
Status: Downloaded newer image for ocaml/opam@sha256:e30e92a245a5f284471a3437bd6b19ebfb9ae067e380416fd178b1f6c2290480
2024-04-10 18:37.48 ---> using "ca7a47bb337547622343e1e691b0c92596d0990b9ed28342fd47c7204c2b0a74" from cache
/: (comment debian-12-4.08_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-04-10 18:37.48 ---> using "9362e111b0c9aa6dec1dc253e7435efd8f1ac8f2d7d6e66c10d24bc4c57ad605" 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-04-10 18:37.48 ---> using "d9b0dd4261d4b45d1d45fcc185429e91e6b23305997b0ad336885eac0d3204ff" from cache
/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-101-generic
The OCaml toplevel, version 4.08.1
2.1.5
2024-04-10 18:37.48 ---> using "6d08f9350fb9ef3e5cae7793dcb5f2ac075cfe0fc789bf328cd7ac0338e3980e" from cache
/src: (workdir /src)
/src: (run (shell "sudo chown opam /src"))
2024-04-10 18:37.48 ---> using "44438eb632bedbdf12ad26788b4a274ef117e2313c1b08772cdb3a6d8d921790" from cache
/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e 58906d6837efc7562b4259f5bd6ad130e46ca207 || git fetch origin master) && git reset -q --hard 58906d6837efc7562b4259f5bd6ad130e46ca207 && git log --no-decorate -n1 --oneline && opam update -u"))
58906d6837 conf-m4: add FreeBSD comment
<><> 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-04-10 18:39.03 ---> saved as "54c242ab23012f41cfac219972fca7342aed94c33235e6af1a8b93016fcf5cd4"
/src: (copy (src asn1-combinators.opam) (dst ./))
2024-04-10 18:39.03 ---> saved as "a262e6d9ccdb5c0ed29c25b8bb65075d461d66da8a96ac7424c2d143b4c2297a"
/src: (run (network host)
(shell "opam pin add -yn asn1-combinators.dev './'"))
[asn1-combinators.dev] synchronised (file:///src)
asn1-combinators is now pinned to file:///src (version dev)
2024-04-10 18:39.06 ---> saved as "6fdb360233d0548fae209d6126553f5d6d0064b889878563281ef9ed2bbfe3ae"
/src: (env DEPS "alcotest.0.8.1 astring.0.8.2 base-bigarray.base base-bytes.base base-threads.base base-unix.base cmdliner.1.0.0 conf-m4.1 dune.1.6.0 fmt.0.8.0 jbuilder.transition ocaml.4.08.1 ocaml-base-compiler.4.08.1 ocaml-config.1 ocamlbuild.0.14.0 ocamlfind.1.8.0 ptime.0.8.6 result.1.0 topkg.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 asn1-combinators.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 [150 kB]
- Fetched 253 kB in 0s (598 kB/s)
- Reading package lists...
-
<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[asn1-combinators.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.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
2024-04-10 18:39.28 ---> saved as "0ab535f4f2e28151c116c249d00aa0252da9686cd04af505d3164c4da71bb17d"
/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 result 1.0
- install dune 1.6.0
- install ocamlbuild 0.14.0
- install conf-m4 1
- install jbuilder transition
- install ocamlfind 1.8.0
- install topkg 1.0.3
- install base-bytes base
- install ptime 0.8.6
- install cmdliner 1.0.0
- install astring 0.8.2
- install fmt 0.8.0
- install alcotest 0.8.1
===== 13 to install =====
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved alcotest.0.8.1 (cached)
-> retrieved astring.0.8.2 (cached)
-> retrieved cmdliner.1.0.0 (cached)
-> retrieved dune.1.6.0 (cached)
-> installed conf-m4.1
-> retrieved fmt.0.8.0 (cached)
-> retrieved ocamlbuild.0.14.0 (cached)
-> retrieved ocamlfind.1.8.0 (cached)
-> retrieved ptime.0.8.6 (cached)
-> retrieved result.1.0 (cached)
-> retrieved topkg.1.0.3 (cached)
-> installed result.1.0
-> installed ocamlfind.1.8.0
-> installed base-bytes.base
-> installed ocamlbuild.0.14.0
-> installed topkg.1.0.3
-> installed ptime.0.8.6
-> installed astring.0.8.2
-> installed cmdliner.1.0.0
-> installed fmt.0.8.0
-> installed dune.1.6.0
-> installed jbuilder.transition
-> installed alcotest.0.8.1
Done.
<><> jbuilder.transition installed successfully <><><><><><><><><><><><><><><><>
=> Jbuilder has been renamed and the jbuilder package is now a transition package. Use the dune package instead.
# Run eval $(opam env) to update the current shell environment
2024-04-10 18:40.11 ---> saved as "be07036b7ce1679be50826aca2f9f759528355f89c50810ac848d911b5f473a9"
/src: (copy (src .) (dst /src))
2024-04-10 18:40.12 ---> saved as "789e0c054e1fcc03435f27ffea74051eec3342859bc974f0bd3fc4975b9fe473"
/src: (run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build"))
test alias tests/runtest
tput: No value for $TERM and no -T specified
stty: 'standard input': Inappropriate ioctl for device
Testing BER.
[OK] value samples 0 bool.
[OK] value samples 1 integer.
[OK] value samples 2 int.
[OK] value samples 3 null.
[OK] value samples 4 singleton seq.
[OK] value samples 5 rename stack.
[OK] value samples 6 sequence with implicits.
[OK] value samples 7 sequence with optional and explicit fields.
[OK] value samples 8 sequence with missing optional and choice fields.
[OK] value samples 9 sequence with sequence.
[OK] value samples 10 sequence_of choice.
[OK] value samples 11 sets.
[OK] value samples 12 set or seq.
[OK] value samples 13 large tag.
[OK] value samples 14 recursive encoding.
[OK] value samples 15 ia5 string.
[OK] value samples 16 bit string.
[OK] value samples 17 bit flags.
[OK] value samples 18 oid.
[OK] value samples 19 octets.
[OK] value samples 20 utc time.
[OK] value samples 21 generalized time.
[OK] - BER antisamples 0 tag overflow.
[OK] - BER antisamples 1 leading zero.
[OK] - BER antisamples 2 length overflow.
[OK] - BER antisamples 3 oid overflow.
[OK] - BER antisamples 4 empty integer.
[OK] - BER antisamples 5 redundant int form.
[OK] - BER antisamples 6 redundant oid form.
[OK] - BER antisamples 7 length overflow.
[OK] - BER antisamples 8 silly bit strings.
[OK] - BER antisamples 9 null with indefinite length.
[OK] - BER antisamples 10 32 bit length overflow.
[OK] - BER antisamples 11 int overflow.
[OK] + DER antisamples 0 constructed string 1.
[OK] + DER antisamples 1 constructed string 2.
[OK] + DER antisamples 2 expanded length.
[OK] + DER antisamples 3 redundant length.
[OK] certs 0 cert.
[OK] certs 1 cert.
[OK] certs 2 cert.
[OK] inv 0 bool.
[OK] inv 1 integer.
[OK] inv 2 int.
[OK] inv 3 null.
[OK] inv 4 singleton seq.
[OK] inv 5 rename stack.
[OK] inv 6 sequence with implicits.
[OK] inv 7 sequence with optional and explicit fields.
[OK] inv 8 sequence with missing optional and choice fields.
[OK] inv 9 sequence with sequence.
[OK] inv 10 sequence_of choice.
[OK] inv 11 sets.
[OK] inv 12 set or seq.
[OK] inv 13 large tag.
[OK] inv 14 recursive encoding.
[OK] inv 15 ia5 string.
[OK] inv 16 bit string.
[OK] inv 17 bit flags.
[OK] inv 18 oid.
[OK] inv 19 octets.
[OK] inv 20 utc time.
[OK] inv 21 generalized time.
The full test results are available in `_build/_tests`.
Test Successful in 0.164s. 63 tests run.
Testing DER.
[OK] - BER antisamples 0 tag overflow.
[OK] - BER antisamples 1 leading zero.
[OK] - BER antisamples 2 length overflow.
[OK] - BER antisamples 3 oid overflow.
[OK] - BER antisamples 4 empty integer.
[OK] - BER antisamples 5 redundant int form.
[OK] - BER antisamples 6 redundant oid form.
[OK] - BER antisamples 7 length overflow.
[OK] - BER antisamples 8 silly bit strings.
[OK] - BER antisamples 9 null with indefinite length.
[OK] - BER antisamples 10 32 bit length overflow.
[OK] - BER antisamples 11 int overflow.
[OK] - DER antisamples 0 constructed string 1.
[OK] - DER antisamples 1 constructed string 2.
[OK] - DER antisamples 2 expanded length.
[OK] - DER antisamples 3 redundant length.
[OK] certs 0 cert.
[OK] certs 1 cert.
[OK] certs 2 cert.
[OK] inv 0 bool.
[OK] inv 1 integer.
[OK] inv 2 int.
[OK] inv 3 null.
[OK] inv 4 singleton seq.
[OK] inv 5 rename stack.
[OK] inv 6 sequence with implicits.
[OK] inv 7 sequence with optional and explicit fields.
[OK] inv 8 sequence with missing optional and choice fields.
[OK] inv 9 sequence with sequence.
[OK] inv 10 sequence_of choice.
[OK] inv 11 sets.
[OK] inv 12 set or seq.
[OK] inv 13 large tag.
[OK] inv 14 recursive encoding.
[OK] inv 15 ia5 string.
[OK] inv 16 bit string.
[OK] inv 17 bit flags.
[OK] inv 18 oid.
[OK] inv 19 octets.
[OK] inv 20 utc time.
[OK] inv 21 generalized time.
The full test results are available in `_build/_tests`.
Test Successful in 0.154s. 41 tests run.
2024-04-10 18:40.13 ---> saved as "37076d9b3a045404d198fd5d1c4fb176d0e6faf44950c13d2d2ff39170eebc42"
Job succeeded
2024-04-10 18:40.13: Job succeeded