Skip to content

Instantly share code, notes, and snippets.

@stuarthalloway
Created December 18, 2011 12:24
Show Gist options
  • Save stuarthalloway/1493247 to your computer and use it in GitHub Desktop.
Save stuarthalloway/1493247 to your computer and use it in GitHub Desktop.
Ant test failure on clean build of JRuby?
ant test
Buildfile: /Users/stu/tmp/jruby/build.xml
init:
prepare-bin-jruby:
jar:
init:
create-dirs:
copy-resources:
update-constants:
[echo] Updating Constants.java
[echo] ...using git revision = 24031a9, tzdata = 2010k
[copy] Copying 1 file to /Users/stu/tmp/jruby/src_gen/org/jruby/runtime
[copy] Copying 1 file to /Users/stu/tmp/jruby/src_gen/org/jruby/runtime
_uc_internal_:
[copy] Copying 1 file to /Users/stu/tmp/jruby/src_gen/org/jruby/runtime
[javac] Compiling 1 source file to /Users/stu/tmp/jruby/build/classes/jruby
prepare:
compile-annotation-binder:
compile-jruby:
[apt] Since compiler setting isn't classic or modern, ignoring fork setting.
[apt] Since compiler setting isn't classic or modern, ignoring fork setting.
emma:
instrument:
generate-method-classes:
_gmc_internal_:
generate-unsafe:
_gu_internal_:
compile:
unzip-native-libs:
jar-jruby:
[jar] Updating jar: /Users/stu/tmp/jruby/lib/jruby.jar
[jar] Warning: selected jar files include a META-INF/INDEX.LIST which will be replaced by a newly generated one.
add-emma-jars:
compile-test:
[javac] Compiling 2 source files to /Users/stu/tmp/jruby/build/classes/test
copy-test-files:
install-dev-gems:
install-jruby-launcher-gem:
install-gems:
run-junit-interpreted-short:
[echo] compile=OFF, jit.threshold=20, jit.maxsize=1000000000, jit.max=-1, objectspace=false threadpool=false reflection=false version=ruby1_8
[junit] Error occurred during initialization of VM
[junit] Incompatible minimum and maximum heap sizes specified
[junit] Testsuite: org.jruby.test.Batch-With-Multiple-Tests
[junit] Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 0 sec
[junit]
[junit] Testcase: org.jruby.test.Batch-With-Multiple-Tests:null: Caused an ERROR
[junit] Forked Java VM exited abnormally. Please note the time in the report does not reflect the time until the VM exit.
[junit] junit.framework.AssertionFailedError: Forked Java VM exited abnormally. Please note the time in the report does not reflect the time until the VM exit.
[junit]
[junit]
BUILD FAILED
/Users/stu/tmp/jruby/build.xml:899: The following error occurred while executing this line:
/Users/stu/tmp/jruby/build.xml:1020: The following error occurred while executing this line:
/Users/stu/tmp/jruby/build.xml:964: Tests failed (crashed)
Total time: 17 seconds
erasmus:jruby stu$ cd ..
erasmus:tmp stu$ mv jruby jruby2
erasmus:tmp stu$ git clone git://github.com/jruby/jruby.git
Cloning into jruby...
remote: Counting objects: 177154, done.
remote: Compressing objects: 100% (42313/42313), done.
remote: Total 177154 (delta 124344), reused 175509 (delta 122871)
Receiving objects: 100% (177154/177154), 79.38 MiB | 2.59 MiB/s, done.
Resolving deltas: 100% (124344/124344), done.
erasmus:tmp stu$ cd jruby
erasmus:jruby stu$ ant test
Buildfile: /Users/stu/tmp/jruby/build.xml
init:
prepare-bin-jruby:
jar:
init:
create-dirs:
[mkdir] Created dir: /Users/stu/tmp/jruby/build
[mkdir] Created dir: /Users/stu/tmp/jruby/build/classes
[mkdir] Created dir: /Users/stu/tmp/jruby/build/classes/jruby
[mkdir] Created dir: /Users/stu/tmp/jruby/build/classes/test
[mkdir] Created dir: /Users/stu/tmp/jruby/build/test-results
[mkdir] Created dir: /Users/stu/tmp/jruby/build/test-results/html
[mkdir] Created dir: /Users/stu/tmp/jruby/docs/api
copy-resources:
[copy] Copying 34 files to /Users/stu/tmp/jruby/build/classes/jruby
update-constants:
[echo] Updating Constants.java
[echo] ...using git revision = 684fa5b, tzdata = 2010k
[copy] Warning: Could not find file /Users/stu/tmp/jruby/src_gen/org/jruby/runtime/Constants.java to copy.
[copy] Copying 1 file to /Users/stu/tmp/jruby/src_gen/org/jruby/runtime
_uc_internal_:
[copy] Copying 1 file to /Users/stu/tmp/jruby/src_gen/org/jruby/runtime
[javac] Compiling 1 source file to /Users/stu/tmp/jruby/build/classes/jruby
prepare:
compile-annotation-binder:
[javac] Compiling 18 source files to /Users/stu/tmp/jruby/build/classes/jruby
compile-jruby:
[apt] Since compiler setting isn't classic or modern, ignoring fork setting.
[apt] Since compiler setting isn't classic or modern, ignoring fork setting.
[apt] Compiling 1193 source files to /Users/stu/tmp/jruby/build/classes/jruby
[apt] Since compiler setting isn't classic or modern, ignoring fork setting.
[apt] warning: Annotation types without processors: [java.lang.SuppressWarnings, java.lang.Override, java.lang.Deprecated, org.jruby.anno.JRubyModule, java.lang.annotation.Retention, java.lang.annotation.Target, org.jruby.compiler.ir.Interp, org.jruby.anno.JRubyConstant, jnr.ffi.annotations.In, jnr.ffi.annotations.Transient, jnr.ffi.annotations.Out]
[apt] 1 warning
[apt] /Users/stu/tmp/jruby/src/org/jruby/ext/tempfile/Tempfile.java:41: warning: [deprecation] org.jruby.RubyTempfile in org.jruby has been deprecated
[apt] import org.jruby.RubyTempfile;
[apt] ^
[apt] /Users/stu/tmp/jruby/src/org/jruby/ext/tempfile/Tempfile.java:62: warning: [deprecation] org.jruby.RubyTempfile in org.jruby has been deprecated
[apt] public class Tempfile extends RubyTempfile {
[apt] ^
[apt] /Users/stu/tmp/jruby/src/org/jruby/RubyString.java:889: warning: [deprecation] replace(byte[]) in org.jruby.util.ByteList has been deprecated
[apt] value.replace(bytes);
[apt] ^
[apt] /Users/stu/tmp/jruby/src/org/jruby/util/io/SelectBlob.java:164: warning: [deprecation] writeDataBuffered() in org.jruby.RubyIO has been deprecated
[apt] if (ioObj.writeDataBuffered()) {
[apt] ^
[apt] Note: Some input files use unchecked or unsafe operations.
[apt] Note: Recompile with -Xlint:unchecked for details.
[apt] 4 warnings
emma:
instrument:
generate-method-classes:
_gmc_internal_:
[echo] Generating invokers...
[echo] Compiling populators...
[javac] Compiling 193 source files to /Users/stu/tmp/jruby/build/classes/jruby
[delete] Deleting: /Users/stu/tmp/jruby/src_gen/annotated_classes.txt
generate-unsafe:
_gu_internal_:
[echo] Generating Unsafe impl...
compile:
unzip-native-libs:
[unzip] Expanding: /Users/stu/tmp/jruby/build_lib/jffi-Darwin.jar into /Users/stu/tmp/jruby/lib/native
[unzip] Expanding: /Users/stu/tmp/jruby/build_lib/jffi-i386-FreeBSD.jar into /Users/stu/tmp/jruby/lib/native
[unzip] Expanding: /Users/stu/tmp/jruby/build_lib/jffi-i386-Linux.jar into /Users/stu/tmp/jruby/lib/native
[unzip] Expanding: /Users/stu/tmp/jruby/build_lib/jffi-i386-OpenBSD.jar into /Users/stu/tmp/jruby/lib/native
[unzip] Expanding: /Users/stu/tmp/jruby/build_lib/jffi-i386-SunOS.jar into /Users/stu/tmp/jruby/lib/native
[unzip] Expanding: /Users/stu/tmp/jruby/build_lib/jffi-i386-Windows.jar into /Users/stu/tmp/jruby/lib/native
[unzip] Expanding: /Users/stu/tmp/jruby/build_lib/jffi-ppc-AIX.jar into /Users/stu/tmp/jruby/lib/native
[unzip] Expanding: /Users/stu/tmp/jruby/build_lib/jffi-ppc-Linux.jar into /Users/stu/tmp/jruby/lib/native
[unzip] Expanding: /Users/stu/tmp/jruby/build_lib/jffi-ppc64-Linux.jar into /Users/stu/tmp/jruby/lib/native
[unzip] Expanding: /Users/stu/tmp/jruby/build_lib/jffi-s390x-Linux.jar into /Users/stu/tmp/jruby/lib/native
[unzip] Expanding: /Users/stu/tmp/jruby/build_lib/jffi-sparc-SunOS.jar into /Users/stu/tmp/jruby/lib/native
[unzip] Expanding: /Users/stu/tmp/jruby/build_lib/jffi-sparcv9-SunOS.jar into /Users/stu/tmp/jruby/lib/native
[unzip] Expanding: /Users/stu/tmp/jruby/build_lib/jffi-x86_64-FreeBSD.jar into /Users/stu/tmp/jruby/lib/native
[unzip] Expanding: /Users/stu/tmp/jruby/build_lib/jffi-x86_64-Linux.jar into /Users/stu/tmp/jruby/lib/native
[unzip] Expanding: /Users/stu/tmp/jruby/build_lib/jffi-x86_64-OpenBSD.jar into /Users/stu/tmp/jruby/lib/native
[unzip] Expanding: /Users/stu/tmp/jruby/build_lib/jffi-x86_64-SunOS.jar into /Users/stu/tmp/jruby/lib/native
[unzip] Expanding: /Users/stu/tmp/jruby/build_lib/jffi-x86_64-Windows.jar into /Users/stu/tmp/jruby/lib/native
jar-jruby:
[jar] Building jar: /Users/stu/tmp/jruby/lib/jruby.jar
add-emma-jars:
compile-test:
[javac] Compiling 169 source files to /Users/stu/tmp/jruby/build/classes/test
[javac] Note: Some input files use unchecked or unsafe operations.
[javac] Note: Recompile with -Xlint:unchecked for details.
copy-test-files:
[copy] Copying 18 files to /Users/stu/tmp/jruby/build/classes/test
install-dev-gems:
[java] Gem.ruby /Users/stu/tmp/jruby/bin/jruby
[java] Gem.bindir lib/ruby/gems/1.8/bin
[java] ERROR: While executing gem ... (Gem::InstallError)
[java] gem "rake" is not installed
[java] Java Result: 1
[java] Successfully installed rake-0.9.2.2
[java] Successfully installed rspec-core-2.7.0
[java] Successfully installed diff-lcs-1.1.3
[java] Successfully installed rspec-expectations-2.7.0
[java] Successfully installed rspec-mocks-2.7.0
[java] Successfully installed rspec-2.7.0
[java] Depending on your version of ruby, you may need to install ruby rdoc/ri data:
[java]
[java] <= 1.8.6 : unsupported
[java] = 1.8.7 : gem install rdoc-data; rdoc-data --install
[java] = 1.9.1 : gem install rdoc-data; rdoc-data --install
[java] >= 1.9.2 : nothing to do! Yay!
[java] Successfully installed json-1.6.3-java
[java] Successfully installed rdoc-3.12
[java] 8 gems installed
install-jruby-launcher-gem:
[java] ERROR: While executing gem ... (Gem::InstallError)
[java] gem "jruby-launcher" is not installed
[java] Java Result: 1
[java] Building native extensions. This could take a while...
[java] Successfully installed jruby-launcher-1.0.9-java
[java] 1 gem installed
install-gems:
run-junit-interpreted-short:
[echo] compile=OFF, jit.threshold=20, jit.maxsize=1000000000, jit.max=-1, objectspace=false threadpool=false reflection=false version=ruby1_8
[junit] Error occurred during initialization of VM
[junit] Incompatible minimum and maximum heap sizes specified
[junit] Testsuite: org.jruby.test.Batch-With-Multiple-Tests
[junit] Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 0 sec
[junit]
[junit] Testcase: org.jruby.test.Batch-With-Multiple-Tests:null: Caused an ERROR
[junit] Forked Java VM exited abnormally. Please note the time in the report does not reflect the time until the VM exit.
[junit] junit.framework.AssertionFailedError: Forked Java VM exited abnormally. Please note the time in the report does not reflect the time until the VM exit.
[junit]
[junit]
BUILD FAILED
/Users/stu/tmp/jruby/build.xml:901: The following error occurred while executing this line:
/Users/stu/tmp/jruby/build.xml:1022: The following error occurred while executing this line:
/Users/stu/tmp/jruby/build.xml:966: Tests failed (crashed)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment