Commit f62580de authored by Raphael Defosseux's avatar Raphael Defosseux

CI: VM-based tests are now sequential to prevent too much stress

Signed-off-by: default avatarRaphael Defosseux <raphael.defosseux@eurecom.fr>
parent f6cab340
...@@ -313,40 +313,44 @@ pipeline { ...@@ -313,40 +313,44 @@ pipeline {
stage ("Variant Tests") { stage ("Variant Tests") {
parallel { parallel {
stage ("Test physical simulators") { stage ("VM-based tests") {
steps { stages {
gitlabCommitStatus(name: "Test phy-sim") { stage ("Test physical simulators") {
timeout (time: 20, unit: 'MINUTES') { steps {
sh "./ci-scripts/oai-ci-vm-tool test --workspace $WORKSPACE --variant phy-sim --job-name ${JOB_NAME} --build-id ${BUILD_ID}" gitlabCommitStatus(name: "Test phy-sim") {
timeout (time: 20, unit: 'MINUTES') {
sh "./ci-scripts/oai-ci-vm-tool test --workspace $WORKSPACE --variant phy-sim --job-name ${JOB_NAME} --build-id ${BUILD_ID}"
}
}
} }
} }
} stage ("Build Flexran Controller") {
} when {
stage ("Test basic simulator") { expression {doFlexranCtrlTest}
steps { }
gitlabCommitStatus(name: "Test basic-sim") { steps {
timeout (time: 30, unit: 'MINUTES') { timeout (time: 20, unit: 'MINUTES') {
sh "./ci-scripts/oai-ci-vm-tool test --workspace $WORKSPACE --variant basic-sim --job-name ${JOB_NAME} --build-id ${BUILD_ID}" sh "./ci-scripts/oai-ci-vm-tool build --workspace $WORKSPACE --variant flexran-rtc --job-name ${JOB_NAME} --build-id ${BUILD_ID} --keep-vm-alive"
}
} }
} }
} stage ("Test basic simulator") {
} steps {
stage ("Test L2 simulator") { gitlabCommitStatus(name: "Test basic-sim") {
steps { timeout (time: 30, unit: 'MINUTES') {
gitlabCommitStatus(name: "Test L2-sim") { sh "./ci-scripts/oai-ci-vm-tool test --workspace $WORKSPACE --variant basic-sim --job-name ${JOB_NAME} --build-id ${BUILD_ID}"
timeout (time: 30, unit: 'MINUTES') { }
sh "./ci-scripts/oai-ci-vm-tool test --workspace $WORKSPACE --variant l2-sim --job-name ${JOB_NAME} --build-id ${BUILD_ID}" }
} }
} }
} stage ("Test L2 simulator") {
} steps {
stage ("Build Flexran Controller") { gitlabCommitStatus(name: "Test L2-sim") {
when { timeout (time: 30, unit: 'MINUTES') {
expression {doFlexranCtrlTest} sh "./ci-scripts/oai-ci-vm-tool test --workspace $WORKSPACE --variant l2-sim --job-name ${JOB_NAME} --build-id ${BUILD_ID}"
} }
steps { }
timeout (time: 20, unit: 'MINUTES') { }
sh "./ci-scripts/oai-ci-vm-tool build --workspace $WORKSPACE --variant flexran-rtc --job-name ${JOB_NAME} --build-id ${BUILD_ID} --keep-vm-alive"
} }
} }
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment