~mvo/snapd/+git/snapd-mvo:perf-count

Last commit made on 2019-01-31
Get this branch:
git clone -b perf-count https://git.launchpad.net/~mvo/snapd/+git/snapd-mvo

Branch merges

Branch information

Name:
perf-count
Repository:
lp:~mvo/snapd/+git/snapd-mvo

Recent commits

88cdc5d... by Michael Vogt

many: add simple performance logging mostly for firstboot

0e52282... by Zygmunt Krynicki

Merge pull request #6390 from mvo5/release-2.37

release: 2.37

f6a9139... by Michael Vogt

Merge remote-tracking branch 'upstream/master' into release-2.37

d8e9f73... by Sergio Cazzolato

Merge pull request #5887 from sergiocazzolato/tests-move-refresh-on-core

tests: moving core-snap-refresh-on-core test from main to nested suite

41596ee... by Michael Vogt

releasing package snapd version 2.37

3635ee1... by Michael Vogt

snapd: fix race in TestSanityFailGoesIntoDegradedMode test

Ensure the MockSanityCheck code runs at least *twice* to
avoid a race in the TestSanityFailGoesIntoDegradedMode test:

If we close the channel and this wakes up the "select"
in the test immediately and stops this go-routine, then the
check that the logbuf contains the error will fail.
By running this at least twice we know the error made
it to the log.

e8c33ea... by Michael Vogt

Merge pull request #6384 from mvo5/sanity-for-sanity-test

snapd: fix race in TestSanityFailGoesIntoDegradedMode test

8d328cf... by Michael Vogt

address review feedback (thanks to Jamie!)

a2b8046... by Michael Vogt

cmd: fix snap-device-helper to deal correctly with hooks

Our current snap-device-helper code does not correctly handle
hooks. The input for the snap-device-helper is an "APPANME"
that looks like "snap_$snapname_$appname". There are no "."
allowed in a udev tag. So this appname needs to be translated
back into the correct security tag, like: "snap.$snapname.$appname".

This works most of the time, however it does not for hooks. They
have the form "snap_$snapname_hook_$hookname" and the script
cannot transform them correctly. This PR fixes this in a simple
way.

One open question is what about instances that are called "hook".
Those will now be handled incorrectly.

36849cc... by Michael Vogt

tests: add new configure hook testcase with network-control

The configure hook with network-control cannot access /dev/null.
This was reported in the forum as https://forum.snapcraft.io/t/9452
and this PR reproduces the issue.