2024-03-19 14:32.20: New job: test dinosaure/unstrctrd https://github.com/dinosaure/unstrctrd.git#refs/heads/master (fcecf2825bd1b27088abe44d5cd7ab5a8fecdcd2) (macos-x86_64:macos-homebrew-4.14_opam-2.1)
Base: macos-homebrew-ocaml-4.14
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 macos-homebrew-ocaml-4.14
# macos-homebrew-4.14_opam-2.1
USER 1000:1000
ENV CLICOLOR_FORCE="1"
ENV OPAMCOLOR="always"
RUN ln -f ~/local/bin/opam-2.1 ~/local/bin/opam
RUN opam init --reinit -ni
RUN uname -rs && opam exec -- ocaml -version && opam --version
RUN cd ~/opam-repository && (git cat-file -e 294bafe2db1d8c7e5e321c3c41a9577c137b8003 || git fetch origin master) && git reset -q --hard 294bafe2db1d8c7e5e321c3c41a9577c137b8003 && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 unstrctrd.opam ./src/./
RUN opam pin add -yn unstrctrd.dev './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.2 ocaml-base-compiler.4.14.2 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 cd ./src && opam exec -- dune build @install @check @runtest && rm -rf _build
END-OF-DOCKERFILE
docker build .
END-REPRO-BLOCK
2024-03-19 14:32.20: Using cache hint "dinosaure/unstrctrd-macos-macos-homebrew-ocaml-4.14-macos-homebrew-4.14_opam-2.1-67d1e981c441b427bbcc28ec70c2b073"
2024-03-19 14:32.20: Using OBuilder spec:
((from macos-homebrew-ocaml-4.14)
(comment macos-homebrew-4.14_opam-2.1)
(user (uid 1000) (gid 1000))
(env CLICOLOR_FORCE 1)
(env OPAMCOLOR always)
(run (shell "ln -f ~/local/bin/opam-2.1 ~/local/bin/opam"))
(run (shell "opam init --reinit -ni"))
(run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
(run (cache (opam-archives (target /Users/mac1000/.opam/download-cache)) (homebrew (target /Users/mac1000/Library/Caches/Homebrew)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e 294bafe2db1d8c7e5e321c3c41a9577c137b8003 || git fetch origin master) && git reset -q --hard 294bafe2db1d8c7e5e321c3c41a9577c137b8003 && git log --no-decorate -n1 --oneline && opam update -u"))
(copy (src unstrctrd.opam) (dst ./src/./))
(run (network host)
(shell "opam pin add -yn unstrctrd.dev './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.2 ocaml-base-compiler.4.14.2 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 /Users/mac1000/.opam/download-cache)) (homebrew (target /Users/mac1000/Library/Caches/Homebrew)))
(network host)
(shell "opam update --depexts && opam install --cli=2.1 --depext-only -y unstrctrd.dev $DEPS"))
(run (cache (opam-archives (target /Users/mac1000/.opam/download-cache)) (homebrew (target /Users/mac1000/Library/Caches/Homebrew)))
(network host)
(shell "opam install $DEPS"))
(copy (src .) (dst ./src))
(run (shell "cd ./src && opam exec -- dune build @install @check @runtest && rm -rf _build"))
)
2024-03-19 14:32.20: Waiting for resource in pool OCluster
2024-03-19 14:32.21: Waiting for worker…
2024-03-19 19:47.38: Got resource from pool OCluster
Building on i7-worker-01
All commits already cached
HEAD is now at fcecf28 Merge pull request #14 from dinosaure/prepare-v0.3
(from macos-homebrew-ocaml-4.14)
2024-03-19 19:47.39 ---> using "0c60f117aee57abea8364cb033d47bb1d63ff0f68e5ee97378e032498e8442af" from cache
/: (comment macos-homebrew-4.14_opam-2.1)
/: (user (uid 1000) (gid 1000))
/: (env CLICOLOR_FORCE 1)
/: (env OPAMCOLOR always)
/: (run (shell "ln -f ~/local/bin/opam-2.1 ~/local/bin/opam"))
2024-03-19 19:47.39 ---> using "25b9bb92388ede51fae89d4de3a3dbc7bf0716456eef41b1ea8636995a3eeab7" from cache
/: (run (shell "opam init --reinit -ni"))
No configuration file found, using 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.
<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] no changes from git+file:///Users/mac1000/opam-repository
2024-03-19 19:47.39 ---> using "0525a69f67d7dcc5812c572fe55aa709891b6884e539fc956e1641dd42758a4d" from cache
/: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Darwin 23.1.0
The OCaml toplevel, version 4.14.2
2.1.5
2024-03-19 19:47.40 ---> using "f4908fd0e5799798bb14c138897a7b0cd12737558237c57b6cfe71feb61d52ba" from cache
/: (run (cache (opam-archives (target /Users/mac1000/.opam/download-cache)) (homebrew (target /Users/mac1000/Library/Caches/Homebrew)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e 294bafe2db1d8c7e5e321c3c41a9577c137b8003 || git fetch origin master) && git reset -q --hard 294bafe2db1d8c7e5e321c3c41a9577c137b8003 && git log --no-decorate -n1 --oneline && opam update -u"))
294bafe2db OCaml 4.14.2 packages
<><> Updating package repositories ><><><><><><><><><><><><><><><><><><><><><><>
[default] synchronised from git+file:///Users/mac1000/opam-repository
Constructing initial basis...
Everything as up-to-date as possible (run with --verbose to show unavailable upgrades).
The following packages are not being upgraded because the new versions conflict with other installed packages:
- ocaml.5.3.0
- ocaml-config.3
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-19 19:47.40 ---> using "0bff78e76047af140081ef32ef8c214ee462076b35eb4a573317b0c9c090f4fb" from cache
/: (copy (src unstrctrd.opam) (dst ./src/./))
2024-03-19 19:47.40 ---> using "ea443f8ddfbb5c57923230bf3957022bebcb2f6e761b2c9df9f34d993b890e2e" from cache
/: (run (network host)
(shell "opam pin add -yn unstrctrd.dev './src/./'"))
[unstrctrd.dev] synchronised (file:///Users/mac1000/src)
unstrctrd is now pinned to file:///Users/mac1000/src (version dev)
2024-03-19 19:47.41 ---> using "50c64a485c301ac363ec8da5e25479b5b9aa165c5db3fdb2b77cc10773e5b541" from cache
/: (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.2 ocaml-base-compiler.4.14.2 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 /Users/mac1000/.opam/download-cache)) (homebrew (target /Users/mac1000/Library/Caches/Homebrew)))
(network host)
(shell "opam update --depexts && opam install --cli=2.1 --depext-only -y unstrctrd.dev $DEPS"))
+ /usr/local/bin/brew "update"
- ==> Updating Homebrew...
- Already up-to-date.
<><> 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.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).
Constructing initial basis...
Number of 0-1 knapsack inequalities = 3
Constructing conflict graph...
Conflict graph has 4 + 3 = 7 vertices
2024-03-19 19:47.41 ---> using "c14d09afdfd627fad3802ff5d739569f5bf3ed13b3fefe99866b5d62643eee79" from cache
/: (run (cache (opam-archives (target /Users/mac1000/.opam/download-cache)) (homebrew (target /Users/mac1000/Library/Caches/Homebrew)))
(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).
Constructing initial basis...
Number of 0-1 knapsack inequalities = 3
Constructing conflict graph...
Conflict graph has 4 + 3 = 7 vertices
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 cppo.1.6.9 (cached)
-> retrieved cmdliner.1.2.0 (cached)
-> retrieved dune.3.14.2 (cached)
-> retrieved dune-configurator.3.14.2 (cached)
-> retrieved fmt.0.9.0 (cached)
-> retrieved csexp.1.5.2 (cached)
-> retrieved hxd.0.3.2 (cached)
-> retrieved ke.0.6 (cached)
-> retrieved ocaml-syntax-shims.1.0.0 (cached)
-> retrieved crowbar.0.2.1 (https://github.com/stedolan/crowbar/archive/v0.2.1.tar.gz)
-> retrieved ocamlfind.1.9.6 (cached)
-> retrieved re.1.11.0 (cached)
-> retrieved ocplib-endian.1.2 (cached)
-> retrieved rresult.0.7.0 (cached)
-> retrieved stdlib-shims.0.3.0 (cached)
-> installed cmdliner.1.2.0
-> installed seq.base
-> retrieved uutf.1.0.3 (cached)
-> retrieved topkg.1.0.7 (cached)
-> retrieved ocamlbuild.0.14.3 (cached)
-> installed ocamlfind.1.9.6
-> installed base-bytes.base
-> installed ocamlbuild.0.14.3
-> 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 stdlib-shims.0.3.0
-> installed csexp.1.5.2
-> installed re.1.11.0
-> installed ocaml-syntax-shims.1.0.0
-> installed afl-persistent.1.4
-> installed ke.0.6
-> installed cppo.1.6.9
-> installed ocplib-endian.1.2
-> installed crowbar.0.2.1
-> installed dune-configurator.3.14.2
-> installed alcotest.1.7.0
-> installed bigstringaf.0.9.1
-> installed hxd.0.3.2
-> installed angstrom.0.16.0
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.2+afl ocaml-variants.4.14.2+options ocaml-option-afl
# Run eval $(opam env) to update the current shell environment
2024-03-19 19:47.42 ---> using "36a380dbec9c73f0e7e735c5dd02d8ef55ebe8e9e79cc6291a3c77a7e268834d" from cache
/: (copy (src .) (dst ./src))
2024-03-19 19:47.43 ---> saved as "a88e905fe7c5cc8494514914234871117889e52973dae762f89b44055c64268c"
/: (run (shell "cd ./src && opam exec -- dune build @install @check @runtest && rm -rf _build"))
(cd _build/default/test && ./test.exe --color=always)
Testing `unstrctrd'.
This run has ID `NLIMG44C'.
[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.007s. 42 tests run.
(cd _build/default/test && ./test_angstrom.exe --color=always)
Testing `unstrctrd + angstrom'.
This run has ID `9QCZPBG7'.
[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-19 19:47.46 ---> saved as "8bdf457ec187849fe23e933bc6c37935c040e8cdf6afd593d95550576f135f55"
Job succeeded
2024-03-19 19:47.52: Job succeeded