You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by paksegu <pa...@yahoo.com> on 2009/01/09 08:04:48 UTC

Surefire Error when building with recent checkout

I am have this error, when building on opensolaris...Thanks



[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Error while executing forked tests.; nested exception is org.apache.maven.surefire.booter.shade.org.codehaus.plexus.util.cli.CommandLineException: Error setting up environmental variables

error=12, Not enough space
[INFO] ------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 6 minutes 52 seconds
[INFO] Finished at: Fri Jan 09 02:05:27 EST 2009
[INFO] Final Memory: 58M/195M
[INFO] ------------------------------------------------------------------------



Ransford Segu-Baffoe



paksegu@yahoo.com



http://www.noqmx.com/

https://serenade.dev.java.net/


      

Re: Surefire Error when building with recent checkout

Posted by Jason Pratt <jp...@gmail.com>.
i think this is the same one i was getting from building the trunk. i
thought i created one in jira for it already

On Fri, Jan 9, 2009 at 2:31 AM, Felix Meschberger <fm...@gmail.com>wrote:

> Hi Ransford,
>
> Would you mind creating a JIRA issue appending the full output of the
> maven build ? Thanks alot.
>
> Regards
> Felix
>
> paksegu schrieb:
> > I am have this error, when building on opensolaris...Thanks
> >
> >
> >
> > [ERROR] BUILD ERROR
> > [INFO]
> ------------------------------------------------------------------------
> > [INFO] Error while executing forked tests.; nested exception is
> org.apache.maven.surefire.booter.shade.org.codehaus.plexus.util.cli.CommandLineException:
> Error setting up environmental variables
> >
> > error=12, Not enough space
> > [INFO]
> ------------------------------------------------------------------------
> > [INFO] For more information, run Maven with the -e switch
> > [INFO]
> ------------------------------------------------------------------------
> > [INFO] Total time: 6 minutes 52 seconds
> > [INFO] Finished at: Fri Jan 09 02:05:27 EST 2009
> > [INFO] Final Memory: 58M/195M
> > [INFO]
> ------------------------------------------------------------------------
> >
> >
> >
> > Ransford Segu-Baffoe
> >
> >
> >
> > paksegu@yahoo.com
> >
> >
> >
> > http://www.noqmx.com/
> >
> > https://serenade.dev.java.net/
> >
> >
> >
>

Re: Surefire Error when building with recent checkout

Posted by Felix Meschberger <fm...@gmail.com>.
Hi Ransford,

Would you mind creating a JIRA issue appending the full output of the
maven build ? Thanks alot.

Regards
Felix

paksegu schrieb:
> I am have this error, when building on opensolaris...Thanks
> 
> 
> 
> [ERROR] BUILD ERROR
> [INFO] ------------------------------------------------------------------------
> [INFO] Error while executing forked tests.; nested exception is org.apache.maven.surefire.booter.shade.org.codehaus.plexus.util.cli.CommandLineException: Error setting up environmental variables
> 
> error=12, Not enough space
> [INFO] ------------------------------------------------------------------------
> [INFO] For more information, run Maven with the -e switch
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: 6 minutes 52 seconds
> [INFO] Finished at: Fri Jan 09 02:05:27 EST 2009
> [INFO] Final Memory: 58M/195M
> [INFO] ------------------------------------------------------------------------
> 
> 
> 
> Ransford Segu-Baffoe
> 
> 
> 
> paksegu@yahoo.com
> 
> 
> 
> http://www.noqmx.com/
> 
> https://serenade.dev.java.net/
> 
> 
>       

Re: Surefire Error when building with recent checkout

Posted by Felix Meschberger <fm...@gmail.com>.
Hi,

You got me interested, so I set out to install OpenSolaris in VirtualBox
on my linux box and I could reproduce your error.

Looking around on the net revealed that this is a Virtual Memory issue.
See [1] for a very good explanation of the problem (second response).

So I set out to add more swap to my virtual machine and had sucess.

What I did was (see page "ZFS Support for Swap and Dump Devices in [2]):

  $ zfs create -V 1G -b 4k rpool/swap
  $ swap -a /dev/zvol/dsk/rpool/swap

This got me another 1GB of swap space.

Hope this helps.

Regards
Felix

[1] http://forums.java.net/jive/thread.jspa?messageID=267862
[2] http://opensolaris.org/os/community/zfs/docs/zfsadmin.pdf

paksegu schrieb:
> I am have this error, when building on opensolaris...Thanks
> 
> 
> 
> [ERROR] BUILD ERROR
> [INFO] ------------------------------------------------------------------------
> [INFO] Error while executing forked tests.; nested exception is org.apache.maven.surefire.booter.shade.org.codehaus.plexus.util.cli.CommandLineException: Error setting up environmental variables
> 
> error=12, Not enough space
> [INFO] ------------------------------------------------------------------------
> [INFO] For more information, run Maven with the -e switch
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: 6 minutes 52 seconds
> [INFO] Finished at: Fri Jan 09 02:05:27 EST 2009
> [INFO] Final Memory: 58M/195M
> [INFO] ------------------------------------------------------------------------
> 
> 
> 
> Ransford Segu-Baffoe
> 
> 
> 
> paksegu@yahoo.com
> 
> 
> 
> http://www.noqmx.com/
> 
> https://serenade.dev.java.net/
> 
> 
>