harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chunrong Lai (JIRA)" <j...@apache.org>
Subject [jira] Created: (HARMONY-5972) [build-test][classlib-test] uncaught exceptions in Concurrent Tests
Date Mon, 08 Sep 2008 08:58:44 GMT
[build-test][classlib-test] uncaught exceptions in Concurrent Tests

                 Key: HARMONY-5972
                 URL: https://issues.apache.org/jira/browse/HARMONY-5972
             Project: Harmony
          Issue Type: Bug
         Environment: All
            Reporter: Chunrong Lai

  The concurrent tests have been enabled since commit r691476 and uncaught exceptions are
observed there. The stacktrace is as below 

    [junit] Running ExecutorsTest
    [junit] Uncaught exception in pool-12-thread-1:
    [junit] junit.framework.AssertionFailedError
    [junit]     at junit.framework.Assert.fail(Assert.java:47)
    [junit]     at junit.framework.Assert.assertTrue(Assert.java:20)
    [junit]     at junit.framework.Assert.assertTrue(Assert.java:27)
    [junit]     at JSR166TestCase.threadAssertTrue(JSR166TestCase.java:218)
    [junit]     at ExecutorsTest$2.run(ExecutorsTest.java:405)
    [junit]     at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:643)
    [junit]     at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:668)
    [junit]     at java.util.concurrent.Executors$PrivilegedThreadFactory$1$1.run(Executors.java:575)
    [junit]     at java.security.AccessController.doPrivilegedImpl(AccessController.java:171)
    [junit]     at java.security.AccessController.doPrivileged(AccessController.java:64)
    [junit]     at java.util.concurrent.Executors$PrivilegedThreadFactory$1.run(Executors.java:572)
    [junit]     at java.lang.Thread.run(Thread.java:670)
    [junit] Tests run: 32, Failures: 1, Errors: 0, Time elapsed: 2.258 sec
    [junit] Test ExecutorsTest FAILED
   when we do single test with (at directory of working_classlib) "ant -Dtest.jre.home=...\drlvm\...\jdk\jre
-Dtest.case=ExecutorsTest test"

  The failures are platform-dependent. Although ExecutorsTest fails in all of the platforms
(with drlvm),  ReentrantLockTest, AbstractQueuedSynchronizerTest and ScheduledExecutorTest
only fail in some platforms.
  RI performs better but also not perfect here. It just pass ExecutorsTest but also fails
in ReentrantLockTest. It is also noted that the failure from RI is an assertion instead of
the uncaught exception.

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

View raw message