Skip to content

Commit

Permalink
Increase timeout for validation workflow stages (#5205)
Browse files Browse the repository at this point in the history
Signed-off-by: Divya Madala <[email protected]>
  • Loading branch information
Divyaasm authored Dec 12, 2024
1 parent 13225f2 commit c79913e
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 12 deletions.
2 changes: 1 addition & 1 deletion jenkins/validate-artifacts/validate-artifacts.jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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})
Expand All @@ -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})
Expand All @@ -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})
Expand All @@ -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})
Expand All @@ -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})
Expand All @@ -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})
Expand All @@ -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})
Expand All @@ -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})
Expand All @@ -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})
Expand All @@ -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})
Expand All @@ -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})
Expand Down

0 comments on commit c79913e

Please sign in to comment.