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

Charles E. Rolke commented on PROTON-2270:
------------------------------------------

Agreed, I can edit the source. I usually don't edit the source of a release 
candidate but today is special. I increased the value and see the tests pass:
{code:java}
1/1 Test #7: c-threaderciser ..................   Passed  282.17 sec
1/1 Test #7: c-threaderciser ..................   Passed    5.34 sec
1/1 Test #7: c-threaderciser ..................   Passed  157.08 sec
1/1 Test #7: c-threaderciser ..................   Passed   41.55 sec
1/1 Test #7: c-threaderciser ..................   Passed   14.66 sec
1/1 Test #7: c-threaderciser ..................   Passed    8.94 sec
1/1 Test #7: c-threaderciser ..................   Passed    6.51 sec
1/1 Test #7: c-threaderciser ..................   Passed   34.11 sec
1/1 Test #7: c-threaderciser ..................   Passed   98.44 sec
1/1 Test #7: c-threaderciser ..................   Passed  120.51 sec
1/1 Test #7: c-threaderciser ..................   Passed   20.33 sec
1/1 Test #7: c-threaderciser ..................   Passed   74.19 sec
1/1 Test #7: c-threaderciser ..................   Passed  109.62 sec
1/1 Test #7: c-threaderciser ..................   Passed   10.63 sec
1/1 Test #7: c-threaderciser ..................   Passed   53.78 sec
1/1 Test #7: c-threaderciser ..................   Passed  148.81 sec
1/1 Test #7: c-threaderciser ..................   Passed   87.80 sec
1/1 Test #7: c-threaderciser ..................   Passed  121.31 sec
1/1 Test #7: c-threaderciser ..................   Passed   89.12 sec
1/1 Test #7: c-threaderciser ..................   Passed   49.93 sec
1/1 Test #7: c-threaderciser ..................   Passed  156.20 sec
1/1 Test #7: c-threaderciser ..................   Passed   20.03 sec
1/1 Test #7: c-threaderciser ..................   Passed  111.21 sec
1/1 Test #7: c-threaderciser ..................   Passed  142.96 sec
{code}
Execution times vary by a factor of 50 and are all much higher than the other 
system. That said, a timeout value higher than 120 would improve the experience 
on this system.

The string of test passes is broken, unfortunately, with a valgrind error
{code:java}
7: Test timeout computed to be: 6000
7: threaderciser start: threads=8, time=1, actions=[listen, close-listen, 
connect, close-connect, wake, timeout, cancel-timeout]
7: ==7576== 2,320 (1,408 direct, 912 indirect) bytes in 1 blocks are definitely 
lost in loss record 148 of 156
7: ==7576==    at 0x483BB1A: calloc (vg_replace_malloc.c:760)
7: ==7576==    by 0x4854315: pn_listener (epoll.c:1617)
7: ==7576==    by 0x402C9C: listener_ctx_new (threaderciser.c:264)
7: ==7576==    by 0x402C9C: lpool_listen.part.0 (threaderciser.c:282)
7: ==7576==    by 0x40338B: lpool_listen (threaderciser.c:379)
7: ==7576==    by 0x40338B: global_do_stuff (threaderciser.c:379)
7: ==7576==    by 0x40360F: handle (threaderciser.c:414)
7: ==7576==    by 0x40360F: proactor_thread (threaderciser.c:476)
7: ==7576==    by 0x48D34E1: start_thread (pthread_create.c:479)
7: ==7576==    by 0x49ED6C2: clone (clone.S:95)
7: ==7576== 
7: ==7576== 95,957 (1,128 direct, 94,829 indirect) bytes in 1 blocks are 
definitely lost in loss record 156 of 156
7: ==7576==    at 0x483980B: malloc (vg_replace_malloc.c:307)
7: ==7576==    by 0x402C94: listener_ctx_new (threaderciser.c:263)
7: ==7576==    by 0x402C94: lpool_listen.part.0 (threaderciser.c:282)
7: ==7576==    by 0x40338B: lpool_listen (threaderciser.c:379)
7: ==7576==    by 0x40338B: global_do_stuff (threaderciser.c:379)
7: ==7576==    by 0x40368F: user_thread (threaderciser.c:397)
7: ==7576==    by 0x48D34E1: start_thread (pthread_create.c:479)
7: ==7576==    by 0x49ED6C2: clone (clone.S:95)
7: ==7576== 
1/1 Test #7: c-threaderciser ..................***Failed    5.75 sec

0% tests passed, 1 tests failed out of 1

Total Test time (real) =   5.76 sec

The following tests FAILED:
          7 - c-threaderciser (Failed)
Errors while running CTest
{code}

Which should be addressed in a separate issue.

> Threaderciser test does not honor ctest '--timeout' switch
> ----------------------------------------------------------
>
>                 Key: PROTON-2270
>                 URL: https://issues.apache.org/jira/browse/PROTON-2270
>             Project: Qpid Proton
>          Issue Type: Bug
>          Components: build
>    Affects Versions: proton-c-0.31.0
>         Environment: Fedora 31
>            Reporter: Charles E. Rolke
>            Priority: Major
>
> Command line
> {code:java}
> > ctest -VV --timeout 600 -R threader
> {code}
> runs the test with
> {code:java}
> ...
>     Start 7: c-threaderciser
> ...
> 7: Test timeout computed to be: 120
> ...
> {code}
> The test should respect the ctest switch and run for 600 seconds.



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

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to