[ https://issues.apache.org/jira/browse/PROTON-2311?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17260906#comment-17260906 ]
Andrew Stitcher commented on PROTON-2311: ----------------------------------------- This may be an OS bug or oddity then because the sockets should have SO_NOSIGPIPE set in the code active on macOS: {code:c++} int makepair(int fds[2]) { int rc = ::socketpair(AF_LOCAL, SOCK_STREAM, PF_UNSPEC, fds); if (rc == 0) { int optval = 1; ::setsockopt(fds[0], SOL_SOCKET, SO_NOSIGPIPE, &optval, sizeof(optval)); ::setsockopt(fds[1], SOL_SOCKET, SO_NOSIGPIPE, &optval, sizeof(optval)); } return rc; } {code} I think the probable correct fix here is just to use the no sockets memory-only version for all platforms not just windows. > 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: dev-unsubscr...@qpid.apache.org For additional commands, e-mail: dev-h...@qpid.apache.org