See
http://hudson.qa.jboss.com/hudson/job/jbosscache-core-trunk-code-coverage...
Changes:
[manik.surtani(a)jboss.com] removed unused fields
[mircea.markus]
http://jira.jboss.com/jira/browse/JBCACHE-1363 - rollback: runtime
excpetion propagation to the user was rolledback, as it needs ample changes, and not sure
if I woun't break compatibility (users and API)
[mircea.markus]
http://jira.jboss.com/jira/browse/JBCACHE-1362
[mircea.markus]
http://jira.jboss.com/jira/browse/JBCACHE-1363
[mircea.markus] added unit test to reproduce error
[bstansberry(a)jboss.com] [JBCACHE-1362] Avoid IndexOutOfBoundsException
------------------------------------------
[...truncated 213341 lines...]
rolling back
first thread exits
second thread exits
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.666 sec
EMMA: runtime coverage data merged into
[/qa/services/hudson/hudson_workspace/workspace/jbosscache-core-trunk-code-coverage/coverage.ec]
{in 23 ms}
Running org.jboss.cache.eviction.LRUPolicyTest (of functional,unit)
EMMA: collecting runtime coverage data ...
-- wakeupInterval is 1000
-- nodes/locks: 22/4
-- nodes/locks: 2357/0
-- nodes/locks: 5805/0
-- nodes/locks: 9046/0
-- nodes/locks: 12733/0
-- nodes/locks: 16936/0
-- nodes/locks: 20500/0
-- nodes/locks: 24062/0
-- nodes/locks: 27504/0
-- nodes/locks: 30745/0
-- nodes/locks: 34858/0
-- wakeupInterval is 1000
REGIONS: Region RegionImpl{fqn=/test; classloader=null; status=ACTIVE; eviction=true;
timerThreadRegistered=true}
Region RegionImpl{fqn=/org/jboss/test/data; classloader=null; status=ACTIVE;
eviction=true; timerThreadRegistered=true}
-- sleeping for 1000ms
-- sleeping for 1000ms
-- sleeping for 1000ms
-- val=null
-- val=/org/jboss/test/data/7
-- sleeping for 7500ms
-- val=null
-- wakeupInterval is 1000
-- Sleeping for 10000
-- wakeupInterval is 1000
-- Marking as in-use
-- wakeupInterval is 1000
org.jboss.cache.DataContainerImpl [14 nodes, 0 locks]
org.jboss.cache.DataContainerImpl [9 nodes, 0 locks]
-- wakeupInterval is 1000
-- wakeupInterval is 1000
-- period is 1000
-- wakeupInterval is 1000
Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 61.152 sec
EMMA: runtime coverage data merged into
[/qa/services/hudson/hudson_workspace/workspace/jbosscache-core-trunk-code-coverage/coverage.ec]
{in 23 ms}
Running org.jboss.cache.multiplexer.ChannelInjectionPreferenceTest (of functional,unit)
EMMA: collecting runtime coverage data ...
-------------------------------------------------------
GMS: address is 127.0.0.1:56726
-------------------------------------------------------
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.193 sec
EMMA: runtime coverage data merged into
[/qa/services/hudson/hudson_workspace/workspace/jbosscache-core-trunk-code-coverage/coverage.ec]
{in 28 ms}
EMMA: collecting runtime coverage data ...
Running org.jboss.cache.transaction.IsolationLevelRepeatableReadTest (of functional,unit)
reader thread exits
writer thread exits
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.525 sec
EMMA: runtime coverage data merged into
[/qa/services/hudson/hudson_workspace/workspace/jbosscache-core-trunk-code-coverage/coverage.ec]
{in 23 ms}
Running org.jboss.cache.factories.InterceptorChainFactoryTest (of functional,unit)
EMMA: collecting runtime coverage data ...
testTxConfig interceptors are:
[org.jboss.cache.interceptors.InvocationContextInterceptor@13936e1,
org.jboss.cache.interceptors.TxInterceptor@141fab6,
org.jboss.cache.interceptors.NotificationInterceptor@b301f2,
org.jboss.cache.interceptors.PessimisticLockInterceptor@44cbbe,
org.jboss.cache.interceptors.CallInterceptor@9c2715]
testBareConfig interceptors are:
[org.jboss.cache.interceptors.InvocationContextInterceptor@1124746,
org.jboss.cache.interceptors.TxInterceptor@105691e,
org.jboss.cache.interceptors.NotificationInterceptor@383118,
org.jboss.cache.interceptors.PessimisticLockInterceptor@11f23e5,
org.jboss.cache.interceptors.CallInterceptor@16dc861]
testEvictionInterceptorConfig interceptors are:
[org.jboss.cache.interceptors.InvocationContextInterceptor@b1cd0,
org.jboss.cache.interceptors.CacheMgmtInterceptor@190a0d6,
org.jboss.cache.interceptors.OptimisticTxInterceptor@2f729e,
org.jboss.cache.interceptors.NotificationInterceptor@10deb5f,
org.jboss.cache.interceptors.OptimisticReplicationInterceptor@d7b7d9,
org.jboss.cache.interceptors.DataGravitatorInterceptor@671f95,
org.jboss.cache.interceptors.OptimisticLockingInterceptor@4a9a7d,
org.jboss.cache.interceptors.OptimisticValidatorInterceptor@1e4a47e,
org.jboss.cache.interceptors.OptimisticCreateIfNotExistsInterceptor@1eb5666,
org.jboss.cache.interceptors.OptimisticNodeInterceptor@1754699,
org.jboss.cache.interceptors.CallInterceptor@6e1dec]
testEvictionInterceptorConfig interceptors are:
[org.jboss.cache.interceptors.InvocationContextInterceptor@b1a4e2,
org.jboss.cache.interceptors.CacheMgmtInterceptor@c00025,
org.jboss.cache.interceptors.TxInterceptor@149a794,
org.jboss.cache.interceptors.NotificationInterceptor@9903f4,
org.jboss.cache.interceptors.PessimisticLockInterceptor@1d2b9b7,
org.jboss.cache.interceptors.EvictionInterceptor@19ecd80,
org.jboss.cache.interceptors.CallInterceptor@c5aa00]
testEvictionInterceptorConfig interceptors are:
[org.jboss.cache.interceptors.InvocationContextInterceptor@d1e7c2,
org.jboss.cache.interceptors.CacheMgmtInterceptor@c68a98,
org.jboss.cache.interceptors.TxInterceptor@b51404,
org.jboss.cache.interceptors.NotificationInterceptor@354749,
org.jboss.cache.interceptors.ReplicationInterceptor@1db484d,
org.jboss.cache.interceptors.PessimisticLockInterceptor@167d7fb,
org.jboss.cache.interceptors.DataGravitatorInterceptor@94cb8b,
org.jboss.cache.interceptors.CallInterceptor@bf1d3b]
testTxAndRepl interceptors are:
[org.jboss.cache.interceptors.InvocationContextInterceptor@6e8f94,
org.jboss.cache.interceptors.TxInterceptor@943dc4,
org.jboss.cache.interceptors.NotificationInterceptor@633d51,
org.jboss.cache.interceptors.ReplicationInterceptor@14eaec9,
org.jboss.cache.interceptors.PessimisticLockInterceptor@b533b8,
org.jboss.cache.interceptors.CallInterceptor@569c60]
testUnsharedCacheLoaderConfig interceptors are:
[org.jboss.cache.interceptors.InvocationContextInterceptor@2b249,
org.jboss.cache.interceptors.TxInterceptor@106daba,
org.jboss.cache.interceptors.NotificationInterceptor@1021f34,
org.jboss.cache.interceptors.ReplicationInterceptor@4eb043,
org.jboss.cache.interceptors.PessimisticLockInterceptor@163956,
org.jboss.cache.interceptors.CacheLoaderInterceptor@10e434d,
org.jboss.cache.interceptors.CacheStoreInterceptor@16477d9,
org.jboss.cache.interceptors.CallInterceptor@f864fe]
testCacheMgmtConfig interceptors are:
[org.jboss.cache.interceptors.InvocationContextInterceptor@c3e82b,
org.jboss.cache.interceptors.CacheMgmtInterceptor@1bf7b23,
org.jboss.cache.interceptors.TxInterceptor@2d7440,
org.jboss.cache.interceptors.NotificationInterceptor@2b349d,
org.jboss.cache.interceptors.PessimisticLockInterceptor@8b567c,
org.jboss.cache.interceptors.CallInterceptor@1dafbaf]
testSharedCacheLoaderConfig interceptors are:
[org.jboss.cache.interceptors.InvocationContextInterceptor@108f8e0,
org.jboss.cache.interceptors.TxInterceptor@b6ef8,
org.jboss.cache.interceptors.NotificationInterceptor@a29c6e,
org.jboss.cache.interceptors.ReplicationInterceptor@1cc0a7f,
org.jboss.cache.interceptors.PessimisticLockInterceptor@c52200,
org.jboss.cache.interceptors.CacheLoaderInterceptor@3b4b1e,
org.jboss.cache.interceptors.CacheStoreInterceptor@c0a9f9,
org.jboss.cache.interceptors.CallInterceptor@d72200]
Tests run: 14, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.261 sec
EMMA: runtime coverage data merged into
[/qa/services/hudson/hudson_workspace/workspace/jbosscache-core-trunk-code-coverage/coverage.ec]
{in 11 ms}
Running org.jboss.cache.transaction.SuspendTxTest (of functional,unit)
EMMA: collecting runtime coverage data ...
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.838 sec
EMMA: runtime coverage data merged into
[/qa/services/hudson/hudson_workspace/workspace/jbosscache-core-trunk-code-coverage/coverage.ec]
{in 10 ms}
EMMA: collecting runtime coverage data ...
Running org.jboss.cache.mgmt.PassivationTest (of functional,unit)
count of misses 0
DummyInMemoryCacheLoader debug: Getting data for fqn /Europe/Austria = null
DummyInMemoryCacheLoader debug: Performing exists() on /Europe/Austria
DummyInMemoryCacheLoader debug: Getting data for fqn /Europe/Poland = null
DummyInMemoryCacheLoader debug: Did a put on /Europe/Austria, data is
{population=8184691, currency=Euro, capital=VIENNA}
DummyInMemoryCacheLoader debug: Getting data for fqn /Europe/Austria =
{population=8184691, currency=Euro, capital=VIENNA}
DummyInMemoryCacheLoader debug: Performing exists() on /Europe/Austria
DummyInMemoryCacheLoader debug: Calling getChildrenNames on Fqn /Europe/Austria. Data
map = {/Europe=Node{data={}, fqn=/Europe}, /=Node{data={}, fqn=/},
/Europe/Austria=Node{data={population=8184691, currency=Euro, capital=VIENNA},
fqn=/Europe/Austria}}
DummyInMemoryCacheLoader debug: Fqn /Europe/Austria has children []
DummyInMemoryCacheLoader debug: Removing fqn /Europe/Austria
DummyInMemoryCacheLoader debug: Performing exists() on /Europe/Austria
DummyInMemoryCacheLoader debug: Removing fqn /Europe/Austria
DummyInMemoryCacheLoader debug: Performing exists() on /Europe/Austria
DummyInMemoryCacheLoader debug: Getting data for fqn /Europe/Austria = null
DummyInMemoryCacheLoader debug: Getting data for fqn /Europe/Austria = null
DummyInMemoryCacheLoader debug: Getting data for fqn /Europe/Poland = null
DummyInMemoryCacheLoader debug: Performing exists() on /Europe/Poland
DummyInMemoryCacheLoader debug: Performing exists() on /Europe/Poland
DummyInMemoryCacheLoader debug: Did a put on /Europe/Poland, data is {currency=Zloty,
capital=Warsaw}
DummyInMemoryCacheLoader debug: Getting data for fqn /Europe/Poland = {currency=Zloty,
capital=Warsaw}
DummyInMemoryCacheLoader debug: Performing exists() on /Europe/Poland
DummyInMemoryCacheLoader debug: Calling getChildrenNames on Fqn /Europe/Poland. Data map
= {/Europe/Poland=Node{data={currency=Zloty, capital=Warsaw}, fqn=/Europe/Poland},
/Europe=Node{data={}, fqn=/Europe}, /=Node{data={}, fqn=/}}
DummyInMemoryCacheLoader debug: Fqn /Europe/Poland has children []
DummyInMemoryCacheLoader debug: Removing fqn /Europe/Poland
DummyInMemoryCacheLoader debug: Did a put on /Europe/Poland, data is {currency=Zloty,
capital=Warsaw}
DummyInMemoryCacheLoader debug: Getting data for fqn /Europe/Poland = {currency=Zloty,
capital=Warsaw}
DummyInMemoryCacheLoader debug: Performing exists() on /Europe/Poland
DummyInMemoryCacheLoader debug: Calling getChildrenNames on Fqn /Europe/Poland. Data map
= {/Europe/Poland=Node{data={currency=Zloty, capital=Warsaw}, fqn=/Europe/Poland},
/Europe=Node{data={}, fqn=/Europe}, /=Node{data={}, fqn=/}}
DummyInMemoryCacheLoader debug: Fqn /Europe/Poland has children []
DummyInMemoryCacheLoader debug: Removing fqn /Europe/Poland
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.62 sec
EMMA: runtime coverage data merged into
[/qa/services/hudson/hudson_workspace/workspace/jbosscache-core-trunk-code-coverage/coverage.ec]
{in 12 ms}
Running org.jboss.cache.CacheFactoryTest (of functional,unit)
EMMA: collecting runtime coverage data ...
-------------------------------------------------------
GMS: address is 127.0.0.1:56726
-------------------------------------------------------
-------------------------------------------------------
GMS: address is 127.0.0.1:56727
-------------------------------------------------------
-------------------------------------------------------
GMS: address is 127.0.0.1:56728
-------------------------------------------------------
-------------------------------------------------------
GMS: address is 127.0.0.1:56729
-------------------------------------------------------
-------------------------------------------------------
GMS: address is 127.0.0.1:56730
-------------------------------------------------------
Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 12.627 sec
EMMA: runtime coverage data merged into
[/qa/services/hudson/hudson_workspace/workspace/jbosscache-core-trunk-code-coverage/coverage.ec]
{in 22 ms}
Running org.jboss.cache.eviction.ElementSizeAlgorithmTest (of functional,unit)
EMMA: collecting runtime coverage data ...
Fqn: /a/b/6 CreateTime: 1213295122106 NodeVisits: 7 ModifiedTime: 1213295122105
NumberOfElements: 6 CurrentlyInUse: false
Fqn: /a/b/4 CreateTime: 1213295122106 NodeVisits: 5 ModifiedTime: 1213295122105
NumberOfElements: 4 CurrentlyInUse: false
Fqn: /a/b/2 CreateTime: 1213295122106 NodeVisits: 3 ModifiedTime: 1213295122105
NumberOfElements: 2 CurrentlyInUse: false
Fqn: /a/b/0 CreateTime: 1213295122106 NodeVisits: 1 ModifiedTime: 1213295122105
NumberOfElements: 0 CurrentlyInUse: false
Fqn: /a/b/1 CreateTime: 1213295122106 NodeVisits: 1 ModifiedTime: 1213295122105
NumberOfElements: 0 CurrentlyInUse: false
Fqn: /a/b/3 CreateTime: 1213295122106 NodeVisits: 1 ModifiedTime: 1213295122105
NumberOfElements: 0 CurrentlyInUse: false
Fqn: /a/b/5 CreateTime: 1213295122106 NodeVisits: 1 ModifiedTime: 1213295122105
NumberOfElements: 0 CurrentlyInUse: false
Fqn: /a/b/7 CreateTime: 1213295122106 NodeVisits: 1 ModifiedTime: 1213295122105
NumberOfElements: 0 CurrentlyInUse: false
Fqn: /a/b/9 CreateTime: 1213295122106 NodeVisits: 1 ModifiedTime: 1213295122106
NumberOfElements: 0 CurrentlyInUse: false
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.279 sec
EMMA: runtime coverage data merged into
[/qa/services/hudson/hudson_workspace/workspace/jbosscache-core-trunk-code-coverage/coverage.ec]
{in 13 ms}
Running org.jboss.cache.eviction.LFUPolicyTest (of functional,unit)
EMMA: collecting runtime coverage data ...
-- wakeupInterval is 3000
-- sleeping for 3500ms
-- wakeupInterval is 3000
-- nodes/locks: 81/7
-- nodes/locks: 1651/0
-- nodes/locks: 4852/0
-- nodes/locks: 8060/0
-- nodes/locks: 10947/0
-- nodes/locks: 14345/0
-- nodes/locks: 17759/0
-- nodes/locks: 21564/0
-- nodes/locks: 25581/0
-- nodes/locks: 30188/0
-- nodes/locks: 35640/0
-- wakeupInterval is 3000
-- wakeupInterval is 3000
-- period is 3500
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 38.131 sec
EMMA: runtime coverage data merged into
[/qa/services/hudson/hudson_workspace/workspace/jbosscache-core-trunk-code-coverage/coverage.ec]
{in 11 ms}
EMMA: collecting runtime coverage data ...
Running org.jboss.cache.optimistic.NodeInterceptorRemoveKeyValTest (of functional,unit)
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.884 sec
EMMA: runtime coverage data merged into
[/qa/services/hudson/hudson_workspace/workspace/jbosscache-core-trunk-code-coverage/coverage.ec]
{in 10 ms}
Running org.jboss.cache.loader.SharedCacheLoaderTest (of functional,unit)
EMMA: collecting runtime coverage data ...
-------------------------------------------------------
GMS: address is 127.0.0.1:56726
-------------------------------------------------------
-------------------------------------------------------
GMS: address is 127.0.0.1:56727
-------------------------------------------------------
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 22.409 sec
EMMA: runtime coverage data merged into
[/qa/services/hudson/hudson_workspace/workspace/jbosscache-core-trunk-code-coverage/coverage.ec]
{in 25 ms}
EMMA: collecting runtime coverage data ...
Running org.jboss.cache.loader.PreloadTest (of functional,unit)
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.896 sec
Results :
Failed tests:
Tests run: 2742, Failures: 7, Errors: 0, Skipped: 0
EMMA: runtime coverage data merged into
[/qa/services/hudson/hudson_workspace/workspace/jbosscache-core-trunk-code-coverage/coverage.ec]
{in 12 ms}
[ERROR] There are test failures.
[HUDSON] Recording test results
[INFO] [emma:emma]
[INFO] EMMA: processing input files ...
[INFO] EMMA: 2 file(s) read and merged in 576 ms
[INFO] EMMA: writing [html] report to
[/qa/services/hudson/hudson_workspace/workspace/jbosscache-core-trunk-code-coverage/target/site/emma/index.html]
...
[INFO] EMMA: writing [xml] report to
[/qa/services/hudson/hudson_workspace/workspace/jbosscache-core-trunk-code-coverage/target/site/emma/coverage.xml]
...
[INFO] Preparing findbugs:findbugs
[INFO] [enforcer:enforce {execution: enforce-java}]
[INFO] [resources:resources]
[INFO] Using default encoding to copy filtered resources.
[INFO] [compiler:compile]
[INFO] Nothing to compile - all classes are up to date
[WARNING] Attempting to build MavenProject instance for Artifact
(org.codehaus.mojo:findbugs-maven-plugin:2.0-20080529.025544-5) of type: maven-plugin;
constructing POM artifact instead.
[INFO] [findbugs:findbugs]
[INFO] resourceManager outputDirectory is
/home/hudson/hudson_workspace/workspace/jbosscache-core-trunk-code-coverage/target
[INFO] No effort provided, using default effort.
[INFO] No threshold provided, using default threshold.
[INFO] Using FindBugs Version: 1.3.2
[INFO] No threshold provided, using default threshold.
[INFO] No threshold provided, using default threshold.
[INFO] Using the xdoc format
[INFO] No effort provided, using default effort.
[INFO] No threshold provided, using default threshold.
[INFO] No threshold provided, using default threshold.
[INFO] Debugging is Off
[INFO] No bug include filter.
[INFO] No bug exclude filter.
[INFO] classScreener.addAllowedPackage org.jboss.cache.
[INFO] Printing Errors
[INFO] Printing Missing classes
[INFO] Printing Source Roots
Activating parser for maven-findbugs-plugin <= 1.1.1.
Successfully parsed findbugs file
/home/hudson/hudson_workspace/workspace/jbosscache-core-trunk-code-coverage/./target/findbugs.xml
of module . with 24 warnings.
[HUDSON] Archiving
/home/hudson/hudson_workspace/workspace/jbosscache-core-trunk-code-coverage/./pom.xml
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Internal error in the plugin manager executing goal
'org.codehaus.mojo:findbugs-maven-plugin:2.0-SNAPSHOT:findbugs': Remote call
failed
[INFO] ------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 351 minutes 46 seconds
[INFO] Finished at: Thu Jun 12 14:27:57 EDT 2008
[INFO] Final Memory: 58M/151M
[INFO] ------------------------------------------------------------------------
Waiting for Hudson to finish collecting data