Thanks João,

Looks like a legit failure. Unfortunately non of the main devs use windows
for building and our continuous build server uses linux so i imagine it is
a windows specific thing we have just missed, which is pretty common.

Can you open a jira report with all the relevant info and one us will try
to look into this when we get a chance. Or if you are up for trying to
patch the tests to pass that would be even better.

Thanks.

-Justin


On Mon, Jul 2, 2012 at 11:26 AM, João Duarte <[email protected]> wrote:

> Hi Justin,
>
> Thanks for the reply.
>
> Here's the output of the failed test:
>
> Results :
>
> Failed tests:
> testIsModified(org.geoserver.security.xml.XMLUserGroupServiceTest)
>   testEmptyPassword(org.geoserver.security.xml.XMLUserGroupServiceTest):
> expected:<0> but was:<6>
>
> Tests in error:
>   testEraseCredentials(org.geoserver.security.xml.XMLUserGroupServiceTest):
> Already locked
>   testPasswordRecoding(org.geoserver.security.xml.XMLUserGroupServiceTest):
> Already locked
>   testGlobal(org.geoserver.template.GeoServerTemplateLoader2Test):
> org.geoserver.data.test.LiveData cannot be cast
> to org.geoserver.data.test.MockData
>
> Tests run: 460, Failures: 2, Errors: 3, Skipped: 0
>
>
>
> On Mon, Jul 2, 2012 at 6:10 PM, Justin Deoliveira <[email protected]>
> wrote:
> > Hi João,
> >
> > It seems like there was a test failure in the main module. The failed
> test
> > should have showed up in your build output before the reactor summary,
> can
> > you provide the output? Thanks.
> >
> > -Justin
> >
> > On Mon, Jul 2, 2012 at 10:09 AM, João Duarte <[email protected]> wrote:
> >>
> >> Hi all,
> >>
> >> I'm trying to build GeoServer for the first time but can't get a
> >> successful build.
> >>
> >> I've followed the steps in the developers guide and after installing
> >> all the tools and getting the source code from trunk and trying "mvn
> >> clean install", the build fails.
> >>
> >> Is this happening to anyone else?
> >>
> >> Here's the build report:
> >>
> >> [INFO]
> >> ------------------------------------------------------------------------
> >> [INFO] Reactor Summary:
> >> [INFO]
> >> [INFO] GeoServer ......................................... SUCCESS
> >> [54.693s]
> >> [INFO] Core Platform Module .............................. SUCCESS
> >> [9.181s]
> >> [INFO] Open Web Service Module ........................... SUCCESS
> >> [12.438s]
> >> [INFO] Main Module ....................................... SUCCESS
> >> [4:11.383s]
> >> [INFO] Web Feature Service Module ........................ FAILURE
> >> [5:18.598s]
> >> [INFO] Web Coverage Service Module ....................... SKIPPED
> >> [INFO] Web Map Service Module ............................ SKIPPED
> >> [INFO] GeoServer Web Modules ............................. SKIPPED
> >> [INFO] Core UI Module .................................... SKIPPED
> >> [INFO] Security UI Module ................................ SKIPPED
> >> [INFO] GeoServer Security Modules ........................ SKIPPED
> >> [INFO] GeoServer CAS Security Module ..................... SKIPPED
> >> [INFO] GeoServer JDBC Security Module .................... SKIPPED
> >> [INFO] GeoServer LDAP Security Module .................... SKIPPED
> >> [INFO] Web Coverage Service 1.0 Module ................... SKIPPED
> >> [INFO] Web Coverage Service 1.1 Module ................... SKIPPED
> >> [INFO] GeoWebCache (GWC) Module .......................... SKIPPED
> >> [INFO] REST Support Module ............................... SKIPPED
> >> [INFO] REST Configuration Service Module ................. SKIPPED
> >> [INFO] WMS UI Module ..................................... SKIPPED
> >> [INFO] GWC UI Module ..................................... SKIPPED
> >> [INFO] WFS UI Module ..................................... SKIPPED
> >> [INFO] Demoes Module ..................................... SKIPPED
> >> [INFO] WCS UI Module ..................................... SKIPPED
> >> [INFO] GeoServer Web Application ......................... SKIPPED
> >> [INFO] Community Space ................................... SKIPPED
> >> [INFO] GeoServer Extensions .............................. SKIPPED
> >> [INFO]
> >> ------------------------------------------------------------------------
> >> [INFO] BUILD FAILURE
> >> [INFO]
> >> ------------------------------------------------------------------------
> >> [INFO] Total time: 10:47.477s
> >> [INFO] Finished at: Mon Jul 02 17:01:42 BST 2012
> >> [INFO] Final Memory: 16M/45M
> >> [INFO]
> >> ------------------------------------------------------------------------
> >> [ERROR] Failed to execute goal
> >> org.apache.maven.plugins:maven-surefire-plugin:2.10:test
> >> (default-test) on project w
> >> fs: There are test failures.
> >> [ERROR]
> >> [ERROR] Please refer to
> >> D:\Projects\GeoServer\geoserver-trunk\src\wfs\target\surefire-reports
> >> for the individual te
> >> st results.
> >> [ERROR] -> [Help 1]
> >> org.apache.maven.lifecycle.LifecycleExecutionException: Failed to
> >> execute goal org.apache.maven.plugins:maven-suref
> >> ire-plugin:2.10:test (default-test) on project wfs: There are test
> >> failures.
> >>
> >> Please refer to
> >> D:\Projects\GeoServer\geoserver-trunk\src\wfs\target\surefire-reports
> >> for the individual test resul
> >> ts.
> >>         at
> >>
> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:213)
> >>         at
> >>
> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
> >>         at
> >>
> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
> >>         at
> >>
> org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84)
> >>         at
> >>
> org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)
> >>         at
> >>
> org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)
> >>         at
> >>
> org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)
> >>         at
> org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:320)
> >>         at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)
> >>         at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537)
> >>         at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196)
> >>         at org.apache.maven.cli.MavenCli.main(MavenCli.java:141)
> >>         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:601)
> >>         at
> >>
> org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290)
> >>         at
> >>
> org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230)
> >>         at
> >>
> org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409)
> >>         at
> >>
> org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352)
> >> Caused by: org.apache.maven.plugin.MojoFailureException: There are
> >> test failures.
> >>
> >> Please refer to
> >> D:\Projects\GeoServer\geoserver-trunk\src\wfs\target\surefire-reports
> >> for the individual test resul
> >> ts.
> >>         at
> >>
> org.apache.maven.plugin.surefire.SurefireHelper.reportExecution(SurefireHelper.java:87)
> >>         at
> >>
> org.apache.maven.plugin.surefire.SurefirePlugin.writeSummary(SurefirePlugin.java:641)
> >>         at
> >>
> org.apache.maven.plugin.surefire.SurefirePlugin.handleSummary(SurefirePlugin.java:615)
> >>         at
> >>
> org.apache.maven.plugin.surefire.AbstractSurefireMojo.executeAfterPreconditionsChecked(AbstractSurefireM
> >> ojo.java:137)
> >>         at
> >>
> org.apache.maven.plugin.surefire.AbstractSurefireMojo.execute(AbstractSurefireMojo.java:98)
> >>         at
> >>
> org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101)
> >>         at
> >>
> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209)
> >>         ... 19 more
> >> [ERROR]
> >> [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
> >>
> >> --
> >> João
> >>
> >>
> >>
> ------------------------------------------------------------------------------
> >> Live Security Virtual Conference
> >> Exclusive live event will cover all the ways today's security and
> >> threat landscape has changed and how IT managers can respond.
> Discussions
> >> will include endpoint security, mobile security and the latest in
> malware
> >> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
> >> _______________________________________________
> >> Geoserver-devel mailing list
> >> [email protected]
> >> https://lists.sourceforge.net/lists/listinfo/geoserver-devel
> >
> >
> >
> >
> > --
> > Justin Deoliveira
> > OpenGeo - http://opengeo.org
> > Enterprise support for open source geospatial.
> >
>
>
>
> --
> João
>



-- 
Justin Deoliveira
OpenGeo - http://opengeo.org
Enterprise support for open source geospatial.
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Geoserver-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-devel

Reply via email to