Re: Test failure on trunk

2007-03-29 Thread Thierry Lach

Thanks.

On 3/29/07, Emmanuel Venisse <[EMAIL PROTECTED]> wrote:


I added the jvm memory option to the surefire plugin because now I have
this pb too :(

Emmanuel

Thierry Lach a écrit :
> I agree.  I don't want to have to bump up my memory config for all
projects
> just because of one.
>
> On 3/23/07, Andrew Williams <[EMAIL PROTECTED]> wrote:
>>
>> I think that modifying your environment or installation options is a
>> very bad idea,
>> especially if you are striving for truly reproducible build results.
>>
>> Andy
>>
>> On 22 Mar 2007, at 16:29, Jesse McConnell wrote:
>>
>> > most people I know just add the following to their environment
>> > variables
>> >
>> > MAVEN_OPTS=-Xmx512m
>> >
>> > jesse
>> >
>> > On 3/22/07, Thierry Lach <[EMAIL PROTECTED]> wrote:
>> >> Any reason why this couldn't just be added permanently?
>> >>
>> >> On 3/22/07, Andrew Williams <[EMAIL PROTECTED]> wrote:
>> >> >
>> >> > I sometimes get that problem too, when I see it I insert the
>> >> > following into the  section of continuum's root pom.xml
>> >> >
>> >> >  
>> >> >
>> >> >  org.apache.maven.plugins
>> >> >  maven-surefire-plugin
>> >> >  
>> >> >-Xmx512m
>> >> >  
>> >> >
>> >> >
>> >> >  org.apache.maven.plugins
>> >> >  maven-compiler-plugin
>> >> >  
>> >> >true
>> >> >128m
>> >> >512m
>> >> >  
>> >> >
>> >> >  
>> >> >
>> >> > Andy
>> >> >
>> >> > On 19 Mar 2007, at 22:59, Graham Leggett wrote:
>> >> >
>> >> > > Emmanuel Venisse wrote:
>> >> > >
>> >> > >> how many memory is allocated to the build? Normally the
>> >> default is
>> >> > >> enough.
>> >> > >
>> >> > > No idea - checked out a pristine copy of trunk as of an hour
>> >> or two
>> >> > > ago, and did an mvn install.
>> >> > >
>> >> > > Is there somewhere where memory allocations are set, perhaps in
a
>> >> > > pom file?
>> >> > >
>> >> > > Regards,
>> >> > > Graham
>> >> > > --
>> >> >
>> >> >
>> >>
>> >
>> >
>> > --
>> > jesse mcconnell
>> > [EMAIL PROTECTED]
>> >
>>
>>
>




Re: Test failure on trunk

2007-03-29 Thread Emmanuel Venisse

I added the jvm memory option to the surefire plugin because now I have this pb 
too :(

Emmanuel

Thierry Lach a écrit :

I agree.  I don't want to have to bump up my memory config for all projects
just because of one.

On 3/23/07, Andrew Williams <[EMAIL PROTECTED]> wrote:


I think that modifying your environment or installation options is a
very bad idea,
especially if you are striving for truly reproducible build results.

Andy

On 22 Mar 2007, at 16:29, Jesse McConnell wrote:

> most people I know just add the following to their environment
> variables
>
> MAVEN_OPTS=-Xmx512m
>
> jesse
>
> On 3/22/07, Thierry Lach <[EMAIL PROTECTED]> wrote:
>> Any reason why this couldn't just be added permanently?
>>
>> On 3/22/07, Andrew Williams <[EMAIL PROTECTED]> wrote:
>> >
>> > I sometimes get that problem too, when I see it I insert the
>> > following into the  section of continuum's root pom.xml
>> >
>> >  
>> >
>> >  org.apache.maven.plugins
>> >  maven-surefire-plugin
>> >  
>> >-Xmx512m
>> >  
>> >
>> >
>> >  org.apache.maven.plugins
>> >  maven-compiler-plugin
>> >  
>> >true
>> >128m
>> >512m
>> >  
>> >
>> >  
>> >
>> > Andy
>> >
>> > On 19 Mar 2007, at 22:59, Graham Leggett wrote:
>> >
>> > > Emmanuel Venisse wrote:
>> > >
>> > >> how many memory is allocated to the build? Normally the
>> default is
>> > >> enough.
>> > >
>> > > No idea - checked out a pristine copy of trunk as of an hour
>> or two
>> > > ago, and did an mvn install.
>> > >
>> > > Is there somewhere where memory allocations are set, perhaps in a
>> > > pom file?
>> > >
>> > > Regards,
>> > > Graham
>> > > --
>> >
>> >
>>
>
>
> --
> jesse mcconnell
> [EMAIL PROTECTED]
>








Re: Test failure on trunk

2007-03-23 Thread Andrew Williams
I assumed that there was a leak or something weird and that it would  
get addressed.
I have certainly seen it compile and test fine without it before,  
recently too, so I know it is possible...


Andy

On 22 Mar 2007, at 15:46, Thierry Lach wrote:


Any reason why this couldn't just be added permanently?

On 3/22/07, Andrew Williams <[EMAIL PROTECTED]> wrote:


I sometimes get that problem too, when I see it I insert the
following into the  section of continuum's root pom.xml

 
   
 org.apache.maven.plugins
 maven-surefire-plugin
 
   -Xmx512m
 
   
   
 org.apache.maven.plugins
 maven-compiler-plugin
 
   true
   128m
   512m
 
   
 

Andy

On 19 Mar 2007, at 22:59, Graham Leggett wrote:

> Emmanuel Venisse wrote:
>
>> how many memory is allocated to the build? Normally the default is
>> enough.
>
> No idea - checked out a pristine copy of trunk as of an hour or two
> ago, and did an mvn install.
>
> Is there somewhere where memory allocations are set, perhaps in a
> pom file?
>
> Regards,
> Graham
> --






Re: Test failure on trunk

2007-03-22 Thread Graham Leggett

Jesse McConnell wrote:


most people I know just add the following to their environment variables

MAVEN_OPTS=-Xmx512m


It shouldn't be necessary to have to patch your environment to work 
around bugs in unit tests, if the tests need 512MB of RAM, then the 
surefire plugin should be configured to allocate 512MB of RAM.


+1 to this:


>
>  org.apache.maven.plugins
>  maven-surefire-plugin
>  
>-Xmx512m
>  
>


Regards,
Graham
--


smime.p7s
Description: S/MIME Cryptographic Signature


Re: Test failure on trunk

2007-03-22 Thread Jesse McConnell

most people I know just add the following to their environment variables

MAVEN_OPTS=-Xmx512m

jesse

On 3/22/07, Thierry Lach <[EMAIL PROTECTED]> wrote:

Any reason why this couldn't just be added permanently?

On 3/22/07, Andrew Williams <[EMAIL PROTECTED]> wrote:
>
> I sometimes get that problem too, when I see it I insert the
> following into the  section of continuum's root pom.xml
>
>  
>
>  org.apache.maven.plugins
>  maven-surefire-plugin
>  
>-Xmx512m
>  
>
>
>  org.apache.maven.plugins
>  maven-compiler-plugin
>  
>true
>128m
>512m
>  
>
>  
>
> Andy
>
> On 19 Mar 2007, at 22:59, Graham Leggett wrote:
>
> > Emmanuel Venisse wrote:
> >
> >> how many memory is allocated to the build? Normally the default is
> >> enough.
> >
> > No idea - checked out a pristine copy of trunk as of an hour or two
> > ago, and did an mvn install.
> >
> > Is there somewhere where memory allocations are set, perhaps in a
> > pom file?
> >
> > Regards,
> > Graham
> > --
>
>




--
jesse mcconnell
[EMAIL PROTECTED]


Re: Test failure on trunk

2007-03-22 Thread Thierry Lach

Any reason why this couldn't just be added permanently?

On 3/22/07, Andrew Williams <[EMAIL PROTECTED]> wrote:


I sometimes get that problem too, when I see it I insert the
following into the  section of continuum's root pom.xml

 
   
 org.apache.maven.plugins
 maven-surefire-plugin
 
   -Xmx512m
 
   
   
 org.apache.maven.plugins
 maven-compiler-plugin
 
   true
   128m
   512m
 
   
 

Andy

On 19 Mar 2007, at 22:59, Graham Leggett wrote:

> Emmanuel Venisse wrote:
>
>> how many memory is allocated to the build? Normally the default is
>> enough.
>
> No idea - checked out a pristine copy of trunk as of an hour or two
> ago, and did an mvn install.
>
> Is there somewhere where memory allocations are set, perhaps in a
> pom file?
>
> Regards,
> Graham
> --




Re: Test failure on trunk

2007-03-22 Thread Andrew Williams
I sometimes get that problem too, when I see it I insert the  
following into the  section of continuum's root pom.xml



  
org.apache.maven.plugins
maven-surefire-plugin

  -Xmx512m

  
  
org.apache.maven.plugins
maven-compiler-plugin

  true
  128m
  512m

  


Andy

On 19 Mar 2007, at 22:59, Graham Leggett wrote:


Emmanuel Venisse wrote:

how many memory is allocated to the build? Normally the default is  
enough.


No idea - checked out a pristine copy of trunk as of an hour or two  
ago, and did an mvn install.


Is there somewhere where memory allocations are set, perhaps in a  
pom file?


Regards,
Graham
--




Re: Test failure on trunk

2007-03-19 Thread Marcelo Fukushima

im not sure but i think in order to change the amount of memory the
tests can use, you have to configure the surefire plugin - changing
the amount of memory maven uses dont take effect on tests (i think
they are ran on a separate jvm)

On 3/19/07, Emmanuel Venisse <[EMAIL PROTECTED]> wrote:

it's set in MAVEN_OPTS env var with -Xmx and -Xms java options, but if you 
don't know it, you probably use the default jvm options. You can try to it to 
something like that:
MAVEN_OPTS=-Xmx256m

If you don't want to patch Continuum, you can use a prebuilt snapshot: 
http://maven.zones.apache.org/~continuum/builds/trunk/

Graham Leggett a écrit :
> Emmanuel Venisse wrote:
>
>> how many memory is allocated to the build? Normally the default is
>> enough.
>
> No idea - checked out a pristine copy of trunk as of an hour or two ago,
> and did an mvn install.
>
> Is there somewhere where memory allocations are set, perhaps in a pom file?
>
> Regards,
> Graham
> --





--
[]'s
Marcelo Takeshi Fukushima


Re: Test failure on trunk

2007-03-19 Thread Emmanuel Venisse

it's set in MAVEN_OPTS env var with -Xmx and -Xms java options, but if you 
don't know it, you probably use the default jvm options. You can try to it to 
something like that:
MAVEN_OPTS=-Xmx256m

If you don't want to patch Continuum, you can use a prebuilt snapshot: 
http://maven.zones.apache.org/~continuum/builds/trunk/

Graham Leggett a écrit :

Emmanuel Venisse wrote:

how many memory is allocated to the build? Normally the default is 
enough.


No idea - checked out a pristine copy of trunk as of an hour or two ago, 
and did an mvn install.


Is there somewhere where memory allocations are set, perhaps in a pom file?

Regards,
Graham
--




Re: Test failure on trunk

2007-03-19 Thread Graham Leggett

Emmanuel Venisse wrote:


how many memory is allocated to the build? Normally the default is enough.


No idea - checked out a pristine copy of trunk as of an hour or two ago, 
and did an mvn install.


Is there somewhere where memory allocations are set, perhaps in a pom file?

Regards,
Graham
--


smime.p7s
Description: S/MIME Cryptographic Signature


Re: Test failure on trunk

2007-03-19 Thread Emmanuel Venisse

how many memory is allocated to the build? Normally the default is enough.

Graham Leggett a écrit :

Emmanuel Venisse wrote:


jdk version?


Latest MacOSX version, jdk v1.5.0_07-164.

Regards,
Graham
--




Re: Test failure on trunk

2007-03-19 Thread Graham Leggett

Emmanuel Venisse wrote:


jdk version?


Latest MacOSX version, jdk v1.5.0_07-164.

Regards,
Graham
--


smime.p7s
Description: S/MIME Cryptographic Signature


Re: Test failure on trunk

2007-03-19 Thread Emmanuel Venisse

jdk version?

Graham Leggett a écrit :

Hi all,

While trying to build trunk of continuum, I am getting the following 
test failure on MacosX v10.4:


--- 

Test set: 
org.apache.maven.continuum.buildcontroller.DefaultBuildControllerTest
--- 

Tests run: 3, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 255.852 
sec <<<

FAILURE!
testWithDependencyChanges(org.apache.maven.continuum.buildcontroller.DefaultBuil 


dControllerTest)  Time elapsed: 79.372 sec  <<< ERROR!
java.lang.OutOfMemoryError: Java heap space

Not sure exactly where the JVM should be given more memory, is this a 
maven problem or a continuum problem?


Regards,
Graham
--




Test failure on trunk

2007-03-19 Thread Graham Leggett

Hi all,

While trying to build trunk of continuum, I am getting the following 
test failure on MacosX v10.4:


---
Test set: 
org.apache.maven.continuum.buildcontroller.DefaultBuildControllerTest

---
Tests run: 3, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 255.852 
sec <<<

FAILURE!
testWithDependencyChanges(org.apache.maven.continuum.buildcontroller.DefaultBuil
dControllerTest)  Time elapsed: 79.372 sec  <<< ERROR!
java.lang.OutOfMemoryError: Java heap space

Not sure exactly where the JVM should be given more memory, is this a 
maven problem or a continuum problem?


Regards,
Graham
--


smime.p7s
Description: S/MIME Cryptographic Signature