Skip to content

Commit

Permalink
cci: Lower parallelism
Browse files Browse the repository at this point in the history
To hopefully get fewer issues with soft lockups
cc coreos/coreos-assembler#3450 (comment)
  • Loading branch information
cgwalters committed May 18, 2023
1 parent c69ea00 commit d98f845
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions .cci.jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,14 @@ codestyle: {
}
}

def nhosts = 4
// Recently we're hitting soft lockup problems in CCI, so we have a pretty low parallelism here.
// xref https://github.com/coreos/coreos-assembler/pull/3450#issuecomment-1548496916
def nhosts = 2
// Add an extra CPU for overhead
def ncpu = nhosts + 1
// Assume 1536 MB per instance, plus 512 overhead
def mem = (nhosts * 1536) + 512
cosaPod(runAsUser: 0, memory: "${mem}Mi", cpu: "${nhosts}") {
cosaPod(runAsUser: 0, memory: "${mem}Mi", cpu: "${ncpu}") {
stage("Unit Tests") {
checkout scm
unstash 'rpms'
Expand Down

0 comments on commit d98f845

Please sign in to comment.