Organisationsmiragemirage-channel7e6729 (main)debian-12-4.07_opam-2.1

debian-12-4.07_opam-2.1

Link Copied
Code Copied

Logs

2024-05-10 22:06.58: New job: test mirage/mirage-channel https://github.com/mirage/mirage-channel.git#refs/heads/main (7e6729e3e06de402526f7a27be18279e5449257f) (linux-x86_64:debian-12-4.07_opam-2.1)
Base: ocaml/opam@sha256:99cef6473ce753ec3ec15fdcf5a0a0fb61c4c0ce64578b12e9efbe0222b1602b
Opam project build


To reproduce locally:


git clone --recursive "https://github.com/mirage/mirage-channel.git" -b "main" && cd "mirage-channel" && git reset --hard 7e6729e3
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam@sha256:99cef6473ce753ec3ec15fdcf5a0a0fb61c4c0ce64578b12e9efbe0222b1602b
# debian-12-4.07_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 2275b400535e884d216047a092e70705139c9e41 || git fetch origin master) && git reset -q --hard 2275b400535e884d216047a092e70705139c9e41 && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 mirage-channel.opam ./
RUN opam pin add -yn mirage-channel.dev './'
ENV DEPS="alcotest.1.5.0 astring.0.8.5 base-bigarray.base base-bytes.base base-threads.base base-unix.base bigarray-compat.1.1.0 cmdliner.1.0.4 cppo.1.6.9 csexp.1.5.2 cstruct.6.0.1 dune.3.15.2 dune-configurator.3.15.2 fmt.0.8.9 logs.0.7.0 lwt.5.5.0 mirage-clock.3.1.0 mirage-flow.2.0.1 mirage-flow-combinators.2.0.1 mmap.1.2.0 ocaml.4.07.1 ocaml-base-compiler.4.07.1 ocaml-config.1 ocaml-secondary-compiler.4.08.1-1 ocaml-syntax-shims.1.0.0 ocamlbuild.0.14.3 ocamlfind.1.9.6 ocamlfind-secondary.1.9.6 ocplib-endian.1.2 re.1.11.0 result.1.5 seq.base stdlib-shims.0.3.0 topkg.1.0.7 uutf.1.0.3"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.1 --depext-only -y mirage-channel.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-10 22:06.58: Using cache hint "mirage/mirage-channel-ocaml/opam@sha256:99cef6473ce753ec3ec15fdcf5a0a0fb61c4c0ce64578b12e9efbe0222b1602b-debian-12-4.07_opam-2.1-f279ed81f7f169ce7e189eff392ff612"
2024-05-10 22:06.58: Using OBuilder spec:
((from ocaml/opam@sha256:99cef6473ce753ec3ec15fdcf5a0a0fb61c4c0ce64578b12e9efbe0222b1602b)
 (comment debian-12-4.07_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 2275b400535e884d216047a092e70705139c9e41 || git fetch origin master) && git reset -q --hard 2275b400535e884d216047a092e70705139c9e41 && git log --no-decorate -n1 --oneline && opam update -u"))
 (copy (src mirage-channel.opam) (dst ./))
 (run (network host)
      (shell "opam pin add -yn mirage-channel.dev './'"))
 (env DEPS "alcotest.1.5.0 astring.0.8.5 base-bigarray.base base-bytes.base base-threads.base base-unix.base bigarray-compat.1.1.0 cmdliner.1.0.4 cppo.1.6.9 csexp.1.5.2 cstruct.6.0.1 dune.3.15.2 dune-configurator.3.15.2 fmt.0.8.9 logs.0.7.0 lwt.5.5.0 mirage-clock.3.1.0 mirage-flow.2.0.1 mirage-flow-combinators.2.0.1 mmap.1.2.0 ocaml.4.07.1 ocaml-base-compiler.4.07.1 ocaml-config.1 ocaml-secondary-compiler.4.08.1-1 ocaml-syntax-shims.1.0.0 ocamlbuild.0.14.3 ocamlfind.1.9.6 ocamlfind-secondary.1.9.6 ocplib-endian.1.2 re.1.11.0 result.1.5 seq.base stdlib-shims.0.3.0 topkg.1.0.7 uutf.1.0.3")
 (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 mirage-channel.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-10 22:06.58: Waiting for resource in pool OCluster
2024-05-11 12:44.20: Waiting for worker…
2024-05-11 12:49.41: Got resource from pool OCluster
Building on x86-bm-c7.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/mirage-channel.git-da130c3806d8edee45bedbdd37b50a7b39efeb30/.git/
HEAD is now at 7e6729e opam: use https in doc field


(from ocaml/opam@sha256:99cef6473ce753ec3ec15fdcf5a0a0fb61c4c0ce64578b12e9efbe0222b1602b)
Unable to find image 'ocaml/opam@sha256:99cef6473ce753ec3ec15fdcf5a0a0fb61c4c0ce64578b12e9efbe0222b1602b' locally
docker.io/ocaml/opam@sha256:99cef6473ce753ec3ec15fdcf5a0a0fb61c4c0ce64578b12e9efbe0222b1602b: Pulling from ocaml/opam
2264256a3b65: Pulling fs layer
2264256a3b65: Verifying Checksum
2264256a3b65: Download complete
2264256a3b65: Pull complete
Digest: sha256:99cef6473ce753ec3ec15fdcf5a0a0fb61c4c0ce64578b12e9efbe0222b1602b
Status: Downloaded newer image for ocaml/opam@sha256:99cef6473ce753ec3ec15fdcf5a0a0fb61c4c0ce64578b12e9efbe0222b1602b
2024-05-11 12:49.42 ---> using "6ad54a8a0a996de05cd03ed30cbb4884566b39028d090d19101121413431a89f" from cache


/: (comment debian-12-4.07_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-11 12:49.42 ---> using "f0b7040ce20c0568672a3afcab01929fd18e2ee66f02faa8d94fd05399839280" 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-11 12:49.42 ---> using "1178bb4688e7e4718d4170c0ec783ce5396ae6f9cd4db4b0fb12bcb2662305da" from cache


/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-106-generic
The OCaml toplevel, version 4.07.1
2.1.5
2024-05-11 12:49.42 ---> using "507d1b06732f1eddefe9afcbbd3414d34576360b7497df3aa76bf615c5a885e5" from cache


/src: (workdir /src)


/src: (run (shell "sudo chown opam /src"))
2024-05-11 12:49.42 ---> using "b88e937d6c36e43c713a83fbd5f0a1b9c25ffbb55d9e0cc753e256236a40f949" from cache


/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
           (network host)
           (shell "cd ~/opam-repository && (git cat-file -e 2275b400535e884d216047a092e70705139c9e41 || git fetch origin master) && git reset -q --hard 2275b400535e884d216047a092e70705139c9e41 && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
 * branch                  master     -> FETCH_HEAD
   6a2ad82c27..2ae169d7d0  master     -> origin/master
2275b40053 @dra27 maintains ocaml-secondary-compiler


<><> 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-11 12:49.42 ---> using "721a5ea72b5c54d3305d7eda5795c2d490562520d2ba7cd42cbb98b0a56f6967" from cache


/src: (copy (src mirage-channel.opam) (dst ./))
2024-05-11 12:49.43 ---> saved as "5ff82f8bc28712cd7c35470dba9c9736b63021ac6bc8b0d76c108d3e8233f22a"


/src: (run (network host)
           (shell "opam pin add -yn mirage-channel.dev './'"))
[mirage-channel.dev] synchronised (file:///src)
mirage-channel is now pinned to file:///src (version dev)
2024-05-11 12:49.44 ---> saved as "87bed32ea3d69483d77af4c69b64ee19723b79bd01ae8bd20aaaf3744e18d710"


/src: (env DEPS "alcotest.1.5.0 astring.0.8.5 base-bigarray.base base-bytes.base base-threads.base base-unix.base bigarray-compat.1.1.0 cmdliner.1.0.4 cppo.1.6.9 csexp.1.5.2 cstruct.6.0.1 dune.3.15.2 dune-configurator.3.15.2 fmt.0.8.9 logs.0.7.0 lwt.5.5.0 mirage-clock.3.1.0 mirage-flow.2.0.1 mirage-flow-combinators.2.0.1 mmap.1.2.0 ocaml.4.07.1 ocaml-base-compiler.4.07.1 ocaml-config.1 ocaml-secondary-compiler.4.08.1-1 ocaml-syntax-shims.1.0.0 ocamlbuild.0.14.3 ocamlfind.1.9.6 ocamlfind-secondary.1.9.6 ocplib-endian.1.2 re.1.11.0 result.1.5 seq.base stdlib-shims.0.3.0 topkg.1.0.7 uutf.1.0.3")


/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 mirage-channel.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 271 kB in 0s (1205 kB/s)
- Reading package lists...


<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[mirage-channel.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.07.1).
[NOTE] Package ocaml is already installed (current version is 4.07.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).
2024-05-11 12:50.00 ---> saved as "2f5eb289a29c5675755bf0a4444cdf099081c1caabf373bbcdacafec05d4f708"


/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.07.1).
[NOTE] Package ocaml is already installed (current version is 4.07.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 ocamlbuild              0.14.3
  - install cmdliner                1.0.4
  - install ocamlfind               1.9.6
  - install seq                     base
  - install topkg                   1.0.7
  - install ocamlfind-secondary     1.9.6
  - install base-bytes              base
  - install uutf                    1.0.3
  - install astring                 0.8.5
  - install dune                    3.15.2
  - install stdlib-shims            0.3.0
  - install result                  1.5
  - install re                      1.11.0
  - install ocaml-syntax-shims      1.0.0
  - install mirage-clock            3.1.0
  - install csexp                   1.5.2
  - install cppo                    1.6.9
  - install bigarray-compat         1.1.0
  - install fmt                     0.8.9
  - install dune-configurator       3.15.2
  - install ocplib-endian           1.2
  - install mmap                    1.2.0
  - install cstruct                 6.0.1
  - install alcotest                1.5.0
  - install lwt                     5.5.0
  - install mirage-flow             2.0.1
  - install logs                    0.7.0
  - install mirage-flow-combinators 2.0.1
===== 28 to install =====


<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved astring.0.8.5  (cached)
-> retrieved alcotest.1.5.0  (cached)
-> retrieved bigarray-compat.1.1.0  (cached)
-> retrieved cmdliner.1.0.4  (cached)
-> retrieved cppo.1.6.9  (cached)
-> retrieved csexp.1.5.2  (cached)
-> retrieved cstruct.6.0.1  (cached)
-> retrieved fmt.0.8.9  (cached)
-> retrieved logs.0.7.0  (cached)
-> retrieved lwt.5.5.0  (cached)
-> retrieved mirage-clock.3.1.0  (cached)
-> retrieved mirage-flow.2.0.1  (cached)
-> retrieved mirage-flow-combinators.2.0.1  (cached)
-> retrieved mmap.1.2.0  (cached)
-> retrieved ocaml-syntax-shims.1.0.0  (cached)
-> retrieved ocamlbuild.0.14.3  (cached)
-> retrieved ocamlfind.1.9.6  (cached)
-> retrieved ocamlfind-secondary.1.9.6  (cached)
-> retrieved ocplib-endian.1.2  (cached)
-> retrieved re.1.11.0  (cached)
-> retrieved result.1.5  (cached)
-> installed seq.base
-> retrieved stdlib-shims.0.3.0  (cached)
-> retrieved topkg.1.0.7  (cached)
-> retrieved dune.3.15.2  (cached)
-> retrieved dune-configurator.3.15.2  (cached)
-> retrieved uutf.1.0.3  (cached)
-> installed cmdliner.1.0.4
-> installed ocamlfind.1.9.6
-> installed base-bytes.base
-> installed ocamlfind-secondary.1.9.6
-> installed ocamlbuild.0.14.3
-> installed topkg.1.0.7
-> installed uutf.1.0.3
-> installed astring.0.8.5
-> installed dune.3.15.2
-> installed mirage-clock.3.1.0
-> installed csexp.1.5.2
-> installed bigarray-compat.1.1.0
-> installed result.1.5
-> installed stdlib-shims.0.3.0
-> installed ocaml-syntax-shims.1.0.0
-> installed re.1.11.0
-> installed cppo.1.6.9
-> installed mmap.1.2.0
-> installed cstruct.6.0.1
-> installed ocplib-endian.1.2
-> installed fmt.0.8.9
-> installed dune-configurator.3.15.2
-> installed alcotest.1.5.0
-> installed lwt.5.5.0
-> installed mirage-flow.2.0.1
-> installed logs.0.7.0
-> installed mirage-flow-combinators.2.0.1
Done.
# Run eval $(opam env) to update the current shell environment
2024-05-11 12:51.01 ---> saved as "33d22f08e5be9b253ab06d177be0f959986f7b5c5bac40f80357c8c899f21cbc"


/src: (copy (src .) (dst /src))
2024-05-11 12:51.02 ---> saved as "92ed36d730ae73b8d87b75f7c28992deab10d761f03d7099fe6b0d6ceb94cadb"


/src: (run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build"))
(cd _build/default/test && ./test.exe -e -v)
Testing `channel'.
This run has ID `L0KDE39A'.


  [OK]          channel          0   read_char + EOF.
  [OK]          channel          1   read_line.
  [OK]          channel          2   read_exactly.
  [OK]          channel          3   write after read EOF.
  [OK]          channel          4   read_line_len.
  [OK]          channel          5   read_line_len2.
  [OK]          channel          6   read_line_len3.
  [OK]          channel          7   read_line_len4.
  [OK]          channel          8   read_line_len5.
  [OK]          channel          9   read_line_len6.
  [OK]          channel         10   read_line_len7.
  [OK]          channel         11   read_line_len8.


Test Successful in 0.000s. 12 tests run.
ASSERT read line
ASSERT wrong length
ASSERT read line
ASSERT read line
ASSERT read line
2024-05-11 12:51.02 ---> saved as "ce20ee5c2c6d3e68dbeb59835418eb49def6a2dab0dada752793e6c1aea6123c"
Job succeeded
2024-05-11 12:51.03: Job succeeded