<div dir="ltr"><div><div>Hi Einav<br><br></div>Trying again now.<br><br>Many thanks for the fast response.<br></div><div><br></div><div>CC</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Fri, Aug 8, 2014 at 7:51 AM, Einav Cohen <span dir="ltr"><<a href="mailto:ecohen@redhat.com" target="_blank">ecohen@redhat.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="HOEnZb"><div class="h5">> ----- Original Message -----<br>
> From: "Colin Coe" <<a href="mailto:colin.coe@gmail.com">colin.coe@gmail.com</a>><br>
> Sent: Thursday, August 7, 2014 7:35:04 PM<br>
><br>
> Hi all<br>
><br>
> I'm attempting to build oVirt Engine from git. I've been following<br>
> <a href="http://www.ovirt.org/OVirt_Engine_Development_Environment" target="_blank">http://www.ovirt.org/OVirt_Engine_Development_Environment</a><br>
><br>
> The errors I'm seeing are:<br>
> ---<br>
> Results :<br>
><br>
> Tests in error:<br>
> initializationError(org.ovirt.engine.api.restapi.resource.BackendResourceInfoDetailTest):<br>
> Bad <init> method call from inside of a branch<br>
> Exception Details:<br>
> Location:<br>
> org/ovirt/engine/api/restapi/resource/AbstractBackendResourceLoggingTest.<init>(Lorg/powermock/core/IndicateReloadClass;)V<br>
> @40: invokespecial<br>
> Reason:<br>
> Error exists in the bytecode<br>
> Bytecode:<br>
> 0000000: 2a2b 4e4d 1210 b800 1604 bd00 0d59 032d<br>
> 0000010: 5312 a6b8 001b b800 213a 0519 05b2 0025<br>
> 0000020: a500 0e2a 01c0 0027 b700 2aa7 000a 2c2d<br>
> 0000030: b700 2a01 57b1<br>
> Stackmap Table:<br>
> full_frame(@46,{UninitializedThis,Object[#39],UninitializedThis,Object[#39],Top,Object[#13]},{})<br>
> full_frame(@53,{Object[#2],Object[#39],Object[#2],Object[#39],Top,Object[#13]},{})<br>
><br>
> initializationError(org.ovirt.engine.api.restapi.resource.BackendResourceDebugDetailTest):<br>
> Bad <init> method call from inside of a branch<br>
> Exception Details:<br>
> Location:<br>
> org/ovirt/engine/api/restapi/resource/AbstractBackendResourceLoggingTest.<init>(Lorg/powermock/core/IndicateReloadClass;)V<br>
> @40: invokespecial<br>
> Reason:<br>
> Error exists in the bytecode<br>
> Bytecode:<br>
> 0000000: 2a2b 4e4d 1210 b800 1604 bd00 0d59 032d<br>
> 0000010: 5312 a6b8 001b b800 213a 0519 05b2 0025<br>
> 0000020: a500 0e2a 01c0 0027 b700 2aa7 000a 2c2d<br>
> 0000030: b700 2a01 57b1<br>
> Stackmap Table:<br>
> full_frame(@46,{UninitializedThis,Object[#39],UninitializedThis,Object[#39],Top,Object[#13]},{})<br>
> full_frame(@53,{Object[#2],Object[#39],Object[#2],Object[#39],Top,Object[#13]},{})<br>
><br>
><br>
> Tests run: 1427, Failures: 0, Errors: 2, Skipped: 71<br>
><br>
> [INFO]<br>
> ------------------------------------------------------------------------<br>
> [INFO] Reactor Summary:<br>
> [INFO]<br>
> [INFO] ovirt-root ........................................ SUCCESS [0.759s]<br>
> [INFO] oVirt Build Tools root ............................ SUCCESS [0.026s]<br>
> [INFO] oVirt checkstyle .................................. SUCCESS [2.449s]<br>
> [INFO] oVirt JBoss Modules Maven Plugin .................. SUCCESS [7.475s]<br>
> [INFO] oVirt Checkstyle Checks ........................... SUCCESS [0.442s]<br>
> [INFO] Extensions API root ............................... SUCCESS [0.469s]<br>
> [INFO] ovirt-engine-extensions-api ....................... SUCCESS [9.139s]<br>
> [INFO] oVirt Modules - backend ........................... SUCCESS [0.009s]<br>
> [INFO] oVirt Manager ..................................... SUCCESS [0.027s]<br>
> [INFO] oVirt Engine dependencies ......................... SUCCESS [5.124s]<br>
> [INFO] oVirt Modules - manager ........................... SUCCESS [1.820s]<br>
> [INFO] Universal utilities ............................... SUCCESS [1.977s]<br>
> [INFO] Extensions manager ................................ SUCCESS [1.645s]<br>
> [INFO] CSharp Compatibility .............................. SUCCESS [3.162s]<br>
> [INFO] Common Code ....................................... SUCCESS [13.578s]<br>
> [INFO] Common utilities .................................. SUCCESS [26.240s]<br>
> [INFO] Data Access Layer ................................. SUCCESS [4.415s]<br>
> [INFO] engine scheduler bean ............................. SUCCESS [1.519s]<br>
> [INFO] Vds broker ........................................ SUCCESS [6.338s]<br>
> [INFO] Backend Authentication, Authorization and Accounting SUCCESS [1.271s]<br>
> [INFO] builtin-extensions ................................ SUCCESS [1.574s]<br>
> [INFO] Search Backend .................................... SUCCESS [2.958s]<br>
> [INFO] Backend Logic @Service bean ....................... SUCCESS [44.189s]<br>
> [INFO] oVirt RESTful API Backend Integration ............. SUCCESS [0.305s]<br>
> [INFO] oVirt RESTful API interface ....................... SUCCESS [0.138s]<br>
> [INFO] oVirt Engine API Definition ....................... SUCCESS [9.658s]<br>
> [INFO] oVirt Engine API Commom Parent POM ................ SUCCESS [0.137s]<br>
> [INFO] oVirt Engine API Common JAX-RS .................... SUCCESS [2.500s]<br>
> [INFO] oVirt RESTful API Backend Integration Type Mappers SUCCESS [2:14.079s]<br>
> [INFO] Branding package .................................. SUCCESS [6.994s]<br>
> [INFO] oVirt RESTful API Backend Integration JAX-RS Resources FAILURE<br>
> [47.614s]<br>
> [INFO] oVirt RESTful API Backend Integration Webapp ...... SKIPPED<br>
> [INFO] Custom Logger Using Extensions .................... SKIPPED<br>
> [INFO] oVirt Engine Web Root ............................. SKIPPED<br>
> [INFO] ovirt-engine services ............................. SKIPPED<br>
> [INFO] oVirt Engine Web Docs ............................. SKIPPED<br>
> [INFO] ovirt-engine welcome .............................. SKIPPED<br>
> [INFO] oVirt Engine Tools ................................ SKIPPED<br>
> [INFO] oVirt Modules :: Frontend ......................... SKIPPED<br>
> [INFO] oVirt Modules :: Webadmin ......................... SKIPPED<br>
> [INFO] oVirt Modules - ui ................................ SKIPPED<br>
> [INFO] Extensions for GWT ................................ SKIPPED<br>
> [INFO] UI Utils Compatibility (for UICommon) ............. SKIPPED<br>
> [INFO] Frontend for GWT UI Projects ...................... SKIPPED<br>
> [INFO] UICommonWeb ....................................... SKIPPED<br>
> [INFO] oVirt GWT UI common infrastructure ................ SKIPPED<br>
> [INFO] WebAdmin .......................................... SKIPPED<br>
> [INFO] UserPortal ........................................ SKIPPED<br>
> [INFO] oVirt Server EAR .................................. SKIPPED<br>
> [INFO] ovirt-engine maven make ........................... SKIPPED<br>
> [INFO]<br>
> ------------------------------------------------------------------------<br>
> [INFO] BUILD FAILURE<br>
> [INFO]<br>
> ------------------------------------------------------------------------<br>
> [INFO] Total time: 5:40.998s<br>
> [INFO] Finished at: Fri Aug 08 07:28:15 WST 2014<br>
> [INFO] Final Memory: 88M/211M<br>
> [INFO]<br>
> ------------------------------------------------------------------------<br>
> [ERROR] Failed to execute goal<br>
> org.apache.maven.plugins:maven-surefire-plugin:2.7.2:test (default-test) on<br>
> project restapi-jaxrs: There are test failures.<br>
> [ERROR]<br>
> [ERROR] Please refer to<br>
> /home/coec/git/ovirt-engine/backend/manager/modules/restapi/jaxrs/target/surefire-reports<br>
> for the individual test results.<br>
> [ERROR] -> [Help 1]<br>
> [ERROR]<br>
> [ERROR] To see the full stack trace of the errors, re-run Maven with the -e<br>
> switch.<br>
> [ERROR] Re-run Maven using the -X switch to enable full debug logging.<br>
> [ERROR]<br>
> [ERROR] For more information about the errors and possible solutions, please<br>
> read the following articles:<br>
> [ERROR] [Help 1]<br>
> <a href="http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException" target="_blank">http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException</a><br>
> [ERROR]<br>
> [ERROR] After correcting the problems, you can resume the build with the<br>
> command<br>
> [ERROR] mvn <goals> -rf :restapi-jaxrs<br>
> make[2]: *** [maven] Error 1<br>
> make[2]: Leaving directory `/home/coec/git/ovirt-engine'<br>
> make[1]: *** [tmp.built] Error 2<br>
> make[1]: Leaving directory `/home/coec/git/ovirt-engine'<br>
> make: *** [all-dev] Error 2<br>
> [coec@localhost ovirt-engine]$<br>
> ---<br>
><br>
> Any ideas?<br>
<br>
</div></div>I've received the same results - there's probably a broken REST API unit-test.<br>
to workaround the problem, I simply run the 'make' command with skipping the<br>
unit-tests invocation, like this:<br>
<br>
$> make install-dev PREFIX="$HOME/ovirt-engine" BUILD_UT=0<br>
<br>
><br>
> Thanks<br>
><br>
> CC<br>
><br>
<span class="HOEnZb"><font color="#888888">><br>
> --<br>
> RHCE#805007969328369<br>
><br>
> _______________________________________________<br>
> Devel mailing list<br>
> <a href="mailto:Devel@ovirt.org">Devel@ovirt.org</a><br>
> <a href="http://lists.ovirt.org/mailman/listinfo/devel" target="_blank">http://lists.ovirt.org/mailman/listinfo/devel</a><br>
</font></span></blockquote></div><br><br clear="all"><br>-- <br>RHCE#805007969328369
</div>