Help with jtreg on WXP/Cygwin

Francis ANDRE francis.andre.kampbell at orange.fr
Sun Oct 27 02:53:07 PDT 2013


Hi jtreg-use list

running the jdk7u test bed on a WXP/Cygwin/VS2010 platform, some test fail 
because jtreg is calling twice kill -9 on the same process id. Where could I fix 
this issue so that the jdk test run successfully?

Francis

--------------------------------------------------
TEST: com/sun/jdi/ArrayLengthDumpTest.sh
JDK under test: (Z:\JDK\jdk7u\build\WINDOW~1\J2SDK-~1)
openjdk version "1.7.0-internal"
OpenJDK Runtime Environment (build 1.7.0-internal-francisandre_2013_10_18_20_47-b00)
OpenJDK Client VM (build 24.60-b01, interpreted mode)



ACTION: shell -- Failed. Execution failed: exit code 1
REASON: User specified action: run shell ArrayLengthDumpTest.sh
TIME:   10.313 seconds
messages:
command: shell ArrayLengthDumpTest.sh
reason: User specified action: run shell ArrayLengthDumpTest.sh
elapsed time (seconds): 10.313
STDOUT:
--Compiling first version of 
/cygdrive/z/JDK/jdk7u/build/windows-i586/testoutput/jdk_jdi/JTwork/classes/com/sun/jdi/aa3544/ArrayLengthDumpTarg.java 
with options:
compiling  ArrayLengthDumpTarg.java

--Starting jdb, address=kkkk.3544
--Starting debuggee
Listening at address: kkkk.3544
STDERR:
ShellScaffold.sh: Version
-- jdb process info ----------------------
       11932 TTY -Dapplication.home=Z:\JDK\jdk7u\build\WINDOW~1\J2SDK-~1 -Xms8m 
-DHANGINGJAVA-3544_JDB
-- jdb threads: jstack 11932
2013-10-27 09:31:14
Full thread dump OpenJDK Client VM (24.60-b01 mixed mode):

"Service Thread" daemon prio=6 tid=0x02e32c00 nid=0x2d3c runnable [0x00000000]
    java.lang.Thread.State: RUNNABLE

"C1 CompilerThread0" daemon prio=10 tid=0x02e24c00 nid=0x1d60 waiting on 
condition [0x00000000]
    java.lang.Thread.State: RUNNABLE

"Attach Listener" daemon prio=10 tid=0x02e23400 nid=0x2c4c waiting on condition 
[0x00000000]
    java.lang.Thread.State: RUNNABLE

"Signal Dispatcher" daemon prio=10 tid=0x02e22400 nid=0x600 runnable [0x00000000]
    java.lang.Thread.State: RUNNABLE

"Finalizer" daemon prio=8 tid=0x02be0800 nid=0xa18 in Object.wait() [0x02e1f000]
    java.lang.Thread.State: WAITING (on object monitor)
     at java.lang.Object.wait(Native Method)
     - waiting on <0x100353f8> (a java.lang.ref.ReferenceQueue$Lock)
     at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:135)
     - locked <0x100353f8> (a java.lang.ref.ReferenceQueue$Lock)
     at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:151)
     at java.lang.ref.Finalizer$FinalizerThread.run(Finalizer.java:189)

"Reference Handler" daemon prio=10 tid=0x02bdb800 nid=0x2ef4 in Object.wait() 
[0x02dcf000]
    java.lang.Thread.State: WAITING (on object monitor)
     at java.lang.Object.wait(Native Method)
     - waiting on <0x10034fd0> (a java.lang.ref.Reference$Lock)
     at java.lang.Object.wait(Object.java:503)
     at java.lang.ref.Reference$ReferenceHandler.run(Reference.java:133)
     - locked <0x10034fd0> (a java.lang.ref.Reference$Lock)

"main" prio=6 tid=0x003c9800 nid=0x19dc runnable [0x009ef000]
    java.lang.Thread.State: RUNNABLE
     at com.sun.tools.jdi.SharedMemoryTransportService.accept0(Native Method)
     at 
com.sun.tools.jdi.SharedMemoryTransportService.accept(SharedMemoryTransportService.java:164)
     at 
com.sun.tools.jdi.GenericListeningConnector.accept(GenericListeningConnector.java:151)
     at 
com.sun.tools.example.debug.tty.VMConnection.listenTarget(VMConnection.java:536)
     at com.sun.tools.example.debug.tty.VMConnection.open(VMConnection.java:330)
     - locked <0x101f28a0> (a com.sun.tools.example.debug.tty.VMConnection)
     at com.sun.tools.example.debug.tty.Env.init(Env.java:63)
     at com.sun.tools.example.debug.tty.TTY.main(TTY.java:1066)

"VM Thread" prio=10 tid=0x02bd9c00 nid=0x2260 runnable

"VM Periodic Task Thread" prio=10 tid=0x02e34c00 nid=0x1694 waiting on condition

JNI global references: 121

------------------------------------------

cleanup: kill -9 4804***
**cleanup: kill -9 4804 *
Z:/JDK/jdk7u/jdk/test/com/sun/jdi/ShellScaffold.sh: line 191: kill: (4804) - No 
such process
rerun:
'PATH=C:/cygwin/usr/local/bin;C:/cygwin/bin;C:/WINDOWS;C:/WINDOWS/system32;C:/WINDOWS/System32/Wbem;C:/Program 
Files/Microsoft Visual Studio 10.0/Common7/IDE;C:/Program Files/Microsoft Visual 
Studio 10.0/VC/BIN;C:/Program Files/Microsoft Visual Studio 
10.0/Common7/Tools;C:/WINDOWS/Microsoft.NET/Framework/v4.0.30319;C:/Program 
Files/Microsoft Visual Studio 10.0/VC/VCPackages;C:/Program Files/Microsoft 
SDKs/Windows/v7.0A/bin/NETFX 4.0 Tools;C:/Program Files/Microsoft 
SDKs/Windows/v7.0A/bin;C:/Program Files/Apache Software 
Foundation/apache-ant-1.8.4/bin;C:/Program Files/Apache Software 
Foundation/apache-maven-3.0.3/bin' \
SystemDrive=C: \
SystemRoot=C:/WINDOWS \
TEMP=C:/cygwin/tmp \
TMP=C:/DOCUME~1/FRANCI~1/LOCALS~1/Temp \
windir=C:/WINDOWS \
TESTSRC=Z:/JDK/jdk7u/jdk/test/com/sun/jdi \
TESTSRCPATH=Z:/JDK/jdk7u/jdk/test/com/sun/jdi \
TESTCLASSES=Z:/JDK/jdk7u/build/windows-i586/testoutput/jdk_jdi/JTwork/classes/com/sun/jdi 
\
TESTCLASSPATH=Z:/JDK/jdk7u/build/windows-i586/testoutput/jdk_jdi/JTwork/classes/com/sun/jdi 
\
COMPILEJAVA=Z:/JDK/jdk7u/build/WINDOW~1/J2SDK-~1 \
TESTJAVA=Z:/JDK/jdk7u/build/WINDOW~1/J2SDK-~1 \
'TESTVMOPTS=-ea -esa -Xint' \
'TESTTOOLVMOPTS=-J-ea -J-esa -J-Xint' \
TESTJAVACOPTS= \
TESTJAVAOPTS= \
TESTTIMEOUTFACTOR=4.0 \
     sh \
         'Z:\JDK\jdk7u\jdk\test\com\sun\jdi\ArrayLengthDumpTest.sh'

TEST RESULT: Failed. Execution failed: exit code 1
--------------------------------------------------

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.openjdk.java.net/pipermail/jtreg-use/attachments/20131027/dd3a7a41/attachment.html 


More information about the jtreg-use mailing list