Bug 528950 - Configure Sirius to have a "successful" jenkins Sonar job
Summary: Configure Sirius to have a "successful" jenkins Sonar job
Status: ASSIGNED
Alias: None
Product: Sirius
Classification: Modeling
Component: Releng (show other bugs)
Version: 5.1.0   Edit
Hardware: PC All
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Laurent Redor CLA
QA Contact:
URL:
Whiteboard:
Keywords: triaged
Depends on:
Blocks:
 
Reported: 2017-12-19 07:45 EST by Laurent Redor CLA
Modified: 2018-01-08 08:42 EST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Laurent Redor CLA 2017-12-19 07:45:12 EST
With bug 464600, the Sonar was enabled on Sirius HIPP. The goal of this issue is to re-enable Sonar job [1] and to have workable results.

A preliminay issue, bug 528822, has been created on Community side.

[1] https://hudson.eclipse.org/sirius/view/All/job/sirius.sonar-master
Comment 2 Eclipse Genie CLA 2017-12-19 09:05:31 EST
New Gerrit change created: https://git.eclipse.org/r/114396
Comment 3 Eclipse Genie CLA 2017-12-19 09:05:33 EST
New Gerrit change created: https://git.eclipse.org/r/114395
Comment 9 Eclipse Genie CLA 2017-12-19 10:20:50 EST
New Gerrit change created: https://git.eclipse.org/r/114424
Comment 10 Eclipse Genie CLA 2017-12-19 11:25:25 EST
New Gerrit change created: https://git.eclipse.org/r/114429
Comment 12 Eclipse Genie CLA 2017-12-19 15:48:29 EST
New Gerrit change created: https://git.eclipse.org/r/114445
Comment 13 Eclipse Genie CLA 2017-12-19 16:03:55 EST
New Gerrit change created: https://git.eclipse.org/r/114446
Comment 16 Eclipse Genie CLA 2017-12-19 16:18:37 EST
New Gerrit change created: https://git.eclipse.org/r/114448
Comment 18 Laurent Redor CLA 2017-12-20 04:36:10 EST
(In reply to Laurent Redor from bug 528822 comment #3)
> 2- JaCoCoSensor: JaCoCo report not found : /home/hudson/genie.sirius/.hudson/jobs/sirius.sonar-master/workspace/plugins/org.eclipse.sirius.tests.rcptt.properties/target/jacoco.exec

The errors of type 2 have been fixed by enabling JaCoCo (commits 2cdf6eb0, 6d38f2fb and 42835e64).
Comment 19 Eclipse Genie CLA 2017-12-20 12:17:40 EST
New Gerrit change created: https://git.eclipse.org/r/114498
Comment 21 Eclipse Genie CLA 2017-12-26 03:37:33 EST
New Gerrit change created: https://git.eclipse.org/r/114738
Comment 23 Laurent Redor CLA 2018-01-08 02:49:36 EST
After several jobs, I observed that it seems that there is a CRON on HIPP at 12:10 that kills Maven process. So currently, job configuration is set to launch job just after.

Observations:

Job #670 started at 20 dec. 2017 10:13:29

12:10:01  [INFO] ------------------------------------------------------------------------
12:10:01  [INFO] BUILD FAILURE
12:10:01  [INFO] ------------------------------------------------------------------------
12:10:01  [INFO] Total time: 01:56 h
12:10:01  [INFO] Finished at: 2017-12-20T12:10:01-05:00
12:10:04  [INFO] Final Memory: 363M/4866M
12:10:04  [INFO] ------------------------------------------------------------------------
12:10:04  [INFO] o.h.m.e.h.MavenExecutionResultHandler - Build failed with exception(s)
12:10:04  [INFO] o.h.m.e.h.MavenExecutionResultHandler - [1] org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.eclipse.tycho:tycho-surefire-plugin:1.0.0:test (default-test) on project org.eclipse.sirius.tests.swtbot: An unexpected error occured while launching the test runtime (return code 137). See log for details.
12:10:04  [DEBUG] Closing connection to remote
12:10:04  [ERROR] Failed to execute goal org.eclipse.tycho:tycho-surefire-plugin:1.0.0:test (default-test) on project org.eclipse.sirius.tests.swtbot: An unexpected error occured while launching the test runtime (return code 137). See log for details. -> [Help 1]

Job #672 started at 24 dec. 2017 02:01:03

12:10:01  [INFO] ------------------------------------------------------------------------
12:10:01  [INFO] BUILD FAILURE
12:10:01  [INFO] ------------------------------------------------------------------------
12:10:01  [INFO] Total time: 10:08 h
12:10:01  [INFO] Finished at: 2017-12-24T12:10:01-05:00
12:10:02  [INFO] Final Memory: 333M/4988M
12:10:02  [INFO] ------------------------------------------------------------------------
12:10:02  [INFO] o.h.m.e.h.MavenExecutionResultHandler - Build failed with exception(s)
12:10:02  [INFO] o.h.m.e.h.MavenExecutionResultHandler - [1] org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.eclipse.tycho:tycho-surefire-plugin:1.0.0:test (default-test) on project org.eclipse.sirius.tests.swtbot: An unexpected error occured while launching the test runtime (return code 137). See log for details.
12:10:02  [DEBUG] Closing connection to remote
12:10:02  [ERROR] Failed to execute goal org.eclipse.tycho:tycho-surefire-plugin:1.0.0:test (default-test) on project org.eclipse.sirius.tests.swtbot: An unexpected error occured while launching the test runtime (return code 137). See log for details. -> [Help 1]

Job #673 started at 31 dec. 2017 02:01:03

12:10:01  [INFO] ------------------------------------------------------------------------
12:10:01  [INFO] BUILD FAILURE
12:10:01  [INFO] ------------------------------------------------------------------------
12:10:01  [INFO] Total time: 10:08 h
12:10:01  [INFO] Finished at: 2017-12-31T12:10:01-05:00
12:10:02  [INFO] Final Memory: 326M/4940M
12:10:02  [INFO] ------------------------------------------------------------------------
12:10:02  [INFO] o.h.m.e.h.MavenExecutionResultHandler - Build failed with exception(s)
12:10:02  [INFO] o.h.m.e.h.MavenExecutionResultHandler - [1] org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.eclipse.tycho:tycho-surefire-plugin:1.0.0:test (default-test) on project org.eclipse.sirius.tests.swtbot: An unexpected error occured while launching the test runtime (return code 137). See log for details.
12:10:02  [DEBUG] Closing connection to remote
12:10:02  [ERROR] Failed to execute goal org.eclipse.tycho:tycho-surefire-plugin:1.0.0:test (default-test) on project org.eclipse.sirius.tests.swtbot: An unexpected error occured while launching the test runtime (return code 137). See log for details. -> [Help 1]

Maybe be something to notice in bug 445371.
Comment 24 Laurent Redor CLA 2018-01-08 08:42:03 EST
The job ends with an OOM if all tests are launched. The analysis of the dump reveals that a large part of the memory is retained by org.eclipse.gmf.runtime.diagram.ui.editparts.GraphicalEditPart._disableCanonicalEditPolicyList.
Maybe a _disableCanonicalEditPolicyList.clear(); is necessary in the catch RuntimeException of method getCommand(Request).

But it seems strange that this "leak" is not observed locally or on CI server.