Organisationsemillonjs-monorepo95bd85 (main)js-monorepo.413.opam.locked

js-monorepo.413.opam.locked

Link Copied
Code Copied

Logs

2024-05-10 08:55.32: New job: test emillon/js-monorepo https://github.com/emillon/js-monorepo.git#refs/heads/main (95bd8558ddf3cda662a3d054ccffd6315363c037) (linux-x86_64:js-monorepo.413.opam.locked)
Base: ocaml/opam@sha256:563d1cc33dfed86abcf145fb5225d72ba9d768181a6c17ba3dbccef8909259b1
opam-monorepo build


To reproduce locally:


git clone --recursive "https://github.com/emillon/js-monorepo.git" -b "main" && cd "js-monorepo" && git reset --hard 95bd8558
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam@sha256:563d1cc33dfed86abcf145fb5225d72ba9d768181a6c17ba3dbccef8909259b1
# debian-12-4.13_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 307e33d08fc4ccc1ea453ab45b0ead8ed574b97b || git fetch origin master) && git reset -q --hard 307e33d08fc4ccc1ea453ab45b0ead8ed574b97b && git log --no-decorate -n1 --oneline && opam update -u
ENV DEPS="base-bigarray.base base-threads.base base-unix.base conf-pkg-config.3 dune.2.9.3 ocaml.4.13.1 ocaml-base-compiler.4.13.1 ocaml-config.2 ocaml-options-vanilla.1 opam-monorepo.0.2.7"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.1 --depext-only -y  $DEPS
RUN opam install $DEPS
WORKDIR /src
RUN sudo chown opam /src
COPY --chown=1000:1000 dune-project js-monorepo.413.opam.locked /src/
RUN opam monorepo depext --yes --lock ./js-monorepo.413.opam.locked
RUN opam exec -- opam monorepo pull
COPY --chown=1000:1000 . /src/
RUN opam exec -- dune build @install
RUN opam exec -- dune runtest


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


2024-05-10 08:55.32: Using cache hint "emillon/js-monorepo-ocaml/opam@sha256:563d1cc33dfed86abcf145fb5225d72ba9d768181a6c17ba3dbccef8909259b1-debian-12-4.13_opam-2.1-opam-monorepo-debian-12-4.13_opam-2.1"
2024-05-10 08:55.32: Using OBuilder spec:
((from ocaml/opam@sha256:563d1cc33dfed86abcf145fb5225d72ba9d768181a6c17ba3dbccef8909259b1)
 (comment debian-12-4.13_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 307e33d08fc4ccc1ea453ab45b0ead8ed574b97b || git fetch origin master) && git reset -q --hard 307e33d08fc4ccc1ea453ab45b0ead8ed574b97b && git log --no-decorate -n1 --oneline && opam update -u"))
 (env DEPS "base-bigarray.base base-threads.base base-unix.base conf-pkg-config.3 dune.2.9.3 ocaml.4.13.1 ocaml-base-compiler.4.13.1 ocaml-config.2 ocaml-options-vanilla.1 opam-monorepo.0.2.7")
 (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  $DEPS"))
 (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
      (network host)
      (shell "opam install $DEPS"))
 (workdir /src)
 (run (shell "sudo chown opam /src"))
 (copy (src dune-project js-monorepo.413.opam.locked) (dst /src/))
 (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
      (network host)
      (shell "opam monorepo depext --yes --lock ./js-monorepo.413.opam.locked"))
 (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
      (network host)
      (shell "opam exec -- opam monorepo pull"))
 (copy (src .) (dst /src/))
 (run (cache (dune:emillon:js-monorepo (target /src/_build) (buildkit_options ((sharing private)))))
      (shell "opam exec -- dune build @install"))
 (run (cache (dune:emillon:js-monorepo (target /src/_build) (buildkit_options ((sharing private)))))
      (shell "opam exec -- dune runtest"))
)


2024-05-10 08:55.32: Waiting for resource in pool OCluster
2024-05-10 12:42.13: Waiting for worker…
2024-05-10 12:46.02: Got resource from pool OCluster
Building on doris.caelum.ci.dev
All commits already cached
HEAD is now at 95bd855 Merge pull request #6 from emillon/lock-413


(from ocaml/opam@sha256:563d1cc33dfed86abcf145fb5225d72ba9d768181a6c17ba3dbccef8909259b1)
2024-05-10 12:46.03 ---> using "7c9b9c2134a6eaa9d7a4892dcbc21fbfaebcfc91ffc51a484cde3401b612cc01" from cache


/: (comment debian-12-4.13_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-05-10 12:46.03 ---> using "c51349991c86c91bfb00414343d37d25e0e3372368ca4058a6f79f884e409769" 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-10 12:46.03 ---> using "8cebae41731103b81960bc23bc5b7eddb596edb3e7d2b7aad967d9419cc2cff8" from cache


/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-101-generic
The OCaml toplevel, version 4.13.1
2.1.5
2024-05-10 12:46.03 ---> using "8746023aef9050bfedb038c6d4360f6f21714c1a1c5a99afff983f60aaa0ad68" from cache


/src: (workdir /src)


/src: (run (shell "sudo chown opam /src"))
2024-05-10 12:46.03 ---> using "f006f2ccdb9cdd02160686a2d85bce33615f98f7be0fd996296c3cc8117cc08d" from cache


/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
           (network host)
           (shell "cd ~/opam-repository && (git cat-file -e 307e33d08fc4ccc1ea453ab45b0ead8ed574b97b || git fetch origin master) && git reset -q --hard 307e33d08fc4ccc1ea453ab45b0ead8ed574b97b && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
 * branch                  master     -> FETCH_HEAD
   fa727ddb20..20baedeee4  master     -> origin/master
307e33d08f @dra27 and @Octachron maintain the 4.08+ packages


<><> 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-10 12:46.03 ---> using "a32a713f86dfdac12deb4efaccb2f1d126eb484a86a532e8d328ac3b3e91308f" from cache


/src: (env DEPS "base-bigarray.base base-threads.base base-unix.base conf-pkg-config.3 dune.2.9.3 ocaml.4.13.1 ocaml-base-compiler.4.13.1 ocaml-config.2 ocaml-options-vanilla.1 opam-monorepo.0.2.7")


/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  $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 bookworm-updates/main amd64 Packages.diff/Index [10.6 kB]
- Get:5 http://deb.debian.org/debian bookworm-updates/main amd64 Packages T-2024-04-23-2036.10-F-2024-04-23-2036.10.pdiff [1595 B]
- Get:5 http://deb.debian.org/debian bookworm-updates/main amd64 Packages T-2024-04-23-2036.10-F-2024-04-23-2036.10.pdiff [1595 B]
- Get:6 http://deb.debian.org/debian-security bookworm-security/main amd64 Packages [155 kB]
- Fetched 271 kB in 1s (417 kB/s)
- Reading package lists...
- 
[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.13.1).
[NOTE] Package ocaml is already installed (current version is 4.13.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-bigarray is already installed (current version is base).


The following system packages will first need to be installed:
    pkg-config


<><> Handling external dependencies <><><><><><><><><><><><><><><><><><><><><><>
+ /usr/bin/sudo "apt-get" "install" "-qq" "-yy" "pkg-config"
- debconf: delaying package configuration, since apt-utils is not installed


2024-05-10 12:46.17 ---> saved as "b5fde49f51e8b249db6aa1a9721389bd7ab8a68cc7a410495fa4894212eb6fd1"


/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.13.1).
[NOTE] Package ocaml is already installed (current version is 4.13.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-bigarray is already installed (current version is base).
The following actions will be performed:
  - install conf-pkg-config 3
  - install dune            2.9.3
  - install opam-monorepo   0.2.7
===== 3 to install =====


<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved dune.2.9.3  (cached)
-> retrieved opam-monorepo.0.2.7  (cached)
-> installed conf-pkg-config.3
-> installed dune.2.9.3
-> installed opam-monorepo.0.2.7
Done.
# Run eval $(opam env) to update the current shell environment
2024-05-10 12:47.03 ---> saved as "be17eb845300c8336c877888b65888be5cd2d22df9cd22b78a5116dd4fde2d1b"


/src: (workdir /src)


/src: (run (shell "sudo chown opam /src"))
2024-05-10 12:47.03 ---> saved as "ee809a9f64a29b7084d98b76c4c7ce529f7a1ec8f7b19bcfb5892b74b4fbed37"


/src: (copy (src dune-project js-monorepo.413.opam.locked) (dst /src/))
2024-05-10 12:47.04 ---> saved as "9a12aeeb8a808bae4662bcdafa26fac6f2a176888f6058bb90b93001dcddd33a"


/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
           (network host)
           (shell "opam monorepo depext --yes --lock ./js-monorepo.413.opam.locked"))
==> Using lockfile js-monorepo.413.opam.locked
+ /usr/bin/sudo "apt-get" "install" "-qq" "-yy" "libgmp-dev" "libpcre3-dev"
- debconf: delaying package configuration, since apt-utils is not installed


2024-05-10 12:47.14 ---> saved as "512b6d45fcd4c23c6519897cb7c9c1b777c189e07aad39722a392d92f0e8ecb2"


/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
           (network host)
           (shell "opam exec -- opam monorepo pull"))
==> Using lockfile /src/js-monorepo.413.opam.locked
Successfully pulled 26/26 repositories
2024-05-10 12:47.16 ---> saved as "71cc3e179408ce62f02027802f22ed3fff3b8dc37fff96bf11d87d6dff7fd3bc"


/src: (copy (src .) (dst /src/))
2024-05-10 12:47.18 ---> saved as "f475e4747b24a4280973c3fceb5016ba6c63a24e528968bfb006053a0cc23f88"


/src: (run (cache (dune:emillon:js-monorepo (target /src/_build) (buildkit_options ((sharing private)))))
           (shell "opam exec -- dune build @install"))
Error: unlink:
_build/default/shell.v0.14.0/low_level_process/test-bin/oUnit-anon.cache: No
such file or directory
"/usr/bin/env" "bash" "-c" "opam exec -- dune build @install" failed with exit status 1
2024-05-10 12:47.20: Job failed: Failed: Build failed