No worries. Thanks for the help Justin and Andrea. I think for the time being, 
i'm going to stick with the prebuilt war to get up and running. I hope we'll be 
able to contribute something at some point but i need to get into using it 
first :)
Once i free-up a few extra minutes, i'll poke around the logs more and maybe 
even try a larger instance.
Thanks again. I'll update this thread if i come across anything.
--nix

On 2012/10/06, at 11:05, Justin Deoliveira <[email protected]> wrote:

> Hmmmm... indeed your maven and java config looks fine. And that is a recent 
> revision that is known to pass tests so i am somewhat at a loss here. AWS 
> micro instances are pretty slim on memory so that could be the issue. Did you 
> look at the surefire-report for the failed tests?
> 
> Aside, in case you werent aware, if you do just want to build and forget 
> tests (i pretty much always do this except just before commit) just add the 
> maven flag "-DskipTests". That will still compile the tests, just not execute 
> them.
> 
> On Fri, Oct 5, 2012 at 2:31 PM, robert <[email protected]> wrote:
> Andrea, At least part of my slow build-time is certainly because i'm doing 
> this on a micro EC2 instance.
> 
> $ mvn -version
> Apache Maven 3.0.4
> Maven home: /usr/share/maven
> Java version: 1.6.0_34, vendor: Sun Microsystems Inc.
> Java home: /usr/lib/jvm/jdk1.6.0_34/jre
> Default locale: en_US, platform encoding: UTF-8
> OS name: "linux", version: "3.2.0-29-virtual", arch: "amd64", family: "unix"
> 
> $ git rev-parse HEAD
> da85d416438ce6de3b9196ae0b53b30aed763bdc
> 
> Now, it seems i overlooked these warnings toward the top of the "mvn test" 
> output:
> 
> [WARNING] Some problems were encountered while building the effective model 
> for org.geoserver:geoserver:pom:2.2-SNAPSHOT
> [WARNING] 'build.plugins.plugin.version' for 
> org.apache.maven.plugins:maven-resources-plugin is missing. @ line 1112, 
> column 12
> [WARNING] 'build.plugins.plugin.version' for 
> org.apache.maven.plugins:maven-compiler-plugin is missing. @ line 1094, 
> column 12
> [WARNING] 'build.plugins.plugin.version' for 
> org.apache.maven.plugins:maven-surefire-plugin is missing. @ line 1121, 
> column 12
> [WARNING] 'build.plugins.plugin.version' for 
> org.apache.maven.plugins:maven-source-plugin is missing. @ line 1215, column 
> 12
> [WARNING] 'build.plugins.plugin.version' for 
> org.apache.maven.plugins:maven-jar-plugin is missing. @ line 1203, column 12
> [WARNING] 'reporting.plugins.plugin.version' for 
> org.apache.maven.plugins:maven-site-plugin is missing. @ line 1268, column 12
> [WARNING] 'reporting.plugins.plugin.version' for 
> org.apache.maven.plugins:maven-javadoc-plugin is missing. @ line 1273, column 
> 12
> [WARNING] 'reporting.plugins.plugin.version' for 
> org.apache.maven.plugins:maven-project-info-reports-plugin is missing. @ line 
> 1329, column 12
> [WARNING] 'reporting.plugins.plugin.version' for 
> org.apache.maven.plugins:maven-surefire-report-plugin is missing. @ line 
> 1334, column 12
> [WARNING] 'reporting.plugins.plugin.version' for 
> org.apache.maven.plugins:maven-jxr-plugin is missing. @ line 1342, column 12
> [WARNING] 'reporting.plugins.plugin.version' for 
> org.codehaus.mojo:taglist-maven-plugin is missing. @ line 1350, column 12
> [WARNING] 'reporting.plugins.plugin.version' for 
> org.codehaus.mojo:cobertura-maven-plugin is missing. @ line 1364, column 12
> [WARNING] 
> [WARNING] It is highly recommended to fix these problems because they 
> threaten the stability of your build.
> [WARNING] 
> 
> 
> --nix
> 
> On 2012/10/05, at 13:16, Justin Deoliveira <[email protected]> wrote:
> 
>> Ok cool. So yeah, it is not obvious as to why the tests would be failing for 
>> you, since our continous integration server reports no test failures. So my 
>> guess is something different or specific to your configuration that is 
>> different than the typical supported setup. 
>> 
>> ONe common pitfall (especially on linux distros) is not using the oracle 
>> jdk. Unfortunately its the only truly supported one. GeoServer will run on 
>> other jdk's but the full build with tests i expect would have issues. 
>> Another common pitfall is java version. Currently the GeoServer 2.2.x build 
>> requires jdk 6. I don;t believe the full build will pass on java 7.
>> 
>> ONe thing you can do is try to provide such information. First thing would 
>> be to include maven information.
>> 
>> % mvn -version
>> 
>> That should give us all the info about the jdk. 
>> 
>> The second bit that would be useful is to know what revision your git 
>> checkout is at which you can find with:
>> 
>> % git rev-parse HEAD
>> 
>> Hopefully with some more info about your system we can figure it out.
>> 
>> -Justin
>> 
>> On Fri, Oct 5, 2012 at 9:18 AM, robert <[email protected]> wrote:
>> Hi Justin,
>> 
>> I am trying to build GeoServer from source following the quick-start 
>> developer docs. The code seems to have compiled. It's just the tests that 
>> all seem to fail (or be skipped). I quite literally just followed these 
>> steps: http://docs.geoserver.org/stable/en/developer/quickstart/index.html
>> 
>> git clone git://github.com/geoserver/geoserver.git geoserver
>> cd geoserver
>> git checkout 2.2.x
>> cd src
>> mvn clean install
>> 
>> After which it states "BUILD SUCCESSFUL" should be the result.
>> 
>> Since it's a Maven build, i expected all the dependencies to be handled for 
>> me so i'm just not clear why my build fails nor where to start looking for 
>> diagnosing it.
>> 
>> Thanks,
>> --nix
>> 
>> On 2012/10/05, at 10:39, Justin Deoliveira <[email protected]> wrote:
>> 
>>> Hi Robert,
>>> 
>>> I am not quite sure what the question is. The output below looks like a 
>>> failed build due to failed test cases in the main module, namely 
>>> XMLUserGroupServiceTest and AuthenticationCacheFilterTest. 
>>> 
>>> Are you referring to not seeing how they are passing on the continuos build 
>>> server? What revision are you building from?
>>> 
>>> -Justin
>>> 
>>> On Fri, Oct 5, 2012 at 7:55 AM, robert <[email protected]> wrote:
>>> Hi,
>>> 
>>> I'm new to GeoServer. Sorry if i've overlooked a resource on this.
>>> 
>>> I'm curious how these tests are consider passing (or not failing). I'm 
>>> seeing similar results for most of the test suite for the 2.2.x branch 
>>> under Ubuntu 12.04.1 LTS following 
>>> http://docs.geoserver.org/stable/en/developer/quickstart/index.html
>>> 
>>> Running org.geoserver.security.xml.XMLUserDetailsServiceTest
>>> Oct 05, 2012 1:42:39 PM org.vfny.geoserver.global.GeoserverDataDirectory 
>>> init
>>> SEVERE: 
>>> ----------------------------------
>>> - GEOSERVER_DATA_DIR: 
>>> /root/geoserver/src/main/./target/live3714295130424965378data
>>> ----------------------------------
>>> Oct 05, 2012 1:42:47 PM org.vfny.geoserver.global.GeoserverDataDirectory 
>>> init
>>> SEVERE: 
>>> ----------------------------------
>>> - GEOSERVER_DATA_DIR: 
>>> /root/geoserver/src/main/./target/live3458386369684002170data
>>> ----------------------------------
>>> Oct 05, 2012 1:42:49 PM org.vfny.geoserver.global.GeoserverDataDirectory 
>>> init
>>> SEVERE: 
>>> ----------------------------------
>>> - GEOSERVER_DATA_DIR: 
>>> /root/geoserver/src/main/./target/live2883012775483481737data
>>> ----------------------------------
>>> Oct 05, 2012 1:42:52 PM org.vfny.geoserver.global.GeoserverDataDirectory 
>>> init
>>> SEVERE: 
>>> ----------------------------------
>>> - GEOSERVER_DATA_DIR: 
>>> /root/geoserver/src/main/./target/live6475882818206486802data
>>> ----------------------------------
>>> Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 16.001 sec
>>> 
>>> 
>>> ...
>>> 
>>> 
>>> Results :
>>> 
>>> Failed tests:   
>>> testIsModified(org.geoserver.security.xml.XMLUserGroupServiceTest)
>>>   testRemove(org.geoserver.security.xml.XMLUserGroupServiceTest): 
>>> expected:<0> but was:<6>
>>>   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
>>>   testBasicAuth(org.geoserver.security.auth.AuthenticationCacheFilterTest): 
>>> org.geoserver.security.auth.LRUAuthenticationCacheImpl cannot be cast to 
>>> org.geoserver.security.auth.TestingAuthenticationCache
>>> 
>>> Tests run: 468, Failures: 3, Errors: 3, Skipped: 0
>>> 
>>> [INFO] 
>>> ------------------------------------------------------------------------
>>> [INFO] Reactor Summary:
>>> [INFO] 
>>> [INFO] GeoServer ......................................... SUCCESS [2.591s]
>>> [INFO] Core Platform Module .............................. SUCCESS [24.865s]
>>> [INFO] Open Web Service Module ........................... SUCCESS 
>>> [1:09.873s]
>>> [INFO] Main Module ....................................... FAILURE 
>>> [18:23.130s]
>>> [INFO] Web Feature Service Module ........................ SKIPPED
>>> [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 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: 20:04.316s
>>> [INFO] Finished at: Fri Oct 05 13:46:07 UTC 2012
>>> [INFO] Final Memory: 21M/50M
>>> 
>>> Thanks
>>> --nix
>>> 
>>> 
>>> ------------------------------------------------------------------------------
>>> Don't let slow site performance ruin your business. Deploy New Relic APM
>>> Deploy New Relic app performance management and know exactly
>>> what is happening inside your Ruby, Python, PHP, Java, and .NET app
>>> Try New Relic at no cost today and get our sweet Data Nerd shirt too!
>>> http://p.sf.net/sfu/newrelic-dev2dev
>>> _______________________________________________
>>> Geoserver-users mailing list
>>> [email protected]
>>> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>>> 
>>> 
>>> 
>>> 
>>> -- 
>>> Justin Deoliveira
>>> OpenGeo - http://opengeo.org
>>> Enterprise support for open source geospatial.
>>> 
>> 
>> 
>> 
>> 
>> -- 
>> Justin Deoliveira
>> OpenGeo - http://opengeo.org
>> Enterprise support for open source geospatial.
>> 
> 
> 
> 
> 
> -- 
> Justin Deoliveira
> OpenGeo - http://opengeo.org
> Enterprise support for open source geospatial.
> 

Attachment: smime.p7s
Description: S/MIME cryptographic signature

------------------------------------------------------------------------------
Don't let slow site performance ruin your business. Deploy New Relic APM
Deploy New Relic app performance management and know exactly
what is happening inside your Ruby, Python, PHP, Java, and .NET app
Try New Relic at no cost today and get our sweet Data Nerd shirt too!
http://p.sf.net/sfu/newrelic-dev2dev
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to