[
https://issues.apache.org/jira/browse/PROTON-2311?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17252217#comment-17252217
]
Jiri Daněk edited comment on PROTON-2311 at 12/19/20, 4:42 PM:
---------------------------------------------------------------
The best message I could get out of the test was when I run the binary
directly, instead through ctest.
{noformat}
/Users/travis/build/apache/qpid-proton/build/c/tests/c-raw-connection-test
The command
"/Users/travis/build/apache/qpid-proton/build/c/tests/c-raw-connection-test"
exited with 141.
{noformat}
141 - 128 = 13, and that is signal number for SIGPIPE.
Brief googling found that people sometimes use SO_NOSIGPIPE on their sockets on
macOS, or MSG_NOSIGNAL, or SIG_IGN, in various other places in their programs.
{noformat}
13 SIGPIPE terminate process write on a pipe with no reader
{noformat}
I am not sure why CMake/ctest does not print a more verbose status and how I
might force it to do that. -VV did not help.
was (Author: jdanek):
The best message I could get out of the test was when I run the binary
directly, instead through ctest.
{noformat}
/Users/travis/build/apache/qpid-proton/build/c/tests/c-raw-connection-test
The command
"/Users/travis/build/apache/qpid-proton/build/c/tests/c-raw-connection-test"
exited with 141.
{noformat
141 - 128 = 13, and that is signal number for SIGPIPE.
Brief googling found that people sometimes use SO_NOSIGPIPE on their sockets on
macOS, or MSG_NOSIGNAL, or SIG_IGN, in various other places in their programs.
{noformat}
13 SIGPIPE terminate process write on a pipe with no reader
{noformat}
I am not sure why CMake/ctest does not print a more verbose status and how I
might force it to do that. -VV did not help.
> c-raw-connection-test fails on macOS 10.14, succeeds on macOS 10.15
> -------------------------------------------------------------------
>
> Key: PROTON-2311
> URL: https://issues.apache.org/jira/browse/PROTON-2311
> Project: Qpid Proton
> Issue Type: Test
> Components: proton-c
> Affects Versions: proton-c-0.33.0
> Reporter: Jiri Daněk
> Priority: Major
> Labels: macOS
>
> https://travis-ci.com/github/apache/qpid-proton/builds/209792580
> In both cases, cmake prints
> {noformat}
> -- Building the libuv proactor
> {noformat}
> Note: I thought that raw connections work only with the epoll proactor.
> (Which does not mean that raw connection tests that don't need proactor to
> run cannot be executed on macOS, of course)
> The CI does not print any helpful diagnostics for the failure
> {noformat}
> test 4
> Start 4: c-raw-connection-test
> 4: Test command: /usr/local/opt/python/libexec/bin/python
> "/Users/travis/build/apache/qpid-proton/scripts/env.py" "--"
> "/Users/travis/build/apache/qpid-proton/build/c/tests/c-raw-connection-test"
> 4: Test timeout computed to be: 360
> 4/32 Test #4: c-raw-connection-test ............***Failed 0.15 sec
> test 5
> Start 5: c-ssl-proactor-test
> {noformat}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]