snap: skip /dev/ram from auto-import assertions to make it less noisy #3010

Merged
merged 6 commits into from Apr 13, 2017

Conversation

Projects
None yet
3 participants
Collaborator

mvo5 commented Mar 9, 2017

Do not auto-import assertions from /dev/ram* unless in SNAPD_DEBUG
mode. This ensures that startup is (much) less noisy and we do not
spam syslog will useless errors.

Alternatively we could key this on "SNAPD_TESTING=1" and retire the current "SNAPPY_TESTING" that is used.

Skip /dev/ram from auto-import assertions to make it less noisy
Do not auto-import assertions from /dev/ram* unless in SNAPD_DEBUG
mode. This ensures that startup is (much) less noisy and we do not
spam syslog will useless errors.

zyga approved these changes Mar 9, 2017

Yes :-)

Contributor

pedronis commented Mar 15, 2017

do we expect people to want to try auto-import from /dev/ram in any situation but tests? if that's not case then SNAPPY_TESTING or SNAPD_TESTING (but needs rename everywhere) seems better

mvo5 and others added some commits Apr 4, 2017

This seems to be breaking tests. The extra DEBUG output is confusing tests that look at process output. Perhaps we could move it to stderr or use a different (or more feature rich) flag?

mvo5 added some commits Apr 4, 2017

zyga approved these changes Apr 13, 2017

+1

@pedronis pedronis merged commit 2fb9cb3 into snapcore:master Apr 13, 2017

6 checks passed

continuous-integration/travis-ci/pr The Travis CI build passed
Details
xenial-amd64 autopkgtest finished (success)
Details
xenial-i386 autopkgtest finished (success)
Details
xenial-ppc64el autopkgtest finished (success)
Details
yakkety-amd64 autopkgtest finished (success)
Details
zesty-amd64 autopkgtest finished (success)
Details
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment