Organisationsmiragemirage-timec68f19 (main)debian-12-5.2+flambda_opam-2.1

debian-12-5.2+flambda_opam-2.1

Link Copied
Code Copied

Logs

2024-06-17 13:04.17: New job: test mirage/mirage-time https://github.com/mirage/mirage-time.git#refs/heads/main (c68f199b1952f0656526a3212f82afd2a49c1f00) (linux-x86_64:debian-12-5.2+flambda_opam-2.1)
Base: ocaml/opam@sha256:1dca51303e0c54ed6a19a13785690b007259303574edb09eff567f3a2315d0f9
Opam project build


To reproduce locally:


git clone --recursive "https://github.com/mirage/mirage-time.git" -b "main" && cd "mirage-time" && git reset --hard c68f199b
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam@sha256:1dca51303e0c54ed6a19a13785690b007259303574edb09eff567f3a2315d0f9
# debian-12-5.2+flambda_opam-2.1
USER 1000:1000
ENV CLICOLOR_FORCE="1"
ENV OPAMCOLOR="always"
WORKDIR /src
RUN sudo ln -f /usr/bin/opam-2.1 /usr/bin/opam
RUN opam init --reinit -ni
RUN uname -rs && opam exec -- ocaml -version && opam --version
WORKDIR /src
RUN sudo chown opam /src
RUN cd ~/opam-repository && (git cat-file -e a6069b9eebba0e2b70cdbbd834bc800eb6d671fb || git fetch origin master) && git reset -q --hard a6069b9eebba0e2b70cdbbd834bc800eb6d671fb && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 mirage-time.opam mirage-time-unix.opam ./
RUN opam pin add -yn mirage-time.dev './' && \
    opam pin add -yn mirage-time-unix.dev './'
ENV DEPS="base-bigarray.base base-bytes.base base-domains.base base-nnp.base base-threads.base base-unix.base cppo.1.6.9 csexp.1.5.2 dune.3.16.0 dune-configurator.3.16.0 duration.0.2.1 host-arch-x86_64.1 host-system-other.1 lwt.5.7.0 ocaml.5.2.0 ocaml-config.3 ocaml-variants.5.2.0+options ocamlfind.1.9.6 ocplib-endian.1.2"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.1 --depext-only -y mirage-time.dev mirage-time-unix.dev $DEPS
RUN opam install $DEPS
COPY --chown=1000:1000 . /src
RUN opam exec -- dune build @install @check @runtest && rm -rf _build


END-OF-DOCKERFILE
docker build .
END-REPRO-BLOCK


2024-06-17 13:04.17: Using cache hint "mirage/mirage-time-ocaml/opam@sha256:1dca51303e0c54ed6a19a13785690b007259303574edb09eff567f3a2315d0f9-debian-12-5.2+flambda_opam-2.1-40ea9f11636b4da5d129957e9e1fe251"
2024-06-17 13:04.17: Using OBuilder spec:
((from ocaml/opam@sha256:1dca51303e0c54ed6a19a13785690b007259303574edb09eff567f3a2315d0f9)
 (comment debian-12-5.2+flambda_opam-2.1)
 (user (uid 1000) (gid 1000))
 (env CLICOLOR_FORCE 1)
 (env OPAMCOLOR always)
 (workdir /src)
 (run (shell "sudo ln -f /usr/bin/opam-2.1 /usr/bin/opam"))
 (run (shell "opam init --reinit -ni"))
 (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
 (workdir /src)
 (run (shell "sudo chown opam /src"))
 (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
      (network host)
      (shell "cd ~/opam-repository && (git cat-file -e a6069b9eebba0e2b70cdbbd834bc800eb6d671fb || git fetch origin master) && git reset -q --hard a6069b9eebba0e2b70cdbbd834bc800eb6d671fb && git log --no-decorate -n1 --oneline && opam update -u"))
 (copy (src mirage-time.opam mirage-time-unix.opam) (dst ./))
 (run (network host)
      (shell  "opam pin add -yn mirage-time.dev './' && \
             \nopam pin add -yn mirage-time-unix.dev './'"))
 (env DEPS "base-bigarray.base base-bytes.base base-domains.base base-nnp.base base-threads.base base-unix.base cppo.1.6.9 csexp.1.5.2 dune.3.16.0 dune-configurator.3.16.0 duration.0.2.1 host-arch-x86_64.1 host-system-other.1 lwt.5.7.0 ocaml.5.2.0 ocaml-config.3 ocaml-variants.5.2.0+options ocamlfind.1.9.6 ocplib-endian.1.2")
 (env CI true)
 (env OCAMLCI true)
 (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
      (network host)
      (shell "opam update --depexts && opam install --cli=2.1 --depext-only -y mirage-time.dev mirage-time-unix.dev $DEPS"))
 (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
      (network host)
      (shell "opam install $DEPS"))
 (copy (src .) (dst /src))
 (run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build"))
)


2024-06-17 13:04.17: Waiting for resource in pool OCluster
2024-06-19 14:00.12: Waiting for worker…
2024-06-19 14:04.01: Got resource from pool OCluster
Building on x86-bm-c12.sw.ocaml.org
All commits already cached
HEAD is now at c68f199 changes for 3.0.0


(from ocaml/opam@sha256:1dca51303e0c54ed6a19a13785690b007259303574edb09eff567f3a2315d0f9)
Unable to find image 'ocaml/opam@sha256:1dca51303e0c54ed6a19a13785690b007259303574edb09eff567f3a2315d0f9' locally
docker.io/ocaml/opam@sha256:1dca51303e0c54ed6a19a13785690b007259303574edb09eff567f3a2315d0f9: Pulling from ocaml/opam
e72c308892e6: Pulling fs layer
e72c308892e6: Verifying Checksum
e72c308892e6: Download complete
e72c308892e6: Pull complete
Digest: sha256:1dca51303e0c54ed6a19a13785690b007259303574edb09eff567f3a2315d0f9
Status: Downloaded newer image for ocaml/opam@sha256:1dca51303e0c54ed6a19a13785690b007259303574edb09eff567f3a2315d0f9
2024-06-19 14:06.04 ---> saved as "464a1e7a542b35bc70d81a27ae67256794e6179568e0062f21f8f0e0c72dbe77"


/: (comment debian-12-5.2+flambda_opam-2.1)


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


/: (env CLICOLOR_FORCE 1)


/: (env OPAMCOLOR always)


/: (workdir /src)


/src: (run (shell "sudo ln -f /usr/bin/opam-2.1 /usr/bin/opam"))
2024-06-19 14:06.04 ---> saved as "dfa69e055bba8589437634769bf91f94b0a268afe11681988af27e54fc9a9ed5"


/src: (run (shell "opam init --reinit -ni"))
Configuring from /home/opam/.opamrc and then from built-in defaults.
Checking for available remotes: rsync and local, git.
  - you won't be able to use mercurial repositories unless you install the hg command on your system.
  - you won't be able to use darcs repositories unless you install the darcs command on your system.


This version of opam requires an update to the layout of /home/opam/.opam from version 2.0 to version 2.1, which can't be reverted.
You may want to back it up before going further.


Continue? [Y/n] y
Format upgrade done.


<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] synchronised from file:///home/opam/opam-repository
2024-06-19 14:07.28 ---> saved as "e11cf46c9702ee263b9ad3e7170839f151b9826ae78698e01101ff538a0e13bf"


/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-112-generic
The OCaml toplevel, version 5.2.0
2.1.6
2024-06-19 14:07.28 ---> saved as "b18c43d20180458255a2a67a3ad58b55fbf2cff8b982226374386230ab6b60f3"


/src: (workdir /src)


/src: (run (shell "sudo chown opam /src"))
2024-06-19 14:07.28 ---> saved as "5742aa4c3776b1d950c3cb3261d1f238ff9c5aaa7b0c64b755c4713835ad69a9"


/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
           (network host)
           (shell "cd ~/opam-repository && (git cat-file -e a6069b9eebba0e2b70cdbbd834bc800eb6d671fb || git fetch origin master) && git reset -q --hard a6069b9eebba0e2b70cdbbd834bc800eb6d671fb && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
 * branch                  master     -> FETCH_HEAD
   c45f5bab71..59c0c54934  master     -> origin/master
a6069b9eeb [new release] dune (15 packages) (3.16.0)


<><> Updating package repositories ><><><><><><><><><><><><><><><><><><><><><><>
[default] synchronised from file:///home/opam/opam-repository


The following actions will be performed:
  - recompile ocaml-options-only-flambda 1              [upstream or system changes]
  - install   host-arch-x86_64           1
  - install   host-system-other          1
  - recompile ocaml-variants             5.2.0+options* [upstream or system changes]
  - recompile ocaml-config               3              [uses ocaml-variants]
  - recompile ocaml                      5.2.0          [uses ocaml-variants]
  - recompile opam-depext                1.2.1-1        [uses ocaml]
  - recompile base-domains               base           [uses ocaml]
  - recompile base-nnp                   base           [uses base-domains]
===== 2 to install | 7 to recompile =====


<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved ocaml-config.3  (cached)
-> removed   ocaml-options-only-flambda.1
-> installed host-arch-x86_64.1
-> installed host-system-other.1
-> installed ocaml-options-only-flambda.1
-> retrieved opam-depext.1.2.1-1  (cached)
-> retrieved ocaml-variants.5.2.0+options  (cached)
-> removed   base-nnp.base
-> removed   base-domains.base
-> removed   opam-depext.1.2.1-1
-> removed   ocaml.5.2.0
-> removed   ocaml-config.3
-> removed   ocaml-variants.5.2.0+options
-> installed ocaml-variants.5.2.0+options
-> installed ocaml-config.3
-> installed ocaml.5.2.0
-> installed base-domains.base
-> installed base-nnp.base
-> installed opam-depext.1.2.1-1
Done.


<><> opam-depext.1.2.1-1 installed successfully <><><><><><><><><><><><><><><><>
=> opam-depext is unnecessary when used with opam >= 2.1. Please use opam install directly instead
# Run eval $(opam env) to update the current shell environment
2024-06-19 14:14.59 ---> saved as "48dc002287734af539b2291bc87db6ad3117bd8dc0b16167fecc42a97962333a"


/src: (copy (src mirage-time.opam mirage-time-unix.opam) (dst ./))
2024-06-19 14:15.00 ---> saved as "29d11c7a067a334070cdc78538a00d7dfb3c877de9f54c548c9183ecec4d6ac6"


/src: (run (network host)
           (shell  "opam pin add -yn mirage-time.dev './' && \
                  \nopam pin add -yn mirage-time-unix.dev './'"))
[mirage-time.dev] synchronised (file:///src)
mirage-time is now pinned to file:///src (version dev)
[mirage-time-unix.dev] synchronised (file:///src)
mirage-time-unix is now pinned to file:///src (version dev)
2024-06-19 14:15.05 ---> saved as "a1638683b8f34fa4501fb705cfee92fb88b874d2755dd2f11aa8a7684b0b9d86"


/src: (env DEPS "base-bigarray.base base-bytes.base base-domains.base base-nnp.base base-threads.base base-unix.base cppo.1.6.9 csexp.1.5.2 dune.3.16.0 dune-configurator.3.16.0 duration.0.2.1 host-arch-x86_64.1 host-system-other.1 lwt.5.7.0 ocaml.5.2.0 ocaml-config.3 ocaml-variants.5.2.0+options ocamlfind.1.9.6 ocplib-endian.1.2")


/src: (env CI true)


/src: (env OCAMLCI true)


/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
           (network host)
           (shell "opam update --depexts && opam install --cli=2.1 --depext-only -y mirage-time.dev mirage-time-unix.dev $DEPS"))
+ /usr/bin/sudo "apt-get" "update"
- 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 [160 kB]
- Fetched 263 kB in 1s (480 kB/s)
- Reading package lists...
- 


<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[mirage-time.dev] synchronised (no changes)
[mirage-time-unix.dev] synchronised (no changes)


[NOTE] Package ocaml-variants is already installed (current version is 5.2.0+options).
[NOTE] Package ocaml-config is already installed (current version is 3).
[NOTE] Package ocaml is already installed (current version is 5.2.0).
[NOTE] Package host-system-other is already installed (current version is 1).
[NOTE] Package host-arch-x86_64 is already installed (current version is 1).
[NOTE] Package base-unix is already installed (current version is base).
[NOTE] Package base-threads is already installed (current version is base).
[NOTE] Package base-nnp is already installed (current version is base).
[NOTE] Package base-domains is already installed (current version is base).
[NOTE] Package base-bigarray is already installed (current version is base).
2024-06-19 14:15.24 ---> saved as "a7fc89cc317e0dba441b3ccb8191f5496aa65de72f16767183eccb532d1541e0"


/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
           (network host)
           (shell "opam install $DEPS"))
[NOTE] Package ocaml-variants is already installed (current version is 5.2.0+options).
[NOTE] Package ocaml-config is already installed (current version is 3).
[NOTE] Package ocaml is already installed (current version is 5.2.0).
[NOTE] Package host-system-other is already installed (current version is 1).
[NOTE] Package host-arch-x86_64 is already installed (current version is 1).
[NOTE] Package base-unix is already installed (current version is base).
[NOTE] Package base-threads is already installed (current version is base).
[NOTE] Package base-nnp is already installed (current version is base).
[NOTE] Package base-domains is already installed (current version is base).
[NOTE] Package base-bigarray is already installed (current version is base).
The following actions will be performed:
  - install dune              3.16.0
  - install ocamlfind         1.9.6
  - install duration          0.2.1
  - install csexp             1.5.2
  - install cppo              1.6.9
  - install base-bytes        base
  - install dune-configurator 3.16.0
  - install ocplib-endian     1.2
  - install lwt               5.7.0
===== 9 to install =====


<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved cppo.1.6.9  (cached)
-> retrieved csexp.1.5.2  (cached)
-> retrieved duration.0.2.1  (cached)
-> retrieved lwt.5.7.0  (cached)
-> retrieved ocamlfind.1.9.6  (cached)
-> retrieved dune.3.16.0  (cached)
-> retrieved dune-configurator.3.16.0  (cached)
-> retrieved ocplib-endian.1.2  (cached)
-> installed ocamlfind.1.9.6
-> installed base-bytes.base
-> installed dune.3.16.0
-> installed duration.0.2.1
-> installed csexp.1.5.2
-> installed cppo.1.6.9
-> installed ocplib-endian.1.2
-> installed dune-configurator.3.16.0
-> installed lwt.5.7.0
Done.
# Run eval $(opam env) to update the current shell environment
2024-06-19 14:16.43 ---> saved as "939d2987007e8d696896d4865e4633dcf5020b91a48074cf24a0d4423e9cd573"


/src: (copy (src .) (dst /src))
2024-06-19 14:16.43 ---> saved as "8174f59837a171688c00daaa56c600539cccf72bcec9e7271c90e474ca2952c8"


/src: (run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build"))
2024-06-19 14:16.44 ---> saved as "e9ed104bb0d30ff3d38adc44564a003af62808f0b7895c9aa7efd30ee2f4e022"
Job succeeded
2024-06-19 14:16.44: Job succeeded