~mvo/snapd/+git/snapd-mvo:snap-known-default-direct-2.43

Last commit made on 2020-01-09
Get this branch:
git clone -b snap-known-default-direct-2.43 https://git.launchpad.net/~mvo/snapd/+git/snapd-mvo

Branch merges

Branch information

Name:
snap-known-default-direct-2.43
Repository:
lp:~mvo/snapd/+git/snapd-mvo

Recent commits

8fbb373... by Michael Vogt

snap: default to "--direct" in `snap known` for 2.43

This commit changes the default in `snap known --remote` to a direct
store query again. It remove the ability to query remote assertions
via snapd for now. This is to be consistent with the `snap download`
command which also goes directly to the store. For 2.44 we will
switch snap download to download via the snapd daemon.

919b172... by Michael Vogt

Merge pull request #7962 from mvo5/snap-set-core-config-test-fixes-2.43

tests: cherry-pick fixes for snap-set-core-config/ubuntu-core-config-defaults-once

955c246... by Michael Vogt

Merge remote-tracking branch 'upstream/release/2.43' into snap-set-core-config-test-fixes-2.43

f388b8f... by Michael Vogt

Merge pull request #7951 from mvo5/test-update-test-snapd-tools-usage-part3-2.43

tests: use test-snapd-sh snap instead of test-snapd-tools - Part 3 (2.43)

059bf0d... by Michael Vogt

tests: rename "test-snapd-sh" in smoke test to test-snapd-sandbox

Rename the local test-snapd-sh snap used in tests/smoke/sandbox
to test-snapd-sandbox to avoid confusion with the test-snapd-sh
snap that is in the store.

7b37713... by Michael Vogt

tests: remove "test-snapd-tools" in smoke/sandbox on restore

In the autopkgtest environment we do not run any suite prepare
or restore scripts. The smoke tests run on a pristine environment
and the spread.yaml is generated from the d/tests/integrationtest
script. This means that each test must remove any snaps it installed
in the "restore" stanza.

This fixes a rather strange error in the autopkgtest run on 20.04
where we have a test-snapd-sh installed from the "sandbox" suite.
But this test-snapd has a different interface than the test-snapd-sh
from the store.

468cd3f... by Maciej Borzecki

tests/main/snap-set-core-config: fix use of MATCH -v

Use of MATCH -v is often incorrect since it returns 0 when there are lines not
matching the pattern in the input.

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

60c1616... by Sergio Cazzolato

Moving service check above during preparation of the test

ae2e140... by Sergio Cazzolato

Skipping test on core18

d67ab00... by Sergio Cazzolato

Change the way of testing the services list

Tests passing now:

sergio@cachiomachine:~/workspace/snapcore/snapd$ spread2 -order -workers
1 -debug
google:ubuntu-core-18-64:tests/main/ubuntu-core-config-defaults-once
google:ubuntu-core-18-64:tests/main/snap-set-core-config
2019-12-13 11:03:42 Project content is packed for delivery (402.49KB).
2019-12-13 11:03:42 Sequence of jobs produced with -seed=1576245822
2019-12-13 11:03:42 If killed, discard servers with: spread
-reuse-pid=11824 -discard
2019-12-13 11:03:42 Allocating google:ubuntu-core-18-64...
2019-12-13 11:03:57 Waiting for google:ubuntu-core-18-64
(dec131403-056177) to boot at 104.196.11.150...
2019-12-13 11:04:24 Allocated google:ubuntu-core-18-64
(dec131403-056177).
2019-12-13 11:04:24 Connecting to google:ubuntu-core-18-64
(dec131403-056177)...
2019-12-13 11:04:25 Connected to google:ubuntu-core-18-64
(dec131403-056177) at 104.196.11.150.
2019-12-13 11:04:25 Sending project content to google:ubuntu-core-18-64
(dec131403-056177)...
2019-12-13 11:04:32 Preparing google:ubuntu-core-18-64...
2019-12-13 11:09:19 Preparing google:ubuntu-core-18-64:tests/main/...
2019-12-13 11:11:06 Rebooting on dec131403-056177
(google:ubuntu-core-18-64:tests/main/) as requested...
2019-12-13 11:14:26 Preparing
google:ubuntu-core-18-64:tests/main/ubuntu-core-config-defaults-once...
2019-12-13 11:14:35 Executing
google:ubuntu-core-18-64:tests/main/ubuntu-core-config-defaults-once
(1/2)...
2019-12-13 11:14:48 Restoring
google:ubuntu-core-18-64:tests/main/ubuntu-core-config-defaults-once...
2019-12-13 11:14:57 Preparing
google:ubuntu-core-18-64:tests/main/snap-set-core-config...
2019-12-13 11:15:00 Executing
google:ubuntu-core-18-64:tests/main/snap-set-core-config (2/2)...
2019-12-13 11:15:02 Restoring
google:ubuntu-core-18-64:tests/main/snap-set-core-config...
2019-12-13 11:15:03 Restoring google:ubuntu-core-18-64:tests/main/...
2019-12-13 11:15:05 Restoring google:ubuntu-core-18-64...
2019-12-13 11:15:07 Discarding google:ubuntu-core-18-64
(dec131403-056177)...
2019-12-13 11:15:08 Successful tasks: 2
2019-12-13 11:15:08 Aborted tasks: 0