eclipse-gemoc / gemoc-studio

gemoc-studio
Eclipse Public License 1.0
25 stars 21 forks source link

Jenkins @ eclipse not reliable #316

Open dvojtise opened 3 months ago

dvojtise commented 3 months ago

Bug description

currently the CI process on the Eclipse jenkins is not reliable inn addition to the old flaky test (cf. #123)

now, even the main build of the studio also get killed apparently randomly.

image

with the following log messages:

[INFO] --- tycho-p2-director-plugin:3.0.4:materialize-products (create-distributions) @ org.eclipse.gemoc.gemoc_studio.updatesite ---
[INFO] Installing product gemoc_studio for environment linux/gtk/x86_64 to /home/jenkins/agent/workspace/n_fix-deprecated-xtext-generator/gemoc-studio/gemoc_studio/releng/org.eclipse.gemoc.gemoc_studio.updatesite/target/products/gemoc_studio/linux/gtk/x86_64
Installing gemoc_studio 3.6.1.202407110811.
Installing org.eclipse.epp.mpc.feature.group 1.10.1.v20221110-1841.
Installing org.eclipse.oomph.setup.feature.group 1.28.0.v20230523-0636.
Installing org.eclipse.tm.terminal.feature.feature.group 11.2.0.202303131754.
Installing org.eclipse.egit.feature.group 6.6.0.202305301015-r.
Installing org.eclipse.jgit.feature.group 6.6.0.202305301015-r.
Installing org.eclipse.mylyn.wikitext_feature.feature.group 3.0.46.202301111837.
Installing org.eclipse.fx.runtime.min.feature.feature.group 3.9.0.202210170500.
Installing org.eclipse.egit.gitflow.feature.feature.group 6.6.0.202305301015-r.
Installing org.eclipse.m2e.logback.feature.feature.group 2.1.2.20230523-2106.
/home/jenkins/agent/workspace/n_fix-deprecated-xtext-generator/gemoc-studio/dev_support/tycho_full_compilation@tmp/durable-0c789825/script.sh.copy: line 1:  1218 Killed                  mvn -Dmaven.test.failure.ignore "-Dstudio.variant=Official build" -Dbranch.variant=fix-deprecated-xtext-generator -Djava.awt.headless=true --projects !../../gemoc_studio/tests/org.eclipse.gemoc.studio.tests.system.lwb,!../../gemoc_studio/tests/org.eclipse.gemoc.studio.tests.system.mwb clean install --errors --show-version --batch-mode
[Pipeline] }
[Pipeline] // dir
[Pipeline] }
[Pipeline] // withEnv
[Pipeline] }
[Pipeline] // script
Post stage
[Pipeline] junit
Recording test results
No test report files were found. Configuration error?

we need to find a more reliable CI solution for our build

dvojtise commented 2 weeks ago

I have enabled a full build using github action (in a docker) which pass correctly (still with the usual flacky test about melange) cf. https://github.com/gemoc/gemoc-studio-eclipse-integration/actions/workflows/BuildGEMOC.yml Note: that we cannot completely switch to this github action because: we loose the test history/graph, some actions currently run on the eclipse infrastructure ( upload result in the eclipse web site, in the eclipse maven nexus, ...)

so this is most probably a RAM issue.

Apparently, we are alone to experience resource issue on the jenkins ci.eclipse.org : https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/issues/4759

I've done the following: