multipass build dies - possibly OOM killed
Affects | Status | Importance | Assigned to | Milestone | ||
---|---|---|---|---|---|---|
Snapcraft | Status tracked in Trunk | |||||
Legacy |
Fix Committed
|
High
|
Sergio Schvezov | |||
Trunk |
Fix Released
|
High
|
Sergio Schvezov |
Bug Description
Testing a build in multipass with:-
export SNAPCRAFT_
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.
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:/
override-build: |
mvn -e -DskipTests=true -Dfindbugs.
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/
Changed in snapcraft: | |
status: | New → In Progress |
importance: | Undecided → High |
assignee: | nobody → Sergio Schvezov (sergiusens) |
milestone: | none → 2.44 |
Changed in snapcraft: | |
status: | In Progress → Fix Committed |
tags: | added: 18.10-build-vm |
Tried again, and sure enough..
alan@colossus: ~/che⟫ multipass info confarreated-deacon snapd/snaps => /var/cache/ snapcraft/ snaps ~/che⟫ 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.80 1.38 0.79
Disk usage: 2.7G out of 4.8G
Memory usage: 800.9M out of 992.1M
Mounts: /var/lib/
alan@colossus:
info failed: ssh: Timeout connecting to 10.161.160.203