From 1bfb3d352e8eb41321bafd81c6dc3e9fb4e4e33f Mon Sep 17 00:00:00 2001 From: Divya Madala Date: Wed, 11 Dec 2024 14:45:53 -0800 Subject: [PATCH] Increase timeout for validation workflow stages Signed-off-by: Divya Madala --- .../validate-artifacts.jenkinsfile | 2 +- .../validate-artifacts.jenkinsfile.txt | 22 +++++++++---------- 2 files changed, 12 insertions(+), 12 deletions(-) diff --git a/jenkins/validate-artifacts/validate-artifacts.jenkinsfile b/jenkins/validate-artifacts/validate-artifacts.jenkinsfile index 8fbbd6fb97..06523e8bfa 100644 --- a/jenkins/validate-artifacts/validate-artifacts.jenkinsfile +++ b/jenkins/validate-artifacts/validate-artifacts.jenkinsfile @@ -205,7 +205,7 @@ pipeline { } validateDistributions["${local_distribution}-${local_architecture}"] = { // Using scripted pipelines to trigger dynamic parallel stages - timeout(time: 30) { + timeout(time: 1, unit: 'HOURS') { if ("${local_distribution}" == "docker"){ node(agent_nodes_docker["$local_architecture"]) { try { diff --git a/tests/jenkins/jenkinsjob-regression-files/validate-artifacts/validate-artifacts.jenkinsfile.txt b/tests/jenkins/jenkinsjob-regression-files/validate-artifacts/validate-artifacts.jenkinsfile.txt index 1423f2c790..1039b27527 100644 --- a/tests/jenkins/jenkinsjob-regression-files/validate-artifacts/validate-artifacts.jenkinsfile.txt +++ b/tests/jenkins/jenkinsjob-regression-files/validate-artifacts/validate-artifacts.jenkinsfile.txt @@ -20,7 +20,7 @@ validate-artifacts.echo(Validating Distribution: deb-x64) validate-artifacts.echo(Validating Distribution: zip-x64) validate-artifacts.parallel({docker-x64=groovy.lang.Closure, tar-x64=groovy.lang.Closure, rpm-x64=groovy.lang.Closure, yum-x64=groovy.lang.Closure, deb-x64=groovy.lang.Closure, zip-x64=groovy.lang.Closure}) - validate-artifacts.timeout({time=30}, groovy.lang.Closure) + validate-artifacts.timeout({time=1, unit=HOURS}, groovy.lang.Closure) validate-artifacts.node(Jenkins-Agent-AL2023-X64-C54xlarge-Single-Host, groovy.lang.Closure) validate-artifacts.unstash(validate-artifacts-123) validate-artifacts.validateArtifacts({version=2.3.0, distribution=docker, arch=x64, os_build_number=6039, osd_build_number=4104, projects=opensearch opensearch-dashboards, docker_args=using-staging-artifact-only, docker_source=dockerhub ecr}) @@ -29,7 +29,7 @@ validate-artifacts.echo(Completed validation for docker-x64) validate-artifacts.postCleanup() postCleanup.cleanWs({disableDeferredWipeout=true, deleteDirs=true}) - validate-artifacts.timeout({time=30}, groovy.lang.Closure) + validate-artifacts.timeout({time=1, unit=HOURS}, groovy.lang.Closure) validate-artifacts.node(Jenkins-Agent-AL2023-X64-M54xlarge-Docker-Host, groovy.lang.Closure) validate-artifacts.unstash(validate-artifacts-123) validate-artifacts.validateArtifacts({version=2.3.0, distribution=tar, arch=x64, platform=linux, os_build_number=6039, osd_build_number=4104, projects=opensearch opensearch-dashboards, artifact_type=production, allow_http=false}) @@ -38,7 +38,7 @@ validate-artifacts.echo(Completed validation for tar-x64) validate-artifacts.postCleanup() postCleanup.cleanWs({disableDeferredWipeout=true, deleteDirs=true}) - validate-artifacts.timeout({time=30}, groovy.lang.Closure) + validate-artifacts.timeout({time=1, unit=HOURS}, groovy.lang.Closure) validate-artifacts.node(Jenkins-Agent-AL2023-X64-M54xlarge-Docker-Host, groovy.lang.Closure) validate-artifacts.unstash(validate-artifacts-123) validate-artifacts.validateArtifacts({version=2.3.0, distribution=rpm, arch=x64, platform=linux, os_build_number=6039, osd_build_number=4104, projects=opensearch opensearch-dashboards, artifact_type=production, allow_http=false}) @@ -47,7 +47,7 @@ validate-artifacts.echo(Completed validation for rpm-x64) validate-artifacts.postCleanup() postCleanup.cleanWs({disableDeferredWipeout=true, deleteDirs=true}) - validate-artifacts.timeout({time=30}, groovy.lang.Closure) + validate-artifacts.timeout({time=1, unit=HOURS}, groovy.lang.Closure) validate-artifacts.node(Jenkins-Agent-AL2023-X64-M54xlarge-Docker-Host, groovy.lang.Closure) validate-artifacts.unstash(validate-artifacts-123) validate-artifacts.validateArtifacts({version=2.3.0, distribution=yum, arch=x64, platform=linux, os_build_number=6039, osd_build_number=4104, projects=opensearch opensearch-dashboards, artifact_type=production, allow_http=false}) @@ -56,7 +56,7 @@ validate-artifacts.echo(Completed validation for yum-x64) validate-artifacts.postCleanup() postCleanup.cleanWs({disableDeferredWipeout=true, deleteDirs=true}) - validate-artifacts.timeout({time=30}, groovy.lang.Closure) + validate-artifacts.timeout({time=1, unit=HOURS}, groovy.lang.Closure) validate-artifacts.node(Jenkins-Agent-AL2023-X64-M54xlarge-Docker-Host, groovy.lang.Closure) validate-artifacts.unstash(validate-artifacts-123) validate-artifacts.validateArtifacts({version=2.3.0, distribution=deb, arch=x64, platform=linux, os_build_number=6039, osd_build_number=4104, projects=opensearch opensearch-dashboards, artifact_type=production, allow_http=false}) @@ -65,7 +65,7 @@ validate-artifacts.echo(Completed validation for deb-x64) validate-artifacts.postCleanup() postCleanup.cleanWs({disableDeferredWipeout=true, deleteDirs=true}) - validate-artifacts.timeout({time=30}, groovy.lang.Closure) + validate-artifacts.timeout({time=1, unit=HOURS}, groovy.lang.Closure) validate-artifacts.node(Jenkins-Agent-Windows2019-X64-M54xlarge-Docker-Host, groovy.lang.Closure) validate-artifacts.unstash(validate-artifacts-123) validate-artifacts.validateArtifacts({version=2.3.0, distribution=zip, arch=x64, platform=windows, os_build_number=6039, osd_build_number=4104, projects=opensearch opensearch-dashboards, artifact_type=production, allow_http=false}) @@ -82,7 +82,7 @@ validate-artifacts.echo(Validating Distribution: zip-arm64) validate-artifacts.echo(Skipping the stage for zip distribution and arm64 architecture) validate-artifacts.parallel({docker-arm64=groovy.lang.Closure, tar-arm64=groovy.lang.Closure, rpm-arm64=groovy.lang.Closure, yum-arm64=groovy.lang.Closure, deb-arm64=groovy.lang.Closure}) - validate-artifacts.timeout({time=30}, groovy.lang.Closure) + validate-artifacts.timeout({time=1, unit=HOURS}, groovy.lang.Closure) validate-artifacts.node(Jenkins-Agent-AL2023-Arm64-C6g4xlarge-Single-Host, groovy.lang.Closure) validate-artifacts.unstash(validate-artifacts-123) validate-artifacts.validateArtifacts({version=2.3.0, distribution=docker, arch=arm64, os_build_number=6039, osd_build_number=4104, projects=opensearch opensearch-dashboards, docker_args=using-staging-artifact-only, docker_source=dockerhub ecr}) @@ -91,7 +91,7 @@ validate-artifacts.echo(Completed validation for docker-arm64) validate-artifacts.postCleanup() postCleanup.cleanWs({disableDeferredWipeout=true, deleteDirs=true}) - validate-artifacts.timeout({time=30}, groovy.lang.Closure) + validate-artifacts.timeout({time=1, unit=HOURS}, groovy.lang.Closure) validate-artifacts.node(Jenkins-Agent-AL2023-Arm64-M6g4xlarge-Docker-Host, groovy.lang.Closure) validate-artifacts.unstash(validate-artifacts-123) validate-artifacts.validateArtifacts({version=2.3.0, distribution=tar, arch=arm64, platform=linux, os_build_number=6039, osd_build_number=4104, projects=opensearch opensearch-dashboards, artifact_type=production, allow_http=false}) @@ -100,7 +100,7 @@ validate-artifacts.echo(Completed validation for tar-arm64) validate-artifacts.postCleanup() postCleanup.cleanWs({disableDeferredWipeout=true, deleteDirs=true}) - validate-artifacts.timeout({time=30}, groovy.lang.Closure) + validate-artifacts.timeout({time=1, unit=HOURS}, groovy.lang.Closure) validate-artifacts.node(Jenkins-Agent-AL2023-Arm64-M6g4xlarge-Docker-Host, groovy.lang.Closure) validate-artifacts.unstash(validate-artifacts-123) validate-artifacts.validateArtifacts({version=2.3.0, distribution=rpm, arch=arm64, platform=linux, os_build_number=6039, osd_build_number=4104, projects=opensearch opensearch-dashboards, artifact_type=production, allow_http=false}) @@ -109,7 +109,7 @@ validate-artifacts.echo(Completed validation for rpm-arm64) validate-artifacts.postCleanup() postCleanup.cleanWs({disableDeferredWipeout=true, deleteDirs=true}) - validate-artifacts.timeout({time=30}, groovy.lang.Closure) + validate-artifacts.timeout({time=1, unit=HOURS}, groovy.lang.Closure) validate-artifacts.node(Jenkins-Agent-AL2023-Arm64-M6g4xlarge-Docker-Host, groovy.lang.Closure) validate-artifacts.unstash(validate-artifacts-123) validate-artifacts.validateArtifacts({version=2.3.0, distribution=yum, arch=arm64, platform=linux, os_build_number=6039, osd_build_number=4104, projects=opensearch opensearch-dashboards, artifact_type=production, allow_http=false}) @@ -118,7 +118,7 @@ validate-artifacts.echo(Completed validation for yum-arm64) validate-artifacts.postCleanup() postCleanup.cleanWs({disableDeferredWipeout=true, deleteDirs=true}) - validate-artifacts.timeout({time=30}, groovy.lang.Closure) + validate-artifacts.timeout({time=1, unit=HOURS}, groovy.lang.Closure) validate-artifacts.node(Jenkins-Agent-AL2023-Arm64-M6g4xlarge-Docker-Host, groovy.lang.Closure) validate-artifacts.unstash(validate-artifacts-123) validate-artifacts.validateArtifacts({version=2.3.0, distribution=deb, arch=arm64, platform=linux, os_build_number=6039, osd_build_number=4104, projects=opensearch opensearch-dashboards, artifact_type=production, allow_http=false})