Bug #15827

Haiku: SSL tests failing

Added by extrowerk (Zoltán Mizsei) over 1 year ago. Updated 8 months ago.

Target version:
ruby -v:
ruby 2.6.3p62 (2019-04-16 revision 67580) [x86_64-haiku]


Every SSL-aware testcase fails like this:

Generating RDoc documentation

No newer files.

  Files:      0

  Classes:    0 (0 undocumented)
  Modules:    0 (0 undocumented)
  Constants:  0 (0 undocumented)
  Attributes: 0 (0 undocumented)
  Methods:    0 (0 undocumented)

  Total:      0 (0 undocumented)
    0.00% documented

  Elapsed: 0.0s

PASS all 1397 tests             
exec ./miniruby -I./lib -I. -I.ext/common  ./tool/runruby.rb --extout=.ext  -- --disable-gems "./bootstraptest/runner.rb" --ruby="ruby --disable-gems"   ./KNOWNBUGS.rb
2019-05-05 17:40:35 +0200
Driver is ruby 2.6.3p62 (2019-04-16 revision 67580) [x86_64-haiku]
Target is ruby 2.6.3p62 (2019-04-16 revision 67580) [x86_64-haiku]

No tests, no problem

test succeeded
Run options: "--ruby=./miniruby -I./lib -I. -I.ext/common  ./tool/runruby.rb --extout=.ext  -- --disable-gems"

# Running tests:

Finished tests in 5.083999s, 43.6664 tests/s, 90.6767 assertions/s.             
222 tests, 461 assertions, 0 failures, 0 errors, 0 skips

ruby -v: ruby 2.6.3p62 (2019-04-16 revision 67580) [x86_64-haiku]
Run options: "--ruby=./miniruby -I./lib -I. -I.ext/common  ./tool/runruby.rb --extout=.ext  -- --disable-gems" --excludes-dir=./test/excludes --name=!/memory_leak/ --exclude=/testunit/ --exclude=/minitest/

# Running tests:

[  580/20233] DRbTests::TestDRbSSLAry#test_01 = 100.08 s                        
  1) Error:
RuntimeError: execution expired
    /sources/ruby-2.6.3/lib/monitor.rb:111:in `sleep'
    /sources/ruby-2.6.3/lib/monitor.rb:111:in `wait'
    /sources/ruby-2.6.3/lib/monitor.rb:111:in `block (2 levels) in wait'
    /sources/ruby-2.6.3/lib/monitor.rb:110:in `handle_interrupt'
    /sources/ruby-2.6.3/lib/monitor.rb:110:in `block in wait'
    /sources/ruby-2.6.3/lib/monitor.rb:106:in `handle_interrupt'
    /sources/ruby-2.6.3/lib/monitor.rb:106:in `wait'
    /sources/ruby-2.6.3/lib/drb/extservm.rb:42:in `block in service'
    /sources/ruby-2.6.3/lib/monitor.rb:230:in `mon_synchronize'
    /sources/ruby-2.6.3/lib/drb/extservm.rb:37:in `service'
    /sources/ruby-2.6.3/test/drb/drbtest.rb:39:in `block in ext_service'
    /sources/ruby-2.6.3/lib/timeout.rb:103:in `timeout'
    /sources/ruby-2.6.3/test/drb/drbtest.rb:38:in `ext_service'
    /sources/ruby-2.6.3/test/drb/drbtest.rb:89:in `setup_service'
    /sources/ruby-2.6.3/test/drb/test_drbssl.rb:66:in `setup'

I see nothing obvious, Ruby built against openssl-1.0.2q. Probably a platform difference. Any help would be really appreciated.

Related issues

Related to Ruby master - Bug #15795: Some test fails on HaikuClosedActions

Updated by shevegen (Robert A. Heiler) over 1 year ago

Not related to the issue at hand, but perhaps it would be good if travis could
also run/use tests similar as what Greg is reporting on windows; then it could
be simpler to get to test ruby on haiku as a first-class citizen in general.
Props to your effort for getting ruby to work on haiku smoothly; I'll be glad
to use ruby on haiku eventually.

Updated by mame (Yusuke Endoh) 8 months ago

  • Status changed from Open to Rejected

As I said in #15795, there is no platform maintainer for Haiku. Let's discuss the issue on that ticket.


Updated by mame (Yusuke Endoh) 8 months ago

  • Related to Bug #15795: Some test fails on Haiku added

Also available in: Atom PDF