Commit Graph

  • 582aa62c37 Fix debug section for postrm-purge test Sergio Cazzolato 2021-06-14 12:44:52 -03:00
  • 5ba544269d Fix random value check Sergio Cazzolato 2021-06-14 12:23:44 -03:00
  • 3322306bc6 Update the random check to connect just the 30% of the interfaces Sergio Cazzolato 2021-06-14 11:54:10 -03:00
  • e5417c496b many: introduce Store.SnapExists and use it in /v2/accessories/themes Samuele Pedroni 2021-06-14 13:43:50 +02:00
  • 00688094ab overlord/devicestate: only look at the new model when creating remodel tasks Maciej Borzecki 2021-06-14 12:47:56 +02:00
  • 84e0d4eafc overlord/devicestate: verify recovery system setup metadata Maciej Borzecki 2021-06-14 12:33:55 +02:00
  • 0ee1cd5aa1 overlord/devicestate: comment on test helper Maciej Borzecki 2021-06-14 12:33:32 +02:00
  • 73d9a6bc56 overlord, overlord/devicestate: helper to restore post-reboot state of internal state Maciej Borzecki 2021-06-14 12:32:51 +02:00
  • 4db0ba19fb overlord/devicestate: use the first task of the download phase for accessing snap setup Maciej Borzecki 2021-06-14 12:14:43 +02:00
  • 5748856403 Merge remote-tracking branch 'upstream/master' into bboozzoo/uc20-remodel-with-recovery-testing Maciej Borzecki 2021-06-14 11:08:34 +02:00
  • f18f227930 config: adjust how nesting works Michael Vogt 2021-06-14 10:58:50 +02:00
  • 48f4f93436 Merge pull request #10369 from stolowski/refresh-control/update-last-refresh Pawel Stolowski 2021-06-14 10:07:45 +02:00
  • 22b545863a Merge pull request #10358 from stolowski/refresh-control/hold-proceed-from-hook Pawel Stolowski 2021-06-14 10:06:41 +02:00
  • 0085b4af03 daemon: switch /v2/accessories/themes to Store.SnapExists Samuele Pedroni 2021-04-19 16:57:03 +02:00
  • b37d6735a4 many: add SnapExists to StoreService Samuele Pedroni 2021-04-19 16:47:40 +02:00
  • 27184537ba store: implement Store.SnapExists Samuele Pedroni 2021-04-19 14:56:16 +02:00
  • eef39973c8 Merge pull request #10387 from bboozzoo/bboozzoo/uc20-tweak-modeenv-try-model-tests Maciej Borzecki 2021-06-14 09:48:43 +02:00
  • b47378c8b7 Merge pull request #10383 from mardy/missing-unlocks Maciej Borzecki 2021-06-14 09:33:34 +02:00
  • 615d5f060e config: do not save virtual config to the state Michael Vogt 2021-06-14 09:31:25 +02:00
  • 180ab16ca5 configstate: remove need for "GetNoVirtual" entirely Michael Vogt 2021-06-14 09:16:03 +02:00
  • e1cf30c0fc config: use jsonutil.DecodeWithNumber() instead of plain json.Unmarshal Michael Vogt 2021-06-14 09:09:08 +02:00
  • 6158368b00 daemon: add a Daemon argument to AccessChecker.CheckAccess James Henstridge 2021-06-14 10:28:53 +08:00
  • a24affc9ca Merge remote-tracking branch 'upstream/master' into tests-update-NOMATCH Sergio Cazzolato 2021-06-13 21:02:10 -03:00
  • 089124c10d Merge pull request #10368 from sergiocazzolato/tests-cleanup-p1 Sergio Cazzolato 2021-06-13 21:00:52 -03:00
  • 32dd39fdcd tests/nested: add spread test for uc20 cloud.conf from gadgets Ian Johnson 2021-06-13 18:01:51 -05:00
  • 2fc3611a55 tests/nested/manual/grade-signed-cloud-init-testkeys: fix typo Ian Johnson 2021-06-11 11:17:31 -05:00
  • 27b2e7999b tests/many: change all cloud-init passwords for ubuntu to use plain_test_passwd Ian Johnson 2021-06-12 08:19:51 -05:00
  • 260bc76be2 Merge pull request #10374 from sergiocazzolato/tests-update-doc-hacking Sergio Cazzolato 2021-06-11 18:18:37 -03:00
  • 2de8ddeece daemon: make CheckAccess return an apiError Samuele Pedroni 2021-06-11 20:04:07 +02:00
  • 71e8d5b540 Connect 30% of the interfaces on test interfaces-many-core-provided on debian10 Sergio Cazzolato 2021-06-11 15:03:57 -03:00
  • adf36fa6f3 overlord: fix imports ordering (according to gci) Samuele Pedroni 2021-06-11 18:26:30 +02:00
  • 0a64bdaf33 tests/lib/snaps/test-snapd-policy-app-consumer: remove dsp-control interface Ian Johnson 2021-06-11 11:16:21 -05:00
  • e396f393eb o/servicestate/quota_control_test.go: test the handlers directly Ian Johnson 2021-06-08 16:03:20 -05:00
  • a58a984e74 o/servicestate: add quotastate handlers Samuele Pedroni 2021-06-11 17:50:40 +02:00
  • d4dd6d4305 overlord: fix imports ordering (according to gci) Samuele Pedroni 2021-06-11 17:31:03 +02:00
  • f88d78dc52 daemon: make access_test.go a bit more precise Samuele Pedroni 2021-06-11 17:11:14 +02:00
  • 823ffa616e Add extra tests. Paweł Stołowski 2021-06-11 17:07:36 +02:00
  • 5b51edc4df Merge remote-tracking branch 'upstream/master' into daemon-access-check-response Samuele Pedroni 2021-06-11 16:56:07 +02:00
  • bcbc27a816 systemd: refactor "[not set]" handling in getPropertyUintValue Ian Johnson 2021-06-11 09:54:22 -05:00
  • b7ffc4c63c tests: update error message Alberto Mardegan 2021-06-11 17:26:00 +03:00
  • 300dd14466 configcore: remove one more instanace of GetNoVirtual Michael Vogt 2021-06-11 15:57:42 +02:00
  • 747fa0bc2a config: remove need for GetNoVirtual() and do it on the Transaction level instead Michael Vogt 2021-06-11 15:54:50 +02:00
  • 879fda0422 overlord/servicestate: simplify logic in quota handlers Alberto Mardegan 2021-06-11 16:51:25 +03:00
  • 448061c9f0 boot: extend modeenv unit tests Maciej Borzecki 2021-06-11 14:37:08 +02:00
  • 77f056d31d boot: fix modeenv try model inconsistency checks Maciej Borzecki 2021-06-11 14:36:53 +02:00
  • 0647f4e169 overlord/servicestate/quota_handlers.go: refactor err handling Ian Johnson 2021-06-11 07:26:41 -05:00
  • 2056e28b49 Mock timeNow to make the point of TestDoUndoLinkSnapRestoresLastRefreshTime test more explicit and also check that timeNow was actually called (thanks pedronis). Paweł Stołowski 2021-06-11 14:05:02 +02:00
  • add294fb34 config: remove no longer needed fixme Michael Vogt 2021-06-11 13:18:46 +02:00
  • 37fc0edcdc boot: decouple model from seal/reseal handling via an auxiliary type Maciej Borzecki 2021-06-11 13:05:26 +02:00
  • f4aa2dc32e config: move ClearVirtualMap() into export_test (thanks to Pawel) Michael Vogt 2021-06-11 13:16:45 +02:00
  • eeebedd5ce config: avoid changing helpers, fix virtual config merging Michael Vogt 2021-06-11 13:08:54 +02:00
  • f6d5d5bd24 Merge pull request #10377 from bboozzoo/bboozzoo/modeenv-sign-key-id-try-model-compat Michael Vogt 2021-06-11 13:03:09 +02:00
  • 6297241182 config: simplify config handlers Michael Vogt 2021-06-10 13:49:05 +02:00
  • 59cfa083ee Merge pull request #10372 from pedronis/daemon-less-error-result-inspect Michael Vogt 2021-06-11 12:37:36 +02:00
  • 256dafa6c2 many: address review comments Alberto Mardegan 2021-06-11 11:36:40 +03:00
  • 9e4d571e66 Merge pull request #10382 from anonymouse64/tweak/service-control-explicit-services-field-expl Michael Vogt 2021-06-11 10:33:22 +02:00
  • 09829e9f4e boot: tweak naming, rename SignKeyID to ModelSignKeyID Maciej Borzecki 2021-06-11 10:08:10 +02:00
  • 4e45137cb8 Tweak time test check (thanks anonymouse64). Paweł Stołowski 2021-06-11 09:56:48 +02:00
  • 4a2f57f416 overlord/servicestate: improve test robustness with locking Alberto Mardegan 2021-06-11 10:26:11 +03:00
  • bdaa87780f osutil/user: mention the lack of --extrauser in the error Alberto Mardegan 2021-06-10 16:25:02 +03:00
  • e2d478c4a0 o/servicestate/service_control.go: add comment about ExplicitServices Ian Johnson 2021-06-10 17:33:39 -05:00
  • 00c84e7e2e systemd: refactor property parsers for int values in CurrentTasksCount, etc Ian Johnson 2021-06-10 15:30:15 -05:00
  • c810fd825e o/servicestate: rename quota handler helpers Ian Johnson 2021-06-10 14:44:40 -05:00
  • 66119c719e Merge pull request #10378 from mvo5/interface-dm-crypt-2.51 Michael Vogt 2021-06-10 19:15:28 +02:00
  • 2ff29a2547 boot: gofmt fun Maciej Borzecki 2021-06-10 18:39:46 +02:00
  • 3171e98ffa o/servicestate/: add comment, test re: EnsureSnapAbsentFromQuota's idempotency Ian Johnson 2021-06-10 11:29:57 -05:00
  • e3eaf56349 o/servicestate: move setting task to Done deeper into helpers Ian Johnson 2021-06-10 11:25:17 -05:00
  • 744bc32a42 boot: drop unnecessary copy of modeenv in bootstate handling Maciej Borzecki 2021-06-10 18:17:22 +02:00
  • caa06db471 interfaces: run go fmt on basedeclaration_test.go Michael Vogt 2021-06-10 17:54:29 +02:00
  • fcc3bb34d3 interfaces: builtin: add dm-crypt interface to support external storage encryption Ondrej 2021-06-10 16:32:13 +01:00
  • fbb7adad0d interfaces: builtin: add dm-crypt interface to support external storage encryption Ondrej 2021-06-10 16:32:13 +01:00
  • 613ad35c7b boot: populate sign-key-id on successful boot Maciej Borzecki 2021-06-10 16:56:50 +02:00
  • 3e7f75369c boot: set sign-key-id when making the system bootable Maciej Borzecki 2021-06-10 16:33:16 +02:00
  • e880aa35c1 boot: introduce properties of the candidate device model to modeenv Maciej Borzecki 2021-06-10 16:29:58 +02:00
  • 610974af5e boot: add sign-key-id into modeenv Maciej Borzecki 2021-06-10 16:17:58 +02:00
  • 52bedcea3e Update security-device-cgroup tests to reboot just on systemd 247+ Sergio Cazzolato 2021-06-10 10:48:44 -03:00
  • 79fa1422cc tests: fix and extend spread tests Alberto Mardegan 2021-06-10 15:35:31 +03:00
  • 51e6cd31bd New note in HACKING file to clarify about yamlordereddictloader dependency Sergio Cazzolato 2021-06-10 09:21:47 -03:00
  • 464050fa15 Replace "not MATCH" by NOMATCH in tests Sergio Cazzolato 2021-06-10 09:02:50 -03:00
  • 8dc041806b Check Current tags with systemd version -ge 247 Sergio Cazzolato 2021-06-10 08:54:14 -03:00
  • c190fd2b05 asserts: test how ExternalKeypairManager.loadAllKeys is implemented Samuele Pedroni 2021-06-10 13:48:22 +02:00
  • e526bf7fda daemon: drop now unused test-only accessor Samuele Pedroni 2021-03-15 22:39:53 +01:00
  • 33245574ad daemon: drop apiBaseSuite.apiErrorReq as now errorReq is the same Samuele Pedroni 2021-03-15 22:38:01 +01:00
  • c9d961a863 daemon: have apiBaseSuite.errorReq return *apiError directly Samuele Pedroni 2021-03-15 22:32:50 +01:00
  • 8c656fd810 daemon: split out error response code from response*.go to errors*.go Samuele Pedroni 2021-06-10 12:07:11 +02:00
  • 61d41d8d81 asserts: DER public keys are expected to be PKIX Samuele Pedroni 2021-06-10 11:58:47 +02:00
  • e4171e900b overlord/servicestate: add one more test Alberto Mardegan 2021-06-10 12:19:59 +03:00
  • 29d17c8041 Update LastRefreshTime in doLinkSnap handler. Paweł Stołowski 2021-06-10 10:06:44 +02:00
  • c20efcbc02 Merge remote-tracking branch 'upstream/master' into bboozzoo/core-tests-with-memory-limit Maciej Borzecki 2021-06-10 10:02:55 +02:00
  • a97126c78e asserts: implement ExternalKeypairManager.Export Samuele Pedroni 2021-06-10 09:15:00 +02:00
  • 716a951c5d asserts: full ExternalKeypairManager.Get implementation Samuele Pedroni 2021-06-09 21:20:14 +02:00
  • e75ddd5ce8 Fix test. Paweł Stołowski 2021-06-10 09:13:08 +02:00
  • 1b850ce4f3 o/servicestate: rename handler helper methods Ian Johnson 2021-06-09 18:12:38 -05:00
  • 8e47326a44 Merge branch 'master' into feature/quota-groups-the-prequel-spinoff-2 Signed-off-by: Ian Johnson <ian.johnson@canonical.com> Ian Johnson 2021-06-09 16:26:24 -05:00
  • b7f84059b0 o/servicestate: add doc-comment to ensureSnapServicesForGroup, fix typo Ian Johnson 2021-06-09 16:26:17 -05:00
  • f79c40ea44 wrappers: mention the idempotency of RemoveQuotaGroup, EnsureSnapServices Ian Johnson 2021-06-09 16:25:31 -05:00
  • e74ba95c4b o/servicestate: refactor quota handlers Ian Johnson 2021-06-09 15:50:03 -05:00
  • a8ac453a0e o/servicestate/quota_control.go: use handlers implementation (temporarily) Ian Johnson 2021-06-08 15:22:59 -05:00
  • 99ba2f9161 First part of the cleanup Sergio Cazzolato 2021-06-09 18:03:24 -03:00
  • d635770acc Merge remote-tracking branch 'upstream/master' into classic-content-slot-test Sergio Cazzolato 2021-06-09 17:13:40 -03:00