Organisationsygreksqlggc9fd0b ()ubuntu-24.04-4.14_opam-2.3

ubuntu-24.04-4.14_opam-2.3

Logs

Show full logs
2025-04-11 13:47.18: New job: test ygrek/sqlgg https://github.com/ygrek/sqlgg.git#refs/pull/177/head (c9fd0b241aac122662b7c6b40bda46015f8c46f6) (linux-x86_64:ubuntu-24.04-4.14_opam-2.3)
Base: ocaml/opam:ubuntu-24.04-ocaml-4.14@sha256:c16115334565a581dbe16a37c8b9e0a6b552015855dafe8db20776f53e61dd7d
Opam project build

To reproduce locally:

git clone --recursive "https://github.com/ygrek/sqlgg.git" && cd "sqlgg" && git fetch origin "refs/pull/177/head" && git reset --hard c9fd0b24
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:ubuntu-24.04-ocaml-4.14@sha256:c16115334565a581dbe16a37c8b9e0a6b552015855dafe8db20776f53e61dd7d
# ubuntu-24.04-4.14_opam-2.3
USER 1000:1000
ENV CLICOLOR_FORCE="1"
ENV OPAMCOLOR="always"
WORKDIR /src
RUN sudo ln -f /usr/bin/opam-2.3 /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 1b767795a4e028a4d45f916f1598c24ee7a7b6cb || git fetch origin master) && git reset -q --hard 1b767795a4e028a4d45f916f1598c24ee7a7b6cb && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 sqlgg.opam ./
RUN opam pin add -yn sqlgg.dev './'
RUN echo '(lang dune 3.0)' > './dune-project'
ENV DEPS="base-bigarray.base base-threads.base base-unix.base cppo.1.8.0 dune.3.18.0 extlib.1.8.0 menhir.20240715 menhirCST.20240715 menhirLib.20240715 menhirSdk.20240715 mybuild.7 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-compiler-libs.v0.12.4 ocaml-config.2 ocaml-options-vanilla.1 ocamlfind.1.9.8 ounit.2.2.7 ounit2.2.2.7 ppx_derivers.1.2.1 ppx_deriving.6.1.0 ppxlib.0.36.0 seq.base sexplib0.v0.17.0 stdlib-shims.0.3.0"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.3 --depext-only -y sqlgg.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

2025-04-11 13:47.18: Using cache hint "ygrek/sqlgg-ocaml/opam:ubuntu-24.04-ocaml-4.14@sha256:c16115334565a581dbe16a37c8b9e0a6b552015855dafe8db20776f53e61dd7d-ubuntu-24.04-4.14_opam-2.3-4aa99bdb436303947194f2394b3d2ef5"
2025-04-11 13:47.18: Using OBuilder spec:
((from ocaml/opam:ubuntu-24.04-ocaml-4.14@sha256:c16115334565a581dbe16a37c8b9e0a6b552015855dafe8db20776f53e61dd7d)
 (comment ubuntu-24.04-4.14_opam-2.3)
 (user (uid 1000) (gid 1000))
 (env CLICOLOR_FORCE 1)
 (env OPAMCOLOR always)
 (workdir /src)
 (run (shell "sudo ln -f /usr/bin/opam-2.3 /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 1b767795a4e028a4d45f916f1598c24ee7a7b6cb || git fetch origin master) && git reset -q --hard 1b767795a4e028a4d45f916f1598c24ee7a7b6cb && git log --no-decorate -n1 --oneline && opam update -u"))
 (copy (src sqlgg.opam) (dst ./))
 (run (network host)
      (shell "opam pin add -yn sqlgg.dev './'"))
 (run (network host)
      (shell "echo '(lang dune 3.0)' > './dune-project'"))
 (env DEPS "base-bigarray.base base-threads.base base-unix.base cppo.1.8.0 dune.3.18.0 extlib.1.8.0 menhir.20240715 menhirCST.20240715 menhirLib.20240715 menhirSdk.20240715 mybuild.7 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-compiler-libs.v0.12.4 ocaml-config.2 ocaml-options-vanilla.1 ocamlfind.1.9.8 ounit.2.2.7 ounit2.2.2.7 ppx_derivers.1.2.1 ppx_deriving.6.1.0 ppxlib.0.36.0 seq.base sexplib0.v0.17.0 stdlib-shims.0.3.0")
 (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.3 --depext-only -y sqlgg.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"))
)

2025-04-11 13:47.18: Waiting for resource in pool OCluster
2025-04-11 13:47.19: Waiting for worker…
2025-04-11 13:47.19: Got resource from pool OCluster
Building on doris.caelum.ci.dev
All commits already cached
HEAD is now at c9fd0b2 wip

(from ocaml/opam:ubuntu-24.04-ocaml-4.14@sha256:c16115334565a581dbe16a37c8b9e0a6b552015855dafe8db20776f53e61dd7d)
2025-04-11 13:47.20 ---> using "4d0d1d8e80b049e74cac526df5abf391925025822f8d4f59317c11ea6690ca98" from cache

/: (comment ubuntu-24.04-4.14_opam-2.3)

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

/: (env CLICOLOR_FORCE 1)

/: (env OPAMCOLOR always)

/: (workdir /src)

/src: (run (shell "sudo ln -f /usr/bin/opam-2.3 /usr/bin/opam"))
2025-04-11 13:47.20 ---> using "87feab0216a6eedf8ea9ab185391be9877bdcc013a31d21e901dae9af15bdd0f" 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 development version of opam requires an update to the layout of /home/opam/.opam from version 2.0 to version 2.2, which can't be reverted.
You may want to back it up before going further.

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

<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[ERROR] Could not update repository "opam-repository-archive": "/usr/bin/git fetch -q" exited with code 128 "fatal: unable to access 'https://github.com/ocaml/opam-repository-archive/': Could not resolve host: github.com"
[default] synchronised from file:///home/opam/opam-repository
2025-04-11 13:47.20 ---> using "17eee30db9006f3ab86ead7c734382a01152bfd6afbef5647fc5dd765675053b" from cache

/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-134-generic
The OCaml toplevel, version 4.14.2
2.3.0
2025-04-11 13:47.20 ---> using "489723a9c548f13b73c1a9340697b4b08d499625cafd774f47002bf71ae3a6a8" from cache

/src: (workdir /src)

/src: (run (shell "sudo chown opam /src"))
2025-04-11 13:47.20 ---> using "4a9c9752d766d38497906e3ffd1ea1c242f35ba8b7af7ba82ea158f111968b02" from cache

/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
           (network host)
           (shell "cd ~/opam-repository && (git cat-file -e 1b767795a4e028a4d45f916f1598c24ee7a7b6cb || git fetch origin master) && git reset -q --hard 1b767795a4e028a4d45f916f1598c24ee7a7b6cb && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
 * branch                  master     -> FETCH_HEAD
   a8ed476033..7c88ab6125  master     -> origin/master
1b767795a4 Merge pull request #27704 from maiste/release-dune-3.18.0

<><> Updating package repositories ><><><><><><><><><><><><><><><><><><><><><><>
[opam-repository-archive] synchronised from git+https://github.com/ocaml/opam-repository-archive
[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.
# To update the current shell environment, run: eval $(opam env)
2025-04-11 13:47.20 ---> using "0fb0727663d1d93c811998bb20c8f9d7e3fa1c50c957deb476727c6cda0ce55c" from cache

/src: (copy (src sqlgg.opam) (dst ./))
2025-04-11 13:47.20 ---> saved as "844abb39b6c71839bcf21c62fff17a5bb7a7337f4ec6db9fcdcb8deac584004b"

/src: (run (network host)
           (shell "opam pin add -yn sqlgg.dev './'"))
[sqlgg.dev] synchronised (file:///src)
sqlgg is now pinned to file:///src (version dev)
2025-04-11 13:47.22 ---> saved as "d934835c77bd7e12811dde77dbbdcdb7d579bec358636d74cd57a935fb9603df"

/src: (run (network host)
           (shell "echo '(lang dune 3.0)' > './dune-project'"))
2025-04-11 13:47.23 ---> saved as "0d645394768e1a87e2bd69c79480674b0124d13a1aaf93c26dc15cff7eddb718"

/src: (env DEPS "base-bigarray.base base-threads.base base-unix.base cppo.1.8.0 dune.3.18.0 extlib.1.8.0 menhir.20240715 menhirCST.20240715 menhirLib.20240715 menhirSdk.20240715 mybuild.7 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-compiler-libs.v0.12.4 ocaml-config.2 ocaml-options-vanilla.1 ocamlfind.1.9.8 ounit.2.2.7 ounit2.2.2.7 ppx_derivers.1.2.1 ppx_deriving.6.1.0 ppxlib.0.36.0 seq.base sexplib0.v0.17.0 stdlib-shims.0.3.0")

/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.3 --depext-only -y sqlgg.dev $DEPS"))
+ /usr/bin/sudo "apt-get" "update"
- Get:1 http://security.ubuntu.com/ubuntu noble-security InRelease [126 kB]
- Get:2 http://security.ubuntu.com/ubuntu noble-security/universe amd64 Packages [1071 kB]
- Hit:3 http://archive.ubuntu.com/ubuntu noble InRelease
- Get:4 http://archive.ubuntu.com/ubuntu noble-updates InRelease [126 kB]
- Get:5 http://security.ubuntu.com/ubuntu noble-security/multiverse amd64 Packages [21.9 kB]
- Get:6 http://security.ubuntu.com/ubuntu noble-security/main amd64 Packages [934 kB]
- Get:7 http://security.ubuntu.com/ubuntu noble-security/restricted amd64 Packages [1088 kB]
- Get:8 http://archive.ubuntu.com/ubuntu noble-backports InRelease [126 kB]
- Get:9 http://archive.ubuntu.com/ubuntu noble-updates/main amd64 Packages [1258 kB]
- Get:10 http://archive.ubuntu.com/ubuntu noble-updates/restricted amd64 Packages [1132 kB]
- Get:11 http://archive.ubuntu.com/ubuntu noble-updates/multiverse amd64 Packages [26.4 kB]
- Get:12 http://archive.ubuntu.com/ubuntu noble-updates/universe amd64 Packages [1366 kB]
- Get:13 http://archive.ubuntu.com/ubuntu noble-backports/universe amd64 Packages [30.9 kB]
- Get:14 http://archive.ubuntu.com/ubuntu noble-backports/main amd64 Packages [48.0 kB]
- Fetched 7355 kB in 1s (6347 kB/s)
- Reading package lists...
- 

<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[sqlgg.dev] synchronised (file:///src)

[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).
2025-04-11 13:47.38 ---> saved as "6e7b19f3143dcc84d723de49bb2eaa4f0cd65c7aa42463b38a9c2b4eb551a9ea"

/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 18 packages
  - install cppo                1.8.0
  - install dune                3.18.0
  - install extlib              1.8.0
  - install menhir              20240715
  - install menhirCST           20240715
  - install menhirLib           20240715
  - install menhirSdk           20240715
  - install mybuild             7
  - install ocaml-compiler-libs v0.12.4
  - install ocamlfind           1.9.8
  - install ounit               2.2.7
  - install ounit2              2.2.7
  - install ppx_derivers        1.2.1
  - install ppx_deriving        6.1.0
  - install ppxlib              0.36.0
  - install seq                 base
  - install sexplib0            v0.17.0
  - install stdlib-shims        0.3.0

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved cppo.1.8.0  (cached)
-> retrieved extlib.1.8.0  (cached)
-> retrieved mybuild.7  (cached)
-> retrieved ocaml-compiler-libs.v0.12.4  (cached)
-> retrieved menhir.20240715, menhirCST.20240715, menhirLib.20240715, menhirSdk.20240715  (cached)
-> retrieved dune.3.18.0  (cached)
-> retrieved ocamlfind.1.9.8  (cached)
-> retrieved ounit.2.2.7, ounit2.2.2.7  (cached)
-> retrieved ppx_derivers.1.2.1  (cached)
-> retrieved seq.base  (cached)
-> installed seq.base
-> retrieved ppx_deriving.6.1.0  (cached)
-> retrieved sexplib0.v0.17.0  (cached)
-> retrieved stdlib-shims.0.3.0  (cached)
-> retrieved ppxlib.0.36.0  (cached)
-> installed ocamlfind.1.9.8
-> installed dune.3.18.0
-> installed menhirCST.20240715
-> installed ppx_derivers.1.2.1
-> installed stdlib-shims.0.3.0
-> installed mybuild.7
-> installed menhirSdk.20240715
-> installed sexplib0.v0.17.0
-> installed menhirLib.20240715
-> installed cppo.1.8.0
-> installed ocaml-compiler-libs.v0.12.4
-> installed ounit2.2.2.7
-> installed ounit.2.2.7
-> installed extlib.1.8.0
-> installed menhir.20240715
-> installed ppxlib.0.36.0
-> installed ppx_deriving.6.1.0
Done.
# To update the current shell environment, run: eval $(opam env)
2025-04-11 13:48.26 ---> saved as "4fc22d4f7ec8a2b23c4ebded7908a5ec341eb8a9727d36e49c37f2b5f8c1ef74"

/src: (copy (src .) (dst /src))
2025-04-11 13:48.27 ---> saved as "1d059989f051c2692460026a4a975a1a5bba1a6e8941a0a57396b2ab09080f49"

/src: (run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build"))
(cd _build/default/src && ./gen_version.exe version.ml)
fatal: not a git repository (or any of the parent directories): .git
(cd _build/default && /home/opam/.opam/4.14/bin/menhir lib/sql_parser.mly --base lib/sql_parser --infer-read-reply lib/sql_parser__mock.mli.inferred)
Warning: 29 states have shift/reduce conflicts.
Warning: 3 states have reduce/reduce conflicts.
Warning: 134 shift/reduce conflicts were arbitrarily resolved.
Warning: 18 reduce/reduce conflicts were arbitrarily resolved.
(cd _build/default/src && ./cli.exe -test)
......................T....................................................................................................................................................
Ran: 171 tests in: 0.08 seconds.
FAILED: Cases: 171 Tried: 171 Errors: 0 Failures: 0 Skip:  0 Todo: 1 Timeouts: 0.
2025-04-11 13:48.34 ---> saved as "542aa51850165d1f858deb6cabaab6586bcfbfea7fa8b029ed030ff4cc78bd1f"
Job succeeded
2025-04-11 13:48.35: Job succeeded