You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Roddie Kieley (Jira)" <ji...@apache.org> on 2020/10/17 01:18:00 UTC

[jira] [Commented] (PROTON-2231) Assertion fail on macOS with libuv in c-threaderciser test

    [ https://issues.apache.org/jira/browse/PROTON-2231?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17215708#comment-17215708 ] 

Roddie Kieley commented on PROTON-2231:
---------------------------------------

While I have not yet attempted to reproduce using libuv on other platforms, either Linux or Windows, I can now confirm local reproduction on macOS 10.14 using today's latest code:
{code}
i7mbp:1 rkieley$ ctest -VV -R c-threaderciser --timeout 60
UpdateCTestConfiguration  from :/wip/builds/github.com/apache/qpid-proton/101620/1/DartConfiguration.tcl
Parse Config file:/wip/builds/github.com/apache/qpid-proton/101620/1/DartConfiguration.tcl
UpdateCTestConfiguration  from :/wip/builds/github.com/apache/qpid-proton/101620/1/DartConfiguration.tcl
Parse Config file:/wip/builds/github.com/apache/qpid-proton/101620/1/DartConfiguration.tcl
Test project /wip/builds/github.com/apache/qpid-proton/101620/1
Constructing a list of tests
Done constructing a list of tests
Updating test list for fixtures
Added 0 tests to meet fixture requirements
Checking test dependency graph...
Checking test dependency graph end
test 6
    Start 6: c-threaderciser

6: Test command: /opt/local/bin/python "/wip/src/github.com/apache/qpid-proton/scripts/env.py" "--" "/wip/builds/github.com/apache/qpid-proton/101620/1/c/tests/c-threaderciser"
6: Test timeout computed to be: 60
6: threaderciser start: threads=8, time=1, actions=[listen, close-listen, connect, close-connect, wake, timeout, cancel-timeout]
6: Assertion failed: (p->active > 0), function remove_active_lh, file /wip/src/github.com/apache/qpid-proton/c/src/proactor/libuv.c, line 394.
1/1 Test #6: c-threaderciser ..................***Failed    1.16 sec

0% tests passed, 1 tests failed out of 1

Total Test time (real) =   1.17 sec

The following tests FAILED:
          6 - c-threaderciser (Failed)
Errors while running CTest
i7mbp:1 rkieley$
{code}

> Assertion fail on macOS with libuv in c-threaderciser test
> ----------------------------------------------------------
>
>                 Key: PROTON-2231
>                 URL: https://issues.apache.org/jira/browse/PROTON-2231
>             Project: Qpid Proton
>          Issue Type: Bug
>          Components: proton-c
>    Affects Versions: proton-c-0.32.0
>            Reporter: Jiri Daněk
>            Assignee: Roddie Kieley
>            Priority: Major
>              Labels: macOS
>
> As described on PROTON-2225, the test fails with assertion error. It is currently disabled on macOS for this reason (in .travis.yml).
> {noformat}
> 6: Test command: /usr/local/opt/python/libexec/bin/python "/Users/travis/build/jiridanek/qpid-proton/scripts/env.py" "--" "/Users/travis/build/jiridanek/qpid-proton/build/c/tests/c-threaderciser"
> 6: Test timeout computed to be: 1500
> 6: threaderciser start: threads=8, time=1, actions=[listen, close-listen, connect, close-connect, wake, timeout, cancel-timeout]
> 6: Assertion failed: (p->active > 0), function remove_active_lh, file /Users/travis/build/jiridanek/qpid-proton/c/src/proactor/libuv.c, line 392.
>  6/31 Test  #6: c-threaderciser ..................***Failed    0.18 sec
> {noformat}
> If the test is meant to stay disabled for a longer time, it will have to be disabled in CMakeLists.txt, so that users compiling the project do not run it accidentally.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org