From: Mark P. (JIRA) <ji...@co...> - 2012-01-20 10:40:14
|
Mark Prins created GEOT-4024: -------------------------------- Summary: shapefile-ng build fails due to failing tests Key: GEOT-4024 URL: https://jira.codehaus.org/browse/GEOT-4024 Project: GeoTools Issue Type: Bug Components: shapefile plugin, unsupported Affects Versions: 8.0-RC1 Environment: Windows XP + Maven 3.0.3 + Oracle JDK 1.6 _30 Windows 2003 + (Jenkins) Maven 3.0.3 as well as Maven 2.2.1 with Oracle JDK 1.6 _29 Reporter: Mark Prins Assignee: Andrea Aime Priority: Minor Attachments: install.log, org.geotools.data.shapefile.ng.fid.IndexedFidReaderTest.txt, org.geotools.data.shapefile.ng.fid.IndexedFidWriterTest.txt, org.geotools.data.shapefile.ng.ShapefileDataStoreTest.txt The gt-shapefile-ng build of trunk fails due to failing tests when running mvn -Dall install On my desktop I see the following stack trace pass by several times: 20-jan-2012 10:55:06 org.geotools.data.shapefile.ng.shp.ShapefileReader <init> WARNING: Could not open the .shx file, continuing assuming the .shp file is not sparse java.io.FileNotFoundException: JAR entry org/geotools/test-data/shapes/extraAtEnd.shx not found in C:\maven-repository\org\geotools\gt-sample-data\8-SNAPSHOT\gt-sample-data-8-SNAPSHOT.jar at sun.net.www.protocol.jar.JarURLConnection.connect(JarURLConnection.java:122) at sun.net.www.protocol.jar.JarURLConnection.getInputStream(JarURLConnection.java:132) at org.geotools.data.shapefile.ng.files.ShpFiles.getReadChannel(ShpFiles.java:804) at org.geotools.data.shapefile.ng.shp.IndexFile.<init>(IndexFile.java:78) at org.geotools.data.shapefile.ng.shp.ShapefileReader.<init>(ShapefileReader.java:236) at org.geotools.data.shapefile.ng.ShapefileTest.loadShapes(ShapefileTest.java:263) at org.geotools.data.shapefile.ng.ShapefileTest.testExtraAtEnd(ShapefileTest.java:110) Also I see quite a lot of SEVERE warnings about a read lock on files that are about to be deleted, eg: 20-jan-2012 10:55:03 org.geotools.data.shapefile.ng.files.ShpFiles logCurrentLockers SEVERE: The following locker still has a lock: read on file:/D:/Data/PrinsMC/Temp/test-+()shp6575856581566326441.fix by org.geotools.data.shapefile.ng.fid.IndexedFidReader Couldn't delete D:\Data\PrinsMC\Temp\test-+()shp6575856581566326441.fix There is a Jenkins doing svn-commit triggered builds at http://gisdemo.agro.nl/jenkins/view/geotools/ which also gives access to the console logs. I haven't checked the code of the tests yet, but OpenGeo's Hudson seems content with the results, so I guess these are Win32 specific failures. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://jira.codehaus.org/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira |