See http://hudson.opengeo.org/hudson/job/geotools-2.5.x/432/changes

Changes:

[simonegiannecchini] -adding test for directory recursion

[simonegiannecchini] -removing unused class

[simonegiannecchini] -making index builder recursive
-ignoring more files for the index builder
-adding more code coverage in tests
-respecting absolute vs relative paths

------------------------------------------
[...truncated 4536 lines...]
        at 
org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:345)
        at 
org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:1009)
May 15, 2009 4:25:45 PM org.geotools.data.shapefile.shp.ShapefileReader <init>
WARNING: Could not open the .shx file, continuing assuming the .shp file is not 
sparse
java.io.FileNotFoundException: 
http://hudson.opengeo.org/hudson/job/geotools-2.5.x/ws/gt_2.5.x/modules/plugin/shapefile/target/test-classes/org/geotools/data/shapefile/test-data/shapes/stream.shx
 
        at 
org.geotools.data.shapefile.ShpFiles.getReadChannel(ShpFiles.java:821)
        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.getCount(ShapefileDataStore.java:987)
        at 
org.geotools.data.shapefile.ShapefileDataStoreTest.testGetCount(ShapefileDataStoreTest.java:691)
        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:345)
        at 
org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:1009)
May 15, 2009 4:25:45 PM org.geotools.data.shapefile.ShapefileDataStore 
createSchema
WARNING: PRJ file not generated for null CoordinateReferenceSystem
Tests run: 23, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.01 sec
Running org.geotools.data.shapefile.shp.PolygonHandlerTest
May 15, 2009 4:25:45 PM org.geotools.data.DefaultTransaction finalize
SEVERE: There's code leaving transaction unclosed. Call Transaction.close() 
after using them to ensure they do not hold state such as JDCB connections or 
file handles
May 15, 2009 4:25:45 PM org.geotools.data.DefaultTransaction finalize
SEVERE: Unclosed transaction handle is 
'org.geotools.data.shapefile.ShapefileDataStoreTest.testWrite Transaction'
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.006 sec
Running org.geotools.data.shapefile.indexed.IndexedShapefileDataStoreFactoryTest
May 15, 2009 4:25:45 PM org.geotools.data.shapefile.ShapefileDataStoreFactory 
createNewShapefile
WARNING: File already exists: 
http://hudson.opengeo.org/hudson/job/geotools-2.5.x/ws/gt_2.5.x/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.042 sec
Running org.geotools.index.rtree.fs.FileSystemPageStoreTest
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.102 sec
Running org.geotools.data.shapefile.StorageFileTest
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.009 sec

Results :

Tests run: 166, Failures: 0, Errors: 0, Skipped: 0

May 15, 2009 4:25:46 PM org.geotools.data.shapefile.ShpFiles logCurrentLockers
SEVERE: The following locker still has a lock� read on 
file:/tmp/test-shp21982.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-shp21982.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.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:773)
        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:345)
        at 
org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:1009)
[INFO] [jar:jar]
[INFO] Building jar: 
http://hudson.opengeo.org/hudson/job/geotools-2.5.x/ws/gt_2.5.x/modules/plugin/shapefile/target/gt-shapefile-2.5-SNAPSHOT.jar
 
[INFO] Preparing source:jar
[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: 
http://hudson.opengeo.org/hudson/job/geotools-2.5.x/ws/gt_2.5.x/modules/plugin/shapefile/target/gt-shapefile-2.5-SNAPSHOT-sources.jar
 
[INFO] [jar-collector:collect {execution: default}]
[INFO] [install:install]
[INFO] Installing 
http://hudson.opengeo.org/hudson/job/geotools-2.5.x/ws/gt_2.5.x/modules/plugin/shapefile/target/gt-shapefile-2.5-SNAPSHOT.jar
  to 
/home/tomcat/.m2/repository/org/geotools/gt-shapefile/2.5-SNAPSHOT/gt-shapefile-2.5-SNAPSHOT.jar
[INFO] Installing 
http://hudson.opengeo.org/hudson/job/geotools-2.5.x/ws/gt_2.5.x/modules/plugin/shapefile/target/gt-shapefile-2.5-SNAPSHOT-sources.jar
  to 
/home/tomcat/.m2/repository/org/geotools/gt-shapefile/2.5-SNAPSHOT/gt-shapefile-2.5-SNAPSHOT-sources.jar
[INFO] ------------------------------------------------------------------------
[INFO] Building ImageI/O-Ext based grid coverage readers
[INFO]    task-segment: [clean, install]
[INFO] ------------------------------------------------------------------------
[INFO] [clean:clean]
[INFO] Deleting directory 
http://hudson.opengeo.org/hudson/job/geotools-2.5.x/ws/gt_2.5.x/modules/plugin/imageio-ext-gdal/target
 
[INFO] [resources:resources]
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 1 resource
[INFO] [compiler:compile]
[INFO] Compiling 34 source files to 
http://hudson.opengeo.org/hudson/job/geotools-2.5.x/ws/gt_2.5.x/modules/plugin/imageio-ext-gdal/target/classes
 
[INFO] [resources:testResources]
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 9 resources
[INFO] [compiler:testCompile]
[INFO] Compiling 26 source files to 
http://hudson.opengeo.org/hudson/job/geotools-2.5.x/ws/gt_2.5.x/modules/plugin/imageio-ext-gdal/target/test-classes
 
[INFO] [surefire:test]
[INFO] Surefire report directory: 
http://hudson.opengeo.org/hudson/job/geotools-2.5.x/ws/gt_2.5.x/modules/plugin/imageio-ext-gdal/target/surefire-reports
 
Native library load failed.
java.lang.UnsatisfiedLinkError: no gdaljni in java.library.path
May 15, 2009 4:25:50 PM 
org.geotools.coverageio.gdal.jp2mrsid.AbstractJP2MrSIDTestCase <clinit>
WARNING: GDAL library unavailable.

-------------------------------------------------------
 T E S T S
-------------------------------------------------------
Running org.geotools.coverageio.gdal.erdasimg.ServiceTest
May 15, 2009 4:25:50 PM it.geosolutions.imageio.gdalframework.GDALUtilities 
loadGDAL
WARNING: Native library load failed.java.lang.UnsatisfiedLinkError: no gdaljni 
in java.library.path
May 15, 2009 4:25:51 PM org.geotools.coverageio.gdal.AbstractGDALBasedTestCase 
testingEnabled
WARNING: ErdasImagine libraries are not available, skipping tests!
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.542 sec
Running org.geotools.coverageio.gdal.jp2kak.JP2KTest
May 15, 2009 4:25:51 PM org.geotools.coverageio.gdal.AbstractGDALBasedTestCase 
testingEnabled
WARNING: JP2K libraries are not available, skipping tests!
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.005 sec
Running org.geotools.coverageio.gdal.ehdr.ServiceTest
May 15, 2009 4:25:51 PM org.geotools.coverageio.gdal.AbstractGDALBasedTestCase 
testingEnabled
WARNING: EHdr libraries are not available, skipping tests!
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.013 sec
Running org.geotools.coverageio.gdal.jp2kak.ServiceTest
May 15, 2009 4:25:51 PM org.geotools.coverageio.gdal.AbstractGDALBasedTestCase 
testingEnabled
WARNING: JP2K libraries are not available, skipping tests!
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.004 sec
Running org.geotools.coverageio.BaseGridFormatFactorySpiTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.649 sec
Running org.geotools.coverageio.gdal.dted.DTEDTest
May 15, 2009 4:25:52 PM org.geotools.coverageio.gdal.AbstractGDALBasedTestCase 
testingEnabled
WARNING: DTED libraries are not available, skipping tests!
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.004 sec
Running org.geotools.coverageio.gdal.ehdr.EsriHdrTest
May 15, 2009 4:25:52 PM org.geotools.coverageio.gdal.AbstractGDALBasedTestCase 
testingEnabled
WARNING: EHdr libraries are not available, skipping tests!
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.005 sec
Running org.geotools.coverageio.gdal.ecw.ServiceTest
May 15, 2009 4:25:52 PM org.geotools.coverageio.gdal.AbstractGDALBasedTestCase 
testingEnabled
WARNING: ECW libraries are not available, skipping tests!
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.004 sec
Running org.geotools.coverageio.gdal.jp2mrsid.ServiceTest
May 15, 2009 4:25:52 PM org.geotools.coverageio.gdal.AbstractGDALBasedTestCase 
testingEnabled
WARNING: JP2MrSID libraries are not available, skipping tests!
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.003 sec
Running org.geotools.coverageio.gdal.erdasimg.ErdasImgTest
May 15, 2009 4:25:52 PM org.geotools.coverageio.gdal.AbstractGDALBasedTestCase 
testingEnabled
WARNING: ErdasImagine libraries are not available, skipping tests!
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.003 sec
Running org.geotools.coverageio.gdal.nitf.NITFTest
May 15, 2009 4:25:52 PM org.geotools.coverageio.gdal.AbstractGDALBasedTestCase 
testingEnabled
WARNING: NITF libraries are not available, skipping tests!
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.002 sec
Running org.geotools.coverageio.gdal.mrsid.ServiceTest
May 15, 2009 4:25:52 PM org.geotools.coverageio.gdal.AbstractGDALBasedTestCase 
testingEnabled
WARNING: MrSID libraries are not available, skipping tests!
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.004 sec
Running org.geotools.coverageio.gdal.dted.ServiceTest
May 15, 2009 4:25:52 PM org.geotools.coverageio.gdal.AbstractGDALBasedTestCase 
testingEnabled
WARNING: DTED libraries are not available, skipping tests!
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.004 sec
Running org.geotools.coverageio.gdal.ecw.ECWTest
May 15, 2009 4:25:52 PM org.geotools.coverageio.gdal.AbstractGDALBasedTestCase 
testingEnabled
WARNING: ECW libraries are not available, skipping tests!
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.003 sec
Running org.geotools.coverageio.gdal.mrsid.MrSIDTest
May 15, 2009 4:25:52 PM org.geotools.coverageio.gdal.AbstractGDALBasedTestCase 
testingEnabled
WARNING: MrSID libraries are not available, skipping tests!
May 15, 2009 4:25:52 PM org.geotools.coverageio.gdal.AbstractGDALBasedTestCase 
testingEnabled
WARNING: MrSID libraries are not available, skipping tests!
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.004 sec
Running org.geotools.coverageio.gdal.jp2mrsid.JP2MrSIDTest
May 15, 2009 4:25:52 PM org.geotools.coverageio.gdal.AbstractGDALBasedTestCase 
testingEnabled
WARNING: JP2MrSID libraries are not available, skipping tests!
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.003 sec
Running org.geotools.coverageio.gdal.nitf.ServiceTest
May 15, 2009 4:25:52 PM org.geotools.coverageio.gdal.AbstractGDALBasedTestCase 
testingEnabled
WARNING: NITF libraries are not available, skipping tests!
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.003 sec

Results :

Tests run: 18, Failures: 0, Errors: 0, Skipped: 0

[INFO] [jar:jar]
[INFO] Building jar: 
http://hudson.opengeo.org/hudson/job/geotools-2.5.x/ws/gt_2.5.x/modules/plugin/imageio-ext-gdal/target/gt-imageio-ext-gdal-2.5-SNAPSHOT.jar
 
[INFO] Preparing source:jar
[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: 
http://hudson.opengeo.org/hudson/job/geotools-2.5.x/ws/gt_2.5.x/modules/plugin/imageio-ext-gdal/target/gt-imageio-ext-gdal-2.5-SNAPSHOT-sources.jar
 
[INFO] [jar-collector:collect {execution: default}]
[INFO] [install:install]
[INFO] Installing 
http://hudson.opengeo.org/hudson/job/geotools-2.5.x/ws/gt_2.5.x/modules/plugin/imageio-ext-gdal/target/gt-imageio-ext-gdal-2.5-SNAPSHOT.jar
  to 
/home/tomcat/.m2/repository/org/geotools/gt-imageio-ext-gdal/2.5-SNAPSHOT/gt-imageio-ext-gdal-2.5-SNAPSHOT.jar
[INFO] Installing 
http://hudson.opengeo.org/hudson/job/geotools-2.5.x/ws/gt_2.5.x/modules/plugin/imageio-ext-gdal/target/gt-imageio-ext-gdal-2.5-SNAPSHOT-sources.jar
  to 
/home/tomcat/.m2/repository/org/geotools/gt-imageio-ext-gdal/2.5-SNAPSHOT/gt-imageio-ext-gdal-2.5-SNAPSHOT-sources.jar
[INFO] ------------------------------------------------------------------------
[INFO] Building imagemosaic datasource module
[INFO]    task-segment: [clean, install]
[INFO] ------------------------------------------------------------------------
[INFO] [clean:clean]
[INFO] Deleting directory 
http://hudson.opengeo.org/hudson/job/geotools-2.5.x/ws/gt_2.5.x/modules/plugin/imagemosaic/target
 
[INFO] [resources:resources]
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 1 resource
[INFO] [compiler:compile]
[INFO] Compiling 11 source files to 
http://hudson.opengeo.org/hudson/job/geotools-2.5.x/ws/gt_2.5.x/modules/plugin/imagemosaic/target/classes
 
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Compilation failure
http://hudson.opengeo.org/hudson/job/geotools-2.5.x/ws/gt_2.5.x/modules/plugin/imagemosaic/src/main/java/org/geotools/gce/imagemosaic/ReadType.java
 :[207,79] cannot find symbol
symbol  : variable UNSUPPORTED_OPERATION_$1
location: class org.geotools.resources.i18n.ErrorKeys


[INFO] ------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 4 minutes 54 seconds
[INFO] Finished at: Fri May 15 16:25:54 EDT 2009
[INFO] Final Memory: 45M/63M
[INFO] ------------------------------------------------------------------------
Failed to send e-mail to simonegiannecchini because no e-mail address is known, 
and no default e-mail domain is configured


------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables 
unlimited royalty-free distribution of the report engine 
for externally facing server and web deployment. 
http://p.sf.net/sfu/businessobjects
_______________________________________________
Geotools-devel mailing list
Geotools-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geotools-devel

Reply via email to