OrganisationsMagnusSbmtune3b5239 (master)fedora-40-4.14_opam-2.1

fedora-40-4.14_opam-2.1

Link Copied
Code Copied

Logs

2024-05-26 11:25.50: New job: test MagnusS/bmtune https://github.com/MagnusS/bmtune.git#refs/heads/master (3b5239a6aaca04fa1f2473ff114761ab161d7d5f) (linux-x86_64:fedora-40-4.14_opam-2.1)
Base: ocaml/opam@sha256:371d8656257eab725c08619966546c2f76e1caf7ad3e154ba10a31b920f5c3a5
Opam project build


To reproduce locally:


git clone --recursive "https://github.com/MagnusS/bmtune.git" -b "master" && cd "bmtune" && git reset --hard 3b5239a6
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam@sha256:371d8656257eab725c08619966546c2f76e1caf7ad3e154ba10a31b920f5c3a5
# fedora-40-4.14_opam-2.1
USER 1000:1000
ENV CLICOLOR_FORCE="1"
ENV OPAMCOLOR="always"
WORKDIR /src
RUN sudo dnf install -y findutils
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 1c7ec1efdedc0a230f387bd65706ef364627fdd0 || git fetch origin master) && git reset -q --hard 1c7ec1efdedc0a230f387bd65706ef364627fdd0 && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 bmtune.opam ./
RUN opam pin add -yn bmtune.dev './'
ENV DEPS="base-bigarray.base base-threads.base base-unix.base dune.3.15.3 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-config.2 ocaml-options-vanilla.1"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.1 --depext-only -y bmtune.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-05-26 11:25.50: Using cache hint "MagnusS/bmtune-ocaml/opam@sha256:371d8656257eab725c08619966546c2f76e1caf7ad3e154ba10a31b920f5c3a5-fedora-40-4.14_opam-2.1-9e103da6d924708d0d04c67742eea270"
2024-05-26 11:25.50: Using OBuilder spec:
((from ocaml/opam@sha256:371d8656257eab725c08619966546c2f76e1caf7ad3e154ba10a31b920f5c3a5)
 (comment fedora-40-4.14_opam-2.1)
 (user (uid 1000) (gid 1000))
 (env CLICOLOR_FORCE 1)
 (env OPAMCOLOR always)
 (workdir /src)
 (run (network host)
      (shell "sudo dnf install -y findutils"))
 (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 1c7ec1efdedc0a230f387bd65706ef364627fdd0 || git fetch origin master) && git reset -q --hard 1c7ec1efdedc0a230f387bd65706ef364627fdd0 && git log --no-decorate -n1 --oneline && opam update -u"))
 (copy (src bmtune.opam) (dst ./))
 (run (network host)
      (shell "opam pin add -yn bmtune.dev './'"))
 (env DEPS "base-bigarray.base base-threads.base base-unix.base dune.3.15.3 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-config.2 ocaml-options-vanilla.1")
 (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 bmtune.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-05-26 11:25.50: Waiting for resource in pool OCluster
2024-05-26 19:14.55: Waiting for worker…
2024-05-26 19:17.34: Got resource from pool OCluster
Building on x86-bm-c10.sw.ocaml.org
All commits already cached
HEAD is now at 3b5239a Add link to linuxkit image


(from ocaml/opam@sha256:371d8656257eab725c08619966546c2f76e1caf7ad3e154ba10a31b920f5c3a5)
2024-05-26 19:17.34 ---> using "4b4d366daadbd069aee1fa64f656532d8ff2a387ae917ae0b27d2ab0f3bfce98" from cache


/: (comment fedora-40-4.14_opam-2.1)


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


/: (env CLICOLOR_FORCE 1)


/: (env OPAMCOLOR always)


/: (workdir /src)


/src: (run (network host)
           (shell "sudo dnf install -y findutils"))
Fedora 40 - x86_64 - Updates                    256 kB/s |  22 kB     00:00    
Fedora 40 - x86_64 - Updates                    8.8 MB/s | 3.6 MB     00:00    
Last metadata expiration check: 0:00:02 ago on Sun May 26 18:11:33 2024.
Package findutils-1:4.9.0-8.fc40.x86_64 is already installed.
Dependencies resolved.
Nothing to do.
Complete!
2024-05-26 19:17.34 ---> using "747a2fc89179cf3646fefa8a5f128b5116c99f1f8f2a3316e388b2f78c5f1e8a" from cache


/src: (run (shell "sudo ln -f /usr/bin/opam-2.1 /usr/bin/opam"))
2024-05-26 19:17.34 ---> using "bd67cd954ea4c54f708073a4c43517bf07a31ce4f3c2f07e54e3a5b90c1be4c9" from cache


/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-05-26 19:17.34 ---> using "8af52fd1105129d74f7c8c46a10304df9c624582c7b2ff91a9c9168cf5c7cd19" from cache


/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-107-generic
The OCaml toplevel, version 4.14.2
2.1.6
2024-05-26 19:17.34 ---> using "e4cb580feb72bd0c466598ec01a415226bb0d28de20a7cc0e22b0dd427e30bee" from cache


/src: (workdir /src)


/src: (run (shell "sudo chown opam /src"))
2024-05-26 19:17.34 ---> using "85c363037c3d2c5eaca74e0d4d6d2a17f5ba1a120f0ae0b60d170e3c6d07ead8" from cache


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


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


Everything as up-to-date as possible (run with --verbose to show unavailable upgrades).
However, you may "opam upgrade" these packages explicitly, which will ask permission to downgrade or uninstall the conflicting packages.
Nothing to do.
# Run eval $(opam env) to update the current shell environment
2024-05-26 19:17.34 ---> using "25ec253db473f7f7b5105911e4e7b459a3a79c5b4ca501e57256341ed779e2a1" from cache


/src: (copy (src bmtune.opam) (dst ./))
2024-05-26 19:17.34 ---> saved as "f27c91c861c681cbe6887217d70050c60db69c351a1a55ee286b9acf5b2578ac"


/src: (run (network host)
           (shell "opam pin add -yn bmtune.dev './'"))
Package bmtune does not exist, create as a NEW package? [Y/n] y
[bmtune.dev] synchronised (file:///src)
bmtune is now pinned to file:///src (version dev)
2024-05-26 19:17.37 ---> saved as "0654b0bfc8974fe83f5fbbb6780f89ede72f1cf153b9aff289d27ff3245bcdee"


/src: (env DEPS "base-bigarray.base base-threads.base base-unix.base dune.3.15.3 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-config.2 ocaml-options-vanilla.1")


/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 bmtune.dev $DEPS"))
+ /usr/bin/sudo "yum" "makecache"
- Fedora 40 - x86_64                              257 kB/s |  25 kB     00:00    
- Fedora 40 openh264 (From Cisco) - x86_64         12 kB/s | 989  B     00:00    
- Fedora 40 - x86_64 - Updates                    253 kB/s |  23 kB     00:00    
- Metadata cache created.


<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[bmtune.dev] synchronised (no changes)


[NOTE] Package ocaml-options-vanilla is already installed (current version is 1).
[NOTE] Package ocaml-config is already installed (current version is 2).
[NOTE] Package ocaml-base-compiler is already installed (current version is 4.14.2).
[NOTE] Package ocaml is already installed (current version is 4.14.2).
[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-bigarray is already installed (current version is base).
2024-05-26 19:18.05 ---> saved as "d94feca3675dc126531516f6bc7183d8525abc6d8a44e0cf0058771ba37862b5"


/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
           (network host)
           (shell "opam install $DEPS"))
[NOTE] Package ocaml-options-vanilla is already installed (current version is 1).
[NOTE] Package ocaml-config is already installed (current version is 2).
[NOTE] Package ocaml-base-compiler is already installed (current version is 4.14.2).
[NOTE] Package ocaml is already installed (current version is 4.14.2).
[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-bigarray is already installed (current version is base).
The following actions will be performed:
  - install dune 3.15.3


<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved dune.3.15.3  (cached)
-> installed dune.3.15.3
Done.
# Run eval $(opam env) to update the current shell environment
2024-05-26 19:18.57 ---> saved as "fe37e5385ac14f29fa598a45f1620b41beeae97936ac9bb10b54c4eb338d4a74"


/src: (copy (src .) (dst /src))
2024-05-26 19:18.57 ---> saved as "54497fa86763c07c127a2d6e4a7bb90ca79009e0bd28ad3d7de61af3a6cd0753"


/src: (run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build"))
2024-05-26 19:18.58 ---> saved as "9717db4e48f110db253b0e11efc974067c3f878645cbc47ab1090606d0cfb32b"
Job succeeded
2024-05-26 19:18.58: Job succeeded