Skip to content

Instantly share code, notes, and snippets.

@lopex
Created September 25, 2018 15:21
Show Gist options
  • Save lopex/c7d15a8b8a3e79f5237bfda1d0ba7cdb to your computer and use it in GitHub Desktop.
Save lopex/c7d15a8b8a3e79f5237bfda1d0ba7cdb to your computer and use it in GitHub Desktop.
[exec]
[exec] Failures:
[exec]
[exec] 1) An exception that bubbles out when $stderr is redirected logs to the redirected target
[exec] Failure/Error: DEFAULT_FAILURE_NOTIFIER = lambda { |failure, _opts| raise failure }
[exec]
[exec] expected: "RuntimeError: No current exception\n"
[exec] got: "WARNING: An illegal reflective access operation has occurred\n"
[exec]
[exec] (compared using ==)
[exec]
[exec] Diff:
[exec] @@ -1,2 +1,2 @@
[exec] -RuntimeError: No current exception
[exec] +WARNING: An illegal reflective access operation has occurred
[exec] # ./spec/regression/GH-1082_bubbled_exceptions_should_report_to_redirected_stderr_spec.rb:21:in `block in <main>'
[exec]
[exec] 2) Open3.popen3 accepts and ignores empty trailing options hash
[exec] Failure/Error: pid = spawn(*cmd, opts)
[exec]
[exec] Errno::EBADF:
[exec] Bad file descriptor - echo
[exec] # ./spec/regression/GH-2298_capture3_accepts_trailing_options_spec.rb:7:in `block in <main>'
[exec]
[exec] 3) #4122 Stdio streams in a simple non-native JRuby instance should have sane fileno
[exec] Failure/Error: expect(filenos[0]).to eq 0
[exec]
[exec] NoMethodError:
[exec] undefined method `[]' for nil:NilClass
[exec] # ./spec/regression/GH-4122_stdio_fileno_sanity_spec.rb:10:in `block in <main>'
[exec]
[exec] 4) java.script.ScriptManager for JRuby when assigning global variables allows different types of values to be assigned in sequence
[exec] Failure/Error: Unable to infer file and line number from backtrace
[exec]
[exec] Java::JavaLang::NoClassDefFoundError:
[exec] javax/script/ScriptEngineFactory
[exec] # java.lang.ClassLoader.findBootstrapClass(Native Method)
[exec] # java.lang.ClassLoader.findBootstrapClassOrNull(java/lang/ClassLoader.java:1250)
[exec] # java.lang.System$2.findBootstrapClassOrNull(java/lang/System.java:2134)
[exec] # jdk.internal.loader.ClassLoaders$BootClassLoader.loadClassOrNull(jdk/internal/loader/ClassLoaders.java:130)
[exec] # jdk.internal.loader.BuiltinClassLoader.loadClassOrNull(jdk/internal/loader/BuiltinClassLoader.java:617)
[exec] # jdk.internal.loader.BuiltinClassLoader.loadClassOrNull(jdk/internal/loader/BuiltinClassLoader.java:641)
[exec] # jdk.internal.loader.BuiltinClassLoader.loadClassOrNull(jdk/internal/loader/BuiltinClassLoader.java:617)
[exec] # jdk.internal.loader.BuiltinClassLoader.loadClass(jdk/internal/loader/BuiltinClassLoader.java:580)
[exec] # jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(jdk/internal/loader/ClassLoaders.java:190)
[exec] # java.lang.ClassLoader.loadClass(java/lang/ClassLoader.java:553)
[exec] # java.lang.ClassLoader.loadClass(java/lang/ClassLoader.java:499)
[exec] # java.lang.Class.forName0(Native Method)
[exec] # java.lang.Class.forName(java/lang/Class.java:374)
[exec] # java.util.ServiceLoader$LazyClassPathLookupIterator.nextProviderClass(java/util/ServiceLoader.java:1209)
[exec] # java.util.ServiceLoader$LazyClassPathLookupIterator.hasNextService(java/util/ServiceLoader.java:1220)
[exec] # java.util.ServiceLoader$LazyClassPathLookupIterator.hasNext(java/util/ServiceLoader.java:1264)
[exec] # java.util.ServiceLoader$2.hasNext(java/util/ServiceLoader.java:1299)
[exec] # java.util.ServiceLoader$3.hasNext(java/util/ServiceLoader.java:1384)
[exec] # javax.script.ScriptEngineManager.initEngines(javax/script/ScriptEngineManager.java:120)
[exec] # javax.script.ScriptEngineManager.init(javax/script/ScriptEngineManager.java:84)
[exec] # javax.script.ScriptEngineManager.<init>(javax/script/ScriptEngineManager.java:62)
[exec] # jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
[exec] # jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(jdk/internal/reflect/NativeConstructorAccessorImpl.java:62)
[exec] # jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(jdk/internal/reflect/DelegatingConstructorAccessorImpl.java:45)
[exec] # java.lang.reflect.Constructor.newInstance(java/lang/reflect/Constructor.java:488)
[exec] # RUBY.<main>(/opt/jruby/spec/regression/GH-4178_script_engine_should_not_cache_variable_coercion_type_spec.rb:4)
[exec]
[exec] 5) JRUBY-6291: Closing Stream in IO.popen4 and Open3.popen3 should not error when reading from other streams using IO.popen4
[exec] Failure/Error: IO.popen4(command) do |pid, stdin, stdout, stderr|
[exec]
[exec] Errno::EBADF:
[exec] Bad file descriptor - /bin/echo
[exec] # uri:classloader:/jruby/kernel/io.rb:46:in `popen4'
[exec] # ./spec/regression/JRUBY-6291_popen_close_streams_spec.rb:11:in `block in <main>'
[exec]
[exec] 6) JRUBY-6291: Closing Stream in IO.popen4 and Open3.popen3 should not error when reading from other streams using Open3.popen3
[exec] Failure/Error: pid = spawn(*cmd, opts)
[exec]
[exec] Errno::EBADF:
[exec] Bad file descriptor - /bin/echo
[exec] # ./spec/regression/JRUBY-6291_popen_close_streams_spec.rb:26:in `block in <main>'
[exec]
[exec] Finished in 58.51 seconds (files took 3.04 seconds to load)
[exec] 408 examples, 6 failures
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment