Organisationsocurrentbunedb099 (primary)opensuse-15.6-4.14_opam-2.5

opensuse-15.6-4.14_opam-2.5

Link Copied
Code Copied

Logs

2026-01-16 11:37.00: New job: test ocurrent/bun https://github.com/ocurrent/bun.git#refs/heads/primary (edb099ddce28a538412a62564b419879c278c403) (linux-x86_64:opensuse-15.6-4.14_opam-2.5)
Base: ocaml/opam:opensuse-15.6-ocaml-4.14@sha256:ea5399b7a2ec2e4b64fcb77acf78d21ada08de36289328f93e71f81b9e933a1a
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:opensuse-15.6-ocaml-4.14@sha256:ea5399b7a2ec2e4b64fcb77acf78d21ada08de36289328f93e71f81b9e933a1a
# opensuse-15.6-4.14_opam-2.5
USER 1000:1000
ENV CLICOLOR_FORCE="1"
ENV OPAMCOLOR="always"
WORKDIR /src
RUN sudo ln -f /usr/bin/opam-2.5 /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 873cb18c37b308713d11ad3894c4bb78d73fb3e7 || git fetch origin master) && git reset -q --hard 873cb18c37b308713d11ad3894c4bb78d73fb3e7 && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 bun.opam ./
RUN opam pin add -yn bun.dev './'
RUN echo '(lang dune 3.0)' > './dune-project'
ENV DEPS="afl.2.52b afl-persistent.1.4 astring.0.8.5 base-bigarray.base base-bytes.base base-threads.base base-unix.base bos.0.2.1 cmdliner.2.1.0 cppo.1.8.0 crowbar.0.2.2 csexp.1.5.2 dune.3.21.0 dune-configurator.3.21.0 fmt.0.11.0 fpath.0.7.3 logs.0.10.0 lwt.6.0.0 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-config.2 ocaml-options-vanilla.1 ocamlbuild.0.16.1 ocamlfind.1.9.8 ocplib-endian.1.2 rresult.0.7.0 topkg.1.1.1"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.5 --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


2026-01-16 11:37.00: Using cache hint "ocurrent/bun-ocaml/opam:opensuse-15.6-ocaml-4.14@sha256:ea5399b7a2ec2e4b64fcb77acf78d21ada08de36289328f93e71f81b9e933a1a-opensuse-15.6-4.14_opam-2.5-ea96a1d6ff66001b24ea88807bbcc281"
2026-01-16 11:37.00: Using OBuilder spec:
((from ocaml/opam:opensuse-15.6-ocaml-4.14@sha256:ea5399b7a2ec2e4b64fcb77acf78d21ada08de36289328f93e71f81b9e933a1a)
(comment opensuse-15.6-4.14_opam-2.5)
(user (uid 1000) (gid 1000))
(env CLICOLOR_FORCE 1)
(env OPAMCOLOR always)
(workdir /src)
(run (shell "sudo ln -f /usr/bin/opam-2.5 /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 873cb18c37b308713d11ad3894c4bb78d73fb3e7 || git fetch origin master) && git reset -q --hard 873cb18c37b308713d11ad3894c4bb78d73fb3e7 && git log --no-decorate -n1 --oneline && opam update -u"))
(copy (src bun.opam) (dst ./))
(run (network host)
(shell "opam pin add -yn bun.dev './'"))
(run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
(env DEPS "afl.2.52b afl-persistent.1.4 astring.0.8.5 base-bigarray.base base-bytes.base base-threads.base base-unix.base bos.0.2.1 cmdliner.2.1.0 cppo.1.8.0 crowbar.0.2.2 csexp.1.5.2 dune.3.21.0 dune-configurator.3.21.0 fmt.0.11.0 fpath.0.7.3 logs.0.10.0 lwt.6.0.0 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-config.2 ocaml-options-vanilla.1 ocamlbuild.0.16.1 ocamlfind.1.9.8 ocplib-endian.1.2 rresult.0.7.0 topkg.1.1.1")
(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.5 --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"))
)


2026-01-16 11:37.00: Waiting for resource in pool OCluster
2026-01-16 12:24.06: Waiting for worker…
2026-01-16 12:28.06: Got resource from pool OCluster
Building on odawa.caelum.ci.dev
All commits already cached
HEAD is now at edb099d Merge pull request #32 from ocurrent/revert-31-patch-1


(from ocaml/opam:opensuse-15.6-ocaml-4.14@sha256:ea5399b7a2ec2e4b64fcb77acf78d21ada08de36289328f93e71f81b9e933a1a)
2026-01-16 12:28.06 ---> using "0063fda8739f5f8013b4d7431f310f1304f8d8914c38c2397f6b381aa46ec273" from cache


/: (comment opensuse-15.6-4.14_opam-2.5)


/: (user (uid 1000) (gid 1000))


/: (env CLICOLOR_FORCE 1)


/: (env OPAMCOLOR always)


/: (workdir /src)


/src: (run (shell "sudo ln -f /usr/bin/opam-2.5 /usr/bin/opam"))
2026-01-16 12:28.06 ---> using "38c94d6827ebe412f2996750507451699f5f6621b86121d2281595f46abbeb9c" 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.2, 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] Initialised
2026-01-16 12:28.06 ---> using "11af852d0112950e5f30d06d0c0eda86bd0aeb88bb02db838fc7d88a6dbbf398" from cache


/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 6.8.0-87-generic
The OCaml toplevel, version 4.14.2
2.5.0
2026-01-16 12:28.06 ---> using "c101ebfd6750326d6b9e77d3ee16fb4be1f1789cbaa7cebc13cb42335a75cdd1" from cache


/src: (workdir /src)


/src: (run (shell "sudo chown opam /src"))
2026-01-16 12:28.06 ---> using "18f59f94c3b99255205c86b6546e12704fb12d85a0ee3562cc1d3f20623ec97d" from cache


/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e 873cb18c37b308713d11ad3894c4bb78d73fb3e7 || git fetch origin master) && git reset -q --hard 873cb18c37b308713d11ad3894c4bb78d73fb3e7 && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
* branch                  master     -> FETCH_HEAD
235b964523..873cb18c37  master     -> origin/master
873cb18c37 Merge pull request #29216 from shonfeder/release-dune-3.21.0


<><> Updating package repositories ><><><><><><><><><><><><><><><><><><><><><><>
[default] synchronised from git+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 at these versions (e.g. "opam upgrade ocaml.5.4.0"), which will ask permission to downgrade or uninstall the conflicting packages.
Nothing to do.
# To update the current shell environment, run: eval $(opam env)
2026-01-16 12:28.06 ---> using "1ded90497a2a0faa2c45be6787986df73ad59cbba7617a7564b711cd17acc0d3" from cache


/src: (copy (src bun.opam) (dst ./))
2026-01-16 12:28.07 ---> saved as "dc043c72e4639d4b7419bbefd1b94fb9b85eceec42cd39f9e934306e4178cb4b"


/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)
2026-01-16 12:28.07 ---> saved as "9923dd7157f72f51b1779d16f95e7be6e6da3ba9e7f28a6c9673126fa8db52a5"


/src: (run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
2026-01-16 12:28.08 ---> saved as "0a8d31569b07911b8f7698f7472d0b54d3f87e551658335727a854dbeae738e8"


/src: (env DEPS "afl.2.52b afl-persistent.1.4 astring.0.8.5 base-bigarray.base base-bytes.base base-threads.base base-unix.base bos.0.2.1 cmdliner.2.1.0 cppo.1.8.0 crowbar.0.2.2 csexp.1.5.2 dune.3.21.0 dune-configurator.3.21.0 fmt.0.11.0 fpath.0.7.3 logs.0.10.0 lwt.6.0.0 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-config.2 ocaml-options-vanilla.1 ocamlbuild.0.16.1 ocamlfind.1.9.8 ocplib-endian.1.2 rresult.0.7.0 topkg.1.1.1")


/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.5 --depext-only -y bun.dev $DEPS"))
+ /usr/bin/sudo "zypper" "--non-interactive" "refresh"
- Retrieving repository 'Update repository of openSUSE Backports' metadata [..
- Looking for gpg keys in repository Update repository of openSUSE Backports.
-   gpgkey=http://download.opensuse.org/update/leap/15.6/backports/repodata/repomd.xml.key
- .....
- .........
- .....done]
- Building repository 'Update repository of openSUSE Backports' cache [....done]
- Retrieving repository 'Update repository with updates from SUSE Linux Enterprise 15' metadata [.
- .
- Looking for gpg keys in repository Update repository with updates from SUSE Linux Enterprise 15.
-   gpgkey=http://download.opensuse.org/update/leap/15.6/sle/repodata/repomd.xml.key
- .......
- ...
- ....
- ....
- ............
- ..........
- ..........
- .........
- ..........
- .........
- .
- .......
- ...
- ........
- .......
- ......
- ........
- ...
- .........
- ....
- ....
- ........
- .......
- .......
- .......
- ..........
- ........
- .
- ..
- ..
- ..
- ......
- done]
- Building repository 'Update repository with updates from SUSE Linux Enterprise 15' cache [..
- ..done]
- Retrieving repository 'Main Update Repository' metadata [.
- .
- Looking for gpg keys in repository Main Update Repository.
-   gpgkey=http://download.opensuse.org/update/leap/15.6/oss/repodata/repomd.xml.key
- .
- .
- ..
- ....
- ....
- ...........done]
- Building repository 'Main Update Repository' cache [....done]
- Retrieving repository 'Update Repository (Non-Oss)' metadata [..
- Looking for gpg keys in repository Update Repository (Non-Oss).
-   gpgkey=http://download.opensuse.org/update/leap/15.6/non-oss/repodata/repomd.xml.key
- .
- .....
- ...........done]
- Building repository 'Update Repository (Non-Oss)' cache [....done]
- Repository 'Non-OSS Repository' is up to date.
- Repository 'Main Repository' is up to date.
- All repositories have been refreshed.


<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[bun.dev] synchronised (file:///src)


[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).
# To update the current shell environment, run: eval $(opam env)
2026-01-16 12:29.34 ---> saved as "08ccceb845167a3def9319d5087b257db294c2888b0d97f7bef17e3be4656ce6"


/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 20 packages
- install afl               2.52b
- install afl-persistent    1.4
- install astring           0.8.5
- install base-bytes        base
- install bos               0.2.1
- install cmdliner          2.1.0
- install cppo              1.8.0
- install crowbar           0.2.2
- install csexp             1.5.2
- install dune              3.21.0
- install dune-configurator 3.21.0
- install fmt               0.11.0
- install fpath             0.7.3
- install logs              0.10.0
- install lwt               6.0.0
- install ocamlbuild        0.16.1
- install ocamlfind         1.9.8
- install ocplib-endian     1.2
- install rresult           0.7.0
- install topkg             1.1.1


<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved afl.2.52b  (cached)
-> retrieved afl-persistent.1.4  (cached)
-> retrieved astring.0.8.5  (cached)
-> retrieved bos.0.2.1  (cached)
-> retrieved cppo.1.8.0  (cached)
-> retrieved cmdliner.2.1.0  (cached)
-> retrieved crowbar.0.2.2  (cached)
-> retrieved csexp.1.5.2  (cached)
-> retrieved fmt.0.11.0  (cached)
-> retrieved fpath.0.7.3  (cached)
-> retrieved logs.0.10.0  (cached)
-> retrieved lwt.6.0.0  (cached)
-> retrieved ocamlbuild.0.16.1  (cached)
-> retrieved ocamlfind.1.9.8  (cached)
-> retrieved ocplib-endian.1.2  (cached)
-> retrieved rresult.0.7.0  (cached)
-> retrieved topkg.1.1.1  (cached)
-> retrieved dune.3.21.0, dune-configurator.3.21.0  (cached)
-> installed afl.2.52b
-> installed cmdliner.2.1.0
-> installed ocamlbuild.0.16.1
-> installed ocamlfind.1.9.8
-> installed base-bytes.base
-> installed topkg.1.1.1
-> installed rresult.0.7.0
-> installed fmt.0.11.0
-> installed astring.0.8.5
-> installed fpath.0.7.3
-> installed dune.3.21.0
-> installed afl-persistent.1.4
-> installed csexp.1.5.2
-> installed cppo.1.8.0
-> installed crowbar.0.2.2
-> installed ocplib-endian.1.2
-> installed dune-configurator.3.21.0
-> installed lwt.6.0.0
-> installed logs.0.10.0
-> installed bos.0.2.1
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
# To update the current shell environment, run: eval $(opam env)
2026-01-16 12:30.09 ---> saved as "c3857fbb56f90d5a1cbf718f99356f4f6fa77bded3c6a3405c6bca257bc348e4"


/src: (copy (src .) (dst /src))
2026-01-16 12:30.09 ---> saved as "7d6e17d4941072b1bce34e314ed8c809f0cb714e0016024489a9f91ef66248b2"


/src: (run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build"))
(cd _build/default/test && /usr/bin/bash -e -u -o pipefail -c '! timeout 30s ../src/bun.exe -vv --max-cores=2 ./short.exe') > _build/default/test/shorttest-output
12:30.10:[EXEC:47]['afl-gotcpu']
12:30.10:[EXEC:48]['grep' 'more processes on ']
12:30.11:[DEBUG]cores line: 202 to 249 cores. <<<
12:30.11:[INFO]2 available cores detected!
12:30.11:[INFO]Executing /home/opam/.opam/4.14/bin/afl-fuzz -m 200 -i input -o output -M 1 -- ./short.exe @@
12:30.11:[INFO]/home/opam/.opam/4.14/bin/afl-fuzz launched: PID 305
12:30.11:[INFO]Executing /home/opam/.opam/4.14/bin/afl-fuzz -m 200 -i input -o output -S 2 -- ./short.exe @@
12:30.11:[INFO]/home/opam/.opam/4.14/bin/afl-fuzz launched: PID 306
12:30.11:[EXEC:316]['base64' '-w' '0'
'output/2/crashes/id:000000,sig:06,src:000000,op:havoc,rep:128']
12:30.11:[EXEC:317]['base64' '-w' '0'
'output/1/crashes/id:000000,sig:06,src:000000,op:havoc,rep:16']
12:30.11:[INFO]Terminating fuzzer 1 (pid=305)
12:30.11:[INFO]Fuzzer 1 (pid=305) shut down, as requested
bun: All fuzzers finished, but some crashes were found!
(cd _build/default/test && /usr/bin/bash -e -u -o pipefail -c 'grep '\''Crashes found!'\'' shorttest-output || (cat shorttest-output; echo FAILED; exit 1)')
Crashes found! Take a look; copy/paste to save for reproduction:
12:30.11:Fuzzers launched: [1 (pid=305); 2 (pid=306)].
afl-fuzz 2.52b by <lcamtuf@google.com>
[+] Disabling the UI because AFL_NO_UI is set.
[+] You have 256 CPU cores and 32 runnable tasks (utilization: 12%).
[+] Try parallel jobs - see docs/parallel_fuzzing.txt.
[!] WARNING: Not binding to a CPU core (AFL_NO_AFFINITY set).
[*] Checking core_pattern...
[*] Setting up output directories...
[*] Scanning 'input'...
[+] No auto-generated dictionary tokens to reuse.
[*] Creating hard links for all input files...
[*] Validating target binary...
[+] Persistent mode binary detected.
[*] Attempting dry run with 'id:000000,orig:bun_autogenerated_seed'...
[*] Spinning up the fork server...
[+] All right - fork server is up.
    len = 396, map size = 1, exec speed = 168 us
[+] All test cases processed.


[+] Here are some useful stats:


    Test case count : 1 favored, 0 variable, 1 total
       Bitmap range : 1 to 1 bits (average: 1.00 bits)
        Exec timing : 168 to 168 us (average: 168 us)


[*] No -t option specified, so I'll use exec timeout of 20 ms.
[+] All set and ready to roll!
[*] Entering queue cycle 1.
[*] Fuzzing test case #0 (1 total, 0 uniq crashes found)...
afl-fuzz 2.52b by <lcamtuf@google.com>
[+] Disabling the UI because AFL_NO_UI is set.
[+] You have 256 CPU cores and 33 runnable tasks (utilization: 13%).
[+] Try parallel jobs - see docs/parallel_fuzzing.txt.
[!] WARNING: Not binding to a CPU core (AFL_NO_AFFINITY set).
[*] Checking core_pattern...
[*] Setting up output directories...
[*] Scanning 'input'...
[+] No auto-generated dictionary tokens to reuse.
[*] Creating hard links for all input files...
[*] Validating target binary...
[+] Persistent mode binary detected.
[*] Attempting dry run with 'id:000000,orig:bun_autogenerated_seed'...
[*] Spinning up the fork server...
[+] All right - fork server is up.
    len = 396, map size = 1, exec speed = 158 us
[+] All test cases processed.


[+] Here are some useful stats:


    Test case count : 1 favored, 0 variable, 1 total
       Bitmap range : 1 to 1 bits (average: 1.00 bits)
        Exec timing : 158 to 158 us (average: 158 us)


[*] No -t option specified, so I'll use exec timeout of 20 ms.
[+] All set and ready to roll!
[*] Entering queue cycle 1.
[*] Fuzzing test case #0 (1 total, 0 uniq crashes found)...
[*] Entering queue cycle 2.
[*] Fuzzing test case #0 (1 total, 0 uniq crashes found)...
[*] Entering queue cycle 3.
[*] Fuzzing test case #0 (1 total, 1 uniq crashes found)...
[*] Entering queue cycle 4.
[*] Fuzzing test case #0 (1 total, 1 uniq crashes found)...
[*] Entering queue cycle 5.
[*] Fuzzing test case #0 (1 total, 1 uniq crashes found)...
[*] Entering queue cycle 6.
[*] Fuzzing test case #0 (1 total, 1 uniq crashes found)...
[*] Entering queue cycle 7.
[*] Fuzzing test case #0 (1 total, 1 uniq crashes found)...
[*] Entering queue cycle 8.
[*] Fuzzing test case #0 (1 total, 1 uniq crashes found)...
[*] Entering queue cycle 2.
[*] Fuzzing test case #0 (1 total, 1 uniq crashes found)...
[*] Entering queue cycle 9.
[*] Fuzzing test case #0 (1 total, 1 uniq crashes found)...


+++ Testing aborted programmatically +++
[+] We're done here. Have a nice day!


12:30.11:Fuzzer 2 (pid=306) finished
Crashes found! Take a look; copy/paste to save for reproduction:
echo AAAAAAAAAAAB//8AAAAXAAAAAG8AAAAA+/9//wAEAAAgAAAAACAAAAAAAAAAAACAACAAAAAAIAAAAAAAAAAAAAAAAAAAAB/zAAQAYQAAAAAAAIBAAOr//yr//w== | base64 -d > crash_0.$(date -u +%s)
echo AAAAAAAAAAAAAACFAAAAAAAAAIUeAAAAAAAeAAAAAAA= | base64 -d > crash_1.$(date -u +%s)


+++ Testing aborted programmatically +++
[+] We're done here. Have a nice day!


2026-01-16 12:30.11 ---> saved as "16e9d420540c85a9371e2788b63f06b79c359dff0eebb8e3f3301270fd6feaa4"
Job succeeded
2026-01-16 12:30.11: Job succeeded