[
https://issues.apache.org/jira/browse/PROTON-1643?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16285073#comment-16285073
]
Andrew Stitcher commented on PROTON-1643:
-----------------------------------------
I'm still getting a hang with the ruby-old-example-test:
{noformat}
test 13
Start 13: ruby-old-example-test
13: Test command: /usr/local/bin/python
"/home/andrew/qpid-proton/src/proton-c/env.py" "--"
"PATH=/usr/local/libexec/ccache:/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/home/andrew/bin:/home/andrew/qpid-proton/bld/proton-c/bindings/ruby:/home/andrew/qpid-proton/bld/proton-c"
"RUBYLIB=:/home/andrew/qpid-proton/src/proton-c/bindings/ruby/lib:/home/andrew/qpid-proton/src/proton-c/bindings/ruby/tests:/home/andrew/qpid-proton/src/proton-c/bindings/ruby/spec:/home/andrew/qpid-proton/bld/proton-c/bindings/ruby:/home/andrew/qpid-proton/bld/proton-c"
"SASLPASSWD=/usr/local/sbin/saslpasswd2" "/usr/local/bin/ruby"
"old_example_test.rb" "-v"
13: Test timeout computed to be: 1500
13: Run options: -v --seed 60161
13:
13: # Running:
13:
13: OldExampleTest#test_helloworld = 0.10 s = .
13: OldExampleTest#test_smoke = 0.17 s = .
13: OldExampleTest#test_direct_send = 0.19 s = .
13: OldExampleTest#test_send_recv = 0.20 s = .
13: OldExampleTest#test_direct_recv = 0.20 s = .
13: OldExampleTest#test_client_server =
/home/andrew/qpid-proton/src/proton-c/bindings/ruby/lib/core/container.rb:174:in
`initialize': Connection refused - connect(2) for "0.0.0.0" port 55035
(Errno::ECONNREFUSED)
13: from
/home/andrew/qpid-proton/src/proton-c/bindings/ruby/lib/core/container.rb:174:in
`new'
13: from
/home/andrew/qpid-proton/src/proton-c/bindings/ruby/lib/core/container.rb:174:in
`connect'
13: from
/home/andrew/qpid-proton/src/proton-c/bindings/ruby/lib/reactor/container.rb:41:in
`connect'
13: from server.rb:33:in `on_start'
13: from
/home/andrew/qpid-proton/src/proton-c/bindings/ruby/lib/core/container.rb:230:in
`run'
13: from server.rb:75:in `<main>'
{noformat}
These seem to be the relevant processes running:
* /usr/local/bin/ruby23 -W0 client.rb -a amqp://:63611/test_client_server
* /usr/local/bin/ruby23 -W0 server.rb -a amqp://:63611/test_client_server
* /usr/local/bin/ruby23 -W0 broker.rb -a :63611
When the borker process is interrupted the test completes:
{noformat}
13: 197.92 s = F
13:
13: Finished in 198.774957s, 0.0302 runs/s, 0.0503 assertions/s.
13:
13: 1) Failure:
13: OldExampleTest#test_client_server [old_example_test.rb:68]:
13: --- expected
13: +++ actual
13: @@ -1,8 +1 @@
13: -"-> Twas brillig, and the slithy toves
13: -<- TWAS BRILLIG, AND THE SLITHY TOVES
13: --> Did gire and gymble in the wabe.
13: -<- DID GIRE AND GYMBLE IN THE WABE.
13: --> All mimsy were the borogroves,
13: -<- ALL MIMSY WERE THE BOROGROVES,
13: --> And the mome raths outgrabe.
13: -<- AND THE MOME RATHS OUTGRABE."
13: +"-> Twas brillig, and the slithy toves"
13:
{noformat}
> [FreeBSD] ruby-example-test hangs
> ---------------------------------
>
> Key: PROTON-1643
> URL: https://issues.apache.org/jira/browse/PROTON-1643
> Project: Qpid Proton
> Issue Type: Bug
> Components: ruby-binding
> Affects Versions: proton-c-0.18.0
> Environment: FreeBSD 10.3-RELEASE-p20
> Reporter: Andrew Stitcher
> Assignee: Andrew Stitcher
> Labels: freebsd
> Fix For: proton-c-0.19.0
>
>
> When running ctest ruby-example-test hangs.
> If you examine the process list there is a process {{/usr/local/bin/ruby23
> reactor/broker.rb -a :26780}} that has not exited. If you kill that process
> the test fails but the test run carries on.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]