java.lang.Exception: Test thread failed.

If you like a tip written by other Samebug users, mark is as helpful! Marks help our algorithm provide you better solutions and also help other users.
tip

Check your pattern declaration or check your assert declaration.


rafael

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

  • 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" ?> <testsuite failures="0" time="79.368" errors="1" skipped="0" tests="40" name="net.sf.ehcache.jcache.JCacheTest"> <properties> <property name="java.runtime.name" value="Java(TM) SE Runtime Environment"/> <property name="sun.boot.library.path" value="C:\jdk\jdk1.6.0_16\jre\bin"/> <property name="java.vm.version" value="14.2-b01"/> <property name="java.vm.vendor" value="Sun Microsystems Inc."/> <property name="java.vendor.url" value="http://java.sun.com/"/> <property name="path.separator" value=";"/> <property name="java.vm.name" value="Java HotSpot(TM) Client VM"/> <property name="file.encoding.pkg" value="sun.io"/> <property name="user.country" value="US"/> <property name="sun.java.launcher" value="SUN_STANDARD"/> <property name="sun.os.patch.level" value=""/> <property name="java.vm.specification.name" value="Java Virtual Machine Specification"/> <property name="user.dir" value="D:\work\ehcache\trunk\jcache"/> <property name="java.runtime.version" value="1.6.0_16-b01"/> <property name="net.sf.ehcache.speedAdjustmentFactor" value="${net.sf.ehcache.speedAdjustmentFactor}"/> <property name="java.awt.graphicsenv" value="sun.awt.Win32GraphicsEnvironment"/> <property name="basedir" value="D:\work\ehcache\trunk\jcache"/> <property name="java.endorsed.dirs" value="C:\jdk\jdk1.6.0_16\jre\lib\endorsed"/> <property name="os.arch" value="x86"/> <property name="java.io.tmpdir" value="C:\Users\hhuynh\AppData\Local\Temp\"/> <property name="line.separator" value=" "/> <property name="java.vm.specification.vendor" value="Sun Microsystems Inc."/> <property name="user.variant" value=""/> <property name="os.name" value="Windows 7"/> <property name="sun.jnu.encoding" value="Cp1252"/> <property name="java.library.path" value="C:\jdk\jdk1.6.0_16\jre\bin;.;C:\Windows\Sun\Java\bin;C:\Windows\system32;C:\Windows;.\;C:\jdk\jdk1.6.0_16\bin;D:\work\bin;D:\work\tools\apache-ant-1.7.0\bin;D:\work\tools\apache-maven-2.2.1\bin;C:\cygwin\usr\local\bin;C:\cygwin\bin;C:\cygwin\bin;C:\cygwin\usr\X11R6\bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\Common Files\DivX Shared\;C:\ruby\bin;C:\SlikSvn\bin\;C:\cygwin\bin;C:\bin"/> <property name="java.specification.name" value="Java Platform API Specification"/> <property name="java.class.version" value="50.0"/> <property name="sun.management.compiler" value="HotSpot Client Compiler"/> <property name="os.version" value="6.1"/> <property name="user.home" value="C:\Users\hhuynh"/> <property name="user.timezone" value="America/Los_Angeles"/> <property name="java.awt.printerjob" value="sun.awt.windows.WPrinterJob"/> <property name="file.encoding" value="Cp1252"/> <property name="java.specification.version" value="1.6"/> <property name="user.name" value="hhuynh"/> <property name="java.class.path" value="C:\Users\hhuynh\.m2\repository\org\apache\maven\surefire\surefire-booter\2.3\surefire-booter-2.3.jar;C:\Users\hhuynh\.m2\repository\org\apache\maven\surefire\surefire-api\2.3\surefire-api-2.3.jar;C:\Users\hhuynh\.m2\repository\org\codehaus\plexus\plexus-utils\1.1\plexus-utils-1.1.jar;C:\Users\hhuynh\.m2\repository\commons-lang\commons-lang\2.1\commons-lang-2.1.jar;C:\Users\hhuynh\.m2\repository\org\codehaus\plexus\plexus-archiver\1.0-alpha-7\plexus-archiver-1.0-alpha-7.jar;C:\Users\hhuynh\.m2\repository\org\codehaus\plexus\plexus-container-default\1.0-alpha-8\plexus-container-default-1.0-alpha-8.jar;C:\Users\hhuynh\.m2\repository\junit\junit\3.8.1\junit-3.8.1.jar;C:\Users\hhuynh\.m2\repository\classworlds\classworlds\1.1-alpha-2\classworlds-1.1-alpha-2.jar"/> <property name="java.vm.specification.version" value="1.0"/> <property name="sun.arch.data.model" value="32"/> <property name="java.home" value="C:\jdk\jdk1.6.0_16\jre"/> <property name="java.specification.vendor" value="Sun Microsystems Inc."/> <property name="user.language" value="en"/> <property name="awt.toolkit" value="sun.awt.windows.WToolkit"/> <property name="java.vm.info" value="mixed mode, sharing"/> <property name="java.version" value="1.6.0_16"/> <property name="java.ext.dirs" value="C:\jdk\jdk1.6.0_16\jre\lib\ext;C:\Windows\Sun\Java\lib\ext"/> <property name="sun.boot.class.path" value="C:\jdk\jdk1.6.0_16\jre\lib\resources.jar;C:\jdk\jdk1.6.0_16\jre\lib\rt.jar;C:\jdk\jdk1.6.0_16\jre\lib\sunrsasign.jar;C:\jdk\jdk1.6.0_16\jre\lib\jsse.jar;C:\jdk\jdk1.6.0_16\jre\lib\jce.jar;C:\jdk\jdk1.6.0_16\jre\lib\charsets.jar;C:\jdk\jdk1.6.0_16\jre\classes"/> <property name="java.vendor" value="Sun Microsystems Inc."/> <property name="java.awt.headless" value="true"/> <property name="net.sf.ehcache.skipUpdateCheck" value="true"/> <property name="localRepository" value="C:\Users\hhuynh\.m2\repository"/> <property name="file.separator" value="\"/> <property name="java.vendor.url.bug" value="http://java.sun.com/cgi-bin/bugreport.cgi"/> <property name="sun.cpu.endian" value="little"/> <property name="sun.io.unicode.encoding" value="UnicodeLittle"/> <property name="sun.desktop" value="windows"/> <property name="sun.cpu.isalist" value="pentium_pro+mmx pentium_pro pentium+mmx pentium i486 i386 i86"/> </properties> <testcase time="9.079" name="testExpiryBasedOnTimeToLiveWhenNoIdle"/> <testcase time="0.187" name="testNoOverflowToDisk"/> <testcase time="0.172" name="testIsEmpty"/> <testcase time="0.187" name="testEhcacheConstructor"/> <testcase time="4.221" name="testEvict"/> <testcase time="0.171" name="testContainsKey"/> <testcase time="0.188" name="testContainsValue"/> <testcase time="0.227" name="testGet"/> <testcase time="0.172" name="testLoaderName"/> <testcase time="3.307" name="testGetValues"/> <testcase time="0.171" name="testPutAll"/> <testcase time="0.172" name="testClear"/> <testcase time="0.187" name="testKeySet"/> <testcase time="0.39" name="testProportionMemoryAndDiskPerformance"/> <testcase time="4.239" name="testExpiryBasedOnTimeToLive"/> <testcase time="4.217" name="testExpiryBasedOnTimeToLiveTTL"/> <testcase time="4.233" name="testExpiryBasedOnTimeToLiveUsingPeek"/> <testcase time="8.217" name="testNoIdleOrExpiryBasedOnTimeToLiveForEternal"/> <testcase time="8.235" name="testExpiryBasedOnTimeToIdle"/> <testcase time="0.203" name="testElementStatistics"/> <testcase time="0.187" name="testNullCacheEntry"/> <testcase time="0.187" name="testCacheStatistics"/> <testcase time="0.187" name="testSizeWithPutAndRemove"/> <testcase time="3.297" name="testGetKeysAfterExpiry"/> <testcase time="0.202" name="testSizeMultipleCallsWithPutAndRemove"/> <testcase time="1.202" name="testGetKeysPerformance"/> <testcase time="2.535" name="testGetSizeAfterExpiry"/> <testcase time="0.187" name="testNullTreatment"/> <testcase time="0.297" name="testSizes"/> <testcase time="0.187" name="testNonSerializableElement"/> <testcase time="6.19" name="testSpoolThreadHandlesThreadKiller"/> <testcase time="0.218" name="testToString"/> <testcase time="0.203" name="testAPIObjectCompatibility"/> <testcase time="0.187" name="testAPISerializableCompatibility"/> <testcase time="10.291" name="testReadWriteThreads"> <error message="Test thread failed." type="java.lang.Exception">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) </error> </testcase> <testcase time="0.688" name="testLoad"/> <testcase time="1.217" name="testLoadWithDynamicLoaderInjection"/> <testcase time="0.219" name="testCacheExceptionHandler"/> <testcase time="3.199" name="testLoadAll"/> <testcase time="0.234" name="testGetAll"/> </testsuite>
    via by Hung Huynh,
  • 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" ?> <testsuite failures="0" time="79.368" errors="1" skipped="0" tests="40" name="net.sf.ehcache.jcache.JCacheTest"> <properties> <property name="java.runtime.name" value="Java(TM) SE Runtime Environment"/> <property name="sun.boot.library.path" value="C:\jdk\jdk1.6.0_16\jre\bin"/> <property name="java.vm.version" value="14.2-b01"/> <property name="java.vm.vendor" value="Sun Microsystems Inc."/> <property name="java.vendor.url" value="http://java.sun.com/"/> <property name="path.separator" value=";"/> <property name="java.vm.name" value="Java HotSpot(TM) Client VM"/> <property name="file.encoding.pkg" value="sun.io"/> <property name="user.country" value="US"/> <property name="sun.java.launcher" value="SUN_STANDARD"/> <property name="sun.os.patch.level" value=""/> <property name="java.vm.specification.name" value="Java Virtual Machine Specification"/> <property name="user.dir" value="D:\work\ehcache\trunk\jcache"/> <property name="java.runtime.version" value="1.6.0_16-b01"/> <property name="net.sf.ehcache.speedAdjustmentFactor" value="${net.sf.ehcache.speedAdjustmentFactor}"/> <property name="java.awt.graphicsenv" value="sun.awt.Win32GraphicsEnvironment"/> <property name="basedir" value="D:\work\ehcache\trunk\jcache"/> <property name="java.endorsed.dirs" value="C:\jdk\jdk1.6.0_16\jre\lib\endorsed"/> <property name="os.arch" value="x86"/> <property name="java.io.tmpdir" value="C:\Users\hhuynh\AppData\Local\Temp\"/> <property name="line.separator" value=" "/> <property name="java.vm.specification.vendor" value="Sun Microsystems Inc."/> <property name="user.variant" value=""/> <property name="os.name" value="Windows 7"/> <property name="sun.jnu.encoding" value="Cp1252"/> <property name="java.library.path" value="C:\jdk\jdk1.6.0_16\jre\bin;.;C:\Windows\Sun\Java\bin;C:\Windows\system32;C:\Windows;.\;C:\jdk\jdk1.6.0_16\bin;D:\work\bin;D:\work\tools\apache-ant-1.7.0\bin;D:\work\tools\apache-maven-2.2.1\bin;C:\cygwin\usr\local\bin;C:\cygwin\bin;C:\cygwin\bin;C:\cygwin\usr\X11R6\bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\Common Files\DivX Shared\;C:\ruby\bin;C:\SlikSvn\bin\;C:\cygwin\bin;C:\bin"/> <property name="java.specification.name" value="Java Platform API Specification"/> <property name="java.class.version" value="50.0"/> <property name="sun.management.compiler" value="HotSpot Client Compiler"/> <property name="os.version" value="6.1"/> <property name="user.home" value="C:\Users\hhuynh"/> <property name="user.timezone" value="America/Los_Angeles"/> <property name="java.awt.printerjob" value="sun.awt.windows.WPrinterJob"/> <property name="file.encoding" value="Cp1252"/> <property name="java.specification.version" value="1.6"/> <property name="user.name" value="hhuynh"/> <property name="java.class.path" value="C:\Users\hhuynh\.m2\repository\org\apache\maven\surefire\surefire-booter\2.3\surefire-booter-2.3.jar;C:\Users\hhuynh\.m2\repository\org\apache\maven\surefire\surefire-api\2.3\surefire-api-2.3.jar;C:\Users\hhuynh\.m2\repository\org\codehaus\plexus\plexus-utils\1.1\plexus-utils-1.1.jar;C:\Users\hhuynh\.m2\repository\commons-lang\commons-lang\2.1\commons-lang-2.1.jar;C:\Users\hhuynh\.m2\repository\org\codehaus\plexus\plexus-archiver\1.0-alpha-7\plexus-archiver-1.0-alpha-7.jar;C:\Users\hhuynh\.m2\repository\org\codehaus\plexus\plexus-container-default\1.0-alpha-8\plexus-container-default-1.0-alpha-8.jar;C:\Users\hhuynh\.m2\repository\junit\junit\3.8.1\junit-3.8.1.jar;C:\Users\hhuynh\.m2\repository\classworlds\classworlds\1.1-alpha-2\classworlds-1.1-alpha-2.jar"/> <property name="java.vm.specification.version" value="1.0"/> <property name="sun.arch.data.model" value="32"/> <property name="java.home" value="C:\jdk\jdk1.6.0_16\jre"/> <property name="java.specification.vendor" value="Sun Microsystems Inc."/> <property name="user.language" value="en"/> <property name="awt.toolkit" value="sun.awt.windows.WToolkit"/> <property name="java.vm.info" value="mixed mode, sharing"/> <property name="java.version" value="1.6.0_16"/> <property name="java.ext.dirs" value="C:\jdk\jdk1.6.0_16\jre\lib\ext;C:\Windows\Sun\Java\lib\ext"/> <property name="sun.boot.class.path" value="C:\jdk\jdk1.6.0_16\jre\lib\resources.jar;C:\jdk\jdk1.6.0_16\jre\lib\rt.jar;C:\jdk\jdk1.6.0_16\jre\lib\sunrsasign.jar;C:\jdk\jdk1.6.0_16\jre\lib\jsse.jar;C:\jdk\jdk1.6.0_16\jre\lib\jce.jar;C:\jdk\jdk1.6.0_16\jre\lib\charsets.jar;C:\jdk\jdk1.6.0_16\jre\classes"/> <property name="java.vendor" value="Sun Microsystems Inc."/> <property name="java.awt.headless" value="true"/> <property name="net.sf.ehcache.skipUpdateCheck" value="true"/> <property name="localRepository" value="C:\Users\hhuynh\.m2\repository"/> <property name="file.separator" value="\"/> <property name="java.vendor.url.bug" value="http://java.sun.com/cgi-bin/bugreport.cgi"/> <property name="sun.cpu.endian" value="little"/> <property name="sun.io.unicode.encoding" value="UnicodeLittle"/> <property name="sun.desktop" value="windows"/> <property name="sun.cpu.isalist" value="pentium_pro+mmx pentium_pro pentium+mmx pentium i486 i386 i86"/> </properties> <testcase time="9.079" name="testExpiryBasedOnTimeToLiveWhenNoIdle"/> <testcase time="0.187" name="testNoOverflowToDisk"/> <testcase time="0.172" name="testIsEmpty"/> <testcase time="0.187" name="testEhcacheConstructor"/> <testcase time="4.221" name="testEvict"/> <testcase time="0.171" name="testContainsKey"/> <testcase time="0.188" name="testContainsValue"/> <testcase time="0.227" name="testGet"/> <testcase time="0.172" name="testLoaderName"/> <testcase time="3.307" name="testGetValues"/> <testcase time="0.171" name="testPutAll"/> <testcase time="0.172" name="testClear"/> <testcase time="0.187" name="testKeySet"/> <testcase time="0.39" name="testProportionMemoryAndDiskPerformance"/> <testcase time="4.239" name="testExpiryBasedOnTimeToLive"/> <testcase time="4.217" name="testExpiryBasedOnTimeToLiveTTL"/> <testcase time="4.233" name="testExpiryBasedOnTimeToLiveUsingPeek"/> <testcase time="8.217" name="testNoIdleOrExpiryBasedOnTimeToLiveForEternal"/> <testcase time="8.235" name="testExpiryBasedOnTimeToIdle"/> <testcase time="0.203" name="testElementStatistics"/> <testcase time="0.187" name="testNullCacheEntry"/> <testcase time="0.187" name="testCacheStatistics"/> <testcase time="0.187" name="testSizeWithPutAndRemove"/> <testcase time="3.297" name="testGetKeysAfterExpiry"/> <testcase time="0.202" name="testSizeMultipleCallsWithPutAndRemove"/> <testcase time="1.202" name="testGetKeysPerformance"/> <testcase time="2.535" name="testGetSizeAfterExpiry"/> <testcase time="0.187" name="testNullTreatment"/> <testcase time="0.297" name="testSizes"/> <testcase time="0.187" name="testNonSerializableElement"/> <testcase time="6.19" name="testSpoolThreadHandlesThreadKiller"/> <testcase time="0.218" name="testToString"/> <testcase time="0.203" name="testAPIObjectCompatibility"/> <testcase time="0.187" name="testAPISerializableCompatibility"/> <testcase time="10.291" name="testReadWriteThreads"> <error message="Test thread failed." type="java.lang.Exception">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) </error> </testcase> <testcase time="0.688" name="testLoad"/> <testcase time="1.217" name="testLoadWithDynamicLoaderInjection"/> <testcase time="0.219" name="testCacheExceptionHandler"/> <testcase time="3.199" name="testLoadAll"/> <testcase time="0.234" name="testGetAll"/> </testsuite>
    via by Hung Huynh,
  • JCacheTest.testReadWriteThreads in the JCache module is broken when using 1.7.0. It works with 1.6.2. The problem is that under heavy threading, the performance for gets exceed 2 seconds. Oct 13, 2009 6:20:26 PM net.sf.ehcache.AbstractCacheTest$1 run INFO: Get time outside of allowed range: 2261 Oct 13, 2009 6:20:26 PM net.sf.ehcache.AbstractCacheTest$1 run INFO: Get time outside of allowed range: 2424 Oct 13, 2009 6:20:26 PM net.sf.ehcache.AbstractCacheTest$1 run INFO: Get time outside of allowed range: 2433 Oct 13, 2009 6:20:26 PM net.sf.ehcache.AbstractCacheTest$1 run INFO: Get time outside of allowed range: 2499 Oct 13, 2009 6:20:26 PM net.sf.ehcache.AbstractCacheTest$1 run INFO: Get time outside of allowed range: 2501 Oct 13, 2009 6:20:26 PM net.sf.ehcache.AbstractCacheTest$1 run INFO: Get time outside of allowed range: 2539 Oct 13, 2009 6:20:26 PM net.sf.ehcache.AbstractCacheTest$1 run INFO: Get time outside of allowed range: 2541 Oct 13, 2009 6:20:26 PM net.sf.ehcache.AbstractCacheTest$1 run INFO: Get time outside of allowed range: 2547 Oct 13, 2009 6:20:26 PM net.sf.ehcache.AbstractCacheTest$1 run INFO: Get time outside of allowed range: 2553 Oct 13, 2009 6:20:26 PM net.sf.ehcache.AbstractCacheTest$1 run INFO: Get time outside of allowed range: 2618 Oct 13, 2009 6:20:26 PM net.sf.ehcache.AbstractCacheTest$1 run INFO: Get time outside of allowed range: 2617 Oct 13, 2009 6:20:27 PM net.sf.ehcache.AbstractCacheTest$1 run INFO: Get time outside of allowed range: 2581 Oct 13, 2009 6:20:27 PM net.sf.ehcache.AbstractCacheTest$1 run INFO: Get time outside of allowed range: 2556 Oct 13, 2009 6:20:27 PM net.sf.ehcache.AbstractCacheTest$1 run INFO: Get time outside of allowed range: 2561 Oct 13, 2009 6:20:27 PM net.sf.ehcache.AbstractCacheTest$1 run INFO: Get time outside of allowed range: 2563 java.lang.Exception: Test thread failed. at net.sf.ehcache.AbstractCacheTest.runThreads(AbstractCacheTest.java:177) at net.sf.ehcache.jcache.JCacheTest.testReadWriteThreads(JCacheTest.java:1413) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) 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 com.intellij.rt.junit4.Junit4TestMethodAdapter.run(Junit4TestMethodAdapter.java:62) at com.intellij.rt.execution.junit.JUnitStarter.main(JUnitStarter.java:40) Caused by: java.lang.AssertionError: Get time outside of allowed range: 2563 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:1332) at net.sf.ehcache.AbstractCacheTest$1.run(AbstractCacheTest.java:158)
    via by Unknown author,
  • Question on XDMS testsuite
    via by Mosiuoa,
  • JUnit AssertTrue doesn&#39;t fail the test
    via Stack Overflow by Aharon
    ,
    • 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)

    Users with the same issue

    jf-ast
    jf-ast13 times, last one,
    odd
    odd1 times, last one,
    jokester
    jokester2 times, last one,
    Axelo
    Axelo7 times, last one,
    andyglick
    andyglick1 times, last one,
    94 more bugmates