diff --git a/ci/jenkins/generated/arm_jenkinsfile.groovy b/ci/jenkins/generated/arm_jenkinsfile.groovy index f387687528c0..58d869153f6a 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 2022-12-05T14:48:42.092397 +// Generated at 2022-12-07T07:48:31.003027 import org.jenkinsci.plugins.pipeline.modeldefinition.Utils ci_lint = 'tlcpack/ci-lint:20221013-060115-61c9742ea' @@ -529,7 +529,7 @@ build() -def shard_run_integration_aarch64_1_of_4() { +def shard_run_integration_aarch64_1_of_5() { if (!skip_ci && is_docs_only_build != 1) { node('ARM-SMALL') { ws("workspace/exec_${env.EXECUTOR_NUMBER}/tvm/ut-python-arm") { @@ -540,7 +540,7 @@ def shard_run_integration_aarch64_1_of_4() { withEnv([ 'PLATFORM=arm', 'TEST_STEP_NAME=integration: aarch64', - 'TVM_NUM_SHARDS=4', + 'TVM_NUM_SHARDS=5', 'TVM_SHARD_INDEX=0', "SKIP_SLOW_TESTS=${skip_slow_tests}"], { sh( @@ -571,11 +571,11 @@ def shard_run_integration_aarch64_1_of_4() { } } } else { - Utils.markStageSkippedForConditional('integration: aarch64 1 of 4') + Utils.markStageSkippedForConditional('integration: aarch64 1 of 5') } } -def shard_run_integration_aarch64_2_of_4() { +def shard_run_integration_aarch64_2_of_5() { if (!skip_ci && is_docs_only_build != 1) { node('ARM-SMALL') { ws("workspace/exec_${env.EXECUTOR_NUMBER}/tvm/ut-python-arm") { @@ -586,7 +586,7 @@ def shard_run_integration_aarch64_2_of_4() { withEnv([ 'PLATFORM=arm', 'TEST_STEP_NAME=integration: aarch64', - 'TVM_NUM_SHARDS=4', + 'TVM_NUM_SHARDS=5', 'TVM_SHARD_INDEX=1', "SKIP_SLOW_TESTS=${skip_slow_tests}"], { sh( @@ -617,11 +617,11 @@ def shard_run_integration_aarch64_2_of_4() { } } } else { - Utils.markStageSkippedForConditional('integration: aarch64 2 of 4') + Utils.markStageSkippedForConditional('integration: aarch64 2 of 5') } } -def shard_run_integration_aarch64_3_of_4() { +def shard_run_integration_aarch64_3_of_5() { if (!skip_ci && is_docs_only_build != 1) { node('ARM-SMALL') { ws("workspace/exec_${env.EXECUTOR_NUMBER}/tvm/ut-python-arm") { @@ -632,7 +632,7 @@ def shard_run_integration_aarch64_3_of_4() { withEnv([ 'PLATFORM=arm', 'TEST_STEP_NAME=integration: aarch64', - 'TVM_NUM_SHARDS=4', + 'TVM_NUM_SHARDS=5', 'TVM_SHARD_INDEX=2', "SKIP_SLOW_TESTS=${skip_slow_tests}"], { sh( @@ -663,11 +663,11 @@ def shard_run_integration_aarch64_3_of_4() { } } } else { - Utils.markStageSkippedForConditional('integration: aarch64 3 of 4') + Utils.markStageSkippedForConditional('integration: aarch64 3 of 5') } } -def shard_run_integration_aarch64_4_of_4() { +def shard_run_integration_aarch64_4_of_5() { if (!skip_ci && is_docs_only_build != 1) { node('ARM-SMALL') { ws("workspace/exec_${env.EXECUTOR_NUMBER}/tvm/ut-python-arm") { @@ -678,7 +678,7 @@ def shard_run_integration_aarch64_4_of_4() { withEnv([ 'PLATFORM=arm', 'TEST_STEP_NAME=integration: aarch64', - 'TVM_NUM_SHARDS=4', + 'TVM_NUM_SHARDS=5', 'TVM_SHARD_INDEX=3', "SKIP_SLOW_TESTS=${skip_slow_tests}"], { sh( @@ -709,7 +709,53 @@ def shard_run_integration_aarch64_4_of_4() { } } } else { - Utils.markStageSkippedForConditional('integration: aarch64 4 of 4') + Utils.markStageSkippedForConditional('integration: aarch64 4 of 5') + } +} + +def shard_run_integration_aarch64_5_of_5() { + if (!skip_ci && is_docs_only_build != 1) { + node('ARM-SMALL') { + ws("workspace/exec_${env.EXECUTOR_NUMBER}/tvm/ut-python-arm") { + try { + init_git() + docker_init(ci_arm) + timeout(time: max_time, unit: 'MINUTES') { + withEnv([ + 'PLATFORM=arm', + 'TEST_STEP_NAME=integration: aarch64', + 'TVM_NUM_SHARDS=5', + 'TVM_SHARD_INDEX=4', + "SKIP_SLOW_TESTS=${skip_slow_tests}"], { + sh( + script: "./${jenkins_scripts_root}/s3.py --action download --bucket ${s3_bucket} --prefix ${s3_prefix}/arm", + label: 'Download artifacts from S3', + ) + + ci_setup(ci_arm) + python_unittest(ci_arm) + sh ( + script: "${docker_run} ${ci_arm} ./tests/scripts/task_python_integration.sh", + label: 'Run CPU integration tests', + ) + }) + } + } finally { + try { + sh( + script: "./${jenkins_scripts_root}/s3.py --action upload --bucket ${s3_bucket} --prefix ${s3_prefix}/pytest-results/integration_aarch64 --items build/pytest-results", + label: 'Upload JUnits to S3', + ) + + junit 'build/pytest-results/*.xml' + } catch (Exception e) { + echo 'Exception during JUnit upload: ' + e.toString() + } + } + } + } + } else { + Utils.markStageSkippedForConditional('integration: aarch64 5 of 5') } } @@ -914,17 +960,20 @@ def test() { SKIP_SLOW_TESTS = "${skip_slow_tests}" } parallel( - 'integration: aarch64 1 of 4': { - shard_run_integration_aarch64_1_of_4() + 'integration: aarch64 1 of 5': { + shard_run_integration_aarch64_1_of_5() + }, + 'integration: aarch64 2 of 5': { + shard_run_integration_aarch64_2_of_5() }, - 'integration: aarch64 2 of 4': { - shard_run_integration_aarch64_2_of_4() + 'integration: aarch64 3 of 5': { + shard_run_integration_aarch64_3_of_5() }, - 'integration: aarch64 3 of 4': { - shard_run_integration_aarch64_3_of_4() + 'integration: aarch64 4 of 5': { + shard_run_integration_aarch64_4_of_5() }, - 'integration: aarch64 4 of 4': { - shard_run_integration_aarch64_4_of_4() + 'integration: aarch64 5 of 5': { + shard_run_integration_aarch64_5_of_5() }, 'topi: aarch64 1 of 2': { shard_run_topi_aarch64_1_of_2() diff --git a/ci/jenkins/generated/cortexm_jenkinsfile.groovy b/ci/jenkins/generated/cortexm_jenkinsfile.groovy index 76dbbbb7a3d8..89e02dcf607f 100644 --- a/ci/jenkins/generated/cortexm_jenkinsfile.groovy +++ b/ci/jenkins/generated/cortexm_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 2022-12-05T14:48:41.929980 +// Generated at 2022-12-07T07:48:30.845954 import org.jenkinsci.plugins.pipeline.modeldefinition.Utils ci_lint = 'tlcpack/ci-lint:20221013-060115-61c9742ea' @@ -529,7 +529,7 @@ build() -def shard_run_test_Cortex_M_1_of_12() { +def shard_run_test_Cortex_M_1_of_20() { if (!skip_ci && is_docs_only_build != 1) { node('CPU-SMALL') { ws("workspace/exec_${env.EXECUTOR_NUMBER}/tvm/test-cortexm") { @@ -540,7 +540,7 @@ def shard_run_test_Cortex_M_1_of_12() { withEnv([ 'PLATFORM=cortexm', 'TEST_STEP_NAME=test: Cortex-M', - 'TVM_NUM_SHARDS=12', + 'TVM_NUM_SHARDS=20', 'TVM_SHARD_INDEX=0', "SKIP_SLOW_TESTS=${skip_slow_tests}"], { sh( @@ -576,11 +576,11 @@ def shard_run_test_Cortex_M_1_of_12() { } } } else { - Utils.markStageSkippedForConditional('test: Cortex-M 1 of 12') + Utils.markStageSkippedForConditional('test: Cortex-M 1 of 20') } } -def shard_run_test_Cortex_M_2_of_12() { +def shard_run_test_Cortex_M_2_of_20() { if (!skip_ci && is_docs_only_build != 1) { node('CPU-SMALL') { ws("workspace/exec_${env.EXECUTOR_NUMBER}/tvm/test-cortexm") { @@ -591,7 +591,7 @@ def shard_run_test_Cortex_M_2_of_12() { withEnv([ 'PLATFORM=cortexm', 'TEST_STEP_NAME=test: Cortex-M', - 'TVM_NUM_SHARDS=12', + 'TVM_NUM_SHARDS=20', 'TVM_SHARD_INDEX=1', "SKIP_SLOW_TESTS=${skip_slow_tests}"], { sh( @@ -621,11 +621,11 @@ def shard_run_test_Cortex_M_2_of_12() { } } } else { - Utils.markStageSkippedForConditional('test: Cortex-M 2 of 12') + Utils.markStageSkippedForConditional('test: Cortex-M 2 of 20') } } -def shard_run_test_Cortex_M_3_of_12() { +def shard_run_test_Cortex_M_3_of_20() { if (!skip_ci && is_docs_only_build != 1) { node('CPU-SMALL') { ws("workspace/exec_${env.EXECUTOR_NUMBER}/tvm/test-cortexm") { @@ -636,7 +636,7 @@ def shard_run_test_Cortex_M_3_of_12() { withEnv([ 'PLATFORM=cortexm', 'TEST_STEP_NAME=test: Cortex-M', - 'TVM_NUM_SHARDS=12', + 'TVM_NUM_SHARDS=20', 'TVM_SHARD_INDEX=2', "SKIP_SLOW_TESTS=${skip_slow_tests}"], { sh( @@ -666,11 +666,11 @@ def shard_run_test_Cortex_M_3_of_12() { } } } else { - Utils.markStageSkippedForConditional('test: Cortex-M 3 of 12') + Utils.markStageSkippedForConditional('test: Cortex-M 3 of 20') } } -def shard_run_test_Cortex_M_4_of_12() { +def shard_run_test_Cortex_M_4_of_20() { if (!skip_ci && is_docs_only_build != 1) { node('CPU-SMALL') { ws("workspace/exec_${env.EXECUTOR_NUMBER}/tvm/test-cortexm") { @@ -681,7 +681,7 @@ def shard_run_test_Cortex_M_4_of_12() { withEnv([ 'PLATFORM=cortexm', 'TEST_STEP_NAME=test: Cortex-M', - 'TVM_NUM_SHARDS=12', + 'TVM_NUM_SHARDS=20', 'TVM_SHARD_INDEX=3', "SKIP_SLOW_TESTS=${skip_slow_tests}"], { sh( @@ -711,11 +711,11 @@ def shard_run_test_Cortex_M_4_of_12() { } } } else { - Utils.markStageSkippedForConditional('test: Cortex-M 4 of 12') + Utils.markStageSkippedForConditional('test: Cortex-M 4 of 20') } } -def shard_run_test_Cortex_M_5_of_12() { +def shard_run_test_Cortex_M_5_of_20() { if (!skip_ci && is_docs_only_build != 1) { node('CPU-SMALL') { ws("workspace/exec_${env.EXECUTOR_NUMBER}/tvm/test-cortexm") { @@ -726,7 +726,7 @@ def shard_run_test_Cortex_M_5_of_12() { withEnv([ 'PLATFORM=cortexm', 'TEST_STEP_NAME=test: Cortex-M', - 'TVM_NUM_SHARDS=12', + 'TVM_NUM_SHARDS=20', 'TVM_SHARD_INDEX=4', "SKIP_SLOW_TESTS=${skip_slow_tests}"], { sh( @@ -756,11 +756,11 @@ def shard_run_test_Cortex_M_5_of_12() { } } } else { - Utils.markStageSkippedForConditional('test: Cortex-M 5 of 12') + Utils.markStageSkippedForConditional('test: Cortex-M 5 of 20') } } -def shard_run_test_Cortex_M_6_of_12() { +def shard_run_test_Cortex_M_6_of_20() { if (!skip_ci && is_docs_only_build != 1) { node('CPU-SMALL') { ws("workspace/exec_${env.EXECUTOR_NUMBER}/tvm/test-cortexm") { @@ -771,7 +771,7 @@ def shard_run_test_Cortex_M_6_of_12() { withEnv([ 'PLATFORM=cortexm', 'TEST_STEP_NAME=test: Cortex-M', - 'TVM_NUM_SHARDS=12', + 'TVM_NUM_SHARDS=20', 'TVM_SHARD_INDEX=5', "SKIP_SLOW_TESTS=${skip_slow_tests}"], { sh( @@ -801,11 +801,11 @@ def shard_run_test_Cortex_M_6_of_12() { } } } else { - Utils.markStageSkippedForConditional('test: Cortex-M 6 of 12') + Utils.markStageSkippedForConditional('test: Cortex-M 6 of 20') } } -def shard_run_test_Cortex_M_7_of_12() { +def shard_run_test_Cortex_M_7_of_20() { if (!skip_ci && is_docs_only_build != 1) { node('CPU-SMALL') { ws("workspace/exec_${env.EXECUTOR_NUMBER}/tvm/test-cortexm") { @@ -816,7 +816,7 @@ def shard_run_test_Cortex_M_7_of_12() { withEnv([ 'PLATFORM=cortexm', 'TEST_STEP_NAME=test: Cortex-M', - 'TVM_NUM_SHARDS=12', + 'TVM_NUM_SHARDS=20', 'TVM_SHARD_INDEX=6', "SKIP_SLOW_TESTS=${skip_slow_tests}"], { sh( @@ -846,11 +846,11 @@ def shard_run_test_Cortex_M_7_of_12() { } } } else { - Utils.markStageSkippedForConditional('test: Cortex-M 7 of 12') + Utils.markStageSkippedForConditional('test: Cortex-M 7 of 20') } } -def shard_run_test_Cortex_M_8_of_12() { +def shard_run_test_Cortex_M_8_of_20() { if (!skip_ci && is_docs_only_build != 1) { node('CPU-SMALL') { ws("workspace/exec_${env.EXECUTOR_NUMBER}/tvm/test-cortexm") { @@ -861,7 +861,7 @@ def shard_run_test_Cortex_M_8_of_12() { withEnv([ 'PLATFORM=cortexm', 'TEST_STEP_NAME=test: Cortex-M', - 'TVM_NUM_SHARDS=12', + 'TVM_NUM_SHARDS=20', 'TVM_SHARD_INDEX=7', "SKIP_SLOW_TESTS=${skip_slow_tests}"], { sh( @@ -891,11 +891,11 @@ def shard_run_test_Cortex_M_8_of_12() { } } } else { - Utils.markStageSkippedForConditional('test: Cortex-M 8 of 12') + Utils.markStageSkippedForConditional('test: Cortex-M 8 of 20') } } -def shard_run_test_Cortex_M_9_of_12() { +def shard_run_test_Cortex_M_9_of_20() { if (!skip_ci && is_docs_only_build != 1) { node('CPU-SMALL') { ws("workspace/exec_${env.EXECUTOR_NUMBER}/tvm/test-cortexm") { @@ -906,7 +906,7 @@ def shard_run_test_Cortex_M_9_of_12() { withEnv([ 'PLATFORM=cortexm', 'TEST_STEP_NAME=test: Cortex-M', - 'TVM_NUM_SHARDS=12', + 'TVM_NUM_SHARDS=20', 'TVM_SHARD_INDEX=8', "SKIP_SLOW_TESTS=${skip_slow_tests}"], { sh( @@ -936,11 +936,11 @@ def shard_run_test_Cortex_M_9_of_12() { } } } else { - Utils.markStageSkippedForConditional('test: Cortex-M 9 of 12') + Utils.markStageSkippedForConditional('test: Cortex-M 9 of 20') } } -def shard_run_test_Cortex_M_10_of_12() { +def shard_run_test_Cortex_M_10_of_20() { if (!skip_ci && is_docs_only_build != 1) { node('CPU-SMALL') { ws("workspace/exec_${env.EXECUTOR_NUMBER}/tvm/test-cortexm") { @@ -951,7 +951,7 @@ def shard_run_test_Cortex_M_10_of_12() { withEnv([ 'PLATFORM=cortexm', 'TEST_STEP_NAME=test: Cortex-M', - 'TVM_NUM_SHARDS=12', + 'TVM_NUM_SHARDS=20', 'TVM_SHARD_INDEX=9', "SKIP_SLOW_TESTS=${skip_slow_tests}"], { sh( @@ -981,11 +981,11 @@ def shard_run_test_Cortex_M_10_of_12() { } } } else { - Utils.markStageSkippedForConditional('test: Cortex-M 10 of 12') + Utils.markStageSkippedForConditional('test: Cortex-M 10 of 20') } } -def shard_run_test_Cortex_M_11_of_12() { +def shard_run_test_Cortex_M_11_of_20() { if (!skip_ci && is_docs_only_build != 1) { node('CPU-SMALL') { ws("workspace/exec_${env.EXECUTOR_NUMBER}/tvm/test-cortexm") { @@ -996,7 +996,7 @@ def shard_run_test_Cortex_M_11_of_12() { withEnv([ 'PLATFORM=cortexm', 'TEST_STEP_NAME=test: Cortex-M', - 'TVM_NUM_SHARDS=12', + 'TVM_NUM_SHARDS=20', 'TVM_SHARD_INDEX=10', "SKIP_SLOW_TESTS=${skip_slow_tests}"], { sh( @@ -1026,11 +1026,11 @@ def shard_run_test_Cortex_M_11_of_12() { } } } else { - Utils.markStageSkippedForConditional('test: Cortex-M 11 of 12') + Utils.markStageSkippedForConditional('test: Cortex-M 11 of 20') } } -def shard_run_test_Cortex_M_12_of_12() { +def shard_run_test_Cortex_M_12_of_20() { if (!skip_ci && is_docs_only_build != 1) { node('CPU-SMALL') { ws("workspace/exec_${env.EXECUTOR_NUMBER}/tvm/test-cortexm") { @@ -1041,7 +1041,7 @@ def shard_run_test_Cortex_M_12_of_12() { withEnv([ 'PLATFORM=cortexm', 'TEST_STEP_NAME=test: Cortex-M', - 'TVM_NUM_SHARDS=12', + 'TVM_NUM_SHARDS=20', 'TVM_SHARD_INDEX=11', "SKIP_SLOW_TESTS=${skip_slow_tests}"], { sh( @@ -1071,7 +1071,367 @@ def shard_run_test_Cortex_M_12_of_12() { } } } else { - Utils.markStageSkippedForConditional('test: Cortex-M 12 of 12') + Utils.markStageSkippedForConditional('test: Cortex-M 12 of 20') + } +} + +def shard_run_test_Cortex_M_13_of_20() { + if (!skip_ci && is_docs_only_build != 1) { + node('CPU-SMALL') { + ws("workspace/exec_${env.EXECUTOR_NUMBER}/tvm/test-cortexm") { + try { + init_git() + docker_init(ci_cortexm) + timeout(time: max_time, unit: 'MINUTES') { + withEnv([ + 'PLATFORM=cortexm', + 'TEST_STEP_NAME=test: Cortex-M', + 'TVM_NUM_SHARDS=20', + 'TVM_SHARD_INDEX=12', + "SKIP_SLOW_TESTS=${skip_slow_tests}"], { + sh( + script: "./${jenkins_scripts_root}/s3.py --action download --bucket ${s3_bucket} --prefix ${s3_prefix}/cortexm", + label: 'Download artifacts from S3', + ) + + ci_setup(ci_cortexm) + sh ( + script: "${docker_run} ${ci_cortexm} ./tests/scripts/task_python_microtvm.sh", + label: 'Run microTVM tests', + ) + }) + } + } finally { + try { + sh( + script: "./${jenkins_scripts_root}/s3.py --action upload --bucket ${s3_bucket} --prefix ${s3_prefix}/pytest-results/test_Cortex_M --items build/pytest-results", + label: 'Upload JUnits to S3', + ) + + junit 'build/pytest-results/*.xml' + } catch (Exception e) { + echo 'Exception during JUnit upload: ' + e.toString() + } + } + } + } + } else { + Utils.markStageSkippedForConditional('test: Cortex-M 13 of 20') + } +} + +def shard_run_test_Cortex_M_14_of_20() { + if (!skip_ci && is_docs_only_build != 1) { + node('CPU-SMALL') { + ws("workspace/exec_${env.EXECUTOR_NUMBER}/tvm/test-cortexm") { + try { + init_git() + docker_init(ci_cortexm) + timeout(time: max_time, unit: 'MINUTES') { + withEnv([ + 'PLATFORM=cortexm', + 'TEST_STEP_NAME=test: Cortex-M', + 'TVM_NUM_SHARDS=20', + 'TVM_SHARD_INDEX=13', + "SKIP_SLOW_TESTS=${skip_slow_tests}"], { + sh( + script: "./${jenkins_scripts_root}/s3.py --action download --bucket ${s3_bucket} --prefix ${s3_prefix}/cortexm", + label: 'Download artifacts from S3', + ) + + ci_setup(ci_cortexm) + sh ( + script: "${docker_run} ${ci_cortexm} ./tests/scripts/task_python_microtvm.sh", + label: 'Run microTVM tests', + ) + }) + } + } finally { + try { + sh( + script: "./${jenkins_scripts_root}/s3.py --action upload --bucket ${s3_bucket} --prefix ${s3_prefix}/pytest-results/test_Cortex_M --items build/pytest-results", + label: 'Upload JUnits to S3', + ) + + junit 'build/pytest-results/*.xml' + } catch (Exception e) { + echo 'Exception during JUnit upload: ' + e.toString() + } + } + } + } + } else { + Utils.markStageSkippedForConditional('test: Cortex-M 14 of 20') + } +} + +def shard_run_test_Cortex_M_15_of_20() { + if (!skip_ci && is_docs_only_build != 1) { + node('CPU-SMALL') { + ws("workspace/exec_${env.EXECUTOR_NUMBER}/tvm/test-cortexm") { + try { + init_git() + docker_init(ci_cortexm) + timeout(time: max_time, unit: 'MINUTES') { + withEnv([ + 'PLATFORM=cortexm', + 'TEST_STEP_NAME=test: Cortex-M', + 'TVM_NUM_SHARDS=20', + 'TVM_SHARD_INDEX=14', + "SKIP_SLOW_TESTS=${skip_slow_tests}"], { + sh( + script: "./${jenkins_scripts_root}/s3.py --action download --bucket ${s3_bucket} --prefix ${s3_prefix}/cortexm", + label: 'Download artifacts from S3', + ) + + ci_setup(ci_cortexm) + sh ( + script: "${docker_run} ${ci_cortexm} ./tests/scripts/task_python_microtvm.sh", + label: 'Run microTVM tests', + ) + }) + } + } finally { + try { + sh( + script: "./${jenkins_scripts_root}/s3.py --action upload --bucket ${s3_bucket} --prefix ${s3_prefix}/pytest-results/test_Cortex_M --items build/pytest-results", + label: 'Upload JUnits to S3', + ) + + junit 'build/pytest-results/*.xml' + } catch (Exception e) { + echo 'Exception during JUnit upload: ' + e.toString() + } + } + } + } + } else { + Utils.markStageSkippedForConditional('test: Cortex-M 15 of 20') + } +} + +def shard_run_test_Cortex_M_16_of_20() { + if (!skip_ci && is_docs_only_build != 1) { + node('CPU-SMALL') { + ws("workspace/exec_${env.EXECUTOR_NUMBER}/tvm/test-cortexm") { + try { + init_git() + docker_init(ci_cortexm) + timeout(time: max_time, unit: 'MINUTES') { + withEnv([ + 'PLATFORM=cortexm', + 'TEST_STEP_NAME=test: Cortex-M', + 'TVM_NUM_SHARDS=20', + 'TVM_SHARD_INDEX=15', + "SKIP_SLOW_TESTS=${skip_slow_tests}"], { + sh( + script: "./${jenkins_scripts_root}/s3.py --action download --bucket ${s3_bucket} --prefix ${s3_prefix}/cortexm", + label: 'Download artifacts from S3', + ) + + ci_setup(ci_cortexm) + sh ( + script: "${docker_run} ${ci_cortexm} ./tests/scripts/task_python_microtvm.sh", + label: 'Run microTVM tests', + ) + }) + } + } finally { + try { + sh( + script: "./${jenkins_scripts_root}/s3.py --action upload --bucket ${s3_bucket} --prefix ${s3_prefix}/pytest-results/test_Cortex_M --items build/pytest-results", + label: 'Upload JUnits to S3', + ) + + junit 'build/pytest-results/*.xml' + } catch (Exception e) { + echo 'Exception during JUnit upload: ' + e.toString() + } + } + } + } + } else { + Utils.markStageSkippedForConditional('test: Cortex-M 16 of 20') + } +} + +def shard_run_test_Cortex_M_17_of_20() { + if (!skip_ci && is_docs_only_build != 1) { + node('CPU-SMALL') { + ws("workspace/exec_${env.EXECUTOR_NUMBER}/tvm/test-cortexm") { + try { + init_git() + docker_init(ci_cortexm) + timeout(time: max_time, unit: 'MINUTES') { + withEnv([ + 'PLATFORM=cortexm', + 'TEST_STEP_NAME=test: Cortex-M', + 'TVM_NUM_SHARDS=20', + 'TVM_SHARD_INDEX=16', + "SKIP_SLOW_TESTS=${skip_slow_tests}"], { + sh( + script: "./${jenkins_scripts_root}/s3.py --action download --bucket ${s3_bucket} --prefix ${s3_prefix}/cortexm", + label: 'Download artifacts from S3', + ) + + ci_setup(ci_cortexm) + sh ( + script: "${docker_run} ${ci_cortexm} ./tests/scripts/task_python_microtvm.sh", + label: 'Run microTVM tests', + ) + }) + } + } finally { + try { + sh( + script: "./${jenkins_scripts_root}/s3.py --action upload --bucket ${s3_bucket} --prefix ${s3_prefix}/pytest-results/test_Cortex_M --items build/pytest-results", + label: 'Upload JUnits to S3', + ) + + junit 'build/pytest-results/*.xml' + } catch (Exception e) { + echo 'Exception during JUnit upload: ' + e.toString() + } + } + } + } + } else { + Utils.markStageSkippedForConditional('test: Cortex-M 17 of 20') + } +} + +def shard_run_test_Cortex_M_18_of_20() { + if (!skip_ci && is_docs_only_build != 1) { + node('CPU-SMALL') { + ws("workspace/exec_${env.EXECUTOR_NUMBER}/tvm/test-cortexm") { + try { + init_git() + docker_init(ci_cortexm) + timeout(time: max_time, unit: 'MINUTES') { + withEnv([ + 'PLATFORM=cortexm', + 'TEST_STEP_NAME=test: Cortex-M', + 'TVM_NUM_SHARDS=20', + 'TVM_SHARD_INDEX=17', + "SKIP_SLOW_TESTS=${skip_slow_tests}"], { + sh( + script: "./${jenkins_scripts_root}/s3.py --action download --bucket ${s3_bucket} --prefix ${s3_prefix}/cortexm", + label: 'Download artifacts from S3', + ) + + ci_setup(ci_cortexm) + sh ( + script: "${docker_run} ${ci_cortexm} ./tests/scripts/task_python_microtvm.sh", + label: 'Run microTVM tests', + ) + }) + } + } finally { + try { + sh( + script: "./${jenkins_scripts_root}/s3.py --action upload --bucket ${s3_bucket} --prefix ${s3_prefix}/pytest-results/test_Cortex_M --items build/pytest-results", + label: 'Upload JUnits to S3', + ) + + junit 'build/pytest-results/*.xml' + } catch (Exception e) { + echo 'Exception during JUnit upload: ' + e.toString() + } + } + } + } + } else { + Utils.markStageSkippedForConditional('test: Cortex-M 18 of 20') + } +} + +def shard_run_test_Cortex_M_19_of_20() { + if (!skip_ci && is_docs_only_build != 1) { + node('CPU-SMALL') { + ws("workspace/exec_${env.EXECUTOR_NUMBER}/tvm/test-cortexm") { + try { + init_git() + docker_init(ci_cortexm) + timeout(time: max_time, unit: 'MINUTES') { + withEnv([ + 'PLATFORM=cortexm', + 'TEST_STEP_NAME=test: Cortex-M', + 'TVM_NUM_SHARDS=20', + 'TVM_SHARD_INDEX=18', + "SKIP_SLOW_TESTS=${skip_slow_tests}"], { + sh( + script: "./${jenkins_scripts_root}/s3.py --action download --bucket ${s3_bucket} --prefix ${s3_prefix}/cortexm", + label: 'Download artifacts from S3', + ) + + ci_setup(ci_cortexm) + sh ( + script: "${docker_run} ${ci_cortexm} ./tests/scripts/task_python_microtvm.sh", + label: 'Run microTVM tests', + ) + }) + } + } finally { + try { + sh( + script: "./${jenkins_scripts_root}/s3.py --action upload --bucket ${s3_bucket} --prefix ${s3_prefix}/pytest-results/test_Cortex_M --items build/pytest-results", + label: 'Upload JUnits to S3', + ) + + junit 'build/pytest-results/*.xml' + } catch (Exception e) { + echo 'Exception during JUnit upload: ' + e.toString() + } + } + } + } + } else { + Utils.markStageSkippedForConditional('test: Cortex-M 19 of 20') + } +} + +def shard_run_test_Cortex_M_20_of_20() { + if (!skip_ci && is_docs_only_build != 1) { + node('CPU-SMALL') { + ws("workspace/exec_${env.EXECUTOR_NUMBER}/tvm/test-cortexm") { + try { + init_git() + docker_init(ci_cortexm) + timeout(time: max_time, unit: 'MINUTES') { + withEnv([ + 'PLATFORM=cortexm', + 'TEST_STEP_NAME=test: Cortex-M', + 'TVM_NUM_SHARDS=20', + 'TVM_SHARD_INDEX=19', + "SKIP_SLOW_TESTS=${skip_slow_tests}"], { + sh( + script: "./${jenkins_scripts_root}/s3.py --action download --bucket ${s3_bucket} --prefix ${s3_prefix}/cortexm", + label: 'Download artifacts from S3', + ) + + ci_setup(ci_cortexm) + sh ( + script: "${docker_run} ${ci_cortexm} ./tests/scripts/task_python_microtvm.sh", + label: 'Run microTVM tests', + ) + }) + } + } finally { + try { + sh( + script: "./${jenkins_scripts_root}/s3.py --action upload --bucket ${s3_bucket} --prefix ${s3_prefix}/pytest-results/test_Cortex_M --items build/pytest-results", + label: 'Upload JUnits to S3', + ) + + junit 'build/pytest-results/*.xml' + } catch (Exception e) { + echo 'Exception during JUnit upload: ' + e.toString() + } + } + } + } + } else { + Utils.markStageSkippedForConditional('test: Cortex-M 20 of 20') } } @@ -1082,41 +1442,65 @@ def test() { SKIP_SLOW_TESTS = "${skip_slow_tests}" } parallel( - 'test: Cortex-M 1 of 12': { - shard_run_test_Cortex_M_1_of_12() + 'test: Cortex-M 1 of 20': { + shard_run_test_Cortex_M_1_of_20() + }, + 'test: Cortex-M 2 of 20': { + shard_run_test_Cortex_M_2_of_20() + }, + 'test: Cortex-M 3 of 20': { + shard_run_test_Cortex_M_3_of_20() + }, + 'test: Cortex-M 4 of 20': { + shard_run_test_Cortex_M_4_of_20() + }, + 'test: Cortex-M 5 of 20': { + shard_run_test_Cortex_M_5_of_20() + }, + 'test: Cortex-M 6 of 20': { + shard_run_test_Cortex_M_6_of_20() + }, + 'test: Cortex-M 7 of 20': { + shard_run_test_Cortex_M_7_of_20() + }, + 'test: Cortex-M 8 of 20': { + shard_run_test_Cortex_M_8_of_20() + }, + 'test: Cortex-M 9 of 20': { + shard_run_test_Cortex_M_9_of_20() }, - 'test: Cortex-M 2 of 12': { - shard_run_test_Cortex_M_2_of_12() + 'test: Cortex-M 10 of 20': { + shard_run_test_Cortex_M_10_of_20() }, - 'test: Cortex-M 3 of 12': { - shard_run_test_Cortex_M_3_of_12() + 'test: Cortex-M 11 of 20': { + shard_run_test_Cortex_M_11_of_20() }, - 'test: Cortex-M 4 of 12': { - shard_run_test_Cortex_M_4_of_12() + 'test: Cortex-M 12 of 20': { + shard_run_test_Cortex_M_12_of_20() }, - 'test: Cortex-M 5 of 12': { - shard_run_test_Cortex_M_5_of_12() + 'test: Cortex-M 13 of 20': { + shard_run_test_Cortex_M_13_of_20() }, - 'test: Cortex-M 6 of 12': { - shard_run_test_Cortex_M_6_of_12() + 'test: Cortex-M 14 of 20': { + shard_run_test_Cortex_M_14_of_20() }, - 'test: Cortex-M 7 of 12': { - shard_run_test_Cortex_M_7_of_12() + 'test: Cortex-M 15 of 20': { + shard_run_test_Cortex_M_15_of_20() }, - 'test: Cortex-M 8 of 12': { - shard_run_test_Cortex_M_8_of_12() + 'test: Cortex-M 16 of 20': { + shard_run_test_Cortex_M_16_of_20() }, - 'test: Cortex-M 9 of 12': { - shard_run_test_Cortex_M_9_of_12() + 'test: Cortex-M 17 of 20': { + shard_run_test_Cortex_M_17_of_20() }, - 'test: Cortex-M 10 of 12': { - shard_run_test_Cortex_M_10_of_12() + 'test: Cortex-M 18 of 20': { + shard_run_test_Cortex_M_18_of_20() }, - 'test: Cortex-M 11 of 12': { - shard_run_test_Cortex_M_11_of_12() + 'test: Cortex-M 19 of 20': { + shard_run_test_Cortex_M_19_of_20() }, - 'test: Cortex-M 12 of 12': { - shard_run_test_Cortex_M_12_of_12() + 'test: Cortex-M 20 of 20': { + shard_run_test_Cortex_M_20_of_20() }, ) } diff --git a/ci/jenkins/generated/hexagon_jenkinsfile.groovy b/ci/jenkins/generated/hexagon_jenkinsfile.groovy index 6296d0c5c868..2c133bb92e36 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 2022-12-05T14:48:42.065368 +// Generated at 2022-12-07T07:48:30.975250 import org.jenkinsci.plugins.pipeline.modeldefinition.Utils ci_lint = 'tlcpack/ci-lint:20221013-060115-61c9742ea' @@ -533,7 +533,7 @@ build() -def shard_run_test_Hexagon_1_of_8() { +def shard_run_test_Hexagon_1_of_12() { if (!skip_ci && is_docs_only_build != 1) { node('CPU-SMALL') { ws("workspace/exec_${env.EXECUTOR_NUMBER}/tvm/test-hexagon") { @@ -544,7 +544,7 @@ def shard_run_test_Hexagon_1_of_8() { withEnv([ 'PLATFORM=hexagon', 'TEST_STEP_NAME=test: Hexagon', - 'TVM_NUM_SHARDS=8', + 'TVM_NUM_SHARDS=12', 'TVM_SHARD_INDEX=0', "SKIP_SLOW_TESTS=${skip_slow_tests}"], { sh( @@ -575,11 +575,11 @@ def shard_run_test_Hexagon_1_of_8() { } } } else { - Utils.markStageSkippedForConditional('test: Hexagon 1 of 8') + Utils.markStageSkippedForConditional('test: Hexagon 1 of 12') } } -def shard_run_test_Hexagon_2_of_8() { +def shard_run_test_Hexagon_2_of_12() { if (!skip_ci && is_docs_only_build != 1) { node('CPU-SMALL') { ws("workspace/exec_${env.EXECUTOR_NUMBER}/tvm/test-hexagon") { @@ -590,7 +590,7 @@ def shard_run_test_Hexagon_2_of_8() { withEnv([ 'PLATFORM=hexagon', 'TEST_STEP_NAME=test: Hexagon', - 'TVM_NUM_SHARDS=8', + 'TVM_NUM_SHARDS=12', 'TVM_SHARD_INDEX=1', "SKIP_SLOW_TESTS=${skip_slow_tests}"], { sh( @@ -620,11 +620,11 @@ def shard_run_test_Hexagon_2_of_8() { } } } else { - Utils.markStageSkippedForConditional('test: Hexagon 2 of 8') + Utils.markStageSkippedForConditional('test: Hexagon 2 of 12') } } -def shard_run_test_Hexagon_3_of_8() { +def shard_run_test_Hexagon_3_of_12() { if (!skip_ci && is_docs_only_build != 1) { node('CPU-SMALL') { ws("workspace/exec_${env.EXECUTOR_NUMBER}/tvm/test-hexagon") { @@ -635,7 +635,7 @@ def shard_run_test_Hexagon_3_of_8() { withEnv([ 'PLATFORM=hexagon', 'TEST_STEP_NAME=test: Hexagon', - 'TVM_NUM_SHARDS=8', + 'TVM_NUM_SHARDS=12', 'TVM_SHARD_INDEX=2', "SKIP_SLOW_TESTS=${skip_slow_tests}"], { sh( @@ -665,11 +665,11 @@ def shard_run_test_Hexagon_3_of_8() { } } } else { - Utils.markStageSkippedForConditional('test: Hexagon 3 of 8') + Utils.markStageSkippedForConditional('test: Hexagon 3 of 12') } } -def shard_run_test_Hexagon_4_of_8() { +def shard_run_test_Hexagon_4_of_12() { if (!skip_ci && is_docs_only_build != 1) { node('CPU-SMALL') { ws("workspace/exec_${env.EXECUTOR_NUMBER}/tvm/test-hexagon") { @@ -680,7 +680,7 @@ def shard_run_test_Hexagon_4_of_8() { withEnv([ 'PLATFORM=hexagon', 'TEST_STEP_NAME=test: Hexagon', - 'TVM_NUM_SHARDS=8', + 'TVM_NUM_SHARDS=12', 'TVM_SHARD_INDEX=3', "SKIP_SLOW_TESTS=${skip_slow_tests}"], { sh( @@ -710,11 +710,11 @@ def shard_run_test_Hexagon_4_of_8() { } } } else { - Utils.markStageSkippedForConditional('test: Hexagon 4 of 8') + Utils.markStageSkippedForConditional('test: Hexagon 4 of 12') } } -def shard_run_test_Hexagon_5_of_8() { +def shard_run_test_Hexagon_5_of_12() { if (!skip_ci && is_docs_only_build != 1) { node('CPU-SMALL') { ws("workspace/exec_${env.EXECUTOR_NUMBER}/tvm/test-hexagon") { @@ -725,7 +725,7 @@ def shard_run_test_Hexagon_5_of_8() { withEnv([ 'PLATFORM=hexagon', 'TEST_STEP_NAME=test: Hexagon', - 'TVM_NUM_SHARDS=8', + 'TVM_NUM_SHARDS=12', 'TVM_SHARD_INDEX=4', "SKIP_SLOW_TESTS=${skip_slow_tests}"], { sh( @@ -755,11 +755,11 @@ def shard_run_test_Hexagon_5_of_8() { } } } else { - Utils.markStageSkippedForConditional('test: Hexagon 5 of 8') + Utils.markStageSkippedForConditional('test: Hexagon 5 of 12') } } -def shard_run_test_Hexagon_6_of_8() { +def shard_run_test_Hexagon_6_of_12() { if (!skip_ci && is_docs_only_build != 1) { node('CPU-SMALL') { ws("workspace/exec_${env.EXECUTOR_NUMBER}/tvm/test-hexagon") { @@ -770,7 +770,7 @@ def shard_run_test_Hexagon_6_of_8() { withEnv([ 'PLATFORM=hexagon', 'TEST_STEP_NAME=test: Hexagon', - 'TVM_NUM_SHARDS=8', + 'TVM_NUM_SHARDS=12', 'TVM_SHARD_INDEX=5', "SKIP_SLOW_TESTS=${skip_slow_tests}"], { sh( @@ -800,11 +800,11 @@ def shard_run_test_Hexagon_6_of_8() { } } } else { - Utils.markStageSkippedForConditional('test: Hexagon 6 of 8') + Utils.markStageSkippedForConditional('test: Hexagon 6 of 12') } } -def shard_run_test_Hexagon_7_of_8() { +def shard_run_test_Hexagon_7_of_12() { if (!skip_ci && is_docs_only_build != 1) { node('CPU-SMALL') { ws("workspace/exec_${env.EXECUTOR_NUMBER}/tvm/test-hexagon") { @@ -815,7 +815,7 @@ def shard_run_test_Hexagon_7_of_8() { withEnv([ 'PLATFORM=hexagon', 'TEST_STEP_NAME=test: Hexagon', - 'TVM_NUM_SHARDS=8', + 'TVM_NUM_SHARDS=12', 'TVM_SHARD_INDEX=6', "SKIP_SLOW_TESTS=${skip_slow_tests}"], { sh( @@ -845,11 +845,11 @@ def shard_run_test_Hexagon_7_of_8() { } } } else { - Utils.markStageSkippedForConditional('test: Hexagon 7 of 8') + Utils.markStageSkippedForConditional('test: Hexagon 7 of 12') } } -def shard_run_test_Hexagon_8_of_8() { +def shard_run_test_Hexagon_8_of_12() { if (!skip_ci && is_docs_only_build != 1) { node('CPU-SMALL') { ws("workspace/exec_${env.EXECUTOR_NUMBER}/tvm/test-hexagon") { @@ -860,7 +860,7 @@ def shard_run_test_Hexagon_8_of_8() { withEnv([ 'PLATFORM=hexagon', 'TEST_STEP_NAME=test: Hexagon', - 'TVM_NUM_SHARDS=8', + 'TVM_NUM_SHARDS=12', 'TVM_SHARD_INDEX=7', "SKIP_SLOW_TESTS=${skip_slow_tests}"], { sh( @@ -890,7 +890,187 @@ def shard_run_test_Hexagon_8_of_8() { } } } else { - Utils.markStageSkippedForConditional('test: Hexagon 8 of 8') + Utils.markStageSkippedForConditional('test: Hexagon 8 of 12') + } +} + +def shard_run_test_Hexagon_9_of_12() { + if (!skip_ci && is_docs_only_build != 1) { + node('CPU-SMALL') { + ws("workspace/exec_${env.EXECUTOR_NUMBER}/tvm/test-hexagon") { + try { + init_git() + docker_init(ci_hexagon) + timeout(time: max_time, unit: 'MINUTES') { + withEnv([ + 'PLATFORM=hexagon', + 'TEST_STEP_NAME=test: Hexagon', + 'TVM_NUM_SHARDS=12', + 'TVM_SHARD_INDEX=8', + "SKIP_SLOW_TESTS=${skip_slow_tests}"], { + sh( + script: "./${jenkins_scripts_root}/s3.py --action download --bucket ${s3_bucket} --prefix ${s3_prefix}/hexagon", + label: 'Download artifacts from S3', + ) + + ci_setup(ci_hexagon) + sh ( + script: "${docker_run} ${ci_hexagon} ./tests/scripts/task_python_hexagon.sh", + label: 'Run Hexagon tests', + ) + }) + } + } finally { + try { + sh( + script: "./${jenkins_scripts_root}/s3.py --action upload --bucket ${s3_bucket} --prefix ${s3_prefix}/pytest-results/test_Hexagon --items build/pytest-results", + label: 'Upload JUnits to S3', + ) + + junit 'build/pytest-results/*.xml' + } catch (Exception e) { + echo 'Exception during JUnit upload: ' + e.toString() + } + } + } + } + } else { + Utils.markStageSkippedForConditional('test: Hexagon 9 of 12') + } +} + +def shard_run_test_Hexagon_10_of_12() { + if (!skip_ci && is_docs_only_build != 1) { + node('CPU-SMALL') { + ws("workspace/exec_${env.EXECUTOR_NUMBER}/tvm/test-hexagon") { + try { + init_git() + docker_init(ci_hexagon) + timeout(time: max_time, unit: 'MINUTES') { + withEnv([ + 'PLATFORM=hexagon', + 'TEST_STEP_NAME=test: Hexagon', + 'TVM_NUM_SHARDS=12', + 'TVM_SHARD_INDEX=9', + "SKIP_SLOW_TESTS=${skip_slow_tests}"], { + sh( + script: "./${jenkins_scripts_root}/s3.py --action download --bucket ${s3_bucket} --prefix ${s3_prefix}/hexagon", + label: 'Download artifacts from S3', + ) + + ci_setup(ci_hexagon) + sh ( + script: "${docker_run} ${ci_hexagon} ./tests/scripts/task_python_hexagon.sh", + label: 'Run Hexagon tests', + ) + }) + } + } finally { + try { + sh( + script: "./${jenkins_scripts_root}/s3.py --action upload --bucket ${s3_bucket} --prefix ${s3_prefix}/pytest-results/test_Hexagon --items build/pytest-results", + label: 'Upload JUnits to S3', + ) + + junit 'build/pytest-results/*.xml' + } catch (Exception e) { + echo 'Exception during JUnit upload: ' + e.toString() + } + } + } + } + } else { + Utils.markStageSkippedForConditional('test: Hexagon 10 of 12') + } +} + +def shard_run_test_Hexagon_11_of_12() { + if (!skip_ci && is_docs_only_build != 1) { + node('CPU-SMALL') { + ws("workspace/exec_${env.EXECUTOR_NUMBER}/tvm/test-hexagon") { + try { + init_git() + docker_init(ci_hexagon) + timeout(time: max_time, unit: 'MINUTES') { + withEnv([ + 'PLATFORM=hexagon', + 'TEST_STEP_NAME=test: Hexagon', + 'TVM_NUM_SHARDS=12', + 'TVM_SHARD_INDEX=10', + "SKIP_SLOW_TESTS=${skip_slow_tests}"], { + sh( + script: "./${jenkins_scripts_root}/s3.py --action download --bucket ${s3_bucket} --prefix ${s3_prefix}/hexagon", + label: 'Download artifacts from S3', + ) + + ci_setup(ci_hexagon) + sh ( + script: "${docker_run} ${ci_hexagon} ./tests/scripts/task_python_hexagon.sh", + label: 'Run Hexagon tests', + ) + }) + } + } finally { + try { + sh( + script: "./${jenkins_scripts_root}/s3.py --action upload --bucket ${s3_bucket} --prefix ${s3_prefix}/pytest-results/test_Hexagon --items build/pytest-results", + label: 'Upload JUnits to S3', + ) + + junit 'build/pytest-results/*.xml' + } catch (Exception e) { + echo 'Exception during JUnit upload: ' + e.toString() + } + } + } + } + } else { + Utils.markStageSkippedForConditional('test: Hexagon 11 of 12') + } +} + +def shard_run_test_Hexagon_12_of_12() { + if (!skip_ci && is_docs_only_build != 1) { + node('CPU-SMALL') { + ws("workspace/exec_${env.EXECUTOR_NUMBER}/tvm/test-hexagon") { + try { + init_git() + docker_init(ci_hexagon) + timeout(time: max_time, unit: 'MINUTES') { + withEnv([ + 'PLATFORM=hexagon', + 'TEST_STEP_NAME=test: Hexagon', + 'TVM_NUM_SHARDS=12', + 'TVM_SHARD_INDEX=11', + "SKIP_SLOW_TESTS=${skip_slow_tests}"], { + sh( + script: "./${jenkins_scripts_root}/s3.py --action download --bucket ${s3_bucket} --prefix ${s3_prefix}/hexagon", + label: 'Download artifacts from S3', + ) + + ci_setup(ci_hexagon) + sh ( + script: "${docker_run} ${ci_hexagon} ./tests/scripts/task_python_hexagon.sh", + label: 'Run Hexagon tests', + ) + }) + } + } finally { + try { + sh( + script: "./${jenkins_scripts_root}/s3.py --action upload --bucket ${s3_bucket} --prefix ${s3_prefix}/pytest-results/test_Hexagon --items build/pytest-results", + label: 'Upload JUnits to S3', + ) + + junit 'build/pytest-results/*.xml' + } catch (Exception e) { + echo 'Exception during JUnit upload: ' + e.toString() + } + } + } + } + } else { + Utils.markStageSkippedForConditional('test: Hexagon 12 of 12') } } @@ -901,29 +1081,41 @@ def test() { SKIP_SLOW_TESTS = "${skip_slow_tests}" } parallel( - 'test: Hexagon 1 of 8': { - shard_run_test_Hexagon_1_of_8() + 'test: Hexagon 1 of 12': { + shard_run_test_Hexagon_1_of_12() + }, + 'test: Hexagon 2 of 12': { + shard_run_test_Hexagon_2_of_12() + }, + 'test: Hexagon 3 of 12': { + shard_run_test_Hexagon_3_of_12() + }, + 'test: Hexagon 4 of 12': { + shard_run_test_Hexagon_4_of_12() + }, + 'test: Hexagon 5 of 12': { + shard_run_test_Hexagon_5_of_12() }, - 'test: Hexagon 2 of 8': { - shard_run_test_Hexagon_2_of_8() + 'test: Hexagon 6 of 12': { + shard_run_test_Hexagon_6_of_12() }, - 'test: Hexagon 3 of 8': { - shard_run_test_Hexagon_3_of_8() + 'test: Hexagon 7 of 12': { + shard_run_test_Hexagon_7_of_12() }, - 'test: Hexagon 4 of 8': { - shard_run_test_Hexagon_4_of_8() + 'test: Hexagon 8 of 12': { + shard_run_test_Hexagon_8_of_12() }, - 'test: Hexagon 5 of 8': { - shard_run_test_Hexagon_5_of_8() + 'test: Hexagon 9 of 12': { + shard_run_test_Hexagon_9_of_12() }, - 'test: Hexagon 6 of 8': { - shard_run_test_Hexagon_6_of_8() + 'test: Hexagon 10 of 12': { + shard_run_test_Hexagon_10_of_12() }, - 'test: Hexagon 7 of 8': { - shard_run_test_Hexagon_7_of_8() + 'test: Hexagon 11 of 12': { + shard_run_test_Hexagon_11_of_12() }, - 'test: Hexagon 8 of 8': { - shard_run_test_Hexagon_8_of_8() + 'test: Hexagon 12 of 12': { + shard_run_test_Hexagon_12_of_12() }, ) } diff --git a/ci/jenkins/templates/arm_jenkinsfile.groovy.j2 b/ci/jenkins/templates/arm_jenkinsfile.groovy.j2 index 6cffd5cbbe66..22829b361154 100644 --- a/ci/jenkins/templates/arm_jenkinsfile.groovy.j2 +++ b/ci/jenkins/templates/arm_jenkinsfile.groovy.j2 @@ -38,7 +38,7 @@ {% call(shard_index, num_shards) m.sharded_test_step( name="integration: aarch64", - num_shards=4, + num_shards=5, node="ARM-SMALL", ws="tvm/ut-python-arm", platform="arm", diff --git a/ci/jenkins/templates/cortexm_jenkinsfile.groovy.j2 b/ci/jenkins/templates/cortexm_jenkinsfile.groovy.j2 index acbc147f408e..4b0a34fdad7f 100644 --- a/ci/jenkins/templates/cortexm_jenkinsfile.groovy.j2 +++ b/ci/jenkins/templates/cortexm_jenkinsfile.groovy.j2 @@ -42,7 +42,7 @@ ws="tvm/test-cortexm", platform="cortexm", docker_image="ci_cortexm", - num_shards=12, + num_shards=20, test_method_names=test_method_names, ) %} {{ m.download_artifacts(tag='cortexm') }} diff --git a/ci/jenkins/templates/hexagon_jenkinsfile.groovy.j2 b/ci/jenkins/templates/hexagon_jenkinsfile.groovy.j2 index 140c227154a1..35210458d4a8 100644 --- a/ci/jenkins/templates/hexagon_jenkinsfile.groovy.j2 +++ b/ci/jenkins/templates/hexagon_jenkinsfile.groovy.j2 @@ -47,7 +47,7 @@ platform="hexagon", docker_image="ci_hexagon", test_method_names=test_method_names, - num_shards=8, + num_shards=12, ) %} {{ m.download_artifacts(tag='hexagon') }} ci_setup(ci_hexagon)