See <http://hudson.opengeo.org/hudson/job/geotools-trunk/3354/changes>

Changes:

[mbedward] GEOT-3474 Move Geometries enum and tests from main to api module

[NielsCharlier] WFS Property Selection with namespaces/nested paths, again 
after memory fix - GEOS-4380

------------------------------------------
[...truncated 13116 lines...]
        at 
org.geotools.data.complex.AppSchemaDataAccessFactory.createDataStore(AppSchemaDataAccessFactory.java:95)
        at 
org.geotools.data.DataAccessFinder.getDataStore(DataAccessFinder.java:129)
        at 
org.geotools.data.DataAccessFinder.getDataStore(DataAccessFinder.java:95)
        at 
org.geotools.filter.VocabFunctionsTest.setUp(VocabFunctionsTest.java:88)
        at junit.framework.TestCase.runBare(TestCase.java:132)
        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)
Mar 16, 2011 10:19:12 AM org.geotools.data.DataAccessFinder getDataStore
WARNING: Application Schema DataAccess should be used, but could not connect
org.geotools.data.DataSourceException: Duplicate mappingName or targetElement 
across FeatureTypeMapping instances detected.
They have to be unique, or app-schema doesn't know which one to get.
Please check your mapping file(s) with mappingName or targetElement of: 
http://example.com:FirstParentFeature
        at 
org.geotools.data.complex.AppSchemaDataAccess.<init>(AppSchemaDataAccess.java:99)
        at 
org.geotools.data.complex.AppSchemaDataAccessFactory.createDataStore(AppSchemaDataAccessFactory.java:95)
        at 
org.geotools.data.DataAccessFinder.getDataStore(DataAccessFinder.java:129)
        at 
org.geotools.data.DataAccessFinder.getDataStore(DataAccessFinder.java:95)
        at 
org.geotools.filter.VocabFunctionsTest.setUp(VocabFunctionsTest.java:88)
        at junit.framework.TestCase.runBare(TestCase.java:132)
        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)
Mar 16, 2011 10:19:12 AM org.geotools.data.DataAccessFinder getDataStore
WARNING: Application Schema DataAccess should be used, but could not connect
org.geotools.data.DataSourceException: Duplicate mappingName or targetElement 
across FeatureTypeMapping instances detected.
They have to be unique, or app-schema doesn't know which one to get.
Please check your mapping file(s) with mappingName or targetElement of: 
http://example.com:FirstParentFeature
        at 
org.geotools.data.complex.AppSchemaDataAccess.<init>(AppSchemaDataAccess.java:99)
        at 
org.geotools.data.complex.AppSchemaDataAccessFactory.createDataStore(AppSchemaDataAccessFactory.java:95)
        at 
org.geotools.data.DataAccessFinder.getDataStore(DataAccessFinder.java:129)
        at 
org.geotools.data.DataAccessFinder.getDataStore(DataAccessFinder.java:95)
        at 
org.geotools.filter.VocabFunctionsTest.setUp(VocabFunctionsTest.java:88)
        at junit.framework.TestCase.runBare(TestCase.java:132)
        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)
Mar 16, 2011 10:19:12 AM org.geotools.data.DataAccessFinder getDataStore
WARNING: Application Schema DataAccess should be used, but could not connect
org.geotools.data.DataSourceException: Duplicate mappingName or targetElement 
across FeatureTypeMapping instances detected.
They have to be unique, or app-schema doesn't know which one to get.
Please check your mapping file(s) with mappingName or targetElement of: 
http://example.com:FirstParentFeature
        at 
org.geotools.data.complex.AppSchemaDataAccess.<init>(AppSchemaDataAccess.java:99)
        at 
org.geotools.data.complex.AppSchemaDataAccessFactory.createDataStore(AppSchemaDataAccessFactory.java:95)
        at 
org.geotools.data.DataAccessFinder.getDataStore(DataAccessFinder.java:129)
        at 
org.geotools.data.DataAccessFinder.getDataStore(DataAccessFinder.java:95)
        at 
org.geotools.filter.VocabFunctionsTest.setUp(VocabFunctionsTest.java:88)
        at junit.framework.TestCase.runBare(TestCase.java:132)
        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)
Tests run: 5, Failures: 0, Errors: 4, Skipped: 0, Time elapsed: 0.106 sec <<< 
FAILURE!
Running org.geotools.data.complex.filter.XPathTest
Mar 16, 2011 10:19:12 AM org.geotools.data.complex.filter.XPath deglose
WARNING: Using root's namespace http://online.socialchange.net.au for step 
named 'measurement', as no prefix was stated
Mar 16, 2011 10:19:12 AM org.geotools.data.complex.filter.XPath deglose
WARNING: Using root's namespace http://online.socialchange.net.au for step 
named 'result', as no prefix was stated
Mar 16, 2011 10:19:12 AM org.geotools.data.complex.filter.XPath deglose
WARNING: Using root's namespace http://online.socialchange.net.au for step 
named 'measurement', as no prefix was stated
Mar 16, 2011 10:19:12 AM org.geotools.data.complex.filter.XPath deglose
WARNING: Using root's namespace http://online.socialchange.net.au for step 
named 'determinand_description', as no prefix was stated
Mar 16, 2011 10:19:12 AM org.geotools.data.complex.filter.XPath deglose
WARNING: Using root's namespace http://online.socialchange.net.au for step 
named 'measurement', as no prefix was stated
Mar 16, 2011 10:19:12 AM org.geotools.data.complex.filter.XPath deglose
WARNING: Using root's namespace http://online.socialchange.net.au for step 
named 'result', as no prefix was stated
Mar 16, 2011 10:19:12 AM org.geotools.data.complex.filter.XPath deglose
WARNING: Using root's namespace http://online.socialchange.net.au for step 
named 'measurement', as no prefix was stated
Mar 16, 2011 10:19:12 AM org.geotools.data.complex.filter.XPath deglose
WARNING: Using root's namespace http://online.socialchange.net.au for step 
named 'result', as no prefix was stated
Mar 16, 2011 10:19:12 AM org.geotools.data.complex.filter.XPath deglose
WARNING: Using root's namespace http://online.socialchange.net.au for step 
named 'measurement', as no prefix was stated
Mar 16, 2011 10:19:12 AM org.geotools.data.complex.filter.XPath deglose
WARNING: Using root's namespace http://online.socialchange.net.au for step 
named 'result', as no prefix was stated
Mar 16, 2011 10:19:12 AM org.geotools.data.complex.filter.XPath deglose
WARNING: Using root's namespace http://online.socialchange.net.au for step 
named 'result', as no prefix was stated
Mar 16, 2011 10:19:12 AM org.geotools.data.complex.filter.XPath deglose
WARNING: Using root's namespace http://online.socialchange.net.au for step 
named 'measurement', as no prefix was stated
Mar 16, 2011 10:19:12 AM org.geotools.data.complex.filter.XPath deglose
WARNING: Using root's namespace http://online.socialchange.net.au for step 
named 'result', as no prefix was stated
Mar 16, 2011 10:19:12 AM org.geotools.data.complex.filter.XPath deglose
WARNING: Using root's namespace http://online.socialchange.net.au for step 
named 'measurement', as no prefix was stated
Mar 16, 2011 10:19:12 AM org.geotools.data.complex.filter.XPath deglose
WARNING: Using root's namespace http://online.socialchange.net.au for step 
named 'measurement', as no prefix was stated
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.017 sec
Running org.geotools.filter.GeometryFunctionsTest
Mar 16, 2011 10:19:12 AM org.geotools.filter.GeometryFunctionsTest 
testToDirectPosition
INFO: Testing exception: java.lang.IllegalArgumentException: Invalid or 
unsupported SRS name detected for toDirectPosition function: 1. Cause: No 
authority was defined for code "1". Did you forget "AUTHORITY:NUMBER"?
Mar 16, 2011 10:19:12 AM org.geotools.filter.GeometryFunctionsTest 
testToDirectPosition
INFO: Testing exception: java.lang.IllegalArgumentException: Too many 
parameters for toDirectPosition function: [pointOne, pointTwo, pointOne]. 
Usage: toDirectPosition('SRS_NAME'(optional), srsName(optional), point 1, point 
2(optional))
Mar 16, 2011 10:19:12 AM org.geotools.filter.GeometryFunctionsTest 
testToDirectPosition
INFO: Testing exception: java.lang.IllegalArgumentException: Wrong number of 
parameters toDirectPosition function: [SRS_NAME, EPSG:WGS84]. Usage: 
toDirectPosition('SRS_NAME'(optional), srsName(optional), point 1, point 
2(optional))
Mar 16, 2011 10:19:12 AM org.geotools.filter.GeometryFunctionsTest testToPoint
INFO: Testing exception: java.lang.IllegalArgumentException: Wrong number of 
parameters for toPoint function: [pointOne]. Usage: 
toPoint('SRS_NAME'(optional), srsName(optional), point 1, point 2, 
gml:id(optional))
Mar 16, 2011 10:19:12 AM org.geotools.filter.GeometryFunctionsTest testToPoint
INFO: Testing exception: java.lang.IllegalArgumentException: Invalid or 
unsupported SRS name detected for toPoint function: 1. Cause: No authority was 
defined for code "1". Did you forget "AUTHORITY:NUMBER"?
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.55 sec
Running org.geotools.data.complex.FeatureChainingTest
Set up time: 3634 ms
Mar 16, 2011 10:19:16 AM 
org.geotools.data.complex.AbstractMappingFeatureIterator next
WARNING: hasNext not called before calling next() in the iterator!
Mar 16, 2011 10:19:16 AM 
org.geotools.data.complex.AbstractMappingFeatureIterator next
WARNING: hasNext not called before calling next() in the iterator!
Mar 16, 2011 10:19:16 AM 
org.geotools.data.complex.AbstractMappingFeatureIterator next
WARNING: hasNext not called before calling next() in the iterator!
Mar 16, 2011 10:19:16 AM 
org.geotools.data.complex.AbstractMappingFeatureIterator next
WARNING: hasNext not called before calling next() in the iterator!
Mar 16, 2011 10:19:16 AM 
org.geotools.data.complex.AbstractMappingFeatureIterator next
WARNING: hasNext not called before calling next() in the iterator!
Mar 16, 2011 10:19:16 AM 
org.geotools.data.complex.AbstractMappingFeatureIterator next
WARNING: hasNext not called before calling next() in the iterator!
Mar 16, 2011 10:19:17 AM 
org.geotools.data.complex.AbstractMappingFeatureIterator next
WARNING: hasNext not called before calling next() in the iterator!
Mar 16, 2011 10:19:17 AM 
org.geotools.data.complex.AbstractMappingFeatureIterator next
WARNING: hasNext not called before calling next() in the iterator!
Mar 16, 2011 10:19:17 AM org.geotools.data.DataAccessFinder getDataStore
WARNING: Application Schema DataAccess should be used, but could not connect
org.geotools.data.DataSourceException: Duplicate mappingName or targetElement 
across FeatureTypeMapping instances detected.
They have to be unique, or app-schema doesn't know which one to get.
Please check your mapping file(s) with mappingName or targetElement of: 
http://example.com:FirstParentFeature
        at 
org.geotools.data.complex.AppSchemaDataAccess.<init>(AppSchemaDataAccess.java:99)
        at 
org.geotools.data.complex.AppSchemaDataAccessFactory.createDataStore(AppSchemaDataAccessFactory.java:95)
        at 
org.geotools.data.DataAccessFinder.getDataStore(DataAccessFinder.java:129)
        at 
org.geotools.data.DataAccessFinder.getDataStore(DataAccessFinder.java:95)
        at 
org.geotools.data.complex.FeatureChainingTest.testComplexTypeWithSimpleContent(FeatureChainingTest.java:574)
        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: 7, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 4.872 sec <<< 
FAILURE!
Running org.geotools.data.complex.config.AppSchemaFileDataTest
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.599 sec
Running org.geotools.filter.BBoxTest
Mar 16, 2011 10:19:19 AM 
org.geotools.data.complex.AbstractMappingFeatureIterator next
WARNING: hasNext not called before calling next() in the iterator!
Mar 16, 2011 10:19:19 AM 
org.geotools.data.complex.AbstractMappingFeatureIterator next
WARNING: hasNext not called before calling next() in the iterator!
Mar 16, 2011 10:19:19 AM 
org.geotools.data.complex.AbstractMappingFeatureIterator next
WARNING: hasNext not called before calling next() in the iterator!
Mar 16, 2011 10:19:19 AM 
org.geotools.data.complex.AbstractMappingFeatureIterator next
WARNING: hasNext not called before calling next() in the iterator!
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.677 sec
Running org.geotools.data.complex.AppSchemaDataAccessTest
Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.066 sec
Running org.geotools.data.complex.GeologicUnitTest
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 6.49 sec

Results :

Tests in error: 
  testFactoryLookup(org.geotools.data.complex.AppSchemaDataAccessFactoryTest)
  testUniqueKey(org.geotools.data.complex.AppSchemaDataAccessRegistryTest)
  testCategorizeFunction(org.geotools.filter.VocabFunctionsTest)
  testVocabFunction(org.geotools.filter.VocabFunctionsTest)
  testNoVocabFunction(org.geotools.filter.VocabFunctionsTest)
  testVocabFunctionInMappingFile(org.geotools.filter.VocabFunctionsTest)
  
testComplexTypeWithSimpleContent(org.geotools.data.complex.FeatureChainingTest)

Tests run: 100, Failures: 0, Errors: 7, 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/unsupported/app-schema/app-schema/target/surefire-reports>
 for the individual test results.
[INFO] ------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 12 minutes 29 seconds
[INFO] Finished at: Wed Mar 16 10:19:26 UTC 2011
[INFO] Final Memory: 77M/316M
[INFO] ------------------------------------------------------------------------


------------------------------------------------------------------------------
Colocation vs. Managed Hosting
A question and answer guide to determining the best fit
for your organization - today and in the future.
http://p.sf.net/sfu/internap-sfd2d
_______________________________________________
Geotools-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel

Reply via email to