Login  Register

ant junit.run error

Posted by Junyeong on Jun 28, 2010; 7:46am
URL: https://forum.jogamp.org/ant-junit-run-error-tp927251.html

Hi :)

$ ant junit.run

puts lots of error message as shown below.

Thanks

Buildfile: /home/rhdxmr/java/jogl/jogamp/jogl/make/build.xml

junit.run:

gluegen.properties.load.user:
     [echo] Loaded /home/rhdxmr/gluegen.properties.
     [echo] antlr.jar=../../gluegen/make/lib/antlr.jar
     [echo] junit.jar=../../gluegen/make/lib/junit.jar
     [echo] win32.c.compiler=${win32.c.compiler}

gluegen.cpptasks.initialize:

gluegen.cpptasks.detect.os.1:
     [echo] FreeBSD=${isFreeBSD}
     [echo] HPUX=${isHPUX}
     [echo] IA64=${isIA64}
     [echo] Linux=true
     [echo] LinuxAMD64=${isLinuxAMD64}
     [echo] LinuxIA64=${isLinuxIA64}
     [echo] LinuxX86=true
     [echo] OS X=${isOSX}
     [echo] OS X PPC=${use.macosppc}
     [echo] OS X x32=true
     [echo] OS X x64=true
     [echo] Solaris=${isSolaris}
     [echo] Solaris32Bit=${isSolaris32Bit}
     [echo] SolarisSparc=${isSolarisSparc}
     [echo] SolarisSparcv9=${isSolarisSparcv9}
     [echo] SolarisAMD64=${isSolarisAMD64}
     [echo] SolarisX86=${isSolarisX86}
     [echo] Unix=true
     [echo] Windows=${isWindows}
     [echo] X11=true

gluegen.cpptasks.detect.os.freebsd:

gluegen.cpptasks.detect.os.hpux:

gluegen.cpptasks.detect.os.linux.amd64:

gluegen.cpptasks.detect.os.linux.ia64:

gluegen.cpptasks.detect.os.linux.x86:

gluegen.cpptasks.detect.os.linux:

gluegen.cpptasks.detect.os.osx:

gluegen.cpptasks.detect.os.solaris.sparc:

gluegen.cpptasks.detect.os.solaris.sparcv9:

gluegen.cpptasks.detect.os.solaris.amd64:

gluegen.cpptasks.detect.os.solaris.x86:

gluegen.cpptasks.detect.os.solaris:

gluegen.cpptasks.detect.os.unix:

gluegen.cpptasks.detect.os.windows.amd64:

gluegen.cpptasks.detect.os.windows.x86:

gluegen.cpptasks.detect.os.windows:

gluegen.cpptasks.detect.os.2:

gluegen.cpptasks.detect.os:

nativewindow.setup-version-RI:

nativewindow.setup-version-non-RI:

jogl.setup-version-RI:

jogl.setup-version-non-RI:

newt.setup-version-RI:

newt.setup-version-non-RI:

setup-versions:

common.init:
     [echo] setup.nodesktop: ${setup.nodesktop}
     [echo] setup.noAWT: ${setup.noAWT}
     [echo] setup.noCDC: ${setup.noCDC}
     [echo] Loaded /home/rhdxmr/jogl.properties.
     [echo] Loaded /home/rhdxmr/gluegen.properties.
     [echo] antlr.jar=../../gluegen/make/lib/antlr.jar
     [echo] junit.jar=../../gluegen/make/lib/junit.jar
     [echo] javac.bootclasspath-cdc.jar: ../../gluegen/make/lib/cdc_fp.jar

declare.common:

init:

junit.compile.check:
     [echo] jogl.test.jar /home/rhdxmr/java/jogl/jogamp/jogl/build/jogl/jogl.test.jar

junit.compile:

junit.run:
     [echo] Testing com.jogamp.test.junit.jogl.acore.TestGLProfile01NEWT -> ../build/test/results/TEST-com.jogamp.test.junit.jogl.acore.TestGLProfile01NEWT.xml
    [apply] Info: XInitThreads() called for concurrent Thread support
    [apply] #
    [apply] # A fatal error has been detected by the Java Runtime Environment:
    [apply] #
    [apply] #  SIGSEGV (0xb) at pc=0x00001159, pid=2454, tid=3068353392
    [apply] #
    [apply] # JRE version: 6.0_20-b02
    [apply] # Java VM: Java HotSpot(TM) Client VM (16.3-b01 mixed mode, sharing linux-x86 )
    [apply] # Problematic frame:
    [apply] # C  0x00001159
    [apply] #
    [apply] # An error report file with more information is saved as:
    [apply] # /home/rhdxmr/java/jogl/jogamp/jogl/make/hs_err_pid2454.log
    [apply] #
    [apply] # If you would like to submit a bug report, please visit:
    [apply] #   http://java.sun.com/webapps/bugreport/crash.jsp
    [apply] #
     [echo] Testing com.jogamp.test.junit.jogl.demos.gl2.gears.TestGearsNEWT -> ../build/test/results/TEST-com.jogamp.test.junit.jogl.demos.gl2.gears.TestGearsNEWT.xml
    [apply] Info: XInitThreads() called for concurrent Thread support
    [apply] Testsuite: com.jogamp.test.junit.jogl.demos.gl2.gears.TestGearsNEWT
    [apply] junit.framework.TestListener: tests to run: 1
    [apply] #
    [apply] # A fatal error has been detected by the Java Runtime Environment:
    [apply] #
    [apply] #  SIGSEGV (0xb) at pc=0x00001159, pid=2468, tid=3068148592
    [apply] #
    [apply] # JRE version: 6.0_20-b02
    [apply] # Java VM: Java HotSpot(TM) Client VM (16.3-b01 mixed mode, sharing linux-x86 )
    [apply] # Problematic frame:
    [apply] # C  0x00001159
    [apply] #
    [apply] # An error report file with more information is saved as:
    [apply] # /home/rhdxmr/java/jogl/jogamp/jogl/make/hs_err_pid2468.log
    [apply] #
    [apply] # If you would like to submit a bug report, please visit:
    [apply] #   http://java.sun.com/webapps/bugreport/crash.jsp
    [apply] #
     [echo] Testing com.jogamp.test.junit.jogl.drawable.TestDrawable01NEWT -> ../build/test/results/TEST-com.jogamp.test.junit.jogl.drawable.TestDrawable01NEWT.xml
    [apply] Info: XInitThreads() called for concurrent Thread support
    [apply] Testsuite: com.jogamp.test.junit.jogl.drawable.TestDrawable01NEWT
    [apply] junit.framework.TestListener: tests to run: 2
    [apply] #
    [apply] # A fatal error has been detected by the Java Runtime Environment:
    [apply] #
    [apply] #  SIGSEGV (0xb) at pc=0x00001159, pid=2482, tid=3066919792
    [apply] #
    [apply] # JRE version: 6.0_20-b02
    [apply] # Java VM: Java HotSpot(TM) Client VM (16.3-b01 mixed mode, sharing linux-x86 )
    [apply] # Problematic frame:
    [apply] # C  0x00001159
    [apply] #
    [apply] # An error report file with more information is saved as:
    [apply] # /home/rhdxmr/java/jogl/jogamp/jogl/make/hs_err_pid2482.log
    [apply] #
    [apply] # If you would like to submit a bug report, please visit:
    [apply] #   http://java.sun.com/webapps/bugreport/crash.jsp
    [apply] #
     [echo] Testing com.jogamp.test.junit.jogl.offscreen.TestOffscreen01NEWT -> ../build/test/results/TEST-com.jogamp.test.junit.jogl.offscreen.TestOffscreen01NEWT.xml
    [apply] Info: XInitThreads() called for concurrent Thread support
    [apply] Testsuite: com.jogamp.test.junit.jogl.offscreen.TestOffscreen01NEWT
    [apply] junit.framework.TestListener: tests to run: 9
    [apply] #
    [apply] # A fatal error has been detected by the Java Runtime Environment:
    [apply] #
    [apply] #  SIGSEGV (0xb) at pc=0x00001159, pid=2496, tid=3067906928
    [apply] #
    [apply] # JRE version: 6.0_20-b02
    [apply] # Java VM: Java HotSpot(TM) Client VM (16.3-b01 mixed mode, sharing linux-x86 )
    [apply] # Problematic frame:
    [apply] # C  0x00001159
    [apply] #
    [apply] # An error report file with more information is saved as:
    [apply] # /home/rhdxmr/java/jogl/jogamp/jogl/make/hs_err_pid2496.log
    [apply] #
    [apply] # If you would like to submit a bug report, please visit:
    [apply] #   http://java.sun.com/webapps/bugreport/crash.jsp
    [apply] #
     [echo] Testing com.jogamp.test.junit.newt.TestGLWindows01NEWT -> ../build/test/results/TEST-com.jogamp.test.junit.newt.TestGLWindows01NEWT.xml
    [apply] Info: XInitThreads() called for concurrent Thread support
    [apply] Testsuite: com.jogamp.test.junit.newt.TestGLWindows01NEWT
    [apply] junit.framework.TestListener: tests to run: 4
    [apply] #
    [apply] # A fatal error has been detected by the Java Runtime Environment:
    [apply] #
    [apply] #  SIGSEGV (0xb) at pc=0x00001159, pid=2510, tid=3067456368
    [apply] #
    [apply] # JRE version: 6.0_20-b02
    [apply] # Java VM: Java HotSpot(TM) Client VM (16.3-b01 mixed mode, sharing linux-x86 )
    [apply] # Problematic frame:
    [apply] # C  0x00001159
    [apply] #
    [apply] # An error report file with more information is saved as:
    [apply] # /home/rhdxmr/java/jogl/jogamp/jogl/make/hs_err_pid2510.log
    [apply] #
    [apply] # If you would like to submit a bug report, please visit:
    [apply] #   http://java.sun.com/webapps/bugreport/crash.jsp
    [apply] #
     [echo] Testing com.jogamp.test.junit.newt.TestParenting01NEWT -> ../build/test/results/TEST-com.jogamp.test.junit.newt.TestParenting01NEWT.xml
    [apply] Info: XInitThreads() called for concurrent Thread support
    [apply] Testsuite: com.jogamp.test.junit.newt.TestParenting01NEWT
    [apply] junit.framework.TestListener: tests to run: 3
    [apply] #
    [apply] # A fatal error has been detected by the Java Runtime Environment:
    [apply] #
    [apply] #  SIGSEGV (0xb) at pc=0x00001159, pid=2529, tid=3066899312
    [apply] #
    [apply] # JRE version: 6.0_20-b02
    [apply] # Java VM: Java HotSpot(TM) Client VM (16.3-b01 mixed mode, sharing linux-x86 )
    [apply] # Problematic frame:
    [apply] # C  0x00001159
    [apply] #
    [apply] # An error report file with more information is saved as:
    [apply] # /home/rhdxmr/java/jogl/jogamp/jogl/make/hs_err_pid2529.log
    [apply] #
    [apply] # If you would like to submit a bug report, please visit:
    [apply] #   http://java.sun.com/webapps/bugreport/crash.jsp
    [apply] #
     [echo] Testing com.jogamp.test.junit.newt.TestParenting02NEWT -> ../build/test/results/TEST-com.jogamp.test.junit.newt.TestParenting02NEWT.xml
    [apply] Info: XInitThreads() called for concurrent Thread support
    [apply] Testsuite: com.jogamp.test.junit.newt.TestParenting02NEWT
    [apply] junit.framework.TestListener: tests to run: 1
    [apply] junit.framework.TestListener: startTest(testWindowParenting01NewtOnNewtParentChildDraw)
    [apply] #
    [apply] # A fatal error has been detected by the Java Runtime Environment:
    [apply] #
    [apply] #  SIGSEGV (0xb) at pc=0x00001159, pid=2547, tid=3067915120
    [apply] #
    [apply] # JRE version: 6.0_20-b02
    [apply] # Java VM: Java HotSpot(TM) Client VM (16.3-b01 mixed mode, sharing linux-x86 )
    [apply] # Problematic frame:
    [apply] # C  0x00001159
    [apply] #
    [apply] # An error report file with more information is saved as:
    [apply] # /home/rhdxmr/java/jogl/jogamp/jogl/make/hs_err_pid2547.log
    [apply] #
    [apply] # If you would like to submit a bug report, please visit:
    [apply] #   http://java.sun.com/webapps/bugreport/crash.jsp
    [apply] #
     [echo] Testing com.jogamp.test.junit.newt.TestWindows01NEWT -> ../build/test/results/TEST-com.jogamp.test.junit.newt.TestWindows01NEWT.xml
    [apply] Info: XInitThreads() called for concurrent Thread support
    [apply] Testsuite: com.jogamp.test.junit.newt.TestWindows01NEWT
    [apply] junit.framework.TestListener: tests to run: 4
    [apply] junit.framework.TestListener: startTest(testWindowNativeRecreate01Simple)
    [apply] Detected screen size 1024x768
    [apply] junit.framework.TestListener: endTest(testWindowNativeRecreate01Simple)
    [apply] junit.framework.TestListener: startTest(testWindowDecor01Simple)
    [apply] Detected screen size 1024x768
    [apply] junit.framework.TestListener: endTest(testWindowDecor01Simple)
    [apply] junit.framework.TestListener: startTest(testWindowDecor02DestroyWinTwiceA)
    [apply] Detected screen size 1024x768
    [apply] junit.framework.TestListener: endTest(testWindowDecor02DestroyWinTwiceA)
    [apply] junit.framework.TestListener: startTest(testWindowDecor03TwoWin)
    [apply] Warning: NEWT X11 Error: DisplayDispatch 0x8159a38, Code 0x3
    [apply]          BadWindow (0x1800002): Window probably already removed
    [apply] Warning: NEWT X11 DisplayDispatch 0x8159a38, Couldn't handle event 6 for X11 window 0x1800002
    [apply] Detected screen size 1024x768
    [apply] junit.framework.TestListener: endTest(testWindowDecor03TwoWin)
    [apply] Tests run: 4, Failures: 0, Errors: 0, Time elapsed: 2.581 sec
    [apply] ------------- Standard Output ---------------
    [apply] Detected screen size 1024x768
    [apply] Detected screen size 1024x768
    [apply] Detected screen size 1024x768
    [apply] Detected screen size 1024x768
    [apply] ------------- ---------------- ---------------
    [apply]
    [apply] Testcase: testWindowNativeRecreate01Simple took 0.699 sec
    [apply] Testcase: testWindowDecor01Simple took 0.22 sec
    [apply] Testcase: testWindowDecor02DestroyWinTwiceA took 0.53 sec
    [apply] Testcase:Warning: NEWT X11 Error: DisplayDispatch 0x8159a38, Code 0x3
    [apply]          BadWindow (0x1800002): Window probably already removed
    [apply] Warning: NEWT X11 DisplayDispatch 0x8159a38, Couldn't handle event 9 for X11 window 0x1800002
    [apply]  testWindowDecor03TwoWin took 0.991 sec
    [junit] Testsuite: com.jogamp.test.junit.jogl.awt.TestAWT01GLn
    [junit] Testsuite: com.jogamp.test.junit.jogl.awt.TestAWT01GLn
    [junit] Info: XInitThreads() called for concurrent Thread support
    [junit] #
    [junit] # A fatal error has been detected by the Java Runtime Environment:
    [junit] #
    [junit] #  SIGSEGV (0xb) at pc=0x00001159, pid=2580, tid=3066911600
    [junit] #
    [junit] # JRE version: 6.0_20-b02
    [junit] # Java VM: Java HotSpot(TM) Client VM (16.3-b01 mixed mode, sharing linux-x86 )
    [junit] # Problematic frame:
    [junit] # C  0x00001159
    [junit] #
    [junit] # An error report file with more information is saved as:
    [junit] # /home/rhdxmr/java/jogl/jogamp/jogl/make/hs_err_pid2580.log
    [junit] #
    [junit] # If you would like to submit a bug report, please visit:
    [junit] #   http://java.sun.com/webapps/bugreport/crash.jsp
    [junit] #
    [junit] Testsuite: com.Batch-With-Multiple-Tests
    [junit] Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 0 sec
    [junit]
    [junit] Testcase: BeforeFirstTest took 0.004 sec
    [junit]     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] Testsuite: com.Batch-With-Multiple-Tests
    [junit] Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 0 sec
    [junit]
    [junit] Testcase: com.Batch-With-Multiple-Tests:BeforeFirstTest:    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 SUCCESSFUL
Total time: 23 seconds