2 Replies Latest reply on Jan 24, 2006 4:32 PM by Tim Biernat

    1.2.4 unit tests failing on winxp

    Tim Biernat Newbie

      hi folks,

      i have downloaded the 1.2.3, 1.2.4 and 1.2.4 SP1 distros, and attempted to execute the run.aop.batch task under winxp sp2 using sun jdk 1.5.0_4.

      in all cases i see errors in repl and aop tests. i tried changing the loopback attribute per the windows instruction, but it did not help. below is an example of ant task output i see from 1.2.4 distro.

      have i misssed something here? my own code exmples also fail for simple aop repl scenarios.

      thx in advance,
      tim

      
      C:\temp\JBossCache-1.2.4>build.bat run.aop.batch
      Buildfile: build.xml
      
      generateClassLoader:
      
      init:
      
      compile:
      
      run.aop.batch:
       [junit] Running org.jboss.cache.aop.LocalAopTest
       [junit] Tests run: 14, Failures: 0, Errors: 0, Time elapsed: 1.562 sec
       [junit] Running org.jboss.cache.aop.LocalConcurrentTest
       [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 16.003 sec
       [junit] Running org.jboss.cache.aop.LocalEvictionAopTest
       [junit] Tests run: 3, Failures: 0, Errors: 0, Time elapsed: 13.96 sec
       [junit] Running org.jboss.cache.aop.NewLocalAopTest
       [junit] Tests run: 3, Failures: 0, Errors: 0, Time elapsed: 0.971 sec
       [junit] Running org.jboss.cache.aop.NewReplicatedAopTest
       [junit] Tests run: 3, Failures: 0, Errors: 3, Time elapsed: 15.953 sec
       [junit] Test org.jboss.cache.aop.NewReplicatedAopTest FAILED
       [junit] Running org.jboss.cache.aop.NonAspectizedAopTest
       [junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 0.761 sec
       [junit] Running org.jboss.cache.aop.ObjectGraphAopTest
       [junit] Tests run: 9, Failures: 0, Errors: 0, Time elapsed: 1.282 sec
       [junit] Running org.jboss.cache.aop.RecursiveRefAopTest
       [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0.871 sec
       [junit] Running org.jboss.cache.aop.ReplicatedAopTest
       [junit] Tests run: 6, Failures: 0, Errors: 4, Time elapsed: 27.049 sec
       [junit] Test org.jboss.cache.aop.ReplicatedAopTest FAILED
       [junit] Running org.jboss.cache.aop.ReplicatedObjectGraphAopTest
       [junit] Tests run: 8, Failures: 0, Errors: 7, Time elapsed: 35.05 sec
       [junit] Test org.jboss.cache.aop.ReplicatedObjectGraphAopTest FAILED
       [junit] Running org.jboss.cache.aop.ReplicatedTxAopTest
       [junit] Tests run: 4, Failures: 0, Errors: 3, Time elapsed: 22.372 sec
       [junit] Test org.jboss.cache.aop.ReplicatedTxAopTest FAILED
       [junit] Running org.jboss.cache.aop.SharedRefConcurrentTest
       [junit] Tests run: 2, Failures: 1, Errors: 0, Time elapsed: 65.224 sec
       [junit] Test org.jboss.cache.aop.SharedRefConcurrentTest FAILED
       [junit] Running org.jboss.cache.aop.StateTransferAopTest
       [junit] Tests run: 8, Failures: 1, Errors: 0, Time elapsed: 71.653 sec
       [junit] Test org.jboss.cache.aop.StateTransferAopTest FAILED
       [junit] Running org.jboss.cache.aop.collection.CachedListAopTest
       [junit] Tests run: 7, Failures: 0, Errors: 0, Time elapsed: 1.201 sec
       [junit] Running org.jboss.cache.aop.collection.CachedListImplAopTest
       [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0.691 sec
       [junit] Running org.jboss.cache.aop.collection.CachedMapAopTest
       [junit] Tests run: 9, Failures: 0, Errors: 0, Time elapsed: 1.262 sec
       [junit] Running org.jboss.cache.aop.collection.CachedSetAopTest
       [junit] Tests run: 7, Failures: 0, Errors: 0, Time elapsed: 1.161 sec
       [junit] Running org.jboss.cache.aop.collection.CollectionAopTest
       [junit] Tests run: 3, Failures: 0, Errors: 0, Time elapsed: 1.052 sec
       [junit] Running org.jboss.cache.aop.collection.ObjectGraphAopTest
       [junit] Tests run: 9, Failures: 0, Errors: 0, Time elapsed: 1.142 sec
       [junit] Running org.jboss.cache.aop.collection.ReplicatedObjectGraphAopTest
       [junit] Tests run: 7, Failures: 0, Errors: 6, Time elapsed: 30.554 sec
       [junit] Test org.jboss.cache.aop.collection.ReplicatedObjectGraphAopTest FAILED
       [junit] Running org.jboss.cache.aop.integrated.NetworkManagementAopTest
       [junit] Tests run: 5, Failures: 0, Errors: 0, Time elapsed: 11.927 sec
       [junit] Running org.jboss.cache.aop.integrated.PropagationManagerlAopTest
       [junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 1.092 sec
       [junit] Running org.jboss.cache.aop.integrated.ReplicatedNetworkManagementAopTest
       [junit] Tests run: 3, Failures: 0, Errors: 3, Time elapsed: 14.041 sec
       [junit] Test org.jboss.cache.aop.integrated.ReplicatedNetworkManagementAopTest FAILED
       [junit] Running org.jboss.cache.aop.integrated.ReplicatedPropagationManagerlAopTest
       [junit] Tests run: 2, Failures: 0, Errors: 2, Time elapsed: 9.894 sec
       [junit] Test org.jboss.cache.aop.integrated.ReplicatedPropagationManagerlAopTest FAILED
       [junit] Running org.jboss.cache.aop.loader.FileCacheLoaderAopTest
       [junit] Tests run: 3, Failures: 0, Errors: 0, Time elapsed: 1.092 sec
       [junit] Running org.jboss.cache.aop.loader.FileCacheLoaderObjectGraphAopTest
       [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 1.062 sec
       [junit] Running org.jboss.cache.aop.statetransfer.StateTransfer1241AopTest
       [junit] Tests run: 8, Failures: 1, Errors: 0, Time elapsed: 71.813 sec
       [junit] Test org.jboss.cache.aop.statetransfer.StateTransfer1241AopTest FAILED
       [junit] Running org.jboss.cache.aop.statetransfer.StateTransfer124AopTest
       [junit] Tests run: 8, Failures: 1, Errors: 0, Time elapsed: 71.723 sec
       [junit] Test org.jboss.cache.aop.statetransfer.StateTransfer124AopTest FAILED
       [junit] Running org.jboss.cache.aop.util.ObjectUtilAopTest
       [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0.872 sec
      [junitreport] Transform time: 992ms
      
      BUILD SUCCESSFUL
      Total time: 8 minutes 41 seconds
      
      


        • 1. Re: 1.2.4 unit tests failing on winxp
          Ben Wang Master

          How about the generic cache testsuite instead? Do you see the repl failure?

          • 2. Re: 1.2.4 unit tests failing on winxp
            Tim Biernat Newbie

            yes, some repl failures reported:


            
            C:\tools\jboss\cache\JBossCache-1.2.4>build.bat run.batch
            Buildfile: build.xml
            
            init:
            
            compile:
            
            run.batch:
             [junit] Running org.jboss.cache.CallbackTest
             [junit] Tests run: 5, Failures: 0, Errors: 0, Time elapsed: 0.381 sec
             [junit] Running org.jboss.cache.CrudMethodTest
             [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0.231 sec
             [junit] Running org.jboss.cache.FqnTest
             [junit] Tests run: 19, Failures: 0, Errors: 0, Time elapsed: 0.2 sec
             [junit] Running org.jboss.cache.GetKeysTest
             [junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 0.31 sec
             [junit] Running org.jboss.cache.GlobalTransactionTest
             [junit] Tests run: 5, Failures: 0, Errors: 0, Time elapsed: 0.21 sec
             [junit] Running org.jboss.cache.InterceptorConfigurationTest
             [junit] Tests run: 5, Failures: 0, Errors: 0, Time elapsed: 3.746 sec
             [junit] Running org.jboss.cache.LifeCycleTest
             [junit] Tests run: 4, Failures: 0, Errors: 0, Time elapsed: 0.281 sec
             [junit] Running org.jboss.cache.PropertyConfiguratorTest
             [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0.301 sec
             [junit] Running org.jboss.cache.TreeCacheFunctionalTest
             [junit] Tests run: 9, Failures: 0, Errors: 0, Time elapsed: 0.821 sec
             [junit] Running org.jboss.cache.TreeCacheListenerTest
             [junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 0.351 sec
             [junit] Running org.jboss.cache.TreeNodeTest
             [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0.27 sec
             [junit] Running org.jboss.cache.eviction.AopLRUPolicyTest
             [junit] Tests run: 3, Failures: 0, Errors: 0, Time elapsed: 61.388 sec
             [junit] Running org.jboss.cache.eviction.LRUAlgorithmTest
             [junit] Tests run: 9, Failures: 0, Errors: 0, Time elapsed: 20.77 sec
             [junit] Running org.jboss.cache.eviction.LRUPolicyTest
             [junit] Tests run: 4, Failures: 0, Errors: 0, Time elapsed: 67.538 sec
             [junit] Running org.jboss.cache.eviction.RegionManagerTest
             [junit] Tests run: 6, Failures: 0, Errors: 0, Time elapsed: 0.661 sec
             [junit] Running org.jboss.cache.eviction.RegionTest
             [junit] Tests run: 3, Failures: 0, Errors: 0, Time elapsed: 0.561 sec
             [junit] Running org.jboss.cache.eviction.ReplicatedAopLRUPolicyTest
             [junit] Tests run: 3, Failures: 3, Errors: 0, Time elapsed: 38.996 sec
             [junit] Test org.jboss.cache.eviction.ReplicatedAopLRUPolicyTest FAILED
             [junit] Running org.jboss.cache.eviction.ReplicatedLRUPolicyTest
             [junit] Tests run: 2, Failures: 2, Errors: 0, Time elapsed: 28.872 sec
             [junit] Test org.jboss.cache.eviction.ReplicatedLRUPolicyTest FAILED
             [junit] Running org.jboss.cache.loader.DataSourceIntegrationTest
             [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0.721 sec
             [junit] Running org.jboss.cache.loader.FileCacheLoaderTest
             [junit] Tests run: 45, Failures: 0, Errors: 0, Time elapsed: 4.997 sec
             [junit] Running org.jboss.cache.loader.FileExtendedCacheLoaderTest
             [junit] Tests run: 46, Failures: 0, Errors: 0, Time elapsed: 4.476 sec
             [junit] Running org.jboss.cache.loader.LocalDelegatingCacheLoaderTest
             [junit] Tests run: 45, Failures: 0, Errors: 0, Time elapsed: 0.611 sec
             [junit] Running org.jboss.cache.loader.TxCacheLoaderTest
             [junit] Tests run: 4, Failures: 2, Errors: 0, Time elapsed: 10.845 sec
             [junit] Test org.jboss.cache.loader.TxCacheLoaderTest FAILED
             [junit] Running org.jboss.cache.lock.AcquireAllTest
             [junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 2.914 sec
             [junit] Running org.jboss.cache.lock.IdentityLockTest
             [junit] Tests run: 12, Failures: 0, Errors: 0, Time elapsed: 4.897 sec
             [junit] Running org.jboss.cache.lock.LockMapTest
             [junit] Tests run: 3, Failures: 0, Errors: 0, Time elapsed: 0.05 sec
             [junit] Running org.jboss.cache.lock.LockReleaseTest
             [junit] Tests run: 11, Failures: 0, Errors: 0, Time elapsed: 0.431 sec
             [junit] Running org.jboss.cache.lock.LockTest
             [junit] Tests run: 5, Failures: 1, Errors: 0, Time elapsed: 5.267 sec
             [junit] Test org.jboss.cache.lock.LockTest FAILED
             [junit] Running org.jboss.cache.lock.NonBlockingWriterLockTest
             [junit] Tests run: 11, Failures: 0, Errors: 0, Time elapsed: 9.043 sec
             [junit] Running org.jboss.cache.lock.ReadWriteLockTest
             [junit] Tests run: 4, Failures: 0, Errors: 0, Time elapsed: 1.672 sec
             [junit] Running org.jboss.cache.lock.ReadWriteLockWithUpgradeTest
             [junit] Tests run: 11, Failures: 0, Errors: 0, Time elapsed: 8.903 sec
             [junit] Running org.jboss.cache.lock.ReentrantWriterPreferenceReadWriteLockTest
             [junit] Tests run: 11, Failures: 1, Errors: 0, Time elapsed: 15.482 sec
             [junit] Test org.jboss.cache.lock.ReentrantWriterPreferenceReadWriteLockTest FAILED
             [junit] Running org.jboss.cache.lock.UpgradeLockTest
             [junit] Tests run: 7, Failures: 0, Errors: 0, Time elapsed: 0.651 sec
             [junit] Running org.jboss.cache.marshall.ActiveInactiveTest
             [junit] Tests run: 5, Failures: 0, Errors: 0, Time elapsed: 0.301 sec
             [junit] Running org.jboss.cache.marshall.AsyncReplTest
             [junit] Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 0 sec
             [junit] Test org.jboss.cache.marshall.AsyncReplTest FAILED (timeout)
             [junit] Running org.jboss.cache.marshall.LocalTest
             [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0.902 sec
             [junit] Running org.jboss.cache.marshall.RegionManagerTest
             [junit] Tests run: 7, Failures: 0, Errors: 0, Time elapsed: 0.26 sec
             [junit] Running org.jboss.cache.marshall.SyncReplTest
             [junit] Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 0 sec
             [junit] Test org.jboss.cache.marshall.SyncReplTest FAILED (timeout)
             [junit] Running org.jboss.cache.misc.CopyOnWriteArrayTest
             [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0.1 sec
             [junit] Running org.jboss.cache.optimistic.CacheTest
             [junit] Tests run: 8, Failures: 0, Errors: 0, Time elapsed: 9.303 sec
             [junit] Running org.jboss.cache.optimistic.ComparatorTest
             [junit] Tests run: 9, Failures: 0, Errors: 0, Time elapsed: 0.05 sec
             [junit] Running org.jboss.cache.optimistic.FullStackInterceptorTest
             [junit] Tests run: 16, Failures: 0, Errors: 0, Time elapsed: 14.09 sec
             [junit] Running org.jboss.cache.optimistic.NodeInterceptorGetChildrenNamesTest
             [junit] Tests run: 3, Failures: 0, Errors: 0, Time elapsed: 0.301 sec
             [junit] Running org.jboss.cache.optimistic.NodeInterceptorGetKeyValTest
             [junit] Tests run: 4, Failures: 0, Errors: 0, Time elapsed: 0.351 sec
             [junit] Running org.jboss.cache.optimistic.NodeInterceptorGetKeysTest
             [junit] Tests run: 3, Failures: 0, Errors: 0, Time elapsed: 0.4 sec
             [junit] Running org.jboss.cache.optimistic.NodeInterceptorKeyValTest
             [junit] Tests run: 5, Failures: 0, Errors: 0, Time elapsed: 0.421 sec
             [junit] Running org.jboss.cache.optimistic.NodeInterceptorPutEraseTest
             [junit] Tests run: 3, Failures: 0, Errors: 0, Time elapsed: 0.3 sec
             [junit] Running org.jboss.cache.optimistic.NodeInterceptorPutMapTest
             [junit] Tests run: 3, Failures: 0, Errors: 0, Time elapsed: 0.33 sec
             [junit] Running org.jboss.cache.optimistic.NodeInterceptorRemoveDataTest
             [junit] Tests run: 4, Failures: 0, Errors: 0, Time elapsed: 0.31 sec
             [junit] Running org.jboss.cache.optimistic.NodeInterceptorRemoveKeyValTest
             [junit] Tests run: 3, Failures: 0, Errors: 0, Time elapsed: 0.35 sec
             [junit] Running org.jboss.cache.optimistic.NodeInterceptorRemoveNodeTest
             [junit] Tests run: 7, Failures: 0, Errors: 0, Time elapsed: 0.35 sec
             [junit] Running org.jboss.cache.optimistic.NodeInterceptorTransactionTest
             [junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 0.301 sec
             [junit] Running org.jboss.cache.optimistic.OpLockingInterceptorTest
             [junit] Tests run: 3, Failures: 0, Errors: 0, Time elapsed: 0.411 sec
             [junit] Running org.jboss.cache.optimistic.OptimisticCreateIfNotExistsInterceptorTest
             [junit] Tests run: 3, Failures: 0, Errors: 0, Time elapsed: 0.431 sec
             [junit] Running org.jboss.cache.optimistic.OptimisticMapTest
             [junit] Tests run: 29, Failures: 0, Errors: 0, Time elapsed: 0.05 sec
             [junit] Running org.jboss.cache.optimistic.OptimisticReplicationInterceptorTest
             [junit] Tests run: 10, Failures: 0, Errors: 0, Time elapsed: 7.731 sec
             [junit] Running org.jboss.cache.optimistic.OptimisticWithCacheLoaderTest
             [junit] Tests run: 6, Failures: 0, Errors: 0, Time elapsed: 3.115 sec
             [junit] Running org.jboss.cache.optimistic.OptimisticWithPassivationTest
             [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0.331 sec
             [junit] Running org.jboss.cache.optimistic.ThreadedOptimisticCreateIfNotExistsInterceptorTest
             [junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 5.968 sec
             [junit] Running org.jboss.cache.optimistic.TxInterceptorTest
             [junit] Tests run: 14, Failures: 0, Errors: 0, Time elapsed: 0.431 sec
             [junit] Running org.jboss.cache.optimistic.ValidatorInterceptorTest
             [junit] Tests run: 5, Failures: 0, Errors: 0, Time elapsed: 0.311 sec
             [junit] Running org.jboss.cache.passivation.PassivationToBdbjeCacheLoaderTest
             [junit] Tests run: 45, Failures: 0, Errors: 45, Time elapsed: 0.431 sec
             [junit] Test org.jboss.cache.passivation.PassivationToBdbjeCacheLoaderTest FAILED
             [junit] Running org.jboss.cache.passivation.PassivationToFileCacheLoaderTest
             [junit] Tests run: 45, Failures: 0, Errors: 0, Time elapsed: 1.582 sec
             [junit] Running org.jboss.cache.passivation.PassivationToLocalDelegatingCacheLoaderTest
             [junit] Tests run: 45, Failures: 0, Errors: 0, Time elapsed: 0.491 sec
             [junit] Running org.jboss.cache.replicated.AsyncReplTest
             [junit] Tests run: 4, Failures: 2, Errors: 0, Time elapsed: 23.814 sec
             [junit] Test org.jboss.cache.replicated.AsyncReplTest FAILED
             [junit] Running org.jboss.cache.replicated.SyncCacheListenerTest
             [junit] Tests run: 5, Failures: 5, Errors: 0, Time elapsed: 11.266 sec
             [junit] Test org.jboss.cache.replicated.SyncCacheListenerTest FAILED
             [junit] Running org.jboss.cache.replicated.SyncReplTxTest
             [junit] Tests run: 16, Failures: 6, Errors: 0, Time elapsed: 64.132 sec
             [junit] Test org.jboss.cache.replicated.SyncReplTxTest FAILED
             [junit] Running org.jboss.cache.rpc.RpcTreeCacheFunctionalTest
             [junit] Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 0 sec
             [junit] Test org.jboss.cache.rpc.RpcTreeCacheFunctionalTest FAILED (timeout)
             [junit] Running org.jboss.cache.statetransfer.StateTransfer1241Test
             [junit] Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 0 sec
             [junit] Test org.jboss.cache.statetransfer.StateTransfer1241Test FAILED (timeout)
             [junit] Running org.jboss.cache.statetransfer.StateTransfer124Test
             [junit] Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 0 sec
             [junit] Test org.jboss.cache.statetransfer.StateTransfer124Test FAILED (timeout)
             [junit] Running org.jboss.cache.transaction.ConcurrentBankTest
             [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 1.021 sec
             [junit] Running org.jboss.cache.transaction.ConcurrentTransactionalTest
             [junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 2.574 sec
             [junit] Running org.jboss.cache.transaction.DeadlockTest
             [junit] Tests run: 7, Failures: 0, Errors: 0, Time elapsed: 31.305 sec
             [junit] Running org.jboss.cache.transaction.IsolationLevelNoneTest
             [junit] Tests run: 3, Failures: 0, Errors: 0, Time elapsed: 0.291 sec
             [junit] Running org.jboss.cache.transaction.IsolationLevelReadCommittedTest
             [junit] Tests run: 1, Failures: 1, Errors: 0, Time elapsed: 0.3 sec
             [junit] Test org.jboss.cache.transaction.IsolationLevelReadCommittedTest FAILED
             [junit] Running org.jboss.cache.transaction.PrepareTxTest
             [junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 0.32 sec
             [junit] Running org.jboss.cache.transaction.TransactionTest
             [junit] Tests run: 23, Failures: 0, Errors: 0, Time elapsed: 3.345 sec
            [junitreport] Transform time: 2664ms
            
            BUILD SUCCESSFUL
            Total time: 24 minutes 19 seconds