[Engine-devel] What BlockMigrationOnSwapUsagePercentage
by Mark Wu
Hi guys
I got the following error message when I tried to run a VM:
"VM's swap percentage is above the threshold. (check your configuration
parameters for Host Swap Percentage)."
After increasing the parameter BlockMigrationOnSwapUsagePercentage, the
problem disappeared.
But I don't understand the logic here:
IsVMSwapValueLegal
....
return ((swap_total - swap_free - mem_available) * 100 /
physical_mem_mb) <= Config
.<Integer>
GetValue(ConfigValues.BlockMigrationOnSwapUsagePercentage);
So anyone can help me explain it? Thanks a lot!
Mark.
12 years, 5 months
[Engine-devel] Forking unit tests
by Allon Mureinik
Hi guys,
If you're using settings.xml as published in Building the oVirt Engine page, you'd see we're forking for every test, in every subproject.
This behaviour was introduced to handle memory leaks in PowerMock we use in some subprojects, but is redundant in others.
Over the past month or so I've been working on removing PowerMock from as many places as possible (many thanks to mkolesni and lhornyak!), and we've got to the stage that forking is only needed in to subprojects - bll and resttypes.
The forking was defined explicitly in those two projects, so if you want to speed up your tests, just take the latest version of settings.xml from http://ovirt.org/wiki/Building_oVirt_engine#Maven_personal_settings.
-Allon
12 years, 5 months
[Engine-devel] Vm nic active boolean should be converted to status/state=active
by Avi Tal
Hi,
I believe we should save the REST API behavior and keep using status object instead of <active>true</active> for vm nics.
We should use:
<status>
<state>active<state>
</status>
Many rest frameworks works around that <status> object in order to verify element state and we shouldn't change that behavior.
This is true also for hotplug disk
Avi Tal
Red Hat tlv
12 years, 5 months
Re: [Engine-devel] [oVirt Jenkins] ovirt_engine_find_bugs - Build # 1224 - Still Unstable!
by Eyal Edri
FYI,
Jenkins findbugs plugin detected a HIGH priority bug in these commits, please handle:
http://jenkins.ovirt.org/job/ovirt_engine_find_bugs/1217/
Eyal.
----- Original Message -----
> From: "Jenkins oVirt Server" <jenkins(a)ovirt.org>
> To: eedri(a)redhat.com, engine-patches(a)ovirt.org, oliel(a)redhat.com, yzaslavs(a)redhat.com, derez(a)redhat.com
> Sent: Wednesday, June 13, 2012 2:17:22 PM
> Subject: [oVirt Jenkins] ovirt_engine_find_bugs - Build # 1224 - Still Unstable!
>
> Project: http://jenkins.ovirt.org/job/ovirt_engine_find_bugs/
> Build: http://jenkins.ovirt.org/job/ovirt_engine_find_bugs/1224/
> Build Number: 1224
> Build Status: Still Unstable
> Triggered By: Started by upstream project "ovirt_engine" build number
> 1,650
>
> -------------------------------------
> Changes Since Last Success:
> -------------------------------------
> Changes for Build #1217
> [oliel] restapi: Fix RSDL Generics Issue
>
> [oliel] restapi: Expose Current Time
>
>
> Changes for Build #1218
> [oliel] restapi: Add Search Capabilities To Disks
>
> [oliel] restapi: Redefine Host Cores And Sockets
>
>
> Changes for Build #1219
> [oliel] Update API test with searchable disks
>
> [lhornyak] restapi: Handle PermGen leak for Maven 3
>
>
> Changes for Build #1220
> [mkublin] core: Removing @Remote annotattion from Backend bean
>
> [juan.hernandez] core: Remove dependency on org.jboss.interceptor
>
>
> Changes for Build #1221
>
> Changes for Build #1222
> [gchaplik] core: import more than once - validate new name
>
> [gchaplik] webadmin: import more than once - validate new name
>
> [gchaplik] engine: fix typo ImportVmTemplateParameters
>
>
> Changes for Build #1223
> [tnisan] core: Added GetManagementInterfaceAddressByVdsId query
>
> [tnisan] webadmin: Set Spice & VNC console models to use different
> query
>
>
> Changes for Build #1224
> [derez] webadmin: Missing RemoveDisk enum to LocalizedEnums
>
>
>
>
> -----------------
> Failed Tests:
> -----------------
> No tests ran.
>
> ------------------
> Build Log:
> ------------------
> [...truncated 2650 lines...]
> [INFO] skip non existing resourceDirectory
> /ephemeral0/ovirt_engine_find_bugs/frontend/wars/rm-war/src/test/resources
> [INFO]
> [INFO] --- maven-compiler-plugin:2.3.2:testCompile
> (default-testCompile) @ rm-war ---
> [INFO] No sources to compile
> [INFO]
> [INFO] --- maven-surefire-plugin:2.7.2:test (default-test) @ rm-war
> ---
> [INFO] Tests are skipped.
> [INFO]
> [INFO] --- maven-war-plugin:2.1.1:war (default-war) @ rm-war ---
> [INFO] Packaging webapp
> [INFO] Assembling webapp [rm-war] in
> [/ephemeral0/ovirt_engine_find_bugs/frontend/wars/rm-war/target/rm-war-3.1.0-0001]
> [INFO] Processing war project
> [INFO] Copying webapp resources
> [/ephemeral0/ovirt_engine_find_bugs/frontend/wars/rm-war/src/main/webapp]
> [INFO] Webapp assembled in [3 msecs]
> [INFO] Building war:
> /ephemeral0/ovirt_engine_find_bugs/frontend/wars/rm-war/target/rm-war-3.1.0-0001.war
> [INFO] WEB-INF/web.xml already added, skipping
> [INFO]
> [INFO] --- maven-install-plugin:2.3.1:install (default-install) @
> rm-war ---
> [INFO] Installing
> /ephemeral0/ovirt_engine_find_bugs/frontend/wars/rm-war/target/rm-war-3.1.0-0001.war
> to
> /home/jenkins/workspace/ovirt_engine_find_bugs/.repository/org/ovirt/engine/ui/rm-war/3.1.0-0001/rm-war-3.1.0-0001.war
> [INFO] Installing
> /ephemeral0/ovirt_engine_find_bugs/frontend/wars/rm-war/pom.xml to
> /home/jenkins/workspace/ovirt_engine_find_bugs/.repository/org/ovirt/engine/ui/rm-war/3.1.0-0001/rm-war-3.1.0-0001.pom
> [INFO]
> [INFO] --- findbugs-maven-plugin:2.5:findbugs (default-cli) @ rm-war
> ---
> [INFO]
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Building oVirt Web Application Module 3.1.0-0001
> [INFO]
> ------------------------------------------------------------------------
> [INFO]
> [INFO] --- maven-clean-plugin:2.4.1:clean (default-clean) @ rmw-war
> ---
> [INFO] Deleting
> /ephemeral0/ovirt_engine_find_bugs/frontend/wars/rmw-war/target
> [INFO]
> [INFO] --- maven-resources-plugin:2.4.3:resources (default-resources)
> @ rmw-war ---
> [INFO] Using 'UTF-8' encoding to copy filtered resources.
> [INFO] Copying 0 resource
> [INFO] skip non existing resourceDirectory
> /ephemeral0/ovirt_engine_find_bugs/frontend/wars/rmw-war/src/main/resources
> [INFO]
> [INFO] --- maven-compiler-plugin:2.3.2:compile (default-compile) @
> rmw-war ---
> [INFO] Compiling 4 source files to
> /ephemeral0/ovirt_engine_find_bugs/frontend/wars/rmw-war/target/classes
> [INFO]
> [INFO] --- maven-resources-plugin:2.4.3:testResources
> (default-testResources) @ rmw-war ---
> [INFO] Using 'UTF-8' encoding to copy filtered resources.
> [INFO] skip non existing resourceDirectory
> /ephemeral0/ovirt_engine_find_bugs/frontend/wars/rmw-war/src/test/resources
> [INFO]
> [INFO] --- maven-compiler-plugin:2.3.2:testCompile
> (default-testCompile) @ rmw-war ---
> [INFO] No sources to compile
> [INFO]
> [INFO] --- maven-surefire-plugin:2.7.2:test (default-test) @ rmw-war
> ---
> [INFO] Tests are skipped.
> [INFO]
> [INFO] --- maven-war-plugin:2.1.1:war (default-war) @ rmw-war ---
> [INFO] Packaging webapp
> [INFO] Assembling webapp [rmw-war] in
> [/ephemeral0/ovirt_engine_find_bugs/frontend/wars/rmw-war/target/rmw-war-3.1.0-0001]
> [INFO] Processing war project
> [INFO] Copying webapp resources
> [/ephemeral0/ovirt_engine_find_bugs/frontend/wars/rmw-war/src/main/webapp]
> [INFO] Webapp assembled in [9 msecs]
> [INFO] Building war:
> /ephemeral0/ovirt_engine_find_bugs/frontend/wars/rmw-war/target/rmw-war-3.1.0-0001.war
> [INFO] WEB-INF/web.xml already added, skipping
> [INFO]
> [INFO] --- maven-install-plugin:2.3.1:install (default-install) @
> rmw-war ---
> [INFO] Installing
> /ephemeral0/ovirt_engine_find_bugs/frontend/wars/rmw-war/target/rmw-war-3.1.0-0001.war
> to
> /home/jenkins/workspace/ovirt_engine_find_bugs/.repository/org/ovirt/engine/ui/rmw-war/3.1.0-0001/rmw-war-3.1.0-0001.war
> [INFO] Installing
> /ephemeral0/ovirt_engine_find_bugs/frontend/wars/rmw-war/pom.xml to
> /home/jenkins/workspace/ovirt_engine_find_bugs/.repository/org/ovirt/engine/ui/rmw-war/3.1.0-0001/rmw-war-3.1.0-0001.pom
> [INFO]
> [INFO] --- findbugs-maven-plugin:2.5:findbugs (default-cli) @ rmw-war
> ---
> [INFO] Fork Value is true
> [INFO] Done FindBugs Analysis....
> [INFO]
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Building oVirt Server EAR 3.1.0-0001
> [INFO]
> ------------------------------------------------------------------------
> Downloading:
> http://repo1.maven.org/maven2/org/codehaus/mojo/gwt-maven-plugin/1.3.2.go...
>
> [WARNING] The POM for
> org.codehaus.mojo:gwt-maven-plugin:jar:1.3.2.google is missing, no
> dependency information available
> [WARNING] Failed to retrieve plugin descriptor for
> org.codehaus.mojo:gwt-maven-plugin:1.3.2.google: Plugin
> org.codehaus.mojo:gwt-maven-plugin:1.3.2.google or one of its
> dependencies could not be resolved: Failed to read artifact
> descriptor for org.codehaus.mojo:gwt-maven-plugin:jar:1.3.2.google
> [INFO]
> [INFO] --- maven-clean-plugin:2.4.1:clean (default-clean) @
> engine-server-ear ---
> [INFO] Deleting /ephemeral0/ovirt_engine_find_bugs/ear/target
> [INFO]
> [INFO] --- maven-ear-plugin:2.5:generate-application-xml
> (default-generate-application-xml) @ engine-server-ear ---
> [INFO] Generating application.xml
> [INFO]
> [INFO] --- maven-resources-plugin:2.4.3:resources (default-resources)
> @ engine-server-ear ---
> [INFO] Using 'UTF-8' encoding to copy filtered resources.
> [INFO] skip non existing resourceDirectory
> /ephemeral0/ovirt_engine_find_bugs/ear/src/main/java
> [INFO] Copying 1 resource
> [INFO]
> [INFO] --- maven-ear-plugin:2.5:ear (default-ear) @ engine-server-ear
> ---
> [INFO] Copying artifact[jar:org.ovirt.engine.core:common:3.1.0-0001]
> to[lib/engine-common.jar]
> [INFO] Copying artifact[jar:org.ovirt.engine.core:compat:3.1.0-0001]
> to[lib/engine-compat.jar]
> [INFO] Copying artifact[jar:org.ovirt.engine.core:dal:3.1.0-0001]
> to[lib/engine-dal.jar]
> [INFO] Copying artifact[jar:org.ovirt.engine.core:utils:3.1.0-0001]
> to[lib/engine-utils.jar]
> [INFO] Copying
> artifact[jar:org.ovirt.engine.core:engineencryptutils:3.1.0-0001]
> to[lib/engine-encryptutils.jar]
> [INFO] Copying
> artifact[jar:org.ovirt.engine.core:vdsbroker:3.1.0-0001]
> to[lib/engine-vdsbroker.jar]
> [INFO] Copying
> artifact[war:org.ovirt.engine.core:root-war:3.1.0-0001] to[root.war]
> (unpacked)
> [INFO] Copying artifact[war:org.ovirt.engine.ui:rmw-war:3.1.0-0001]
> to[ovirtengineweb.war] (unpacked)
> [INFO] Copying artifact[war:org.ovirt.engine.ui:rm-war:3.1.0-0001]
> to[ovirtengine.war] (unpacked)
> [INFO] Copying
> artifact[war:org.ovirt.engine.api:restapi-webapp:3.1.0-0001]
> to[restapi.war] (unpacked)
> [INFO] Copying
> artifact[war:org.ovirt.engine.ui:userportal:3.1.0-0001]
> to[userportal.war] (unpacked)
> [INFO] Copying artifact[war:org.ovirt.engine.ui:webadmin:3.1.0-0001]
> to[webadmin.war] (unpacked)
> [INFO] Copying
> artifact[ejb:org.ovirt.engine.ui:genericapi:3.1.0-0001]
> to[engine-genericapi.jar] (unpacked)
> [INFO] Copying
> artifact[ejb:org.ovirt.engine.core:scheduler:3.1.0-0001]
> to[engine-scheduler.jar] (unpacked)
> [INFO] Copying artifact[ejb:org.ovirt.engine.core:bll:3.1.0-0001]
> to[engine-bll.jar] (unpacked)
> [INFO] Copying artifact[jar:commons-codec:commons-codec:1.4]
> to[lib/commons-codec-1.4.jar]
> [INFO] Copying
> artifact[jar:org.hibernate:hibernate-validator:4.0.2.GA]
> to[lib/hibernate-validator-4.0.2.GA.jar]
> [INFO] Copying artifact[jar:javax.validation:validation-api:1.0.0.GA]
> to[lib/validation-api-1.0.0.GA.jar]
> [INFO] Copying artifact[jar:org.slf4j:slf4j-api:1.5.6]
> to[lib/slf4j-api-1.5.6.jar]
> [INFO] Copying artifact[jar:javax.xml.bind:jaxb-api:2.1]
> to[lib/jaxb-api-2.1.jar]
> [INFO] Copying artifact[jar:javax.xml.stream:stax-api:1.0-2]
> to[lib/stax-api-1.0-2.jar]
> [INFO] Copying artifact[jar:javax.activation:activation:1.1]
> to[lib/activation-1.1.jar]
> [INFO] Copying artifact[jar:com.sun.xml.bind:jaxb-impl:2.1.3]
> to[lib/jaxb-impl-2.1.3.jar]
> [INFO] Copying
> artifact[jar:org.hibernate:hibernate-annotations:3.4.0.GA]
> to[lib/hibernate-annotations-3.4.0.GA.jar]
> [INFO] Copying artifact[jar:org.hibernate:ejb3-persistence:1.0.2.GA]
> to[lib/ejb3-persistence-1.0.2.GA.jar]
> [INFO] Copying
> artifact[jar:org.hibernate:hibernate-commons-annotations:3.1.0.GA]
> to[lib/hibernate-commons-annotations-3.1.0.GA.jar]
> [INFO] Copying artifact[jar:org.hibernate:hibernate-core:3.3.0.SP1]
> to[lib/hibernate-core-3.3.0.SP1.jar]
> [INFO] Copying artifact[jar:antlr:antlr:2.7.6]
> to[lib/antlr-2.7.6.jar]
> [INFO] Copying artifact[jar:dom4j:dom4j:1.6.1]
> to[lib/dom4j-1.6.1.jar]
> [INFO] Copying artifact[jar:xml-apis:xml-apis:1.0.b2]
> to[lib/xml-apis-1.0.b2.jar]
> [INFO] Copying
> artifact[jar:org.jboss.spec.javax.interceptor:jboss-interceptors-api_1.1_spec:1.0.0.Final]
> to[lib/jboss-interceptors-api_1.1_spec-1.0.0.Final.jar]
> [INFO] Copying
> artifact[jar:org.ovirt.engine.core:engine-tools-common:3.1.0-0001]
> to[lib/engine-tools-common-3.1.0-0001.jar]
> [INFO] Copying
> artifact[jar:commons-beanutils:commons-beanutils:1.8.2]
> to[lib/commons-beanutils-1.8.2.jar]
> [INFO] Copying artifact[jar:com.jcraft:jsch:0.1.42]
> to[lib/jsch-0.1.42.jar]
> [INFO] Copying artifact[jar:org.apache.mina:mina-core:2.0.1]
> to[lib/mina-core-2.0.1.jar]
> [INFO] Copying artifact[jar:org.apache.sshd:sshd-core:0.6.0]
> to[lib/sshd-core-0.6.0.jar]
> [INFO] Copying artifact[jar:commons-lang:commons-lang:2.4]
> to[lib/commons-lang-2.4.jar]
> [INFO] Copying artifact[jar:org.apache.xmlrpc:xmlrpc-client:3.1.3]
> to[lib/xmlrpc-client-3.1.3.jar]
> [INFO] Copying artifact[jar:org.apache.xmlrpc:xmlrpc-common:3.1.3]
> to[lib/xmlrpc-common-3.1.3.jar]
> [INFO] Copying
> artifact[jar:org.apache.ws.commons.util:ws-commons-util:1.0.2]
> to[lib/ws-commons-util-1.0.2.jar]
> [INFO] Copying
> artifact[jar:org.springframework:spring-jdbc:2.5.6.SEC02]
> to[lib/spring-jdbc-2.5.6.SEC02.jar]
> [INFO] Copying
> artifact[jar:org.springframework:spring-tx:2.5.6.SEC02]
> to[lib/spring-tx-2.5.6.SEC02.jar]
> [INFO] Copying
> artifact[jar:org.springframework.ldap:spring-ldap-core:1.3.0.RELEASE]
> to[lib/spring-ldap-core-1.3.0.RELEASE.jar]
> [INFO] Copying
> artifact[jar:commons-httpclient:commons-httpclient:3.1]
> to[lib/commons-httpclient-3.1.jar]
> [INFO] Copying
> artifact[jar:commons-collections:commons-collections:3.1]
> to[lib/commons-collections-3.1.jar]
> [INFO] Copying artifact[jar:org.quartz-scheduler:quartz:2.1.2]
> to[lib/quartz-2.1.2.jar]
> [INFO] Copying artifact[jar:c3p0:c3p0:0.9.1.1]
> to[lib/c3p0-0.9.1.1.jar]
> [INFO] Copying
> artifact[jar:org.ovirt.engine.core:searchbackend:3.1.0-0001]
> to[lib/searchbackend-3.1.0-0001.jar]
> [INFO] Copying
> artifact[jar:org.springframework:spring-core:2.5.6.SEC02]
> to[lib/spring-core-2.5.6.SEC02.jar]
> [INFO] Copying
> artifact[jar:org.springframework:spring-beans:2.5.6.SEC02]
> to[lib/spring-beans-2.5.6.SEC02.jar]
> [INFO] Copying
> artifact[jar:org.springframework:spring-context:2.5.6.SEC02]
> to[lib/spring-context-2.5.6.SEC02.jar]
> [INFO] Copying artifact[jar:aopalliance:aopalliance:1.0]
> to[lib/aopalliance-1.0.jar]
> [INFO] Copying
> artifact[jar:org.springframework:spring-agent:2.5.6.SEC02]
> to[lib/spring-agent-2.5.6.SEC02.jar]
> [INFO] Copying
> artifact[jar:org.springframework:spring-aop:2.5.6.SEC02]
> to[lib/spring-aop-2.5.6.SEC02.jar]
> [INFO] Copy ear sources to
> /ephemeral0/ovirt_engine_find_bugs/ear/target/engine
> [WARNING] resourcesDir is deprecated. Please use the
> earSourceDirectory property instead.
> [INFO] Copy ear resources to
> /ephemeral0/ovirt_engine_find_bugs/ear/target/engine
> [INFO] Including custom manifest
> file[/ephemeral0/ovirt_engine_find_bugs/ear/target/engine/META-INF/MANIFEST.MF]
> [INFO] Building jar:
> /ephemeral0/ovirt_engine_find_bugs/ear/target/engine.ear
> [INFO]
> [INFO] --- maven-dependency-plugin:2.1:copy (copy-quartz-jar) @
> engine-server-ear ---
> [INFO] Configured Artifact: org.quartz-scheduler:quartz:2.1.2:jar
> [INFO] Copying quartz-2.1.2.jar to
> /ephemeral0/ovirt_engine_find_bugs/ear/target/quartz/quartz-2.1.2.jar
> [INFO]
> [INFO] --- maven-install-plugin:2.3.1:install (default-install) @
> engine-server-ear ---
> [INFO] Installing
> /ephemeral0/ovirt_engine_find_bugs/ear/target/engine.ear to
> /home/jenkins/workspace/ovirt_engine_find_bugs/.repository/org/ovirt/engine/engine-server-ear/3.1.0-0001/engine-server-ear-3.1.0-0001.ear
> [INFO] Installing /ephemeral0/ovirt_engine_find_bugs/ear/pom.xml to
> /home/jenkins/workspace/ovirt_engine_find_bugs/.repository/org/ovirt/engine/engine-server-ear/3.1.0-0001/engine-server-ear-3.1.0-0001.pom
> [INFO]
> [INFO] --- findbugs-maven-plugin:2.5:findbugs (default-cli) @
> engine-server-ear ---
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Reactor Summary:
> [INFO]
> [INFO] oVirt Engine Root Project ......................... SUCCESS
> [2.914s]
> [INFO] oVirt Build Tools root ............................ SUCCESS
> [0.128s]
> [INFO] oVirt checkstyle .................................. SUCCESS
> [1.504s]
> [INFO] oVirt Checkstyle Checks ........................... SUCCESS
> [16.852s]
> [INFO] oVirt Modules - backend ........................... SUCCESS
> [0.102s]
> [INFO] oVirt Manager ..................................... SUCCESS
> [0.242s]
> [INFO] oVirt DB Scripts .................................. SUCCESS
> [0.750s]
> [INFO] oVirt Modules - manager ........................... SUCCESS
> [1.222s]
> [INFO] CSharp Compatibility .............................. SUCCESS
> [42.538s]
> [INFO] Encryption Libraries .............................. SUCCESS
> [20.725s]
> [INFO] oVirt Tools ....................................... SUCCESS
> [0.129s]
> [INFO] oVirt Tools Common Library ........................ SUCCESS
> [13.544s]
> [INFO] Common Code ....................................... SUCCESS
> [1:12.654s]
> [INFO] Common utilities .................................. SUCCESS
> [52.148s]
> [INFO] Data Access Layer ................................. SUCCESS
> [54.063s]
> [INFO] engine beans ...................................... SUCCESS
> [0.206s]
> [INFO] engine scheduler bean ............................. SUCCESS
> [21.790s]
> [INFO] Vds broker ........................................ SUCCESS
> [51.661s]
> [INFO] Search Backend .................................... SUCCESS
> [32.565s]
> [INFO] Backend Logic @Service bean ....................... SUCCESS
> [1:52.245s]
> [INFO] oVirt RESTful API Backend Integration ............. SUCCESS
> [0.243s]
> [INFO] oVirt RESTful API interface ....................... SUCCESS
> [0.214s]
> [INFO] oVirt Engine API Definition ....................... SUCCESS
> [40.016s]
> [INFO] oVirt Engine API Commom Parent POM ................ SUCCESS
> [0.211s]
> [INFO] oVirt Engine API Common JAX-RS .................... SUCCESS
> [36.584s]
> [INFO] oVirt RESTful API Backend Integration Type Mappers SUCCESS
> [34.977s]
> [INFO] oVirt RESTful API Backend Integration JAX-RS Resources
> SUCCESS [58.550s]
> [INFO] oVirt RESTful API Backend Integration Webapp ...... SUCCESS
> [5.204s]
> [INFO] oVirt Engine Web Root ............................. SUCCESS
> [16.110s]
> [INFO] oVirt Configuration Tool .......................... SUCCESS
> [27.754s]
> [INFO] Notifier Service package .......................... SUCCESS
> [0.090s]
> [INFO] Notifier Service .................................. SUCCESS
> [30.927s]
> [INFO] Notifier Service Resources ........................ SUCCESS
> [5.056s]
> [INFO] oVirt Modules - frontend .......................... SUCCESS
> [1.073s]
> [INFO] oVirt APIs ........................................ SUCCESS
> [0.529s]
> [INFO] oVirt generic API ................................. SUCCESS
> [20.619s]
> [INFO] oVirt Modules - webadmin .......................... SUCCESS
> [0.042s]
> [INFO] oVirt Modules - ui ................................ SUCCESS
> [0.087s]
> [INFO] Extensions for GWT ................................ SUCCESS
> [47.819s]
> [INFO] UI Utils Compatibility (for UICommon) ............. SUCCESS
> [27.623s]
> [INFO] Frontend for GWT UI Projects ...................... SUCCESS
> [30.490s]
> [INFO] UICommonWeb ....................................... SUCCESS
> [1:43.265s]
> [INFO] oVirt GWT UI common infrastructure ................ SUCCESS
> [1:12.229s]
> [INFO] WebAdmin .......................................... SUCCESS
> [1:29.964s]
> [INFO] UserPortal ........................................ SUCCESS
> [50.107s]
> [INFO] oVirt WARs ........................................ SUCCESS
> [0.029s]
> [INFO] WPF Application Module ............................ SUCCESS
> [4.889s]
> [INFO] oVirt Web Application Module ...................... SUCCESS
> [21.794s]
> [INFO] oVirt Server EAR .................................. SUCCESS
> [8.703s]
> [INFO]
> ------------------------------------------------------------------------
> [INFO] BUILD SUCCESS
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 20:35.645s
> [INFO] Finished at: Wed Jun 13 07:16:01 EDT 2012
> [INFO] Final Memory: 326M/759M
> [INFO]
> ------------------------------------------------------------------------
> [FINDBUGS] Collecting findbugs analysis files...
> [FINDBUGS] Parsing 30 files in
> /home/jenkins/workspace/ovirt_engine_find_bugs
> [FINDBUGS] Successfully parsed file
> /home/jenkins/workspace/ovirt_engine_find_bugs/backend/manager/modules/beans/scheduler/target/findbugsXml.xml
> of module with 1 warnings.
> [FINDBUGS] Successfully parsed file
> /home/jenkins/workspace/ovirt_engine_find_bugs/backend/manager/modules/beans/vdsbroker/target/findbugsXml.xml
> of module with 0 warnings.
> [FINDBUGS] Successfully parsed file
> /home/jenkins/workspace/ovirt_engine_find_bugs/backend/manager/modules/bll/target/findbugsXml.xml
> of module with 429 warnings.
> [FINDBUGS] Successfully parsed file
> /home/jenkins/workspace/ovirt_engine_find_bugs/backend/manager/modules/common/target/findbugsXml.xml
> of module with 269 warnings.
> [FINDBUGS] Successfully parsed file
> /home/jenkins/workspace/ovirt_engine_find_bugs/backend/manager/modules/compat/target/findbugsXml.xml
> of module with 71 warnings.
> [FINDBUGS] Successfully parsed file
> /home/jenkins/workspace/ovirt_engine_find_bugs/backend/manager/modules/dal/target/findbugsXml.xml
> of module with 28 warnings.
> [FINDBUGS] Successfully parsed file
> /home/jenkins/workspace/ovirt_engine_find_bugs/backend/manager/modules/engineencryptutils/target/findbugsXml.xml
> of module with 10 warnings.
> [FINDBUGS] Successfully parsed file
> /home/jenkins/workspace/ovirt_engine_find_bugs/backend/manager/modules/restapi/interface/common/jaxrs/target/findbugsXml.xml
> of module with 18 warnings.
> [FINDBUGS] Successfully parsed file
> /home/jenkins/workspace/ovirt_engine_find_bugs/backend/manager/modules/restapi/interface/definition/target/findbugsXml.xml
> of module with 1 warnings.
> [FINDBUGS] Successfully parsed file
> /home/jenkins/workspace/ovirt_engine_find_bugs/backend/manager/modules/restapi/jaxrs/target/findbugsXml.xml
> of module with 24 warnings.
> [FINDBUGS] Successfully parsed file
> /home/jenkins/workspace/ovirt_engine_find_bugs/backend/manager/modules/restapi/types/target/findbugsXml.xml
> of module with 10 warnings.
> [FINDBUGS] Successfully parsed file
> /home/jenkins/workspace/ovirt_engine_find_bugs/backend/manager/modules/root/target/findbugsXml.xml
> of module with 5 warnings.
> [FINDBUGS] Successfully parsed file
> /home/jenkins/workspace/ovirt_engine_find_bugs/backend/manager/modules/searchbackend/target/findbugsXml.xml
> of module with 13 warnings.
> [FINDBUGS] Successfully parsed file
> /home/jenkins/workspace/ovirt_engine_find_bugs/backend/manager/modules/utils/target/findbugsXml.xml
> of module with 113 warnings.
> [FINDBUGS] Successfully parsed file
> /home/jenkins/workspace/ovirt_engine_find_bugs/backend/manager/modules/vdsbroker/target/findbugsXml.xml
> of module with 234 warnings.
> [FINDBUGS] Successfully parsed file
> /home/jenkins/workspace/ovirt_engine_find_bugs/backend/manager/tools/engine-config/target/findbugsXml.xml
> of module with 8 warnings.
> [FINDBUGS] Successfully parsed file
> /home/jenkins/workspace/ovirt_engine_find_bugs/backend/manager/tools/engine-notifier/engine-notifier-service/target/findbugsXml.xml
> of module with 11 warnings.
> [FINDBUGS] Successfully parsed file
> /home/jenkins/workspace/ovirt_engine_find_bugs/backend/manager/tools/engine-tools-common/target/findbugsXml.xml
> of module with 0 warnings.
> [FINDBUGS] Successfully parsed file
> /home/jenkins/workspace/ovirt_engine_find_bugs/build-tools-root/ovirt-checkstyle-extension/target/findbugsXml.xml
> of module with 1 warnings.
> [FINDBUGS] Successfully parsed file
> /home/jenkins/workspace/ovirt_engine_find_bugs/frontend/api/genericapi/target/findbugsXml.xml
> of module with 2 warnings.
> [FINDBUGS] Successfully parsed file
> /home/jenkins/workspace/ovirt_engine_find_bugs/frontend/wars/rmw-war/target/findbugsXml.xml
> of module with 0 warnings.
> [FINDBUGS] Successfully parsed file
> /home/jenkins/workspace/ovirt_engine_find_bugs/frontend/webadmin/modules/frontend/target/findbugsXml.xml
> of module with 22 warnings.
> [FINDBUGS] Successfully parsed file
> /home/jenkins/workspace/ovirt_engine_find_bugs/frontend/webadmin/modules/gwt-common/target/findbugsXml.xml
> of module with 68 warnings.
> [FINDBUGS] Successfully parsed file
> /home/jenkins/workspace/ovirt_engine_find_bugs/frontend/webadmin/modules/gwt-extension/target/findbugsXml.xml
> of module with 29 warnings.
> [FINDBUGS] Successfully parsed file
> /home/jenkins/workspace/ovirt_engine_find_bugs/frontend/webadmin/modules/uicommon/target/findbugsXml.xml
> of module with 417 warnings.
> [FINDBUGS] Successfully parsed file
> /home/jenkins/workspace/ovirt_engine_find_bugs/frontend/webadmin/modules/uicommonweb/target/findbugsXml.xml
> of module with 610 warnings.
> [FINDBUGS] Successfully parsed file
> /home/jenkins/workspace/ovirt_engine_find_bugs/frontend/webadmin/modules/uicompat/target/findbugsXml.xml
> of module with 40 warnings.
> [FINDBUGS] Successfully parsed file
> /home/jenkins/workspace/ovirt_engine_find_bugs/frontend/webadmin/modules/userportal-gwtp/target/findbugsXml.xml
> of module with 12 warnings.
> [FINDBUGS] Successfully parsed file
> /home/jenkins/workspace/ovirt_engine_find_bugs/frontend/webadmin/modules/userportal/target/findbugsXml.xml
> of module with 118 warnings.
> [FINDBUGS] Successfully parsed file
> /home/jenkins/workspace/ovirt_engine_find_bugs/frontend/webadmin/modules/webadmin/target/findbugsXml.xml
> of module with 56 warnings.
> [FINDBUGS] Computing warning deltas based on reference build #1216
> Build step 'Publish FindBugs analysis results' changed build result
> to UNSTABLE
> Email was triggered for: Unstable
> Sending email for trigger: Unstable
>
>
12 years, 5 months
Re: [Engine-devel] [oVirt Jenkins] ovirt_engine_dao_unit_tests - Build # 1208 - Still Failing!
by Eyal Edri
Hi,
It seems commit [sesubram] engine: Adding brick order to Gluster volume bricks added new failed dao test:
org.ovirt.engine.core.dao.gluster.GlusterBrickDaoTest.testReplaceBrick
>
> Error Message:
> Required input parameter 'v_new_brick_dir' is missing
Can you please check?
Eyal Edri
oVirt Infra Team.
----- Original Message -----
> From: "Jenkins oVirt Server" <jenkins(a)ovirt.org>
> To: eedri(a)redhat.com, engine-patches(a)ovirt.org, oliel(a)redhat.com, yzaslavs(a)redhat.com, mkolesni(a)redhat.com
> Sent: Tuesday, June 12, 2012 10:47:31 AM
> Subject: [oVirt Jenkins] ovirt_engine_dao_unit_tests - Build # 1208 - Still Failing!
>
> Project: http://jenkins.ovirt.org/job/ovirt_engine_dao_unit_tests/
> Build: http://jenkins.ovirt.org/job/ovirt_engine_dao_unit_tests/1208/
> Build Number: 1208
> Build Status: Still Failing
> Triggered By: Started by upstream project "ovirt_engine" build number
> 1,611, Started by upstream project "ovirt_engine" build number
> 1,612, Started by upstream project "ovirt_engine" build number 1,613
>
> -------------------------------------
> Changes Since Last Success:
> -------------------------------------
> Changes for Build #1191
> [mkublin] core: Disable global transaction at InitVdsOnUp
>
> [sesubram] engine: Adding brick order to Gluster volume bricks
>
>
> Changes for Build #1192
>
> Changes for Build #1193
> [dgopal] restapi: Gluster Volume Bricks resource implementation
>
>
> Changes for Build #1194
> [kmayilsa] engine: Skipping Cluster CPU validation in GlusterOnly
> mode
>
> [kmayilsa] engine: Removing default transport type in volume(#830495)
>
>
> Changes for Build #1195
> [derez] webadmin: display SD status in Storage sub-tab
>
> [derez] webadmin: Differentiate Virtual/Actual size in disks
>
>
> Changes for Build #1196
>
> Changes for Build #1197
>
> Changes for Build #1198
> [emesika] core: VMs created by vmpool fail to run(#830789)
>
> [sesubram] engine: upgrade sql file name sequence number issue fix
>
>
> Changes for Build #1199
>
> Changes for Build #1200
>
> Changes for Build #1201
> [gchaplik] webadmin: removing uicommon from build (pom)
>
>
> Changes for Build #1202
>
> Changes for Build #1203
> [ecohen] ui: fix naming to oVirt Engine
>
>
> Changes for Build #1204
>
> Changes for Build #1205
>
> Changes for Build #1206
>
> Changes for Build #1207
> [yzaslavs] core: Adding new MLA related functions
>
> [yzaslavs] core: Adding new methods at RoleDAO
>
> [yzaslavs] common: Introducing groupIds property to VdcUser
>
> [yzaslavs] core: Preventing adding unauthorized users
>
>
> Changes for Build #1208
> [oliel] restapi: RSDL - Fix meta-data of some collections
>
> [mkolesni] core: Handle correct NIC ID from OVF (#827061)
>
>
>
>
> -----------------
> Failed Tests:
> -----------------
> 1 tests failed.
> FAILED:
> org.ovirt.engine.core.dao.gluster.GlusterBrickDaoTest.testReplaceBrick
>
> Error Message:
> Required input parameter 'v_new_brick_dir' is missing
>
> Stack Trace:
> org.springframework.dao.InvalidDataAccessApiUsageException: Required
> input parameter 'v_new_brick_dir' is missing
> at
> org.springframework.jdbc.core.CallableStatementCreatorFactory$CallableStatementCreatorImpl.createCallableStatement(CallableStatementCreatorFactory.java:210)
> at
> org.springframework.jdbc.core.JdbcTemplate.execute(JdbcTemplate.java:930)
> at
> org.springframework.jdbc.core.JdbcTemplate.call(JdbcTemplate.java:985)
> at
> org.springframework.jdbc.core.simple.AbstractJdbcCall.executeCallInternal(AbstractJdbcCall.java:368)
> at
> org.springframework.jdbc.core.simple.AbstractJdbcCall.doExecute(AbstractJdbcCall.java:342)
> at
> org.springframework.jdbc.core.simple.SimpleJdbcCall.execute(SimpleJdbcCall.java:164)
> at
> org.ovirt.engine.core.dal.dbbroker.SimpleJdbcCallsHandler.executeImpl(SimpleJdbcCallsHandler.java:124)
> at
> org.ovirt.engine.core.dal.dbbroker.SimpleJdbcCallsHandler.executeModification(SimpleJdbcCallsHandler.java:37)
> at
> org.ovirt.engine.core.dao.gluster.GlusterBrickDaoDbFacadeImpl.replaceBrick(GlusterBrickDaoDbFacadeImpl.java:34)
> at
> org.ovirt.engine.core.dao.gluster.GlusterBrickDaoTest.testReplaceBrick(GlusterBrickDaoTest.java:74)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:616)
> at
> org.springframework.test.context.junit4.SpringTestMethod.invoke(SpringTestMethod.java:160)
> at
> org.springframework.test.context.junit4.SpringMethodRoadie.runTestMethod(SpringMethodRoadie.java:233)
> at
> org.springframework.test.context.junit4.SpringMethodRoadie$RunBeforesThenTestThenAfters.run(SpringMethodRoadie.java:333)
> at
> org.springframework.test.context.junit4.SpringMethodRoadie.runWithRepetitions(SpringMethodRoadie.java:217)
> at
> org.springframework.test.context.junit4.SpringMethodRoadie.runTest(SpringMethodRoadie.java:197)
> at
> org.springframework.test.context.junit4.SpringMethodRoadie.run(SpringMethodRoadie.java:143)
> at
> org.springframework.test.context.junit4.SpringJUnit4ClassRunner.invokeTestMethod(SpringJUnit4ClassRunner.java:160)
> at
> org.junit.internal.runners.JUnit4ClassRunner.runMethods(JUnit4ClassRunner.java:51)
> at
> org.junit.internal.runners.JUnit4ClassRunner$1.run(JUnit4ClassRunner.java:44)
> at
> org.junit.internal.runners.ClassRoadie.runUnprotected(ClassRoadie.java:27)
> at
> org.junit.internal.runners.ClassRoadie.runProtected(ClassRoadie.java:37)
> at
> org.junit.internal.runners.JUnit4ClassRunner.run(JUnit4ClassRunner.java:42)
> at
> org.springframework.test.context.junit4.SpringJUnit4ClassRunner.run(SpringJUnit4ClassRunner.java:97)
> at
> org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:53)
> at
> org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:123)
> at
> org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:104)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:616)
> at
> org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:164)
> at
> org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:110)
> at
> org.apache.maven.surefire.booter.SurefireStarter.invokeProvider(SurefireStarter.java:175)
> at
> org.apache.maven.surefire.booter.SurefireStarter.runSuitesInProcessWhenForked(SurefireStarter.java:107)
> at
> org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:68)
>
>
>
>
> ------------------
> Build Log:
> ------------------
> [...truncated 2719 lines...]
> [INFO] Encryption Libraries .............................. SUCCESS
> [2.368s]
> [INFO] oVirt Tools ....................................... SUCCESS
> [0.633s]
> [INFO] oVirt Tools Common Library ........................ SUCCESS
> [2.004s]
> [INFO] Common Code ....................................... SUCCESS
> [26.839s]
> [INFO] Common utilities .................................. SUCCESS
> [9.096s]
> [INFO] Data Access Layer ................................. SUCCESS
> [14.694s]
> [INFO] engine beans ...................................... SUCCESS
> [0.122s]
> [INFO] engine scheduler bean ............................. SUCCESS
> [8.457s]
> [INFO] Vds broker ........................................ SUCCESS
> [10.079s]
> [INFO] Search Backend .................................... SUCCESS
> [8.950s]
> [INFO] Backend Logic @Service bean ....................... SUCCESS
> [33.705s]
> [INFO] oVirt RESTful API Backend Integration ............. SUCCESS
> [0.621s]
> [INFO] oVirt RESTful API interface ....................... SUCCESS
> [0.298s]
> [INFO] oVirt Engine API Definition ....................... SUCCESS
> [9.564s]
> [INFO] oVirt Engine API Commom Parent POM ................ SUCCESS
> [0.125s]
> [INFO] oVirt Engine API Common JAX-RS .................... SUCCESS
> [4.601s]
> [INFO] oVirt RESTful API Backend Integration Type Mappers SUCCESS
> [5.894s]
> [INFO] oVirt RESTful API Backend Integration JAX-RS Resources
> SUCCESS [16.048s]
> [INFO] oVirt RESTful API Backend Integration Webapp ...... SUCCESS
> [8.738s]
> [INFO] oVirt Engine Web Root ............................. SUCCESS
> [4.252s]
> [INFO] oVirt Configuration Tool .......................... SUCCESS
> [2.756s]
> [INFO] Notifier Service package .......................... SUCCESS
> [0.128s]
> [INFO] Notifier Service .................................. SUCCESS
> [3.762s]
> [INFO] Notifier Service Resources ........................ SUCCESS
> [9.760s]
> [INFO] oVirt Modules - frontend .......................... SUCCESS
> [0.742s]
> [INFO] oVirt APIs ........................................ SUCCESS
> [1.084s]
> [INFO] oVirt generic API ................................. SUCCESS
> [14.910s]
> [INFO] oVirt Modules - webadmin .......................... SUCCESS
> [0.151s]
> [INFO] oVirt Modules - ui ................................ SUCCESS
> [0.155s]
> [INFO] Extensions for GWT ................................ SUCCESS
> [17.891s]
> [INFO] UI Utils Compatibility (for UICommon) ............. SUCCESS
> [2.642s]
> [INFO] Frontend for GWT UI Projects ...................... SUCCESS
> [6.577s]
> [INFO] UICommonWeb ....................................... SUCCESS
> [31.817s]
> [INFO] oVirt GWT UI common infrastructure ................ SUCCESS
> [28.872s]
> [INFO] WebAdmin .......................................... SUCCESS
> [39.948s]
> [INFO] UserPortal ........................................ SUCCESS
> [21.221s]
> [INFO] oVirt WARs ........................................ SUCCESS
> [0.116s]
> [INFO] WPF Application Module ............................ SUCCESS
> [8.917s]
> [INFO] oVirt Web Application Module ...................... SUCCESS
> [9.918s]
> [INFO] oVirt Server EAR .................................. SUCCESS
> [15.338s]
> [INFO]
> ------------------------------------------------------------------------
> [INFO] BUILD SUCCESS
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 6:46.263s
> [INFO] Finished at: Tue Jun 12 03:40:19 EDT 2012
> [INFO] Final Memory: 317M/765M
> [INFO]
> ------------------------------------------------------------------------
> [ovirt_engine_dao_unit_tests] $ /home/jenkins/tools/3.0.4/bin/mvn -f
> backend/manager/modules/dal/pom.xml
> -Dmaven.repo.local=/home/jenkins/workspace/ovirt_engine_dao_unit_tests/.repository
> test -Penable-dao-tests
> -Dengine.db.url.escaped=jdbc:postgresql://localhost/ovirt_engine_dao_unit_tests_1208
> [INFO] Scanning for projects...
> [WARNING]
> [WARNING] Some problems were encountered while building the effective
> model for org.ovirt.engine.core:dal:jar:3.1.0-0001
> [WARNING] 'build.plugins.plugin.version' for
> org.apache.maven.plugins:maven-resources-plugin is missing. @ line
> 125, column 15
> [WARNING] 'build.plugins.plugin.version' for
> org.apache.maven.plugins:maven-surefire-plugin is missing. @ line
> 181, column 15
> [WARNING] 'build.plugins.plugin.version' for
> org.codehaus.mojo:exec-maven-plugin is missing. @ line 145, column
> 15
> [WARNING]
> [WARNING] It is highly recommended to fix these problems because they
> threaten the stability of your build.
> [WARNING]
> [WARNING] For this reason, future Maven versions might no longer
> support building such malformed projects.
> [WARNING]
> [INFO]
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Building Data Access Layer 3.1.0-0001
> [INFO]
> ------------------------------------------------------------------------
> [INFO]
> [INFO] --- maven-resources-plugin:2.5:resources (default-resources) @
> dal ---
> [debug] execute contextualize
> [INFO] Using 'UTF-8' encoding to copy filtered resources.
> [INFO] Copying 210 resources
> [INFO] Copying 8 resources
> [INFO] Copying 9 resources
> [INFO] Copying 1 resource
> [INFO]
> [INFO] --- maven-resources-plugin:2.5:copy-resources (copy-resources)
> @ dal ---
> [debug] execute contextualize
> [INFO] Using 'UTF-8' encoding to copy filtered resources.
> [INFO] Copying 1 resource
> [INFO]
> [INFO] --- maven-compiler-plugin:2.3.2:compile (default-compile) @
> dal ---
> [INFO] Nothing to compile - all classes are up to date
> [INFO]
> [INFO] --- maven-checkstyle-plugin:2.6:check (default) @ dal ---
> [INFO] Starting audit...
> Audit done.
>
> [INFO]
> [INFO] --- maven-resources-plugin:2.5:testResources
> (default-testResources) @ dal ---
> [debug] execute contextualize
> [INFO] Using 'UTF-8' encoding to copy filtered resources.
> [INFO] Copying 9 resources
> [INFO]
> [INFO] --- maven-compiler-plugin:2.3.2:testCompile
> (default-testCompile) @ dal ---
> [INFO] Nothing to compile - all classes are up to date
> [INFO]
> [INFO] --- maven-surefire-plugin:2.10:test (default-test) @ dal ---
> [INFO] Surefire report directory:
> /home/jenkins/workspace/ovirt_engine_dao_unit_tests/backend/manager/modules/dal/target/surefire-reports
>
> -------------------------------------------------------
> T E S T S
> -------------------------------------------------------
> Running org.ovirt.engine.core.dao.StorageServerConnectionDAOTest
> log4j:WARN No appenders could be found for logger
> (org.springframework.test.context.junit4.SpringJUnit4ClassRunner).
> log4j:WARN Please initialize the log4j system properly.
> log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig
> for more info.
> SLF4J: The requested version 1.5.11 by your slf4j binding is not
> compatible with [1.5.5, 1.5.6]
> SLF4J: See http://www.slf4j.org/codes.html#version_mismatch for
> further details.
> Tests run: 12, Failures: 0, Errors: 0, Skipped: 0, Time elapsed:
> 5.806 sec
> Running org.ovirt.engine.core.dao.VmTemplateDAOTest
> Tests run: 20, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 4.24
> sec
> Running org.ovirt.engine.core.dao.StepDaoTest
> Tests run: 11, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.13
> sec
> Running org.ovirt.engine.core.dao.VmDynamicDAOTest
> Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.96
> sec
> Running org.ovirt.engine.core.dao.TagDAOTest
> Tests run: 37, Failures: 0, Errors: 0, Skipped: 0, Time elapsed:
> 3.984 sec
> Running org.ovirt.engine.core.dao.DbFacadeDAOTest
> Tests run: 26, Failures: 0, Errors: 0, Skipped: 0, Time elapsed:
> 5.933 sec
> Running org.ovirt.engine.core.dao.AsyncTaskDAOTest
> Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 5.401
> sec
> Running org.ovirt.engine.core.dao.DiskImageDAOTest
> Tests run: 11, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.06
> sec
> Running org.ovirt.engine.core.dao.RoleGroupMapDAOTest
> Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 4.394
> sec
> Running org.ovirt.engine.core.dao.NetworkClusterDAOTest
> Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed:
> 3.496 sec
> Running org.ovirt.engine.core.dao.StoragePoolDAOTest
> Tests run: 21, Failures: 0, Errors: 0, Skipped: 0, Time elapsed:
> 6.172 sec
> Running org.ovirt.engine.core.dao.gluster.GlusterBrickDaoTest
> Tests run: 5, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 2.81
> sec <<< FAILURE!
> Running org.ovirt.engine.core.dao.gluster.GlusterOptionDaoTest
> Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.91
> sec
> Running org.ovirt.engine.core.dao.gluster.GlusterVolumeDaoTest
> Tests run: 13, Failures: 0, Errors: 0, Skipped: 0, Time elapsed:
> 3.059 sec
> Running org.ovirt.engine.core.dao.VmStaticDAOTest
> Tests run: 14, Failures: 0, Errors: 0, Skipped: 0, Time elapsed:
> 3.329 sec
> Running org.ovirt.engine.core.dao.BookmarkDAOTest
> Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.208
> sec
> Running org.ovirt.engine.core.dao.JobDaoTest
> Tests run: 16, Failures: 0, Errors: 0, Skipped: 0, Time elapsed:
> 2.937 sec
> Running org.ovirt.engine.core.dao.ImageDaoTest
> Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.345
> sec
> Running org.ovirt.engine.core.dao.BaseDiskDaoTest
> Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.953
> sec
> Running org.ovirt.engine.core.dao.StorageDomainStaticDAOTest
> Tests run: 16, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.04
> sec
> Running org.ovirt.engine.core.dao.VmNetworkStatisticsDAOTest
> Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.315
> sec
> Running org.ovirt.engine.core.dao.InterfaceDAOTest
> Tests run: 11, Failures: 0, Errors: 0, Skipped: 0, Time elapsed:
> 4.734 sec
> Running org.ovirt.engine.core.dao.DiskDaoTest
> Tests run: 13, Failures: 0, Errors: 0, Skipped: 0, Time elapsed:
> 3.557 sec
> Running org.ovirt.engine.core.dao.VmStatisticsDAOTest
> Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.527
> sec
> Running org.ovirt.engine.core.dao.GeneralDbDAOTest
> Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 4.455
> sec
> Running org.ovirt.engine.core.dao.NetworkDAOTest
> Tests run: 13, Failures: 0, Errors: 0, Skipped: 0, Time elapsed:
> 3.583 sec
> Running org.ovirt.engine.core.dao.StorageDomainDynamicDAOTest
> Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.493
> sec
> Running org.ovirt.engine.core.dao.VmDAOTest
> Tests run: 20, Failures: 0, Errors: 0, Skipped: 0, Time elapsed:
> 4.502 sec
> Running org.ovirt.engine.core.dao.EventDAOTest
> Tests run: 12, Failures: 0, Errors: 0, Skipped: 0, Time elapsed:
> 3.485 sec
> Running org.ovirt.engine.core.dao.SnapshotDaoTest
> Tests run: 34, Failures: 0, Errors: 0, Skipped: 0, Time elapsed:
> 3.761 sec
> Running org.ovirt.engine.core.dao.PermissionDAOTest
> Tests run: 45, Failures: 0, Errors: 0, Skipped: 0, Time elapsed:
> 3.003 sec
> Running org.ovirt.engine.core.dao.VdsDynamicDAOTest
> Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.431
> sec
> Running org.ovirt.engine.core.dao.StorageDomainDAOTest
> Tests run: 31, Failures: 0, Errors: 0, Skipped: 0, Time elapsed:
> 11.28 sec
> Running org.ovirt.engine.core.dao.ImageStorageDomainMapDaoTest
> Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.796
> sec
> Running org.ovirt.engine.core.dao.DiskLunMapDaoTest
> Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.18
> sec
> Running org.ovirt.engine.core.dao.MultiThreadedDAOTest
> Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 4.503
> sec
> Running org.ovirt.engine.core.dao.ActionGroupDAOTest
> Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 4.238
> sec
> Running org.ovirt.engine.core.dao.VmNetworkInterfaceDAOTest
> Tests run: 16, Failures: 0, Errors: 0, Skipped: 0, Time elapsed:
> 2.875 sec
> Running org.ovirt.engine.core.dao.DiskImageDynamicDAOTest
> Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.645
> sec
> Running org.ovirt.engine.core.dao.VdsSpmIdMapDAOTest
> Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 4.719
> sec
> Running org.ovirt.engine.core.dao.VmDeviceDAOTest
> Tests run: 15, Failures: 0, Errors: 0, Skipped: 0, Time elapsed:
> 4.664 sec
> Running org.ovirt.engine.core.dao.AuditLogDAOTest
> Tests run: 22, Failures: 0, Errors: 0, Skipped: 2, Time elapsed: 4
> sec
> Running org.ovirt.engine.core.dao.BusinessEntitySnapshotDAOTest
> Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.824
> sec
> Running org.ovirt.engine.core.dao.VdsStatisticsDAOTest
> Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.13
> sec
> Running org.ovirt.engine.core.dao.VdsGroupDAOTest
> Tests run: 21, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.59
> sec
> Running org.ovirt.engine.core.dao.JobSubjectEntityDaoTest
> Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.141
> sec
> Running org.ovirt.engine.core.dao.LunDAOTest
> Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.45
> sec
> Running org.ovirt.engine.core.dao.VdsDAOTest
> Tests run: 29, Failures: 0, Errors: 0, Skipped: 0, Time elapsed:
> 4.168 sec
> Running org.ovirt.engine.core.dao.VdsStaticDAOTest
> Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 4.945
> sec
> Running org.ovirt.engine.core.dao.RepoFileMetaDataDAOTest
> Tests run: 11, Failures: 0, Errors: 0, Skipped: 0, Time elapsed:
> 5.622 sec
> Running org.ovirt.engine.core.dao.VmPoolDAOTest
> Tests run: 25, Failures: 0, Errors: 0, Skipped: 0, Time elapsed:
> 6.066 sec
> Running org.ovirt.engine.core.dao.RoleDAOTest
> Tests run: 14, Failures: 0, Errors: 0, Skipped: 0, Time elapsed:
> 3.704 sec
> Running
> org.ovirt.engine.core.dao.StorageServerConnectionLunMapDAOTest
> Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.002
> sec
> Running org.ovirt.engine.core.dao.VdcOptionDAOTest
> Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.233
> sec
> Running org.ovirt.engine.core.dao.DbUserDAOTest
> Tests run: 17, Failures: 0, Errors: 0, Skipped: 0, Time elapsed:
> 4.518 sec
> Running org.ovirt.engine.core.dao.StoragePoolIsoMapDAOTest
> Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.322
> sec
> Running org.ovirt.engine.core.dao.AdGroupDAOTest
> Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.376
> sec
> Running org.ovirt.engine.core.dao.QuotaDAOTest
> Tests run: 35, Failures: 0, Errors: 0, Skipped: 0, Time elapsed:
> 3.789 sec
>
> Results :
>
> Tests in error:
> testReplaceBrick(org.ovirt.engine.core.dao.gluster.GlusterBrickDaoTest):
> Required input parameter 'v_new_brick_dir' is missing
>
> Tests run: 755, Failures: 0, Errors: 1, Skipped: 2
>
> [INFO]
> ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 3:59.609s
> [INFO] Finished at: Tue Jun 12 03:44:25 EDT 2012
> [INFO] Final Memory: 10M/490M
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] Failed to execute goal
> org.apache.maven.plugins:maven-surefire-plugin:2.10:test
> (default-test) on project dal: There are test failures.
> [ERROR]
> [ERROR] Please refer to
> /home/jenkins/workspace/ovirt_engine_dao_unit_tests/backend/manager/modules/dal/target/surefire-reports
> for the individual test results.
> [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/MojoFailureException
> Build step 'Invoke top-level Maven targets' marked build as failure
> Recording test results
> Email was triggered for: Failure
> Sending email for trigger: Failure
>
>
12 years, 5 months
Re: [Engine-devel] Advanced Nfs Options + NFSv4 GUI mockup
by Ayal Baron
> -------- Original Message --------
> Subject: [Engine-devel] Advanced Nfs Options + NFSv4 GUI mockup
> Date: Mon, 21 May 2012 06:34:32 -0400 (EDT)
> From: Einav Cohen <ecohen(a)redhat.com>
> To: Ayal Baron <abaron(a)redhat.com>, Eldan Hildesheim
> <ehildesh(a)redhat.com>, Eldan Hildesheim <info(a)eldanet.com>,
> Miki Kenneth <mkenneth(a)redhat.com>, Andrew Cathrow
> <acathrow(a)redhat.com>, Simon Grinberg <sgrinber(a)redhat.com>,
> Alexey Chub <achub(a)redhat.com>
> CC: engine-devel(a)ovirt.org
>
> Please review the mock-up on the feature page:
> http://www.ovirt.org/wiki/Features/AdvancedNfsOptions#User_Experience
Sorry, I just saw this.
The advanced features should be in an advanced tab (not easily accessible) in general I'd like to discourage users from changing these params.
not sure what mount options is as it is not supported for NFS.
>
> Comments are welcome.
>
> ----
> Thanks,
> Einav
> _______________________________________________
> Engine-devel mailing list
> Engine-devel(a)ovirt.org
> http://lists.ovirt.org/mailman/listinfo/engine-devel
>
12 years, 5 months
[Engine-devel] RESTAPI: what is the purpose for /api/disks collection
by Michael Pasternak
IIUC originally this collection was suppose to keep all disks
that can be shared between different vms and/or available to be
attached to certain vm.
At the moment this collection contains all disks in system while
engine does not provide any search capabilities for it,
in my view it not really useful, till we add search capabilities
for being able:
1. locate <shareable>true</shareable> disks
2. distinguish between <shareable>true|false</shareable> and <active>true|false</active>
disks
3. maybe even worth taking <active>false</active>&&<shareable>false</shareable>
out of this collection and place them under api/clusters/xxx/disks (or under DC).
this way /api/disks will only have disks that can be shared.
your thoughts?
--
Michael Pasternak
RedHat, ENG-Virtualization R&D
12 years, 5 months
[Engine-devel] live migration and different technologies
by Itamar Heim
Hi Daniel,
on the quantum-ovirt call today the question of live migration between
multiple technologies was raised.
iirc, you implemented the abstraction in libvirt between what the guest
sees and the actual host networking implementation for live migration.
can you please share if there are any considerations around live
migrations across different network implementations (bridge, sr-iov,
ovs, qbg, openflow, etc.)
thanks,
Itamar
12 years, 5 months
[Engine-devel] Does RHEVM/Ovirt API violates the stateless requriement of REST?
by Jaroslav Henner
Hi.
I think the fact that when updating (PUT), we may send only the updated
xml elements violates following.
http://www.ics.uci.edu/~fielding/pubs/dissertation/rest_arch_style.htm
------8<------8<------8<------8<------
Figure 5-2: The client-server style
5.1.3 Stateless
We next add a constraint to the client-server interaction: communication
must be stateless in nature, as in the client-stateless-server (CSS)
style of Section 3.4.3 (Figure 5-3), such that each request from client
to server must contain all of the information necessary to understand
the request, and cannot take advantage of any stored context on the
server. Session state is therefore kept entirely on the client.
------8<------8<------8<------8<------
Am I right? If so, this is quite huge violation. Much much bigger than
some state of SESSION_ID/TOKEN. Would caches/proxies work well with
current design?
Jaroslav Henner.
12 years, 5 months