• Bug
  • Status: Closed
  • 2 Major
  • Resolution: Duplicate
  • ehcache-jcache
  • Reporter: hhuynh
  • December 14, 2009
  • 0
  • Watchers: 0
  • May 18, 2010
  • December 15, 2009

Description

It was suspected that the test only failed when running on boxes that is inside TC LAN but when tried running the test in a box outside of TC LAN, the test still fails with slightly different stack trace (see result below)

This test fails every run when it runs in Forge monkeys


ehcache-jcache_trunk - Build # 29 - Still Failing:

Check console output at http://rh5fm0.terracotta.lan:9000/job/ehcache-jcache_trunk/29/ to view the results.

2 tests failed. REGRESSION: net.sf.ehcache.jcache.JCacheTest

Error Message: Time to put and get 5000 entries into MemoryStore

Stack Trace: java.lang.AssertionError: Time to put and get 5000 entries into MemoryStore at org.junit.Assert.fail(Assert.java:69) at org.junit.Assert.assertTrue(Assert.java:32) at net.sf.ehcache.jcache.JCacheTest.testProportionMemoryAndDiskPerformance(JCacheTest.java:605) 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:597) at org.junit.internal.runners.TestMethodRunner.executeMethodBody(TestMethodRunner.java:99) at org.junit.internal.runners.TestMethodRunner.runUnprotected(TestMethodRunner.java:81) at org.junit.internal.runners.BeforeAndAfterRunner.runProtected(BeforeAndAfterRunner.java:34) at org.junit.internal.runners.TestMethodRunner.runMethod(TestMethodRunner.java:75) at org.junit.internal.runners.TestMethodRunner.run(TestMethodRunner.java:45) at org.junit.internal.runners.TestClassMethodsRunner.invokeTestMethod(TestClassMethodsRunner.java:71) at org.junit.internal.runners.TestClassMethodsRunner.run(TestClassMethodsRunner.java:35) at org.junit.internal.runners.TestClassRunner$1.runUnprotected(TestClassRunner.java:42) at org.junit.internal.runners.BeforeAndAfterRunner.runProtected(BeforeAndAfterRunner.java:34) at org.junit.internal.runners.TestClassRunner.run(TestClassRunner.java:52) at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:62) at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:138) at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:163) at org.apache.maven.surefire.Surefire.run(Surefire.java:84) 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:597) at org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:244) at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:814)

FAILED: net.sf.ehcache.jcache.JCacheTest

Error Message: Test thread failed.

Stack Trace: java.lang.Exception: Test thread failed. at net.sf.ehcache.AbstractCacheTest.runThreads(AbstractCacheTest.java:179) at net.sf.ehcache.jcache.JCacheTest.testReadWriteThreads(JCacheTest.java:1408) 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:597) at org.junit.internal.runners.TestMethodRunner.executeMethodBody(TestMethodRunner.java:99) at org.junit.internal.runners.TestMethodRunner.runUnprotected(TestMethodRunner.java:81) at org.junit.internal.runners.BeforeAndAfterRunner.runProtected(BeforeAndAfterRunner.java:34) at org.junit.internal.runners.TestMethodRunner.runMethod(TestMethodRunner.java:75) at org.junit.internal.runners.TestMethodRunner.run(TestMethodRunner.java:45) at org.junit.internal.runners.TestClassMethodsRunner.invokeTestMethod(TestClassMethodsRunner.java:71) at org.junit.internal.runners.TestClassMethodsRunner.run(TestClassMethodsRunner.java:35) at org.junit.internal.runners.TestClassRunner$1.runUnprotected(TestClassRunner.java:42) at org.junit.internal.runners.BeforeAndAfterRunner.runProtected(BeforeAndAfterRunner.java:34) at org.junit.internal.runners.TestClassRunner.run(TestClassRunner.java:52) at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:62) at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:138) at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:163) at org.apache.maven.surefire.Surefire.run(Surefire.java:84) 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:597) at org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:244) at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:814) Caused by: java.lang.AssertionError: Get time outside of allowed range: 3525 at org.junit.Assert.fail(Assert.java:69) at org.junit.Assert.assertTrue(Assert.java:32) at net.sf.ehcache.jcache.JCacheTest$1.execute(JCacheTest.java:1327) at net.sf.ehcache.AbstractCacheTest$1.run(AbstractCacheTest.java:160)

Here are the last 250 lines of the build log: […truncated 36 lines…] A src/test/resources/commons-logging.properties A src/test/resources/ehcache-countinglisteners.xml A src/test/resources/ehcache-1_1.xml A src/test/resources/ehcache-nodefault.xml A src/test/resources/ehcache-unloadablecachemanagerlistenerclass.xml A src/test/resources/ehcache-defaultonly.xml A src/test/resources/ehcache-nodisk.xml A src/test/resources/ehcache-loaderinteractions.xml A src/test/resources/ehcache-disk.xml A src/test/resources/ehcache-withdefaultset.xml A src/test/resources/ehcache-replacement.xml A src/test/resources/ehcache-cacheextension.xml A src/test/resources/ehcache-big.xml A src/test/resources/ehcache-2.xml A src/main A src/main/java A src/main/java/net A src/main/java/net/sf A src/main/java/net/sf/ehcache A src/main/java/net/sf/ehcache/jcache A src/main/java/net/sf/ehcache/jcache/JCacheEntry.java A src/main/java/net/sf/ehcache/jcache/JCacheFactory.java A src/main/java/net/sf/ehcache/jcache/loader A src/main/java/net/sf/ehcache/jcache/loader/JCacheLoader.java A src/main/java/net/sf/ehcache/jcache/loader/JCacheLoaderFactory.java A src/main/java/net/sf/ehcache/jcache/loader/package.html A src/main/java/net/sf/ehcache/jcache/JCacheManager.java A src/main/java/net/sf/ehcache/jcache/JCacheStatistics.java A src/main/java/net/sf/ehcache/jcache/JCache.java A src/main/java/net/sf/ehcache/jcache/JCacheListenerAdaptor.java A src/main/java/net/sf/ehcache/jcache/package.html A src/main/resources A src/main/resources/META-INF A src/main/resources/META-INF/services A src/main/resources/META-INF/services/net.sf.jsr107cache.CacheFactory A src/main/resources/META-INF/services/javax.cache.CacheFactory A src/assemble A src/assemble/LICENSE.txt A src/assemble/filter.properties A src/assemble/CHANGELOG.txt A src/assemble/RELEASE_NOTES.txt A src/assemble/distribution.xml AU pom.xml A checkstyle A checkstyle/ClassHeader.txt A checkstyle/suppressions.xml A checkstyle/checkstyle.xml U . At revision 1524 Parsing POMs <===[HUDSON REMOTING CAPACITY]===> channel started Executing Maven: -B -f /export1/cruise/hudson/workspace/ehcache-jcache_trunk/jcache/pom.xml clean install [INFO] Scanning for projects… [INFO] ———————————————————————— [INFO] Building Ehcache JCache Reference Implementation [INFO] task-segment: [clean, install] [INFO] ———————————————————————— [INFO] [clean:clean {execution: default-clean}] [INFO] [resources:resources {execution: default-resources}] [WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build is platform dependent! [INFO] Copying 2 resources [INFO] snapshot net.sf.ehcache:ehcache-core:1.7.2-SNAPSHOT: checking for updates from kong-repo [INFO] snapshot net.sf.ehcache:ehcache-core:1.7.2-SNAPSHOT: checking for updates from terracotta-repository [INFO] snapshot net.sf.ehcache:ehcache-core:1.7.2-SNAPSHOT: checking for updates from tc-staging-repo Downloading: http://kong/maven2/net/sf/ehcache/ehcache-core/1.7.2-SNAPSHOT/ehcache-core-1.7.2-SNAPSHOT.pom 21K downloaded (ehcache-core-1.7.2-SNAPSHOT.pom) Downloading: http://kong/maven2/net/sf/ehcache/ehcache-core/1.7.2-SNAPSHOT/ehcache-core-1.7.2-SNAPSHOT.jar 264K downloaded (ehcache-core-1.7.2-SNAPSHOT.jar) [INFO] [compiler:compile {execution: default-compile}] [INFO] Compiling 8 source files to /export1/cruise/hudson/workspace/ehcache-jcache_trunk/jcache/target/classes [INFO] [checkstyle:checkstyle {execution: default}] [WARNING] File encoding has not been set, using platform encoding UTF-8, i.e. build is platform dependent! [INFO] Starting audit… Audit done.

[WARNING] Unable to locate Source XRef to link to - DISABLED [INFO] [resources:testResources {execution: default-testResources}] [WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build is platform dependent! [INFO] Copying 18 resources [INFO] [compiler:testCompile {execution: default-testCompile}] [INFO] Compiling 17 source files to /export1/cruise/hudson/workspace/ehcache-jcache_trunk/jcache/target/test-classes [INFO] [surefire:test {execution: default-test}] [INFO] Surefire report directory: /export1/cruise/hudson/workspace/ehcache-jcache_trunk/jcache/target/surefire-reports


T E S T S ——————————————————- Running net.sf.ehcache.jcache.JCacheTest Tests run: 40, Failures: 1, Errors: 1, Skipped: 0, Time elapsed: 82.2 sec «< FAILURE! Running net.sf.ehcache.jcache.JCacheStatisticsTest Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 23.924 sec Running net.sf.ehcache.jcache.JCacheEntryTest Tests run: 11, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.353 sec Running net.sf.ehcache.jcache.CacheListenerTest Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 5.863 sec Running net.sf.ehcache.jcache.JCacheFactoryTest Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.462 sec Running net.sf.ehcache.jcache.CacheManagerTest Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.53 sec

Results :

Failed tests:

Tests in error:

Tests run: 76, Failures: 1, Errors: 1, Skipped: 0

[ERROR] There are test failures. [HUDSON] Recording test results [INFO] [jar:jar {execution: default-jar}] [INFO] Building jar: /export1/cruise/hudson/workspace/ehcache-jcache_trunk/jcache/target/ehcache-jcache-1.3-SNAPSHOT.jar [INFO] Preparing javadoc:jar [INFO] ———————————————————————— [INFO] Building Ehcache JCache Reference Implementation [INFO] ———————————————————————— [WARNING] Removing: jar from forked lifecycle, to prevent recursive invocation. [INFO] No goals needed for project - skipping [INFO] [javadoc:jar {execution: attach-javadocs}] Loading source files for package net.sf.ehcache.jcache… Loading source files for package net.sf.ehcache.jcache.loader… Constructing Javadoc information… Standard Doclet version 1.6.0_17 Building tree for all the packages and classes… Generating /export1/cruise/hudson/workspace/ehcache-jcache_trunk/jcache/target/apidocs/net/sf/ehcache/jcache//JCache.html… Generating /export1/cruise/hudson/workspace/ehcache-jcache_trunk/jcache/target/apidocs/net/sf/ehcache/jcache//JCacheEntry.html… Generating /export1/cruise/hudson/workspace/ehcache-jcache_trunk/jcache/target/apidocs/net/sf/ehcache/jcache//JCacheFactory.html… Generating /export1/cruise/hudson/workspace/ehcache-jcache_trunk/jcache/target/apidocs/net/sf/ehcache/jcache//JCacheListenerAdaptor.html… Generating /export1/cruise/hudson/workspace/ehcache-jcache_trunk/jcache/target/apidocs/net/sf/ehcache/jcache//JCacheManager.html… Generating /export1/cruise/hudson/workspace/ehcache-jcache_trunk/jcache/target/apidocs/net/sf/ehcache/jcache//JCacheStatistics.html… Generating /export1/cruise/hudson/workspace/ehcache-jcache_trunk/jcache/target/apidocs/net/sf/ehcache/jcache/loader//JCacheLoader.html… Generating /export1/cruise/hudson/workspace/ehcache-jcache_trunk/jcache/target/apidocs/net/sf/ehcache/jcache/loader//JCacheLoaderFactory.html… Generating /export1/cruise/hudson/workspace/ehcache-jcache_trunk/jcache/target/apidocs/overview-frame.html… Generating /export1/cruise/hudson/workspace/ehcache-jcache_trunk/jcache/target/apidocs/net/sf/ehcache/jcache//package-frame.html… Generating /export1/cruise/hudson/workspace/ehcache-jcache_trunk/jcache/target/apidocs/net/sf/ehcache/jcache//package-summary.html… Generating /export1/cruise/hudson/workspace/ehcache-jcache_trunk/jcache/target/apidocs/net/sf/ehcache/jcache//package-tree.html… Generating /export1/cruise/hudson/workspace/ehcache-jcache_trunk/jcache/target/apidocs/net/sf/ehcache/jcache/loader//package-frame.html… Generating /export1/cruise/hudson/workspace/ehcache-jcache_trunk/jcache/target/apidocs/net/sf/ehcache/jcache/loader//package-summary.html… Generating /export1/cruise/hudson/workspace/ehcache-jcache_trunk/jcache/target/apidocs/net/sf/ehcache/jcache/loader//package-tree.html… Generating /export1/cruise/hudson/workspace/ehcache-jcache_trunk/jcache/target/apidocs/constant-values.html… Generating /export1/cruise/hudson/workspace/ehcache-jcache_trunk/jcache/target/apidocs/serialized-form.html… Generating /export1/cruise/hudson/workspace/ehcache-jcache_trunk/jcache/target/apidocs/net/sf/ehcache/jcache//class-use/JCacheEntry.html… Generating /export1/cruise/hudson/workspace/ehcache-jcache_trunk/jcache/target/apidocs/net/sf/ehcache/jcache//class-use/JCacheManager.html… Generating /export1/cruise/hudson/workspace/ehcache-jcache_trunk/jcache/target/apidocs/net/sf/ehcache/jcache//class-use/JCacheFactory.html… Generating /export1/cruise/hudson/workspace/ehcache-jcache_trunk/jcache/target/apidocs/net/sf/ehcache/jcache//class-use/JCacheListenerAdaptor.html… Generating /export1/cruise/hudson/workspace/ehcache-jcache_trunk/jcache/target/apidocs/net/sf/ehcache/jcache//class-use/JCacheStatistics.html… Generating /export1/cruise/hudson/workspace/ehcache-jcache_trunk/jcache/target/apidocs/net/sf/ehcache/jcache//class-use/JCache.html… Generating /export1/cruise/hudson/workspace/ehcache-jcache_trunk/jcache/target/apidocs/net/sf/ehcache/jcache/loader//class-use/JCacheLoaderFactory.html… Generating /export1/cruise/hudson/workspace/ehcache-jcache_trunk/jcache/target/apidocs/net/sf/ehcache/jcache/loader//class-use/JCacheLoader.html… Generating /export1/cruise/hudson/workspace/ehcache-jcache_trunk/jcache/target/apidocs/net/sf/ehcache/jcache//package-use.html… Generating /export1/cruise/hudson/workspace/ehcache-jcache_trunk/jcache/target/apidocs/net/sf/ehcache/jcache/loader//package-use.html… Building index for all the packages and classes… Generating /export1/cruise/hudson/workspace/ehcache-jcache_trunk/jcache/target/apidocs/overview-tree.html… Generating /export1/cruise/hudson/workspace/ehcache-jcache_trunk/jcache/target/apidocs/index-all.html… Generating /export1/cruise/hudson/workspace/ehcache-jcache_trunk/jcache/target/apidocs/deprecated-list.html… Building index for all classes… Generating /export1/cruise/hudson/workspace/ehcache-jcache_trunk/jcache/target/apidocs/allclasses-frame.html… Generating /export1/cruise/hudson/workspace/ehcache-jcache_trunk/jcache/target/apidocs/allclasses-noframe.html… Generating /export1/cruise/hudson/workspace/ehcache-jcache_trunk/jcache/target/apidocs/index.html… Generating /export1/cruise/hudson/workspace/ehcache-jcache_trunk/jcache/target/apidocs/overview-summary.html… Generating /export1/cruise/hudson/workspace/ehcache-jcache_trunk/jcache/target/apidocs/help-doc.html… Generating /export1/cruise/hudson/workspace/ehcache-jcache_trunk/jcache/target/apidocs/stylesheet.css… [INFO] Building jar: /export1/cruise/hudson/workspace/ehcache-jcache_trunk/jcache/target/ehcache-jcache-1.3-SNAPSHOT-javadoc.jar [INFO] Preparing source:jar [WARNING] Removing: jar from forked lifecycle, to prevent recursive invocation. [WARNING] Removing: jar from forked lifecycle, to prevent recursive invocation. [INFO] No goals needed for project - skipping [INFO] [source:jar {execution: attach-sources}] [INFO] Building jar: /export1/cruise/hudson/workspace/ehcache-jcache_trunk/jcache/target/ehcache-jcache-1.3-SNAPSHOT-sources.jar [INFO] [install:install {execution: default-install}] [INFO] Installing /export1/cruise/hudson/workspace/ehcache-jcache_trunk/jcache/target/ehcache-jcache-1.3-SNAPSHOT.jar to /export1/cruise/.m2/repository/net/sf/ehcache/ehcache-jcache/1.3-SNAPSHOT/ehcache-jcache-1.3-SNAPSHOT.jar [INFO] Installing /export1/cruise/hudson/workspace/ehcache-jcache_trunk/jcache/target/ehcache-jcache-1.3-SNAPSHOT-javadoc.jar to /export1/cruise/.m2/repository/net/sf/ehcache/ehcache-jcache/1.3-SNAPSHOT/ehcache-jcache-1.3-SNAPSHOT-javadoc.jar [INFO] Installing /export1/cruise/hudson/workspace/ehcache-jcache_trunk/jcache/target/ehcache-jcache-1.3-SNAPSHOT-sources.jar to /export1/cruise/.m2/repository/net/sf/ehcache/ehcache-jcache/1.3-SNAPSHOT/ehcache-jcache-1.3-SNAPSHOT-sources.jar [HUDSON] Archiving /export1/cruise/hudson/workspace/ehcache-jcache_trunk/jcache/pom.xml to /export1/cruise/hudson/jobs/ehcache-jcache_trunk/modules/net.sf.ehcache$ehcache-jcache/builds/2009-12-14_13-09-23/archive/net.sf.ehcache/ehcache-jcache/1.3-SNAPSHOT/pom.xml [HUDSON] Archiving /export1/cruise/hudson/workspace/ehcache-jcache_trunk/jcache/target/ehcache-jcache-1.3-SNAPSHOT.jar to /export1/cruise/hudson/jobs/ehcache-jcache_trunk/modules/net.sf.ehcache$ehcache-jcache/builds/2009-12-14_13-09-23/archive/net.sf.ehcache/ehcache-jcache/1.3-SNAPSHOT/ehcache-jcache-1.3-SNAPSHOT.jar [HUDSON] Archiving /export1/cruise/hudson/workspace/ehcache-jcache_trunk/jcache/target/ehcache-jcache-1.3-SNAPSHOT-javadoc.jar to /export1/cruise/hudson/jobs/ehcache-jcache_trunk/modules/net.sf.ehcache$ehcache-jcache/builds/2009-12-14_13-09-23/archive/net.sf.ehcache/ehcache-jcache/1.3-SNAPSHOT/ehcache-jcache-1.3-SNAPSHOT-javadoc.jar [HUDSON] Archiving /export1/cruise/hudson/workspace/ehcache-jcache_trunk/jcache/target/ehcache-jcache-1.3-SNAPSHOT-sources.jar to /export1/cruise/hudson/jobs/ehcache-jcache_trunk/modules/net.sf.ehcache$ehcache-jcache/builds/2009-12-14_13-09-23/archive/net.sf.ehcache/ehcache-jcache/1.3-SNAPSHOT/ehcache-jcache-1.3-SNAPSHOT-sources.jar [INFO] ———————————————————————— [INFO] BUILD SUCCESSFUL [INFO] ———————————————————————— [INFO] Total time: 2 minutes 32 seconds [INFO] Finished at: Mon Dec 14 13:12:02 PST 2009 [INFO] Final Memory: 24M/74M [INFO] ———————————————————————— channel stopped [INFO] Scanning for projects… [INFO] ———————————————————————— [INFO] Building Ehcache JCache Reference Implementation [INFO] task-segment: [deploy] [INFO] ———————————————————————— [INFO] [resources:resources {execution: default-resources}] [WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build is platform dependent! [INFO] Copying 2 resources [INFO] snapshot net.sf.ehcache:ehcache-core:1.7.2-SNAPSHOT: checking for updates from kong-repo [INFO] snapshot net.sf.ehcache:ehcache-core:1.7.2-SNAPSHOT: checking for updates from terracotta-repository [INFO] snapshot net.sf.ehcache:ehcache-core:1.7.2-SNAPSHOT: checking for updates from tc-staging-repo Downloading: http://kong/maven2/net/sf/ehcache/ehcache-core/1.7.2-SNAPSHOT/ehcache-core-1.7.2-SNAPSHOT.pom Downloading: http://kong/maven2/net/sf/ehcache/ehcache-core/1.7.2-SNAPSHOT/ehcache-core-1.7.2-SNAPSHOT.jar [INFO] [compiler:compile {execution: default-compile}] [INFO] Nothing to compile - all classes are up to date [INFO] [checkstyle:checkstyle {execution: default}] [INFO] [resources:testResources {execution: default-testResources}] [WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build is platform dependent! [INFO] Copying 18 resources [INFO] [compiler:testCompile {execution: default-testCompile}] [INFO] Not compiling test sources [INFO] [surefire:test {execution: default-test}] [INFO] Surefire report directory: /export1/cruise/hudson/workspace/ehcache-jcache_trunk/jcache/target/surefire-reports


T E S T S ——————————————————- Running net.sf.ehcache.jcache.JCacheTest Tests run: 40, Failures: 1, Errors: 1, Skipped: 0, Time elapsed: 82.516 sec «< FAILURE! Running net.sf.ehcache.jcache.JCacheStatisticsTest Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 24.351 sec Running net.sf.ehcache.jcache.JCacheEntryTest Tests run: 11, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.368 sec Running net.sf.ehcache.jcache.CacheListenerTest Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 5.73 sec Running net.sf.ehcache.jcache.JCacheFactoryTest Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.21 sec Running net.sf.ehcache.jcache.CacheManagerTest Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.634 sec

Results :

Failed tests:

Tests in error:

Tests run: 76, Failures: 1, Errors: 1, Skipped: 0

[INFO] ———————————————————————— [ERROR] BUILD FAILURE [INFO] ———————————————————————— [INFO] There are test failures. [INFO] ———————————————————————— [INFO] For more information, run Maven with the -e switch [INFO] ———————————————————————— [INFO] Total time: 2 minutes 10 seconds [INFO] Finished at: Mon Dec 14 13:14:15 PST 2009 [INFO] Final Memory: 15M/68M [INFO] ———————————————————————— Email was triggered for: Failure Email was triggered for: Still Failing Trigger Failure was overridden by another trigger and will not send an email. There are 1 triggered emails. Sending email for trigger: Still Failing


I’ve run it on my Windows box (not part of TC lan). Still fails.

<?xml version=”1.0” encoding=”UTF-8” ?>

java.lang.Exception: Test thread failed. at net.sf.ehcache.AbstractCacheTest.runThreads(AbstractCacheTest.java:179) at net.sf.ehcache.jcache.JCacheTest.testReadWriteThreads(JCacheTest.java:1408) 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:597) at org.junit.internal.runners.TestMethodRunner.executeMethodBody(TestMethodRunner.java:99) at org.junit.internal.runners.TestMethodRunner.runUnprotected(TestMethodRunner.java:81) at org.junit.internal.runners.BeforeAndAfterRunner.runProtected(BeforeAndAfterRunner.java:34) at org.junit.internal.runners.TestMethodRunner.runMethod(TestMethodRunner.java:75) at org.junit.internal.runners.TestMethodRunner.run(TestMethodRunner.java:45) at org.junit.internal.runners.TestClassMethodsRunner.invokeTestMethod(TestClassMethodsRunner.java:71) at org.junit.internal.runners.TestClassMethodsRunner.run(TestClassMethodsRunner.java:35) at org.junit.internal.runners.TestClassRunner$1.runUnprotected(TestClassRunner.java:42) at org.junit.internal.runners.BeforeAndAfterRunner.runProtected(BeforeAndAfterRunner.java:34) at org.junit.internal.runners.TestClassRunner.run(TestClassRunner.java:52) at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:62) at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:138) at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:163) at org.apache.maven.surefire.Surefire.run(Surefire.java:84) 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:597) at org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:244) at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:814) Caused by: java.lang.AssertionError: Get time outside of allowed range: 2869 at org.junit.Assert.fail(Assert.java:69) at org.junit.Assert.assertTrue(Assert.java:32) at net.sf.ehcache.jcache.JCacheTest$1.execute(JCacheTest.java:1327) at net.sf.ehcache.AbstractCacheTest$1.run(AbstractCacheTest.java:160)

Comments