[Geoserver-devel] Build failed in Jenkins: geoserver-master #583

See <http://ares.opengeo.org/jenkins/job/geoserver-master/583/changes&gt;

Changes:

[andrea.aime] Upgrade cobertura to a java 7 compatible version

------------------------------------------
[...truncated 23683 lines...]
  at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1362)
  at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1118)
  at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:517)
  ... 79 more
Caused by: java.lang.ClassNotFoundException: org.opengis.filter.sort.SortBy
  at java.net.URLClassLoader$1.run(URLClassLoader.java:366)
  at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
  at java.security.AccessController.doPrivileged(Native Method)
  at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
  at java.lang.ClassLoader.loadClass(ClassLoader.java:425)
  at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
  at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
  ... 95 more

testRootSettingOnGlobal(org.geoserver.web.RESTPanelTest) Time elapsed: 132 sec <<< ERROR!
java.lang.IllegalStateException: you can only locate or create sessions in the context of a request cycle
  at org.apache.wicket.Session.findOrCreate(Session.java:208)
  at org.apache.wicket.Session.get(Session.java:252)
  at org.geoserver.web.GeoServerWicketTestSupport.clearErrorMessages(GeoServerWicketTestSupport.java:50)
  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
  at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  at java.lang.reflect.Method.invoke(Method.java:606)
  at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
  at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
  at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
  at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:33)
  at org.junit.rules.RunRules.evaluate(RunRules.java:20)
  at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
  at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
  at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
  at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
  at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
  at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
  at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
  at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
  at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
  at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
  at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
  at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:252)
  at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:141)
  at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:112)
  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
  at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  at java.lang.reflect.Method.invoke(Method.java:606)
  at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:189)
  at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:165)
  at org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:85)
  at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:115)
  at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:75)

org.geoserver.web.RESTPanelTest Time elapsed: 132 sec <<< ERROR!
java.lang.NullPointerException
  at org.geoserver.web.GeoServerWicketTestSupport.onTearDown(GeoServerWicketTestSupport.java:56)
  at org.geoserver.test.GeoServerSystemTestSupport.tearDown(GeoServerSystemTestSupport.java:228)
  at org.geoserver.test.GeoServerSystemTestSupport.tearDown(GeoServerSystemTestSupport.java:158)
  at org.geoserver.test.GeoServerBaseTestSupport.doTearDownClass(GeoServerBaseTestSupport.java:204)
  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
  at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  at java.lang.reflect.Method.invoke(Method.java:606)
  at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
  at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
  at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
  at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:33)
  at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
  at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:252)
  at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:141)
  at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:112)
  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
  at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  at java.lang.reflect.Method.invoke(Method.java:606)
  at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:189)
  at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:165)
  at org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:85)
  at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:115)
  at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:75)

Results :

Tests in error:
  testRootSettingOnWorkSpace(org.geoserver.web.RESTPanelTest): Error creating bean with name 'restWrapper' defined in URL [jar:<http://ares.opengeo.org/jenkins/job/geoserver-master/ws/src/rest/target/gs-rest-2.6-SNAPSHOT.jar!/applicationContext.xml\]>: Cannot resolve reference to bean 'geoServer' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'geoServer' defined in URL [jar:<http://ares.opengeo.org/jenkins/job/geoserver-master/ws/src/main/target/gs-main-2.6-SNAPSHOT.jar!/applicationContext.xml\]>: Cannot resolve reference to bean 'catalog' while setting bean property 'catalog'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'localWorkspaceCatalog' defined in URL [jar:<http://ares.opengeo.org/jenkins/job/geoserver-master/ws/src/main/target/gs-main-2.6-SNAPSHOT.jar!/applicationContext.xml\]>: Cannot resolve reference to bean 'advertisedCatalog' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'advertisedCatalog' defined in URL [jar:<http://ares.opengeo.org/jenkins/job/geoserver-master/ws/src/main/target/gs-main-2.6-SNAPSHOT.jar!/applicationContext.xml\]>: Cannot resolve reference to bean 'secureCatalog' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'accessRulesDao' defined in URL [jar:<http://ares.opengeo.org/jenkins/job/geoserver-master/ws/src/main/target/gs-main-2.6-SNAPSHOT.jar!/applicationSecurityContext.xml\]>: Cannot resolve reference to bean 'rawCatalog' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'rawCatalog' defined in URL [jar:<http://ares.opengeo.org/jenkins/job/geoserver-master/ws/src/main/target/gs-main-2.6-SNAPSHOT.jar!/applicationContext.xml\]>: Initialization of bean failed; nested exception is java.lang.NoClassDefFoundError: org/opengis/filter/sort/SortBy
  testRootSettingOnWorkSpace(org.geoserver.web.RESTPanelTest): you can only locate or create sessions in the context of a request cycle
  testRootSettingOnGlobal(org.geoserver.web.RESTPanelTest): Error creating bean with name 'localWorkspaceCatalog' defined in URL [jar:<http://ares.opengeo.org/jenkins/job/geoserver-master/ws/src/main/target/gs-main-2.6-SNAPSHOT.jar!/applicationContext.xml\]>: Cannot resolve reference to bean 'advertisedCatalog' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'advertisedCatalog' defined in URL [jar:<http://ares.opengeo.org/jenkins/job/geoserver-master/ws/src/main/target/gs-main-2.6-SNAPSHOT.jar!/applicationContext.xml\]>: Cannot resolve reference to bean 'secureCatalog' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'accessRulesDao' defined in URL [jar:<http://ares.opengeo.org/jenkins/job/geoserver-master/ws/src/main/target/gs-main-2.6-SNAPSHOT.jar!/applicationSecurityContext.xml\]>: Cannot resolve reference to bean 'rawCatalog' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'rawCatalog' defined in URL [jar:<http://ares.opengeo.org/jenkins/job/geoserver-master/ws/src/main/target/gs-main-2.6-SNAPSHOT.jar!/applicationContext.xml\]>: Initialization of bean failed; nested exception is java.lang.NoClassDefFoundError: org/opengis/filter/sort/SortBy
  testRootSettingOnGlobal(org.geoserver.web.RESTPanelTest): you can only locate or create sessions in the context of a request cycle
  org.geoserver.web.RESTPanelTest

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

[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Skipping Application Schema Integration Test
[INFO] This project has been banned from the build due to previous failures.
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Skipping XLST based WFS output format
[INFO] This project has been banned from the build due to previous failures.
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Skipping Importer Core Module
[INFO] This project has been banned from the build due to previous failures.
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Skipping Web Coverage Service 2.0 Earth Observation GUI extension
[INFO] This project has been banned from the build due to previous failures.
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Skipping Monitor Hibernate Extension
[INFO] This project has been banned from the build due to previous failures.
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Skipping Security UI JDBC Module
[INFO] This project has been banned from the build due to previous failures.
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Skipping Security UI LDAP Module
[INFO] This project has been banned from the build due to previous failures.
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Skipping GeoServer Security Extension Modules
[INFO] This project has been banned from the build due to previous failures.
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Skipping CSW UI Module
[INFO] This project has been banned from the build due to previous failures.
[INFO] ------------------------------------------------------------------------
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 63.211 sec
Running org.geoserver.wps.web.WPSExecuteTransformerTest
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] GeoServer ......................................... SUCCESS [7.569s]
[INFO] Core Platform Module .............................. SUCCESS [15.144s]
[INFO] Open Web Service Module ........................... SUCCESS [16.113s]
[INFO] Main Module ....................................... SUCCESS [2:54.690s]
[INFO] GeoServer Security Modules ........................ SUCCESS [0.623s]
[INFO] GeoServer JDBC Security Module .................... SUCCESS [1:16.913s]
[INFO] GeoServer LDAP Security Module .................... SUCCESS [47.110s]
[INFO] Web Coverage Service Module ....................... SUCCESS [6.199s]
[INFO] Web Coverage Service 1.0 Module ................... SUCCESS [1:04.218s]
[INFO] Web Coverage Service 1.1 Module ................... SUCCESS [1:20.129s]
[INFO] Web Coverage Service 2.0 Module ................... SUCCESS [2:03.177s]
[INFO] Web Feature Service Module ........................ SUCCESS [4:47.217s]
[INFO] Web Map Service Module ............................ SUCCESS [6:23.803s]
[INFO] KML support for GeoServer ......................... SUCCESS [1:25.113s]
[INFO] GeoWebCache (GWC) Module .......................... SUCCESS [2:29.000s]
[INFO] REST Support Module ............................... SUCCESS [44.693s]
[INFO] REST Configuration Service Module ................. SUCCESS [3:18.106s]
[INFO] GeoServer Web Modules ............................. SUCCESS [0.627s]
[INFO] Core UI Module .................................... SUCCESS [2:34.961s]
[INFO] WMS UI Module ..................................... SUCCESS [1:08.006s]
[INFO] GWC UI Module ..................................... SUCCESS [1:53.222s]
[INFO] WFS UI Module ..................................... SUCCESS [42.972s]
[INFO] Demoes Module ..................................... SUCCESS [59.844s]
[INFO] WCS UI Module ..................................... SUCCESS [59.369s]
[INFO] Security UI Modules ............................... SUCCESS [0.352s]
[INFO] Security UI Core Module ........................... SUCCESS [3:51.536s]
[INFO] Security UI JDBC Module ........................... SKIPPED
[INFO] Security UI LDAP Module ........................... SKIPPED
[INFO] REST UI Module .................................... FAILURE [40.453s]
[INFO] Community Space ................................... SUCCESS [0.183s]
[INFO] HTTP Proxy Extension .............................. SUCCESS [9.260s]
[INFO] GeoServer Web Application ......................... SKIPPED
[INFO] GeoServer Extensions .............................. SUCCESS [0.271s]
[INFO] Printing Module ................................... SUCCESS [35.528s]
[INFO] Application Schema Support ........................ SUCCESS [0.170s]
[INFO] Application Schema Integration Test ............... SKIPPED
[INFO] Sample DataAccess Integration Test ................ SUCCESS [38.091s]
[INFO] ArcSDE DataStore Extension ........................ SUCCESS [33.490s]
[INFO] GeoSearch Index Module ............................ SUCCESS [46.780s]
[INFO] H2 DataStore Extension ............................ SUCCESS [24.055s]
[INFO] SQL Server DataStore Extension .................... SUCCESS [1.299s]
[INFO] Oracle DataStore Extension ........................ SUCCESS [0.594s]
[INFO] MySQL DataStore Extension ......................... SUCCESS [0.431s]
[INFO] DB2 DataStore Extension ........................... SUCCESS [1.001s]
[INFO] ImageMap Output Format ............................ SUCCESS [20.150s]
[INFO] ImageI/O-Ext GDAL Coverage Extension .............. SUCCESS [1.414s]
[INFO] JP2K Coverage Extension ........................... SUCCESS [0.613s]
[INFO] ogr2ogr Output Format ............................. SUCCESS [36.298s]
[INFO] Excel Output Format ............................... SUCCESS [53.420s]
[INFO] Validation Module ................................. SUCCESS [5.919s]
[INFO] Chart external graphics support ................... SUCCESS [4.393s]
[INFO] Feature Generalization Extension .................. SUCCESS [4.519s]
[INFO] Image Mosaic JDBC Extension ....................... SUCCESS [0.807s]
[INFO] OWS request flow controller ....................... SUCCESS [26.179s]
[INFO] Web Processing Service parent ..................... SUCCESS [0.219s]
[INFO] Web Processing Service Module ..................... SUCCESS [4:23.737s]
[INFO] Web Processing Service GUI ........................ SKIPPED
[INFO] GeoServer Layer Querying filter functions ......... SUCCESS [1:08.180s]
[INFO] Teradata DataStore Extension ...................... SUCCESS [4.153s]
[INFO] GeoServer Monitor Extensions ...................... SUCCESS [0.313s]
[INFO] Core Monitor Extension ............................ SUCCESS [25.029s]
[INFO] Monitor Hibernate Extension ....................... SKIPPED
[INFO] GeoServer Security Extension Modules .............. SKIPPED
[INFO] GeoServer CAS Security Module ..................... SKIPPED
[INFO] GeoServer Security Extension Web Modules .......... SKIPPED
[INFO] GeoServer CAS Security Web Module ................. SKIPPED
[INFO] XLST based WFS output format ...................... SKIPPED
[INFO] GeoServer INSPIRE Extensions ...................... SUCCESS [54.159s]
[INFO] GeoServer CSS Styling ............................. SUCCESS [47.724s]
[INFO] Catalog Services for the Web parent ............... SUCCESS [0.284s]
[INFO] Catalog Services for the Web interfaces ........... SUCCESS [22.329s]
[INFO] Catalog Services for the Web - Simple CatalogStore implementation SUCCESS [27.708s]
[INFO] Catalog Services for the Web core module .......... SUCCESS [1:59.452s]
[INFO] CSW UI Module ..................................... SKIPPED
[INFO] DXF output format ................................. SUCCESS [0.242s]
[INFO] DXF output format ................................. SUCCESS [42.240s]
[INFO] DXF WPS PPIO ...................................... SUCCESS [38.884s]
[INFO] GeoServer WCS 2.0 Earth Observation Extensions .... SUCCESS [0.159s]
[INFO] Web Coverage Service 2.0 Earth Observation extensions SUCCESS [48.133s]
[INFO] Web Coverage Service 2.0 Earth Observation GUI extension SKIPPED
[INFO] GeoServer libjpeg-turbo Module .................... SUCCESS [39.418s]
[INFO] GeoServer Data Importer ........................... SUCCESS [0.323s]
[INFO] Importer Core Module .............................. SKIPPED
[INFO] Importer REST Api Module .......................... SKIPPED
[INFO] Importer Berkley DB Persistence Module ............ SKIPPED
[INFO] Importer Web UI Module ............................ SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 33:08.134s (Wall Clock)
[INFO] Finished at: Tue Jun 17 11:21:30 UTC 2014
[INFO] Final Memory: 70M/212M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.12.3:test (default-test) on project gs-web-rest: There are test failures.
[ERROR]
[ERROR] Please refer to <http://ares.opengeo.org/jenkins/job/geoserver-master/ws/src/web/rest/target/surefire-reports&gt; for the individual test results.
[ERROR] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR] mvn <goals> -rf :gs-web-rest
Build step 'Invoke top-level Maven targets' marked build as failure

See <http://ares.opengeo.org/jenkins/job/geoserver-master/584/&gt;