Organisationsygreksqlggfc072d ()ubuntu-24.10-4.14_opam-2.3

ubuntu-24.10-4.14_opam-2.3

Logs

Show full logs
2025-04-14 13:32.44: New job: test ygrek/sqlgg https://github.com/ygrek/sqlgg.git#refs/pull/181/head (fc072d6959a0e1ce227b6184f2752079cc589b32) (linux-x86_64:ubuntu-24.10-4.14_opam-2.3)
Base: ocaml/opam:ubuntu-24.10-ocaml-4.14@sha256:7ff598f88846325fa04b81f1c3c12ade09f1f3dc7268e1dc0318df571d406cd0
Opam project build

To reproduce locally:

git clone --recursive "https://github.com/ygrek/sqlgg.git" && cd "sqlgg" && git fetch origin "refs/pull/181/head" && git reset --hard fc072d69
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:ubuntu-24.10-ocaml-4.14@sha256:7ff598f88846325fa04b81f1c3c12ade09f1f3dc7268e1dc0318df571d406cd0
# ubuntu-24.10-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-14 13:32.44: Using cache hint "ygrek/sqlgg-ocaml/opam:ubuntu-24.10-ocaml-4.14@sha256:7ff598f88846325fa04b81f1c3c12ade09f1f3dc7268e1dc0318df571d406cd0-ubuntu-24.10-4.14_opam-2.3-4aa99bdb436303947194f2394b3d2ef5"
2025-04-14 13:32.44: Using OBuilder spec:
((from ocaml/opam:ubuntu-24.10-ocaml-4.14@sha256:7ff598f88846325fa04b81f1c3c12ade09f1f3dc7268e1dc0318df571d406cd0)
 (comment ubuntu-24.10-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-14 13:32.44: Waiting for resource in pool OCluster
2025-04-14 13:32.44: Waiting for worker…
2025-04-14 13:32.44: Got resource from pool OCluster
Building on asteria.caelum.ci.dev
HEAD is now at 9ef003b Merge pull request #180 from jongleb/rmv-lst-mntn-future
HEAD is now at fc072d6 support default value as expression

(from ocaml/opam:ubuntu-24.10-ocaml-4.14@sha256:7ff598f88846325fa04b81f1c3c12ade09f1f3dc7268e1dc0318df571d406cd0)
Unable to find image 'ocaml/opam:ubuntu-24.10-ocaml-4.14@sha256:7ff598f88846325fa04b81f1c3c12ade09f1f3dc7268e1dc0318df571d406cd0' locally
docker.io/ocaml/opam@sha256:7ff598f88846325fa04b81f1c3c12ade09f1f3dc7268e1dc0318df571d406cd0: Pulling from ocaml/opam
66d5cc01118a: Pulling fs layer
b08d2b25797e: Pulling fs layer
7f316ebab83d: Pulling fs layer
4afd441860c6: Pulling fs layer
978ff824f19e: Pulling fs layer
554ff85afde4: Pulling fs layer
4afd441860c6: Waiting
978ff824f19e: Waiting
554ff85afde4: Waiting
b08d2b25797e: Verifying Checksum
b08d2b25797e: Download complete
4afd441860c6: Verifying Checksum
4afd441860c6: Download complete
978ff824f19e: Download complete
554ff85afde4: Verifying Checksum
554ff85afde4: Download complete
7f316ebab83d: Verifying Checksum
7f316ebab83d: Download complete
66d5cc01118a: Verifying Checksum
66d5cc01118a: Download complete
66d5cc01118a: Pull complete
b08d2b25797e: Pull complete
7f316ebab83d: Pull complete
4afd441860c6: Pull complete
978ff824f19e: Pull complete
554ff85afde4: Pull complete
Digest: sha256:7ff598f88846325fa04b81f1c3c12ade09f1f3dc7268e1dc0318df571d406cd0
Status: Downloaded newer image for ocaml/opam@sha256:7ff598f88846325fa04b81f1c3c12ade09f1f3dc7268e1dc0318df571d406cd0
2025-04-14 13:35.06 ---> saved as "f870553c4f64492ca7dd954962a36f87b29167099bf71fae9af12ec8b5a4e6f6"

/: (comment ubuntu-24.10-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-14 13:35.06 ---> saved as "91b01504a311c652214a5aa8fdb12fc8e20f087fc10e7d7a32adcff1bcaa9309"

/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
[NOTE] The 'jobs' option was reset, its value was 31 and its new value will vary according to the current number of cores on your machine. You can restore the fixed value using:
           opam option jobs=31 --global
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-14 13:36.06 ---> saved as "9b4d50469c1ccd2745a9b7cac105fdb9a5e1f3c0d669059e992b451204319943"

/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-14 13:36.06 ---> saved as "dbd85c52e0f15ac09bc876e12af14b415b3fb7c7ca6ab1f04a971822adf1f048"

/src: (workdir /src)

/src: (run (shell "sudo chown opam /src"))
2025-04-14 13:36.06 ---> saved as "17f259275aed59811fe877fe9b23b7b7cd51c99a07e49b91631b23580c90c8ff"

/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..34a3fc46c3  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-14 13:37.00 ---> saved as "4ab13ebb13c5268806e3272c86d721476c2e97238247b92428b4fdb0d28f1de2"

/src: (copy (src sqlgg.opam) (dst ./))
2025-04-14 13:37.00 ---> saved as "5ed4cc213ff0a71abb741bbfcf2b91096977b4bbddbb2e01abb720f3cb429a8a"

/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-14 13:37.02 ---> saved as "5f4966691618a2fbb51c8518366431844b01a11d56280a0791e99351ee5acc9a"

/src: (run (network host)
           (shell "echo '(lang dune 3.0)' > './dune-project'"))
2025-04-14 13:37.02 ---> saved as "a2f265c156f8ad1798c63cb092e24022240d2bf14e5690f935fe70694128815c"

/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"
- Hit:1 http://archive.ubuntu.com/ubuntu oracular InRelease
- Get:2 http://archive.ubuntu.com/ubuntu oracular-updates InRelease [126 kB]
- Get:3 http://archive.ubuntu.com/ubuntu oracular-backports InRelease [126 kB]
- Get:4 http://security.ubuntu.com/ubuntu oracular-security InRelease [126 kB]
- Get:5 http://archive.ubuntu.com/ubuntu oracular-updates/universe amd64 Packages [293 kB]
- Get:6 http://archive.ubuntu.com/ubuntu oracular-updates/multiverse amd64 Packages [12.6 kB]
- Get:7 http://archive.ubuntu.com/ubuntu oracular-updates/main amd64 Packages [465 kB]
- Get:8 http://archive.ubuntu.com/ubuntu oracular-updates/restricted amd64 Packages [214 kB]
- Get:9 http://archive.ubuntu.com/ubuntu oracular-backports/universe amd64 Packages [5412 B]
- Get:10 http://security.ubuntu.com/ubuntu oracular-security/multiverse amd64 Packages [11.6 kB]
- Get:11 http://security.ubuntu.com/ubuntu oracular-security/restricted amd64 Packages [208 kB]
- Get:12 http://security.ubuntu.com/ubuntu oracular-security/universe amd64 Packages [216 kB]
- Get:13 http://security.ubuntu.com/ubuntu oracular-security/main amd64 Packages [332 kB]
- Fetched 2136 kB in 1s (2473 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-14 13:37.16 ---> saved as "7b8789610dcde23353e49825b1fed9cb36705aabbff3243e1717863322e79c93"

/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 menhir.20240715, menhirCST.20240715, menhirLib.20240715, menhirSdk.20240715  (cached)
-> retrieved mybuild.7  (cached)
-> retrieved ocaml-compiler-libs.v0.12.4  (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 menhirSdk.20240715
-> installed mybuild.7
-> installed menhirLib.20240715
-> installed sexplib0.v0.17.0
-> 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-14 13:38.04 ---> saved as "22120fd22230a73ac7df73fa13e5287ea24b5ff6f067ed33370d77ce3a3ac99e"

/src: (copy (src .) (dst /src))
2025-04-14 13:38.05 ---> saved as "fb22408a89db99ffdb98e4083bc1fc60a9c6ea8413b2adca150328e3f04bf4bd"

/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.07 seconds.
FAILED: Cases: 171 Tried: 171 Errors: 0 Failures: 0 Skip:  0 Todo: 1 Timeouts: 0.
2025-04-14 13:38.12 ---> saved as "65be704317fca66b31348bbd1656d61326d5c0e611c43e8b197e02a5260d4603"
Job succeeded
2025-04-14 13:38.13: Job succeeded