Description
Simplest reproducer:
$ PN_LOG=debug gdb --args ./c/tests/c-proactor-test proactor_connect (gdb) r Starting program: /usr/home/andrew/qpid-proton/bld/c/tests/c-proactor-test proactor_connect [0x8003a00e0]:EVENT:DEBUG:[0x800d6d000]:(PN_LISTENER_OPEN) [0x800da51d0]:EVENT:DEBUG:(PN_CONNECTION_INIT, pn_connection<0x800d81290>) [0x800da51d0]:EVENT:DEBUG:(PN_CONNECTION_LOCAL_OPEN, pn_connection<0x800d81290>) [0x800da51d0]:EVENT:DEBUG:(PN_CONNECTION_BOUND, pn_connection<0x800d81290>) [0x8003a00e0]:EVENT:DEBUG:[0x800d6d000]:(PN_LISTENER_ACCEPT) [0x800da5390]:EVENT:DEBUG:(PN_CONNECTION_INIT, pn_connection<0x800d813d0>) [0x800da5390]:EVENT:DEBUG:(PN_CONNECTION_BOUND, pn_connection<0x800d813d0>) [0x800da51d0]:EVENT:DEBUG:(PN_TRANSPORT_TAIL_CLOSED, pn_transport<0x800da51d0>) [0x800da51d0]:EVENT:DEBUG:(PN_TRANSPORT_ERROR, pn_transport<0x800da51d0>) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ c-proactor-test is a Catch v1.12.2 host application. Run with -? for options ------------------------------------------------------------------------------- proactor_connect ------------------------------------------------------------------------------- /home/andrew/qpid-proton/src/c/tests/proactor_test.cpp:138 ............................................................................... /home/andrew/qpid-proton/src/c/tests/proactor_test.cpp:145: FAILED: CHECKED_IF( (PN_TRANSPORT_CLOSED) == (p).run(PN_TRANSPORT_CLOSED) ) with expansion: PN_TRANSPORT_CLOSED == PN_TRANSPORT_ERROR /home/andrew/qpid-proton/src/c/tests/proactor_test.cpp:145: FAILED: explicitly with message: pn_condition{"proton:io", "connection already in progress - read :55624"} =============================================================================== test cases: 1 | 1 failed assertions: 3 | 1 passed | 2 failed [Inferior 1 (process 50316) exited with code 02]
This test passes fine with libuv 1.40. At this point it is unclear whether it is a bug with libuv or with Proton.
Attachments
Issue Links
- causes
-
DISPATCH-2017 Almost all macOS tests are failing since February
- Closed
- is duplicated by
-
PROTON-2403 libuv based proactor test errors
- Closed
- is related to
-
PROTON-2334 Fix libuv proactor ctest failures
- Closed
- relates to
-
PROTON-2354 C++ test failures on MacOS due to unexported symbols being hidden
- Closed