-
Notifications
You must be signed in to change notification settings - Fork 89
[Build] Set general test timeout of 20min per test-project #3427
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Build] Set general test timeout of 20min per test-project #3427
Conversation
|
For JDT I don't see a need to change anything, but if the end result is similar to the current situation then I have no objections, of course. In particular I don't have any data about how times per test project deviate from an average. In case we get undesired timeouts for a particular build job, can the job override the timeout value of test projects? |
|
I'm seeing strange timeouts in jdt.core PR builds these days. Could those be related to changes in platform? Have a look at https://ci.eclipse.org/jdt/job/eclipse.jdt.core-Github/job/PR-4573/ Executions 2 and 3 claim to have hit a timeout after 90 min In both cases things go wrong in this phase: I read this as
So, perhaps timeout is the secondary thing here, but I haven't seen this kind of problem before, and now it happened in pretty much the same way twice in a row! |
Right, this observation belongs to #3436 |
This extends the general timeout, which could be too strict in this case and is introduced via - eclipse-platform/eclipse.platform.releng.aggregator#3427
This extends the general timeout, which could be too strict in this case and is introduced via - eclipse-platform/eclipse.platform.releng.aggregator#3427
Set the following extended timeouts - for org.eclipse.jdt.core.tests.compiler to 90min (usually runs ~45min) - for org.eclipse.jdt.core.tests.model to 30min (usually runs ~15min) This extends the general timeout, which could be too strict in this case and is introduced via - eclipse-platform/eclipse.platform.releng.aggregator#3427
Set the following extended timeouts - for org.eclipse.jdt.core.tests.compiler to 90min (usually runs ~45min) - for org.eclipse.jdt.core.tests.model to 30min (usually runs ~15min) This extends the general timeout, which could be too strict in this case and is introduced via - eclipse-platform/eclipse.platform.releng.aggregator#3427
This extends the general timeout, which could be too strict in this case and is introduced via - eclipse-platform/eclipse.platform.releng.aggregator#3427
This extends the general timeout, which could be too strict in this case and is introduced via - eclipse-platform/eclipse.platform.releng.aggregator#3427
1df2991 to
a12095e
Compare
Yes that's possible and in the linked PRs I've used that already to extend the timeout for the test projects listed above. The latter can also be done in the build.properties of a pomless projects, e.g using:
For the long running tests I used a value about 2-3 times of the runtimes I saw as a timeout. |
In PDE we recently had issued with tests waiting forever which lead to builds that ran for a long time until they hit the general build timeout of multiple hours.
While this limit can of course be specified only in the PDE root pom, I think it makes sense to have a general limit by default. My proposal is to set it to 20min per-test project. This is more than sufficient for most test projects, which just run a few minutes and still would give relative fast feedback if something is flawed and hangs.
After a quick search I identified the following projects for which the limit might be too strict (in general or on slow computers):
org.eclipse.jdt.core.tests.compilerrunning ~45minorg.eclipse.jdt.core.tests.modelrunning ~15minorg.eclipse.equinox.p2.testsrunning ~15minorg.eclipse.osgi.testsrunning ~10minthere we could just overwrite the general timeout and set it to a more suitable value by a similar property definition in the pom.xml or by using a corresponding
pom.model.property.surefire.timeoutentry in the build.properties (for already pomless projects).What do the platform and Equinox commiters think?
@stephan-herrmann, @jarthana, @mpalat what do you think about this for JDT?