Hi,
I am a newbie, when trying to run the jruby test suite using “ant test”
,
<target name="test" depends="
copy-test-files,
install-gems,
run-junit-interpreted-short,
test-rake-targets"
description="Runs unit tests.">
</target>
I see below errors for the task “test-rake-targets”, Can you please
help ?
[java] Loaded suite
/home/suraj/jruby_src/jruby-1.7.4/lib/ruby/gems/shared/gems/rake-10.0.3/lib/rake/rake_test_loader
[java] Started
[java] Oct 03, 2013 9:11:01 AM jnr.netdb.NativeServicesDB load
[java] WARNING: Failed to load native services db
[java] java.lang.UnsatisfiedLinkError: /lib/libc.so.6: wrong ELF
class: ELFCLASS32
[java] at
jnr.ffi.provider.jffi.NativeLibrary.loadNativeLibraries(NativeLibrary.java:87)
[java] at
jnr.ffi.provider.jffi.NativeLibrary.getNativeLibraries(NativeLibrary.java:70)
[java] at
jnr.ffi.provider.jffi.NativeLibrary.getSymbolAddress(NativeLibrary.java:49)
[java] at
jnr.ffi.provider.jffi.NativeLibrary.findSymbolAddress(NativeLibrary.java:59)
[java] at
jnr.ffi.provider.jffi.AsmLibraryLoader.generateInterfaceImpl(AsmLibraryLoader.java:125)
[java] at
jnr.ffi.provider.jffi.AsmLibraryLoader.loadLibrary(AsmLibraryLoader.java:63)
[java] at
jnr.ffi.provider.jffi.NativeLibraryLoader.loadLibrary(NativeLibraryLoader.java:43)
[java] at jnr.ffi.LibraryLoader.load(LibraryLoader.java:228)
[java] at jnr.ffi.Library.loadLibrary(Library.java:123)
[java] at jnr.ffi.Library.loadLibrary(Library.java:80)
[java] at
jnr.netdb.NativeServicesDB.load(NativeServicesDB.java:81)
[java] at
jnr.netdb.Service$ServicesDBSingletonHolder.load(Service.java:122)
[java] at
jnr.netdb.Service$ServicesDBSingletonHolder.(Service.java:118)
[java] at jnr.netdb.Service.getServicesDB(Service.java:111)
[java] at jnr.netdb.Service.getServiceByName(Service.java:54)
[java] at
org.jruby.ext.socket.SocketUtils.getservbyname(SocketUtils.java:106)
[java] at
org.jruby.ext.socket.RubySocket.getservbyname(RubySocket.java:261)
[java] at
org.jruby.ext.socket.RubySocket$INVOKER$s$0$1$getservbyname.call(RubySocket$INVOKER$s$0$1$getservbyname.gen)
[java] at
org.jruby.internal.runtime.methods.JavaMethod$JavaMethodN.call(JavaMethod.java:662)
[java] at
org.jruby.internal.runtime.methods.DynamicMethod.call(DynamicMethod.java:205)
[java] at
org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:326)
[java] at
org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:170)
[java] at
org.jruby.ast.CallOneArgNode.interpret(CallOneArgNode.java:57)
[java] at
org.jruby.ast.FCallTwoArgNode.interpret(FCallTwoArgNode.java:38)
[java] at
org.jruby.ast.NewlineNode.interpret(NewlineNode.java:105)
.
.
.
.
.
.
.
.
.
[java] at org.jruby.Ruby.tearDown(Ruby.java:2957)
[java] at org.jruby.Main.internalRun(Main.java:282)
[java] at org.jruby.Main.run(Main.java:221)
[java] at org.jruby.Main.main(Main.java:201)
[java]
[java]
…EE…E.E…E…EEE…E…1
[java] 2
[java]
[java] rake aborted!
[java] 1
[java] org/jruby/RubyProc.java:255:in call' [java] org/jruby/RubyProc.java:255:in
call’
[java] org/jruby/RubyArray.java:1617:in each' [java] org/jruby/RubyArray.java:1617:in
each’
[java] org/jruby/RubyArray.java:1617:in each' [java] org/jruby/RubyArray.java:1617:in
each’
[java] org/jruby/RubyKernel.java:1073:in `load’
[java] Tasks: TOP => test:rake_targets => test:jruby =>
test:jruby:int
[java] (See full trace by running task with --trace)
[java]
…