Build:
  1. 0
2024-11-08 22:23.53: New job: Voodoo gen gapi-ocaml.0.3.15; 0989eb16547e5d7ef06851cb216b07ed
2024-11-08 22:23.53: Cache digest: v6-gapi-ocaml.0.3.15-0989eb16547e5d7ef06851cb216b07ed-cebd1439557b6a2b8e5fe399df5622887190059ddcef3655068417d6e022bbc5-dc54397f66abf95c964ea4de0f3a0ff2aec56efe
2024-11-08 22:23.53: Waiting for resource in pool OCluster
2024-11-08 22:23.53: Waiting for worker…
2024-11-08 22:23.53: Got resource from pool OCluster
2024-11-08 22:23.53: Using cache hint "docs-universe-gen"

To reproduce locally:

cat > prep.spec <<'END-OF-SPEC'
((build tools
        ((from ocaml/opam:debian-12-ocaml-5.1@sha256:98aa99c93ec3b6c387a7d2cdb31814ea60c0d08603b55c668c100233546c0737)
         (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"))
         (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#dc54397f66abf95c964ea4de0f3a0ff2aec56efe  && opam depext -iy voodoo-gen"))
         (run (shell "cp $(opam config var bin)/odoc $(opam config var bin)/voodoo-gen /home/opam"))))
 (from ocaml/opam:debian-12-ocaml-5.1@sha256:98aa99c93ec3b6c387a7d2cdb31814ea60c0d08603b55c668c100233546c0737)
 (user (uid 1000) (gid 1000))
 (workdir /home/opam)
 (run (shell "sudo chown opam:opam /home/opam"))
 (workdir /home/opam/docs/)
 (run (shell "sudo chown opam:opam . "))
 (copy (from (build tools))
       (src /home/opam/odoc /home/opam/voodoo-gen)
       (dst /home/opam/))
 (run (shell "mv ~/odoc $(opam config var bin)/odoc && cp ~/voodoo-gen $(opam config var bin)/voodoo-gen"))
 (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 "(rsync -aR docs.ci.ocaml.org:/data/./epoch-55dd4fa21db83a5a988da67fb5854083/linked/p/gapi-ocaml/0.3.15 .) && (find . -name '*.tar' -exec tar -xvf {} \\;) && (find . -type d -empty -delete)"))
 (workdir epoch-55dd4fa21db83a5a988da67fb5854083)
 (run (shell "OCAMLRUNPARAM=b opam exec -- /home/opam/voodoo-gen -o epoch-fe41631bbaa5a258447ffb55cc0c4bce/html-raw -n gapi-ocaml --pkg-version 0.3.15"))
 (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.874674') && (mkdir -p epoch-fe41631bbaa5a258447ffb55cc0c4bce/html-raw/p/gapi-ocaml/0.3.15) && (rsync -aR ./epoch-fe41631bbaa5a258447ffb55cc0c4bce/html-raw/p/gapi-ocaml/0.3.15 docs.ci.ocaml.org:/data/.) && (set 'epoch-fe41631bbaa5a258447ffb55cc0c4bce/html-raw/p/gapi-ocaml/0.3.15' raw; HASH=$(find $1 -type f -exec sha256sum {} \\; | sort | sha256sum); printf \"RAW:$2:$HASH\\n\";)"))
)
END-OF-SPEC

ocluster-client submit-obuilder --local-file prep.spec \
--pool linux-x86_64 --connect ocluster-submission.cap --cache-hint docs-universe-gen \
--secret ssh_privkey:id_rsa --secret ssh_pubkey:id_rsa.pub--secret ssh_config:ssh_config

Building on x86-bm-c6.sw.ocaml.org

(build "tools" …)

(from ocaml/opam:debian-12-ocaml-5.1@sha256:98aa99c93ec3b6c387a7d2cdb31814ea60c0d08603b55c668c100233546c0737)
Unable to find image 'ocaml/opam:debian-12-ocaml-5.1@sha256:98aa99c93ec3b6c387a7d2cdb31814ea60c0d08603b55c668c100233546c0737' locally
docker.io/ocaml/opam@sha256:98aa99c93ec3b6c387a7d2cdb31814ea60c0d08603b55c668c100233546c0737: Pulling from ocaml/opam
c1f6d10820e0: Pulling fs layer
c1f6d10820e0: Verifying Checksum
c1f6d10820e0: Download complete
c1f6d10820e0: Pull complete
Digest: sha256:98aa99c93ec3b6c387a7d2cdb31814ea60c0d08603b55c668c100233546c0737
Status: Downloaded newer image for ocaml/opam@sha256:98aa99c93ec3b6c387a7d2cdb31814ea60c0d08603b55c668c100233546c0737
2024-11-08 22:17.29 ---> using "184883b9ebd22dcbc010575933ad3b0ada8b9202a03422513edd4557402dae94" from cache

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

/: (workdir /home/opam)

/home/opam: (run (shell "sudo chown opam:opam /home/opam"))
2024-11-08 22:17.29 ---> using "fc1cab891c71374e76e66f3af2f88a8299a96eb803b9803237f78286f072cd6e" from cache

/home/opam: (run (network host)
                 (shell "sudo apt-get update && sudo apt-get install -yy m4"))
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 [190 kB]
Fetched 293 kB in 0s (606 kB/s)
Reading package lists...
Reading package lists...
Building dependency tree...
Reading state information...
Suggested packages:
  m4-doc
The following NEW packages will be installed:
  m4
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 287 kB of archives.
After this operation, 686 kB of additional disk space will be used.
Get:1 http://deb.debian.org/debian bookworm/main amd64 m4 amd64 1.4.19-3 [287 kB]
debconf: delaying package configuration, since apt-utils is not installed
Fetched 287 kB in 0s (9616 kB/s)
Selecting previously unselected package m4.
(Reading database ... 
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 18776 files and directories currently installed.)
Preparing to unpack .../archives/m4_1.4.19-3_amd64.deb ...
Unpacking m4 (1.4.19-3) ...
Setting up m4 (1.4.19-3) ...
2024-11-08 22:17.29 ---> using "b85fdba9e1bfd39f7f4d4bc9d9303bd3793c0a02a1485dce041f0b8d7baf7b3e" from cache

/home/opam: (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#dc54397f66abf95c964ea4de0f3a0ff2aec56efe  && opam depext -iy voodoo-gen"))
[voodoo: git]
[voodoo: git]
[voodoo: git]
[voodoo: git]
[voodoo: git]
[voodoo: git]
[voodoo: git]
[ERROR] Could not synchronize /tmp/opam-pin-cache-7-5a61c5/c2ce3b26c8421e2a from "git+https://github.com/ocaml-doc/voodoo.git#dc54397f66abf95c964ea4de0f3a0ff2aec56efe":
        "/usr/bin/git fetch -q" exited with code 128 "error: Could not read b8e715d299a967336fc71901674cd117ee93dc49"
[ERROR] Could not retrieve git+https://github.com/ocaml-doc/voodoo.git#dc54397f66abf95c964ea4de0f3a0ff2aec56efe
"/usr/bin/env" "bash" "-c" "opam pin -ny https://github.com/ocaml-doc/voodoo.git#dc54397f66abf95c964ea4de0f3a0ff2aec56efe  && opam depext -iy voodoo-gen" failed with exit status 40
2024-11-08 22:23.55: Job failed: Failed: Build failed