See http://hudson.opengeo.org/hudson/job/geotools-trunk/1495/changes
Changes:
[aaime] Make lock handling more resistent to exceptions occurring while
updating the cache
------------------------------------------
[...truncated 4631 lines...]
at junit.framework.TestSuite.runTest(TestSuite.java:232)
at junit.framework.TestSuite.run(TestSuite.java:227)
at
org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:81)
at
org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:62)
at
org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:140)
at
org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:127)
at org.apache.maven.surefire.Surefire.run(Surefire.java:177)
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:585)
at
org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:338)
at
org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:997)
Apr 8, 2009 6:14:20 AM org.geotools.data.shapefile.ShpFiles logCurrentLockers
SEVERE: The following locker still has a lock� read on
file:/tmp/test-shp40163.shx by org.geotools.data.shapefile.shp.IndexFile
it was created with the following stack trace
org.geotools.data.shapefile.ShpFilesLocker$Trace: Locking
file:/tmp/test-shp40163.shx for read by
org.geotools.data.shapefile.shp.IndexFile in thread main
at
org.geotools.data.shapefile.ShpFilesLocker.setTraceException(ShpFilesLocker.java:54)
at
org.geotools.data.shapefile.ShpFilesLocker.<init>(ShpFilesLocker.java:33)
at org.geotools.data.shapefile.ShpFiles.acquireRead(ShpFiles.java:365)
at
org.geotools.data.shapefile.ShpFiles.getReadChannel(ShpFiles.java:813)
at org.geotools.data.shapefile.shp.IndexFile.<init>(IndexFile.java:78)
at
org.geotools.data.shapefile.shp.ShapefileReader.<init>(ShapefileReader.java:162)
at
org.geotools.data.shapefile.ShapefileDataStore.openShapeReader(ShapefileDataStore.java:425)
at
org.geotools.data.shapefile.ShapefileDataStore.getAttributesReader(ShapefileDataStore.java:411)
at
org.geotools.data.shapefile.ShapefileDataStore.getFeatureReader(ShapefileDataStore.java:331)
at
org.geotools.data.shapefile.ShapefileDataStore.getFeatureReader(ShapefileDataStore.java:326)
at
org.geotools.data.AbstractDataStore.getFeatureReader(AbstractDataStore.java:419)
at
org.geotools.data.shapefile.ShapefileDataStore.getFeatureReader(ShapefileDataStore.java:376)
at
org.geotools.data.TransactionStateDiff.writer(TransactionStateDiff.java:329)
at
org.geotools.data.AbstractDataStore.getFeatureWriter(AbstractDataStore.java:494)
at
org.geotools.data.AbstractDataStore.getFeatureWriter(AbstractDataStore.java:520)
at
org.geotools.data.shapefile.ShapefileDataStoreTest.testWrite(ShapefileDataStoreTest.java:774)
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:585)
at junit.framework.TestCase.runTest(TestCase.java:168)
at junit.framework.TestCase.runBare(TestCase.java:134)
at junit.framework.TestResult$1.protect(TestResult.java:110)
at junit.framework.TestResult.runProtected(TestResult.java:128)
at junit.framework.TestResult.run(TestResult.java:113)
at junit.framework.TestCase.run(TestCase.java:124)
at junit.framework.TestSuite.runTest(TestSuite.java:232)
at junit.framework.TestSuite.run(TestSuite.java:227)
at
org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:81)
at
org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:62)
at
org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:140)
at
org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:127)
at org.apache.maven.surefire.Surefire.run(Surefire.java:177)
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:585)
at
org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:338)
at
org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:997)
Apr 8, 2009 6:14:20 AM org.geotools.data.shapefile.ShpFiles logCurrentLockers
SEVERE: The following locker still has a lock� read on
file:/tmp/test-shp40163.dbf by org.geotools.data.shapefile.dbf.DbaseFileReader
it was created with the following stack trace
org.geotools.data.shapefile.ShpFilesLocker$Trace: Locking
file:/tmp/test-shp40163.dbf for read by
org.geotools.data.shapefile.dbf.DbaseFileReader in thread main
at
org.geotools.data.shapefile.ShpFilesLocker.setTraceException(ShpFilesLocker.java:54)
at
org.geotools.data.shapefile.ShpFilesLocker.<init>(ShpFilesLocker.java:33)
at org.geotools.data.shapefile.ShpFiles.acquireRead(ShpFiles.java:365)
at
org.geotools.data.shapefile.ShpFiles.getReadChannel(ShpFiles.java:813)
at
org.geotools.data.shapefile.dbf.DbaseFileReader.<init>(DbaseFileReader.java:130)
at
org.geotools.data.shapefile.ShapefileDataStore.openDbfReader(ShapefileDataStore.java:450)
at
org.geotools.data.shapefile.ShapefileDataStore.getAttributesReader(ShapefileDataStore.java:411)
at
org.geotools.data.shapefile.ShapefileDataStore.getFeatureReader(ShapefileDataStore.java:331)
at
org.geotools.data.shapefile.ShapefileDataStore.getFeatureReader(ShapefileDataStore.java:326)
at
org.geotools.data.AbstractDataStore.getFeatureReader(AbstractDataStore.java:419)
at
org.geotools.data.shapefile.ShapefileDataStore.getFeatureReader(ShapefileDataStore.java:376)
at
org.geotools.data.TransactionStateDiff.writer(TransactionStateDiff.java:329)
at
org.geotools.data.AbstractDataStore.getFeatureWriter(AbstractDataStore.java:494)
at
org.geotools.data.AbstractDataStore.getFeatureWriter(AbstractDataStore.java:520)
at
org.geotools.data.shapefile.ShapefileDataStoreTest.testWrite(ShapefileDataStoreTest.java:774)
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:585)
at junit.framework.TestCase.runTest(TestCase.java:168)
at junit.framework.TestCase.runBare(TestCase.java:134)
at junit.framework.TestResult$1.protect(TestResult.java:110)
at junit.framework.TestResult.runProtected(TestResult.java:128)
at junit.framework.TestResult.run(TestResult.java:113)
at junit.framework.TestCase.run(TestCase.java:124)
at junit.framework.TestSuite.runTest(TestSuite.java:232)
at junit.framework.TestSuite.run(TestSuite.java:227)
at
org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:81)
at
org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:62)
at
org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:140)
at
org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:127)
at org.apache.maven.surefire.Surefire.run(Surefire.java:177)
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:585)
at
org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:338)
at
org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:997)
Apr 8, 2009 6:14:20 AM org.geotools.data.shapefile.ShpFiles logCurrentLockers
SEVERE: The following locker still has a lock� read on
file:/tmp/test-shp39916.shp by org.geotools.data.shapefile.shp.ShapefileReader
it was created with the following stack trace
org.geotools.data.shapefile.ShpFilesLocker$Trace: Locking
file:/tmp/test-shp39916.shp for read by
org.geotools.data.shapefile.shp.ShapefileReader in thread main
at
org.geotools.data.shapefile.ShpFilesLocker.setTraceException(ShpFilesLocker.java:54)
at
org.geotools.data.shapefile.ShpFilesLocker.<init>(ShpFilesLocker.java:33)
at org.geotools.data.shapefile.ShpFiles.acquireRead(ShpFiles.java:365)
at
org.geotools.data.shapefile.ShpFiles.getReadChannel(ShpFiles.java:813)
at
org.geotools.data.shapefile.shp.ShapefileReader.<init>(ShapefileReader.java:157)
at
org.geotools.data.shapefile.ShapefileDataStore.openShapeReader(ShapefileDataStore.java:425)
at
org.geotools.data.shapefile.ShapefileDataStore.getAttributesReader(ShapefileDataStore.java:411)
at
org.geotools.data.shapefile.ShapefileDataStore.createFeatureWriter(ShapefileDataStore.java:572)
at
org.geotools.data.AbstractDataStore.getFeatureWriter(AbstractDataStore.java:486)
at
org.geotools.data.shapefile.ShapefileDataStoreTest.testRemoveFromFrontAndClose(ShapefileDataStoreTest.java:388)
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:585)
at junit.framework.TestCase.runTest(TestCase.java:168)
at junit.framework.TestCase.runBare(TestCase.java:134)
at junit.framework.TestResult$1.protect(TestResult.java:110)
at junit.framework.TestResult.runProtected(TestResult.java:128)
at junit.framework.TestResult.run(TestResult.java:113)
at junit.framework.TestCase.run(TestCase.java:124)
at junit.framework.TestSuite.runTest(TestSuite.java:232)
at junit.framework.TestSuite.run(TestSuite.java:227)
at
org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:81)
at
org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:62)
at
org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:140)
at
org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:127)
at org.apache.maven.surefire.Surefire.run(Surefire.java:177)
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:585)
at
org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:338)
at
org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:997)
Apr 8, 2009 6:14:20 AM org.geotools.data.shapefile.ShpFiles logCurrentLockers
SEVERE: The following locker still has a lock� read on
file:/tmp/test-shp39916.shx by org.geotools.data.shapefile.shp.IndexFile
it was created with the following stack trace
org.geotools.data.shapefile.ShpFilesLocker$Trace: Locking
file:/tmp/test-shp39916.shx for read by
org.geotools.data.shapefile.shp.IndexFile in thread main
at
org.geotools.data.shapefile.ShpFilesLocker.setTraceException(ShpFilesLocker.java:54)
at
org.geotools.data.shapefile.ShpFilesLocker.<init>(ShpFilesLocker.java:33)
at org.geotools.data.shapefile.ShpFiles.acquireRead(ShpFiles.java:365)
at
org.geotools.data.shapefile.ShpFiles.getReadChannel(ShpFiles.java:813)
at org.geotools.data.shapefile.shp.IndexFile.<init>(IndexFile.java:78)
at
org.geotools.data.shapefile.shp.ShapefileReader.<init>(ShapefileReader.java:162)
at
org.geotools.data.shapefile.ShapefileDataStore.openShapeReader(ShapefileDataStore.java:425)
at
org.geotools.data.shapefile.ShapefileDataStore.getAttributesReader(ShapefileDataStore.java:411)
at
org.geotools.data.shapefile.ShapefileDataStore.createFeatureWriter(ShapefileDataStore.java:572)
at
org.geotools.data.AbstractDataStore.getFeatureWriter(AbstractDataStore.java:486)
at
org.geotools.data.shapefile.ShapefileDataStoreTest.testRemoveFromFrontAndClose(ShapefileDataStoreTest.java:388)
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:585)
at junit.framework.TestCase.runTest(TestCase.java:168)
at junit.framework.TestCase.runBare(TestCase.java:134)
at junit.framework.TestResult$1.protect(TestResult.java:110)
at junit.framework.TestResult.runProtected(TestResult.java:128)
at junit.framework.TestResult.run(TestResult.java:113)
at junit.framework.TestCase.run(TestCase.java:124)
at junit.framework.TestSuite.runTest(TestSuite.java:232)
at junit.framework.TestSuite.run(TestSuite.java:227)
at
org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:81)
at
org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:62)
at
org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:140)
at
org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:127)
at org.apache.maven.surefire.Surefire.run(Surefire.java:177)
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:585)
at
org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:338)
at
org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:997)
Apr 8, 2009 6:14:20 AM org.geotools.data.shapefile.ShpFiles logCurrentLockers
SEVERE: The following locker still has a lock� read on
file:/tmp/test-shp39916.dbf by org.geotools.data.shapefile.dbf.DbaseFileReader
it was created with the following stack trace
org.geotools.data.shapefile.ShpFilesLocker$Trace: Locking
file:/tmp/test-shp39916.dbf for read by
org.geotools.data.shapefile.dbf.DbaseFileReader in thread main
at
org.geotools.data.shapefile.ShpFilesLocker.setTraceException(ShpFilesLocker.java:54)
at
org.geotools.data.shapefile.ShpFilesLocker.<init>(ShpFilesLocker.java:33)
at org.geotools.data.shapefile.ShpFiles.acquireRead(ShpFiles.java:365)
at
org.geotools.data.shapefile.ShpFiles.getReadChannel(ShpFiles.java:813)
at
org.geotools.data.shapefile.dbf.DbaseFileReader.<init>(DbaseFileReader.java:130)
at
org.geotools.data.shapefile.ShapefileDataStore.openDbfReader(ShapefileDataStore.java:450)
at
org.geotools.data.shapefile.ShapefileDataStore.getAttributesReader(ShapefileDataStore.java:411)
at
org.geotools.data.shapefile.ShapefileDataStore.createFeatureWriter(ShapefileDataStore.java:572)
at
org.geotools.data.AbstractDataStore.getFeatureWriter(AbstractDataStore.java:486)
at
org.geotools.data.shapefile.ShapefileDataStoreTest.testRemoveFromFrontAndClose(ShapefileDataStoreTest.java:388)
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:585)
at junit.framework.TestCase.runTest(TestCase.java:168)
at junit.framework.TestCase.runBare(TestCase.java:134)
at junit.framework.TestResult$1.protect(TestResult.java:110)
at junit.framework.TestResult.runProtected(TestResult.java:128)
at junit.framework.TestResult.run(TestResult.java:113)
at junit.framework.TestCase.run(TestCase.java:124)
at junit.framework.TestSuite.runTest(TestSuite.java:232)
at junit.framework.TestSuite.run(TestSuite.java:227)
at
org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:81)
at
org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:62)
at
org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:140)
at
org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:127)
at org.apache.maven.surefire.Surefire.run(Surefire.java:177)
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:585)
at
org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:338)
at
org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:997)
Apr 8, 2009 6:14:20 AM org.geotools.data.shapefile.ShapefileDataStoreFactory
createNewDataStore
WARNING: File already exists:
http://hudson.opengeo.org/hudson/job/geotools-trunk/ws/gt_trunk/modules/plugin/shapefile/target/test-classes/org/geotools/data/shapefile/test-data/shapes/statepop.shp
Apr 8, 2009 6:14:20 AM org.geotools.data.shapefile.ShapefileDataStoreFactory
createNewDataStore
WARNING: File already exists:
http://hudson.opengeo.org/hudson/job/geotools-trunk/ws/gt_trunk/modules/plugin/shapefile/target/test-classes/org/geotools/data/shapefile/test-data/shapes/statepop.shp
Apr 8, 2009 6:14:20 AM org.geotools.data.shapefile.ShapefileDataStoreFactory
createNewDataStore
WARNING: File already exists:
http://hudson.opengeo.org/hudson/job/geotools-trunk/ws/gt_trunk/modules/plugin/shapefile/target/test-classes/org/geotools/data/shapefile/test-data/shapes/statepop.shp
Apr 8, 2009 6:14:20 AM org.geotools.data.shapefile.ShapefileDataStoreFactory
createNewDataStore
WARNING: File already exists:
http://hudson.opengeo.org/hudson/job/geotools-trunk/ws/gt_trunk/modules/plugin/shapefile/target/test-classes/org/geotools/data/shapefile/test-data/shapes/statepop.shp
Apr 8, 2009 6:14:20 AM org.geotools.data.shapefile.ShapefileDataStoreFactory
createNewDataStore
WARNING: File already exists:
http://hudson.opengeo.org/hudson/job/geotools-trunk/ws/gt_trunk/modules/plugin/shapefile/target/test-classes/org/geotools/data/shapefile/test-data/shapes/statepop.shp
Apr 8, 2009 6:14:20 AM org.geotools.data.shapefile.ShapefileDataStoreFactory
createNewDataStore
WARNING: File already exists:
http://hudson.opengeo.org/hudson/job/geotools-trunk/ws/gt_trunk/modules/plugin/shapefile/target/test-classes/org/geotools/data/shapefile/test-data/shapes/statepop.shp
Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.159 sec
Running org.geotools.index.rtree.fs.FileSystemPageStoreTest
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.159 sec
Running org.geotools.data.shapefile.StorageFileTest
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: -0.005 sec
Results :
Tests in error:
testRemoveFromFrontAndClose(org.geotools.data.shapefile.indexed.IndexedShapefileDataStoreTest)
testRemoveFromFrontAndClose(org.geotools.data.shapefile.ShapefileDataStoreTest)
Tests run: 165, Failures: 0, Errors: 2, Skipped: 0
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] There are test failures.
Please refer to
http://hudson.opengeo.org/hudson/job/geotools-trunk/ws/gt_trunk/modules/plugin/shapefile/target/surefire-reports
for the individual test results.
[INFO] ------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 6 minutes 14 seconds
[INFO] Finished at: Wed Apr 08 06:14:21 EDT 2009
[INFO] Final Memory: 39M/63M
[INFO] ------------------------------------------------------------------------
------------------------------------------------------------------------------
This SF.net email is sponsored by:
High Quality Requirements in a Collaborative Environment.
Download a free trial of Rational Requirements Composer Now!
http://p.sf.net/sfu/www-ibm-com
_______________________________________________
Geotools-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel