2024-03-15 10:28.21: New job: test dinosaure/unstrctrd https://github.com/dinosaure/unstrctrd.git#refs/heads/master (fcecf2825bd1b27088abe44d5cd7ab5a8fecdcd2) (linux-x86_64:fedora-37-4.14_opam-2.1)
Base: ocaml/opam@sha256:db2d5c04c9f7d2aee7abc2fedb59ae9336ddcd2817d2bc98d5be8f92b5d1ad6e
Opam project build
To reproduce locally:
git clone --recursive "https://github.com/dinosaure/unstrctrd.git" -b "master" && cd "unstrctrd" && git reset --hard fcecf282
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam@sha256:db2d5c04c9f7d2aee7abc2fedb59ae9336ddcd2817d2bc98d5be8f92b5d1ad6e
# fedora-37-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 opam exec -- ocaml -version && opam --version
WORKDIR /src
RUN sudo chown opam /src
RUN cd ~/opam-repository && (git cat-file -e c1d400d20b9fda73fd4e9cdc25a502d21b1ea7f1 || git fetch origin master) && git reset -q --hard c1d400d20b9fda73fd4e9cdc25a502d21b1ea7f1 && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 unstrctrd.opam ./
RUN opam pin add -yn unstrctrd.dev './'
ENV DEPS="afl-persistent.1.4 alcotest.1.7.0 angstrom.0.16.0 astring.0.8.5 base-bigarray.base base-bytes.base base-threads.base base-unix.base bigstringaf.0.9.1 cmdliner.1.2.0 cppo.1.6.9 crowbar.0.2.1 csexp.1.5.2 dune.3.14.2 dune-configurator.3.14.2 fmt.0.9.0 hxd.0.3.2 ke.0.6 ocaml.4.14.1 ocaml-base-compiler.4.14.1 ocaml-config.2 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocamlbuild.0.14.3 ocamlfind.1.9.6 ocplib-endian.1.2 re.1.11.0 rresult.0.7.0 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 unstrctrd.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-03-15 10:28.21: Using cache hint "dinosaure/unstrctrd-ocaml/opam@sha256:db2d5c04c9f7d2aee7abc2fedb59ae9336ddcd2817d2bc98d5be8f92b5d1ad6e-fedora-37-4.14_opam-2.1-2ecfbc3306d607425290b3f5a4a3749b"
2024-03-15 10:28.21: Using OBuilder spec:
((from ocaml/opam@sha256:db2d5c04c9f7d2aee7abc2fedb59ae9336ddcd2817d2bc98d5be8f92b5d1ad6e)
(comment fedora-37-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 "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 c1d400d20b9fda73fd4e9cdc25a502d21b1ea7f1 || git fetch origin master) && git reset -q --hard c1d400d20b9fda73fd4e9cdc25a502d21b1ea7f1 && git log --no-decorate -n1 --oneline && opam update -u"))
(copy (src unstrctrd.opam) (dst ./))
(run (network host)
(shell "opam pin add -yn unstrctrd.dev './'"))
(env DEPS "afl-persistent.1.4 alcotest.1.7.0 angstrom.0.16.0 astring.0.8.5 base-bigarray.base base-bytes.base base-threads.base base-unix.base bigstringaf.0.9.1 cmdliner.1.2.0 cppo.1.6.9 crowbar.0.2.1 csexp.1.5.2 dune.3.14.2 dune-configurator.3.14.2 fmt.0.9.0 hxd.0.3.2 ke.0.6 ocaml.4.14.1 ocaml-base-compiler.4.14.1 ocaml-config.2 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocamlbuild.0.14.3 ocamlfind.1.9.6 ocplib-endian.1.2 re.1.11.0 rresult.0.7.0 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 unstrctrd.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-03-15 10:28.21: Waiting for resource in pool OCluster
2024-03-15 10:45.04: Waiting for worker…
2024-03-15 10:52.21: Got resource from pool OCluster
Building on x86-bm-c13.sw.ocaml.org
All commits already cached
HEAD is now at fcecf28 Merge pull request #14 from dinosaure/prepare-v0.3
(from ocaml/opam@sha256:db2d5c04c9f7d2aee7abc2fedb59ae9336ddcd2817d2bc98d5be8f92b5d1ad6e)
2024-03-15 10:52.22 ---> using "21113cacc35c258b68e07ad5edcf035bdc4c7646904ccf8799882bbcf7270b15" from cache
/: (comment fedora-37-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 37 - x86_64 53 kB/s | 21 kB 00:00
Fedora Modular 37 - x86_64 153 kB/s | 21 kB 00:00
Fedora 37 - x86_64 - Updates 50 kB/s | 21 kB 00:00
Fedora Modular 37 - x86_64 - Updates 50 kB/s | 20 kB 00:00
Package findutils-1:4.9.0-2.fc37.x86_64 is already installed.
Dependencies resolved.
Nothing to do.
Complete!
2024-03-15 10:52.22 ---> using "1640aa34ffff1a43fb11d38d49db8fb76c70d239950d4107949de49b672e9927" from cache
/src: (run (shell "sudo ln -f /usr/bin/opam-2.1 /usr/bin/opam"))
2024-03-15 10:52.22 ---> using "261d59a59f7294d51f9e49c39fb75e9e8c41543ab4a39707c75975d1a41c1fa1" 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-03-15 10:52.22 ---> using "5309db8d87e71936d821995a8957894ed809ac0860c29727cfe5e586c38642a5" from cache
/src: (run (shell "opam exec -- ocaml -version && opam --version"))
The OCaml toplevel, version 4.14.1
2.1.5
2024-03-15 10:52.22 ---> using "a9aa1955de26f50b2e2c4eed58de0266000f88a1017b115119e58b7b954faba9" from cache
/src: (workdir /src)
/src: (run (shell "sudo chown opam /src"))
2024-03-15 10:52.22 ---> using "b819ff70f5c47e6fcf1c6cec8dd7779c39117ef7f752ac51a5c43743a2afd832" from cache
/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e c1d400d20b9fda73fd4e9cdc25a502d21b1ea7f1 || git fetch origin master) && git reset -q --hard c1d400d20b9fda73fd4e9cdc25a502d21b1ea7f1 && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
* branch master -> FETCH_HEAD
a6ba98231d..69e073a577 master -> origin/master
c1d400d20b [new release] dune (15 packages) (3.14.2)
<><> 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-03-15 10:53.43 ---> saved as "32b72ff9bbad2be75c7e7bd6bcf89242fac12acf5987c0a461592d82584fae6f"
/src: (copy (src unstrctrd.opam) (dst ./))
2024-03-15 10:53.43 ---> saved as "4d645093dddae3416ca7bd33312cd4c79ec9013d0ce1b998bc16a5ba6d64d96b"
/src: (run (network host)
(shell "opam pin add -yn unstrctrd.dev './'"))
[unstrctrd.dev] synchronised (file:///src)
unstrctrd is now pinned to file:///src (version dev)
2024-03-15 10:53.45 ---> saved as "10c901a7bf441b14403be3b2dde307ec06aa8f980510caaaa4a7907ca9464865"
/src: (env DEPS "afl-persistent.1.4 alcotest.1.7.0 angstrom.0.16.0 astring.0.8.5 base-bigarray.base base-bytes.base base-threads.base base-unix.base bigstringaf.0.9.1 cmdliner.1.2.0 cppo.1.6.9 crowbar.0.2.1 csexp.1.5.2 dune.3.14.2 dune-configurator.3.14.2 fmt.0.9.0 hxd.0.3.2 ke.0.6 ocaml.4.14.1 ocaml-base-compiler.4.14.1 ocaml-config.2 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocamlbuild.0.14.3 ocamlfind.1.9.6 ocplib-endian.1.2 re.1.11.0 rresult.0.7.0 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 unstrctrd.dev $DEPS"))
+ /usr/bin/sudo "yum" "makecache"
- Fedora 37 - x86_64 155 kB/s | 21 kB 00:00
- Fedora 37 openh264 (From Cisco) - x86_64 6.7 kB/s | 989 B 00:00
- Fedora Modular 37 - x86_64 167 kB/s | 21 kB 00:00
- Fedora 37 - x86_64 - Updates 50 kB/s | 21 kB 00:00
- Fedora Modular 37 - x86_64 - Updates 163 kB/s | 20 kB 00:00
- Metadata cache created.
<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[unstrctrd.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.1).
[NOTE] Package ocaml is already installed (current version is 4.14.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-03-15 10:54.10 ---> saved as "30e02b5d6fe71715241f56818bf99e6bef18cb208395528d3c72b50201b766c1"
/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.1).
[NOTE] Package ocaml is already installed (current version is 4.14.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 ocamlbuild 0.14.3
- install cmdliner 1.2.0
- install ocamlfind 1.9.6
- install seq base
- install dune 3.14.2
- install topkg 1.0.7
- install base-bytes base
- install stdlib-shims 0.3.0
- install re 1.11.0
- install ocaml-syntax-shims 1.0.0
- install csexp 1.5.2
- install cppo 1.6.9
- install afl-persistent 1.4
- install uutf 1.0.3
- install rresult 0.7.0
- install fmt 0.9.0
- install astring 0.8.5
- install dune-configurator 3.14.2
- install ocplib-endian 1.2
- install ke 0.6
- install alcotest 1.7.0
- install hxd 0.3.2
- install bigstringaf 0.9.1
- install crowbar 0.2.1
- install angstrom 0.16.0
===== 25 to install =====
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved afl-persistent.1.4 (cached)
-> retrieved angstrom.0.16.0 (cached)
-> retrieved astring.0.8.5 (cached)
-> retrieved bigstringaf.0.9.1 (cached)
-> retrieved alcotest.1.7.0 (cached)
-> retrieved cmdliner.1.2.0 (cached)
-> retrieved cppo.1.6.9 (cached)
-> retrieved crowbar.0.2.1 (cached)
-> retrieved csexp.1.5.2 (cached)
-> retrieved fmt.0.9.0 (cached)
-> retrieved hxd.0.3.2 (cached)
-> retrieved ke.0.6 (cached)
-> retrieved ocaml-syntax-shims.1.0.0 (cached)
-> retrieved ocamlbuild.0.14.3 (cached)
-> retrieved ocamlfind.1.9.6 (cached)
-> retrieved ocplib-endian.1.2 (cached)
-> retrieved re.1.11.0 (cached)
-> retrieved rresult.0.7.0 (cached)
-> installed seq.base
-> retrieved stdlib-shims.0.3.0 (cached)
-> retrieved topkg.1.0.7 (cached)
-> retrieved uutf.1.0.3 (cached)
-> retrieved dune.3.14.2 (cached)
-> retrieved dune-configurator.3.14.2 (cached)
-> installed cmdliner.1.2.0
-> installed ocamlbuild.0.14.3
-> installed ocamlfind.1.9.6
-> installed base-bytes.base
-> installed topkg.1.0.7
-> installed rresult.0.7.0
-> installed uutf.1.0.3
-> installed fmt.0.9.0
-> installed astring.0.8.5
-> installed dune.3.14.2
-> installed afl-persistent.1.4
-> installed csexp.1.5.2
-> installed ke.0.6
-> installed stdlib-shims.0.3.0
-> installed re.1.11.0
-> installed ocaml-syntax-shims.1.0.0
-> installed cppo.1.6.9
-> installed ocplib-endian.1.2
-> installed crowbar.0.2.1
-> installed alcotest.1.7.0
-> installed dune-configurator.3.14.2
-> installed bigstringaf.0.9.1
-> installed angstrom.0.16.0
-> installed hxd.0.3.2
Done.
<><> afl-persistent.1.4 installed successfully ><><><><><><><><><><><><><><><><>
=> afl-persistent is installed, but since the current OCaml compiler does
not enable AFL instrumentation by default, most packages will not be
instrumented and fuzzing with afl-fuzz may not be effective.
To globally enable AFL instrumentation, create an OCaml switch like:
opam switch create 4.14.1+afl ocaml-variants.4.14.1+options ocaml-option-afl
# Run eval $(opam env) to update the current shell environment
2024-03-15 10:55.06 ---> saved as "8d8ce1f987ff90afa45fc5a06df25fd900b9880418448de1afd4a09b5d5f2e85"
/src: (copy (src .) (dst /src))
2024-03-15 10:55.06 ---> saved as "e74edd22bf80a865c1e652f558bc51c76c727b8ac4146add27b0094822148abc"
/src: (run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build"))
(cd _build/default/test && ./test.exe --color=always)
Testing `unstrctrd'.
This run has ID `ZJUBJLJZ'.
[OK] valid 0 "Hello".
[OK] valid 1 "Hello\r\n World".
[OK] valid 2 "Hello\r\n \r\n \r\n World".
[OK] valid 3 " \r\n ".
[OK] valid 4 "".
[OK] valid 5 " ".
[OK] valid 6 " \r\n ".
[OK] valid 7 "Hello".
[OK] valid 8 "".
[OK] valid 9 "\r".
[OK] valid 10 "\r\r".
[OK] valid 11 "\r\n \r".
[OK] valid 12 "\n".
[OK] valid 13 "\n\n".
[OK] valid 14 "\n\n\r\n ".
[OK] valid 15 "\n\r\n Hello\r\n World\r\n !".
[OK] comments 0 "Hello".
[OK] comments 1 "Hello World!".
[OK] comments 2 "".
[OK] comments 3 "Hello".
[OK] comments 4 "(Hello)".
[OK] comments 5 "Hello".
[OK] comments 6 "Hello".
[OK] complex 0 "To:A Group :Chris Jones <c@public...
[OK] complex 1 "To : Mary Smith <mary@example...
[OK] complex 2 "Date: Thu, 13 Feb 1969 23:32 -033...
[OK] split_at 0 ("", "").
[OK] split_at 1 ("", "Hello").
[OK] split_at 2 ("Hello", "\r\n World!").
[OK] split_on 0 "\r\n".
[OK] split_on 1 "Hello\r\n".
[OK] split_on 2 "Hello\r\n World!\r\n".
[OK] split_on 3 "Hello World!\r\n".
[OK] invalid 0 "Hello".
[OK] invalid 1 "Hello\r".
[OK] invalid 2 "Hello\n".
[OK] invalid 3 "Hello\r\n ".
[OK] quoted-string 0 "Hello \"World\"!".
[OK] quoted-string 1 "token=\":)\"".
[OK] quoted-string 2 "Hello".
[OK] quoted-string 3 "Hello".
[OK] escaping 0 "\\a\\b\\c".
Full test results in `/src/_build/default/test/_build/_tests/unstrctrd'.
Test Successful in 0.003s. 42 tests run.
(cd _build/default/test && ./test_angstrom.exe --color=always)
Testing `unstrctrd + angstrom'.
This run has ID `VMEMGWSW'.
[OK] valid 0 ["Hello World!\r\n"].
[OK] valid 1 ["\r\r\n"].
[OK] valid 2 ["\r\r\r\n"].
[OK] valid 3 ["\r\n \r\r\n"].
[OK] valid 4 ["\n\r\n"].
[OK] valid 5 ["\n\n\r\n \r\n"].
[OK] valid 6 ["Hello World!\r\nSubject"].
[OK] valid 7 ["Hello"; " "; "World!\r\n"].
[OK] valid 8 ["Hello"; ""; ""; ""; ""; ""; "\r\n"; "S...
[OK] valid 9 ["Hello"; "\r\n "; ""; "World!"; "\r\n"].
[OK] valid 10 ["Hello"; "\r\n"; " "; "\r\n"; ""; " "; ...
[OK] valid 11 ["Hello"; "\r"; "\n"; "Subject"].
[OK] valid 12 ["Hello"; "\r"; "\n"; "\r"; "\n"].
[OK] valid 13 "From: John Doe <jdoe@machine.example>\r...
[OK] valid 14 "From: John Doe <jdoe@machine.example>\r...
[OK] valid 15 header.
[OK] invalid 0 ["Hello"].
[OK] invalid 1 ["Hello\r"].
[OK] invalid 2 ["Hello\r\n "].
Full test results in `/src/_build/default/test/_build/_tests/unstrctrd U+002B angstrom'.
Test Successful in 0.003s. 19 tests run.
(cd _build/default/fuzz && ./fuzz.exe)
never fail: PASS
2024-03-15 10:55.08 ---> saved as "4cedc80e9430d75490c7e0a8c83d3575ac67dc76e054df151e114105d3798f47"
Job succeeded
2024-03-15 10:55.08: Job succeeded