-
Notifications
You must be signed in to change notification settings - Fork 105
Closed
Description
Trying with ruby 4.0.0dev (2025-11-13 master 253485484c) +PRISM [x86_64-linux]
ruby/ruby@2534854
webrick git head
5584117
testsuite fails like below:
Loaded suite -e
Started#<Thread:0x00007f3108ff9b38 /builddir/build/GIT/webrick/test/webrick/utils.rb:60 run> terminated with exception (report_on_exception is true):
/usr/share/gems/gems/test-unit-3.7.1/lib/test/unit/assertions.rb:63:in 'block in Test::Unit::Assertions#assert_block': <[]> expected but was (Test::Unit::AssertionFail
edError)
<["[2025-11-13 21:54:39] ERROR NoMethodError: undefined method 'nread' for an instance of IO\\n\\t/builddir/build/GIT/webrick/lib/webrick/server.rb:178:in 'block in WE
Brick::GenericServer#start'\n"]>.
from /usr/share/gems/gems/test-unit-3.7.1/lib/test/unit/assertions.rb:1921:in 'Test::Unit::Assertions#_wrap_assertion'
from /usr/share/gems/gems/test-unit-3.7.1/lib/test/unit/assertions.rb:57:in 'Test::Unit::Assertions#assert_block'
from /usr/share/gems/gems/test-unit-3.7.1/lib/test/unit/assertions.rb:248:in 'Test::Unit::Assertions#assert_equal'
from /builddir/build/GIT/webrick/test/webrick/utils.rb:46:in 'block in <module:TestWEBrick>'
from /builddir/build/GIT/webrick/test/webrick/utils.rb:63:in 'block in TestWEBrick.start_server'
F
===============================================================================
Failure: test_socket_dnrl_false_server_dnrl_false(TestDoNotReverseLookup):
exceptions on 1 threads:
#<Thread:0x00007f3108ff9b38 /builddir/build/GIT/webrick/test/webrick/utils.rb:60 dead>:
/usr/share/gems/gems/test-unit-3.7.1/lib/test/unit/assertions.rb:63:in 'block in Test::Unit::Assertions#assert_block': <[]> expected but was (Test::Unit::AssertionFa
iledError)
<["[2025-11-13 21:54:39] ERROR NoMethodError: undefined method 'nread' for an instance of IO\\n\\t/builddir/build/GIT/webrick/lib/webrick/server.rb:178:in 'block in
WEBrick::GenericServer#start'\n"]>.
from /usr/share/gems/gems/test-unit-3.7.1/lib/test/unit/assertions.rb:1921:in 'Test::Unit::Assertions#_wrap_assertion'
from /usr/share/gems/gems/test-unit-3.7.1/lib/test/unit/assertions.rb:57:in 'Test::Unit::Assertions#assert_block'
from /usr/share/gems/gems/test-unit-3.7.1/lib/test/unit/assertions.rb:248:in 'Test::Unit::Assertions#assert_equal'
from /builddir/build/GIT/webrick/test/webrick/utils.rb:46:in 'block in <module:TestWEBrick>'
from /builddir/build/GIT/webrick/test/webrick/utils.rb:63:in 'block in TestWEBrick.start_server'
/usr/share/gems/gems/test-unit-ruby-core-1.0.10/lib/core_assertions.rb:797:in 'Test::Unit::CoreAssertions#assert_join_threads'
/builddir/build/GIT/webrick/test/webrick/utils.rb:74:in 'TestWEBrick.start_server'
/builddir/build/GIT/webrick/test/webrick/test_do_not_reverse_lookup.rb:21:in 'TestDoNotReverseLookup#do_not_reverse_lookup?'
/builddir/build/GIT/webrick/test/webrick/test_do_not_reverse_lookup.rb:64:in 'TestDoNotReverseLookup#test_socket_dnrl_false_server_dnrl_false'
61:
62: def test_socket_dnrl_false_server_dnrl_false
63: Socket.do_not_reverse_lookup = false
=> 64: assert_equal(false, do_not_reverse_lookup?(:DoNotReverseLookup => false))
65: end
66:
67: def test_socket_dnrl_false_server_dnrl_nil
===============================================================================#<Thread:0x00007f31080bcdc8 /builddir/build/GIT/webrick/test/webrick/utils.rb:60 run> te
....
....
Perhaps due to the following change:
ruby/ruby@b70f5af
ruby/io-wait#49
olleolleolle
Metadata
Metadata
Assignees
Labels
No labels