You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by pg...@apache.org on 2025/11/28 16:30:30 UTC
(couchdb) 02/02: Set timeout for Clouseau tests on containerized builders
This is an automated email from the ASF dual-hosted git repository.
pgj pushed a commit to branch jenkins-clouseau-3.0.0
in repository https://gitbox.apache.org/repos/asf/couchdb.git
commit 2de78d73abf64a294b68fc2e583b61892b4d1256
Author: Gabor Pali <ga...@ibm.com>
AuthorDate: Fri Nov 28 09:11:18 2025 +0100
Set timeout for Clouseau tests on containerized builders
For some reason, the local cluster to run the integration tests
that may require Clouseau (Search) does not always start up
properly which makes the execution hang indefinitely when run in
a Docker container. Work around the issue by setting a reasonable
time limit (5 minutes) for each of those and combined with the
Jenkins retry, it can help with recovering the build in such
unfortunate scenarios.
---
build-aux/Jenkinsfile | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/build-aux/Jenkinsfile b/build-aux/Jenkinsfile
index 67c80cbd3..9bea62863 100644
--- a/build-aux/Jenkinsfile
+++ b/build-aux/Jenkinsfile
@@ -412,8 +412,8 @@ def generateContainerStage(platform) {
retry(3) {sh 'make eunit'}
if (meta[platform].quickjs_test262) {retry(3) {sh 'make quickjs-test262'}}
retry(3) {sh 'make elixir'}
- retry(3) {sh "${setClouseauJavaHome}make elixir-search ERLANG_COOKIE=crumbles"}
- retry(3) {sh "${setClouseauJavaHome}make mango-test ERLANG_COOKIE=crumbles"}
+ retry(3) {sh "${setClouseauJavaHome}timeout 5m make elixir-search ERLANG_COOKIE=crumbles"}
+ retry(3) {sh "${setClouseauJavaHome}timeout 5m make mango-test ERLANG_COOKIE=crumbles"}
retry(3) {sh 'make weatherreport-test'}
retry(3) {sh 'make nouveau-test'}
}