Skip to content

Instantly share code, notes, and snippets.

@lopex
Created October 17, 2018 18:20
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save lopex/dfe0d2a5fd1143b2136d705500a5d7c0 to your computer and use it in GitHub Desktop.
Save lopex/dfe0d2a5fd1143b2136d705500a5d7c0 to your computer and use it in GitHub Desktop.
-------------------------------------------------------
T E S T S
-------------------------------------------------------
Results :
Tests run: 0, Failures: 0, Errors: 0, Skipped: 0
[INFO]
[INFO] --- maven-antrun-plugin:1.8:run (rake) @ jruby-tests ---
[INFO] Executing tasks
main:
[exec] mkdir -p test/target/test-classes
[exec] /opt/jdk1.8.0_181/bin/javac -cp lib/jruby.jar:test/target/junit.jar -d test/target/test-classes spec/java_integration/fixtures/PublicField.java spec/java_integration/fixtures/BooleanReturningInterface.java spec/java_integration/fixtures/PrivateInstanceMethod.java spec/java_integration/fixtures/PackageStaticMethod.java spec/java_integration/fixtures/Service.java spec/java_integration/fixtures/ExceptionRunner.java spec/java_integration/fixtures/PackageInstanceMethod.java spec/java_integration/fixtures/ScalaSingletonTrait.java spec/java_integration/fixtures/ValueReceivingInterface.java spec/java_integration/fixtures/ProtectedConstructor.java spec/java_integration/fixtures/CoerceToInterface.java spec/java_integration/fixtures/StaticMethodSelection.java spec/java_integration/fixtures/ComplexPrivateConstructor.java spec/java_integration/fixtures/AnotherRunnable.java spec/java_integration/fixtures/InterfaceWrapper.java spec/java_integration/fixtures/PublicConstructor.java spec/java_integration/fixtures/MethodNames.java spec/java_integration/fixtures/ParameterAnnotations.java spec/java_integration/fixtures/ReceivesArrayList.java spec/java_integration/fixtures/BadStaticInit.java spec/java_integration/fixtures/DescendantOfSingleMethodInterface.java spec/java_integration/fixtures/Reflector.java spec/java_integration/fixtures/ClassWithEnums.java spec/java_integration/fixtures/ArrayReturningInterfaceConsumer.java spec/java_integration/fixtures/ValueReceivingInterfaceHandler.java spec/java_integration/fixtures/PrivateConstructor.java spec/java_integration/fixtures/ClassWithMultipleSignaturesWithPrimitiveArgs.java spec/java_integration/fixtures/GenericComparable.java spec/java_integration/fixtures/PrivateStaticMethod.java spec/java_integration/fixtures/ClassWithVarargs.java spec/java_integration/fixtures/ClassWithAbstractMethods.java spec/java_integration/fixtures/ConstantHoldingInterface.java spec/java_integration/fixtures/ThrowExceptionOnCreate.java spec/java_integration/fixtures/ArrayReturningInterface.java spec/java_integration/fixtures/ProtectedField.java spec/java_integration/fixtures/BeanLikeInterfaceHandler.java spec/java_integration/fixtures/FieldAnnotations.java spec/java_integration/fixtures/JavaFields.java spec/java_integration/fixtures/BeanLikeInterface.java spec/java_integration/fixtures/CoreTypeMethods.java spec/java_integration/fixtures/ArrayReceiver.java spec/java_integration/fixtures/UsesSingleMethodInterface.java spec/java_integration/fixtures/ConcreteWithVirtualCall.java spec/java_integration/fixtures/PackageField.java spec/java_integration/fixtures/ReturnsInterfaceConsumer.java spec/java_integration/fixtures/JavaTypeMethods.java spec/java_integration/fixtures/ReceivesAndReturnsObject.java spec/java_integration/fixtures/ThrowExceptionInInitializer.java spec/java_integration/fixtures/ReturnsInterface.java spec/java_integration/fixtures/ScalaSingletonTrait$.java spec/java_integration/fixtures/UsesDescendantOfSingleMethodInterface.java spec/java_integration/fixtures/BooleanReturningInterfaceConsumer.java spec/java_integration/fixtures/ScalaSingleton$.java spec/java_integration/fixtures/ProtectedInstanceMethod.java spec/java_integration/fixtures/ManyArityMethodClass.java spec/java_integration/fixtures/SuperWithInterface.java spec/java_integration/fixtures/CachedInJava.java spec/java_integration/fixtures/PrivateField.java spec/java_integration/fixtures/ProtectedStaticMethod.java spec/java_integration/fixtures/ScalaSingleton.java spec/java_integration/fixtures/PackageConstructor.java spec/java_integration/fixtures/InnerClasses.java spec/java_integration/fixtures/JavaFieldsExt.java spec/java_integration/fixtures/MethodAnnotations.java spec/java_integration/fixtures/SingleMethodInterface.java spec/java_integration/fixtures/JavaIterable.java spec/java_integration/fixtures/ScalaOperators.java spec/java_integration/fixtures/ServiceAnnotation.java spec/java_integration/fixtures/_funky/MyClass.java spec/java_integration/fixtures/coll/CloneableImmutableList.java spec/java_integration/fixtures/coll/NonCloneableImmutableList2.java spec/java_integration/fixtures/coll/NonCloneableImmutableList.java spec/java_integration/fixtures/coll/NonCloneableImmutableList3.java spec/java_integration/fixtures/coll/NonCloneableList.java spec/java_integration/fixtures/iface/SingleMethodInterfaceWith4Args.java spec/java_integration/fixtures/iface/SingleMethodInterfaceWithArg.java spec/java_integration/fixtures/types/DateLike.java
[exec] Note: Some input files use unchecked or unsafe operations.
[exec] Note: Recompile with -Xlint:unchecked for details.
[exec] /opt/jruby/bin/jruby -w -I"lib" -Xjit.background=false -Xjit.threshold=0 -X-C -Xaot.loadClasses=true -I. -J-ea --headless -J-cp test:test/target/test-classes:core/target/test-classes -I"/opt/jruby/lib/ruby/gems/shared/gems/rake-12.3.0/lib" "/opt/jruby/lib/ruby/gems/shared/gems/rake-12.3.0/lib/rake/rake_test_loader.rb" "test/jruby/test_globals.rb" "test/jruby/test_addrinfo.rb" "test/jruby/test_argf.rb" "test/jruby/test_array.rb" "test/jruby/test_autoload.rb" "test/jruby/test_backquote.rb" "test/jruby/test_backtraces.rb" "test/jruby/test_big_decimal.rb" "test/jruby/test_binding_eval_yield.rb" "test/jruby/test_caller.rb" "test/jruby/test_case.rb" "test/jruby/test_class.rb" "test/jruby/test_comparable.rb" "test/jruby/test_core_arities.rb" "test/jruby/test_coverage.rb" "test/jruby/test_custom_enumerable.rb" "test/jruby/test_cvars_in_odd_scopes.rb" "test/jruby/test_date.rb" "test/jruby/test_defined.rb" "test/jruby/test_default_constants.rb" "test/jruby/test_delegated_array_equals.rb" "test/jruby/test_dir.rb" "test/jruby/test_dir_with_jar_without_dir_entry.rb" "test/jruby/test_digest_extend.rb" "test/jruby/test_digest2.rb" "test/jruby/test_env.rb" "test/jruby/test_enumerator.rb" "test/jruby/test_etc.rb" "test/jruby/test_exception.rb" "test/jruby/test_file.rb" "test/jruby/test_frame_self.rb" "test/jruby/test_hash.rb" "test/jruby/test_higher_javasupport.rb" "test/jruby/test_ifaddr.rb" "test/jruby/test_include_order.rb" "test/jruby/test_integer_overflows.rb" "test/jruby/test_ivar_table_integrity.rb" "test/jruby/test_io.rb" "test/jruby/test_load.rb" "test/jruby/test_load_gem_extensions.rb" "test/jruby/test_method.rb" "test/jruby/test_method_cache.rb" "test/jruby/test_method_override_and_caching.rb" "test/jruby/test_java_accessible_object.rb" "test/jruby/test_java_extension.rb" "test/jruby/test_java_wrapper_deadlock.rb" "test/jruby/test_jruby_internals.rb" "test/jruby/test_marshal_with_instance_variables.rb" "test/jruby/test_marshal_gemspec.rb" "test/jruby/test_method_missing.rb" "test/jruby/test_name_error.rb" "test/jruby/test_pack.rb" "test/jruby/test_primitive_to_java.rb" "test/jruby/test_process.rb" "test/jruby/test_proc_visibility.rb" "test/jruby/test_parsing.rb" "test/jruby/test_pathname.rb" "test/jruby/test_random.rb" "test/jruby/test_rbconfig.rb" "test/jruby/test_respond_to.rb" "test/jruby/test_set.rb" "test/jruby/test_socket.rb" "test/jruby/test_string_java_bytes.rb" "test/jruby/test_string_printf.rb" "test/jruby/test_super_call_site_caching.rb" "test/jruby/test_symbol.rb" "test/jruby/test_system.rb" "test/jruby/test_timeout.rb" "test/jruby/test_thread.rb" "test/jruby/test_thread_backtrace.rb" "test/jruby/test_threaded_nonlocal_return.rb" "test/jruby/test_time.rb" "test/jruby/test_unmarshal.rb" "test/jruby/test_vietnamese_charset.rb" "test/jruby/test_win32.rb" "test/jruby/test_zlib.rb" "test/jruby/test_kernel.rb" "test/jruby/test_loading_builtin_libraries.rb" "test/jruby/test_null_channel.rb" "test/jruby/test_irubyobject_java_passing.rb" "test/jruby/test_jruby_object_input_stream.rb" "test/jruby/test_jruby_synchronized.rb" "test/jruby/test_jruby_4198.rb" "test/jruby/test_context_classloader.rb" "test/jruby/test_uri_classloader.rb" "test/jruby/test_rexml_document.rb" "test/jruby/test_missing_jruby_home.rb" "test/jruby/test_jarred_gems.rb" "test/jruby/test_dir_with_plusses.rb" "test/jruby/test_jar.rb" "test/jruby/test_require.rb" "test/jruby/test_instantiating_interfaces.rb" "test/jruby/test_openssl.rb" "test/jruby/test_tempfile_cleanup.rb" "test/jruby/test_jruby_core_ext.rb" "test/jruby/test_thread_context_frame_dereferences_unreachable_variables.rb" "test/jruby/test_reified_variables.rb" "test/jruby/compiler/test_jrubyc.rb" "test/jruby/test_load_compiled_ruby.rb" "test/jruby/test_load_compiled_ruby_class_from_classpath.rb"
[exec] /opt/jruby/lib/ruby/gems/shared/gems/power_assert-1.1.1/lib/power_assert.rb:8: warning: tracing (e.g. set_trace_func) will not capture all events without --debug flag
[exec] /opt/jruby/lib/ruby/gems/shared/gems/power_assert-1.1.1/lib/power_assert.rb:8: warning: tracing (e.g. set_trace_func) will not capture all events without --debug flag
[exec] Loaded suite /opt/jruby/lib/ruby/gems/shared/gems/rake-12.3.0/lib/rake/rake_test_loader
[exec] Started
[exec] warning: thread "Ruby-0-Thread-2: /opt/jruby/test/jruby/test_socket.rb:599" terminated with exception (report_on_exception is true):
[exec] IOError: stream closed in another thread
[exec] accept at org/jruby/ext/socket/RubyTCPServer.java:157
[exec] test_server_close_interrupts_pending_accepts at /opt/jruby/test/jruby/test_socket.rb:600
[exec] org.jruby.exceptions.IOError: (IOError) stream closed in another thread
[exec] at org.jruby.ext.socket.RubyTCPServer.accept(org/jruby/ext/socket/RubyTCPServer.java:157)
[exec] at RUBY.test_server_close_interrupts_pending_accepts(/opt/jruby/test/jruby/test_socket.rb:600)
[exec] ..............................................E
[exec] ===============================================================================
[exec] Error: test_udp_socket_bind(SocketTest): RuntimeError: not raised
[exec] /opt/jruby/test/jruby/test_socket.rb:199:in `test_udp_socket_bind'
[exec] 196: rescue Errno::EACCES => e
[exec] 197: # Permission denied - bind(2) for nil port 42
[exec] 198: assert_equal 'Permission denied - bind(2) for nil port 42', e.message
[exec] => 199: else; fail 'not raised'
[exec] 200: end
[exec] 201:
[exec] 202: #begin
[exec] org/jruby/RubyKernel.java:1176:in `catch'
[exec] org/jruby/RubyKernel.java:1176:in `catch'
[exec] ===============================================================================
[exec] /opt/jruby/test/jruby/test_backtraces.rb:22: warning: constant ::NativeException is deprecated
[exec] /opt/jruby/test/jruby/test_backtraces.rb:59: warning: constant ::NativeException is deprecated
[exec] /opt/jruby/test/jruby/test_big_decimal.rb:44: warning: BigDecimal.new is deprecated
[exec] /opt/jruby/test/jruby/test_big_decimal.rb:34: warning: BigDecimal.new is deprecated
[exec] ..................................................
[exec] test_div_mult_precision 0.1e-98 / 0.123e-6 = 0.813008130081300813008130081300813008e-92 ([36, 40])
[exec]
[exec] test_div_mult_precision 0.1e1 / 0.3e1 = 0.333333333333333333e0 ([18, 20])
[exec]
[exec] test_div_mult_precision 0.100000000000000000001e1 * 1/3 = 0.33333333333333333333666666666666666666666666666666666666666666666666666666666666666666666633333333333333333333e0 ([110, 112])
[exec] /opt/jruby/test/jruby/test_big_decimal.rb:311: warning: BigDecimal.new is deprecated
[exec] .............................
[exec] /opt/jruby/test/jruby/test_comparable.rb:102: warning: BigDecimal.new is deprecated
[exec] /opt/jruby/test/jruby/test_comparable.rb:134: warning: BigDecimal.new is deprecated
[exec] /opt/jruby/test/jruby/test_coverage.rb:6: warning: tracing (e.g. set_trace_func) will not capture all events without --debug flag
[exec] null:1: warning: Useless use of + in void context.
[exec] ...............................................................................
[exec] ...............................................................................
[exec] .................F
[exec] ===============================================================================
[exec] Failure: test_mkdir_on_protected_directory_fails(TestDir)
[exec] /opt/jruby/test/jruby/test_dir.rb:526:in `test_mkdir_on_protected_directory_fails'
[exec] 523: def test_mkdir_on_protected_directory_fails
[exec] 524: Dir.mkdir("testDir_5") unless File.exists?("testDir_5")
[exec] 525: File.chmod(0400, 'testDir_5')
[exec] => 526: assert_raises(Errno::EACCES) do
[exec] 527: Dir.mkdir("testDir_5/another_dir")
[exec] 528: end
[exec] 529: end
[exec] org/jruby/RubyKernel.java:1176:in `catch'
[exec] org/jruby/RubyKernel.java:1176:in `catch'
[exec]
[exec] <Errno::EACCES> expected but was
[exec] <Errno::EEXIST(<File exists - testDir_5/another_dir>)>
[exec]
[exec] diff:
[exec] ? Errno::EACCEXIST(<File exists - testDir_5/another_dir>)
[exec] ===============================================================================
[exec] ...............................................................................
[exec] ..........................F
[exec] ===============================================================================
[exec] Failure: test_opening_readonly_file_for_write_raises_eacces(TestFile): <Errno::EACCES> exception was expected but none was thrown.
[exec] /opt/jruby/test/jruby/test_file.rb:1121:in `test_opening_readonly_file_for_write_raises_eacces'
[exec] 1118:
[exec] 1119: begin
[exec] 1120: File.open(filename, "w+", 0444) { }
[exec] => 1121: assert_raise(Errno::EACCES) { File.open(filename, "w") { } }
[exec] 1122: ensure
[exec] 1123: File.delete(filename)
[exec] 1124: end
[exec] org/jruby/RubyKernel.java:1176:in `catch'
[exec] org/jruby/RubyKernel.java:1176:in `catch'
[exec] ===============================================================================
[exec] .............F
[exec] ===============================================================================
[exec] Failure: test_write_open_permission_denied(TestFile): <Errno::EACCES> exception was expected but none was thrown.
[exec] /opt/jruby/test/jruby/test_file.rb:1247:in `test_write_open_permission_denied'
[exec] 1244: File.open(t.path, 'w') {}
[exec] 1245: File.chmod(0555, t.path)
[exec] 1246: # jruby 1.4 raises ENOENT here
[exec] => 1247: assert_raises(Errno::EACCES) do
[exec] 1248: File.open(t.path, 'w') {}
[exec] 1249: end
[exec] 1250: # jruby 1.4 raises ENOENT here
[exec] org/jruby/RubyKernel.java:1176:in `catch'
[exec] org/jruby/RubyKernel.java:1176:in `catch'
[exec] ===============================================================================
[exec] ......................................................................P
[exec] ===============================================================================
[exec] Pending: test_java_constructor_with_prefered_match(TestHigherJavasupport): [ji] did not select (float,float,float) ctor
[exec] /opt/jruby/test/jruby/test_higher_javasupport.rb:1912:in `test_java_constructor_with_prefered_match'
[exec] 1909: # warning: ambiguous Java methods found, using java.awt.Color(int,int,int)
[exec] 1910: # TODO should not warn
[exec] 1911: #assert ! output.index('ambiguous'), output
[exec] => 1912: pend('[ji] did not select (float,float,float) ctor') if color.getRed != 255
[exec] 1913: assert_equal 255, color.getRed # assert we called (float,float,float)
[exec] 1914: end
[exec] 1915:
[exec] org/jruby/RubyKernel.java:1176:in `catch'
[exec] org/jruby/RubyKernel.java:1176:in `catch'
[exec] ===============================================================================
[exec] ...............................................................................
[exec] /opt/jruby/test/jruby/test_jruby_core_ext.rb:31: warning: klass.subclasses is deprecated, use JRuby.subclasses(klass) instead
[exec] /opt/jruby/test/jruby/test_jruby_core_ext.rb:50: warning: klass.subclasses is deprecated, use JRuby.subclasses(klass) instead
[exec] /opt/jruby/test/jruby/test_jruby_core_ext.rb:53: warning: klass.subclasses is deprecated, use JRuby.subclasses(klass) instead
[exec] /opt/jruby/test/jruby/test_jruby_core_ext.rb:55: warning: klass.subclasses is deprecated, use JRuby.subclasses(klass) instead
[exec] /opt/jruby/test/jruby/test_jruby_core_ext.rb:59: warning: klass.subclasses is deprecated, use JRuby.subclasses(klass) instead
[exec] /opt/jruby/test/jruby/test_jruby_core_ext.rb:60: warning: klass.subclasses is deprecated, use JRuby.subclasses(klass) instead
[exec] /opt/jruby/test/jruby/test_jruby_core_ext.rb:61: warning: klass.subclasses is deprecated, use JRuby.subclasses(klass) instead
[exec] /opt/jruby/test/jruby/test_jruby_core_ext.rb:63: warning: klass.subclasses is deprecated, use JRuby.subclasses(klass) instead
[exec] /opt/jruby/test/jruby/test_jruby_core_ext.rb:64: warning: klass.subclasses is deprecated, use JRuby.subclasses(klass) instead
[exec] /opt/jruby/test/jruby/test_java_extension.rb:126: warning: constant ::NativeException is deprecated
[exec] ...............................................................................
[exec] ...............................................................................
[exec] /opt/jruby/lib/ruby/stdlib/json/version.rb:4: warning: already initialized constant VERSION
[exec] /opt/jruby/lib/ruby/stdlib/json/version.rb:5: warning: already initialized constant VERSION_ARRAY
[exec] /opt/jruby/lib/ruby/stdlib/json/version.rb:6: warning: already initialized constant VERSION_MAJOR
[exec] /opt/jruby/lib/ruby/stdlib/json/version.rb:7: warning: already initialized constant VERSION_MINOR
[exec] /opt/jruby/lib/ruby/stdlib/json/version.rb:8: warning: already initialized constant VERSION_BUILD
[exec] /opt/jruby/lib/ruby/stdlib/json/common.rb:100: warning: already initialized constant NaN
[exec] /opt/jruby/lib/ruby/stdlib/json/common.rb:102: warning: already initialized constant Infinity
[exec] /opt/jruby/lib/ruby/stdlib/json/common.rb:104: warning: already initialized constant MinusInfinity
[exec] /opt/jruby/lib/ruby/stdlib/json/common.rb:129: warning: already initialized constant UnparserError
[exec] /opt/jruby/lib/ruby/stdlib/rubygems/specification.rb:1408: warning: instance variable @metadata not initialized
[exec] X509::Request#version= has no effect on certification request
[exec] ...............................................................................
[exec] null:4: warning: Useless use of + in void context.
[exec] /opt/jruby/lib/ruby/stdlib/rubygems/core_ext/kernel_require.rb:59: warning: loading in progress, circular require considered harmful - /opt/jruby/test/jruby/test_require_once_jruby_3234/all.rb require at org/jruby/RubyKernel.java:976
[exec] require at /opt/jruby/lib/ruby/stdlib/rubygems/core_ext/kernel_require.rb:59
[exec] <main> at /opt/jruby/test/jruby/test_require_once_jruby_3234/all.rb:1
[exec] each at org/jruby/RubyArray.java:1789
[exec] <main> at /opt/jruby/test/jruby/test_require_once_jruby_3234/all.rb:1
[exec] require at org/jruby/RubyKernel.java:976
[exec] (root) at /opt/jruby/lib/ruby/stdlib/rubygems/core_ext/kernel_require.rb:1
[exec] require at /opt/jruby/lib/ruby/stdlib/rubygems/core_ext/kernel_require.rb:59
[exec] each at org/jruby/RubyArray.java:1789
[exec] <main> at /opt/jruby/test/jruby/test_require_once_jruby_3234/all.rb:1
[exec] load at org/jruby/RubyKernel.java:1000
[exec] <main> at /opt/jruby/test/jruby/test_require_once_jruby_3234/all.rb:1
[exec] (root) at /opt/jruby/test/jruby/test_require.rb:1
[exec] test_feature_has_full_name at /opt/jruby/test/jruby/test_require.rb:24
[exec] run_test at /opt/jruby/lib/ruby/gems/shared/gems/test-unit-3.2.7/lib/test/unit/testcase.rb:793
[exec] run at /opt/jruby/lib/ruby/gems/shared/gems/test-unit-3.2.7/lib/test/unit/testcase.rb:499
[exec] create_fixtures_runner at /opt/jruby/lib/ruby/gems/shared/gems/test-unit-3.2.7/lib/test/unit/fixture.rb:270
[exec] create_fixtures_runner at /opt/jruby/lib/ruby/gems/shared/gems/test-unit-3.2.7/lib/test/unit/fixture.rb:270
[exec] run_fixture at /opt/jruby/lib/ruby/gems/shared/gems/test-unit-3.2.7/lib/test/unit/fixture.rb:251
[exec] catch at org/jruby/RubyKernel.java:1176
[exec] run_setup at /opt/jruby/lib/ruby/gems/shared/gems/test-unit-3.2.7/lib/test/unit/fixture.rb:286
[exec] run at /opt/jruby/lib/ruby/gems/shared/gems/test-unit-3.2.7/lib/test/unit/testcase.rb:497
[exec] run at /opt/jruby/lib/ruby/gems/shared/gems/test-unit-3.2.7/lib/test/unit/testcase.rb:496
[exec] run_test at /opt/jruby/lib/ruby/gems/shared/gems/test-unit-3.2.7/lib/test/unit/testsuite.rb:124
[exec] run at /opt/jruby/lib/ruby/gems/shared/gems/test-unit-3.2.7/lib/test/unit/testsuite.rb:53
[exec] run_test at /opt/jruby/lib/ruby/gems/shared/gems/test-unit-3.2.7/lib/test/unit/testsuite.rb:124
[exec] run at /opt/jruby/lib/ruby/gems/shared/gems/test-unit-3.2.7/lib/test/unit/testsuite.rb:53
[exec] run_suite at /opt/jruby/lib/ruby/gems/shared/gems/test-unit-3.2.7/lib/test/unit/ui/testrunnermediator.rb:67
[exec] run at /opt/jruby/lib/ruby/gems/shared/gems/test-unit-3.2.7/lib/test/unit/ui/testrunnermediator.rb:45
[exec] catch at org/jruby/RubyKernel.java:1176
[exec] with_listener at /opt/jruby/lib/ruby/gems/shared/gems/test-unit-3.2.7/lib/test/unit/ui/testrunnermediator.rb:102
[exec] run at /opt/jruby/lib/ruby/gems/shared/gems/test-unit-3.2.7/lib/test/unit/ui/testrunnermediator.rb:41
[exec] run at /opt/jruby/lib/ruby/gems/shared/gems/test-unit-3.2.7/lib/test/unit/ui/testrunnermediator.rb:39
[exec] start_mediator at /opt/jruby/lib/ruby/gems/shared/gems/test-unit-3.2.7/lib/test/unit/ui/testrunner.rb:40
[exec] start at /opt/jruby/lib/ruby/gems/shared/gems/test-unit-3.2.7/lib/test/unit/ui/testrunner.rb:25
[exec] run at /opt/jruby/lib/ruby/gems/shared/gems/test-unit-3.2.7/lib/test/unit/ui/testrunnerutilities.rb:24
[exec] run at /opt/jruby/lib/ruby/gems/shared/gems/test-unit-3.2.7/lib/test/unit/autorunner.rb:435
[exec] change_work_directory at /opt/jruby/lib/ruby/gems/shared/gems/test-unit-3.2.7/lib/test/unit/autorunner.rb:491
[exec] run at /opt/jruby/lib/ruby/gems/shared/gems/test-unit-3.2.7/lib/test/unit/autorunner.rb:434
[exec]
[exec] ............................................................"java version \"1.8.0_181\"\nJava(TM) SE Runtime Environment (build 1.8.0_181-b13)\nJava HotSpot(TM) 64-Bit Server VM (build 25.181-b13, mixed mode)\n"
[exec] warning: thread "Ruby-0-Thread-832: /opt/jruby/test/jruby/test_thread.rb:79" terminated with exception (report_on_exception is true):
[exec] RuntimeError: hello
[exec] thread_foo at /opt/jruby/test/jruby/test_thread.rb:75
[exec] test_error_handling at /opt/jruby/test/jruby/test_thread.rb:80
[exec] org.jruby.exceptions.RuntimeError: (RuntimeError) hello
[exec] at RUBY.thread_foo(/opt/jruby/test/jruby/test_thread.rb:75)
[exec] at RUBY.test_error_handling(/opt/jruby/test/jruby/test_thread.rb:80)
[exec] warning: thread "Ruby-0-Thread-1960: /opt/jruby/test/jruby/test_thread.rb:104" terminated with exception (report_on_exception is true):
[exec] RuntimeError: Die
[exec] test_raise at /opt/jruby/test/jruby/test_thread.rb:105
[exec] org.jruby.exceptions.RuntimeError: (RuntimeError) Die
[exec] at RUBY.test_raise(/opt/jruby/test/jruby/test_thread.rb:105)
[exec] warning: thread "Ruby-0-Thread-1961: /opt/jruby/test/jruby/test_thread.rb:121" terminated with exception (report_on_exception is true):
[exec] RuntimeError: Die
[exec] sleep at org/jruby/RubyKernel.java:690
[exec] test_raise at /opt/jruby/test/jruby/test_thread.rb:121
[exec] org.jruby.exceptions.RuntimeError: (RuntimeError) Die
[exec] at org.jruby.RubyKernel.sleep(org/jruby/RubyKernel.java:690)
[exec] at RUBY.test_raise(/opt/jruby/test/jruby/test_thread.rb:121)
[exec] warning: thread "Ruby-0-Thread-1964: /opt/jruby/test/jruby/test_thread.rb:210" terminated with exception (report_on_exception is true):
[exec] Exception: Exception
[exec] accept at org/jruby/ext/socket/RubyTCPServer.java:157
[exec] test_socket_accept_can_be_interrupted at /opt/jruby/test/jruby/test_thread.rb:211
[exec] org.jruby.exceptions.Exception: (Exception) Exception
[exec] at org.jruby.ext.socket.RubyTCPServer.accept(org/jruby/ext/socket/RubyTCPServer.java:157)
[exec] at RUBY.test_socket_accept_can_be_interrupted(/opt/jruby/test/jruby/test_thread.rb:211)
[exec] ...................
[exec] warning: thread "Ruby-0-Thread-2076: /opt/jruby/test/jruby/test_thread.rb:135" terminated with exception (report_on_exception is true):
[exec] RuntimeError: foo
[exec] test_thread_value at /opt/jruby/test/jruby/test_thread.rb:135
[exec] org.jruby.exceptions.RuntimeError: (RuntimeError) foo
[exec] at RUBY.test_thread_value(/opt/jruby/test/jruby/test_thread.rb:135)
[exec] .......... /opt/jruby/test/jruby/test_thread_backtrace.rb:8:in `block in test_simple_backtrace'
[exec] .....................................................................
[exec] ........................................................
[exec] Finished in 99.206497 seconds.
[exec] -------------------------------------------------------------------------------
[exec] 1023 tests, 63157 assertions, 3 failures, 1 errors, 1 pendings, 0 omissions, 0 notifications
[exec] 99.5112% passed
[exec] -------------------------------------------------------------------------------
[exec] 10.31 tests/s, 636.62 assertions/s
[exec] rake aborted!
[exec] Command failed with status (1): [ruby -w -I"lib" -Xjit.background=false -Xjit.threshold=0 -X-C -Xaot.loadClasses=true -I. -J-ea --headless -J-cp test:test/target/test-classes:core/target/test-classes -I"/opt/jruby/lib/ruby/gems/shared/gems/rake-12.3.0/lib" "/opt/jruby/lib/ruby/gems/shared/gems/rake-12.3.0/lib/rake/rake_test_loader.rb" "test/jruby/test_globals.rb" "test/jruby/test_addrinfo.rb" "test/jruby/test_argf.rb" "test/jruby/test_array.rb" "test/jruby/test_autoload.rb" "test/jruby/test_backquote.rb" "test/jruby/test_backtraces.rb" "test/jruby/test_big_decimal.rb" "test/jruby/test_binding_eval_yield.rb" "test/jruby/test_caller.rb" "test/jruby/test_case.rb" "test/jruby/test_class.rb" "test/jruby/test_comparable.rb" "test/jruby/test_core_arities.rb" "test/jruby/test_coverage.rb" "test/jruby/test_custom_enumerable.rb" "test/jruby/test_cvars_in_odd_scopes.rb" "test/jruby/test_date.rb" "test/jruby/test_defined.rb" "test/jruby/test_default_constants.rb" "test/jruby/test_delegated_array_equals.rb" "test/jruby/test_dir.rb" "test/jruby/test_dir_with_jar_without_dir_entry.rb" "test/jruby/test_digest_extend.rb" "test/jruby/test_digest2.rb" "test/jruby/test_env.rb" "test/jruby/test_enumerator.rb" "test/jruby/test_etc.rb" "test/jruby/test_exception.rb" "test/jruby/test_file.rb" "test/jruby/test_frame_self.rb" "test/jruby/test_hash.rb" "test/jruby/test_higher_javasupport.rb" "test/jruby/test_ifaddr.rb" "test/jruby/test_include_order.rb" "test/jruby/test_integer_overflows.rb" "test/jruby/test_ivar_table_integrity.rb" "test/jruby/test_io.rb" "test/jruby/test_load.rb" "test/jruby/test_load_gem_extensions.rb" "test/jruby/test_method.rb" "test/jruby/test_method_cache.rb" "test/jruby/test_method_override_and_caching.rb" "test/jruby/test_java_accessible_object.rb" "test/jruby/test_java_extension.rb" "test/jruby/test_java_wrapper_deadlock.rb" "test/jruby/test_jruby_internals.rb" "test/jruby/test_marshal_with_instance_variables.rb" "test/jruby/test_marshal_gemspec.rb" "test/jruby/test_method_missing.rb" "test/jruby/test_name_error.rb" "test/jruby/test_pack.rb" "test/jruby/test_primitive_to_java.rb" "test/jruby/test_process.rb" "test/jruby/test_proc_visibility.rb" "test/jruby/test_parsing.rb" "test/jruby/test_pathname.rb" "test/jruby/test_random.rb" "test/jruby/test_rbconfig.rb" "test/jruby/test_respond_to.rb" "test/jruby/test_set.rb" "test/jruby/test_socket.rb" "test/jruby/test_string_java_bytes.rb" "test/jruby/test_string_printf.rb" "test/jruby/test_super_call_site_caching.rb" "test/jruby/test_symbol.rb" "test/jruby/test_system.rb" "test/jruby/test_timeout.rb" "test/jruby/test_thread.rb" "test/jruby/test_thread_backtrace.rb" "test/jruby/test_threaded_nonlocal_return.rb" "test/jruby/test_time.rb" "test/jruby/test_unmarshal.rb" "test/jruby/test_vietnamese_charset.rb" "test/jruby/test_win32.rb" "test/jruby/test_zlib.rb" "test/jruby/test_kernel.rb" "test/jruby/test_loading_builtin_libraries.rb" "test/jruby/test_null_channel.rb" "test/jruby/test_irubyobject_java_passing.rb" "test/jruby/test_jruby_object_input_stream.rb" "test/jruby/test_jruby_synchronized.rb" "test/jruby/test_jruby_4198.rb" "test/jruby/test_context_classloader.rb" "test/jruby/test_uri_classloader.rb" "test/jruby/test_rexml_document.rb" "test/jruby/test_missing_jruby_home.rb" "test/jruby/test_jarred_gems.rb" "test/jruby/test_dir_with_plusses.rb" "test/jruby/test_jar.rb" "test/jruby/test_require.rb" "test/jruby/test_instantiating_interfaces.rb" "test/jruby/test_openssl.rb" "test/jruby/test_tempfile_cleanup.rb" "test/jruby/test_jruby_core_ext.rb" "test/jruby/test_thread_context_frame_dereferences_unreachable_variables.rb" "test/jruby/test_reified_variables.rb" "test/jruby/compiler/test_jrubyc.rb" "test/jruby/test_load_compiled_ruby.rb" "test/jruby/test_load_compiled_ruby_class_from_classpath.rb" ]
[exec]
[exec] Tasks: TOP => test:jruby:fullint
[exec] (See full trace by running task with --trace)
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] JRuby 9.2.1.0-SNAPSHOT ............................. SUCCESS [ 0.241 s]
[INFO] JRuby Core ......................................... SUCCESS [ 9.448 s]
[INFO] JRuby Lib Setup .................................... SUCCESS [ 2.598 s]
[INFO] JRuby Integration Tests 9.2.1.0-SNAPSHOT ........... FAILURE [01:54 min]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 02:11 min
[INFO] Finished at: 2018-10-17T19:20:50+02:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-antrun-plugin:1.8:run (rake) on project jruby-tests: An Ant BuildException has occured: exec returned: 1
[ERROR] around Ant part ...<exec failonerror="true" dir="/opt/jruby/test/.." executable="/opt/jruby/test/../bin/jruby">... @ 4:95 in /opt/jruby/test/target/antrun/build-main.xml
[ERROR] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR] mvn <goals> -rf :jruby-tests
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment