Organisationskit-ty-kateocamldap1e7223 (master)debian-12-4.03_opam-2.1

debian-12-4.03_opam-2.1

Link Copied
Code Copied

Logs

2024-04-30 09:06.26: New job: test kit-ty-kate/ocamldap https://github.com/kit-ty-kate/ocamldap.git#refs/heads/master (1e7223fc8bc6a7466c115d1d28c02073849676af) (linux-x86_64:debian-12-4.03_opam-2.1)
Base: ocaml/opam@sha256:efeda74a7308e07f1116c60f20e99e3316014c1a121f86b7a0cf4676fafe83ea
Opam project build


To reproduce locally:


git clone --recursive "https://github.com/kit-ty-kate/ocamldap.git" -b "master" && cd "ocamldap" && git reset --hard 1e7223fc
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam@sha256:efeda74a7308e07f1116c60f20e99e3316014c1a121f86b7a0cf4676fafe83ea
# debian-12-4.03_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 042d5efee9551e35990b2e8d849a354d082857d1 || git fetch origin master) && git reset -q --hard 042d5efee9551e35990b2e8d849a354d082857d1 && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 ldap.opam ./
RUN opam pin add -yn ldap.dev './'
ENV DEPS="base-bigarray.base base-bytes.base base-threads.base base-unix.base conf-libpcre.1 conf-libssl.4 conf-pkg-config.3 csexp.1.5.2 dune.3.15.2 dune-configurator.2.9.3 ocaml.4.03.0 ocaml-base-compiler.4.03.0 ocaml-config.1 ocaml-secondary-compiler.4.08.1-1 ocamlbuild.0.14.3 ocamlfind.1.9.6 ocamlfind-secondary.1.9.6 ocamlnet.4.1.9-2 pcre.7.2.3 result.1.5 ssl.0.7.0"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.1 --depext-only -y ldap.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-04-30 09:06.26: Using cache hint "kit-ty-kate/ocamldap-ocaml/opam@sha256:efeda74a7308e07f1116c60f20e99e3316014c1a121f86b7a0cf4676fafe83ea-debian-12-4.03_opam-2.1-75b5e028ffbe10f120c4c7dfce750288"
2024-04-30 09:06.26: Using OBuilder spec:
((from ocaml/opam@sha256:efeda74a7308e07f1116c60f20e99e3316014c1a121f86b7a0cf4676fafe83ea)
 (comment debian-12-4.03_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 042d5efee9551e35990b2e8d849a354d082857d1 || git fetch origin master) && git reset -q --hard 042d5efee9551e35990b2e8d849a354d082857d1 && git log --no-decorate -n1 --oneline && opam update -u"))
 (copy (src ldap.opam) (dst ./))
 (run (network host)
      (shell "opam pin add -yn ldap.dev './'"))
 (env DEPS "base-bigarray.base base-bytes.base base-threads.base base-unix.base conf-libpcre.1 conf-libssl.4 conf-pkg-config.3 csexp.1.5.2 dune.3.15.2 dune-configurator.2.9.3 ocaml.4.03.0 ocaml-base-compiler.4.03.0 ocaml-config.1 ocaml-secondary-compiler.4.08.1-1 ocamlbuild.0.14.3 ocamlfind.1.9.6 ocamlfind-secondary.1.9.6 ocamlnet.4.1.9-2 pcre.7.2.3 result.1.5 ssl.0.7.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.1 --depext-only -y ldap.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-04-30 09:06.26: Waiting for resource in pool OCluster
2024-04-30 21:20.24: Waiting for worker…
2024-04-30 21:23.19: Got resource from pool OCluster
Building on x86-bm-c5.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/ocamldap.git-a9f02f040a567b4f4a618a19059c7c00dd384b2b/.git/
HEAD is now at 1e7223f Disable implicit_transitive_deps


(from ocaml/opam@sha256:efeda74a7308e07f1116c60f20e99e3316014c1a121f86b7a0cf4676fafe83ea)
2024-04-30 21:24.58 ---> saved as "5e746ce75e4437cb8305c3242b0b72bc201345168ee5141ebd6738538e1ece83"


/: (comment debian-12-4.03_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-04-30 21:24.58 ---> saved as "17730712d481f6de6d87f039733a29f54bc236fb415a7ed1b4487ab1828fae07"


/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-04-30 21:26.43 ---> saved as "0daf33aedad7fb282aaac6c7833940bdb15b54d88d76fff8c6981e24105988f0"


/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-105-generic
The OCaml toplevel, version 4.03.0
2.1.5
2024-04-30 21:26.43 ---> saved as "8ba57746c1588e360057937b5f9571685bd8a781186d299d6c3ac306404d108c"


/src: (workdir /src)


/src: (run (shell "sudo chown opam /src"))
2024-04-30 21:26.43 ---> saved as "8a972db9ab987a0f7ac5a95a1c0017fef21f56ba02eb320ff0446f680f19bec7"


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


<><> 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-04-30 21:28.26 ---> saved as "3b51c1434da9b893b19b4b7df6308ecb19d4b2d9f154f110ee0f30ecf771834f"


/src: (copy (src ldap.opam) (dst ./))
2024-04-30 21:28.26 ---> saved as "dbd7f9067ae96b9203298d947a70759963ce4afdbdaef1f8886498b0b6f87cd1"


/src: (run (network host)
           (shell "opam pin add -yn ldap.dev './'"))
[ldap.dev] synchronised (file:///src)
ldap is now pinned to file:///src (version dev)
2024-04-30 21:28.29 ---> saved as "8205d755f0df47c3c52ea3a54f15653db5fadd2c77bc63db359a8ff40807ea5d"


/src: (env DEPS "base-bigarray.base base-bytes.base base-threads.base base-unix.base conf-libpcre.1 conf-libssl.4 conf-pkg-config.3 csexp.1.5.2 dune.3.15.2 dune-configurator.2.9.3 ocaml.4.03.0 ocaml-base-compiler.4.03.0 ocaml-config.1 ocaml-secondary-compiler.4.08.1-1 ocamlbuild.0.14.3 ocamlfind.1.9.6 ocamlfind-secondary.1.9.6 ocamlnet.4.1.9-2 pcre.7.2.3 result.1.5 ssl.0.7.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.1 --depext-only -y ldap.dev $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 270 kB in 0s (668 kB/s)
- Reading package lists...
- 


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


[NOTE] Package ocaml-secondary-compiler is already installed (current version is 4.08.1-1).
[NOTE] Package ocaml-config is already installed (current version is 1).
[NOTE] Package ocaml-base-compiler is already installed (current version is 4.03.0).
[NOTE] Package ocaml is already installed (current version is 4.03.0).
[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:
    libpcre3-dev libssl-dev pkg-config


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


2024-04-30 21:29.03 ---> saved as "6393bed669ecbcfb2f769453830dac20fc3b5834a0151e4f9037a7ff1b38c4e9"


/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
           (network host)
           (shell "opam install $DEPS"))
[NOTE] Package ocaml-secondary-compiler is already installed (current version is 4.08.1-1).
[NOTE] Package ocaml-config is already installed (current version is 1).
[NOTE] Package ocaml-base-compiler is already installed (current version is 4.03.0).
[NOTE] Package ocaml is already installed (current version is 4.03.0).
[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 ocamlbuild          0.14.3
  - install conf-pkg-config     3
  - install ocamlfind           1.9.6
  - install conf-libssl         4
  - install conf-libpcre        1
  - install ocamlfind-secondary 1.9.6
  - install base-bytes          base
  - install dune                3.15.2
  - install pcre                7.2.3
  - install result              1.5
  - install csexp               1.5.2
  - install ocamlnet            4.1.9-2
  - install dune-configurator   2.9.3
  - install ssl                 0.7.0
===== 14 to install =====


<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved csexp.1.5.2  (cached)
-> retrieved dune.3.15.2  (cached)
-> retrieved dune-configurator.2.9.3  (cached)
-> installed conf-pkg-config.3
-> retrieved ocamlbuild.0.14.3  (cached)
-> retrieved ocamlfind.1.9.6  (cached)
-> retrieved ocamlfind-secondary.1.9.6  (cached)
-> installed conf-libpcre.1
-> installed conf-libssl.4
-> retrieved result.1.5  (cached)
-> retrieved ssl.0.7.0  (cached)
-> retrieved ocamlnet.4.1.9-2  (cached)
-> retrieved pcre.7.2.3  (https://github.com/mmottl/pcre-ocaml/releases/download/v7.2.3/pcre-ocaml-7.2.3.tar.gz)
-> installed ocamlbuild.0.14.3
-> installed ocamlfind.1.9.6
-> installed base-bytes.base
-> installed ocamlfind-secondary.1.9.6
-> installed pcre.7.2.3
-> installed dune.3.15.2
-> installed result.1.5
-> installed csexp.1.5.2
-> installed dune-configurator.2.9.3
-> installed ssl.0.7.0
-> installed ocamlnet.4.1.9-2
Done.
# Run eval $(opam env) to update the current shell environment
2024-04-30 21:32.58 ---> saved as "87f09833a60659dc8fed3f368885f19701903f8466660210629f238f57ab64a3"


/src: (copy (src .) (dst /src))
2024-04-30 21:32.58 ---> saved as "3df58c8abf61e60a710f083a8d8b6fcfb47821abc5b41bfcfe041a267e0b417b"


/src: (run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build"))
(cd _build/default/tests/ldap && ./page_result_control_test.exe)
Couldn't connect to the server, abort.
(cd _build/default/tests/ldap && ./lber_tests.exe)
testing integer encoder/decoder with negative numbers
unhandled exception: Lber.Readbyte_error(4) with int: 0
2024-04-30 21:33.02 ---> saved as "3fcc09a4a3b3569d848bbd352aee203e9a2d50eaa52b7508c7900e1485c4a6ad"
Job succeeded
2024-04-30 21:33.02: Job succeeded