Organisationsocurrentbunedb099 (primary)(lower-bound)

(lower-bound)

Link Copied
Code Copied

Logs

2024-05-12 09:41.50: New job: test ocurrent/bun https://github.com/ocurrent/bun.git#refs/heads/primary (edb099ddce28a538412a62564b419879c278c403) (linux-x86_64:(lower-bound))
Base: ocaml/opam@sha256:fda21a992c5df0e509393861bcf1b40849d544491656742979043a148fbba8bb
Opam project build


To reproduce locally:


git clone --recursive "https://github.com/ocurrent/bun.git" -b "primary" && cd "bun" && git reset --hard edb099dd
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam@sha256:fda21a992c5df0e509393861bcf1b40849d544491656742979043a148fbba8bb
# 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 307e33d08fc4ccc1ea453ab45b0ead8ed574b97b || git fetch origin master) && git reset -q --hard 307e33d08fc4ccc1ea453ab45b0ead8ed574b97b && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 bun.opam ./
RUN opam pin add -yn bun.dev './'
ENV DEPS="afl.2.52b afl-persistent.1.1 astring.0.8.2 base-bigarray.base base-bytes.base base-threads.base base-unix.base bos.0.2.0 cmdliner.1.1.0 conf-m4.1 cppo.1.6.1 crowbar.0.2.1 dune.2.9.1 fmt.0.8.7 fpath.0.7.0 jbuilder.1.0+beta20.1 logs.0.6.2 lwt.4.2.0 mmap.1.0.2 ocaml.4.08.1 ocaml-base-compiler.4.08.1 ocaml-config.1 ocamlbuild.0.14.0 ocamlfind.1.8.0 ocplib-endian.1.0 result.1.0 rresult.0.4.0 seq.0.2.2 stdlib-shims.0.1.0 topkg.0.9.0"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.1 --depext-only -y bun.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-12 09:41.50: Using cache hint "ocurrent/bun-ocaml/opam@sha256:fda21a992c5df0e509393861bcf1b40849d544491656742979043a148fbba8bb-debian-12-4.08_opam-2.1-233d6b2581587fde450e3f22135ac40e"
2024-05-12 09:41.50: Using OBuilder spec:
((from ocaml/opam@sha256:fda21a992c5df0e509393861bcf1b40849d544491656742979043a148fbba8bb)
 (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 307e33d08fc4ccc1ea453ab45b0ead8ed574b97b || git fetch origin master) && git reset -q --hard 307e33d08fc4ccc1ea453ab45b0ead8ed574b97b && git log --no-decorate -n1 --oneline && opam update -u"))
 (copy (src bun.opam) (dst ./))
 (run (network host)
      (shell "opam pin add -yn bun.dev './'"))
 (env DEPS "afl.2.52b afl-persistent.1.1 astring.0.8.2 base-bigarray.base base-bytes.base base-threads.base base-unix.base bos.0.2.0 cmdliner.1.1.0 conf-m4.1 cppo.1.6.1 crowbar.0.2.1 dune.2.9.1 fmt.0.8.7 fpath.0.7.0 jbuilder.1.0+beta20.1 logs.0.6.2 lwt.4.2.0 mmap.1.0.2 ocaml.4.08.1 ocaml-base-compiler.4.08.1 ocaml-config.1 ocamlbuild.0.14.0 ocamlfind.1.8.0 ocplib-endian.1.0 result.1.0 rresult.0.4.0 seq.0.2.2 stdlib-shims.0.1.0 topkg.0.9.0")
 (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 bun.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-12 09:41.50: Waiting for resource in pool OCluster
2024-05-12 09:41.50: Waiting for worker…
2024-05-12 09:43.58: Got resource from pool OCluster
Building on x86-bm-c17.sw.ocaml.org
All commits already cached
HEAD is now at edb099d Merge pull request #32 from ocurrent/revert-31-patch-1


(from ocaml/opam@sha256:fda21a992c5df0e509393861bcf1b40849d544491656742979043a148fbba8bb)
2024-05-12 09:43.59 ---> using "e0805034d9e735da2cb99f3eb2cde6a7473dabe8bd1020b5bf9a6e9f3a9991fe" 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-05-12 09:43.59 ---> using "646bc87e0f57317c5ebf610ed55d499e1a9858c6afbb70f9b3c1442beb0c0bc7" 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-05-12 09:43.59 ---> using "3efe606a65f6fe7269ee6813ddd2fa2c2714f24a04a227ae5fb5c7db864c4c57" 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-05-12 09:43.59 ---> using "6225fba4323f2de754e24da77b187b22e091a3b5bdd8f66c82092a9cc9863ec9" from cache


/src: (workdir /src)


/src: (run (shell "sudo chown opam /src"))
2024-05-12 09:43.59 ---> using "35c4353ebc362a36ebb5c4ac3584cadf9893526dc08b896ef76d9b395ed9c850" from cache


/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
   eb2dcab0d8..fec8ff50cd  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-12 09:43.59 ---> using "167082e53e3e0b5c6101e17be718ec3e4c289917b8e1d14e9b0bc7b95515b5c7" from cache


/src: (copy (src bun.opam) (dst ./))
2024-05-12 09:43.59 ---> saved as "42b79371db14eabfa6b58d01ab09f6e5f6a14657a408b90801e6cf3fcf70a817"


/src: (run (network host)
           (shell "opam pin add -yn bun.dev './'"))
[bun.dev] synchronised (file:///src)
bun is now pinned to file:///src (version dev)
2024-05-12 09:44.02 ---> saved as "c24e20a8b09ab4d960d58ec940c5b3ce0cadb29bbcb5556b6b1f9c625cfd97f0"


/src: (env DEPS "afl.2.52b afl-persistent.1.1 astring.0.8.2 base-bigarray.base base-bytes.base base-threads.base base-unix.base bos.0.2.0 cmdliner.1.1.0 conf-m4.1 cppo.1.6.1 crowbar.0.2.1 dune.2.9.1 fmt.0.8.7 fpath.0.7.0 jbuilder.1.0+beta20.1 logs.0.6.2 lwt.4.2.0 mmap.1.0.2 ocaml.4.08.1 ocaml-base-compiler.4.08.1 ocaml-config.1 ocamlbuild.0.14.0 ocamlfind.1.8.0 ocplib-endian.1.0 result.1.0 rresult.0.4.0 seq.0.2.2 stdlib-shims.0.1.0 topkg.0.9.0")


/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 bun.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 [155 kB]
- Fetched 258 kB in 0s (928 kB/s)
- Reading package lists...


<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[bun.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-05-12 09:44.31 ---> saved as "fd688e2c6592ae689196aab6506b0cb8c6b0c71e68426778d5fe5531c1ef5597"


/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 conf-m4        1
  - install jbuilder       1.0+beta20.1
  - install result         1.0
  - install dune           2.9.1
  - install afl            2.52b
  - install cmdliner       1.1.0
  - install ocamlbuild     0.14.0
  - install ocamlfind      1.8.0
  - install stdlib-shims   0.1.0
  - install seq            0.2.2
  - install mmap           1.0.2
  - install topkg          0.9.0
  - install base-bytes     base
  - install rresult        0.4.0
  - install fmt            0.8.7
  - install afl-persistent 1.1
  - install cppo           1.6.1
  - install astring        0.8.2
  - install ocplib-endian  1.0
  - install lwt            4.2.0
  - install fpath          0.7.0
  - install crowbar        0.2.1
  - install logs           0.6.2
  - install bos            0.2.0
===== 24 to install =====


<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved afl-persistent.1.1  (cached)
-> retrieved afl.2.52b  (cached)
-> retrieved astring.0.8.2  (cached)
-> retrieved bos.0.2.0  (cached)
-> retrieved cmdliner.1.1.0  (cached)
-> retrieved cppo.1.6.1  (cached)
-> installed conf-m4.1
-> retrieved crowbar.0.2.1  (cached)
-> retrieved fmt.0.8.7  (cached)
-> retrieved fpath.0.7.0  (cached)
-> retrieved logs.0.6.2  (cached)
-> retrieved lwt.4.2.0  (cached)
-> retrieved jbuilder.1.0+beta20.1  (cached)
-> retrieved mmap.1.0.2  (cached)
-> retrieved ocamlbuild.0.14.0  (cached)
-> retrieved dune.2.9.1  (cached)
-> retrieved ocamlfind.1.8.0  (cached)
-> retrieved ocplib-endian.1.0  (cached)
-> retrieved result.1.0  (cached)
-> retrieved rresult.0.4.0  (cached)
-> retrieved seq.0.2.2  (cached)
-> retrieved stdlib-shims.0.1.0  (cached)
-> retrieved topkg.0.9.0  (cached)
-> installed result.1.0
-> installed cmdliner.1.1.0
-> installed ocamlfind.1.8.0
-> installed base-bytes.base
-> installed ocamlbuild.0.14.0
-> installed afl.2.52b
-> installed jbuilder.1.0+beta20.1
-> installed cppo.1.6.1
-> installed dune.2.9.1
-> installed mmap.1.0.2
-> installed topkg.0.9.0
-> installed stdlib-shims.0.1.0
-> installed seq.0.2.2
-> installed afl-persistent.1.1
-> installed rresult.0.4.0
-> installed fmt.0.8.7
-> installed astring.0.8.2
-> installed fpath.0.7.0
-> installed ocplib-endian.1.0
-> installed lwt.4.2.0
-> installed crowbar.0.2.1
-> installed logs.0.6.2
-> installed bos.0.2.0
Done.
# Run eval $(opam env) to update the current shell environment
2024-05-12 09:46.03 ---> saved as "c47318cb3fed0c68a9b3e19a1e2e462e7e2d400f6f0db802f255c93b6e2719f6"


/src: (copy (src .) (dst /src))
2024-05-12 09:46.03 ---> saved as "99e8409ab5a4a6b597efd60c23875d0e50c1a4f51d7105f69245e527b8a122ec"


/src: (run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build"))
        bash test/shorttest-output
09:46.04:[EXEC:53]['afl-gotcpu']
09:46.04:[EXEC:54]['grep' 'more processes on ']
09:46.06:[INFO]1 available cores detected!
09:46.06:[INFO]Executing /home/opam/.opam/4.08/bin/afl-fuzz -m 200 -i input -o output -M 1 -- ./short.exe @@
09:46.06:[INFO]/home/opam/.opam/4.08/bin/afl-fuzz launched: PID 87
09:46.06:[WARNING]Fuzzer 1 (pid=87) has failed with code 1
bun: All fuzzers finished, but some crashes were found!
        bash test/shorttest-output (exit 1)
(cd _build/default/test && /usr/bin/bash -e -u -o pipefail -c 'grep '\''Crashes found!'\'' shorttest-output || (cat shorttest-output; echo FAILED; exit 1)')
09:46.06:Fuzzers launched: [1 (pid=87)].
afl-fuzz 2.52b by <lcamtuf@google.com>
[+] Disabling the UI because AFL_NO_UI is set.
[+] You have 32 CPU cores and 101 runnable tasks (utilization: 316%).
[!] WARNING: System under apparent load, performance may be spotty.
[!] WARNING: Not binding to a CPU core (AFL_NO_AFFINITY set).
[*] Checking core_pattern...


[-] Hmm, your system is configured to send core dump notifications to an
    external utility. This will cause issues: there will be an extended delay
    between stumbling upon a crash and having this information relayed to the
    fuzzer via the standard waitpid() API.


    To avoid having crashes misinterpreted as timeouts, please log in as root
    and temporarily modify /proc/sys/kernel/core_pattern, like so:


    echo core >/proc/sys/kernel/core_pattern

[-] PROGRAM ABORT : Pipe at the beginning of 'core_pattern'
         Location : check_crash_handling(), afl-fuzz.c:7275


No crashes found!
FAILED
"/usr/bin/env" "bash" "-c" "opam exec -- dune build @install @check @runtest && rm -rf _build" failed with exit status 1
2024-05-12 09:46.06: Job failed: Failed: Build failed