Build:
  1. 1
  2. 0
2026-02-18 22:29.03: New job: test gen_js_api.1.1.7, using opam dev
                              from https://github.com/ocaml/opam-repository.git#refs/pull/29403/head (829773ec91471924ba0f213baa894be2e0ae3e20)
                              on ubuntu-24.04-ocaml-4.14/riscv64

To reproduce locally:

cd $(mktemp -d)
git clone --recursive "https://github.com/ocaml/opam-repository.git" && cd "opam-repository" && git fetch origin "refs/pull/29403/head" && git reset --hard 829773ec
git fetch origin master
git merge --no-edit b3916862df97a4ea9ceabf38dee5b51d7dabfadc
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:ubuntu-24.04-ocaml-4.14@sha256:4b282ce026cda62f3e60b3edaa8bf0c1bb3b1d24c5f30b72bafc748c7978b52c
USER 1000:1000
WORKDIR /home/opam
RUN sudo ln -f /usr/bin/opam-dev /usr/bin/opam
RUN opam init --reinit -ni
RUN opam option solver=builtin-0install && opam config report
ENV OPAMDOWNLOADJOBS="1"
ENV OPAMERRLOGLEN="0"
ENV OPAMPRECISETRACKING="1"
ENV CI="true"
ENV OPAM_REPO_CI="true"
RUN rm -rf opam-repository/
COPY --chown=1000:1000 . opam-repository/
RUN opam repository set-url --strict default opam-repository/
RUN opam update --depexts || true
RUN opam pin add -k version -yn gen_js_api.1.1.7 1.1.7
RUN opam reinstall gen_js_api.1.1.7; \
    res=$?; \
    test "$res" != 31 && exit "$res"; \
    export OPAMCLI=2.0; \
    build_dir=$(opam var prefix)/.opam-switch/build; \
    failed=$(ls "$build_dir"); \
    partial_fails=""; \
    for pkg in $failed; do \
    if opam show -f x-ci-accept-failures: "$pkg" | grep -qF "\"ubuntu-24.04\""; then \
    echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
    fi; \
    test "$pkg" != 'gen_js_api.1.1.7' && partial_fails="$partial_fails $pkg"; \
    done; \
    test "${partial_fails}" != "" && echo "opam-repo-ci detected dependencies failing: ${partial_fails}"; \
    exit 1
RUN (opam reinstall --with-test gen_js_api.1.1.7) || true
RUN opam reinstall --with-test --verbose gen_js_api.1.1.7; \
    res=$?; \
    test "$res" != 31 && exit "$res"; \
    export OPAMCLI=2.0; \
    build_dir=$(opam var prefix)/.opam-switch/build; \
    failed=$(ls "$build_dir"); \
    partial_fails=""; \
    for pkg in $failed; do \
    if opam show -f x-ci-accept-failures: "$pkg" | grep -qF "\"ubuntu-24.04\""; then \
    echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
    fi; \
    test "$pkg" != 'gen_js_api.1.1.7' && partial_fails="$partial_fails $pkg"; \
    done; \
    test "${partial_fails}" != "" && echo "opam-repo-ci detected dependencies failing: ${partial_fails}"; \
    exit 1

END-OF-DOCKERFILE
docker build -f ../Dockerfile .

2026-02-18 22:29.03: Using cache hint "ocaml/opam:ubuntu-24.04-ocaml-4.14@sha256:4b282ce026cda62f3e60b3edaa8bf0c1bb3b1d24c5f30b72bafc748c7978b52c-gen_js_api.1.1.7-829773ec91471924ba0f213baa894be2e0ae3e20"
2026-02-18 22:29.03: Using OBuilder spec:
((from ocaml/opam:ubuntu-24.04-ocaml-4.14@sha256:4b282ce026cda62f3e60b3edaa8bf0c1bb3b1d24c5f30b72bafc748c7978b52c)
 (user (uid 1000) (gid 1000))
 (workdir /home/opam)
 (run (shell "sudo ln -f /usr/bin/opam-dev /usr/bin/opam"))
 (run (network host)
      (shell "opam init --reinit --config .opamrc-sandbox -ni"))
 (run (shell "opam option solver=builtin-0install && opam config report"))
 (env OPAMDOWNLOADJOBS 1)
 (env OPAMERRLOGLEN 0)
 (env OPAMPRECISETRACKING 1)
 (env CI true)
 (env OPAM_REPO_CI true)
 (run (shell "rm -rf opam-repository/"))
 (copy (src .) (dst opam-repository/))
 (run (shell "opam repository set-url --strict default opam-repository/"))
 (run (network host)
      (shell "opam update --depexts || true"))
 (run (shell "opam pin add -k version -yn gen_js_api.1.1.7 1.1.7"))
 (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
      (network host)
      (shell  "opam reinstall gen_js_api.1.1.7;\
             \n        res=$?;\
             \n        test \"$res\" != 31 && exit \"$res\";\
             \n        export OPAMCLI=2.0;\
             \n        build_dir=$(opam var prefix)/.opam-switch/build;\
             \n        failed=$(ls \"$build_dir\");\
             \n        partial_fails=\"\";\
             \n        for pkg in $failed; do\
             \n          if opam show -f x-ci-accept-failures: \"$pkg\" | grep -qF \"\\\"ubuntu-24.04\\\"\"; then\
             \n            echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
             \n          fi;\
             \n          test \"$pkg\" != 'gen_js_api.1.1.7' && partial_fails=\"$partial_fails $pkg\";\
             \n        done;\
             \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
             \n        exit 1"))
 (run (network host)
      (shell "(opam reinstall --with-test gen_js_api.1.1.7) || true"))
 (run (shell  "opam reinstall --with-test --verbose gen_js_api.1.1.7;\
             \n        res=$?;\
             \n        test \"$res\" != 31 && exit \"$res\";\
             \n        export OPAMCLI=2.0;\
             \n        build_dir=$(opam var prefix)/.opam-switch/build;\
             \n        failed=$(ls \"$build_dir\");\
             \n        partial_fails=\"\";\
             \n        for pkg in $failed; do\
             \n          if opam show -f x-ci-accept-failures: \"$pkg\" | grep -qF \"\\\"ubuntu-24.04\\\"\"; then\
             \n            echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
             \n          fi;\
             \n          test \"$pkg\" != 'gen_js_api.1.1.7' && partial_fails=\"$partial_fails $pkg\";\
             \n        done;\
             \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
             \n        exit 1"))
)

2026-02-18 22:29.03: Waiting for resource in pool OCluster
2026-02-18 22:29.03: Waiting for worker…
2026-02-19 02:40.07: Got resource from pool OCluster
Building on riscv-bm-04.sw.ci.dev
All commits already cached
Updating files:  13% (2418/18253)
Updating files:  14% (2556/18253)
Updating files:  15% (2738/18253)
Updating files:  16% (2921/18253)
Updating files:  17% (3104/18253)
Updating files:  18% (3286/18253)
Updating files:  19% (3469/18253)
Updating files:  20% (3651/18253)
Updating files:  21% (3834/18253)
Updating files:  22% (4016/18253)
Updating files:  23% (4199/18253)
Updating files:  24% (4381/18253)
Updating files:  25% (4564/18253)
Updating files:  25% (4596/18253)
Updating files:  26% (4746/18253)
Updating files:  27% (4929/18253)
Updating files:  28% (5111/18253)
Updating files:  29% (5294/18253)
Updating files:  30% (5476/18253)
Updating files:  31% (5659/18253)
Updating files:  32% (5841/18253)
Updating files:  33% (6024/18253)
Updating files:  34% (6207/18253)
Updating files:  35% (6389/18253)
Updating files:  36% (6572/18253)
Updating files:  37% (6754/18253)
Updating files:  38% (6937/18253)
Updating files:  39% (7119/18253)
Updating files:  39% (7263/18253)
Updating files:  40% (7302/18253)
Updating files:  41% (7484/18253)
Updating files:  42% (7667/18253)
Updating files:  43% (7849/18253)
Updating files:  44% (8032/18253)
Updating files:  45% (8214/18253)
Updating files:  46% (8397/18253)
Updating files:  47% (8579/18253)
Updating files:  48% (8762/18253)
Updating files:  49% (8944/18253)
Updating files:  50% (9127/18253)
Updating files:  51% (9310/18253)
Updating files:  52% (9492/18253)
Updating files:  53% (9675/18253)
Updating files:  53% (9771/18253)
Updating files:  54% (9857/18253)
Updating files:  55% (10040/18253)
Updating files:  56% (10222/18253)
Updating files:  57% (10405/18253)
Updating files:  58% (10587/18253)
Updating files:  59% (10770/18253)
Updating files:  60% (10952/18253)
Updating files:  61% (11135/18253)
Updating files:  62% (11317/18253)
Updating files:  63% (11500/18253)
Updating files:  64% (11682/18253)
Updating files:  65% (11865/18253)
Updating files:  66% (12047/18253)
Updating files:  66% (12103/18253)
Updating files:  67% (12230/18253)
Updating files:  68% (12413/18253)
Updating files:  69% (12595/18253)
Updating files:  70% (12778/18253)
Updating files:  71% (12960/18253)
Updating files:  72% (13143/18253)
Updating files:  73% (13325/18253)
Updating files:  74% (13508/18253)
Updating files:  75% (13690/18253)
Updating files:  76% (13873/18253)
Updating files:  77% (14055/18253)
Updating files:  78% (14238/18253)
Updating files:  79% (14420/18253)
Updating files:  79% (14495/18253)
Updating files:  80% (14603/18253)
Updating files:  81% (14785/18253)
Updating files:  82% (14968/18253)
Updating files:  83% (15150/18253)
Updating files:  84% (15333/18253)
Updating files:  85% (15516/18253)
Updating files:  86% (15698/18253)
Updating files:  87% (15881/18253)
Updating files:  88% (16063/18253)
Updating files:  89% (16246/18253)
Updating files:  90% (16428/18253)
Updating files:  91% (16611/18253)
Updating files:  92% (16793/18253)
Updating files:  92% (16801/18253)
Updating files:  93% (16976/18253)
Updating files:  94% (17158/18253)
Updating files:  95% (17341/18253)
Updating files:  96% (17523/18253)
Updating files:  97% (17706/18253)
Updating files:  98% (17888/18253)
Updating files:  99% (18071/18253)
Updating files: 100% (18253/18253)
Updating files: 100% (18253/18253), done.
HEAD is now at b3916862df Merge pull request #29393 from hhugo/release-js_of_ocaml-6.3.2
Merge made by the 'ort' strategy.
 packages/gen_js_api/gen_js_api.1.1.7/opam | 53 +++++++++++++++++++++++++++++++
 packages/ojs/ojs.1.1.7/opam               | 30 +++++++++++++++++
 2 files changed, 83 insertions(+)
 create mode 100644 packages/gen_js_api/gen_js_api.1.1.7/opam
 create mode 100644 packages/ojs/ojs.1.1.7/opam

(from ocaml/opam:ubuntu-24.04-ocaml-4.14@sha256:4b282ce026cda62f3e60b3edaa8bf0c1bb3b1d24c5f30b72bafc748c7978b52c)
2026-02-19 02:40.18 ---> using "40d7843ecf277139c4c28c384d143c29cf834752694c6d2cde13cc05e47d68f6" from cache

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

/: (workdir /home/opam)

/home/opam: (run (shell "sudo ln -f /usr/bin/opam-dev /usr/bin/opam"))
2026-02-19 02:40.18 ---> using "7e8bf476332986a17f336a125c9f8be30b1e25886f164f9655ce90813f79e64e" from cache

/home/opam: (run (network host)
                 (shell "opam init --reinit --config .opamrc-sandbox -ni"))
Configuring from /home/opam/.opamrc-sandbox, then /home/opam/.opamrc, and finally 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-02-19 02:40.19 ---> using "71ae131335993be27ddb5bd22d6d98842a636c85685e0e74b9ce98bf1905d43e" from cache

/home/opam: (run (shell "opam option solver=builtin-0install && opam config report"))
Set to 'builtin-0install' the field solver in global configuration
# opam config report
# opam-version         2.5.0
# self-upgrade         no
# system               arch=riscv64 os=linux os-distribution=ubuntu os-version=24.04
# solver               builtin-0install
# install-criteria     -changed,-count[avoid-version,solution]
# upgrade-criteria     -count[avoid-version,solution]
# jobs                 3
# repositories         1 (version-controlled)
# pinned               1 (version)
# current-switch       4.14
# invariant            ["ocaml-base-compiler" {= "4.14.2"}]
# compiler-packages    ocaml-base-compiler.4.14.2, ocaml-options-vanilla.1
# ocaml:native         true
# ocaml:native-tools   true
# ocaml:native-dynlink true
# ocaml:stubsdir       /home/opam/.opam/4.14/lib/ocaml/stublibs:/home/opam/.opam/4.14/lib/ocaml
# ocaml:preinstalled   false
# ocaml:compiler       4.14.2
2026-02-19 02:40.19 ---> using "26684295e2eca44b8f29d866a054ee71eb72449d71ab583d34bfe4a12adb8f9e" from cache

/home/opam: (env OPAMDOWNLOADJOBS 1)

/home/opam: (env OPAMERRLOGLEN 0)

/home/opam: (env OPAMPRECISETRACKING 1)

/home/opam: (env CI true)

/home/opam: (env OPAM_REPO_CI true)

/home/opam: (run (shell "rm -rf opam-repository/"))
2026-02-19 02:40.19 ---> using "1da11bae1a1188a437fc4610ca388bc4bb58d030f99a443ce21d2e38a2227401" from cache

/home/opam: (copy (src .) (dst opam-repository/))
2026-02-19 02:40.24 ---> using "05e81a6bbcc4ac00be667bbcc1d09ee5fea2ed7a717f83eebb574b143ed71d0c" from cache

/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2026-02-19 02:40.24 ---> using "5570f53cc0fad7e854a49ab5e1aead83e15906669484681a4c6f632b3d0b2d1a" from cache

/home/opam: (run (network host)
                 (shell "opam update --depexts || true"))
+ /usr/bin/sudo "apt-get" "update"
- Hit:1 http://ports.ubuntu.com/ubuntu-ports noble InRelease
- Get:2 http://ports.ubuntu.com/ubuntu-ports noble-updates InRelease [126 kB]
- Get:3 http://ports.ubuntu.com/ubuntu-ports noble-backports InRelease [126 kB]
- Get:4 http://ports.ubuntu.com/ubuntu-ports noble-security InRelease [126 kB]
- Get:5 http://ports.ubuntu.com/ubuntu-ports noble-updates/main riscv64 Packages [931 kB]
- Get:6 http://ports.ubuntu.com/ubuntu-ports noble-updates/universe riscv64 Packages [1513 kB]
- Get:7 http://ports.ubuntu.com/ubuntu-ports noble-security/universe riscv64 Packages [940 kB]
- Get:8 http://ports.ubuntu.com/ubuntu-ports noble-security/main riscv64 Packages [602 kB]
- Fetched 4364 kB in 2s (2016 kB/s)
- Reading package lists...
- 
2026-02-19 02:40.24 ---> using "c48352c61209bc23f3259dfb120301fdc73e1a817c2bfefcb0ddf76d5f729f9e" from cache

/home/opam: (run (shell "opam pin add -k version -yn gen_js_api.1.1.7 1.1.7"))
gen_js_api is now pinned to version 1.1.7
2026-02-19 02:40.24 ---> using "746c873aedae99fe692203563bba4c75c85b5d3859c1d8e077004eaf4bc184e8" from cache

/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
                 (network host)
                 (shell  "opam reinstall gen_js_api.1.1.7;\
                        \n        res=$?;\
                        \n        test \"$res\" != 31 && exit \"$res\";\
                        \n        export OPAMCLI=2.0;\
                        \n        build_dir=$(opam var prefix)/.opam-switch/build;\
                        \n        failed=$(ls \"$build_dir\");\
                        \n        partial_fails=\"\";\
                        \n        for pkg in $failed; do\
                        \n          if opam show -f x-ci-accept-failures: \"$pkg\" | grep -qF \"\\\"ubuntu-24.04\\\"\"; then\
                        \n            echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
                        \n          fi;\
                        \n          test \"$pkg\" != 'gen_js_api.1.1.7' && partial_fails=\"$partial_fails $pkg\";\
                        \n        done;\
                        \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
                        \n        exit 1"))
gen_js_api.1.1.7 is not installed. Install it? [Y/n] y
The following actions will be performed:
=== install 19 packages
  - install cmdliner             2.1.0          [required by js_of_ocaml-compiler]
  - install dune                 3.21.1         [required by gen_js_api]
  - install gen                  1.1            [required by sedlex]
  - install gen_js_api           1.1.7 (pinned)
  - install js_of_ocaml-compiler 6.3.2          [required by ojs]
  - install menhir               20260209       [required by js_of_ocaml-compiler]
  - install menhirCST            20260209       [required by menhir]
  - install menhirGLR            20260209       [required by menhir]
  - install menhirLib            20260209       [required by js_of_ocaml-compiler]
  - install menhirSdk            20260209       [required by js_of_ocaml-compiler]
  - install ocaml-compiler-libs  v0.12.4        [required by js_of_ocaml-compiler]
  - install ojs                  1.1.7          [required by gen_js_api]
  - install ppx_derivers         1.2.1          [required by ppxlib]
  - install ppxlib               0.37.0         [required by gen_js_api]
  - install sedlex               3.7            [required by js_of_ocaml-compiler]
  - install seq                  base           [required by gen]
  - install sexplib0             v0.17.0        [required by ppxlib]
  - install stdlib-shims         0.3.0          [required by ppxlib]
  - install yojson               3.0.0          [required by js_of_ocaml-compiler]

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved cmdliner.2.1.0  (cached)
-> retrieved dune.3.21.1  (cached)
-> retrieved gen.1.1  (cached)
-> retrieved gen_js_api.1.1.7, ojs.1.1.7  (https://github.com/LexiFi/gen_js_api/archive/refs/tags/v1.1.7.tar.gz)
-> retrieved js_of_ocaml-compiler.6.3.2  (cached)
-> retrieved menhir.20260209, menhirCST.20260209, menhirGLR.20260209, menhirLib.20260209, menhirSdk.20260209  (cached)
-> installed cmdliner.2.1.0
-> retrieved ocaml-compiler-libs.v0.12.4  (cached)
-> retrieved ppx_derivers.1.2.1  (cached)
-> retrieved ppxlib.0.37.0  (cached)
-> retrieved sedlex.3.7  (cached)
-> retrieved seq.base  (cached)
-> installed seq.base
-> retrieved sexplib0.v0.17.0  (cached)
-> retrieved stdlib-shims.0.3.0  (cached)
-> retrieved yojson.3.0.0  (cached)
-> installed dune.3.21.1
-> installed menhirCST.20260209
-> installed gen.1.1
-> installed menhirGLR.20260209
-> installed menhirLib.20260209
-> installed ppx_derivers.1.2.1
-> installed menhirSdk.20260209
-> installed stdlib-shims.0.3.0
-> installed sexplib0.v0.17.0
-> installed ocaml-compiler-libs.v0.12.4
-> installed yojson.3.0.0
-> installed menhir.20260209
-> installed ppxlib.0.37.0
-> installed sedlex.3.7
-> installed js_of_ocaml-compiler.6.3.2
-> installed ojs.1.1.7
-> installed gen_js_api.1.1.7
Done.
# To update the current shell environment, run: eval $(opam env)
2026-02-19 02:40.24 ---> using "17def27702e3f91294418eb8015cad8c9ee30fea4ba388bf60615b37716e5945" from cache

/home/opam: (run (network host)
                 (shell "(opam reinstall --with-test gen_js_api.1.1.7) || true"))
The following actions will be performed:
=== recompile 1 package
  - recompile gen_js_api 1.1.7 (pinned)

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> removed   gen_js_api.1.1.7
-> installed gen_js_api.1.1.7
Done.
# To update the current shell environment, run: eval $(opam env)
2026-02-19 02:41.16 ---> saved as "d5a9cfd0c0718083792142c4223466527259713978d9d76ad78c227292205929"

/home/opam: (run (shell  "opam reinstall --with-test --verbose gen_js_api.1.1.7;\
                        \n        res=$?;\
                        \n        test \"$res\" != 31 && exit \"$res\";\
                        \n        export OPAMCLI=2.0;\
                        \n        build_dir=$(opam var prefix)/.opam-switch/build;\
                        \n        failed=$(ls \"$build_dir\");\
                        \n        partial_fails=\"\";\
                        \n        for pkg in $failed; do\
                        \n          if opam show -f x-ci-accept-failures: \"$pkg\" | grep -qF \"\\\"ubuntu-24.04\\\"\"; then\
                        \n            echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
                        \n          fi;\
                        \n          test \"$pkg\" != 'gen_js_api.1.1.7' && partial_fails=\"$partial_fails $pkg\";\
                        \n        done;\
                        \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
                        \n        exit 1"))
The following actions will be performed:
=== recompile 1 package
  - recompile gen_js_api 1.1.7 (pinned)

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
Processing  2/4: [gen_js_api: dune build]
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "dune" "build" "-p" "gen_js_api" "-j" "3" "@install" "@runtest" (CWD=/home/opam/.opam/4.14/.opam-switch/build/gen_js_api.1.1.7)
- Successfully compile test_library
-> compiled  gen_js_api.1.1.7
-> removed   gen_js_api.1.1.7
-> installed gen_js_api.1.1.7
Done.
# To update the current shell environment, run: eval $(opam env)
2026-02-19 02:42.08 ---> saved as "31ac1a75795503d482a77fabbc304e4ddc0b07e6fa7a1d73bb45d6c10508f214"
Job succeeded
2026-02-19 02:42.42: Job succeeded