~mvo/snapd/+git/snapd-mvo:fix-snapcraft-build-in-lp

Last commit made on 2019-01-25
Get this branch:
git clone -b fix-snapcraft-build-in-lp https://git.launchpad.net/~mvo/snapd/+git/snapd-mvo

Branch merges

Branch information

Name:
fix-snapcraft-build-in-lp
Repository:
lp:~mvo/snapd/+git/snapd-mvo

Recent commits

5edcfb5... by Michael Vogt

snapcraft.yaml: fix snapcraft building in launchpad

We recently switched to building with golang-1.10. When using this
package there is no "go" binary in the PATH so we must setup the
PATH correctly in our go build plugin.

310d6e0... by Maciej Borzecki

Merge pull request #6416 from mvo5/cmd-run-suite

snap: really run the RunSuite

ca3aec2... by Michael Vogt

snap: really run the RunSuite

8650096... by "John R. Lenton" <email address hidden>

Merge pull request #6405 from mvo5/go.10-2

run-checks: ensure we use go-1.10 if available

57b2e61... by Michael Vogt

Merge pull request #6407 from mvo5/dbus-from-beta

tests: get test-snapd-dbus-{provider,consumer} from the beta channel

768b172... by Michael Vogt

Merge pull request #6409 from zyga/fix/apparmor-sbuild

interfaces/apparmor: mock presence of overlayfs root

03c2925... by "John R. Lenton" <email address hidden>

Update run-checks

Co-Authored-By: mvo5 <email address hidden>

63a8403... by Maciej Borzecki

Merge pull request #6402 from mvo5/incr-kill-timeout

spread: increase default kill-timeout to 30min

cabfd20... by Zygmunt Krynicki

interfaces/apparmor: mock presence of overlayfs root

During the release of the snapd 2.37 we noticed that the Debian
builds performed in sbuild are failing on several unit tests. The same
source package would build file in pbuilder.

Investigation uncovered that sbuild is using overlayfs root internally.
This is picked up by the apparmor overlayfs detector and causes snapd to
generate an additional configuration file for snap-confine.

For reference, the offending entry from /proc/self/mountinfo:

 228 23 0:40 / / rw,relatime shared:119 - overlay sid-amd64-sbuild rw,lowerdir=/var/lib/schroot/union/underlay/sid-amd64-sbuild-85592074-da40-4faa-8b25-a354b207cdf2,upperdir=/var/lib/schroot/union/overlay/sid-amd64-sbuild-85592074-da40-4faa-8b25-a354b207cdf2/upper,workdir=/var/lib/schroot/union/overlay/sid-amd64-sbuild-85592074-da40-4faa-8b25-a354b207cdf2/work

The extra generated file was upsetting tests that looked at
/var/lib/snapd/apparmor/snap-confine.

Signed-off-by: Zygmunt Krynicki <email address hidden>

9a585d0... by Michael Vogt

tests: get test-snapd-dbus-{provider,consumer} from the beta channel

We currently get test-snapd-dbus-{provider,consumer} from the
edge channel. This means a bad upload to edge (which is auto-build
from the bzr branches) will break the tests.

Test using the beta channel instead.