This is Fedora 19
On 11/20/2013 06:24 PM, Itamar Heim wrote:
On 11/21/2013 12:45 AM, Alon Bar-Lev wrote:
----- Original Message -----
From: "Bob Doolittle" <b...@doolittle.us.com>
To: engine-devel@ovirt.org
Sent: Thursday, November 21, 2013 12:35:57 AM
Subject: [Engine-devel] Problem building 3.3.1 branch
Hi,
I'm trying to build engine for the first time and running into a build
error. I'm a seasoned Unix developer, but new to some aspects of Linux
development like git and maven, so I could be doing something naive.
I'm following the instructions here:
http://www.ovirt.org/OVirt_Engine_Development_Environment
I did a clone of the engine repository, and did "git checkout -b
myengine origin/ovirt-engine-3.3.1" to create my own branch based on
3.3.1 (current - I realize it's not quite done).
Then, when I did "make install-dev PREFIX=$HOME/ovirt-engine" it failed
when building the "Engine Web Root", specifically in the
FileServletTest. Relevant build log is here:
http://pastebin.com/JRcyWvtr
Can anyone suggest what I've done wrong, or whether there's a problem
with the repository at the moment?
There may be indeed a problem, not happening at my setup, just tried.
Can you please please send the relevant file from[1]
I think it should be called something with FileServletTes.
[1]
/home/rad/workspace/ovirt-engine/backend/manager/modules/root/target/surefire-reports
also couldn't reproduced (tried just now).
anything special about the environment?
- cpu/ram configuration?
- not enough disk space? special file permissions?
- which OS is this on? which JRE?
Thanks,
Itamar
This is Fedora 19 (updated)
cpu i7-3520
mem 8GB
Disk has over 26GB free for both volumes (SSD)
I installed all the tools/prereqs as root.
Did git clone as myself (no special permission)
Running make as myself
JRE 1.7.0_45 OpenJDK
I have attached the requested file (not sure which you wanted, attached
both likely candidates).
I am running the make under my login shell, which is zsh. On occasion
this has caused issues. If no better suggestions I'll double-check
tomorrow by running under bash.
Thanks for your assistance,
Bob
-------------------------------------------------------------------------------
Test set: org.ovirt.engine.core.FileServletTest
-------------------------------------------------------------------------------
Tests run: 7, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.1 sec <<<
FAILURE!
testDoGet1(org.ovirt.engine.core.FileServletTest) Time elapsed: 0.075 sec <<<
FAILURE!
org.mockito.exceptions.verification.TooManyActualInvocations:
servletOutputStream.write(<any>, 0, <any>);
Wanted 1 time:
-> at org.ovirt.engine.core.FileServletTest.testDoGet1(FileServletTest.java:97)
But was 3 times. Undesired invocation:
-> at
org.ovirt.engine.core.utils.servlet.ServletUtils.writeFileToStream(ServletUtils.java:129)
at
org.ovirt.engine.core.FileServletTest.testDoGet1(FileServletTest.java:97)
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:606)
at
org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:45)
at
org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
at
org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:42)
at
org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)
at
org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)
at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:263)
at
org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:68)
at
org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:47)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:231)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:60)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:229)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:50)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:222)
at org.junit.runners.ParentRunner.run(ParentRunner.java:300)
at
org.mockito.internal.runners.JUnit45AndHigherRunnerImpl.run(JUnit45AndHigherRunnerImpl.java:37)
at
org.mockito.runners.MockitoJUnitRunner.run(MockitoJUnitRunner.java:62)
at
org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:35)
at
org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:115)
at
org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:97)
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:606)
at
org.apache.maven.surefire.booter.ProviderFactory$ClassLoaderProxy.invoke(ProviderFactory.java:103)
at com.sun.proxy.$Proxy0.invoke(Unknown Source)
at
org.apache.maven.surefire.booter.SurefireStarter.invokeProvider(SurefireStarter.java:150)
at
org.apache.maven.surefire.booter.SurefireStarter.runSuitesInProcess(SurefireStarter.java:91)
at
org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:69)
<?xml version="1.0" encoding="UTF-8" ?>
<testsuite failures="1" time="0.099" errors="0" skipped="0" tests="7" name="org.ovirt.engine.core.FileServletTest">
<properties>
<property name="java.runtime.name" value="OpenJDK Runtime Environment"/>
<property name="sun.boot.library.path" value="/usr/lib/jvm/java-1.7.0-openjdk-1.7.0.60-2.4.3.0.fc19.x86_64/jre/lib/amd64"/>
<property name="java.vm.version" value="24.45-b08"/>
<property name="gwt.userAgent" value="gecko1_8"/>
<property name="java.vm.vendor" value="Oracle Corporation"/>
<property name="java.vendor.url" value="http://java.oracle.com/"/>
<property name="path.separator" value=":"/>
<property name="java.vm.name" value="OpenJDK 64-Bit Server VM"/>
<property name="file.encoding.pkg" value="sun.io"/>
<property name="user.country" value="US"/>
<property name="sun.java.launcher" value="SUN_STANDARD"/>
<property name="sun.os.patch.level" value="unknown"/>
<property name="java.vm.specification.name" value="Java Virtual Machine Specification"/>
<property name="user.dir" value="/home/rad/workspace/ovirt-engine/backend/manager/modules/root"/>
<property name="java.runtime.version" value="1.7.0_45-mockbuild_2013_10_16_17_47-b00"/>
<property name="java.awt.graphicsenv" value="sun.awt.X11GraphicsEnvironment"/>
<property name="basedir" value="/home/rad/workspace/ovirt-engine/backend/manager/modules/root"/>
<property name="java.endorsed.dirs" value="/usr/lib/jvm/java-1.7.0-openjdk-1.7.0.60-2.4.3.0.fc19.x86_64/jre/lib/endorsed"/>
<property name="os.arch" value="amd64"/>
<property name="surefire.real.class.path" value="/home/rad/workspace/ovirt-engine/backend/manager/modules/root/target/surefire/surefirebooter5519060481547769638.jar"/>
<property name="java.io.tmpdir" value="/tmp"/>
<property name="line.separator" value="
"/>
<property name="java.vm.specification.vendor" value="Oracle Corporation"/>
<property name="os.name" value="Linux"/>
<property name="sun.jnu.encoding" value="UTF-8"/>
<property name="java.library.path" value="/usr/java/packages/lib/amd64:/usr/lib64:/lib64:/lib:/usr/lib"/>
<property name="surefire.test.class.path" value="/home/rad/workspace/ovirt-engine/backend/manager/modules/root/target/test-classes:/home/rad/workspace/ovirt-engine/backend/manager/modules/root/target/classes:/home/rad/.m2/repository/org/jboss/spec/javax/servlet/jboss-servlet-api_3.0_spec/1.0.1.Final/jboss-servlet-api_3.0_spec-1.0.1.Final.jar:/home/rad/.m2/repository/org/jboss/spec/javax/ejb/jboss-ejb-api_3.1_spec/1.0.1.Final/jboss-ejb-api_3.1_spec-1.0.1.Final.jar:/home/rad/.m2/repository/org/jboss/spec/javax/servlet/jstl/jboss-jstl-api_1.2_spec/1.0.3.Final/jboss-jstl-api_1.2_spec-1.0.3.Final.jar:/home/rad/.m2/repository/org/jboss/spec/javax/el/jboss-el-api_2.2_spec/1.0.1.Final/jboss-el-api_2.2_spec-1.0.1.Final.jar:/home/rad/.m2/repository/org/jboss/spec/javax/servlet/jsp/jboss-jsp-api_2.2_spec/1.0.1.Final/jboss-jsp-api_2.2_spec-1.0.1.Final.jar:/home/rad/.m2/repository/xalan/xalan/2.7.1.jbossorg-2/xalan-2.7.1.jbossorg-2.jar:/home/rad/.m2/repository/xalan/serializer/2.7.1.jbossorg-2/serializer-2.7.1.jbossorg-2.jar:/home/rad/.m2/repository/log4j/log4j/1.2.16/log4j-1.2.16.jar:/home/rad/.m2/repository/commons-codec/commons-codec/1.4/commons-codec-1.4.jar:/home/rad/workspace/ovirt-engine/backend/manager/modules/common/target/common-3.3.0-SNAPSHOT.jar:/home/rad/workspace/ovirt-engine/backend/manager/modules/compat/target/compat-3.3.0-SNAPSHOT.jar:/home/rad/.m2/repository/org/hibernate/hibernate-validator/4.0.2.GA/hibernate-validator-4.0.2.GA.jar:/home/rad/.m2/repository/javax/validation/validation-api/1.0.0.GA/validation-api-1.0.0.GA.jar:/home/rad/.m2/repository/org/slf4j/slf4j-api/1.5.6/slf4j-api-1.5.6.jar:/home/rad/.m2/repository/javax/xml/bind/jaxb-api/2.1/jaxb-api-2.1.jar:/home/rad/.m2/repository/javax/xml/stream/stax-api/1.0-2/stax-api-1.0-2.jar:/home/rad/.m2/repository/javax/activation/activation/1.1/activation-1.1.jar:/home/rad/.m2/repository/com/sun/xml/bind/jaxb-impl/2.1.3/jaxb-impl-2.1.3.jar:/home/rad/.m2/repository/org/codehaus/jackson/jackson-mapper-asl/1.9.4/jackson-mapper-asl-1.9.4.jar:/home/rad/workspace/ovirt-engine/backend/manager/modules/utils/target/utils-3.3.0-SNAPSHOT.jar:/home/rad/.m2/repository/commons-beanutils/commons-beanutils/1.8.2/commons-beanutils-1.8.2.jar:/home/rad/.m2/repository/commons-collections/commons-collections/3.1/commons-collections-3.1.jar:/home/rad/.m2/repository/org/apache/mina/mina-core/2.0.1/mina-core-2.0.1.jar:/home/rad/.m2/repository/org/apache/sshd/sshd-core/0.7.0/sshd-core-0.7.0.jar:/home/rad/.m2/repository/org/ovirt/otopi/otopi/1.1.0/otopi-1.1.0.jar:/home/rad/.m2/repository/org/ovirt/ovirt-host-deploy/ovirt-host-deploy/1.1.0/ovirt-host-deploy-1.1.0.jar:/home/rad/.m2/repository/org/apache/commons/commons-compress/1.4.1/commons-compress-1.4.1.jar:/home/rad/.m2/repository/org/tukaani/xz/1.0/xz-1.0.jar:/home/rad/.m2/repository/org/apache/xmlrpc/xmlrpc-client/3.1.3/xmlrpc-client-3.1.3.jar:/home/rad/.m2/repository/org/apache/xmlrpc/xmlrpc-common/3.1.3/xmlrpc-common-3.1.3.jar:/home/rad/.m2/repository/org/apache/ws/commons/util/ws-commons-util/1.0.2/ws-commons-util-1.0.2.jar:/home/rad/.m2/repository/xml-apis/xml-apis/1.0.b2/xml-apis-1.0.b2.jar:/home/rad/.m2/repository/commons-httpclient/commons-httpclient/3.1/commons-httpclient-3.1.jar:/home/rad/.m2/repository/org/codehaus/jackson/jackson-core-asl/1.9.4/jackson-core-asl-1.9.4.jar:/home/rad/.m2/repository/org/springframework/spring-core/3.1.1.RELEASE/spring-core-3.1.1.RELEASE.jar:/home/rad/.m2/repository/org/springframework/spring-asm/3.1.1.RELEASE/spring-asm-3.1.1.RELEASE.jar:/home/rad/.m2/repository/org/infinispan/infinispan-core/5.2.5.Final/infinispan-core-5.2.5.Final.jar:/home/rad/.m2/repository/org/jgroups/jgroups/3.2.7.Final/jgroups-3.2.7.Final.jar:/home/rad/.m2/repository/org/jboss/spec/javax/transaction/jboss-transaction-api_1.1_spec/1.0.0.Final/jboss-transaction-api_1.1_spec-1.0.0.Final.jar:/home/rad/.m2/repository/org/jboss/marshalling/jboss-marshalling-river/1.3.15.GA/jboss-marshalling-river-1.3.15.GA.jar:/home/rad/.m2/repository/org/jboss/marshalling/jboss-marshalling/1.3.15.GA/jboss-marshalling-1.3.15.GA.jar:/home/rad/.m2/repository/org/jboss/logging/jboss-logging/3.1.1.GA/jboss-logging-3.1.1.GA.jar:/home/rad/.m2/repository/org/jboss/staxmapper/1.1.0.Final/staxmapper-1.1.0.Final.jar:/home/rad/.m2/repository/com/woorea/keystone-client/3.0.0/keystone-client-3.0.0.jar:/home/rad/.m2/repository/com/woorea/openstack-client/3.0.0/openstack-client-3.0.0.jar:/home/rad/.m2/repository/com/woorea/keystone-model/3.0.0/keystone-model-3.0.0.jar:/home/rad/.m2/repository/com/woorea/glance-client/3.0.0/glance-client-3.0.0.jar:/home/rad/.m2/repository/com/woorea/glance-model/3.0.0/glance-model-3.0.0.jar:/home/rad/workspace/ovirt-engine/backend/manager/modules/bll/target/bll-3.3.0-SNAPSHOT.jar:/home/rad/workspace/ovirt-engine/backend/manager/modules/dal/target/dal-3.3.0-SNAPSHOT.jar:/home/rad/.m2/repository/org/springframework/spring-jdbc/3.1.1.RELEASE/spring-jdbc-3.1.1.RELEASE.jar:/home/rad/.m2/repository/org/springframework/spring-beans/3.1.1.RELEASE/spring-beans-3.1.1.RELEASE.jar:/home/rad/.m2/repository/org/springframework/spring-tx/3.1.1.RELEASE/spring-tx-3.1.1.RELEASE.jar:/home/rad/.m2/repository/aopalliance/aopalliance/1.0/aopalliance-1.0.jar:/home/rad/.m2/repository/org/springframework/spring-aop/3.1.1.RELEASE/spring-aop-3.1.1.RELEASE.jar:/home/rad/.m2/repository/org/springframework/spring-context/3.1.1.RELEASE/spring-context-3.1.1.RELEASE.jar:/home/rad/.m2/repository/org/springframework/spring-expression/3.1.1.RELEASE/spring-expression-3.1.1.RELEASE.jar:/home/rad/.m2/repository/org/springframework/ldap/spring-ldap-core/1.3.1.RELEASE/spring-ldap-core-1.3.1.RELEASE.jar:/home/rad/workspace/ovirt-engine/backend/manager/modules/searchbackend/target/searchbackend-3.3.0-SNAPSHOT.jar:/home/rad/workspace/ovirt-engine/backend/manager/modules/vdsbroker/target/vdsbroker-3.3.0-SNAPSHOT.jar:/home/rad/.m2/repository/org/yaml/snakeyaml/1.8/snakeyaml-1.8.jar:/home/rad/.m2/repository/com/woorea/quantum-client/3.0.0/quantum-client-3.0.0.jar:/home/rad/.m2/repository/com/woorea/quantum-model/3.0.0/quantum-model-3.0.0.jar:/home/rad/.m2/repository/com/woorea/resteasy-connector/3.0.0/resteasy-connector-3.0.0.jar:/home/rad/.m2/repository/org/jboss/resteasy/resteasy-jaxrs/2.3.2.Final/resteasy-jaxrs-2.3.2.Final.jar:/home/rad/.m2/repository/org/jboss/resteasy/jaxrs-api/2.3.2.Final/jaxrs-api-2.3.2.Final.jar:/home/rad/.m2/repository/org/scannotation/scannotation/1.0.3/scannotation-1.0.3.jar:/home/rad/.m2/repository/javassist/javassist/3.12.0.GA/javassist-3.12.0.GA.jar:/home/rad/.m2/repository/javax/annotation/jsr250-api/1.0/jsr250-api-1.0.jar:/home/rad/.m2/repository/org/apache/httpcomponents/httpclient/4.1.2/httpclient-4.1.2.jar:/home/rad/.m2/repository/org/apache/httpcomponents/httpcore/4.1.2/httpcore-4.1.2.jar:/home/rad/.m2/repository/net/jcip/jcip-annotations/1.0/jcip-annotations-1.0.jar:/home/rad/.m2/repository/org/codehaus/jackson/jackson-jaxrs/1.9.4/jackson-jaxrs-1.9.4.jar:/home/rad/.m2/repository/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:/home/rad/.m2/repository/commons-lang/commons-lang/2.6/commons-lang-2.6.jar:/home/rad/.m2/repository/p6spy/p6spy/1.3/p6spy-1.3.jar:/home/rad/.m2/repository/junit/junit/4.10/junit-4.10.jar:/home/rad/.m2/repository/org/hamcrest/hamcrest-core/1.1/hamcrest-core-1.1.jar:/home/rad/.m2/repository/org/mockito/mockito-all/1.9.0/mockito-all-1.9.0.jar:/home/rad/.m2/repository/commons-logging/commons-logging/1.1/commons-logging-1.1.jar:/home/rad/.m2/repository/logkit/logkit/1.0.1/logkit-1.0.1.jar:/home/rad/.m2/repository/avalon-framework/avalon-framework/4.1.3/avalon-framework-4.1.3.jar:/home/rad/.m2/repository/javax/servlet/servlet-api/2.3/servlet-api-2.3.jar:"/>
<property name="java.specification.name" value="Java Platform API Specification"/>
<property name="java.class.version" value="51.0"/>
<property name="sun.management.compiler" value="HotSpot 64-Bit Tiered Compilers"/>
<property name="os.version" value="3.11.8-200.fc19.x86_64"/>
<property name="user.home" value="/home/rad"/>
<property name="user.timezone" value=""/>
<property name="java.awt.printerjob" value="sun.print.PSPrinterJob"/>
<property name="java.specification.version" value="1.7"/>
<property name="file.encoding" value="UTF-8"/>
<property name="user.name" value="rad"/>
<property name="java.class.path" value="/home/rad/workspace/ovirt-engine/backend/manager/modules/root/target/test-classes:/home/rad/workspace/ovirt-engine/backend/manager/modules/root/target/classes:/home/rad/.m2/repository/org/jboss/spec/javax/servlet/jboss-servlet-api_3.0_spec/1.0.1.Final/jboss-servlet-api_3.0_spec-1.0.1.Final.jar:/home/rad/.m2/repository/org/jboss/spec/javax/ejb/jboss-ejb-api_3.1_spec/1.0.1.Final/jboss-ejb-api_3.1_spec-1.0.1.Final.jar:/home/rad/.m2/repository/org/jboss/spec/javax/servlet/jstl/jboss-jstl-api_1.2_spec/1.0.3.Final/jboss-jstl-api_1.2_spec-1.0.3.Final.jar:/home/rad/.m2/repository/org/jboss/spec/javax/el/jboss-el-api_2.2_spec/1.0.1.Final/jboss-el-api_2.2_spec-1.0.1.Final.jar:/home/rad/.m2/repository/org/jboss/spec/javax/servlet/jsp/jboss-jsp-api_2.2_spec/1.0.1.Final/jboss-jsp-api_2.2_spec-1.0.1.Final.jar:/home/rad/.m2/repository/xalan/xalan/2.7.1.jbossorg-2/xalan-2.7.1.jbossorg-2.jar:/home/rad/.m2/repository/xalan/serializer/2.7.1.jbossorg-2/serializer-2.7.1.jbossorg-2.jar:/home/rad/.m2/repository/log4j/log4j/1.2.16/log4j-1.2.16.jar:/home/rad/.m2/repository/commons-codec/commons-codec/1.4/commons-codec-1.4.jar:/home/rad/workspace/ovirt-engine/backend/manager/modules/common/target/common-3.3.0-SNAPSHOT.jar:/home/rad/workspace/ovirt-engine/backend/manager/modules/compat/target/compat-3.3.0-SNAPSHOT.jar:/home/rad/.m2/repository/org/hibernate/hibernate-validator/4.0.2.GA/hibernate-validator-4.0.2.GA.jar:/home/rad/.m2/repository/javax/validation/validation-api/1.0.0.GA/validation-api-1.0.0.GA.jar:/home/rad/.m2/repository/org/slf4j/slf4j-api/1.5.6/slf4j-api-1.5.6.jar:/home/rad/.m2/repository/javax/xml/bind/jaxb-api/2.1/jaxb-api-2.1.jar:/home/rad/.m2/repository/javax/xml/stream/stax-api/1.0-2/stax-api-1.0-2.jar:/home/rad/.m2/repository/javax/activation/activation/1.1/activation-1.1.jar:/home/rad/.m2/repository/com/sun/xml/bind/jaxb-impl/2.1.3/jaxb-impl-2.1.3.jar:/home/rad/.m2/repository/org/codehaus/jackson/jackson-mapper-asl/1.9.4/jackson-mapper-asl-1.9.4.jar:/home/rad/workspace/ovirt-engine/backend/manager/modules/utils/target/utils-3.3.0-SNAPSHOT.jar:/home/rad/.m2/repository/commons-beanutils/commons-beanutils/1.8.2/commons-beanutils-1.8.2.jar:/home/rad/.m2/repository/commons-collections/commons-collections/3.1/commons-collections-3.1.jar:/home/rad/.m2/repository/org/apache/mina/mina-core/2.0.1/mina-core-2.0.1.jar:/home/rad/.m2/repository/org/apache/sshd/sshd-core/0.7.0/sshd-core-0.7.0.jar:/home/rad/.m2/repository/org/ovirt/otopi/otopi/1.1.0/otopi-1.1.0.jar:/home/rad/.m2/repository/org/ovirt/ovirt-host-deploy/ovirt-host-deploy/1.1.0/ovirt-host-deploy-1.1.0.jar:/home/rad/.m2/repository/org/apache/commons/commons-compress/1.4.1/commons-compress-1.4.1.jar:/home/rad/.m2/repository/org/tukaani/xz/1.0/xz-1.0.jar:/home/rad/.m2/repository/org/apache/xmlrpc/xmlrpc-client/3.1.3/xmlrpc-client-3.1.3.jar:/home/rad/.m2/repository/org/apache/xmlrpc/xmlrpc-common/3.1.3/xmlrpc-common-3.1.3.jar:/home/rad/.m2/repository/org/apache/ws/commons/util/ws-commons-util/1.0.2/ws-commons-util-1.0.2.jar:/home/rad/.m2/repository/xml-apis/xml-apis/1.0.b2/xml-apis-1.0.b2.jar:/home/rad/.m2/repository/commons-httpclient/commons-httpclient/3.1/commons-httpclient-3.1.jar:/home/rad/.m2/repository/org/codehaus/jackson/jackson-core-asl/1.9.4/jackson-core-asl-1.9.4.jar:/home/rad/.m2/repository/org/springframework/spring-core/3.1.1.RELEASE/spring-core-3.1.1.RELEASE.jar:/home/rad/.m2/repository/org/springframework/spring-asm/3.1.1.RELEASE/spring-asm-3.1.1.RELEASE.jar:/home/rad/.m2/repository/org/infinispan/infinispan-core/5.2.5.Final/infinispan-core-5.2.5.Final.jar:/home/rad/.m2/repository/org/jgroups/jgroups/3.2.7.Final/jgroups-3.2.7.Final.jar:/home/rad/.m2/repository/org/jboss/spec/javax/transaction/jboss-transaction-api_1.1_spec/1.0.0.Final/jboss-transaction-api_1.1_spec-1.0.0.Final.jar:/home/rad/.m2/repository/org/jboss/marshalling/jboss-marshalling-river/1.3.15.GA/jboss-marshalling-river-1.3.15.GA.jar:/home/rad/.m2/repository/org/jboss/marshalling/jboss-marshalling/1.3.15.GA/jboss-marshalling-1.3.15.GA.jar:/home/rad/.m2/repository/org/jboss/logging/jboss-logging/3.1.1.GA/jboss-logging-3.1.1.GA.jar:/home/rad/.m2/repository/org/jboss/staxmapper/1.1.0.Final/staxmapper-1.1.0.Final.jar:/home/rad/.m2/repository/com/woorea/keystone-client/3.0.0/keystone-client-3.0.0.jar:/home/rad/.m2/repository/com/woorea/openstack-client/3.0.0/openstack-client-3.0.0.jar:/home/rad/.m2/repository/com/woorea/keystone-model/3.0.0/keystone-model-3.0.0.jar:/home/rad/.m2/repository/com/woorea/glance-client/3.0.0/glance-client-3.0.0.jar:/home/rad/.m2/repository/com/woorea/glance-model/3.0.0/glance-model-3.0.0.jar:/home/rad/workspace/ovirt-engine/backend/manager/modules/bll/target/bll-3.3.0-SNAPSHOT.jar:/home/rad/workspace/ovirt-engine/backend/manager/modules/dal/target/dal-3.3.0-SNAPSHOT.jar:/home/rad/.m2/repository/org/springframework/spring-jdbc/3.1.1.RELEASE/spring-jdbc-3.1.1.RELEASE.jar:/home/rad/.m2/repository/org/springframework/spring-beans/3.1.1.RELEASE/spring-beans-3.1.1.RELEASE.jar:/home/rad/.m2/repository/org/springframework/spring-tx/3.1.1.RELEASE/spring-tx-3.1.1.RELEASE.jar:/home/rad/.m2/repository/aopalliance/aopalliance/1.0/aopalliance-1.0.jar:/home/rad/.m2/repository/org/springframework/spring-aop/3.1.1.RELEASE/spring-aop-3.1.1.RELEASE.jar:/home/rad/.m2/repository/org/springframework/spring-context/3.1.1.RELEASE/spring-context-3.1.1.RELEASE.jar:/home/rad/.m2/repository/org/springframework/spring-expression/3.1.1.RELEASE/spring-expression-3.1.1.RELEASE.jar:/home/rad/.m2/repository/org/springframework/ldap/spring-ldap-core/1.3.1.RELEASE/spring-ldap-core-1.3.1.RELEASE.jar:/home/rad/workspace/ovirt-engine/backend/manager/modules/searchbackend/target/searchbackend-3.3.0-SNAPSHOT.jar:/home/rad/workspace/ovirt-engine/backend/manager/modules/vdsbroker/target/vdsbroker-3.3.0-SNAPSHOT.jar:/home/rad/.m2/repository/org/yaml/snakeyaml/1.8/snakeyaml-1.8.jar:/home/rad/.m2/repository/com/woorea/quantum-client/3.0.0/quantum-client-3.0.0.jar:/home/rad/.m2/repository/com/woorea/quantum-model/3.0.0/quantum-model-3.0.0.jar:/home/rad/.m2/repository/com/woorea/resteasy-connector/3.0.0/resteasy-connector-3.0.0.jar:/home/rad/.m2/repository/org/jboss/resteasy/resteasy-jaxrs/2.3.2.Final/resteasy-jaxrs-2.3.2.Final.jar:/home/rad/.m2/repository/org/jboss/resteasy/jaxrs-api/2.3.2.Final/jaxrs-api-2.3.2.Final.jar:/home/rad/.m2/repository/org/scannotation/scannotation/1.0.3/scannotation-1.0.3.jar:/home/rad/.m2/repository/javassist/javassist/3.12.0.GA/javassist-3.12.0.GA.jar:/home/rad/.m2/repository/javax/annotation/jsr250-api/1.0/jsr250-api-1.0.jar:/home/rad/.m2/repository/org/apache/httpcomponents/httpclient/4.1.2/httpclient-4.1.2.jar:/home/rad/.m2/repository/org/apache/httpcomponents/httpcore/4.1.2/httpcore-4.1.2.jar:/home/rad/.m2/repository/net/jcip/jcip-annotations/1.0/jcip-annotations-1.0.jar:/home/rad/.m2/repository/org/codehaus/jackson/jackson-jaxrs/1.9.4/jackson-jaxrs-1.9.4.jar:/home/rad/.m2/repository/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:/home/rad/.m2/repository/commons-lang/commons-lang/2.6/commons-lang-2.6.jar:/home/rad/.m2/repository/p6spy/p6spy/1.3/p6spy-1.3.jar:/home/rad/.m2/repository/junit/junit/4.10/junit-4.10.jar:/home/rad/.m2/repository/org/hamcrest/hamcrest-core/1.1/hamcrest-core-1.1.jar:/home/rad/.m2/repository/org/mockito/mockito-all/1.9.0/mockito-all-1.9.0.jar:/home/rad/.m2/repository/commons-logging/commons-logging/1.1/commons-logging-1.1.jar:/home/rad/.m2/repository/logkit/logkit/1.0.1/logkit-1.0.1.jar:/home/rad/.m2/repository/avalon-framework/avalon-framework/4.1.3/avalon-framework-4.1.3.jar:/home/rad/.m2/repository/javax/servlet/servlet-api/2.3/servlet-api-2.3.jar:"/>
<property name="java.vm.specification.version" value="1.7"/>
<property name="sun.arch.data.model" value="64"/>
<property name="java.home" value="/usr/lib/jvm/java-1.7.0-openjdk-1.7.0.60-2.4.3.0.fc19.x86_64/jre"/>
<property name="sun.java.command" value="/home/rad/workspace/ovirt-engine/backend/manager/modules/root/target/surefire/surefirebooter5519060481547769638.jar /home/rad/workspace/ovirt-engine/backend/manager/modules/root/target/surefire/surefire7470688427473999890tmp /home/rad/workspace/ovirt-engine/backend/manager/modules/root/target/surefire/surefire8548860640553335314tmp"/>
<property name="java.specification.vendor" value="Oracle Corporation"/>
<property name="user.language" value="en"/>
<property name="awt.toolkit" value="sun.awt.X11.XToolkit"/>
<property name="java.vm.info" value="mixed mode"/>
<property name="java.version" value="1.7.0_45"/>
<property name="java.ext.dirs" value="/usr/lib/jvm/java-1.7.0-openjdk-1.7.0.60-2.4.3.0.fc19.x86_64/jre/lib/ext:/usr/java/packages/lib/ext"/>
<property name="sun.boot.class.path" value="/usr/lib/jvm/java-1.7.0-openjdk-1.7.0.60-2.4.3.0.fc19.x86_64/jre/lib/resources.jar:/usr/lib/jvm/java-1.7.0-openjdk-1.7.0.60-2.4.3.0.fc19.x86_64/jre/lib/rt.jar:/usr/lib/jvm/java-1.7.0-openjdk-1.7.0.60-2.4.3.0.fc19.x86_64/jre/lib/sunrsasign.jar:/usr/lib/jvm/java-1.7.0-openjdk-1.7.0.60-2.4.3.0.fc19.x86_64/jre/lib/jsse.jar:/usr/lib/jvm/java-1.7.0-openjdk-1.7.0.60-2.4.3.0.fc19.x86_64/jre/lib/jce.jar:/usr/lib/jvm/java-1.7.0-openjdk-1.7.0.60-2.4.3.0.fc19.x86_64/jre/lib/charsets.jar:/usr/lib/jvm/java-1.7.0-openjdk-1.7.0.60-2.4.3.0.fc19.x86_64/jre/lib/netx.jar:/usr/lib/jvm/java-1.7.0-openjdk-1.7.0.60-2.4.3.0.fc19.x86_64/jre/lib/plugin.jar:/usr/lib/jvm/java-1.7.0-openjdk-1.7.0.60-2.4.3.0.fc19.x86_64/jre/lib/rhino.jar:/usr/lib/jvm/java-1.7.0-openjdk-1.7.0.60-2.4.3.0.fc19.x86_64/jre/lib/jfr.jar:/usr/lib/jvm/java-1.7.0-openjdk-1.7.0.60-2.4.3.0.fc19.x86_64/jre/classes"/>
<property name="java.vendor" value="Oracle Corporation"/>
<property name="localRepository" value="/home/rad/.m2/repository"/>
<property name="file.separator" value="/"/>
<property name="java.vendor.url.bug" value="http://bugreport.sun.com/bugreport/"/>
<property name="sun.cpu.endian" value="little"/>
<property name="sun.io.unicode.encoding" value="UnicodeLittle"/>
<property name="sun.cpu.isalist" value=""/>
</properties>
<testcase time="0.075" classname="org.ovirt.engine.core.FileServletTest" name="testDoGet1">
<failure message="
servletOutputStream.write(<any>, 0, <any>);
Wanted 1 time:
-> at org.ovirt.engine.core.FileServletTest.testDoGet1(FileServletTest.java:97)
But was 3 times. Undesired invocation:
-> at org.ovirt.engine.core.utils.servlet.ServletUtils.writeFileToStream(ServletUtils.java:129)
" type="org.mockito.exceptions.verification.TooManyActualInvocations">org.mockito.exceptions.verification.TooManyActualInvocations:
servletOutputStream.write(<any>, 0, <any>);
Wanted 1 time:
-> at org.ovirt.engine.core.FileServletTest.testDoGet1(FileServletTest.java:97)
But was 3 times. Undesired invocation:
-> at org.ovirt.engine.core.utils.servlet.ServletUtils.writeFileToStream(ServletUtils.java:129)
at org.ovirt.engine.core.FileServletTest.testDoGet1(FileServletTest.java:97)
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:606)
at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:45)
at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:42)
at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)
at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)
at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:263)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:68)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:47)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:231)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:60)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:229)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:50)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:222)
at org.junit.runners.ParentRunner.run(ParentRunner.java:300)
at org.mockito.internal.runners.JUnit45AndHigherRunnerImpl.run(JUnit45AndHigherRunnerImpl.java:37)
at org.mockito.runners.MockitoJUnitRunner.run(MockitoJUnitRunner.java:62)
at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:35)
at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:115)
at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:97)
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:606)
at org.apache.maven.surefire.booter.ProviderFactory$ClassLoaderProxy.invoke(ProviderFactory.java:103)
at com.sun.proxy.$Proxy0.invoke(Unknown Source)
at org.apache.maven.surefire.booter.SurefireStarter.invokeProvider(SurefireStarter.java:150)
at org.apache.maven.surefire.booter.SurefireStarter.runSuitesInProcess(SurefireStarter.java:91)
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:69)
</failure>
<system-out>@SLTests run: 1, Failures: 0, Errors: 0, Skipped: 1, Time elapsed: 0.002 sec
@SLRunning org.ovirt.engine.core.FileServletTest
</system-out>
<system-err>log4j:WARN No appenders could be found for logger (org.ovirt.engine.core.utils.LocalConfig).
log4j:WARN Please initialize the log4j system properly.
log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info.
</system-err>
</testcase>
<testcase time="0.001" classname="org.ovirt.engine.core.FileServletTest" name="testInitServletConfig_NoInitParams"/>
<testcase time="0.001" classname="org.ovirt.engine.core.FileServletTest" name="testInitServletConfig_BaseSet"/>
<testcase time="0" classname="org.ovirt.engine.core.FileServletTest" name="testDoGet_Empty"/>
<testcase time="0" classname="org.ovirt.engine.core.FileServletTest" name="testCheckForIndex_BadParams"/>
<testcase time="0.001" classname="org.ovirt.engine.core.FileServletTest" name="testCheckForIndex_Exists"/>
<testcase time="0" classname="org.ovirt.engine.core.FileServletTest" name="testCheckForIndex_Exists2"/>
</testsuite>
_______________________________________________
Engine-devel mailing list
Engine-devel@ovirt.org
http://lists.ovirt.org/mailman/listinfo/engine-devel