Skip to content

Commit

Permalink
jobs/{build,bump-lockfile}: bump up memory for testISO failure
Browse files Browse the repository at this point in the history
We're seeing an obscure `Got EOF from completion channel` error
when running testISO. The running theory is that we're running
out of memory and that seems to be accurate in a test I did earlier
today. Let's bump for now and investigate when we have more time.

See coreos/fedora-coreos-tracker#1339
  • Loading branch information
dustymabe committed Nov 11, 2022
1 parent 36b1071 commit 4af5e19
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion jobs/build.Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,9 @@ def strict_build_param = stream_info.type == "mechanical" ? "" : "--strict"
// without lots of memory takes lots of time. For now we just hardcode these
// here; we can look into making them configurable through the template if
// developers really need to tweak them.
def cosa_memory_request_mb = 8.5 * 1024 as Integer
// XXX bump an extra 2G (to 10.5) because of an error we are seeing in
// testiso: https://github.com/coreos/fedora-coreos-tracker/issues/1339
def cosa_memory_request_mb = 10.5 * 1024 as Integer

// Now that we've established the memory constraint based on xz above, derive
// kola parallelism from that. We leave 512M for overhead and VMs are at most
Expand Down
2 changes: 1 addition & 1 deletion jobs/bump-lockfile.Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ def getLockfileInfo(lockfile) {
}

// Keep in sync with build.Jenkinsfile
def cosa_memory_request_mb = 8.5 * 1024 as Integer
def cosa_memory_request_mb = 10.5 * 1024 as Integer
def ncpus = ((cosa_memory_request_mb - 512) / 1536) as Integer

try { lock(resource: "bump-${params.STREAM}") { timeout(time: 120, unit: 'MINUTES') {
Expand Down

0 comments on commit 4af5e19

Please sign in to comment.