[ 
http://jira.jboss.com/jira/browse/JBCACHE-1?page=comments#action_12310695 ]
     
Scott M Stark commented on JBCACHE-1:
-------------------------------------

I have run the test against the current jboss-head version several times 
without seeing the same failure so this version needs to be merged to jboss-4.0.

> EvictionLocalStressTestCase consistently failing on MT system
> -------------------------------------------------------------
>
>          Key: JBCACHE-1
>          URL: http://jira.jboss.com/jira/browse/JBCACHE-1
>      Project: JBoss Cache
>         Type: Bug
>  Environment: [EMAIL PROTECTED] testsuite]$ $JAVA_HOME/bin/java -version
> java version "1.4.2_06"
> Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_06-b03)
> Java HotSpot(TM) Client VM (build 1.4.2_06-b03, mixed mode)
> [EMAIL PROTECTED] testsuite]$ cat /etc/redhat-release 
> Red Hat Enterprise Linux WS release 3 (Taroon)
>     Reporter: Scott M Stark
>     Assignee: Ben Wang

>
>
> Running this 3 times on a dual proc redhat system results in 2 failures:
> [EMAIL PROTECTED] testsuite]$ run_tests.sh 
> Buildfile: build.xml
> Overriding previous definition of reference to xdoclet.task.classpath
> one-test:
>     [mkdir] Created dir: /cvs/JBoss4.0/jboss-4.0/testsuite/output/log
>     [junit] Running org.jboss.test.cache.stress.EvictionLocalStressTestCase
>     [junit] Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 55.674 sec
>     [junit] Test org.jboss.test.cache.stress.EvictionLocalStressTestCase 
> FAILED
> BUILD SUCCESSFUL
> Total time: 59 seconds
> [EMAIL PROTECTED] testsuite]$ run_tests.sh 
> Buildfile: build.xml
> Overriding previous definition of reference to xdoclet.task.classpath
> one-test:
>     [mkdir] Created dir: /cvs/JBoss4.0/jboss-4.0/testsuite/output/log
>     [junit] Running org.jboss.test.cache.stress.EvictionLocalStressTestCase
>     [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 67.995 sec
> BUILD SUCCESSFUL
> Total time: 1 minute 12 seconds
> [EMAIL PROTECTED] testsuite]$ run_tests.sh 
> Buildfile: build.xml
> Overriding previous definition of reference to xdoclet.task.classpath
> one-test:
>     [mkdir] Created dir: /cvs/JBoss4.0/jboss-4.0/testsuite/output/log
>     [junit] Running org.jboss.test.cache.stress.EvictionLocalStressTestCase
>     [junit] Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 55.566 sec
>     [junit] Test org.jboss.test.cache.stress.EvictionLocalStressTestCase 
> FAILED
> BUILD SUCCESSFUL
> Total time: 59 seconds
> The exception from the last run is:
> lock could not be acquired after 15000 ms. Lock map ownership Read lock 
> owners: [<null>:52]
> Write lock owner: null
> ; - nested throwable: (org.jboss.cache.lock.TimeoutException: lock could not 
> be acquired after 15000 ms. Lock map ownership Read lock owners: [<null>:52]
> Write lock owner: null
> )
> org.jboss.util.NestedRuntimeException: lock could not be acquired after 15000 
> ms. Lock map ownership Read lock owners: [<null>:52]
> Write lock owner: null
> ; - nested throwable: (org.jboss.cache.lock.TimeoutException: lock could not 
> be acquired after 15000 ms. Lock map ownership Read lock owners: [<null>:52]
> Write lock owner: null
> )
>         at org.jboss.cache.TreeCache.invokeMethod(TreeCache.java:3266)
>         at org.jboss.cache.TreeCache.put(TreeCache.java:1767)
>         at org.jboss.cache.TreeCache.put(TreeCache.java:1750)
>         at 
> org.jboss.test.cache.stress.EvictionLocalStressTestCase$RunThread.op3(EvictionLocalStressTestCase.java:231)
>         at 
> org.jboss.test.cache.stress.EvictionLocalStressTestCase$RunThread._run(EvictionLocalStressTestCase.java:188)
>         at 
> org.jboss.test.cache.stress.EvictionLocalStressTestCase$RunThread.run(EvictionLocalStressTestCase.java:169)
> Caused by: org.jboss.cache.lock.TimeoutException: lock could not be acquired 
> after 15000 ms. Lock map ownership Read lock owners: [<null>:52]
> Write lock owner: null
>         at 
> org.jboss.cache.lock.IdentityLock.acquireWriteLock(IdentityLock.java:146)
>         at org.jboss.cache.Node.acquireWriteLock(Node.java:422)
>         at org.jboss.cache.Node.acquire(Node.java:388)
>         at org.jboss.cache.TreeCache.findNode(TreeCache.java:3377)
>         at org.jboss.cache.TreeCache._put(TreeCache.java:2367)
>         at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source)
>         at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> I see the similar failures on a single proc winxp system with a pentium 4 
> with hyperthreading. 

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://jira.jboss.com/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira



-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
_______________________________________________
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to