~snappy-dev/snapd/+git/snapd-pawel:systemd-emulation-not-implemented-error

Last commit made on 2021-12-07
Get this branch:
git clone -b systemd-emulation-not-implemented-error https://git.launchpad.net/~snappy-dev/snapd/+git/snapd-pawel

Branch merges

Branch information

Name:
systemd-emulation-not-implemented-error
Repository:
lp:~snappy-dev/snapd/+git/snapd-pawel

Recent commits

7cd87b7... by Paweł Stołowski

Fix typo

Co-authored-by: Miguel Pires <email address hidden>

347dcd4... by Paweł Stołowski

Rename errNotImplemented to notImplementedError.

2874859... by Paweł Stołowski

Provide more detailed errors for systemd emulation methods that are not
implemented.

672b1c8... by Michael Vogt

snap: add support for `snap watch --last={revert,enable,disable,switch}`

While looking at our code I noticed that we are a bit inconsistent
in our changeIDMixin about where we accept the "short" form for
a change and where we don't. E.g. for the change type `install-snap`
we support the short form `install` but for others like `revert-snap`
we do not.

This commit unifies this some more and by doing this fixes a bug in
our testsuite along the way where we use `snap watch --last=revert?`
which did not work but will now work with this commit.

16d60e3... by Michael Vogt

Merge pull request #11147 from bboozzoo/bboozzoo/security-udev-input-debugs

tests/main/security-udev-input-subsystem: drop info from udev

6d46ca8... by Maciej Borzecki

tests/core/kernel-and-base-single-reboot-failover, tests/lib/fakestore: verify failover scenario

* tests/lib/fakestore: allow passing a snap blob file or dir to make-refreshable

Signed-off-by: Maciej Borzecki <email address hidden>

* tests/core/kernel-and-base-single-reboot-failover: verify failover handling

Verify failover handling when executing simultaneous refresh of kernel and base
with a single reboot.

Signed-off-by: Maciej Borzecki <email address hidden>

* tests/lib/fakestore/refresh: strip quoting when faking a new version

Sometimes a snap version can be quoted, eg. version: '2021112' in core18 to
avoid ambiguity whether the value is a string or a number. However, when adding
+fake1 suffix, it's clearly a string, thus the quoting should be stripped,
otherwise we produce invalid yaml.

Signed-off-by: Maciej Borzecki <email address hidden>

* tests/lib/fakestore: allow dots in original version

Signed-off-by: Maciej Borzecki <email address hidden>

* tests/core/kernel-and-base-single-reboot-failover: comments update

Signed-off-by: Maciej Borzecki <email address hidden>

* tests/lib/fakestore: provide help message for new make-refreshable options

Signed-off-by: Maciej Borzecki <email address hidden>

* tests/lib/fakestore: more improvements to make-refreshable command

Signed-off-by: Maciej Borzecki <email address hidden>

* tests/core/kernel-and-base-single-reboot-failover: tweak comments

Signed-off-by: Maciej Borzecki <email address hidden>

1faa7e0... by Michael Vogt

Merge pull request #11130 from bboozzoo/bboozzoo/security-device-cgroup-helper-less-flaky

tests/main/security-device-cgroups-helper: collect some debug info when the test fails

49d5548... by Michael Vogt

Merge pull request #11131 from bboozzoo/bboozzoo/nested-wait-for-serial

tests/nested/manual/core20-remodel: wait for device to have a serial before starting a remodel

e01fc95... by Ian Johnson

Merge pull request #11145 from pedronis/tests-unregister-reregister

tests/main/generic-unregister: test re-registration if not blocked

add a variant that re-registration happens if not blocked until the
next reboot

239a2e9... by Paweł Stołowski

Merge pull request #10969 from stolowski/validation-sets/undo-on-partial-failure

o/snapstate, assertsate: validation sets/undo on partial failure