[JBoss-dev] RE: jbossretro-testsuite Build Completed With Testsuite Errors

2006-03-14 Thread Scott M Stark



Something seems wrong with the timeout setting on 
org.jboss.test.concurrent.ReentrantLockTest as the test failed with a timeout in 
0.006 seconds?
 
The 3 
org.jboss.test.concurrent.SemaphoreTest failures seem to be known 
issues?
 
Unexpected 
exceptionjava.lang.UnsupportedOperationException: Use FAIR version at 
edu.emory.mathcs.backport.java.util.concurrent.Semaphore$NonfairSync.getQueuedThreads(Semaphore.java:298) 
at 
edu.emory.mathcs.backport.java.util.concurrent.Semaphore.getQueuedThreads(Semaphore.java:827) 
at 
org.jboss.test.concurrent.SemaphoreTest$PublicSemaphore.getQueuedThreads(SemaphoreTest.java:29) 
at 
org.jboss.test.concurrent.SemaphoreTest.testGetQueuedThreads(SemaphoreTest.java:377) 
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) 
at java.lang.reflect.Method.invoke(Method.java:324) at 
junit.framework.TestCase.runTest(TestCase.java:154) at 
junit.framework.TestCase.runBare(TestCase.java:127) at 
junit.framework.TestResult$1.protect(TestResult.java:106) at 
junit.framework.TestResult.runProtected(TestResult.java:124) at 
junit.framework.TestResult.run(TestResult.java:109) at 
junit.framework.TestCase.run(TestCase.java:118) at 
junit.framework.TestSuite.runTest(TestSuite.java:208) at 
junit.framework.TestSuite.run(TestSuite.java:203) at 
org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:289) 
at 
org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:656) 
at 
org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:558) 



  
  
  From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
  Sent: Tuesday, March 14, 2006 1:59 AMTo: Adrian Brock; 
  jboss-development@lists.sourceforge.net; QA; Ryan Campbell; Scott M 
  StarkSubject: jbossretro-testsuite Build Completed With Testsuite 
  ErrorsImportance: High
  View results here -> http://cruisecontrol.jboss.com/cc/buildresults/jbossretro-testsuite?log=log20060314045211
  
  


  TESTS FAILED

  Ant Error 
Message: /services/cruisecontrol/work/scripts/build-jbossretro-testsuite.xml:75: 
The following error occurred while executing this line: 
/services/cruisecontrol/work/scripts/build-common-targets.xml:11: Build 
Successful - Tests completed with errors or failures.

  Date of 
build: 03/14/2006 04:52:11

  Time to 
build: 7 minutes 4 seconds

  Last 
changed: 03/06/2006 15:09:55

  Last log 
entry: Revert the reentrant lock stuff to backport 
concurrent utiland remove tests that don't have 
  coverage.
  
  





  


   Unit Tests: (1233) 
 Total Errors and Failures: (5) 

  

  
  
unknown
org.jboss.test.concurrent.ReentrantLockTest
  
testPrivilegedThreadFactory
org.jboss.test.concurrent.ExecutorsTest
  
testHasQueuedThreads
org.jboss.test.concurrent.SemaphoreTest
  
testGetQueueLength
org.jboss.test.concurrent.SemaphoreTest
  
testGetQueuedThreads
org.jboss.test.concurrent.SemaphoreTest


   
  
  


   Modifications 
since last build:  (first 50 of 166) 

  1.2
  deleted
  adrian
  src/test/org/jboss/test/concurrent/LockSupportTest.java
  Revert the reentrant lock stuff to backport 
concurrent utiland remove tests that don't have coverage.

  1.4
  deleted
  adrian
  src/test/org/jboss/test/concurrent/ReentrantReadWriteLockTest.java
  Revert the reentrant lock stuff to backport 
concurrent utiland remove tests that don't have coverage.

  1.2
  deleted
  adrian
  src/test/org/jboss/test/concurrent/ThreadTest.java
  Revert the reentrant lock stuff to backport 
concurrent utiland remove tests that don't have coverage.

  1.3
  modified
  adrian
  src/test/org/jboss/test/concurrent/SemaphoreTest.java
  Provide more information than 
"UnexpectedException"

  1.8
  modified
  adrian
  thirdparty/javassist/lib/javassist.jar
  Remove the signature fixing.We need 
something a bit more robust.

  1.3
  modified
  adrian
  src/test/org/jboss/test/concurrent/ReentrantReadWriteLockTest.java
  Work around unweaved stuff in the 
ReentrantReadWriteLock test

  1.4
  modified
  adrian
  src/test/org/jboss/test/concurrent/JSR166TestCase.java
  Exclude tests for 
  UncaughtExceptionHandler

  1.2
  modified
  adrian
  src/test/org/jboss/test/concurrent/SemaphoreT

[JBoss-dev] RE: jbossretro-testsuite Build Completed With Testsuite Errors

2006-03-14 Thread Adrian Brock
On Tue, 2006-03-14 at 10:50 -0600, Scott M Stark wrote:
> Something seems wrong with the timeout setting on
> org.jboss.test.concurrent.ReentrantLockTest as the test failed with a
> timeout in 0.006 seconds?

Yes I said that before. There is a "short delay" in the TCK parameters
but it is ridiculously short. The backport concurrent tests have the
problem.

>  
> The 3 org.jboss.test.concurrent.SemaphoreTest failures seem to be
> known issues?

Yes. In backport concurrent util, you have to enable fair queueing
for it to keep track of the threads inside the Semaphore.

>  
> Unexpected exceptionjava.lang.UnsupportedOperationException: Use FAIR
> version at edu.emory.mathcs.backport.java.util.concurrent.Semaphore
> $NonfairSync.getQueuedThreads(Semaphore.java:298) at
> edu.emory.mathcs.backport.java.util.concurrent.Semaphore.getQueuedThreads(Semaphore.java:827)
>  at 
> org.jboss.test.concurrent.SemaphoreTest$PublicSemaphore.getQueuedThreads(SemaphoreTest.java:29)
>  at 
> org.jboss.test.concurrent.SemaphoreTest.testGetQueuedThreads(SemaphoreTest.java:377)
>  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at 
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) 
> at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>  at java.lang.reflect.Method.invoke(Method.java:324) at 
> junit.framework.TestCase.runTest(TestCase.java:154) at 
> junit.framework.TestCase.runBare(TestCase.java:127) at 
> junit.framework.TestResult$1.protect(TestResult.java:106) at 
> junit.framework.TestResult.runProtected(TestResult.java:124) at 
> junit.framework.TestResult.run(TestResult.java:109) at 
> junit.framework.TestCase.run(TestCase.java:118) at 
> junit.framework.TestSuite.runTest(TestSuite.java:208) at 
> junit.framework.TestSuite.run(TestSuite.java:203) at 
> org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:289)
>  at 
> org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:656)
>  at 
> org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:558)
>  
> 
> 
> 
> 
> __
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
> Sent: Tuesday, March 14, 2006 1:59 AM
> To: Adrian Brock; jboss-development@lists.sourceforge.net; QA;
> Ryan Campbell; Scott M Stark
> Subject: jbossretro-testsuite Build Completed With Testsuite
> Errors
> Importance: High
> 
> 
> 
> View results here ->
> 
> http://cruisecontrol.jboss.com/cc/buildresults/jbossretro-testsuite?log=log20060314045211
>  
> 
>  TESTS FAILED
>   Ant Error
> Message: 
> /services/cruisecontrol/work/scripts/build-jbossretro-testsuite.xml:75: The 
> following error occurred while executing this line: 
> /services/cruisecontrol/work/scripts/build-common-targets.xml:11: Build 
> Successful - Tests completed with errors or failures.
>   Date of build: 03/14/2006 04:52:11
>   Time to build: 7 minutes 4 seconds
>   Last changed: 03/06/2006 15:09:55
>  Last log entry: Revert the reentrant lock stuff to backport
>   concurrent utiland remove tests that don't have coverage.
> 
> 

>   Unit Tests: (1233)  Total Errors and Failures: (5) 
>  unknown
>   org.jboss.test.concurrent.ReentrantLockTest
>   testPrivilegedThreadFactory
>  org.jboss.test.concurrent.ExecutorsTest
>testHasQueuedThreads
>  org.jboss.test.concurrent.SemaphoreTest
>  testGetQueueLength
>  org.jboss.test.concurrent.SemaphoreTest
>testGetQueuedThreads
>  org.jboss.test.concurrent.SemaphoreTest
>
> 
>   Modifications since last build:  (first 50 of 166) 
>  1.2
>deleted
> adrian
>src/test/org/jboss/test/concurrent/LockSupportTest.java
>   Revert the
>   reentrant
>   lock stuff
>  to backport
>   concurrent
>utiland
>  remove tests
>   that don't
>  have
>   coverage.
>