Build:
  1. 0
2024-11-04 22:49.01: New job: Voodoo gen mirage-flow-unix.1.2.0; de69ba62dced92e886c02b5a68636700
2024-11-04 22:49.01: Cache digest: v6-mirage-flow-unix.1.2.0-de69ba62dced92e886c02b5a68636700-438c3d6d66ebc340b15bcb4f1fcc50d434a54baa332c6c479b084e261e1edbc2-dc54397f66abf95c964ea4de0f3a0ff2aec56efe
2024-11-04 22:49.01: Waiting for resource in pool OCluster
2024-11-04 22:49.01: Waiting for worker…
2024-11-04 22:49.01: Got resource from pool OCluster
2024-11-04 22:49.01: 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:af6e5286de969c86eeb59dd53d9dc3786ceb264aa31fc4cb8f1132af26874ca9)
         (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:af6e5286de969c86eeb59dd53d9dc3786ceb264aa31fc4cb8f1132af26874ca9)
 (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/mirage-flow-unix/1.2.0 .) && (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 mirage-flow-unix --pkg-version 1.2.0"))
 (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.477211') && (mkdir -p epoch-fe41631bbaa5a258447ffb55cc0c4bce/html-raw/p/mirage-flow-unix/1.2.0) && (rsync -aR ./epoch-fe41631bbaa5a258447ffb55cc0c4bce/html-raw/p/mirage-flow-unix/1.2.0 docs.ci.ocaml.org:/data/.) && (set 'epoch-fe41631bbaa5a258447ffb55cc0c4bce/html-raw/p/mirage-flow-unix/1.2.0' 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:af6e5286de969c86eeb59dd53d9dc3786ceb264aa31fc4cb8f1132af26874ca9)
Unable to find image 'ocaml/opam:debian-12-ocaml-5.1@sha256:af6e5286de969c86eeb59dd53d9dc3786ceb264aa31fc4cb8f1132af26874ca9' locally
docker.io/ocaml/opam@sha256:af6e5286de969c86eeb59dd53d9dc3786ceb264aa31fc4cb8f1132af26874ca9: Pulling from ocaml/opam
9d43aa5e4ded: Pulling fs layer
9d43aa5e4ded: Verifying Checksum
9d43aa5e4ded: Download complete
9d43aa5e4ded: Pull complete
Digest: sha256:af6e5286de969c86eeb59dd53d9dc3786ceb264aa31fc4cb8f1132af26874ca9
Status: Downloaded newer image for ocaml/opam@sha256:af6e5286de969c86eeb59dd53d9dc3786ceb264aa31fc4cb8f1132af26874ca9
2024-11-04 22:42.33 ---> using "3752cff479528129040211ae59afcc6cf6877cf2f5bd1c33b3b220fda356ea35" from cache

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

/: (workdir /home/opam)

/home/opam: (run (shell "sudo chown opam:opam /home/opam"))
2024-11-04 22:42.33 ---> using "940a00b3a5a0dbcb75817bd6e1b81ae1a41190a17dc516068ffdce533de003bc" 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 1s (367 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 1 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 (8647 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-04 22:42.33 ---> using "5e5cbe5ea35458f8f5229a65819b19db5e1a2e8c6a5ea8290549c48a95d74fa2" 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-04 22:49.02: Job failed: Failed: Build failed