[ovirt-devel] Build failure on F19

Sandro Bonazzola sbonazzo at redhat.com
Fri Aug 8 07:35:32 UTC 2014


Il 08/08/2014 01:35, Colin Coe ha scritto:
> Hi all
> 
> I'm attempting to build oVirt Engine from git.  I've been following http://www.ovirt.org/OVirt_Engine_Development_Environment
> 
> The errors I'm seeing are:
> ---
> Results :
> 
> Tests in error:
>   initializationError(org.ovirt.engine.api.restapi.resource.BackendResourceInfoDetailTest): Bad <init> method call from inside of a branch
> Exception Details:
>   Location:
>     org/ovirt/engine/api/restapi/resource/AbstractBackendResourceLoggingTest.<init>(Lorg/powermock/core/IndicateReloadClass;)V @40: invokespecial
>   Reason:
>     Error exists in the bytecode
>   Bytecode:
>     0000000: 2a2b 4e4d 1210 b800 1604 bd00 0d59 032d
>     0000010: 5312 a6b8 001b b800 213a 0519 05b2 0025
>     0000020: a500 0e2a 01c0 0027 b700 2aa7 000a 2c2d
>     0000030: b700 2a01 57b1                        
>   Stackmap Table:
>     full_frame(@46,{UninitializedThis,Object[#39],UninitializedThis,Object[#39],Top,Object[#13]},{})
>     full_frame(@53,{Object[#2],Object[#39],Object[#2],Object[#39],Top,Object[#13]},{})
> 
>   initializationError(org.ovirt.engine.api.restapi.resource.BackendResourceDebugDetailTest): Bad <init> method call from inside of a branch
> Exception Details:
>   Location:
>     org/ovirt/engine/api/restapi/resource/AbstractBackendResourceLoggingTest.<init>(Lorg/powermock/core/IndicateReloadClass;)V @40: invokespecial
>   Reason:
>     Error exists in the bytecode
>   Bytecode:
>     0000000: 2a2b 4e4d 1210 b800 1604 bd00 0d59 032d
>     0000010: 5312 a6b8 001b b800 213a 0519 05b2 0025
>     0000020: a500 0e2a 01c0 0027 b700 2aa7 000a 2c2d
>     0000030: b700 2a01 57b1                        
>   Stackmap Table:
>     full_frame(@46,{UninitializedThis,Object[#39],UninitializedThis,Object[#39],Top,Object[#13]},{})
>     full_frame(@53,{Object[#2],Object[#39],Object[#2],Object[#39],Top,Object[#13]},{})
> 

latest java release on F19 is broken, just yum downgrade it and it will build.



> 
> Tests run: 1427, Failures: 0, Errors: 2, Skipped: 71
> 
> [INFO] ------------------------------------------------------------------------
> [INFO] Reactor Summary:
> [INFO]
> [INFO] ovirt-root ........................................ SUCCESS [0.759s]
> [INFO] oVirt Build Tools root ............................ SUCCESS [0.026s]
> [INFO] oVirt checkstyle .................................. SUCCESS [2.449s]
> [INFO] oVirt JBoss Modules Maven Plugin .................. SUCCESS [7.475s]
> [INFO] oVirt Checkstyle Checks ........................... SUCCESS [0.442s]
> [INFO] Extensions API root ............................... SUCCESS [0.469s]
> [INFO] ovirt-engine-extensions-api ....................... SUCCESS [9.139s]
> [INFO] oVirt Modules - backend ........................... SUCCESS [0.009s]
> [INFO] oVirt Manager ..................................... SUCCESS [0.027s]
> [INFO] oVirt Engine dependencies ......................... SUCCESS [5.124s]
> [INFO] oVirt Modules - manager ........................... SUCCESS [1.820s]
> [INFO] Universal utilities ............................... SUCCESS [1.977s]
> [INFO] Extensions manager ................................ SUCCESS [1.645s]
> [INFO] CSharp Compatibility .............................. SUCCESS [3.162s]
> [INFO] Common Code ....................................... SUCCESS [13.578s]
> [INFO] Common utilities .................................. SUCCESS [26.240s]
> [INFO] Data Access Layer ................................. SUCCESS [4.415s]
> [INFO] engine scheduler bean ............................. SUCCESS [1.519s]
> [INFO] Vds broker ........................................ SUCCESS [6.338s]
> [INFO] Backend Authentication, Authorization and Accounting  SUCCESS [1.271s]
> [INFO] builtin-extensions ................................ SUCCESS [1.574s]
> [INFO] Search Backend .................................... SUCCESS [2.958s]
> [INFO] Backend Logic @Service bean ....................... SUCCESS [44.189s]
> [INFO] oVirt RESTful API Backend Integration ............. SUCCESS [0.305s]
> [INFO] oVirt RESTful API interface ....................... SUCCESS [0.138s]
> [INFO] oVirt Engine API Definition ....................... SUCCESS [9.658s]
> [INFO] oVirt Engine API Commom Parent POM ................ SUCCESS [0.137s]
> [INFO] oVirt Engine API Common JAX-RS .................... SUCCESS [2.500s]
> [INFO] oVirt RESTful API Backend Integration Type Mappers  SUCCESS [2:14.079s]
> [INFO] Branding package .................................. SUCCESS [6.994s]
> [INFO] oVirt RESTful API Backend Integration JAX-RS Resources  FAILURE [47.614s]
> [INFO] oVirt RESTful API Backend Integration Webapp ...... SKIPPED
> [INFO] Custom Logger Using Extensions .................... SKIPPED
> [INFO] oVirt Engine Web Root ............................. SKIPPED
> [INFO] ovirt-engine services ............................. SKIPPED
> [INFO] oVirt Engine Web Docs ............................. SKIPPED
> [INFO] ovirt-engine welcome .............................. SKIPPED
> [INFO] oVirt Engine Tools ................................ SKIPPED
> [INFO] oVirt Modules :: Frontend ......................... SKIPPED
> [INFO] oVirt Modules :: Webadmin ......................... SKIPPED
> [INFO] oVirt Modules - ui ................................ SKIPPED
> [INFO] Extensions for GWT ................................ SKIPPED
> [INFO] UI Utils Compatibility (for UICommon) ............. SKIPPED
> [INFO] Frontend for GWT UI Projects ...................... SKIPPED
> [INFO] UICommonWeb ....................................... SKIPPED
> [INFO] oVirt GWT UI common infrastructure ................ SKIPPED
> [INFO] WebAdmin .......................................... SKIPPED
> [INFO] UserPortal ........................................ SKIPPED
> [INFO] oVirt Server EAR .................................. SKIPPED
> [INFO] ovirt-engine maven make ........................... SKIPPED
> [INFO] ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: 5:40.998s
> [INFO] Finished at: Fri Aug 08 07:28:15 WST 2014
> [INFO] Final Memory: 88M/211M
> [INFO] ------------------------------------------------------------------------
> [ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.7.2:test (default-test) on project restapi-jaxrs: There are test failures.
> [ERROR]
> [ERROR] Please refer to /home/coec/git/ovirt-engine/backend/manager/modules/restapi/jaxrs/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
> [ERROR]
> [ERROR] After correcting the problems, you can resume the build with the command
> [ERROR]   mvn <goals> -rf :restapi-jaxrs
> make[2]: *** [maven] Error 1
> make[2]: Leaving directory `/home/coec/git/ovirt-engine'
> make[1]: *** [tmp.built] Error 2
> make[1]: Leaving directory `/home/coec/git/ovirt-engine'
> make: *** [all-dev] Error 2
> [coec at localhost ovirt-engine]$
> ---
> 
> Any ideas?
> 
> Thanks
> 
> CC
> 
> 
> -- 
> RHCE#805007969328369
> 
> 
> _______________________________________________
> Devel mailing list
> Devel at ovirt.org
> http://lists.ovirt.org/mailman/listinfo/devel
> 


-- 
Sandro Bonazzola
Better technology. Faster innovation. Powered by community collaboration.
See how it works at redhat.com



More information about the Devel mailing list