See <http://hudson.opengeo.org/hudson/job/geotools-trunk/3546/changes>
Changes:
[simonegiannecchini] GEOT-3572
[simonegiannecchini] fix in world file writer
------------------------------------------
[...truncated 3874 lines...]
at
org.geotools.data.shapefile.ShapefileDataStore.openShapeReader(ShapefileDataStore.java:529)
at
org.geotools.data.shapefile.ShapefileDataStore.getAttributesReader(ShapefileDataStore.java:480)
at
org.geotools.data.shapefile.ShapefileDataStore.getFeatureReader(ShapefileDataStore.java:366)
at
org.geotools.data.shapefile.ShapefileDataStoreTest.testGetCount(ShapefileDataStoreTest.java:737)
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:592)
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:592)
at
org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:345)
at
org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:1009)
May 8, 2011 10:10:49 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-trunk/ws/gt_trunk/modules/plugin/shapefile/target/test-classes/org/geotools/data/shapefile/test-data/shapes/stream.shx>
(No such file or directory)
at java.io.RandomAccessFile.open(Native Method)
at java.io.RandomAccessFile.<init>(RandomAccessFile.java:212)
at
org.geotools.data.shapefile.ShpFiles.getReadChannel(ShpFiles.java:832)
at org.geotools.data.shapefile.shp.IndexFile.<init>(IndexFile.java:78)
at
org.geotools.data.shapefile.shp.ShapefileReader.<init>(ShapefileReader.java:240)
at
org.geotools.data.shapefile.ShapefileDataStore.openShapeReader(ShapefileDataStore.java:529)
at
org.geotools.data.shapefile.ShapefileDataStore.getCount(ShapefileDataStore.java:1068)
at
org.geotools.data.shapefile.ShapefileDataStoreTest.testGetCount(ShapefileDataStoreTest.java:743)
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:592)
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:592)
at
org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:345)
at
org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:1009)
May 8, 2011 10:10:49 PM org.geotools.data.shapefile.ShapefileDataStore
createSchema
WARNING: PRJ file not generated for null CoordinateReferenceSystem
May 8, 2011 10:10:49 PM org.geotools.data.shapefile.ShapefileDataStore
createSchema
WARNING: PRJ file not generated for null CoordinateReferenceSystem
May 8, 2011 10:10:49 PM org.geotools.data.shapefile.ShapefileDataStore
createSchema
WARNING: PRJ file not generated for null CoordinateReferenceSystem
May 8, 2011 10:10:49 PM org.geotools.data.shapefile.ShapefileDataStore
createSchema
WARNING: PRJ file not generated for null CoordinateReferenceSystem
Tests run: 28, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 15.781 sec
Running org.geotools.data.shapefile.shp.PolygonHandlerTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.007 sec
Running org.geotools.data.shapefile.indexed.IndexedShapefileDataStoreFactoryTest
Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.058 sec
Running org.geotools.data.shapefile.DbaseNullSupportTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.003 sec
Running org.geotools.data.shapefile.StorageFileTest
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.009 sec
Results :
Tests run: 180, Failures: 0, Errors: 0, Skipped: 1
[INFO] [jar:jar {execution: default-jar}]
[INFO] Building jar:
<http://hudson.opengeo.org/hudson/job/geotools-trunk/ws/gt_trunk/modules/plugin/shapefile/target/gt-shapefile-8-SNAPSHOT.jar>
[INFO] Preparing source:jar
[WARNING] Removing: jar from forked lifecycle, to prevent recursive invocation.
[INFO] [svn-revision-number:revision {execution: default}]
[INFO] inspecting
<http://hudson.opengeo.org/hudson/job/geotools-trunk/ws/gt_trunk/modules/plugin/shapefile>
[WARNING] the "build.repository" property is already defined, its value will be
overwritten. Consider another value for the entry properties prefix.
[WARNING] the "build.path" property is already defined, its value will be
overwritten. Consider another value for the entry properties prefix.
[WARNING] the "build.revision" property is already defined, its value will be
overwritten. Consider another value for the entry properties prefix.
[WARNING] the "build.mixedRevisions" property is already defined, its value
will be overwritten. Consider another value for the entry properties prefix.
[WARNING] the "build.committedRevision" property is already defined, its value
will be overwritten. Consider another value for the entry properties prefix.
[WARNING] the "build.status" property is already defined, its value will be
overwritten. Consider another value for the entry properties prefix.
[WARNING] the "build.specialStatus" property is already defined, its value will
be overwritten. Consider another value for the entry properties prefix.
[INFO] [source:jar {execution: attach-sources}]
[INFO] Building jar:
<http://hudson.opengeo.org/hudson/job/geotools-trunk/ws/gt_trunk/modules/plugin/shapefile/target/gt-shapefile-8-SNAPSHOT-sources.jar>
[INFO] [jar-collector:collect {execution: default}]
[INFO] [install:install {execution: default-install}]
[INFO] Installing
<http://hudson.opengeo.org/hudson/job/geotools-trunk/ws/gt_trunk/modules/plugin/shapefile/target/gt-shapefile-8-SNAPSHOT.jar>
to
/home/tomcat/.m2/repository/org/geotools/gt-shapefile/8-SNAPSHOT/gt-shapefile-8-SNAPSHOT.jar
[INFO] Installing
<http://hudson.opengeo.org/hudson/job/geotools-trunk/ws/gt_trunk/modules/plugin/shapefile/target/gt-shapefile-8-SNAPSHOT-sources.jar>
to
/home/tomcat/.m2/repository/org/geotools/gt-shapefile/8-SNAPSHOT/gt-shapefile-8-SNAPSHOT-sources.jar
[INFO] ------------------------------------------------------------------------
[INFO] Building Grid Coverage module
[INFO] task-segment: [clean, install]
[INFO] ------------------------------------------------------------------------
[INFO] [clean:clean {execution: default-clean}]
[INFO] Deleting directory
<http://hudson.opengeo.org/hudson/job/geotools-trunk/ws/gt_trunk/modules/library/coverage/target>
[INFO] [svn-revision-number:revision {execution: default}]
[INFO] inspecting
<http://hudson.opengeo.org/hudson/job/geotools-trunk/ws/gt_trunk/modules/library/coverage>
[INFO] [resources:resources {execution: default-resources}]
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 3 resources
[INFO] [compiler:compile {execution: default-compile}]
[INFO] Compiling 134 source files to
<http://hudson.opengeo.org/hudson/job/geotools-trunk/ws/gt_trunk/modules/library/coverage/target/classes>
[INFO] [resources:testResources {execution: default-testResources}]
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 4 resources
[INFO] [compiler:testCompile {execution: default-testCompile}]
[INFO] Compiling 30 source files to
<http://hudson.opengeo.org/hudson/job/geotools-trunk/ws/gt_trunk/modules/library/coverage/target/test-classes>
[INFO] [surefire:test {execution: default-test}]
[INFO] Surefire report directory:
<http://hudson.opengeo.org/hudson/job/geotools-trunk/ws/gt_trunk/modules/library/coverage/target/surefire-reports>
-------------------------------------------------------
T E S T S
-------------------------------------------------------
Running org.geotools.image.ImageWorkerTest
Error: Could not find mediaLib accelerator wrapper classes. Continuing in pure
Java mode.
Occurs in: com.sun.media.jai.mlib.MediaLibAccessor
java.lang.NoClassDefFoundError: com/sun/medialib/mlib/Image
at
com.sun.media.jai.mlib.MediaLibAccessor$1.run(MediaLibAccessor.java:248)
at java.security.AccessController.doPrivileged(Native Method)
at
com.sun.media.jai.mlib.MediaLibAccessor.setUseMlib(MediaLibAccessor.java:245)
at
com.sun.media.jai.mlib.MediaLibAccessor.useMlib(MediaLibAccessor.java:177)
at
com.sun.media.jai.mlib.MediaLibAccessor.isMediaLibCompatible(MediaLibAccessor.java:357)
at com.sun.media.jai.mlib.MlibLookupRIF.create(MlibLookupRIF.java:49)
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:592)
at javax.media.jai.FactoryCache.invoke(FactoryCache.java:122)
at
javax.media.jai.OperationRegistry.invokeFactory(OperationRegistry.java:1674)
at
javax.media.jai.ThreadSafeOperationRegistry.invokeFactory(ThreadSafeOperationRegistry.java:473)
at javax.media.jai.registry.RIFRegistry.create(RIFRegistry.java:332)
at javax.media.jai.RenderedOp.createInstance(RenderedOp.java:819)
at javax.media.jai.RenderedOp.createRendering(RenderedOp.java:867)
at javax.media.jai.RenderedOp.getSampleModel(RenderedOp.java:2233)
at
org.geotools.image.ImageWorker.forceBitmaskIndexColorModel(ImageWorker.java:1021)
at
org.geotools.image.ImageWorker.forceIndexColorModelForGIF(ImageWorker.java:1106)
at
org.geotools.image.ImageWorkerTest.testBitmask(ImageWorkerTest.java:250)
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:592)
at org.junit.internal.runners.TestMethod.invoke(TestMethod.java:59)
at
org.junit.internal.runners.MethodRoadie.runTestMethod(MethodRoadie.java:98)
at org.junit.internal.runners.MethodRoadie$2.run(MethodRoadie.java:79)
at
org.junit.internal.runners.MethodRoadie.runBeforesThenTestThenAfters(MethodRoadie.java:87)
at org.junit.internal.runners.MethodRoadie.runTest(MethodRoadie.java:77)
at org.junit.internal.runners.MethodRoadie.run(MethodRoadie.java:42)
at
org.junit.internal.runners.JUnit4ClassRunner.invokeTestMethod(JUnit4ClassRunner.java:88)
at
org.junit.internal.runners.JUnit4ClassRunner.runMethods(JUnit4ClassRunner.java:51)
at
org.junit.internal.runners.JUnit4ClassRunner$1.run(JUnit4ClassRunner.java:44)
at
org.junit.internal.runners.ClassRoadie.runUnprotected(ClassRoadie.java:27)
at
org.junit.internal.runners.ClassRoadie.runProtected(ClassRoadie.java:37)
at
org.junit.internal.runners.JUnit4ClassRunner.run(JUnit4ClassRunner.java:42)
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:592)
at
org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:345)
at
org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:1009)
Tests run: 16, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.144 sec
Running org.geotools.coverage.ScaledColorSpaceTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.06 sec
Running org.geotools.coverage.SampleTranscoderTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.273 sec
Running org.geotools.coverage.processing.BandSelectTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.108 sec
Running org.geotools.coverage.CategoryListTest
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.073 sec
Running org.geotools.coverage.grid.GridGeometryTest
Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.542 sec
Running org.geotools.coverage.processing.operation.ZonalStasTest
Tests run: 2, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 0.045 sec <<<
FAILURE!
Running org.geotools.coverage.processing.ColorMapTest
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.013 sec
Running org.geotools.coverage.CategoryTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.04 sec
Running org.geotools.coverage.processing.FilteredSubsampleTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.995 sec
Running org.geotools.image.palette.CustomPaletteBuilderTest
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.318 sec
Running org.geotools.coverage.grid.ViewsManagerTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.058 sec
Running org.geotools.coverage.processing.ResampleTest
Tests run: 9, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 1.786 sec <<<
FAILURE!
Running org.geotools.coverage.processing.ScaleTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 1, Time elapsed: 0.003 sec
Running org.geotools.referencing.operation.builder.GridToEnvelopeMapperTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.003 sec
Running org.geotools.coverage.grid.GridCoverageTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.717 sec
Running org.geotools.coverage.grid.FloatRasterTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.078 sec
Running org.geotools.coverage.processing.StatisticsOperationsTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.144 sec
Running org.geotools.coverage.processing.SubsampleAverageTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.237 sec
Running org.geotools.image.io.ImageIOExtTest
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.007 sec
Running org.geotools.coverage.processing.OperationsTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.122 sec
Running org.geotools.resources.coverage.CoverageUtilitiesTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.002 sec
Running org.geotools.coverage.processing.CropTest
Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.255 sec
Running org.geotools.coverage.grid.InterpolatorTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.495 sec
Running org.geotools.coverage.SampleDimensionTest
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.007 sec
Results :
Tests in error:
testPolygonZoneGlobalStats(org.geotools.coverage.processing.operation.ZonalStasTest)
testPolygonZoneLocalStats(org.geotools.coverage.processing.operation.ZonalStasTest)
testGoogleWorld(org.geotools.coverage.processing.ResampleTest)
testWarpCompareGoogleWorld(org.geotools.coverage.processing.ResampleTest)
Tests run: 81, Failures: 0, Errors: 4, Skipped: 1
[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/library/coverage/target/surefire-reports>
for the individual test results.
[INFO] ------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 4 minutes 17 seconds
[INFO] Finished at: Sun May 08 22:11:04 UTC 2011
[INFO] Final Memory: 61M/326M
[INFO] ------------------------------------------------------------------------
------------------------------------------------------------------------------
WhatsUp Gold - Download Free Network Management Software
The most intuitive, comprehensive, and cost-effective network
management toolset available today. Delivers lowest initial
acquisition cost and overall TCO of any competing solution.
http://p.sf.net/sfu/whatsupgold-sd
_______________________________________________
Geotools-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel