This is an automated email from the ASF dual-hosted git repository.
tqchen pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/tvm.git
The following commit(s) were added to refs/heads/main by this push:
new 835e695783 [CI] Exit the build for AbortException (#18227)
835e695783 is described below
commit 835e695783ae270a12826839f7e11a82bebfd9dc
Author: Yong Wu <[email protected]>
AuthorDate: Sun Aug 24 11:50:42 2025 -0700
[CI] Exit the build for AbortException (#18227)
[CI] Exit the build if met AbortException
---
ci/jenkins/generated/arm_jenkinsfile.groovy | 5 ++++-
ci/jenkins/generated/cpu_jenkinsfile.groovy | 5 ++++-
ci/jenkins/generated/gpu_jenkinsfile.groovy | 5 ++++-
ci/jenkins/generated/hexagon_jenkinsfile.groovy | 5 ++++-
ci/jenkins/generated/i386_jenkinsfile.groovy | 5 ++++-
ci/jenkins/generated/wasm_jenkinsfile.groovy | 5 ++++-
ci/jenkins/templates/utils/macros.j2 | 3 +++
7 files changed, 27 insertions(+), 6 deletions(-)
diff --git a/ci/jenkins/generated/arm_jenkinsfile.groovy
b/ci/jenkins/generated/arm_jenkinsfile.groovy
index 9e4afc8f13..e8f1a93e8b 100644
--- a/ci/jenkins/generated/arm_jenkinsfile.groovy
+++ b/ci/jenkins/generated/arm_jenkinsfile.groovy
@@ -60,7 +60,7 @@
// 'python3 jenkins/generate.py'
// Note: This timestamp is here to ensure that updates to the Jenkinsfile are
// always rebased on main before merging:
-// Generated at 2025-06-03T18:16:35.851073
+// Generated at 2025-08-24T11:52:44.689092
import org.jenkinsci.plugins.pipeline.modeldefinition.Utils
// These are set at runtime from data in ci/jenkins/docker-images.yml, update
@@ -532,6 +532,9 @@ def build() {
stage('Build') {
try {
run_build('ARM-GRAVITON3-SPOT')
+ } catch (hudson.AbortException abortEx) {
+ echo "Received normal AbortException, exit now. Details:" +
abortEx.toString()
+ throw abortEx
} catch (Throwable ex) {
echo 'Exception during SPOT run ' + ex.toString()
if (is_last_build()) {
diff --git a/ci/jenkins/generated/cpu_jenkinsfile.groovy
b/ci/jenkins/generated/cpu_jenkinsfile.groovy
index daadc16c76..5eb14374df 100644
--- a/ci/jenkins/generated/cpu_jenkinsfile.groovy
+++ b/ci/jenkins/generated/cpu_jenkinsfile.groovy
@@ -60,7 +60,7 @@
// 'python3 jenkins/generate.py'
// Note: This timestamp is here to ensure that updates to the Jenkinsfile are
// always rebased on main before merging:
-// Generated at 2025-06-03T18:16:35.861918
+// Generated at 2025-08-24T11:52:44.639508
import org.jenkinsci.plugins.pipeline.modeldefinition.Utils
// These are set at runtime from data in ci/jenkins/docker-images.yml, update
@@ -532,6 +532,9 @@ def build() {
stage('Build') {
try {
run_build('CPU-SPOT')
+ } catch (hudson.AbortException abortEx) {
+ echo "Received normal AbortException, exit now. Details:" +
abortEx.toString()
+ throw abortEx
} catch (Throwable ex) {
echo 'Exception during SPOT run ' + ex.toString()
if (is_last_build()) {
diff --git a/ci/jenkins/generated/gpu_jenkinsfile.groovy
b/ci/jenkins/generated/gpu_jenkinsfile.groovy
index 1fc4348c6f..e94afd0b4f 100644
--- a/ci/jenkins/generated/gpu_jenkinsfile.groovy
+++ b/ci/jenkins/generated/gpu_jenkinsfile.groovy
@@ -60,7 +60,7 @@
// 'python3 jenkins/generate.py'
// Note: This timestamp is here to ensure that updates to the Jenkinsfile are
// always rebased on main before merging:
-// Generated at 2025-06-03T18:16:35.885417
+// Generated at 2025-08-24T11:52:44.671187
import org.jenkinsci.plugins.pipeline.modeldefinition.Utils
// These are set at runtime from data in ci/jenkins/docker-images.yml, update
@@ -538,6 +538,9 @@ def build() {
stage('Build') {
try {
run_build('CPU-SPOT')
+ } catch (hudson.AbortException abortEx) {
+ echo "Received normal AbortException, exit now. Details:" +
abortEx.toString()
+ throw abortEx
} catch (Throwable ex) {
echo 'Exception during SPOT run ' + ex.toString()
if (is_last_build()) {
diff --git a/ci/jenkins/generated/hexagon_jenkinsfile.groovy
b/ci/jenkins/generated/hexagon_jenkinsfile.groovy
index 173506fcce..cd98d870f7 100644
--- a/ci/jenkins/generated/hexagon_jenkinsfile.groovy
+++ b/ci/jenkins/generated/hexagon_jenkinsfile.groovy
@@ -60,7 +60,7 @@
// 'python3 jenkins/generate.py'
// Note: This timestamp is here to ensure that updates to the Jenkinsfile are
// always rebased on main before merging:
-// Generated at 2025-06-03T18:16:35.839798
+// Generated at 2025-08-24T11:52:44.622432
import org.jenkinsci.plugins.pipeline.modeldefinition.Utils
// These are set at runtime from data in ci/jenkins/docker-images.yml, update
@@ -536,6 +536,9 @@ def build() {
stage('Build') {
try {
run_build('CPU-SPOT')
+ } catch (hudson.AbortException abortEx) {
+ echo "Received normal AbortException, exit now. Details:" +
abortEx.toString()
+ throw abortEx
} catch (Throwable ex) {
echo 'Exception during SPOT run ' + ex.toString()
if (is_last_build()) {
diff --git a/ci/jenkins/generated/i386_jenkinsfile.groovy
b/ci/jenkins/generated/i386_jenkinsfile.groovy
index 3ef2b532ba..e62661f0b4 100644
--- a/ci/jenkins/generated/i386_jenkinsfile.groovy
+++ b/ci/jenkins/generated/i386_jenkinsfile.groovy
@@ -60,7 +60,7 @@
// 'python3 jenkins/generate.py'
// Note: This timestamp is here to ensure that updates to the Jenkinsfile are
// always rebased on main before merging:
-// Generated at 2025-06-03T18:16:35.814567
+// Generated at 2025-08-24T11:52:44.655312
import org.jenkinsci.plugins.pipeline.modeldefinition.Utils
// These are set at runtime from data in ci/jenkins/docker-images.yml, update
@@ -532,6 +532,9 @@ def build() {
stage('Build') {
try {
run_build('CPU-SPOT')
+ } catch (hudson.AbortException abortEx) {
+ echo "Received normal AbortException, exit now. Details:" +
abortEx.toString()
+ throw abortEx
} catch (Throwable ex) {
echo 'Exception during SPOT run ' + ex.toString()
if (is_last_build()) {
diff --git a/ci/jenkins/generated/wasm_jenkinsfile.groovy
b/ci/jenkins/generated/wasm_jenkinsfile.groovy
index d214fb3710..4a6ccac25f 100644
--- a/ci/jenkins/generated/wasm_jenkinsfile.groovy
+++ b/ci/jenkins/generated/wasm_jenkinsfile.groovy
@@ -60,7 +60,7 @@
// 'python3 jenkins/generate.py'
// Note: This timestamp is here to ensure that updates to the Jenkinsfile are
// always rebased on main before merging:
-// Generated at 2025-06-03T18:16:35.874501
+// Generated at 2025-08-24T11:52:44.735820
import org.jenkinsci.plugins.pipeline.modeldefinition.Utils
// These are set at runtime from data in ci/jenkins/docker-images.yml, update
@@ -534,6 +534,9 @@ def build() {
stage('Build') {
try {
run_build('CPU-SPOT')
+ } catch (hudson.AbortException abortEx) {
+ echo "Received normal AbortException, exit now. Details:" +
abortEx.toString()
+ throw abortEx
} catch (Throwable ex) {
echo 'Exception during SPOT run ' + ex.toString()
if (is_last_build()) {
diff --git a/ci/jenkins/templates/utils/macros.j2
b/ci/jenkins/templates/utils/macros.j2
index 662d9aef11..c96432840d 100644
--- a/ci/jenkins/templates/utils/macros.j2
+++ b/ci/jenkins/templates/utils/macros.j2
@@ -95,6 +95,9 @@ def build() {
stage('Build') {
try {
run_build('{{ node }}-SPOT')
+ } catch (hudson.AbortException abortEx) {
+ echo "Received normal AbortException, exit now. Details:" +
abortEx.toString()
+ throw abortEx
} catch (Throwable ex) {
echo 'Exception during SPOT run ' + ex.toString()
if (is_last_build()) {