grosser / parallel_tests

Ruby: 2 CPUs = 2x Testing Speed for RSpec, Test::Unit and Cucumber
3.38k stars 494 forks source link

Doesn't work under Windows #565

Open President opened 7 years ago

President commented 7 years ago

parallel_cucumber works well on OSX but does not work on Windows - I receive NullPointerException.

> parallel_cucumber ./features
1 processes for 3 features, ~ 3 features per process
Unhandled Java exception: java.lang.NullPointerException
java.lang.NullPointerException: null
          pipeOpen at org/jruby/util/io/PopenExecutor.java:571
             popen at org/jruby/util/io/PopenExecutor.java:300
            open19 at org/jruby/RubyKernel.java:295
              call at org/jruby/RubyKernel$INVOKER$s$0$3$open19.gen:-1
      cacheAndCall at org/jruby/runtime/callsite/CachingCallSite.java:298
         callBlock at org/jruby/runtime/callsite/CachingCallSite.java:79
              call at org/jruby/runtime/callsite/CachingCallSite.java:83
         interpret at org/jruby/ir/instructions/CallBase.java:428
       processCall at org/jruby/ir/interpreter/InterpreterEngine.java:355
         interpret at org/jruby/ir/interpreter/StartupInterpreterEngine.java:73
  INTERPRET_METHOD at org/jruby/internal/runtime/methods/MixedModeIRMethod.java:
109
              call at org/jruby/internal/runtime/methods/MixedModeIRMethod.java:
95
      cacheAndCall at org/jruby/runtime/callsite/CachingCallSite.java:298
         callBlock at org/jruby/runtime/callsite/CachingCallSite.java:79
              call at org/jruby/runtime/callsite/CachingCallSite.java:83
         interpret at org/jruby/ir/instructions/CallBase.java:428
       processCall at org/jruby/ir/interpreter/InterpreterEngine.java:355
         interpret at org/jruby/ir/interpreter/StartupInterpreterEngine.java:73
  INTERPRET_METHOD at org/jruby/internal/runtime/methods/MixedModeIRMethod.java:
109
              call at org/jruby/internal/runtime/methods/MixedModeIRMethod.java:
grosser commented 7 years ago

PRs welcome, but I'm not debugging windows issues :)

On Sun, Mar 26, 2017 at 8:51 AM, Konstantin Trunin <notifications@github.com

wrote:

parallel_cucumber works well on OSX but does not work on Windows - I receive NullPointerException.

parallel_cucumber ./features 1 processes for 3 features, ~ 3 features per process Unhandled Java exception: java.lang.NullPointerException java.lang.NullPointerException: null pipeOpen at org/jruby/util/io/PopenExecutor.java:571 popen at org/jruby/util/io/PopenExecutor.java:300 open19 at org/jruby/RubyKernel.java:295 call at org/jruby/RubyKernel$INVOKER$s$0$3$open19.gen:-1 cacheAndCall at org/jruby/runtime/callsite/CachingCallSite.java:298 callBlock at org/jruby/runtime/callsite/CachingCallSite.java:79 call at org/jruby/runtime/callsite/CachingCallSite.java:83 interpret at org/jruby/ir/instructions/CallBase.java:428 processCall at org/jruby/ir/interpreter/InterpreterEngine.java:355 interpret at org/jruby/ir/interpreter/StartupInterpreterEngine.java:73 INTERPRET_METHOD at org/jruby/internal/runtime/methods/MixedModeIRMethod.java: 109 call at org/jruby/internal/runtime/methods/MixedModeIRMethod.java: 95 cacheAndCall at org/jruby/runtime/callsite/CachingCallSite.java:298 callBlock at org/jruby/runtime/callsite/CachingCallSite.java:79 call at org/jruby/runtime/callsite/CachingCallSite.java:83 interpret at org/jruby/ir/instructions/CallBase.java:428 processCall at org/jruby/ir/interpreter/InterpreterEngine.java:355 interpret at org/jruby/ir/interpreter/StartupInterpreterEngine.java:73 INTERPRET_METHOD at org/jruby/internal/runtime/methods/MixedModeIRMethod.java: 109 call at org/jruby/internal/runtime/methods/MixedModeIRMethod.java:

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/grosser/parallel_tests/issues/565, or mute the thread https://github.com/notifications/unsubscribe-auth/AAAsZyY6mvKxqV1J9SneTF1_CcdkCJzfks5rpomXgaJpZM4Mpd-g .

enkessler commented 7 years ago

@grosser What is the status of this gem and Windows? Is it just error prone/unstable or is it fundamentally not compatible with Windows?

grosser commented 7 years ago

just a few bugs here and there, was working before ... just need someone to debug/fix whatever fails.

enkessler commented 7 years ago

Good to know, thanks!

ziggythehamster commented 5 years ago

^ the above is JRuby, so ostensibly it's broken in JRuby on OSX and Linux too