4.0 testsuite failures
----------------------

         Key: JBCACHE-15
         URL: http://jira.jboss.com/jira/browse/JBCACHE-15
     Project: JBoss Cache
        Type: Bug
    Versions: 1.2    
 Environment: Current 4.0 branch after JBossCache 1.2 codebase merge
    Reporter: Scott M Stark
 Assigned to: Bela Ban 
    Priority: Blocker


Running the cache package unit tests from the testsuite module is showing a 
failure in the org.jboss.test.cache.test.local.TxUnitTestCase:

[EMAIL PROTECTED] testsuite]$ ant -Dtest=cache -Dnojars=t test
Buildfile: build.xml
Overriding previous definition of reference to xdoclet.task.classpath

test:
   [delete] Deleting: C:\cvs\JBoss4.0\jboss-4.0\testsuite\output\log\test.log
    [junit] Running org.jboss.test.cache.bean.MBeanUnitTestCase
    [junit] Tests run: 5, Failures: 0, Errors: 0, Time elapsed: 2.016 sec
    [junit] Running org.jboss.test.cache.perf.basic.LocalMapPerfTestCase
    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 1.703 sec
    [junit] Running org.jboss.test.cache.perf.basic.LocalPerfTestCase
    [junit] Tests run: 3, Failures: 0, Errors: 0, Time elapsed: 2.032 sec
    [junit] Running 
org.jboss.test.cache.perf.basic.ReplicatedAsyncMapPerfTestCase
    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 10 sec
    [junit] Running org.jboss.test.cache.perf.basic.ReplicatedAsyncPerfTestCase
    [junit] Tests run: 8, Failures: 0, Errors: 0, Time elapsed: 45.266 sec
    [junit] Running 
org.jboss.test.cache.perf.basic.ReplicatedSyncMapPerfTestCase
    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 9.593 sec
    [junit] Running org.jboss.test.cache.perf.basic.ReplicatedSyncPerfTestCase
    [junit] Tests run: 5, Failures: 0, Errors: 0, Time elapsed: 29.234 sec
    [junit] Running org.jboss.test.cache.stress.EvictionLocalStressTestCase
    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 30.953 sec
    [junit] Running org.jboss.test.cache.stress.LocalStressTestCase
    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 21.719 sec
    [junit] Running 
org.jboss.test.cache.stress.ReadWriteLockWithUpgradeStressTestCase
    [junit] Tests run: 4, Failures: 0, Errors: 0, Time elapsed: 74.453 sec
    [junit] Running org.jboss.test.cache.test.aop.MBeanUnitTestCase
    [junit] Tests run: 3, Failures: 0, Errors: 0, Time elapsed: 1.953 sec
    [junit] Running org.jboss.test.cache.test.eviction.AopLRUPolicyUnitTestCase
    [junit] Tests run: 3, Failures: 0, Errors: 0, Time elapsed: 62.188 sec
    [junit] Running 
org.jboss.test.cache.test.eviction.ConcurrentEvictAndRemoveTestCase
    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 28.516 sec
    [junit] Running org.jboss.test.cache.test.eviction.LRUAlgorithmUnitTestCase
    [junit] Tests run: 7, Failures: 0, Errors: 0, Time elapsed: 11.375 sec
    [junit] Running org.jboss.test.cache.test.eviction.LRUPolicyUnitTestCase
    [junit] Tests run: 4, Failures: 0, Errors: 0, Time elapsed: 70.797 sec
    [junit] Running org.jboss.test.cache.test.eviction.RegionManagerUnitTestCase
    [junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 1.531 sec
    [junit] Running org.jboss.test.cache.test.eviction.RegionUnitTestCase
    [junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 1.187 sec
    [junit] Running 
org.jboss.test.cache.test.eviction.ReplicatedLRUPolicyUnitTestCase
    [junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 31.156 sec
    [junit] Running org.jboss.test.cache.test.generic.FqnUnitTestCase
    [junit] Tests run: 8, Failures: 0, Errors: 0, Time elapsed: 1.094 sec
    [junit] Running 
org.jboss.test.cache.test.generic.GlobalTransactionUnitTestCase
    [junit] Tests run: 3, Failures: 0, Errors: 0, Time elapsed: 1.141 sec
    [junit] Running org.jboss.test.cache.test.generic.IdentityLockUnitTestCase
    [junit] Tests run: 10, Failures: 0, Errors: 0, Time elapsed: 2.953 sec
    [junit] Running org.jboss.test.cache.test.generic.LockMapUnitTestCase
    [junit] Tests run: 3, Failures: 0, Errors: 0, Time elapsed: 0.593 sec
    [junit] Running org.jboss.test.cache.test.generic.LockUnitTestCase
    [junit] Tests run: 4, Failures: 0, Errors: 0, Time elapsed: 4.954 sec
    [junit] Running 
org.jboss.test.cache.test.generic.NonBlockingWriterLockUnitTestCase
    [junit] Tests run: 11, Failures: 0, Errors: 0, Time elapsed: 8.829 sec
    [junit] Running 
org.jboss.test.cache.test.generic.PropertyConfiguratorUnitTestCase
    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 1.688 sec
    [junit] Running 
org.jboss.test.cache.test.generic.ReadWriteLockWithUpgradeUnitTestCase
    [junit] Tests run: 11, Failures: 0, Errors: 0, Time elapsed: 8.844 sec
    [junit] Running 
org.jboss.test.cache.test.local.ConcurrentTransactionalUnitTestCase
    [junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 3.719 sec
    [junit] Running org.jboss.test.cache.test.local.CrudMethodUnitTestCase
    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 1.312 sec
    [junit] Running org.jboss.test.cache.test.local.LockReleaseUnitTestCase
    [junit] Tests run: 11, Failures: 0, Errors: 0, Time elapsed: 0.547 sec
    [junit] Running org.jboss.test.cache.test.local.NoTxUnitTestCase
    [junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 1.391 sec
    [junit] Running org.jboss.test.cache.test.local.TxConcurrentBankUnitTestCase
    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 2.36 sec
    [junit] Running org.jboss.test.cache.test.local.TxUnitTestCase
    [junit] Tests run: 16, Failures: 1, Errors: 0, Time elapsed: 1.625 sec
    [junit] Test org.jboss.test.cache.test.local.TxUnitTestCase FAILED
    [junit] Running org.jboss.test.cache.test.local.UpgradeLockUnitTestCase
    [junit] Tests run: 5, Failures: 0, Errors: 0, Time elapsed: 1.546 sec
    [junit] Running org.jboss.test.cache.test.replicated.AsyncUnitTestCase
    [junit] Tests run: 4, Failures: 0, Errors: 0, Time elapsed: 28.313 sec
    [junit] Running org.jboss.test.cache.test.replicated.SyncTxUnitTestCase
    [junit] Tests run: 9, Failures: 0, Errors: 0, Time elapsed: 61.703 sec
    [junit] Running 
org.jboss.test.cache.test.standAloneAop.LocalConcurrentTestCase
    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 22.797 sec

BUILD SUCCESSFUL
Total time: 10 minutes 27 seconds

The failure message and test stderr are:

  <testcase classname="org.jboss.test.cache.test.local.TxUnitTestCase" 
name="testPutDataRollback1" time="0.016">
    <failure message="junit.framework.AssertionFailedError: map should be null" 
type="junit.framework.AssertionFailedError">junit.framework.AssertionFailedError:
 junit.framework.AssertionFailedError: map should be null
        at 
org.jboss.test.cache.test.local.TxUnitTestCase.testPutDataRollback1(TxUnitTestCase.java:323)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
</failure>
  </testcase>

  <system-err><![CDATA[junit.framework.AssertionFailedError: map should be null
        at junit.framework.Assert.fail(Assert.java:47)
        at junit.framework.Assert.assertTrue(Assert.java:20)
        at junit.framework.Assert.assertNull(Assert.java:233)
        at 
org.jboss.test.cache.test.local.TxUnitTestCase.testPutDataRollback1(TxUnitTestCase.java:319)
        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)
]]></system-err>

This needs to be resolved for the 4.0.1 release.


-- 
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