[#47409] [ruby-trunk - Feature #6973][Open] Add an #integral? method to Numeric to test for whole-number values — "regularfry (Alex Young)" <alex@...>

12 messages 2012/09/03

[#47481] [ruby-trunk - Bug #7008][Open] rake is crashing when trying to compile ffi gem — "drookie (Eugene M. Zheganin Eugene M. Zheganin)" <eugene@...>

10 messages 2012/09/12

[#47505] [ruby-trunk - Feature #7019][Open] allow `private` and `protected` keywords to take blocks — "alexeymuranov (Alexey Muranov)" <redmine@...>

15 messages 2012/09/13

[#47582] [ruby-trunk - Bug #7037][Open] float formatting inconsistently rounds half to even — "headius (Charles Nutter)" <headius@...>

14 messages 2012/09/19

[#47638] [ruby-trunk - Bug #7046][Open] ERB#run and ERB#result are not safe for concurrent use — "headius (Charles Nutter)" <headius@...>

11 messages 2012/09/21

[#47655] [ruby-trunk - Feature #7051][Open] Extend caller_locations API to include klass and bindings. Allow caller_locations as a method hanging off Thread. — "sam.saffron (Sam Saffron)" <sam.saffron@...>

13 messages 2012/09/23

[#47657] [ruby-trunk - Feature #7055][Open] Allow `.foo=` as a synonym of `self.foo=` — "alexeymuranov (Alexey Muranov)" <redmine@...>

11 messages 2012/09/23

[#47730] [ruby-trunk - Bug #7085][Open] Subversion → GitHub gateway stops. — "shyouhei (Shyouhei Urabe)" <shyouhei@...>

27 messages 2012/09/29

[#47735] [ruby-trunk - Bug #7087][Open] ::ConditionVariable#wait does not work with Monitor because Monitor#sleep does not exist — "rklemme (Robert Klemme)" <shortcutter@...>

10 messages 2012/09/29

[#47759] [ruby-trunk - Bug #7092][Open] StringScanner start-of-line matches false positives, while lookbehind for a newline gives false negatives — "jayferd (Jay Adkisson)" <jjmadkisson@...>

8 messages 2012/09/30

[ruby-core:47683] [ruby-trunk - Bug #6673] No longer able to run tests in parallel (-j2)

From: "h.shirosaki (Hiroshi Shirosaki)" <h.shirosaki@...>
Date: 2012-09-24 22:58:41 UTC
List: ruby-core #47683
Issue #6673 has been updated by h.shirosaki (Hiroshi Shirosaki).


=begin
I was able to reproduce this with mingw ruby.
ruby 2.0.0dev (2012-09-24 trunk 37025) [x64-mingw32]

If test_gem_installer.rb and test_err_in_callback.rb run in same process, this error seems to occur.


 $ make test-all TESTS="-q -j2 drb rubygems/test_gem_installer.rb win32ole/test_err_in_callback.rb"

 [6/6] 4324=test_drbssl 4340=test_err_in_callbackc:/Users/hiroshi/work/ruby/lib/mkmf.rb:80:in `split'
 : invalid byte sequence in UTF-8 (ArgumentError)
        c:/Users/hiroshi/work/ruby/lib/mkmf.rb:80:in `block in <module:MakeMakefile>'
        c:/Users/hiroshi/work/ruby/lib/mkmf.rb:79:in `each'
        c:/Users/hiroshi/work/ruby/lib/mkmf.rb:79:in `<module:MakeMakefile>'
        c:/Users/hiroshi/work/ruby/lib/mkmf.rb:46:in `<top (required)>'
        c:/Users/hiroshi/work/ruby/lib/rubygems/custom_require.rb:36:in `require'
        c:/Users/hiroshi/work/ruby/lib/rubygems/custom_require.rb:36:in `require'
        c:/Users/hiroshi/work/ruby/test/win32ole/test_err_in_callback.rb:11:in `<top (required)>'
        c:/Users/hiroshi/work/ruby/lib/rubygems/custom_require.rb:36:in `require'
        c:/Users/hiroshi/work/ruby/lib/rubygems/custom_require.rb:36:in `require'
        c:/Users/hiroshi/work/ruby/lib/test/unit/parallel.rb:114:in `run'
        c:/Users/hiroshi/work/ruby/lib/test/unit/parallel.rb:181:in `<main>'

 Some worker was crashed. It seems ruby interpreter's bug
 or, a bug of test/unit/parallel.rb. try again without -j
 option.


test_gem_installer.rb sets invalid encoding string to ARGV. To clear ARGV before running test is a possible fix.


 diff --git a/lib/test/unit/parallel.rb b/lib/test/unit/parallel.rb
 index 921c6b0..7546630 100644
 --- a/lib/test/unit/parallel.rb
 +++ b/lib/test/unit/parallel.rb
 @@ -110,6 +110,7 @@ module Test
                @options = @opts.dup
                suites = MiniTest::Unit::TestCase.test_suites
  
 +              ARGV.clear
                begin
                  require $1
                rescue LoadError
=end

----------------------------------------
Bug #6673: No longer able to run tests in parallel (-j2)
https://bugs.ruby-lang.org/issues/6673#change-29720

Author: luislavena (Luis Lavena)
Status: Assigned
Priority: Low
Assignee: sorah (Shota Fukumori)
Category: test
Target version: 2.0.0
ruby -v: ruby 2.0.0dev [i386-mingw32] at r36254


=begin
Hello,

Since a few revisions back, I'm no longer able to run tests in parallel, getting output like the following:

 # Running tests:
 
 [666/690] 116=test_utils 4824=test_err_in_callbackC:/Users/Worker/Code/ruby/ruby/lib/mkmf.rb:75:in `split':  invalid byte sequence in UTF-8 (ArgumentError)
         from C:/Users/Worker/Code/ruby/ruby/lib/mkmf.rb:75:in `block in <module:MakeMakefile>'
         from C:/Users/Worker/Code/ruby/ruby/lib/mkmf.rb:74:in `each'
         from C:/Users/Worker/Code/ruby/ruby/lib/mkmf.rb:74:in `<module:MakeMakefile>'
         from C:/Users/Worker/Code/ruby/ruby/lib/mkmf.rb:42:in `<top (required)>'
         from C:/Users/Worker/Code/ruby/ruby/lib/rubygems/custom_require.rb:36:in `require'
         from C:/Users/Worker/Code/ruby/ruby/lib/rubygems/custom_require.rb:36:in `require'
         from C:/Users/Worker/Code/ruby/ruby/test/win32ole/test_err_in_callback.rb:11:in `<top (required)>'
         from C:/Users/Worker/Code/ruby/ruby/lib/rubygems/custom_require.rb:36:in `require'
         from C:/Users/Worker/Code/ruby/ruby/lib/rubygems/custom_require.rb:36:in `require'
         from C:/Users/Worker/Code/ruby/ruby/lib/test/unit/parallel.rb:114:in `run'
         from C:/Users/Worker/Code/ruby/ruby/lib/test/unit/parallel.rb:177:in `<main>'
 Some worker was crashed. It seems ruby interpreter's bug
 or, a bug of test/unit/parallel.rb. try again without -j
 option.

This was working previously, even on Windows (the platform I'm reporting right now)

Base Ruby is 1.9.3-p194 [i386-mingw32]
Target Ruby is ruby 2.0.0dev (2012-06-29) [i386-mingw32] at r36254

=end


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

In This Thread

Prev Next