You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by va...@apache.org on 2025/05/07 20:49:41 UTC

(couchdb) branch jenkins-increase-timeout-and-more-retries created (now 6c27f30ce)

This is an automated email from the ASF dual-hosted git repository.

vatamane pushed a change to branch jenkins-increase-timeout-and-more-retries
in repository https://gitbox.apache.org/repos/asf/couchdb.git


      at 6c27f30ce Add retries to native full CI stage

This branch includes the following new commits:

     new 6c27f30ce Add retries to native full CI stage

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



(couchdb) 01/01: Add retries to native full CI stage

Posted by va...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

vatamane pushed a commit to branch jenkins-increase-timeout-and-more-retries
in repository https://gitbox.apache.org/repos/asf/couchdb.git

commit 6c27f30ce12e52062ac680691ece97178f62865a
Author: Nick Vatamaniuc <va...@gmail.com>
AuthorDate: Wed May 7 16:46:35 2025 -0400

    Add retries to native full CI stage
    
    Noticed a few flaky failures in FreeBSD ARM worker. We see those in the docker
    workers but there we have retries, so they don't stop the build.
    
    Also, noticed on the s390x worker, we had two flaky failures with eunit crashing
    towards the end of the runs and there was not enough time to re-run a 3rd time
    as the job died due a timeout, so expand all the timeouts a bit. They are
    clearly not enough for all 3 timeouts.
---
 build-aux/Jenkinsfile.full | 22 +++++++++++-----------
 1 file changed, 11 insertions(+), 11 deletions(-)

diff --git a/build-aux/Jenkinsfile.full b/build-aux/Jenkinsfile.full
index 479aec7ea..1b770bae1 100644
--- a/build-aux/Jenkinsfile.full
+++ b/build-aux/Jenkinsfile.full
@@ -170,7 +170,7 @@ def generateNativeStage(platform) {
   return {
     stage(platform) {
       node(platform) {
-        timeout(time: 90, unit: "MINUTES") {
+        timeout(time: 180, unit: "MINUTES") {
           // Steps to configure and build CouchDB on *nix platforms
           if (isUnix()) {
             try {
@@ -190,12 +190,12 @@ def generateNativeStage(platform) {
                 dir( "${platform}/build" ) {
                   sh "${configure(meta[platform])}"
                   sh '$MAKE'
-                  sh '$MAKE eunit'
-                  sh '$MAKE elixir'
-                  sh '$MAKE elixir-search'
-                  sh '$MAKE mango-test'
-                  sh '$MAKE weatherreport-test'
-                  sh '$MAKE nouveau-test'
+                  retry (3) {sh '$MAKE eunit'}
+                  retry (3) {sh '$MAKE elixir'}
+                  retry (3) {sh '$MAKE elixir-search'}
+                  retry (3) {sh '$MAKE mango-test'}
+                  retry (3) {sh '$MAKE weatherreport-test'}
+                  retry (3) {sh '$MAKE nouveau-test'}
                 }
               }
             }
@@ -295,7 +295,7 @@ def generateContainerStage(platform) {
       node(meta[platform].get('node_label', 'docker')) {
         docker.withRegistry('https://docker.io/', 'dockerhub_creds') {
           docker.image(meta[platform].image).inside("${DOCKER_ARGS}") {
-            timeout(time: 90, unit: "MINUTES") {
+            timeout(time: 180, unit: "MINUTES") {
               stage("${meta[platform].name} - build & test") {
                 try {
                   sh( script: "rm -rf ${platform} apache-couchdb-*", label: 'Clean workspace' )
@@ -383,7 +383,7 @@ pipeline {
   options {
     buildDiscarder(logRotator(numToKeepStr: '10', artifactNumToKeepStr: '10'))
     preserveStashes(buildCount: 10)
-    timeout(time: 3, unit: 'HOURS')
+    timeout(time: 4, unit: 'HOURS')
     timestamps()
   }
 
@@ -399,7 +399,7 @@ pipeline {
         }
       }
       steps {
-        timeout(time: 15, unit: "MINUTES") {
+        timeout(time: 30, unit: "MINUTES") {
           sh (script: 'rm -rf apache-couchdb-*', label: 'Clean workspace of any previous release artifacts' )
           sh "./configure --spidermonkey-version 78 --with-nouveau"
           sh 'make dist'
@@ -454,7 +454,7 @@ pipeline {
       }
       options {
         skipDefaultCheckout()
-        timeout(time: 90, unit: "MINUTES")
+        timeout(time: 120, unit: "MINUTES")
       }
 
       steps {