[ovirt-users] Ovirt Code Build Error
Hari Prasanth Loganathan
hariprasanth.l at msystechnologies.com
Thu Apr 26 10:47:33 UTC 2018
[INFO] Common Code ........................................ SUCCESS [
17.669 s]
[INFO] Common utilities ................................... FAILURE [
17.451 s]
[INFO] Branding package ................................... SKIPPED
[INFO] ovirt-engine sso ................................... SKIPPED
[INFO] Data Access Layer .................................. SKIPPED
[INFO] engine scheduler bean .............................. SKIPPED
[INFO] Vds broker ......................................... SKIPPED
[INFO] builtin-extensions ................................. SKIPPED
[INFO] Search Backend ..................................... SKIPPED
[INFO] Backend Authentication, Authorization and Accounting SKIPPED
[INFO] Custom Application Server Authentication Plugin .... SKIPPED
[INFO] Backend Logic @Service bean ........................ SKIPPED
[INFO] oVirt RESTful API Backend Integration .............. SKIPPED
[INFO] oVirt RESTful API interface ........................ SKIPPED
[INFO] oVirt Engine API Definition ........................ SKIPPED
[INFO] oVirt Engine API Commom Parent POM ................. SKIPPED
[INFO] oVirt Engine API Common JAX-RS ..................... SKIPPED
[INFO] oVirt RESTful API Backend Integration Type Mappers . SKIPPED
[INFO] oVirt RESTful API Backend Integration JAX-RS Resources SKIPPED
[INFO] oVirt RESTful API Backend Integration Webapp ....... SKIPPED
[INFO] oVirt RESTful API Documentation .................... SKIPPED
[INFO] Custom Logger Using Extensions ..................... SKIPPED
[INFO] oVirt Engine Web Root .............................. SKIPPED
[INFO] ovirt-engine services .............................. SKIPPED
[INFO] ovirt-engine docs .................................. SKIPPED
[INFO] ovirt-engine welcome ............................... SKIPPED
[INFO] oVirt Engine Microbenchmarks ....................... SKIPPED
[INFO] oVirt Engine Tools ................................. SKIPPED
[INFO] oVirt Engine extensions tool ....................... SKIPPED
[INFO] oVirt Engine sso client registration tool .......... SKIPPED
[INFO] oVirt Modules :: Frontend .......................... SKIPPED
[INFO] oVirt Modules :: Brands ............................ SKIPPED
[INFO] oVirt Engine brand ................................. SKIPPED
[INFO] oVirt Modules :: Webadmin .......................... SKIPPED
[INFO] oVirt UI Modules ................................... SKIPPED
[INFO] AOP tweaks for GWT compiler ........................ 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] Frontend Assembly Descriptors ...................... SKIPPED
[INFO] WebAdmin ........................................... SKIPPED
[INFO] oVirt Server EAR ................................... SKIPPED
[INFO] ovirt-engine maven make ............................ SKIPPED
[INFO]
------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 01:11 min
[INFO] Finished at: 2018-04-26T15:02:28+05:30
[INFO] Final Memory: 154M/1610M
[INFO]
------------------------------------------------------------------------
[ERROR] Failed to execute goal
org.apache.maven.plugins:maven-surefire-plugin:2.21.0:test (default-test)
on project utils: There are test failures.
[ERROR]
[ERROR] Please refer to
/home/hari/ovirtcode/ovirt-engine-master/backend/manager/modules/utils/target/surefire-reports
for the individual test results.
[ERROR] Please refer to dump files (if any exist) [date]-jvmRun[N].dump,
[date].dumpstream and [date]-jvmRun[N].dumpstream.
[ERROR] -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute
goal org.apache.maven.plugins:maven-surefire-plugin:2.21.0:test
(default-test) on project utils: There are test failures.
Please refer to
/home/hari/ovirtcode/ovirt-engine-master/backend/manager/modules/utils/target/surefire-reports
for the individual test results.
Please refer to dump files (if any exist) [date]-jvmRun[N].dump,
[date].dumpstream and [date]-jvmRun[N].dumpstream.
at
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:212)
at
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
at
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
at
org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:116)
at
org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:80)
at
org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51)
at
org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:128)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:307)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:193)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:106)
at org.apache.maven.cli.MavenCli.execute(MavenCli.java:863)
at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:288)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:199)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at
org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)
at
org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
at
org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)
at
org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)
Caused by: org.apache.maven.plugin.MojoFailureException: There are test
failures.
Please refer to
/home/hari/ovirtcode/ovirt-engine-master/backend/manager/modules/utils/target/surefire-reports
for the individual test results.
Please refer to dump files (if any exist) [date]-jvmRun[N].dump,
[date].dumpstream and [date]-jvmRun[N].dumpstream.
at
org.apache.maven.plugin.surefire.SurefireHelper.throwException(SurefireHelper.java:240)
at
org.apache.maven.plugin.surefire.SurefireHelper.reportExecution(SurefireHelper.java:112)
at
org.apache.maven.plugin.surefire.SurefirePlugin.handleSummary(SurefirePlugin.java:354)
at
org.apache.maven.plugin.surefire.AbstractSurefireMojo.executeAfterPreconditionsChecked(AbstractSurefireMojo.java:1008)
at
org.apache.maven.plugin.surefire.AbstractSurefireMojo.execute(AbstractSurefireMojo.java:854)
at
org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:134)
at
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:207)
... 20 more
On Thu, Apr 26, 2018 at 2:57 PM, Roy Golan <rgolan at redhat.com> wrote:
> what's the exact test failure?
>
> On Thu, 26 Apr 2018 at 12:12 Hari Prasanth Loganathan <hariprasanth.l@
> msystechnologies.com> wrote:
>
>> If I remove the skip=true,
>>
>> [INFO] Common Code ........................................ SUCCESS [
>> 19.206 s]
>> [INFO] Common utilities ................................... FAILURE [
>> 24.306 s]
>> [INFO] Branding package ................................... SKIPPED
>> [INFO] ovirt-engine sso ................................... SKIPPED
>> [INFO] Data Access Layer .................................. SKIPPED
>>
>> [INFO] engine scheduler bean .............................. SKIPPED
>> [INFO] Vds broker ......................................... SKIPPED
>> [INFO] builtin-extensions ................................. SKIPPED
>> [INFO] Search Backend ..................................... SKIPPED
>> [INFO] Backend Authentication, Authorization and Accounting SKIPPED
>> [INFO] Custom Application Server Authentication Plugin .... SKIPPED
>> [INFO] Backend Logic @Service bean ........................ SKIPPED
>> [INFO] oVirt RESTful API Backend Integration .............. SKIPPED
>> [INFO] oVirt RESTful API interface ........................ SKIPPED
>> [INFO] oVirt Engine API Definition ........................ SKIPPED
>> [INFO] oVirt Engine API Commom Parent POM ................. SKIPPED
>> [INFO] oVirt Engine API Common JAX-RS ..................... SKIPPED
>> [INFO] oVirt RESTful API Backend Integration Type Mappers . SKIPPED
>> [INFO] oVirt RESTful API Backend Integration JAX-RS Resources SKIPPED
>> [INFO] oVirt RESTful API Backend Integration Webapp ....... SKIPPED
>> [INFO] oVirt RESTful API Documentation .................... SKIPPED
>> [INFO] Custom Logger Using Extensions ..................... SKIPPED
>> [INFO] oVirt Engine Web Root .............................. SKIPPED
>> [INFO] ovirt-engine services .............................. SKIPPED
>> [INFO] ovirt-engine docs .................................. SKIPPED
>> [INFO] ovirt-engine welcome ............................... SKIPPED
>> [INFO] oVirt Engine Microbenchmarks ....................... SKIPPED
>> [INFO] oVirt Engine Tools ................................. SKIPPED
>> [INFO] oVirt Engine extensions tool ....................... SKIPPED
>> [INFO] oVirt Engine sso client registration tool .......... SKIPPED
>> [INFO] oVirt Modules :: Frontend .......................... SKIPPED
>> [INFO] oVirt Modules :: Brands ............................ SKIPPED
>> [INFO] oVirt Engine brand ................................. SKIPPED
>> [INFO] oVirt Modules :: Webadmin .......................... SKIPPED
>> [INFO] oVirt UI Modules ................................... SKIPPED
>> [INFO] AOP tweaks for GWT compiler ........................ 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] Frontend Assembly Descriptors ...................... SKIPPED
>> [INFO] WebAdmin ........................................... SKIPPED
>> [INFO] oVirt Server EAR ................................... SKIPPED
>> [INFO] ovirt-engine maven make ............................ SKIPPED
>> [INFO] ------------------------------------------------------------
>> ------------
>> [INFO] BUILD FAILURE
>> [INFO] ------------------------------------------------------------
>> ------------
>> [INFO] Total time: 01:21 min
>> [INFO] Finished at: 2018-04-26T14:41:33+05:30
>> [INFO] Final Memory: 153M/1574M
>> [INFO] ------------------------------------------------------------
>> ------------
>> [ERROR] Failed to execute goal org.apache.maven.plugins:
>> maven-surefire-plugin:2.21.0:test (default-test) on project utils: There
>> are test failures.
>> [ERROR]
>> [ERROR] Please refer to /home/hari/ovirtcode/ovirt-
>> engine-master/backend/manager/modules/utils/target/surefire-reports for
>> the individual test results.
>> [ERROR] Please refer to dump files (if any exist) [date]-jvmRun[N].dump,
>> [date].dumpstream and [date]-jvmRun[N].dumpstream.
>>
>>
>> I get this error.
>>
>> On Thu, Apr 26, 2018 at 2:15 PM, Roy Golan <rgolan at redhat.com> wrote:
>>
>>>
>>>
>>> On Thu, 26 Apr 2018 at 10:55 Hari Prasanth Loganathan <hariprasanth.l@
>>> msystechnologies.com> wrote:
>>>
>>>> I am using mvn clean install -Dmaven.test.skip=true and I end up with
>>>> that error.
>>>>
>>>> I think that is the problem sense we require the test jar of utils
>>> according to this error org.ovirt.engine.core:utils:jar:tests:4.3.0-SNAPSHOT
>>>
>>>
>>> so just remove the skip=true for now
>>>
>>>
>>>> On Thu, Apr 26, 2018 at 1:24 PM, Roy Golan <rgolan at redhat.com> wrote:
>>>>
>>>>> what's you maven command? or make?
>>>>>
>>>>> If you didn't already just try 'mvn clean install'
>>>>>
>>>>> On Thu, 26 Apr 2018 at 10:29 Hari Prasanth Loganathan <hariprasanth.l@
>>>>> msystechnologies.com> wrote:
>>>>>
>>>>>> Hi Team,
>>>>>>
>>>>>> I try to build the oVirt code and I get the following error,
>>>>>>
>>>>>> [INFO] Common utilities ................................... SUCCESS
>>>>>> [ 8.089 s]
>>>>>> [INFO] Branding package ................................... SUCCESS
>>>>>> [ 1.849 s]
>>>>>> [INFO] ovirt-engine sso ................................... SUCCESS
>>>>>> [ 3.281 s]
>>>>>> [INFO] Data Access Layer .................................. FAILURE
>>>>>> [ 3.532 s]
>>>>>> [INFO] engine scheduler bean .............................. SKIPPED
>>>>>> [INFO] Vds broker ......................................... SKIPPED
>>>>>> [INFO] builtin-extensions ................................. SKIPPED
>>>>>> [INFO] Search Backend ..................................... SKIPPED
>>>>>> [INFO] Backend Authentication, Authorization and Accounting SKIPPED
>>>>>> [INFO] Custom Application Server Authentication Plugin .... SKIPPED
>>>>>> [INFO] Backend Logic @Service bean ........................ SKIPPED
>>>>>> [INFO] oVirt RESTful API Backend Integration .............. SKIPPED
>>>>>> [INFO] oVirt RESTful API interface ........................ SKIPPED
>>>>>> [INFO] oVirt Engine API Definition ........................ SKIPPED
>>>>>> [INFO] oVirt Engine API Commom Parent POM ................. SKIPPED
>>>>>> [INFO] oVirt Engine API Common JAX-RS ..................... SKIPPED
>>>>>> [INFO] oVirt RESTful API Backend Integration Type Mappers . SKIPPED
>>>>>> [INFO] oVirt RESTful API Backend Integration JAX-RS Resources SKIPPED
>>>>>> [INFO] oVirt RESTful API Backend Integration Webapp ....... SKIPPED
>>>>>> [INFO] oVirt RESTful API Documentation .................... SKIPPED
>>>>>> [INFO] Custom Logger Using Extensions ..................... SKIPPED
>>>>>> [INFO] oVirt Engine Web Root .............................. SKIPPED
>>>>>> [INFO] ovirt-engine services .............................. SKIPPED
>>>>>> [INFO] ovirt-engine docs .................................. SKIPPED
>>>>>> [INFO] ovirt-engine welcome ............................... SKIPPED
>>>>>> [INFO] oVirt Engine Microbenchmarks ....................... SKIPPED
>>>>>> [INFO] oVirt Engine Tools ................................. SKIPPED
>>>>>> [INFO] oVirt Engine extensions tool ....................... SKIPPED
>>>>>> [INFO] oVirt Engine sso client registration tool .......... SKIPPED
>>>>>> [INFO] oVirt Modules :: Frontend .......................... SKIPPED
>>>>>> [INFO] oVirt Modules :: Brands ............................ SKIPPED
>>>>>> [INFO] oVirt Engine brand ................................. SKIPPED
>>>>>> [INFO] oVirt Modules :: Webadmin .......................... SKIPPED
>>>>>> [INFO] oVirt UI Modules ................................... SKIPPED
>>>>>> [INFO] AOP tweaks for GWT compiler ........................ 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] Frontend Assembly Descriptors ...................... SKIPPED
>>>>>> [INFO] WebAdmin ........................................... SKIPPED
>>>>>> [INFO] oVirt Server EAR ................................... SKIPPED
>>>>>> [INFO] ovirt-engine maven make ............................ SKIPPED
>>>>>> [INFO] ------------------------------------------------------------
>>>>>> ------------
>>>>>> [INFO] BUILD FAILURE
>>>>>> [INFO] ------------------------------------------------------------
>>>>>> ------------
>>>>>> [INFO] Total time: 01:06 min
>>>>>> [INFO] Finished at: 2018-04-26T12:29:15+05:30
>>>>>> [INFO] Final Memory: 135M/1574M
>>>>>> [INFO] ------------------------------------------------------------
>>>>>> ------------
>>>>>> [ERROR] Failed to execute goal on project dal: Could not resolve
>>>>>> dependencies for project org.ovirt.engine.core:dal:jar:4.3.0-SNAPSHOT:
>>>>>> Could not find artifact org.ovirt.engine.core:utils:jar:tests:4.3.0-SNAPSHOT
>>>>>> in sonatype-snapshots (http://oss.sonatype.org/content/repositories/
>>>>>> snapshots/) -> [Help 1]
>>>>>>
>>>>>>
>>>>>> I didn't make any change, Could somebody help me in building this
>>>>>> please?
>>>>>>
>>>>>> Thanks,
>>>>>> Hari
>>>>>>
>>>>>> _______________________________________________
>>>>>> Users mailing list
>>>>>> Users at ovirt.org
>>>>>> http://lists.ovirt.org/mailman/listinfo/users
>>>>>>
>>>>>
>>>>
>>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ovirt.org/pipermail/users/attachments/20180426/07903395/attachment.html>
More information about the Users
mailing list