[Engine-devel] Problem building 3.3.1 branch

Bob Doolittle bob at doolittle.us.com
Thu Nov 21 00:01:46 UTC 2013


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" <bob at doolittle.us.com>
>>> To: engine-devel at 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

-------------- next part --------------
-------------------------------------------------------------------------------
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)

-------------- next part --------------
A non-text attachment was scrubbed...
Name: TEST-org.ovirt.engine.core.FileServletTest.xml
Type: text/xml
Size: 25291 bytes
Desc: not available
URL: <http://lists.ovirt.org/pipermail/devel/attachments/20131120/03104e9f/attachment-0001.xml>


More information about the Devel mailing list