[Users] ovirt-engine build issue
Brown, Chris (GE Healthcare)
Christopher.Brown at med.ge.com
Thu Jan 19 19:17:51 UTC 2012
Laszlo,
Thanks for this, your mention of 4GB memory on your box just the triggered the neurons in my brain to bump the amount of guest ram I have allocated to the VM I am building ovirt in. I bumped the guest memory to 6GB and the build has now succeeded. So now that I have gotten a successful baseline build on FC16 I will return to attempting to build the ovirt-engine under EL6 (In my case Scientific Linux 6.1).
regards,
Chris Brown
-----Original Message-----
From: Laszlo Hornyak [mailto:lhornyak at redhat.com]
Sent: Thursday, January 19, 2012 11:31 AM
To: Einav Cohen
Cc: Danny Rankevich; Asaf Shakarchi; users at ovirt.org; Brown, Chris (GE Healthcare)
Subject: Re: [Users] ovirt-engine build issue
Hi,
I have seen very similar build errors in my build environment this week. I did not send a patch because I thought it is specific to my system (I 'only' have 4 GB of ram in my laptop). So I just updated the pom files with the GWT compiler arguments:
- <gwt-plugin.extraJvmArgs>-Xms1024M -Xmx1024M -XX:PermSize=256M -XX:MaxPermS
+ <gwt-plugin.extraJvmArgs>-Xmx1024M -XX:PermSize=256M
+ -XX:MaxPermSize=256M</
- Xms: not really needed. The java runtime will allocate the memory from OS when it is needed. Until then, we can leave it for other prcesses.
- Xmx: 1024 seemed to be enough for me. Last week lots of people on irc (probably me too) complained about not building on 1024 MB. Now it works. I am wondering what changed...
And then the mvn command line I use:
mvn clean install -e -Pgwt-admin,dep -DskipTests=true -Dgwt.user.agent=gecko -Duser.agent=gecko -Dgwt.userAgent=gecko -Dgwt.compiler.localWorkers=1
I hope this helps.
If it does not, please re-run with -e and paste the output!
Laszlo
----- Original Message -----
> From: "Einav Cohen" <ecohen at redhat.com>
> To: "Chris Brown (GE Healthcare)" <Christopher.Brown at med.ge.com>
> Cc: "Danny Rankevich" <drankevi at redhat.com>, "Asaf Shakarchi"
> <ashakarc at redhat.com>, users at ovirt.org
> Sent: Thursday, January 19, 2012 6:06:00 PM
> Subject: Re: [Users] ovirt-engine build issue
>
> [CC'ing Danny/Vojtech]
>
> It seems that the build log is extremely short and non-detailed - not
> sure why.
> Can you, somehow, cause it to be a bit more detailed?
> [Danny/Vojtech: if you have any idea why the build failed based on the
> log below - please share]
>
> ----
> Thanks,
> Einav
>
> ----- Original Message -----
> > From: "Haim Ateya" <hateya at redhat.com>
> > To: "Chris Brown (GE Healthcare)" <Christopher.Brown at med.ge.com>
> > Cc: users at ovirt.org, "Asaf Shakarchi" <ashakarc at redhat.com>, "Einav
> > Cohen" <ecohen at redhat.com>
> > Sent: Thursday, January 19, 2012 6:57:15 PM
> > Subject: Re: [Users] ovirt-engine build issue
> >
> >
> > +Einav/Assaf
> >
> >
> >
> > On Jan 19, 2012, at 18:51, "Brown, Chris (GE Healthcare)" <
> > Christopher.Brown at med.ge.com > wrote:
> >
> >
> >
> >
> >
> >
> >
> >
> > Hello,
> >
> > I have been trying to build the ovirt-engine and consistently keep
> > running into build failures during compilation of the webadmin
> > component.
> >
> > I have an FC16 environment set up per information on the engine
> > build wiki pages.
> >
> >
> >
> > Below is the last output I see from the build:
> >
> >
> >
> > [INFO] Compiling module org.ovirt.engine.ui.webadmin.WebAdmin
> >
> > [INFO]
> > --------------------------------------------------------------------
> > ----
> >
> > [INFO] Reactor Summary:
> >
> > [INFO]
> >
> > [INFO] oVirt Engine Root Project ......................... SUCCESS
> > [16.781s]
> >
> > [INFO] oVirt Build Tools ................................. SUCCESS
> > [55.303s]
> >
> > [INFO] oVirt Modules ..................................... SUCCESS
> > [0.006s]
> >
> > [INFO] oVirt Manager ..................................... SUCCESS
> > [0.005s]
> >
> > [INFO] oVirt Modules ..................................... SUCCESS
> > [45.486s]
> >
> > [INFO] CSharp Compatibility .............................. SUCCESS
> > [3.785s]
> >
> > [INFO] Encryption Libraries .............................. SUCCESS
> > [50.053s]
> >
> > [INFO] oVirt Tools ....................................... SUCCESS
> > [2.105s]
> >
> > [INFO] oVirt Tools Common Library ........................ SUCCESS
> > [5.702s]
> >
> > [INFO] Common Code ....................................... SUCCESS
> > [25.635s]
> >
> > [INFO] Common utilities .................................. SUCCESS
> > [30.079s]
> >
> > [INFO] Data Access Layer ................................. SUCCESS
> > [16.256s]
> >
> > [INFO] engine beans ...................................... SUCCESS
> > [0.102s]
> >
> > [INFO] engine scheduler bean ............................. SUCCESS
> > [9.404s]
> >
> > [INFO] Vds broker ........................................ SUCCESS
> > [6.779s]
> >
> > [INFO] Search Backend .................................... SUCCESS
> > [3.134s]
> >
> > [INFO] engine vdsbroker stateless session bean ........... SUCCESS
> > [1.798s]
> >
> > [INFO] Backend Logic @Service bean ....................... SUCCESS
> > [57.645s]
> >
> > [INFO] oVirt RESTful API Backend Integration ............. SUCCESS
> > [0.098s]
> >
> > [INFO] oVirt RESTful API interface ....................... SUCCESS
> > [0.258s]
> >
> > [INFO] oVirt Engine API Definition ....................... SUCCESS
> > [35.207s]
> >
> > [INFO] oVirt Engine API Commom Parent POM ................ SUCCESS
> > [0.082s]
> >
> > [INFO] oVirt Engine API Common JAX-RS .................... SUCCESS
> > [3.192s]
> >
> > [INFO] oVirt RESTful API Backend Integration Type Mappers SUCCESS
> > [5.369s]
> >
> > [INFO] oVirt RESTful API Backend Integration JAX-RS Resources
> > SUCCESS [9.142s]
> >
> > [INFO] oVirt RESTful API Backend Integration Webapp ...... SUCCESS
> > [17.103s]
> >
> > [INFO] oVirt Configuration Tool .......................... SUCCESS
> > [2.268s]
> >
> > [INFO] Notifier Service package .......................... SUCCESS
> > [0.012s]
> >
> > [INFO] Notifier Service .................................. SUCCESS
> > [2.912s]
> >
> > [INFO] Notifier Service Resources ........................ SUCCESS
> > [28.635s]
> >
> > [INFO] oVirt Modules ..................................... SUCCESS
> > [0.686s]
> >
> > [INFO] oVirt Modules ..................................... SUCCESS
> > [0.017s]
> >
> > [INFO] oVirt Modules ..................................... SUCCESS
> > [0.005s]
> >
> > [INFO] Shared GWT code ................................... SUCCESS
> > [1:01.561s]
> >
> > [INFO] oVirt APIs ........................................ SUCCESS
> > [1.008s]
> >
> > [INFO] oVirt generic API ................................. SUCCESS
> > [2.314s]
> >
> > [INFO] Shared GWT code for deployment .................... SUCCESS
> > [2.316s]
> >
> > [INFO] Extensions for GWT ................................ SUCCESS
> > [23.014s]
> >
> > [INFO] CSharp Compatibility (For UICommon) ............... SUCCESS
> > [1.585s]
> >
> > [INFO] Frontend for GWT UI Projects ...................... SUCCESS
> > [15.413s]
> >
> > [INFO] UICommon .......................................... SUCCESS
> > [10.629s]
> >
> > [INFO] UICommonWeb ....................................... SUCCESS
> > [15.580s]
> >
> > [INFO] WebAdmin .......................................... FAILURE
> > [4:28.590s]
> >
> > [INFO] UserPortal ........................................ SKIPPED
> >
> > [INFO] oVirt WARs ........................................ SKIPPED
> >
> > [INFO] WPF Application Module ............................ SKIPPED
> >
> > [INFO] oVirt Web Application Module ...................... SKIPPED
> >
> > [INFO] Components Web Application Module ................. SKIPPED
> >
> > [INFO] oVirt Server EAR .................................. SKIPPED
> >
> > [INFO]
> > --------------------------------------------------------------------
> > ----
> >
> > [INFO] BUILD FAILURE
> >
> > [INFO]
> > --------------------------------------------------------------------
> > ----
> >
> > [INFO] Total time: 14:01.263s
> >
> > [INFO] Finished at: Thu Jan 19 10:36:19 CST 2012
> >
> > [INFO] Final Memory: 117M/269M
> >
> > [INFO]
> > --------------------------------------------------------------------
> > ----
> >
> > [ERROR] Failed to execute goal
> > org.codehaus.mojo:gwt-maven-plugin:2.3.0-1:compile (gwtcompile) on
> > project webadmin: Command [[
> >
> > [ERROR] /bin/sh -c
> > /usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/jre/bin/java
> > -javaagent:/root/.m2/repository/org/aspectj/aspectjweaver/1.6.11/asp
> > ectjweaver-1.6.11.jar -Xms1024M -Xmx2048M -XX:PermSize=256M
> > -XX:MaxPermSize=256M
> > '-Dgwt.dontPrune=org\.ovirt\.engine\.core\.(common|compat)\..*'
> > -classpath
> > /temp/ovirt-engine/frontend/webadmin/modules/webadmin/src/main/java:
> > /temp/ovirt-engine/frontend/webadmin/modules/webadmin/target/generat
> > ed-sources/annotations:/temp/ovirt-engine/frontend/webadmin/modules/
> > webadmin/target/generated-sources/gwt:/temp/ovirt-engine/frontend/we
> > badmin/modules/webadmin/src/main/resources:/temp/ovirt-engine/fronte
> > nd/webadmin/modules/webadmin/target/webadmin-3.0.0-0001/WEB-INF/clas
> > ses:/root/.m2/repository/com/google/gwt/gwt-user/2.3.0/gwt-user-2.3.
> > 0.jar:/root/.m2/repository/com/gwtplatform/gwtp-mvp-client/0.6/gwtp-
> > mvp-client-0.6.jar:/root/.m2/repository/com/gwtplatform/gwtp-clients
> > -common/0.6/gwtp-clients-common-0.6.jar:/root/.m2/repository/com/gwt
> > platform/gwtp-processors/0.6/gwtp-processors-0.6.jar:/root/.m2/repos
> > itory/com/google/inject/guice/3.0/guice-3.0.jar:/root/.m2/repository
> > /javax/inject/javax.inject/1/javax.inject-1.jar:/root/.m2/repository
> > /aopalliance/aopalliance/1.0/aopalliance-1.0.jar:/root/.m2/repositor
> > y/com/google/inject/extensions/guice
>
> -assistedinject/3.0/guice-assistedinject-3.0.jar:/root/.m2/repository/
> com/google/gwt/inject/gin/1.5.0/gin-1.5.0.jar:/root/.m2/repository/com
> /google/gwt/gwt-dev/2.3.0/gwt-dev-2.3.0.jar:/temp/ovirt-engine/fronten
> d/webadmin/modules/uicommonweb/target/uicommonweb-3.0.0-0001.jar:/temp
> /ovirt-engine/frontend/webadmin/modules/uicompat/target/uicompat-3.0.0
> -0001.jar:/temp/ovirt-engine/frontend/api/genericapi/target/genericapi
> -3.0.0-0001.jar:/temp/ovirt-engine/backend/manager/modules/common/targ
> et/common-3.0.0-0001.jar:/temp/ovirt-engine/backend/manager/modules/co
> mpat/target/compat-3.0.0-0001.jar:/temp/ovirt-engine/backend/manager/m
> odules/utils/target/utils-3.0.0-0001.jar:/root/.m2/repository/org/jbos
> s/interceptor/jboss-interceptor-core/2.0.0.Alpha3/jboss-interceptor-co
> re-2.0.0.Alpha3.jar:/root/.m2/repository/org/jboss/interceptor/jboss-i
> nterceptor-spi/2.0.0.Alpha3/jboss-interceptor-spi-2.0.0.Alpha3.jar:/ro
> ot/.m2/repository/com/google/guava/guava/r06/guava-r06.jar:/root/.m2/r
> epository
> /javassist/javassist/3.12.0.GA/javassist-3.12.0.GA.jar:/root/.m2/repos
> itory/org/jboss/spec/javax/interceptor/jboss-interceptors-api_1.1_spec
> /1.0.0.Final/jboss-interceptors-api_1.1_spec-1.0.0.Final.jar:/temp/ovi
> rt-engine/backend/manager/tools/engine-tools-common/target/engine-tool
> s-common-3.0.0-0001.jar:/root/.m2/repository/commons-beanutils/commons
> -beanutils/1.8.2/commons-beanutils-1.8.2.jar:/root/.m2/repository/com/
> jcraft/jsch/0.1.42/jsch-0.1.42.jar:/root/.m2/repository/org/apache/min
> a/mina-core/2.0.1/mina-core-2.0.1.jar:/root/.m2/repository/org/apache/
> sshd/sshd-core/0.6.0/sshd-core-0.6.0.jar:/temp/ovirt-engine/backend/ma
> nager/modules/engineencryptutils/target/engineencryptutils-3.0.0-0001.
> jar:/root/.m2/repository/commons-lang/commons-lang/2.4/commons-lang-2.
> 4.jar:/root/.m2/repository/org/apache/xmlrpc/xmlrpc-client/3.1.3/xmlrp
> c-client-3.1.3.jar:/root/.m2/repository/org/apache/xmlrpc/xmlrpc-commo
> n/3.1.3/xmlrpc-common-3.1.3.jar:/root/.m2/repository/org/apache/ws/com
> mons/util
> /ws-commons-util/1.0.2/ws-commons-util-1.0.2.jar:/root/.m2/repository/
> xml-apis/xml-apis/1.0.b2/xml-apis-1.0.b2.jar:/root/.m2/repository/comm
> ons-httpclient/commons-httpclient/3.1/commons-httpclient-3.1.jar:/root
> /.m2/repository/org/codehaus/jackson/jackson-core-asl/1.6.3/jackson-co
> re-asl-1.6.3.jar:/root/.m2/repository/org/codehaus/jackson/jackson-map
> per-asl/1.6.3/jackson-mapper-asl-1.6.3.jar:/root/.m2/repository/com/su
> n/jna/jna/3.0.9/jna-3.0.9.jar:/temp/ovirt-engine/frontend/webadmin/mod
> ules/sharedgwt/target/sharedgwt-3.0.0-0001.jar:/root/.m2/repository/co
> mmons-codec/commons-codec/1.4/commons-codec-1.4.jar:/root/.m2/reposito
> ry/org/hibernate/hibernate-validator/4.0.2.GA/hibernate-validator-4.0.
> 2.GA.jar:/root/.m2/repository/javax/validation/validation-api/1.0.0.GA
> /validation-api-1.0.0.GA.jar:/root/.m2/repository/org/slf4j/slf4j-api/
> 1.5.6/slf4j-api-1.5.6.jar:/root/.m2/repository/com/sun/xml/bind/jaxb-i
> mpl/2.1.3/jaxb-impl-2.1.3.jar:/root/.m2/repository/org/hibernate/hiber
> nate-anno
> tations/3.4.0.GA/hibernate-annotations-3.4.0.GA.jar:/root/.m2/reposito
> ry/org/hibernate/ejb3-persistence/1.0.2.GA/ejb3-persistence-1.0.2.GA.j
> ar:/root/.m2/repository/org/hibernate/hibernate-commons-annotations/3.
> 1.0.GA/hibernate-commons-annotations-3.1.0.GA.jar:/root/.m2/repository
> /org/hibernate/hibernate-core/3.3.0.SP1/hibernate-core-3.3.0.SP1.jar:/
> root/.m2/repository/antlr/antlr/2.7.6/antlr-2.7.6.jar:/root/.m2/reposi
> tory/commons-collections/commons-collections/3.1/commons-collections-3
> .1.jar:/root/.m2/repository/javax/transaction/jta/1.1/jta-1.1.jar:/roo
> t/.m2/repository/dom4j/dom4j/1.6.1/dom4j-1.6.1.jar:/temp/ovirt-engine/
> frontend/webadmin/modules/frontend/target/frontend-3.0.0-0001.jar:/tem
> p/ovirt-engine/frontend/webadmin/modules/gwt-extension/target/gwt-exte
> nsion-3.0.0-0001.jar:/root/.m2/repository/javax/xml/bind/jaxb-api/2.1/
> jaxb-api-2.1.jar:/root/.m2/repository/javax/xml/stream/stax-api/1.0-2/
> stax-api-1.0-2.jar:/root/.m2/repository/javax/activation/activation/1.
> 1/activat
> ion-1.1.jar:/root/.m2/repository/org/jboss/spec/javax/ejb/jboss-ejb-ap
> i_3.1_spec/1.0.1.Final/jboss-ejb-api_3.1_spec-1.0.1.Final.jar:/root/.m
> 2/repository/org/aspectj/aspectjweaver/1.6.11/aspectjweaver-1.6.11.jar
> :/root/.m2/repository/commons-logging/commons-logging/1.1/commons-logg
> ing-1.1.jar:/root/.m2/repository/log4j/log4j/1.2.12/log4j-1.2.12.jar:/
> root/.m2/repository/logkit/logkit/1.0.1/logkit-1.0.1.jar:/root/.m2/rep
> ository/avalon-framework/avalon-framework/4.1.3/avalon-framework-4.1.3
> .jar:/root/.m2/repository/javax/servlet/servlet-api/2.3/servlet-api-2.
> 3.jar:/root/.m2/repository/com/google/gwt/gwt-user/2.3.0/gwt-user-2.3.
> 0.jar:/root/.m2/repository/javax/validation/validation-api/1.0.0.GA/va
> lidation-api-1.0.0.GA.jar:/root/.m2/repository/javax/validation/valida
> tion-api/1.0.0.GA/validation-api-1.0.0.GA-sources.jar:/root/.m2/reposi
> tory/com/google/gwt/gwt-dev/2.3.0/gwt-dev-2.3.0.jar:/temp/ovirt-engine
> /frontend/webadmin/modules/gwt-extension/target/gwt-extension-3.0.0-00
> 01-source
> s.jar:/temp/ovirt-engine/frontend/webadmin/modules/uicommonweb/target/
> uicommonweb-3.0.0-0001-sources.jar
> > com.google.gwt.dev.Compiler -gen
> > /temp/ovirt-engine/frontend/webadmin/modules/webadmin/gen -logLevel
> > INFO -style OBF -war
> > /temp/ovirt-engine/frontend/webadmin/modules/webadmin/target/webadmi
> > n-3.0.0-0001 -localWorkers 2 org.ovirt.engine.ui.webadmin.WebAdmin
> >
> > [ERROR] ]] failed with status 137
> >
> > [ERROR] -> [Help 1]
> >
> > [ERROR]
> >
> > [ERROR] To see the full stack trace of the errors, re-run Maven with
> > the -e switch.
> >
> > [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/MojoExecutionExcept
> > ion
> >
> > [ERROR]
> >
> > [ERROR] After correcting the problems, you can resume the build with
> > the command
> >
> > [ERROR] mvn <goals> -rf :webadmin
> >
> > make: *** [build_mvn] Error 1
> >
> >
> >
> > Any ideas on where things may be going awry?
> >
> >
> >
> > regards,
> >
> > Chris Brown
> >
> >
> >
> >
> >
> >
> > _______________________________________________
> > Users mailing list
> > Users at ovirt.org
> > http://lists.ovirt.org/mailman/listinfo/users
> >
> _______________________________________________
> Users mailing list
> Users at ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
>
More information about the Users
mailing list