[Engine-devel] missing artifacts?

Duncan Mac-Vicar P. dmacvicar at suse.de
Fri Nov 11 10:30:28 UTC 2011


On 11/11/2011 07:59 AM, Doron Fediuck wrote:
> Hi Duncan,
> Thanks for finding it.
> It would be nice if you add a comment to the wiki, so other
> users may be aware of it and
> maybe make it work with openjdk.
> It seems that the root cause was
> related to certificates.

Yes, it may be related to the fact that the node was a JeOS, therefore 
lot of packages were missing.

I struggled afterward with memory. The node had 2G and it was not enough:

types/builds/2011-11-11_08-58-09/archive/org.ovirt.engine.api/restapi-types/3.0.0-0001/restapi-types-3.0.0-0001.pom
[INFO] 
------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO] 
------------------------------------------------------------------------
[INFO] Compilation failure
Failure executing javac, but could not parse the error:


The system is out of resources.
Consult the following stack trace for details.
java.lang.OutOfMemoryError: PermGen space


Then I tried on my machine, with 3G (the laptop I used at the workshop 
to build it had 3G too), but I got also allocation errors.

[INFO]    Compiling 6 permutations
[INFO]       [ERROR] Unable to start external process
[INFO] java.io.IOException: Cannot run program 
"/usr/lib64/jvm/java-1.6.0-openjdk-1.6.0/jre/bin/java": 
java.io.IOException: error=12, Cannot allocate memory
[INFO] 	at java.lang.ProcessBuilder.start(ProcessBuilder.java:475)

However, I increased then the Jenkins node to 4G and added:

-Xms1024M -Xmx1024M -XX:PermSize=256M -XX:MaxPermSize=256M

And then I had a successful build. 4G required! omg...

I would like to add this to the wiki, but it does not let me create an 
account. :-)

Duncan



More information about the Engine-devel mailing list