From b1f943a0f8e1a1f85f15d2b9e0e8bc5ac0d7fe80 Mon Sep 17 00:00:00 2001 From: Prudhvi Godithi Date: Fri, 23 Aug 2024 12:24:38 -0700 Subject: [PATCH] Add sleep for few seconds to ensure the container process are properly started (#4964) Signed-off-by: Prudhvi Godithi --- jenkins/opensearch-dashboards/distribution-build.jenkinsfile | 1 + jenkins/opensearch-dashboards/integ-test.jenkinsfile | 1 + jenkins/opensearch/distribution-build.jenkinsfile | 1 + jenkins/opensearch/integ-test.jenkinsfile | 1 + 4 files changed, 4 insertions(+) diff --git a/jenkins/opensearch-dashboards/distribution-build.jenkinsfile b/jenkins/opensearch-dashboards/distribution-build.jenkinsfile index 50e84a00b1..bed05e9ed4 100644 --- a/jenkins/opensearch-dashboards/distribution-build.jenkinsfile +++ b/jenkins/opensearch-dashboards/distribution-build.jenkinsfile @@ -946,6 +946,7 @@ pipeline { node(AGENT_LINUX_X64) { checkout scm script { + sleep 10 def rc = (params.RC_NUMBER.toInteger() > 0) publishDistributionBuildResults( failureMessages: buildMessage(search: 'Error building'), diff --git a/jenkins/opensearch-dashboards/integ-test.jenkinsfile b/jenkins/opensearch-dashboards/integ-test.jenkinsfile index 3ef103221a..3ee4ef2287 100644 --- a/jenkins/opensearch-dashboards/integ-test.jenkinsfile +++ b/jenkins/opensearch-dashboards/integ-test.jenkinsfile @@ -369,6 +369,7 @@ pipeline { } retry(5) { node(agent_nodes['linux_x64']) { + sleep 10 def rc = (params.RC_NUMBER.toInteger() > 0) sh "mkdir -p test-results-osd-${env.BUILD_NUMBER}" sh "curl -sSL https://ci.opensearch.org/ci/dbc/integ-test-opensearch-dashboards/${env.version}/${env.buildId}/${env.platform}/${env.architecture}/${env.distribution}/test-results/${env.BUILD_NUMBER}/integ-test/test-report.yml --output test-results-osd-${env.BUILD_NUMBER}/test-report.yml" diff --git a/jenkins/opensearch/distribution-build.jenkinsfile b/jenkins/opensearch/distribution-build.jenkinsfile index ec27ebf8d6..77058a540b 100644 --- a/jenkins/opensearch/distribution-build.jenkinsfile +++ b/jenkins/opensearch/distribution-build.jenkinsfile @@ -891,6 +891,7 @@ pipeline { node(AGENT_LINUX_X64) { checkout scm script { + sleep 10 def rc = (params.RC_NUMBER.toInteger() > 0) publishDistributionBuildResults( failureMessages: buildMessage(search: 'Error building'), diff --git a/jenkins/opensearch/integ-test.jenkinsfile b/jenkins/opensearch/integ-test.jenkinsfile index 73d7a6ba6f..e2cd82288d 100644 --- a/jenkins/opensearch/integ-test.jenkinsfile +++ b/jenkins/opensearch/integ-test.jenkinsfile @@ -326,6 +326,7 @@ pipeline { } retry(5) { node(agent_nodes['linux_x64']) { + sleep 10 def rc = (params.RC_NUMBER.toInteger() > 0) sh "mkdir -p test-results-os-${env.BUILD_NUMBER}" sh "curl -sSL https://ci.opensearch.org/ci/dbc/integ-test/${env.version}/${env.buildId}/${env.platform}/${env.architecture}/${env.distribution}/test-results/${env.BUILD_NUMBER}/integ-test/test-report.yml --output test-results-os-${env.BUILD_NUMBER}/test-report.yml"