ruby-changes:52726
From: k0kubun <ko1@a...>
Date: Sun, 7 Oct 2018 21:03:53 +0900 (JST)
Subject: [ruby-changes:52726] k0kubun:r64938 (trunk): appveyor.yml: separately execute unstable tests
k0kubun 2018-10-07 21:03:49 +0900 (Sun, 07 Oct 2018) New Revision: 64938 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=64938 Log: appveyor.yml: separately execute unstable tests without -j option. Those 2 tests are too unstable on AppVeyor. test/excludes/TestThreadQueue.rb: The most unstable test ever. That even fails on my machine too. This may be possibly because recent SIGCHLD-related changes. https://ci.appveyor.com/project/ruby/ruby/build/9795/job/l9t4w9ks7arsldb1 test/excludes/TestWin32OLE.rb: I saw that win32ole crashes test-all several times. https://ci.appveyor.com/project/ruby/ruby/build/9811/job/ra5uxf2cg6v7ohag Added files: trunk/test/excludes/TestThreadQueue.rb trunk/test/excludes/TestWin32OLE.rb Modified files: trunk/appveyor.yml Index: test/excludes/TestThreadQueue.rb =================================================================== --- test/excludes/TestThreadQueue.rb (nonexistent) +++ test/excludes/TestThreadQueue.rb (revision 64938) @@ -0,0 +1,12 @@ https://github.com/ruby/ruby/blob/trunk/test/excludes/TestThreadQueue.rb#L1 +if ENV['APPVEYOR'] == 'True' && RUBY_PLATFORM.match?(/mswin/) + exclude :test_queue_with_trap, 'too unstable on vs140' + # separately tested on appveyor.yml. +end + +# https://ci.appveyor.com/project/ruby/ruby/build/9795/job/l9t4w9ks7arsldb1 +# 1) Error: +# TestThreadQueue#test_queue_with_trap: +# Timeout::Error: execution of assert_in_out_err expired timeout (30.0 sec) +# pid 22988 exit 0 +# | +# C:/projects/ruby/test/ruby/test_thread_queue.rb:553:in `test_queue_with_trap' Property changes on: test/excludes/TestThreadQueue.rb ___________________________________________________________________ Added: svn:eol-style ## -0,0 +1 ## +LF \ No newline at end of property Index: test/excludes/TestWin32OLE.rb =================================================================== --- test/excludes/TestWin32OLE.rb (nonexistent) +++ test/excludes/TestWin32OLE.rb (revision 64938) @@ -0,0 +1,13 @@ https://github.com/ruby/ruby/blob/trunk/test/excludes/TestWin32OLE.rb#L1 +if ENV['APPVEYOR'] == 'True' && RUBY_PLATFORM.match?(/mswin/) + exclude(/\Atest_/, 'test_win32ole.rb sometimes causes worker crash') + # separately tested on appveyor.yml. +end + +# https://ci.appveyor.com/project/ruby/ruby/build/9811/job/ra5uxf2cg6v7ohag +# +# running file: C:/projects/ruby/test/win32ole/test_win32ole.rb +# +# Some worker was crashed. It seems ruby interpreter's bug +# or, a bug of test/unit/parallel.rb. try again without -j +# option. +# NMAKE : fatal error U1077: '.\ruby.exe' : return code '0x1' Property changes on: test/excludes/TestWin32OLE.rb ___________________________________________________________________ Added: svn:eol-style ## -0,0 +1 ## +LF \ No newline at end of property Index: appveyor.yml =================================================================== --- appveyor.yml (revision 64937) +++ appveyor.yml (revision 64938) @@ -92,7 +92,9 @@ for: https://github.com/ruby/ruby/blob/trunk/appveyor.yml#L92 - set /a JOBS=%NUMBER_OF_PROCESSORS% - nmake -l "TESTOPTS=-v -q" btest - nmake -l "TESTOPTS=-v -q" test-basic - - nmake -l "TESTOPTS=-q -j%JOBS% --subprocess-timeout-scale=3.0" test-all RUBY_FORCE_TEST_JIT=1 + - nmake -l "TESTOPTS=-q -j%JOBS% --subprocess-timeout-scale=1.5" test-all RUBY_FORCE_TEST_JIT=1 + # execute unstable tests separately without -j. + - nmake -l "TESTOPTS=-q --subprocess-timeout-scale=3.0" test-all TEST_EXCLUDES= TESTS="../test/win32ole/test_win32ole.rb ../test/ruby/test_thread_queue.rb" - nmake -l test-spec - matrix: -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/