Commit Graph

  • f116572efe testutil: fix typo in json checker unit tests Maciej Borzecki 2021-07-07 10:48:03 +02:00
  • fc91c3df09 Merge pull request #10502 from bboozzoo/bboozzoo/uc20-grub-recovery-label-tweak Maciej Borzecki 2021-07-07 10:46:10 +02:00
  • 488b9c3b5f boot: tweak wording in model change unit test comments Maciej Borzecki 2021-07-07 10:42:00 +02:00
  • b4c894e8de Merge remote-tracking branch 'upstream/master' into bboozzoo/uc20-boot-device-change-model Maciej Borzecki 2021-07-07 10:37:21 +02:00
  • c61575a58d tests: fix whitespaces Michael Vogt 2021-07-07 10:06:40 +02:00
  • 62b2943b7d Merge pull request #10499 from sergiocazzolato/tests-reduce-nested-logs Michael Vogt 2021-07-07 09:08:17 +02:00
  • 9e6ecb0022 Merge pull request #10501 from sergiocazzolato/tests-remove-xenial-32-bits Michael Vogt 2021-07-07 09:05:38 +02:00
  • d84e631699 Merge remote-tracking branch 'upstream/master' into bboozzoo/pick-alternative-label-for-remodel Maciej Borzecki 2021-07-07 08:42:32 +02:00
  • e3321d1ab9 tests/nested/core/core20-create-recovery: create recovery with alternative label Maciej Borzecki 2021-07-07 08:13:17 +02:00
  • 9efaa6ff96 bootloader/assets: update recovery grub to allow system labels generated by snapd Maciej Borzecki 2021-07-06 14:06:02 +02:00
  • 1a0553e838 tests/main/snap-quota-groups: also handle null for value of memory Ian Johnson 2021-07-06 18:59:41 -05:00
  • 7bdd335da6 client/quota: remove the duplicative error wrapping for ensuring quotas Ian Johnson 2021-07-06 17:30:16 -05:00
  • 7500d95915 Merge branch 'master' into feature/quota-groups-the-final-countdown-1 Signed-off-by: Ian Johnson <ian.johnson@canonical.com> Ian Johnson 2021-07-06 16:59:06 -05:00
  • d082924c0f client, cmd/snap, daemon: re-re-re-factor the API implementation Ian Johnson 2021-07-06 16:58:25 -05:00
  • 0174892856 Improve order on pkgdb systems Sergio Cazzolato 2021-07-06 14:55:46 -03:00
  • 4e53c052ae Merge remote-tracking branch 'upstream/master' into tests-remove-xenial-32-bits Sergio Cazzolato 2021-07-06 14:54:41 -03:00
  • c8db00ce6d Merge branch 'master' into tests-remove-xenial-32-bits Sergio Cazzolato 2021-07-06 14:53:15 -03:00
  • 1d23bf1e14 Merge pull request #10485 from bboozzoo/bboozzoo/s-u-n-freezer-too-eager-to-error Michael Vogt 2021-07-06 19:47:54 +02:00
  • e088c0fc89 Merge pull request #10483 from sergiocazzolato/tests-support-bionic-32-bits Michael Vogt 2021-07-06 19:47:05 +02:00
  • 69b8f02ecf Renaming tool nested-state to tests.nested Sergio Cazzolato 2021-07-06 14:46:55 -03:00
  • 6e4c216734 config: only call virtual config functions if the requested key is part of the virtual config Michael Vogt 2021-07-06 19:46:17 +02:00
  • 45a94cd806 config: add error checking to RegisterVirtualConfig() Michael Vogt 2021-07-06 19:14:12 +02:00
  • b495fbc8ac c/snap,asserts: start supporting ExternalKeypairManager in the snap key-related commands Samuele Pedroni 2021-07-06 18:36:43 +02:00
  • d124e63611 Fix shell check Sergio Cazzolato 2021-07-06 13:27:15 -03:00
  • 0040c53f6b config: use cast when appropriate in mergeConfigWithVirtual (thanks Samuele) Michael Vogt 2021-07-06 18:25:50 +02:00
  • cb5bbef683 Print serial log just once for nested-vms Sergio Cazzolato 2021-07-06 13:22:57 -03:00
  • fe5b2d7395 config: make mergeConfigWithVirtual() more encapsulated (thanks to Samuele) Michael Vogt 2021-07-06 18:20:12 +02:00
  • 84b5406ccc config: simplify config.RegisterVirtualConfig() and not pass the snapname Michael Vogt 2021-07-06 18:09:43 +02:00
  • 9b9849cc52 Remove duplicated error match. Paweł Stołowski 2021-07-06 18:07:44 +02:00
  • e33520c4ce config: detect/error if shadowsVirtualConfig() is called with *json.RawMessage value (should never happen but lets be defensive) Michael Vogt 2021-07-06 18:05:53 +02:00
  • 1dd420a3a7 Fix test description. Paweł Stołowski 2021-07-06 17:57:20 +02:00
  • 06770367ea config: simplify shadowsVirtualConfig (thanks to Samuele) Michael Vogt 2021-07-06 17:56:35 +02:00
  • f818b40261 Add extra test case, covert the 3rd version of the test snap to use snapcraft. Paweł Stołowski 2021-07-06 17:54:08 +02:00
  • b10feb8b17 Merge remote-tracking branch 'upstream/master' into ext-keymgr-2 Michael Vogt 2021-07-06 16:48:44 +02:00
  • 6ae988fa51 Test case for gate-auto-refresh hook error resulting in hold. Paweł Stołowski 2021-07-01 09:22:14 +02:00
  • 9d298241b2 Merge pull request #10476 from stolowski/refresh-control/spread-test Pawel Stolowski 2021-07-06 16:38:56 +02:00
  • 56980bf957 Merge remote-tracking branch 'upstream/master' into bboozzoo/s-u-n-freezer-too-eager-to-error Michael Vogt 2021-07-06 16:32:55 +02:00
  • dcf9c8be46 Merge remote-tracking branch 'upstream/master' into feature/quota-groups-the-final-countdown-4 Michael Vogt 2021-07-06 16:32:15 +02:00
  • 0ffa966205 Merge pull request #10492 from bboozzoo/bboozzoo/s-c-better-error-handling Michael Vogt 2021-07-06 16:31:17 +02:00
  • cbeff5f1ea boot: further improvements to device change unit tests Maciej Borzecki 2021-07-06 14:47:06 +02:00
  • 51852bef20 Merge branch 'tests-support-bionic-32-bits' of github.com:sergiocazzolato/snapd into tests-support-bionic-32-bits Sergio Cazzolato 2021-07-06 11:12:01 -03:00
  • aa7db6fee5 Merge remote-tracking branch 'upstream/master' into tests-support-bionic-32-bits Sergio Cazzolato 2021-07-06 11:09:44 -03:00
  • 7714918f9d tests: fix linter warning Alberto Mardegan 2021-07-06 16:59:05 +03:00
  • a03b3213bc Merge remote-tracking branch 'upstream/master' into bboozzoo/s-c-better-error-handling Michael Vogt 2021-07-06 14:50:26 +02:00
  • 553ec21b9a tests: update other spread tests for new behaviour Alberto Mardegan 2021-07-06 15:26:46 +03:00
  • 57b319fced tests: ack assertions by default, add --noack option Alberto Mardegan 2021-07-06 14:53:38 +03:00
  • 9b2bede84b Merge remote-tracking branch 'upstream/master' into bboozzoo/uc20-boot-device-change-model Maciej Borzecki 2021-07-06 14:33:30 +02:00
  • 65d10ec582 Use SNAP_NAME/CONTENT_SNAP_NAME with snap connect. Added a comment explaining tail & grep magic. Paweł Stołowski 2021-07-06 13:55:48 +02:00
  • d5c5a26181 Tweak tests checks. Avoid echo from wait_for_autorefresh as it broke LAST_REFRESH_CHANGE_ID value assignment from the callers. Paweł Stołowski 2021-07-05 19:11:26 +02:00
  • efc5cdd8c3 Use snapcraft. Paweł Stołowski 2021-07-05 13:53:04 +02:00
  • 12afd1528e Various tweaks (thanks cachio). Paweł Stołowski 2021-07-05 10:54:50 +02:00
  • 188a33b665 Fix spread-shellcheck error. Paweł Stołowski 2021-07-01 11:06:07 +02:00
  • 45be7b2da7 Improve auto-refresh change wait/check, wait for a match that has greater change id then last match rather than only filtering out last match (which wasn't robust enough to work correctly with cases of multiple refreshes of various snaps, interleaved). Paweł Stołowski 2021-07-01 09:43:21 +02:00
  • d063554372 Fix spread-shellcheck errors. Paweł Stołowski 2021-06-30 16:07:53 +02:00
  • d70b69dce0 Fix shellcheck error. Paweł Stołowski 2021-06-30 14:29:33 +02:00
  • 5bcd89c016 Spread test for refresh control with gate-auto-refresh hook. Paweł Stołowski 2021-06-30 13:03:33 +02:00
  • b590a78fa7 Merge remote-tracking branch 'upstream/master' into bboozzoo/pick-alternative-label-for-remodel Maciej Borzecki 2021-07-06 12:24:45 +02:00
  • 470c7625ac Merge pull request #10495 from mvo5/disable-delta-tests Michael Vogt 2021-07-06 12:22:21 +02:00
  • 4ad6f372a0 overlord/devicestate: pick a non-conflicting recovery system label during remodel Maciej Borzecki 2021-07-06 12:08:44 +02:00
  • 702fa23cdb Merge remote-tracking branch 'upstream/master' into bboozzoo/uc20-boot-device-change-model Maciej Borzecki 2021-07-06 10:06:40 +02:00
  • 5d39353217 Revert "tests: disable delta download tests for now until the store is fixed" Michael Vogt 2021-07-06 09:52:44 +02:00
  • 5c231a3fed tests: disable delta download tests for now until the store is fixed Michael Vogt 2021-07-06 09:51:20 +02:00
  • bc88d71bcc Merge pull request #10480 from bboozzoo/bboozzoo/fix-preseed-test-with-core20-core18 Michael Vogt 2021-07-06 09:31:13 +02:00
  • 49ad899515 Merge pull request #10481 from bboozzoo/bboozzoo/uc20-set-up-try-mode-when-trying-system Michael Vogt 2021-07-06 09:14:57 +02:00
  • 38bf03b21d Merge pull request #10494 from anonymouse64/bugfix/nested-fakestore-tests-dont-ack-asserts Michael Vogt 2021-07-06 09:14:30 +02:00
  • a5c108da18 interfaces/apparmor: allow snap-update-ns to access /sys/devices/system/cpu/online Maciej Borzecki 2021-07-06 07:41:27 +02:00
  • 0668782ea3 Revert "tests/lib/store.sh: fix make_snap_installable_with_id()" Ian Johnson 2021-07-05 15:52:59 -05:00
  • f93a993c76 client, cmd/quota, daemon: change constraints + current maps to use ints Ian Johnson 2021-07-05 14:38:48 -05:00
  • c1cab61bd8 Merge branch 'master' into feature/quota-groups-the-final-countdown-4 Signed-off-by: Ian Johnson <ian.johnson@canonical.com> Ian Johnson 2021-07-05 13:30:55 -05:00
  • 0aab832d6b daemon, client: add QuotaChangeContlict + ErrorKindQuotaChangeConflict Ian Johnson 2021-07-05 13:30:29 -05:00
  • 8607babe37 Fix shellcheck Sergio Cazzolato 2021-07-05 14:40:53 -03:00
  • 4d7efd18b1 Add new preparation for tools and new nested retry mode Sergio Cazzolato 2021-07-05 13:59:04 -03:00
  • b9f5d931df c/snap: test getKeypairManager failing on ext manager Samuele Pedroni 2021-07-05 17:29:06 +02:00
  • 626cc66f78 c/snap: fix key complete, oops Samuele Pedroni 2021-07-05 17:23:42 +02:00
  • 7c5ab7ba69 boot: exercise model being restored during device change Maciej Borzecki 2021-07-05 16:58:45 +02:00
  • 5dd6e767a2 Merge remote-tracking branch 'upstream/master' into bboozzoo/uc20-boot-device-change-model Maciej Borzecki 2021-07-05 16:53:09 +02:00
  • 8c31191570 overlord/devicestate: try to pick alternative recvoery labels during remodel Maciej Borzecki 2021-07-05 16:43:47 +02:00
  • d43ffb494e Merge pull request #10489 from bboozzoo/bboozzoo/uc20-remodel-test-helpers Maciej Borzecki 2021-07-05 16:45:34 +02:00
  • 0d7e7cce6b config: fix typos and improve variable name in RegisterVirtualConfig (thanks Alberto) Michael Vogt 2021-07-05 16:44:46 +02:00
  • d9f70180cd config: simplify code (thanks to Pawel) Michael Vogt 2021-07-05 16:30:40 +02:00
  • 1857d7bde1 boot: shuffle the model around, fix typos Maciej Borzecki 2021-07-05 14:54:08 +02:00
  • 4d04c6a602 o/servicestate: TODO and fix preexisting typo Samuele Pedroni 2021-07-05 14:36:13 +02:00
  • 5e530ba741 daemon/api_quotas.go: handle conflicts, returning conflict response Ian Johnson 2021-07-02 14:55:15 -05:00
  • 46e24630bd cmd/libsnap-confine-private: tweak getline error handling Maciej Borzecki 2021-07-05 14:15:42 +02:00
  • 80e762a77d cmd/libsnap-confine-update: do not fail when cgroup entries go away Maciej Borzecki 2021-07-05 14:00:04 +02:00
  • 0db7d5dffc sandbox/cgroup: tweaks, simplify error handling, extend unit tests Maciej Borzecki 2021-07-05 12:29:06 +02:00
  • 63eb90fdb9 o/servicestate: add TODOs about conflicts vs reparenting/orphaning Samuele Pedroni 2021-07-05 11:59:18 +02:00
  • 5545a4b198 o/servicestate: fix error vs field name mismatch/typo Samuele Pedroni 2021-07-05 11:53:22 +02:00
  • 80f56e699c Merge remote-tracking branch 'upstream/master' into bboozzoo/s-u-n-freezer-too-eager-to-error Maciej Borzecki 2021-07-05 11:50:39 +02:00
  • 8da830c188 o/servicestate: detect conflicts for quota group operations Samuele Pedroni 2021-07-05 11:47:58 +02:00
  • 4439b394a1 config: fix go vet/misspell errors Michael Vogt 2021-07-05 11:35:12 +02:00
  • 9d53aefc5b seed/seedtest: support models that have already been signed Maciej Borzecki 2021-06-29 09:35:53 +02:00
  • 2b15549677 boot: allow mocking secboot reseal call Maciej Borzecki 2021-06-29 11:43:14 +02:00
  • 7f90a06f1c config: improve doc string for virtualMap and RegisterVirtualConfig Michael Vogt 2021-07-05 11:34:06 +02:00
  • de2e654acb config: add doc string to mergeConfigWithVirtual Michael Vogt 2021-07-05 10:58:25 +02:00
  • d6c4234ed2 config: rename clearVirtualConfig and improve testing/doc Michael Vogt 2021-07-05 10:52:59 +02:00
  • 1a30fc7a26 config: remove unneeded whitespace churn Michael Vogt 2021-07-05 10:43:52 +02:00
  • f48acebb2b config: rework how shadowing of virtual configuration works Michael Vogt 2021-07-05 10:41:47 +02:00
  • 355d5b8724 Merge pull request #10487 from anonymouse64/feature/quota-groups-help Michael Vogt 2021-07-05 08:59:53 +02:00
  • e8b2390f2d Merge branch 'master' into quota-conflicts Ian Johnson 2021-07-02 14:34:48 -05:00