Issue #15827 has been updated by shevegen (Robert A. Heiler).


Not related to the issue at hand, but perhaps it would be good if travis co=
uld
also run/use tests similar as what Greg is reporting on windows; then it co=
uld
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 gl=
ad
to use ruby on haiku eventually.

----------------------------------------
Bug #15827: Haiku: SSL tests failing
https://bugs.ruby-lang.org/issues/15827#change-77922

* Author: extrowerk (Zolt=E1n Mizsei)
* Status: Open
* Priority: Normal
* Assignee: =

* Target version: =

* ruby -v: ruby 2.6.3p62 (2019-04-16 revision 67580) [x86_64-haiku]
* Backport: 2.4: UNKNOWN, 2.5: UNKNOWN, 2.6: UNKNOWN
----------------------------------------
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=3D.ex=
t  -- --disable-gems "./bootstraptest/runner.rb" --ruby=3D"ruby --disable-g=
ems"   ./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]

KNOWNBUGS.rb  PASS 0
No tests, no problem

test succeeded
Run options: "--ruby=3D./miniruby -I./lib -I. -I.ext/common  ./tool/runruby=
.rb --extout=3D.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=3D./miniruby -I./lib -I. -I.ext/common  ./tool/runruby=
.rb --extout=3D.ext  -- --disable-gems" --excludes-dir=3D./test/excludes --=
name=3D!/memory_leak/ --exclude=3D/testunit/ --exclude=3D/minitest/

# Running tests:

[  580/20233] DRbTests::TestDRbSSLAry#test_01 =3D 100.08 s                 =
       =

  1) Error:
DRbTests::TestDRbSSLAry#test_01:
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 platfo=
rm difference. Any help would be really appreciated.



-- =

https://bugs.ruby-lang.org/

Unsubscribe: <mailto:ruby-core-request / ruby-lang.org?subject=3Dunsubscribe>
<http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-core>