Hello.

I'm building a freshly checked-out trunk on an OS X box with these specs per mvn -version:
Maven version: 2.0.10
Java version: 1.5.0_19
OS name: "mac os x" version: "10.5.7" arch: "i386" Family: "unix"

Building with command "mvn clean install -Pweb2" brings this result:

Tests in error:
  testNoNativeProjection(org.geoserver.wfs.response.ShapeZipTest)
  testCharset(org.geoserver.wfs.response.ShapeZipTest)
  testMultiType(org.geoserver.wfs.response.ShapeZipTest)
  testGeometryInTheMiddle(org.geoserver.wfs.response.ShapeZipTest)
  testNullGeometries(org.geoserver.wfs.response.ShapeZipTest)

Tests run: 159, Failures: 0, Errors: 5, Skipped: 0

[INFO] ------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] There are test failures.


The Surefire report is attached.

The issue at hand appears to be with temporary files getting lost at some point. It may have started after I updated my the JVM on my OS X, though I am unsure. David is not duplicating it on Ubuntu.

Thanks,
Alan
-------------------------------------------------------------------------------
Test set: org.geoserver.wfs.response.ShapeZipTest
-------------------------------------------------------------------------------
Tests run: 5, Failures: 0, Errors: 5, Skipped: 0, Time elapsed: 1.219 sec <<< 
FAILURE!
testNoNativeProjection(org.geoserver.wfs.response.ShapeZipTest)  Time elapsed: 
0.278 sec  <<< ERROR!
org.geoserver.platform.ServiceException: java.io.FileNotFoundException: 
/var/folders/ae/ae pYWJ2GqiYfgYiCxC7yE   
TI/-Tmp-/wfsshptemp0.7711796095347029/BasicPolygons.dbf (No such file or 
directory)
        at 
org.geoserver.wfs.response.ShapeZipOutputFormat.writeCollectionToShapefile(ShapeZipOutputFormat.java:203)
        at 
org.geoserver.wfs.response.ShapeZipOutputFormat.write(ShapeZipOutputFormat.java:157)
        at 
org.geoserver.wfs.response.ShapeZipTest.testNoNativeProjection(ShapeZipTest.java:64)
Caused by: java.io.FileNotFoundException: /var/folders/ae/ae 
pYWJ2GqiYfgYiCxC7yE   TI/-Tmp-/wfsshptemp0.7711796095347029/BasicPolygons.dbf 
(No such file or directory)
        at java.io.FileOutputStream.open(Native Method)
        at java.io.FileOutputStream.<init>(FileOutputStream.java:179)
        at java.io.FileOutputStream.<init>(FileOutputStream.java:131)
        at 
org.geotools.data.shapefile.StorageFile.copyFile(StorageFile.java:144)
        at 
org.geotools.data.shapefile.StorageFile.replaceOriginals(StorageFile.java:121)
        at 
org.geotools.data.shapefile.ShapefileDataStore.createSchema(ShapefileDataStore.java:856)
        at 
org.geoserver.wfs.response.ShapeZipOutputFormat.buildStore(ShapeZipOutputFormat.java:398)
        at 
org.geoserver.wfs.response.ShapeZipOutputFormat.writeCollectionToShapefile(ShapeZipOutputFormat.java:195)
        ... 28 more

testCharset(org.geoserver.wfs.response.ShapeZipTest)  Time elapsed: 0.241 sec  
<<< ERROR!
org.geoserver.platform.ServiceException: java.io.FileNotFoundException: 
/var/folders/ae/ae pYWJ2GqiYfgYiCxC7yE   
TI/-Tmp-/wfsshptemp0.9628893382272102/BasicPolygons.prj (No such file or 
directory)
        at 
org.geoserver.wfs.response.ShapeZipOutputFormat.writeCollectionToShapefile(ShapeZipOutputFormat.java:203)
        at 
org.geoserver.wfs.response.ShapeZipOutputFormat.write(ShapeZipOutputFormat.java:157)
        at 
org.geoserver.wfs.response.ShapeZipTest.testCharset(ShapeZipTest.java:81)
Caused by: java.io.FileNotFoundException: /var/folders/ae/ae 
pYWJ2GqiYfgYiCxC7yE   TI/-Tmp-/wfsshptemp0.9628893382272102/BasicPolygons.prj 
(No such file or directory)
        at java.io.FileOutputStream.open(Native Method)
        at java.io.FileOutputStream.<init>(FileOutputStream.java:179)
        at java.io.FileOutputStream.<init>(FileOutputStream.java:131)
        at 
org.geotools.data.shapefile.StorageFile.copyFile(StorageFile.java:144)
        at 
org.geotools.data.shapefile.StorageFile.replaceOriginals(StorageFile.java:121)
        at 
org.geotools.data.shapefile.ShapefileDataStore.createSchema(ShapefileDataStore.java:856)
        at 
org.geoserver.wfs.response.ShapeZipOutputFormat.buildStore(ShapeZipOutputFormat.java:398)
        at 
org.geoserver.wfs.response.ShapeZipOutputFormat.writeCollectionToShapefile(ShapeZipOutputFormat.java:195)
        ... 28 more

testMultiType(org.geoserver.wfs.response.ShapeZipTest)  Time elapsed: 0.24 sec  
<<< ERROR!
org.geoserver.platform.ServiceException: java.io.FileNotFoundException: 
/var/folders/ae/ae pYWJ2GqiYfgYiCxC7yE   
TI/-Tmp-/wfsshptemp0.634443036531952/AllTypesPolygon.shx (No such file or 
directory)
        at 
org.geoserver.wfs.response.ShapeZipOutputFormat.writeCollectionToShapefiles(ShapeZipOutputFormat.java:248)
        at 
org.geoserver.wfs.response.ShapeZipOutputFormat.write(ShapeZipOutputFormat.java:154)
        at 
org.geoserver.wfs.response.ShapeZipTest.testMultiType(ShapeZipTest.java:94)
Caused by: java.io.FileNotFoundException: /var/folders/ae/ae 
pYWJ2GqiYfgYiCxC7yE   TI/-Tmp-/wfsshptemp0.634443036531952/AllTypesPolygon.shx 
(No such file or directory)
        at java.io.FileOutputStream.open(Native Method)
        at java.io.FileOutputStream.<init>(FileOutputStream.java:179)
        at java.io.FileOutputStream.<init>(FileOutputStream.java:131)
        at 
org.geotools.data.shapefile.StorageFile.copyFile(StorageFile.java:144)
        at 
org.geotools.data.shapefile.StorageFile.replaceOriginals(StorageFile.java:121)
        at 
org.geotools.data.shapefile.ShapefileDataStore.createSchema(ShapefileDataStore.java:856)
        at 
org.geoserver.wfs.response.ShapeZipOutputFormat.buildStore(ShapeZipOutputFormat.java:398)
        at 
org.geoserver.wfs.response.ShapeZipOutputFormat.getFeatureWriter(ShapeZipOutputFormat.java:312)
        at 
org.geoserver.wfs.response.ShapeZipOutputFormat.writeCollectionToShapefiles(ShapeZipOutputFormat.java:234)
        ... 28 more

testGeometryInTheMiddle(org.geoserver.wfs.response.ShapeZipTest)  Time elapsed: 
0.222 sec  <<< ERROR!
org.geoserver.platform.ServiceException: java.io.FileNotFoundException: 
/var/folders/ae/ae pYWJ2GqiYfgYiCxC7yE   
TI/-Tmp-/wfsshptemp0.8882515718235036/geommid.dbf (No such file or directory)
        at 
org.geoserver.wfs.response.ShapeZipOutputFormat.writeCollectionToShapefile(ShapeZipOutputFormat.java:203)
        at 
org.geoserver.wfs.response.ShapeZipOutputFormat.write(ShapeZipOutputFormat.java:157)
        at 
org.geoserver.wfs.response.ShapeZipTest.testGeometryInTheMiddle(ShapeZipTest.java:108)
Caused by: java.io.FileNotFoundException: /var/folders/ae/ae 
pYWJ2GqiYfgYiCxC7yE   TI/-Tmp-/wfsshptemp0.8882515718235036/geommid.dbf (No 
such file or directory)
        at java.io.FileOutputStream.open(Native Method)
        at java.io.FileOutputStream.<init>(FileOutputStream.java:179)
        at java.io.FileOutputStream.<init>(FileOutputStream.java:131)
        at 
org.geotools.data.shapefile.StorageFile.copyFile(StorageFile.java:144)
        at 
org.geotools.data.shapefile.StorageFile.replaceOriginals(StorageFile.java:121)
        at 
org.geotools.data.shapefile.ShapefileDataStore.createSchema(ShapefileDataStore.java:856)
        at 
org.geoserver.wfs.response.ShapeZipOutputFormat.buildStore(ShapeZipOutputFormat.java:398)
        at 
org.geoserver.wfs.response.ShapeZipOutputFormat.writeCollectionToShapefile(ShapeZipOutputFormat.java:195)
        ... 28 more

testNullGeometries(org.geoserver.wfs.response.ShapeZipTest)  Time elapsed: 0.23 
sec  <<< ERROR!
org.geoserver.platform.ServiceException: java.io.FileNotFoundException: 
/var/folders/ae/ae pYWJ2GqiYfgYiCxC7yE   
TI/-Tmp-/wfsshptemp0.056442859240152354/nullgeom.prj (No such file or directory)
        at 
org.geoserver.wfs.response.ShapeZipOutputFormat.writeCollectionToShapefile(ShapeZipOutputFormat.java:203)
        at 
org.geoserver.wfs.response.ShapeZipOutputFormat.write(ShapeZipOutputFormat.java:157)
        at 
org.geoserver.wfs.response.ShapeZipTest.testNullGeometries(ShapeZipTest.java:118)
Caused by: java.io.FileNotFoundException: /var/folders/ae/ae 
pYWJ2GqiYfgYiCxC7yE   TI/-Tmp-/wfsshptemp0.056442859240152354/nullgeom.prj (No 
such file or directory)
        at java.io.FileOutputStream.open(Native Method)
        at java.io.FileOutputStream.<init>(FileOutputStream.java:179)
        at java.io.FileOutputStream.<init>(FileOutputStream.java:131)
        at 
org.geotools.data.shapefile.StorageFile.copyFile(StorageFile.java:144)
        at 
org.geotools.data.shapefile.StorageFile.replaceOriginals(StorageFile.java:121)
        at 
org.geotools.data.shapefile.ShapefileDataStore.createSchema(ShapefileDataStore.java:856)
        at 
org.geoserver.wfs.response.ShapeZipOutputFormat.buildStore(ShapeZipOutputFormat.java:398)
        at 
org.geoserver.wfs.response.ShapeZipOutputFormat.writeCollectionToShapefile(ShapeZipOutputFormat.java:195)
        ... 28 more


------------------------------------------------------------------------------
_______________________________________________
Geoserver-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-devel

Reply via email to