Project

General

Profile

Actions

Bug #15569

closed

TestResolvDNS#test_no_server always fails on usa's mswin environment

Added by k0kubun (Takashi Kokubun) almost 6 years ago. Updated over 4 years ago.

Status:
Closed
Target version:
-
[ruby-core:91306]
Tags:

Description

Every week @usa (Usaku NAKAMURA) reports a test failure on his mswin environment like this:

[  9/135] TestResolvDNS#test_no_server = 5.00 s
  1) Error:
TestResolvDNS#test_no_server:
Timeout::Error: execution expired
    C:/Users/usa/develop/ruby/core/mytree/lib/resolv.rb:672:in `wait_readable'
    C:/Users/usa/develop/ruby/core/mytree/lib/resolv.rb:672:in `request'
    C:/Users/usa/develop/ruby/core/mytree/lib/resolv.rb:526:in `block in fetch_resource'
    C:/Users/usa/develop/ruby/core/mytree/lib/resolv.rb:1120:in `block (3 levels) in resolv'
    C:/Users/usa/develop/ruby/core/mytree/lib/resolv.rb:1118:in `each'
    C:/Users/usa/develop/ruby/core/mytree/lib/resolv.rb:1118:in `block (2 levels) in resolv'
    C:/Users/usa/develop/ruby/core/mytree/lib/resolv.rb:1117:in `each'
    C:/Users/usa/develop/ruby/core/mytree/lib/resolv.rb:1117:in `block in resolv'
    C:/Users/usa/develop/ruby/core/mytree/lib/resolv.rb:1115:in `each'
    C:/Users/usa/develop/ruby/core/mytree/lib/resolv.rb:1115:in `resolv'
    C:/Users/usa/develop/ruby/core/mytree/lib/resolv.rb:517:in `fetch_resource'
    C:/Users/usa/develop/ruby/core/mytree/lib/resolv.rb:507:in `each_resource'
    C:/Users/usa/develop/ruby/core/mytree/lib/resolv.rb:498:in `getresources'
    C:/Users/usa/develop/ruby/core/mytree/test/resolv/test_dns.rb:167:in `block (2 levels) in test_no_server'
    C:/Users/usa/develop/ruby/core/mytree/lib/resolv.rb:300:in `open'
    C:/Users/usa/develop/ruby/core/mytree/test/resolv/test_dns.rb:166:in `block in test_no_server'
    C:/Users/usa/develop/ruby/core/mytree/lib/timeout.rb:108:in `timeout'
    C:/Users/usa/develop/ruby/core/mytree/test/resolv/test_dns.rb:165:in `test_no_server'

Finished tests in 854.592396s, 23.4942 tests/s, 6046.6370 assertions/s.
20078 tests, 5167410 assertions, 0 failures, 1 errors, 328 skips

ruby -v: ruby 2.7.0dev (2019-01-28 trunk 66933) [x64-mswin64_140]
NMAKE : fatal error U1077: '.\ruby.exe' : リターン コード '0x1'
Stop.

It started roughly after timer thread was eliminated in Ruby 2.6.
Note that this is not reproducible on mswin RubyCI.

@normalperson (Eric Wong) Do you have any insight for a possible cause of this?

Actions

Also available in: Atom PDF

Like0
Like0Like0Like0Like0