Community
Participate
Working Groups
When running rcptt-maven-plugin, AUT startup failure was still a BUILD SUCCESS and everything was green in CI server. After some digging, the culprit was this commit: https://eclipse.googlesource.com/rcptt/org.eclipse.rcptt/+/f4f06613f92c15698bae138b662e3379065ebf00%5E!/#F0 org.eclipse.rcptt.runner.util.AUTsManager#launchAutsAndStartTheirThreads will try to launch 11(not 10 as the exception says) times and throws an AutLaunchFail. However the above change in org.eclipse.rcptt.runner.util.TestsRunner#runTests means that AutLaunchFail is caught and info logged and not forwarded to org.eclipse.rcptt.runner.HeadlessRunnerApp#start that has a catch block for AutLaunchFail. As a result exit code 0 is returned instead of 63.
An attempt to fix the problem: https://github.com/eclipse/org.eclipse.rcptt/pull/76