Build:
  1. 0
2024-11-04 22:26.07: New job: Voodoo gen resto-cohttp-client.0.6.1; 7d318e648853b05886236da546eef278
2024-11-04 22:26.07: Cache digest: v6-resto-cohttp-client.0.6.1-7d318e648853b05886236da546eef278-58b8e19fa8f647369439e26fd7db1676fc30d4f22bc9f3a8cb9f4bd7e09fcde6-dc54397f66abf95c964ea4de0f3a0ff2aec56efe
2024-11-04 22:26.07: Waiting for resource in pool OCluster
2024-11-04 22:26.07: Waiting for worker…
2024-11-04 22:26.07: Got resource from pool OCluster
2024-11-04 22:26.07: 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/resto-cohttp-client/0.6.1 .) && (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 resto-cohttp-client --pkg-version 0.6.1"))
 (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.327201') && (mkdir -p epoch-fe41631bbaa5a258447ffb55cc0c4bce/html-raw/p/resto-cohttp-client/0.6.1) && (rsync -aR ./epoch-fe41631bbaa5a258447ffb55cc0c4bce/html-raw/p/resto-cohttp-client/0.6.1 docs.ci.ocaml.org:/data/.) && (set 'epoch-fe41631bbaa5a258447ffb55cc0c4bce/html-raw/p/resto-cohttp-client/0.6.1' 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:19.40 ---> 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:19.40 ---> 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:19.40 ---> 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:26.10: Job failed: Failed: Build failed