[前][次][番号順一覧][スレッド一覧]

ruby-changes:55256

From: k0kubun <ko1@a...>
Date: Sun, 7 Apr 2019 17:18:16 +0900 (JST)
Subject: [ruby-changes:55256] k0kubun:r67463 (trunk): Add debug message for test_rinda crash

k0kubun	2019-04-07 17:18:09 +0900 (Sun, 07 Apr 2019)

  New Revision: 67463

  https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=67463

  Log:
    Add debug message for test_rinda crash
    
    We often see test-all worker crash on test_rinda, but for now we even
    can't know which test is unstable from this output:
    http://ci.rvm.jp/results/trunk_gcc5@silicon-docker/1926481
    
    Let me print `caller` on the timeout failure.

  Modified files:
    trunk/test/rinda/test_rinda.rb
Index: test/rinda/test_rinda.rb
===================================================================
--- test/rinda/test_rinda.rb	(revision 67462)
+++ test/rinda/test_rinda.rb	(revision 67463)
@@ -801,6 +801,8 @@ class TestRingServer < Test::Unit::TestC https://github.com/ruby/ruby/blob/trunk/test/rinda/test_rinda.rb#L801
     tl0 << th
     yield
   rescue Timeout::Error => e
+    $stderr.puts "TestRingServer#with_timeout: timeout in #{n}s:"
+    $stderr.puts caller
     if tl
       bt = e.backtrace
       tl.each do |t|

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]