Build:
  1. 0
2024-09-12 08:35.49: New job: Voodoo prep octez-dac-node.18.1; 96e090a5f8df723d9353208475bfae14
2024-09-12 08:35.49: Waiting for resource in pool OCluster
2024-09-12 16:04.09: Waiting for worker…
2024-09-12 16:14.21: Got resource from pool OCluster
2024-09-12 16:14.21: Using cache hint "docs-universe-prep-4.14.2"

To reproduce locally:

cat > prep.spec <<'END-OF-SPEC'
((build tools
        ((from ocaml/opam:debian-12-ocaml-4.14@sha256:2135d0c56fc438ebc9377f99b020c06d4ecd43611be356b669914fea73ab2be1)
         (user (uid 1000) (gid 1000))
         (workdir /home/opam)
         (run (shell "sudo chown opam:opam /home/opam"))
         (run (network host)
              (shell "sudo apt-get update && sudo apt-get install -yy m4 pkg-config"))
         (run (cache (opam-archives (target /home/opam/.opam/download-cache)) (opam-dune-cache (target /home/opam/.cache/dune)))
              (network host)
              (shell "opam pin -ny https://github.com/ocaml-doc/voodoo.git#67ccabec49b5f4d24147839291fcae7c19d3e8c9  && opam depext -iy voodoo-prep"))
         (run (shell "cp $(opam config var bin)/voodoo-prep /home/opam"))))
 (from ocaml/opam:debian-12-ocaml-4.14@sha256:2135d0c56fc438ebc9377f99b020c06d4ecd43611be356b669914fea73ab2be1)
 (user (uid 1000) (gid 1000))
 (workdir /home/opam)
 (run (shell "sudo chown opam:opam /home/opam"))
 (run (shell "sudo mkdir /src"))
 (copy (src packages) (dst /src/packages))
 (copy (src repo) (dst /src/repo))
 (run (network host)
      (shell "sudo ln -f /usr/bin/opam-2.1 /usr/bin/opam && opam init --reinit -ni"))
 (run (shell "opam repo remove default && opam repo add opam /src"))
 (copy (from (build tools)) (src /home/opam/voodoo-prep) (dst /home/opam/))
 (run (cache (opam-archives (target /home/opam/.opam/download-cache)) (opam-dune-cache (target /home/opam/.cache/dune)))
      (network host)
      (shell "opam install dune.3.10.0 ocamlfind.1.9.6"))
 (env DUNE_CACHE enabled)
 (env DUNE_CACHE_TRANSPORT direct)
 (env DUNE_CACHE_DUPLICATION copy)
 (run (cache (opam-archives (target /home/opam/.opam/download-cache)) (opam-dune-cache (target /home/opam/.cache/dune)))
      (network host)
      (shell "(sudo apt update) && ((opam depext -viy octez-dac-node.18.1 zarith_stubs_js.v0.16.1 zarith.1.12 yojson.2.2.2 x509.0.16.5 vector.1.0.0 uutf.1.0.3 uucp.15.1.0 uri-sexp.4.4.0 uri.4.4.0 topkg.1.0.7 time_now.v0.16.0 tezt.3.1.1 tezos-sapling-parameters.1.1.0 tezos-rust-libs.1.6 tezos-protocol-018-Proxford.18.1 tezos-protocol-017-PtNairob.18.1 tezos-dal-node-services.18.1 tezos-dal-node-lib.18.1 tezos-dac-node-lib.18.1 tezos-dac-lib.18.1 tezos-dac-client-lib.18.1 tezos-benchmark.18.1 terminal.0.2.1 tar-unix.2.6.0 tar.2.6.0 stringext.1.6.0 stdlib-shims.0.3.0 stdio.v0.16.0 stdint.0.7.2 stdcompat.19 sexplib0.v0.16.0 seqes.0.2 seq.base semaphore-compat.1.0.1 sedlex.3.2 secp256k1-internal.0.4.0 rusage.1.0.0 rresult.0.7.0 ringo.1.1.0 resto-directory.1.2 resto-cohttp-server.1.2 resto-cohttp-self-serving-client.1.2 resto-cohttp-client.1.2 resto-cohttp.1.2 resto-acl.1.2 resto.1.2 repr.0.7.0 re.1.12.0 qcheck-core.0.22 qcheck-alcotest.0.22 pyml.20231101 pure-splitmix.0.3 ptime.1.2.0 psq.0.2.1 prometheus.1.2 progress.0.2.1 pringo.1.3 prbnmcn-stats.0.0.6 prbnmcn-linalg.0.0.1 prbnmcn-basic-structures.0.0.1 ppxlib.0.33.0 ppx_sexp_conv.v0.16.0 ppx_repr.0.7.0 ppx_optcomp.v0.16.0 ppx_irmin.3.7.2 ppx_inline_test.v0.16.0 ppx_import.1.11.0 ppx_here.v0.16.0 ppx_hash.v0.16.0 ppx_globalize.v0.16.0 ppx_expect.v0.16.0 ppx_enumerate.v0.16.0 ppx_deriving.6.0.2 ppx_derivers.1.2.1 ppx_compare.v0.16.0 ppx_cold.v0.16.0 ppx_base.v0.16.0 ppx_assert.v0.16.0 pprint.20230830 pbkdf.1.2.0 optint.0.3.0 octez-version.18.1 octez-shell-libs.18.1 octez-protocol-compiler.18.1 octez-protocol-018-Proxford-libs.18.1 octez-protocol-017-PtNairob-libs.18.1 octez-proto-libs.18.1 octez-libs.18.1 octez-l2-libs.18.1 octez-injector.18.1 octez-distributed-lwt-internal.18.1 octez-distributed-internal.18.1 octez-crawler.18.1 octez-alcotezt.18.1 ocplib-endian.1.2 ocp-ocamlres.0.4 ocamlgraph.2.1.0 ocamlfind.1.9.6 ocamlbuild.0.15.0 ocaml-syntax-shims.1.0.0 ocaml-migrate-parsetree.2.4.0 ocaml-compiler-libs.v0.12.4 mtime.1.4.0 mirage-crypto-rng.0.11.3 mirage-crypto-pk.0.11.3 mirage-crypto-ec.0.11.3 mirage-crypto.0.11.3 menhirSdk.20240715 menhirLib.20240715 menhirCST.20240715 menhir.20240715 magic-mime.1.3.1 macaddr.5.6.0 lwt-watcher.0.2 lwt-exit.1.0 lwt-canceler.0.3 lwt.5.7.0 lru.0.3.1 logs.0.7.0 jst-config.v0.16.0 jsonm.1.0.2 json-data-encoding-bson.0.12.1 json-data-encoding.0.12.1 js_of_ocaml-compiler.5.8.2 js_of_ocaml.5.8.2 jane-street-headers.v0.16.0 irmin-pack.3.7.2 irmin.3.7.2 ipaddr-sexp.5.6.0 ipaddr.5.6.0 integers_stubs_js.1.0 integers.0.7.0 index.1.6.1 host-arch-x86_64.1 hex.1.5.0 hashcons.1.4.0 hacl-star-raw.0.7.1 hacl-star.0.7.1 gmap.0.3.0 gen.1.1 fpath.0.7.3 fmt.0.9.0 ezjsonm.1.3.0 eqaf.0.9 either.1.0.0 duration.0.2.1 dune-configurator.3.13.1 dune.3.10.0 domain-name.0.4.0 digestif.1.2.0 decompress.1.5.3 data-encoding.0.7.1 ctypes_stubs_js.0.1 ctypes-foreign.0.18.0 ctypes.0.20.2 cstruct-lwt.6.2.0 cstruct.6.2.0 csexp.1.5.2 cppo.1.7.0 conf-zlib.1 conf-which.1 conf-rust-2021.1 conf-rust.0.1 conf-pkg-config.3 conf-libffi.2.0.0 conf-libev.4-12 conf-gmp-powm-sec.3 conf-gmp.4 conf-g++.1.0 conf-cmake.1 conf-bash.1 conf-autoconf.0.2 conduit-lwt-unix.7.0.0 conduit-lwt.7.0.0 conduit.7.0.0 cohttp-lwt-unix.5.3.0 cohttp-lwt.5.3.0 cohttp.5.3.1 cmdliner.1.3.0 class_group_vdf.0.0.4 checkseum.0.5.2 camlzip.1.11 camlp-streams.5.0.1 ca-certs.0.2.3 bos.0.2.1 bls12-381.18.1 bigstringaf.0.10.0 bigstring.0.3 bigarray-compat.1.1.0 bheap.2.0.0 base64.3.5.1 base-bytes.base base.v0.16.3 astring.0.8.5 asn1-combinators.0.2.6 asetmap.0.8.1 angstrom.0.16.0 alcotest.1.8.0 aches-lwt.1.1.0 aches.1.1.0 2>&1 | tee ~/opam.err.log) || echo 'Failed to install all packages')"))
 (run (shell "opam exec -- ~/voodoo-prep -u octez-dac-node:96e090a5f8df723d9353208475bfae14,tezos-dac-node-lib:51d2b94ce049c051576d0e3796a7a35b"))
 (run (network host)
      (secrets (ssh_privkey (target /home/opam/.ssh/id_rsa)) (ssh_pubkey (target /home/opam/.ssh/id_rsa.pub)) (ssh_config (target /home/opam/.ssh/config)))
      (shell "(echo '0.483594') && (for DATA in prep/universes/51d2b94ce049c051576d0e3796a7a35b/tezos-dac-node-lib/18.1,tezos-dac-node-lib.18.1-51d2b94ce049c051576d0e3796a7a35b,tezos-dac-node-lib.18.1 prep/universes/96e090a5f8df723d9353208475bfae14/octez-dac-node/18.1,octez-dac-node.18.1-96e090a5f8df723d9353208475bfae14,octez-dac-node.18.1; do IFS=\",\"; set -- $DATA; ([ -d $1 ] || (echo \"FAILED:$2\" && mkdir -p $1 && cp ~/opam.err.log $1 && opam show $3 --raw > $1/opam)) && (shopt -s nullglob && ((tar -cvf $1.tar $1/*  && rm -R $1/* && mv $1.tar $1/content.tar) || (echo 'Empty directory'))) done) && (for DATA in prep/universes/51d2b94ce049c051576d0e3796a7a35b/tezos-dac-node-lib/18.1,tezos-dac-node-lib.18.1-51d2b94ce049c051576d0e3796a7a35b,tezos-dac-node-lib.18.1 prep/universes/96e090a5f8df723d9353208475bfae14/octez-dac-node/18.1,octez-dac-node.18.1-96e090a5f8df723d9353208475bfae14,octez-dac-node.18.1; do IFS=\",\"; set -- $DATA; rsync -aR --no-p ./$1 docs.ci.ocaml.org:/data/.; done) && (for DATA in prep/universes/51d2b94ce049c051576d0e3796a7a35b/tezos-dac-node-lib/18.1,tezos-dac-node-lib.18.1-51d2b94ce049c051576d0e3796a7a35b,tezos-dac-node-lib.18.1 prep/universes/96e090a5f8df723d9353208475bfae14/octez-dac-node/18.1,octez-dac-node.18.1-96e090a5f8df723d9353208475bfae14,octez-dac-node.18.1; do IFS=\",\"; set -- $DATA; HASH=$((sha256sum $1/content.tar | cut -d \" \" -f 1)  || echo -n 'empty'); printf \"HASHES:$2:$HASH\\n\"; done)"))
)
END-OF-SPEC

ocluster-client submit-obuilder https://github.com/ocaml/opam-repository.git 9996eb72c5521fd1f10704327e1281552f938d66 --local-file prep.spec \
--pool linux-x86_64 --connect ocluster-submission.cap --cache-hint docs-universe-prep-4.14.2 \
--secret ssh_privkey:id_rsa --secret ssh_pubkey:id_rsa.pub--secret ssh_config:ssh_config

2024-09-12 16:14.21: RETRYING: 2024-09-12/083549-voodoo-prep-b9dbad Number of retries: 0 (retriable error condition)
Building on asteria.caelum.ci.dev
All commits already cached
Updating files:  26% (8654/32167)
Updating files:  27% (8686/32167)
Updating files:  28% (9007/32167)
Updating files:  29% (9329/32167)
Updating files:  30% (9651/32167)
Updating files:  31% (9972/32167)
Updating files:  32% (10294/32167)
Updating files:  33% (10616/32167)
Updating files:  34% (10937/32167)
Updating files:  35% (11259/32167)
Updating files:  36% (11581/32167)
Updating files:  37% (11902/32167)
Updating files:  38% (12224/32167)
Updating files:  39% (12546/32167)
Updating files:  40% (12867/32167)
Updating files:  41% (13189/32167)
Updating files:  41% (13485/32167)
Updating files:  42% (13511/32167)
Updating files:  43% (13832/32167)
Updating files:  44% (14154/32167)
Updating files:  45% (14476/32167)
Updating files:  46% (14797/32167)
Updating files:  47% (15119/32167)
Updating files:  48% (15441/32167)
Updating files:  49% (15762/32167)
Updating files:  50% (16084/32167)
Updating files:  51% (16406/32167)
Updating files:  52% (16727/32167)
Updating files:  53% (17049/32167)
Updating files:  54% (17371/32167)
Updating files:  55% (17692/32167)
Updating files:  55% (17884/32167)
Updating files:  56% (18014/32167)
Updating files:  57% (18336/32167)
Updating files:  58% (18657/32167)
Updating files:  59% (18979/32167)
Updating files:  60% (19301/32167)
Updating files:  60% (19385/32167)
Updating files:  61% (19622/32167)
Updating files:  62% (19944/32167)
Updating files:  63% (20266/32167)
Updating files:  64% (20587/32167)
Updating files:  64% (20607/32167)
Updating files:  65% (20909/32167)
Updating files:  66% (21231/32167)
Updating files:  67% (21552/32167)
Updating files:  67% (21758/32167)
Updating files:  68% (21874/32167)
Updating files:  69% (22196/32167)
Updating files:  70% (22517/32167)
Updating files:  71% (22839/32167)
Updating files:  72% (23161/32167)
Updating files:  73% (23482/32167)
Updating files:  74% (23804/32167)
Updating files:  74% (23869/32167)
Updating files:  75% (24126/32167)
Updating files:  76% (24447/32167)
Updating files:  77% (24769/32167)
Updating files:  77% (24823/32167)
Updating files:  78% (25091/32167)
Updating files:  79% (25412/32167)
error: unable to write file packages/tdigest/tdigest.2.1.0/opam
error: unable to write file packages/tdigest/tdigest.2.1.1/opam
error: unable to write file packages/tdigest/tdigest.2.2.0/opam
error: unable to write file packages/tdk/tdk.0.1.1/opam
error: unable to write file packages/teash/teash.0.1.0/opam
error: unable to write file packages/telegraml/telegraml.2.1.0/opam
error: unable to write file packages/telegraml/telegraml.2.1.2/opam
error: unable to write file packages/telegraml/telegraml.2.1.3/opam
error: unable to write file packages/telegraml/telegraml.2.1.4/opam
error: unable to write file packages/telemetry/telemetry.0.0.1/opam
error: unable to write file packages/telltime/telltime.0.0.1/opam
error: unable to write file packages/telltime/telltime.0.0.2/opam
Updating files:  79% (25585/32167)
error: unable to write file packages/tensorflow/tensorflow.0.0.11/opam
error: unable to write file packages/tensorflow/tensorflow.0.0.2/opam
error: unable to write file packages/terminal/terminal.0.2.0/opam
error: unable to write file packages/terminal/terminal.0.2.1/opam
error: unable to write file packages/terminal_size/terminal_size.0.1.0/opam
error: unable to write file packages/terminal_size/terminal_size.0.1.3/opam
error: unable to write file packages/terminal_size/terminal_size.0.1.4/opam
error: unable to write file packages/terminal_size/terminal_size.0.2.0/opam
error: unable to write file packages/terminus/terminus.0.1.0/opam
error: unable to write file packages/testu01/testu01.1.2.3-0.1.1/opam
error: unable to write file packages/text-tags/text-tags.1.1.0/opam
error: unable to write file packages/text/text.0.5/opam
error: unable to write file packages/text/text.0.6/opam
error: unable to write file packages/textmate-language/textmate-language.0.1.0/opam
error: unable to write file packages/textmate-language/textmate-language.0.3.1/opam
error: unable to write file packages/textmate-language/textmate-language.0.3.2/opam
error: unable to write file packages/textutils/textutils.109.35.00/opam
error: unable to write file packages/textutils/textutils.109.36.00/opam
error: unable to write file packages/textutils/textutils.109.53.00/opam
error: unable to write file packages/textutils/textutils.109.53.02/opam
error: unable to write file packages/textutils/textutils.109.53.03/opam
Updating files:  80% (25734/32167)
Updating files:  81% (26056/32167)
Updating files:  82% (26377/32167)
Updating files:  82% (26676/32167)
Updating files:  83% (26699/32167)
Updating files:  84% (27021/32167)
Updating files:  85% (27342/32167)
Updating files:  86% (27664/32167)
Updating files:  86% (27698/32167)
Updating files:  87% (27986/32167)
Updating files:  88% (28307/32167)
Updating files:  89% (28629/32167)
Updating files:  90% (28951/32167)
Updating files:  91% (29272/32167)
Updating files:  92% (29594/32167)
Updating files:  93% (29916/32167)
Updating files:  94% (30237/32167)
Updating files:  95% (30559/32167)
Updating files:  95% (30808/32167)
Updating files:  96% (30881/32167)
Updating files:  97% (31202/32167)
Updating files:  98% (31524/32167)
Updating files:  99% (31846/32167)
Updating files: 100% (32167/32167)
Updating files: 100% (32167/32167), done.
fatal: Could not reset index file to revision '9996eb72c5521fd1f10704327e1281552f938d66'.
git-reset failed with exit-code 128
2024-09-12 16:14.48: Job failed: Failed: Build failed