ocaml-cohttp
ocaml-cohttp copied to clipboard
Unexpected test failure in cohttp-lwt-unix
It may be nothing, I have only seen it in https://opam.ci.ocaml.org/github/ocaml/opam-repository/commit/99f42f52562e1e7c102071b42b1eeb5b98c611a2/variant/compilers,4.11,ocamlnet.4.1.8,revdeps,cohttp-lwt-unix.2.5.5
I think we should have a look when we have a moment
=== ERROR while compiling cohttp-lwt-unix.2.5.5 ==============================#
# context 2.0.8 | linux/x86_64 | ocaml-base-compiler.4.11.2 | file:///src
# path ~/.opam/4.11/.opam-switch/build/cohttp-lwt-unix.2.5.5
# command ~/.opam/4.11/bin/dune runtest -p cohttp-lwt-unix -j 47
# exit-code 1
# env-file ~/.opam/log/cohttp-lwt-unix-24-0ae6fb.env
# output-file ~/.opam/log/cohttp-lwt-unix-24-0ae6fb.out
### output ###
# test_parser alias cohttp-lwt-unix/test/runtest
# ..........
# Ran: 10 tests in: 0.01 seconds.
# OK
# test_sanity alias cohttp-lwt-unix/test/runtest (exit 1)
# (cd _build/default/cohttp-lwt-unix/test && ./test_sanity.exe)
# Cohttp debugging output is active
# Test Cohttp Server Test running on http://0.0.0.0:9193
# Running sanity test
# Running empty chunk test
# Running pipelined chunk test
# Running no body when response is not modified
# Running pipelined with interleaving requests
# Request 0
#
# Request 1
#
# Sending extra request
# Request 2
#
# Running massive chunked
# Running unreadable file returns 500
# Error handling ((headers
# ((host 0.0.0.0:9193) (transfer-encoding chunked)
# (user-agent ocaml-cohttp/2.5.5)))
# (meth POST) (resource /) (version HTTP_1_1) (encoding Chunked)): Unix.Unix_error(Unix.EACCES, "open", "unreadable500")
# Running no leaks on requests
# IO error while handling client: Unix.Unix_error(Unix.ECONNRESET, "read", "")
# Running expert response
# Running client_close
# ........F.
# ==============================================================================
# Failure: Cohttp Server Test:8:expert response
#
# expected: expert 1 but got: expert 2
# ------------------------------------------------------------------------------
# Ran: 10 tests in: 0.02 seconds.
# FAILED: Cases: 10 Tried: 10 Errors: 0 Failures: 1 Skip: 0 Todo: 0 Timeouts: 0.
# IO error while handling client: Unix.Unix_error(Unix.ECONNRESET, "write", "")
restarted that test to check if it's transient or not
Thanks, in any case this is not happening in a part of the codebase that was touched for 2.5.5. I am quite surprised that it appeared compiling cohttp-lwt-unix as a revdep of ocamlnet tbh
Indeed, it is gone.