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

fedora-39-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-39-4.14_opam-2.1)
Base: ocaml/opam@sha256:e8ae1296da35f446c91b13eba7f875bf760cc9b5703f464559e784515b2d9d4d
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:e8ae1296da35f446c91b13eba7f875bf760cc9b5703f464559e784515b2d9d4d
# fedora-39-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:e8ae1296da35f446c91b13eba7f875bf760cc9b5703f464559e784515b2d9d4d-fedora-39-4.14_opam-2.1-9e103da6d924708d0d04c67742eea270"
2024-05-26 11:25.50: Using OBuilder spec:
((from ocaml/opam@sha256:e8ae1296da35f446c91b13eba7f875bf760cc9b5703f464559e784515b2d9d4d)
 (comment fedora-39-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.56: Waiting for worker…
2024-05-26 19:17.37: Got resource from pool OCluster
Building on x86-bm-c18.sw.ocaml.org
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint: 
hint: 	git config --global init.defaultBranch <name>
hint: 
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint: 
hint: 	git branch -m <name>
Initialized empty Git repository in /var/cache/obuilder/ocluster/git/bmtune.git-52966f4b0fb43226fea36b43dbaf799429f48412/.git/
HEAD is now at 3b5239a Add link to linuxkit image


(from ocaml/opam@sha256:e8ae1296da35f446c91b13eba7f875bf760cc9b5703f464559e784515b2d9d4d)
2024-05-26 19:17.37 ---> using "8be36eb9fa5be1c0db7100501b6b3334f28c20287953793be6661072a4a65611" from cache


/: (comment fedora-39-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 39 - x86_64 - Updates                    228 kB/s |  23 kB     00:00    
Fedora 39 - x86_64 - Updates                    3.9 MB/s | 6.0 MB     00:01    
Last metadata expiration check: 0:00:15 ago on Sun May 26 18:30:48 2024.
Package findutils-1:4.9.0-5.fc39.x86_64 is already installed.
Dependencies resolved.
Nothing to do.
Complete!
2024-05-26 19:17.37 ---> using "c42d71c4bfc0b341206e1bf2b37d4fce65972aa11b31622ff94ccc2a8008641b" from cache


/src: (run (shell "sudo ln -f /usr/bin/opam-2.1 /usr/bin/opam"))
2024-05-26 19:17.37 ---> using "50ceee5cfd97ae62d2b5a6a39b83e98b810e8a412868bffa9fcd7692c2e9e53c" 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.37 ---> using "b7237503aa3e482d95880200ef815c95b060d1db4ad15c14cf2946d909d70866" 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.37 ---> using "23a2f685c9e2a9e1bd630b467869de099e3dfa040956abfce6696a5a3ede64d8" from cache


/src: (workdir /src)


/src: (run (shell "sudo chown opam /src"))
2024-05-26 19:17.37 ---> using "b886634df2fb69c8bb38b67d8f45fa7d5008aade44b8df2f1fb8ef4444b472b8" 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.37 ---> using "af8e5efc2a7b263d264b1e052b9d606886c48a4049923a18a41d7d2233c5cae5" from cache


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


/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.39 ---> saved as "84ca0e15be9aa76ed8936a3d9e93dfcdd3b89773e85f4d37ad689f615c26df9d"


/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 39 - x86_64                              242 kB/s |  25 kB     00:00    
- Fedora 39 openh264 (From Cisco) - x86_64         13 kB/s | 989  B     00:00    
- Fedora 39 - x86_64 - Updates                    250 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.10 ---> saved as "795aeca22e262c03d6280e4478cddb35e4127cf2e4f2b80117c2dafeeb0b7bd1"


/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:19.15 ---> saved as "5ab5d812e763dd3367e057fe4c51d9a4bf994e85f530ac84e2c3bf8634e0e207"


/src: (copy (src .) (dst /src))
2024-05-26 19:19.16 ---> saved as "c43e22145fe28b84e423de0600eb82e9cf86539f27e532a1427b51835a015171"


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