Build:
  1. 1
  2. 0
2024-06-04 00:00.13: New job: Build using linux-x86_64 in
                                []
2024-06-04 00:00.13: Will push staging image to ocurrent/opam-staging:fedora-39-ocaml-4.04-amd64

Dockerfile:

# syntax=docker/dockerfile:1

FROM ocurrent/opam-staging@sha256:019c49e4522be3efc1680851d7d2d5d7b2df13c4f2044b3af1626a7315b28d0b
ENV OPAMYES="1" OPAMCONFIRMLEVEL="unsafe-yes" OPAMERRLOGLEN="0" OPAMPRECISETRACKING="1"
RUN opam switch create 4.04 --packages=ocaml-base-compiler.4.04.2
RUN opam pin add -k version ocaml-base-compiler 4.04.2
RUN opam install -y opam-depext
RUN opam install -y ocaml-secondary-compiler
ENTRYPOINT [ "opam", "exec", "--" ]
CMD bash
COPY --link [ "Dockerfile", "/Dockerfile.ocaml" ]


2024-06-04 00:00.13: Using cache hint "4.04.2-amd64-ocurrent/opam-staging@sha256:019c49e4522be3efc1680851d7d2d5d7b2df13c4f2044b3af1626a7315b28d0b"
2024-06-04 00:00.13: Waiting for resource in pool OCluster
2024-06-04 03:29.09: Waiting for worker…
2024-06-04 04:02.56: Got resource from pool OCluster
Building on x86-bm-c17.sw.ocaml.org
#2 [internal] load .dockerignore
#2 sha256:d3d1aa34b818d77646d7607eead3d028a3a5585a2cb0bbc37e66de74a9042dfe
#2 transferring context: 2B done
#2 ...

#1 [internal] load build definition from Dockerfile
#1 sha256:c58833ae001a45669786e856ee77fe7387401a62be9186e2e5985860270f44f9
#1 transferring dockerfile: 549B done
#1 DONE 5.3s

#2 [internal] load .dockerignore
#2 sha256:d3d1aa34b818d77646d7607eead3d028a3a5585a2cb0bbc37e66de74a9042dfe
#2 DONE 6.6s

#3 resolve image config for docker.io/docker/dockerfile:1
#3 sha256:ac072d521901222eeef550f52282877f196e16b0247844be9ceb1ccc1eac391d
#3 DONE 3.4s

#4 docker-image://docker.io/docker/dockerfile:1@sha256:a57df69d0ea827fb7266491f2813635de6f17269be881f696fbfdf2d83dda33e
#4 sha256:07a30ccad2f15ef177acaa83468a1866ffa2b2ee900d803292ac0047c50f71fc
#4 CACHED

#5 [internal] load build definition from Dockerfile
#5 sha256:71a9c2a3ddf423704641d368e2d01f6f985f1f4fd896675a01b5ef10fa09b989
#5 DONE 0.0s

#6 [internal] load metadata for docker.io/ocurrent/opam-staging@sha256:019c49e4522be3efc1680851d7d2d5d7b2df13c4f2044b3af1626a7315b28d0b
#6 sha256:24c4577a2d0f3a6dd19a68e0965d938dcd6d198ffc78b70283d2f666158f49ea
#6 DONE 49.3s

#7 [internal] load .dockerignore
#7 sha256:486c79f5b1bdcb08ce5c6fd979f73354cbbb5673a212100490deb2329ccb4b1e
#7 DONE 0.0s

#8 [1/6] FROM docker.io/ocurrent/opam-staging@sha256:019c49e4522be3efc1680851d7d2d5d7b2df13c4f2044b3af1626a7315b28d0b
#8 sha256:a3a7dff3aa151a247e54fef0b977e3b5d87edb486e5e149c142520a0af6a6db8
#8 resolve docker.io/ocurrent/opam-staging@sha256:019c49e4522be3efc1680851d7d2d5d7b2df13c4f2044b3af1626a7315b28d0b
#8 resolve docker.io/ocurrent/opam-staging@sha256:019c49e4522be3efc1680851d7d2d5d7b2df13c4f2044b3af1626a7315b28d0b 1.0s done
#8 DONE 2.9s

#13 [internal] load build context
#13 sha256:1d5f6e8a6633bbe96a5f0f2b1843a747af7062809ea29493b9a0c7768f5083ee
#13 transferring context: 549B 0.8s done
#13 DONE 4.7s

#9 [2/6] RUN opam switch create 4.04 --packages=ocaml-base-compiler.4.04.2
#9 sha256:a32bd281d0a155cc04de9815bd881b0990471bc1271bf680516337e1c56409c1
#9 16.37 
#9 16.37 <><> Gathering sources ><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
#9 16.54 [ocaml-config.1/gen_ocaml_config.ml.in] downloaded from https://raw.githubusercontent.com/ocaml/opam-source-archives/main/patches/ocaml-config/gen_ocaml_config.ml.in.1
#9 16.64 [ocaml-config.1/ocaml-config.install] downloaded from https://raw.githubusercontent.com/ocaml/opam-source-archives/main/patches/ocaml-config/ocaml-config.install
#9 18.03 [ocaml-base-compiler.4.04.2] downloaded from https://github.com/ocaml/ocaml/archive/4.04.2.tar.gz
#9 21.95 [ocaml-base-compiler.4.04.2/alt-signal-stack.patch] downloaded from https://github.com/ocaml/ocaml/commit/6bcff7e6ce1a43e088469278eb3a9341e6a2ca5b.patch?full_index=1
#9 22.02 [ocaml-base-compiler.4.04.2/fix-gcc10.patch] downloaded from https://raw.githubusercontent.com/ocaml/opam-source-archives/main/patches/ocaml-base-compiler/fix-gcc10.patch.4.04.2
#9 22.22 [ocaml-base-compiler.4.04.2/gpr1330.patch] downloaded from https://github.com/ocaml/ocaml/commit/db11f141a0e35c7fbaec419a33c4c39d199e2635.patch?full_index=1
#9 22.22 
#9 22.22 <><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
#9 23.13 -> installed base-bigarray.base
#9 23.13 -> installed base-threads.base
#9 23.30 -> installed base-unix.base
#9 1645.0 -> installed ocaml-base-compiler.4.04.2
#9 1645.3 -> installed ocaml-config.1
#9 1645.5 -> installed ocaml.4.04.2
#9 1649.9 Done.
#9 1649.9 # Run eval $(opam env) to update the current shell environment
#9 DONE 1662.2s

#10 [3/6] RUN opam pin add -k version ocaml-base-compiler 4.04.2
#10 sha256:9d7de8cec6a42d02488c90c308c80209109821ebc2dd01257899ae30db97c1bc
#10 4.414 ocaml-base-compiler is now pinned to version 4.04.2
#10 4.414 
#10 14.04 No package build needed.
#10 14.04 Nothing to do.
#10 14.04 # Run eval $(opam env) to update the current shell environment
#10 DONE 23.2s

#11 [4/6] RUN opam install -y opam-depext
#11 sha256:0043e57aa45579302badc00201f8187429bc6faebf30a39796d6a708db96c387
#11 13.62 The following actions will be performed:
#11 13.62   - install opam-depext 1.2.1-1
#11 13.62 
#11 13.62 <><> Gathering sources ><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
#11 14.84 [opam-depext.1.2.1-1] downloaded from https://github.com/ocaml-opam/opam-depext/releases/download/v1.2.1/opam-depext-full-1.2.1.tbz
#11 16.86 
#11 16.86 <><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
#11 19.41 -> installed opam-depext.1.2.1-1
#11 21.15 Done.
#11 21.19 # Run eval $(opam env) to update the current shell environment
#11 DONE 31.2s

#12 [5/6] RUN opam install -y ocaml-secondary-compiler
#12 sha256:efac47af040b17bbebe87b2291d2b8d90941dfb0a43318510d0aa3abd7e237a3
#12 59.73 The following actions will be performed:
#12 59.73   - install ocaml-secondary-compiler 4.08.1-1
#12 59.73 
#12 59.73 <><> Gathering sources ><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
#12 67.35 [ocaml-secondary-compiler.4.08.1-1] downloaded from https://github.com/ocaml/ocaml/archive/4.08.1.tar.gz
#12 134.0 [ocaml-secondary-compiler.4.08.1-1/0001-Don-t-build-manpages-for-stdlib-docs.patch] downloaded from https://raw.githubusercontent.com/ocaml/opam-source-archives/main/patches/ocaml-secondary-compiler/0001-Don-t-build-manpages-for-stdlib-docs.patch
#12 134.1 [ocaml-secondary-compiler.4.08.1-1/0001-Fix-failure-to-install-tools-links.patch] downloaded from https://raw.githubusercontent.com/ocaml/opam-source-archives/main/patches/ocaml-secondary-compiler/0001-Fix-failure-to-install-tools-links.patch
#12 134.3 [ocaml-secondary-compiler.4.08.1-1/alt-signal-stack.patch] downloaded from https://github.com/ocaml/ocaml/commit/17df117b4939486d3285031900587afce5262c8c.patch?full_index=1
#12 134.4 [ocaml-secondary-compiler.4.08.1-1/fix-gcc10.patch] downloaded from https://raw.githubusercontent.com/ocaml/opam-source-archives/main/patches/ocaml-secondary-compiler/fix-gcc10.patch
#12 134.4 
#12 134.4 <><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
#12 727.2 -> installed ocaml-secondary-compiler.4.08.1-1
#12 727.7 Done.
#12 727.7 # Run eval $(opam env) to update the current shell environment
#12 DONE 747.3s

#14 [6/6] COPY --link [ Dockerfile, /Dockerfile.ocaml ]
#14 sha256:6c4240657bcfe8ad6e0efd9a5b26c9370006a5adb3e0cf6089cdc30912c9af6e
#14 DONE 38.0s

#15 exporting to image
#15 sha256:e8c613e07b0b7ff33893b694f7759a10d42e180f2b4dc349fb57dc6b71dcab00
#15 exporting layers
#15 exporting layers 4.5s done
#15 writing image sha256:9841020b45b478f3b49c9bd29ff9266670d881a4e6c9b36490b4d04139e20062 0.0s done
#15 DONE 4.6s
Pushing "sha256:9766d0e31fc8e9b13a47b437acc5e0998444523d2975bff190404c9caad011a2" to "ocurrent/opam-staging:fedora-39-ocaml-4.04-amd64" as user "ocurrentbuilder"
Login Succeeded
The push refers to repository [docker.io/ocurrent/opam-staging]
dbc309f8053b: Preparing
error parsing HTTP 400 response body: invalid character '<' looking for beginning of value: "<html><body><h1>400 Bad request</h1>\nYour browser sent an invalid request.\n</body></html>\n\n"
docker-push failed with exit-code 1
2024-06-04 05:02.15: Job failed: Failed: Build failed
2024-06-04 05:02.15: Log analysis:
2024-06-04 05:02.15: >>> docker-push failed (score = 20)
2024-06-04 05:02.15: docker-push failed