Commit aa8a1969 authored by Harald Sitter's avatar Harald Sitter 💎

limit concurrent installation tests via jenkins resources

we are having continued problems with installation tests semi-randomly
failing. the working theory is that there are IO problems caused by
concurrently running install tests using too many resources. as a quick
fix we'll serialize the installations, which should, in theory anyway,
reduce the number of flaky runs to zero
parent 073e6da1
......@@ -40,9 +40,12 @@ fancyNode('openqa') {
sh "cp -v ${params.ISO} incoming.iso"
}
}
stage('test_installation') {
wrap([$class: 'LiveScreenshotBuildWrapper', fullscreenFilename: 'wok/qemuscreenshot/last.png']) {
sh 'INSTALLATION=1 bin/contain.rb /workspace/bin/bootstrap.rb'
lock(inversePrecedence: true, label: 'OPENQA_INSTALL') {
sh 'INSTALLATION=1 bin/contain.rb /workspace/bin/bootstrap.rb'
}
}
}
if (env.ARCHIVE) {
......
......@@ -33,7 +33,9 @@ fancyNode('openqa') {
}
stage('test_installation') {
wrap([$class: 'LiveScreenshotBuildWrapper', fullscreenFilename: 'wok/qemuscreenshot/last.png']) {
sh 'INSTALLATION=1 INSTALLATION_OEM=1 bin/contain.rb /workspace/bin/bootstrap.rb'
lock(inversePrecedence: true, label: 'OPENQA_INSTALL') {
sh 'INSTALLATION=1 INSTALLATION_OEM=1 bin/contain.rb /workspace/bin/bootstrap.rb'
}
}
}
} finally {
......
......@@ -32,7 +32,9 @@ fancyNode('openqa') {
}
stage('test_installation') {
wrap([$class: 'LiveScreenshotBuildWrapper', fullscreenFilename: 'wok/qemuscreenshot/last.png']) {
sh 'OPENQA_SECUREBOOT=1 INSTALLATION=1 bin/contain.rb /workspace/bin/bootstrap.rb'
lock(inversePrecedence: true, label: 'OPENQA_INSTALL') {
sh 'OPENQA_SECUREBOOT=1 INSTALLATION=1 bin/contain.rb /workspace/bin/bootstrap.rb'
}
}
}
} finally {
......
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