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 2017/10/26 01:33:00 UTC

[jira] [Commented] (PROTON-1658) [OSX] ruby-example-test test_tools.rb initialize times out and hangs

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

Roddie Kieley commented on PROTON-1658:
---------------------------------------

When building I see the following:
{code}
[ 74%] Swig source
Scanning dependencies of target cproton-ruby
[ 75%] Building C object proton-c/bindings/ruby/CMakeFiles/cproton-ruby.dir/rubyRUBY_wrap.c.o
/Users/rkieley/LocalProjects/issues/PROTON-522/126/proton-c/bindings/ruby/rubyRUBY_wrap.c:2225:12: warning: implicit declaration of function 'rb_thread_call_without_gvl' is invalid in C99
      [-Wimplicit-function-declaration]
      rc = RB_BLOCKING_CALL(pn_messenger_send_no_gvl,
           ^
/Users/rkieley/LocalProjects/issues/PROTON-522/126/proton-c/bindings/ruby/rubyRUBY_wrap.c:2164:26: note: expanded from macro 'RB_BLOCKING_CALL'
#define RB_BLOCKING_CALL rb_thread_call_without_gvl
                         ^
1 warning generated.
{code}

> [OSX] ruby-example-test test_tools.rb initialize times out and hangs
> --------------------------------------------------------------------
>
>                 Key: PROTON-1658
>                 URL: https://issues.apache.org/jira/browse/PROTON-1658
>             Project: Qpid Proton
>          Issue Type: Sub-task
>          Components: ruby-binding
>         Environment: OSX 10.11.6, Xcode 7.3.1, ruby 2.0.0p648
>            Reporter: Roddie Kieley
>            Assignee: Alan Conway
>
> {code}
> test 1
>       Start  1: ruby-example-test
> 1: Test command: /usr/bin/ruby "example_test.rb" "-v"
> 1: Environment variables: 
> 1:  PATH=/opt/local/bin:/opt/local/sbin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin:/Developer/SDKs/android-sdk-mac_x86-1.6_r1:/Developer/SDKs/android-sdk-mac_x86-1.6_r1/tools:/Developer/SDKs/adt-bundle-mac-x86_64/sdk/tools:/Developer/SDKs/adt-bundle-mac-x86_64/sdk/platform-tools:/Users/rkieley/LocalProjects/issues/PROTON-522/126/proton-c/bindings/ruby:/Users/rkieley/LocalProjects/issues/PROTON-522/126/proton-c
> 1:  RUBYLIB=:/Users/rkieley/LocalProjects/issues/PROTON-522/qpid-proton-roddiekieley/proton-c/bindings/ruby/lib:/Users/rkieley/LocalProjects/issues/PROTON-522/qpid-proton-roddiekieley/proton-c/bindings/ruby/tests:/Users/rkieley/LocalProjects/issues/PROTON-522/qpid-proton-roddiekieley/proton-c/bindings/ruby/spec:/Users/rkieley/LocalProjects/issues/PROTON-522/126/proton-c/bindings/ruby:/Users/rkieley/LocalProjects/issues/PROTON-522/126/proton-c
> 1: Test timeout computed to be: 1500
> 1: /Users/rkieley/LocalProjects/issues/PROTON-522/qpid-proton-roddiekieley/proton-c/bindings/ruby/tests/test_tools.rb:60:in `initialize': Operation timed out - connect(2) (Errno::ETIMEDOUT)
> 1:      from /Users/rkieley/LocalProjects/issues/PROTON-522/qpid-proton-roddiekieley/proton-c/bindings/ruby/tests/test_tools.rb:60:in `open'
> 1:      from /Users/rkieley/LocalProjects/issues/PROTON-522/qpid-proton-roddiekieley/proton-c/bindings/ruby/tests/test_tools.rb:60:in `wait_port'
> 1:      from example_test.rb:73:in `block in <main>'
> 1:      from /Users/rkieley/LocalProjects/issues/PROTON-522/qpid-proton-roddiekieley/proton-c/bindings/ruby/tests/test_tools.rb:45:in `initialize'
> 1:      from example_test.rb:70:in `new'
> 1:      from example_test.rb:70:in `<main>'
> ^C
> earth:126 rkieley$ ruby -v
> ruby 2.0.0p648 (2015-12-16 revision 53162) [universal.x86_64-darwin15]
> {code}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

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