You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@james.apache.org by bt...@apache.org on 2020/11/06 02:28:50 UTC

[james-project] 12/12: JAMES-2771 Add a restart for Zenko/cloudserver docker image with provisioning

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

btellier pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/james-project.git

commit 58efe43c28210ce9c285b3d18575d43ef7e437f2
Author: Rene Cordier <rc...@linagora.com>
AuthorDate: Thu Nov 5 15:39:47 2020 +0700

    JAMES-2771 Add a restart for Zenko/cloudserver docker image with provisioning
    
    Sometimes Zenko fails at starting correctly with provisioning.
    There is a timeout when it tries to connect to metadata service.
    Maybe too much metadata to charge? It seems a restart helps with this for now
---
 JenkinsfileStressTests.groovy | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/JenkinsfileStressTests.groovy b/JenkinsfileStressTests.groovy
index ab9024c..b8aafdb 100644
--- a/JenkinsfileStressTests.groovy
+++ b/JenkinsfileStressTests.groovy
@@ -119,6 +119,13 @@ pipeline {
                                     sh "docker exec james_run ${jamesCliWithOptions} adduser user${n}@open-paas.org secret"
                                 }
                             }
+                            if (params.PROFILE == "reference") {
+                                // Sometimes Zenko fails at starting correctly with provisioning.
+                                // There is a timeout when it tries to connect to metadata service.
+                                // Maybe too much metadata to charge? It seems a restart helps with this for now
+                                sh "docker restart s3"
+                                sh 'sleep 5'
+                            }
                         }
                     }
                 }


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@james.apache.org
For additional commands, e-mail: notifications-help@james.apache.org