db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mike Matrigali (JIRA)" <j...@apache.org>
Subject [jira] Updated: (DERBY-3555) Hang forever while trying to run "ant junitreport"
Date Wed, 19 Mar 2008 18:58:25 GMT

     [ https://issues.apache.org/jira/browse/DERBY-3555?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Mike Matrigali updated DERBY-3555:
----------------------------------


not sure if it is useful but here is the dump from ant jvm side while it was hanging:
Searching for build.xml ...
Buildfile: F:\p4\m1\build.xml

junit-init:
    [mkdir] Created dir: F:\p4\m1\opensource\junit_20080319_1111\testout

junit-core:
    [junit] Running org.apache.derbyTesting.junit.EnvTest
    [junit] Tests run: 9, Failures: 0, Errors: 0, Time elapsed: 0.297 sec
    [junit] Running org.apache.derbyTesting.functionTests.tests.jdbcapi.AutoloadTest
    [junit] Tests run: 3, Failures: 0, Errors: 0, Time elapsed: 1.89 sec
    [junit] Running org.apache.derbyTesting.functionTests.tests.jdbcapi.JDBCDriversEmbeddedTest
    [junit] Tests run: 8, Failures: 0, Errors: 0, Time elapsed: 6.015 sec
    [junit] Running org.apache.derbyTesting.functionTests.tests.jdbcapi.JDBCDriversClientTest
    [junit] Tests run: 4, Failures: 0, Errors: 0, Time elapsed: 2.938 sec
    [junit] Running org.apache.derbyTesting.functionTests.tests.jdbcapi.JDBCDriversAllTest
    [junit] Tests run: 12, Failures: 0, Errors: 0, Time elapsed: 14.594 sec
    [junit] Running org.apache.derbyTesting.functionTests.tests.derbynet._Suite
    [junit] Tests run: 76, Failures: 0, Errors: 0, Time elapsed: 100.687 sec
    [junit] Running org.apache.derbyTesting.functionTests.tests.tools._Suite
    [junit] Tests run: 80, Failures: 0, Errors: 0, Time elapsed: 96.469 sec
    [junit] Running org.apache.derbyTesting.functionTests.tests.demo._Suite
    [junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 34.469 sec
    [junit] Running org.apache.derbyTesting.functionTests.tests.lang._Suite
Full thread dump Java HotSpot(TM) Client VM (1.5.0_13-b05 mixed mode):

"Thread-19" daemon prio=6 tid=0x0b058748 nid=0xa18 runnable [0x0b2cf000..0x0b2cfbe8]
        at java.io.FileInputStream.readBytes(Native Method)
        at java.io.FileInputStream.read(FileInputStream.java:177)
        at org.apache.tools.ant.taskdefs.StreamPumper.run(StreamPumper.java:90)
        at java.lang.Thread.run(Thread.java:595)

"Thread-18" daemon prio=6 tid=0x0b036708 nid=0xf50 runnable [0x0b28f000..0x0b28fc68]
        at java.io.FileInputStream.readBytes(Native Method)
        at java.io.FileInputStream.read(FileInputStream.java:194)
        at java.io.BufferedInputStream.fill(BufferedInputStream.java:218)
        at java.io.BufferedInputStream.read1(BufferedInputStream.java:256)
        at java.io.BufferedInputStream.read(BufferedInputStream.java:313)
        - locked <0x02b03710> (a java.io.BufferedInputStream)
        at java.io.FilterInputStream.read(FilterInputStream.java:90)
        at org.apache.tools.ant.taskdefs.StreamPumper.run(StreamPumper.java:90)
        at java.lang.Thread.run(Thread.java:595)

"Low Memory Detector" daemon prio=6 tid=0x00a98d20 nid=0xf54 runnable [0x00000000..0x00000000]

"CompilerThread0" daemon prio=10 tid=0x00a97a50 nid=0x804 waiting on condition [0x00000000..0x0abcf848]

"Signal Dispatcher" daemon prio=10 tid=0x00a96df0 nid=0x4f8 waiting on condition [0x00000000..0x00000000]

"Finalizer" daemon prio=8 tid=0x00a8dfc8 nid=0xcbc in Object.wait() [0x0ab4f000..0x0ab4fc68]
        at java.lang.Object.wait(Native Method)
        - waiting on <0x02fc81f8> (a java.lang.ref.ReferenceQueue$Lock)
        at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:116)
        - locked <0x02fc81f8> (a java.lang.ref.ReferenceQueue$Lock)
        at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:132)
        at java.lang.ref.Finalizer$FinalizerThread.run(Finalizer.java:159)

"Reference Handler" daemon prio=10 tid=0x00a8cb58 nid=0x698 in Object.wait() [0x0ab0f000..0x0ab0fce8]
        at java.lang.Object.wait(Native Method)
        - waiting on <0x02fc8278> (a java.lang.ref.Reference$Lock)
        at java.lang.Object.wait(Object.java:474)
        at java.lang.ref.Reference$ReferenceHandler.run(Reference.java:116)
        - locked <0x02fc8278> (a java.lang.ref.Reference$Lock)

"main" prio=6 tid=0x0003a7d0 nid=0xee4 runnable [0x0007f000..0x0007fc3c]
        at java.lang.ProcessImpl.waitFor(Native Method)
        at org.apache.tools.ant.taskdefs.Execute.waitFor(Execute.java:539)
        at org.apache.tools.ant.taskdefs.Execute.execute(Execute.java:471)
        at org.apache.tools.ant.taskdefs.optional.junit.JUnitTask.executeAsForked(JUnitTask.java:880)
        at org.apache.tools.ant.taskdefs.optional.junit.JUnitTask.execute(JUnitTask.java:685)
        at org.apache.tools.ant.taskdefs.optional.junit.JUnitTask.executeOrQueue(JUnitTask.java:1434)
        at org.apache.tools.ant.taskdefs.optional.junit.JUnitTask.execute(JUnitTask.java:632)
        at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
        at org.apache.tools.ant.Task.perform(Task.java:364)
        at org.apache.tools.ant.Target.execute(Target.java:341)
        at org.apache.tools.ant.Target.performTasks(Target.java:369)
        at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216)
        at org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:37)
        at org.apache.tools.ant.Project.executeTargets(Project.java:1068)
        at org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:37)
        at org.apache.tools.ant.Project.executeTargets(Project.java:1068)
        at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:382)
        at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
        at org.apache.tools.ant.Task.perform(Task.java:364)
        at org.apache.tools.ant.Target.execute(Target.java:341)
        at org.apache.tools.ant.Target.performTasks(Target.java:369)
        at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216)
        at org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:37)
        at org.apache.tools.ant.Project.executeTargets(Project.java:1068)
        at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:382)
        at org.apache.tools.ant.taskdefs.CallTarget.execute(CallTarget.java:107)
        at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
        at org.apache.tools.ant.Task.perform(Task.java:364)
        at org.apache.tools.ant.Target.execute(Target.java:341)
        at org.apache.tools.ant.Target.performTasks(Target.java:369)
        at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216)
        at org.apache.tools.ant.Project.executeTarget(Project.java:1185)
        at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:40)
        at org.apache.tools.ant.Project.executeTargets(Project.java:1068)
        at org.apache.tools.ant.Main.runBuild(Main.java:668)
        at org.apache.tools.ant.Main.startAnt(Main.java:187)
        at org.apache.tools.ant.Main.start(Main.java:150)
        at org.apache.tools.ant.Main.main(Main.java:240)

"VM Thread" prio=10 tid=0x00a8a090 nid=0xcb0 runnable

"VM Periodic Task Thread" prio=10 tid=0x00a9a0a8 nid=0xd84 waiting on condition

> Hang forever while trying to run "ant junitreport"
> --------------------------------------------------
>
>                 Key: DERBY-3555
>                 URL: https://issues.apache.org/jira/browse/DERBY-3555
>             Project: Derby
>          Issue Type: Bug
>          Components: Regression Test Failure
>    Affects Versions: 10.5.0.0
>         Environment: sane classes built off of trunk on a windows XP machine with 4 processors,
running ibm16 jvm.
> java version "1.6.0"
> Java(TM) SE Runtime Environment (build pwi3260sr1-20080309_01)
> IBM J9 VM (build 2.4, J2RE 1.6.0 IBM J9 2.4 Windows XP x86-32 jvmwi3260-20080308
> _17822 (JIT enabled, AOT enabled)
> J9VM - 20080308_017822_lHdSMr
> JIT  - r9_20080307_1821
> GC   - 20080305_AB)
> JCL  - 20080301_01
>            Reporter: Mike Matrigali
>         Attachments: junit_20080319_1111.zip
>
>
> Running "ant junit report" has consistently hung forever in this configuration (I think
I have tried about 4 times on various latest builds off of the trunk".  The latest try was
against build 638425.  I will attach a zip of the junit report information.  On windows I
could only get the stack trace from the ant control jvm, not sure how to get the actual test
jvm to dump javacore to see what is going on there.  I have been able to consistently run
"ant junitreport" against the trunk and ibm15 jvm, this is the first time on this machine
I have tried running the tests this way against ibm16.  
> I will also try going back to the direct runner separate from ant to see if maybe the
hang is ant related.  In the old harness I have seen timing issues with the control and child
jvm getting out of sync.  

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message