← Back to issue list

multipass build dies - possibly OOM killed

View original Launchpad issue

Metadata

Project
snapcraft (launchpad)
Number
#1791661
Type
issue
State
closed
Author
~popey
Labels
18.10-build-vm
Created
Updated
Closed

Current evaluation

Closed without resolution. The Multipass build failed with exit code 137 due to insufficient 1GB RAM causing an OOM kill. No comments or fixes were provided, indicating the issue was abandoned.

Suggested action:

No scores available.

Issue body

Testing a build in multipass with:- export SNAPCRAFT_BUILD_ENVIRONMENT=multipass snapcraft cleanbuild Killed Failed to run 'override-build': Exit code was 137. An error occurred when trying to execute "sh -c 'cd che; /snap/bin/snapcraft snap --output che_6.10.0_amd64.snap'" with 'multipass': returned exit code 2. Here's the (simple) yaml to reproduce it if you're inclined. ----8<---- name: che version: '6.10.0' summary: Eclipse CHE description: | Next-generation Eclipse IDE. Open source workspace server and cloud IDE. grade: stable confinement: strict parts: che: plugin: maven source: https://github.com/eclipse/che.git override-build: | mvn -e -DskipTests=true -Dfindbugs.skip=true -Dgwt.compiler.localWorkers=2 -T 1C -Dmdep.analyze.skip=true -Dlicense.skip=true -Pnative clean install build-packages: - golang ----8<---- I didn't get any kind of sentry option nor indication why it failed. I have run it again, and it looks like we have 1GB RAM and 4GB disk set aside for the VM. Is that enough I wonder? multipass info confarreated-deacon Name: confarreated-deacon State: RUNNING IPv4: 10.161.160.203 Release: Ubuntu 16.04.5 LTS Image hash: c0d099383cd0 (Ubuntu 16.04 LTS) Load: 1.64 0.87 0.35 Disk usage: 1.2G out of 4.8G Memory usage: 132.7M out of 992.1M Mounts: /var/lib/snapd/snaps => /var/cache/snapcraft/snaps

Evaluation history

Date Model Scores Action Summary
qwen/qwen3.6-35b-a3b Closed without resolution. The Multipass build failed with exit code 137 due to insufficient 1GB RAM causing an OOM kill. No comments or fixes were provided, indicating the issue was abandoned.
qwen/qwen3.6-35b-a3b Abandoned. Closed without resolution or activity. The multipass build failure was attributed to possible OOM kills, but no fix was provided.

Update history

No update history recorded yet.

Related issues

Issue Project State Summary Similarity
#1795820 Multipass instance shutdown should be delayed on build failure snapcraft (launchpad) closed Closed without resolution or comments, likely abandoned or superseded. The request to delay Multipass shutdown on build failure remains unimplemented.
72%