~mvo/snapd/+git/snapd-mvo:slow-tests-workarounds

Last commit made on 2020-01-14
Get this branch:
git clone -b slow-tests-workarounds https://git.launchpad.net/~mvo/snapd/+git/snapd-mvo

Branch merges

Branch information

Name:
slow-tests-workarounds
Repository:
lp:~mvo/snapd/+git/snapd-mvo

Recent commits

def8672... by Michael Vogt

httputil: use shorter timeout in TestRetryRequestTimeoutHandling

We saw some failures in the PPA and release builds on slower
architectures in the TestRetryRequestTimeoutHandling test. It
looks like 5 retry with 50ms timeout with the test retry
strategy of 1s on slow HW can mean sometimes the retries are not
done within the 1s limit. This commit changes the client timeout
to 25ms and leaves the test retry strategy timeout unchanged.

The full error for reference:
```
FAIL: retry_test.go:359: retrySuite.TestRetryRequestTimeoutHandling

retry_test.go:411:
    // check that we exhausted all retries (as defined by mocked retry strategy)
    c.Assert(permanentlyBrokenSrvCalls.Count(), Equals, 5)
... obtained int = 4
... expected int = 5
```

4565bd5... by Maciej Borzecki

Merge pull request #7772 from bboozzoo/bboozzoo/wrappers-cleanup-snapd-on-core

wrappers: write and undo snapd services on core

A batch of changes related to core -> base remodel scenario that handle deploying and undoing snapd services on a core device. We try to be smart about not restarting snapd.socket, handle weird cases of systemctl enable behaving differently on 16.04 and 18.04 bases, all keeping in mind that the 'undo' code is called from undoLinkSnap in the failover case.

6182eed... by Samuele Pedroni

boot,o/devicestate: refactor MarkBootSuccessful over bootState

This refactors MarkBootSuccessful over bootState and bootStateUpdate interfaces. The latter helps combining dealing with both the kernel and base parts of the state conceptually separately but still possibly committing changes as one.

It also move bootState16 implementation to its own bootstate16.go file.

735c7e0... by Claudio Matsuoka

Merge pull request #7957 from mvo5/core20-use-right-snapd-snap

snap-bootstrap: mount the correct snapd snap to /run/mnt/snapd

7649fd2... by Claudio Matsuoka

Merge pull request #7958 from cmatsuoka/core20-bootstrap-refactor-1

snap-bootstrap: refactor partition creation

9a1f262... by Maciej Borzecki

wrappers: leave a TODO note about possible improvement in snapd undo path

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

8c4b0d0... by Maciej Borzecki

wrappers: improve comments in snapd on core undo path

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

082a232... by Samuele Pedroni

improved internal doc comment, thanks @anonymouse64

366a520... by Maciej Borzecki

Merge remote-tracking branch 'upstream/master' into core20-use-right-snapd-snap

37e7d62... by Michael Vogt

Merge pull request #7953 from mvo5/core20-spread-3

tests: use new snapd.spread-tests-run-mode-tweaks.service unit