Commit Graph

  • c569f6cb6f libsnap-confine-private: Fix possible NULL pointer dereference Alex Murray 2022-02-23 14:32:16 +10:30
  • fd7c6b1ba3 tests/main/snap-run-devmode-classic: reinstall snapcraft to clean up Ian Johnson 2022-02-22 20:28:24 -06:00
  • 49dfbfd622 tests: allow run spread tests using a private ppa Samuele Pedroni 2022-02-22 18:32:49 +01:00
  • 97c2620ce2 interfaces/{cpu,power}-control: add more accesses for commercial device tuning Samuele Pedroni 2022-02-22 18:31:04 +01:00
  • 12f4629994 Update unit test for the change of boot.RebootInfo. Paweł Stołowski 2022-02-22 16:46:02 +01:00
  • 5d2f85153e Merge branch 'master' into core20-preseed/pick-system Paweł Stołowski 2022-02-22 16:44:22 +01:00
  • 2543d2c2e3 Merge branch 'master' into piboot Alfonso Sánchez-Beato 2022-02-22 15:38:12 +01:00
  • da0df560f9 Merge branch 'master' into feature/uc20-multi-volume-gadget-asset-updates-45 Ian Johnson 2022-02-22 08:38:04 -06:00
  • 5c2c3f95e6 Merge branch 'master' into feature/devmode-snaps-call-snap-confine-extra-unit-tests Signed-off-by: Ian Johnson <ian.johnson@canonical.com> Ian Johnson 2022-02-22 08:32:43 -06:00
  • 12a68f0831 interfaces/apparmor/backend_test.go: cleanup negative matching checks Ian Johnson 2022-02-22 08:31:58 -06:00
  • 4906c25844 gadget: add searchForVolumeWithTraits + tests Samuele Pedroni 2022-02-22 15:30:25 +01:00
  • e46e2c612e gadget/install: measure and save disk volume traits during install.Run() Samuele Pedroni 2022-02-22 15:29:33 +01:00
  • ed89aa74c0 tests: fix "undo purging" step in snap-run-devmode-classic Samuele Pedroni 2022-02-22 14:15:26 +01:00
  • dae943ad37 many: move call to shutdown to the boot package Samuele Pedroni 2022-02-22 14:09:44 +01:00
  • 6465182665 Merge pull request #11417 from Meulengracht/bugfix/smoke-tests-core22 Michael Vogt 2022-02-22 11:20:48 +01:00
  • d6980ee5fc o/snapstate: replace failing call for testing Miguel Pires 2022-02-22 09:47:18 +00:00
  • e14b3b1fe4 boot/bootstate20: add some additional comments Alfonso Sánchez-Beato 2022-02-22 10:03:30 +01:00
  • d87ab58d0f daemon/daemon_test: improve checks for reboot handlers Alfonso Sánchez-Beato 2022-02-22 09:20:15 +01:00
  • 9eb15543fc gadget/update.go: fix old case of single-volume gadgets without system-boot Ian Johnson 2022-02-21 12:08:05 -06:00
  • 5c5f642c19 gadget/update.go: assume that all devices with encryption will have ubuntu-save Ian Johnson 2022-02-21 11:14:38 -06:00
  • 66607d8617 gadget/update.go: more "could not" -> cannot fixes Ian Johnson 2022-02-21 11:13:51 -06:00
  • 5db959ad73 gadget/update_test.go: add unhappy case for searching for a disk w/ traits Ian Johnson 2022-02-21 09:49:37 -06:00
  • 9647ceaffa gadget/update.go: rename sub-helper and get rid of redundant "ok" variables Ian Johnson 2022-02-21 09:45:15 -06:00
  • 6817dd6147 gadget/update.go: adjust error message and doc-comments Ian Johnson 2022-02-21 09:42:40 -06:00
  • 80bb738d84 gadget/update.go: use marker file instead of .key files to identify encryption Ian Johnson 2022-02-21 09:42:25 -06:00
  • 17977aa380 Renamed preseed-sha3-384 to artifact-sha3-384. Paweł Stołowski 2022-02-21 16:15:38 +01:00
  • 746c6c235e uc20 -> UC20. Paweł Stołowski 2022-02-17 15:43:37 +01:00
  • b1ba7f2c75 Drop the check for brand-id since it must match authority-id (and there needs to be a valid account assertion). Paweł Stołowski 2022-02-17 15:33:08 +01:00
  • 626b74ea69 Check brand-id, remove AccountID getter, add missing comments. Paweł Stołowski 2022-02-17 10:22:29 +01:00
  • 3553b89fca Move ValidateUC20SeedSystemLabel from seed/internal to asserts and rename to IsValidSystemLabel. Paweł Stołowski 2022-02-17 09:49:28 +01:00
  • 0fe92618b3 Add missing tests, remove account-id, check that authority matches brand. Paweł Stołowski 2022-02-17 09:28:28 +01:00
  • 13ed0da7ba Fix gci error. Paweł Stołowski 2022-02-11 16:00:58 +01:00
  • 537b9b1612 Add preseed assertion type. Paweł Stołowski 2022-02-11 09:24:26 +01:00
  • 34ab067fb7 Merge branch 'master' into core20-preseed/pick-system Paweł Stołowski 2022-02-21 16:07:16 +01:00
  • 046bb13288 Merge pull request #11418 from bboozzoo/bboozzoo/fix-mocking-on-non-slash-snap Miguel Pires 2022-02-21 15:05:40 +00:00
  • b849263ac6 Merge branch 'master' into reboot-from-bootpkg Alfonso Sánchez-Beato 2022-02-21 15:37:32 +01:00
  • 09e13e947a many: move boot.Device to snap.Device Samuele Pedroni 2022-02-21 14:18:02 +01:00
  • 87c44ef320 gadget/update.go: add buildNewVolumeToDeviceMapping for existing devices Ian Johnson 2022-02-20 09:32:25 -06:00
  • e5a6c914c2 Merge pull request #11402 from mvo5/changelog-release-2.54.3 Maciej Borzecki 2022-02-21 13:28:08 +01:00
  • 822f5175fe overlord, o/snapstate: fix mocking on systems without /snap Maciej Borzecki 2022-02-21 13:17:11 +01:00
  • 84a3e78f2e spread.yaml: add core22 version of rsync to skip Philip Meulengracht 2022-02-21 13:12:24 +01:00
  • e83489b427 Don't read modeenv when preseeding also on classic. Paweł Stołowski 2022-02-21 09:50:14 +01:00
  • ca3a9224fb snap/quota: review feedback Philip Meulengracht 2022-02-21 08:53:04 +01:00
  • 0211b549f9 gadget: add searchForVolumeWithTraits + tests Ian Johnson 2022-02-20 07:22:49 -06:00
  • a6a0b8d91b daemon/api_debug.go: automatically set DiskVolume...Options.AllowImp...Data Ian Johnson 2022-02-20 05:47:13 -06:00
  • 2415303172 o/snapstate: add ~/Snap init related to backend Miguel Pires 2022-02-18 17:16:16 +00:00
  • 0de17c5890 Get system for preseeding in preloadGadget only with core. Paweł Stołowski 2022-02-18 20:25:16 +01:00
  • af77b3fb0d many: move boot.Device to snap.Device Ian Johnson 2022-02-18 11:59:06 -06:00
  • 04dac43691 tests: fix "undo purging" step in snap-run-devmode-classic Michael Vogt 2022-02-18 17:56:46 +01:00
  • 2950172060 Merge pull request #11379 from Meulengracht/feature/smoke-tests-core22 Michael Vogt 2022-02-18 14:59:12 +01:00
  • 99d5189126 Merge pull request #11400 from anonymouse64/feature/improve-vulnerability-tests Michael Vogt 2022-02-18 14:54:02 +01:00
  • 2553c19d46 Expand the comment about caching of system label. Paweł Stołowski 2022-02-18 14:44:15 +01:00
  • 22a8d83d18 Rename devicemgr's preseedSystem() to systemForPreseeding(). Paweł Stołowski 2022-02-18 14:40:17 +01:00
  • b5d7279cca Rename getSystemForPreseeding to systemForPreseeding. Paweł Stołowski 2022-02-18 14:25:40 +01:00
  • fe420a5ad5 daemon: tests fix Philip Meulengracht 2022-02-18 14:14:41 +01:00
  • 2926dce615 wrapers: internal wiring for writing new quotas to slice Philip Meulengracht 2022-02-18 14:14:32 +01:00
  • e0cb7f4bc0 overlord: correct tests as a consequence of interface changes Philip Meulengracht 2022-02-18 14:14:09 +01:00
  • e3e18ed21b snap/quota: implement cpu count/percentage/allowed Philip Meulengracht 2022-02-18 14:13:38 +01:00
  • 9e2488fbb3 data/env: fix fish env for all versions of fish, unexport local vars, export XDG_DATA_DIRS Maciej Borzecki 2022-02-10 11:37:49 +01:00
  • 20c889148e interfaces/apparmor: add missing unit tests for special devmode rules/behavior Ian Johnson 2022-02-17 20:21:35 -06:00
  • 6d225cb825 testutil: add generic mocking helpers Arseniy Aharonov 2022-02-13 01:57:41 +00:00
  • b76b1d6cf8 o/snapstate/tests: use NewLane() instead of manually set it Alfonso Sánchez-Beato 2022-02-18 10:49:03 +01:00
  • 0d3ed98d8b boot/reboot: panic if not mocked on tests Alfonso Sánchez-Beato 2022-02-18 10:39:31 +01:00
  • abf677acfb daemon: pass a function when testing reboot calls Alfonso Sánchez-Beato 2022-02-18 10:37:47 +01:00
  • 214efcfec3 Merge branch 'master' into feature/uc20-multi-volume-gadget-asset-updates-26 Signed-off-by: Ian Johnson <ian.johnson@canonical.com> Ian Johnson 2022-02-17 20:24:22 -06:00
  • f0ff569529 Merge pull request #11401 from mvo5/vul-string-fix Ian Johnson 2022-02-17 17:56:51 -06:00
  • 57f5783ca7 packaging/ubuntu-16.04/rules: don't run unit tests on riscv64 Ian Johnson 2022-02-17 10:58:57 -06:00
  • 9fee0c4213 Merge pull request #11403 from anonymouse64/bugfix/deadcode Ian Johnson 2022-02-17 14:44:31 -06:00
  • 45f2a0e158 interfaces/{cpu,power}-control: add more accesses for commercial device tuning Ian Johnson 2022-02-17 14:37:21 -06:00
  • 5af4717fc7 snapstate: tweak string as suggested by Samuele (thanks!) Michael Vogt 2022-02-17 20:28:14 +01:00
  • 041492c294 o/devicestate/firstboot_preseed_test.go: remove deadcode Ian Johnson 2022-02-17 11:54:05 -06:00
  • 98f037371d packaging/ubuntu-16.04/snapd.postinst: start socket and service first Dimitri John Ledkov 2022-01-24 15:53:46 +00:00
  • ce10659ceb data/systemd/snapd.service: start after socket Dimitri John Ledkov 2022-01-24 15:51:11 +00:00
  • 868fc213cb packaging: update changelog for 2.54.3 Michael Vogt 2022-02-17 18:42:11 +01:00
  • f096cb546d snapstate: make "remove vulnerable version" message more friendly Michael Vogt 2022-02-17 18:21:20 +01:00
  • 6748ada837 o/snapstate/snapmgr.go: adjust comments and rename variables Ian Johnson 2022-02-15 10:39:46 -06:00
  • 90774f0344 tests/nested/snapd-removes-vulnerable-snap-confine-revs: use newer snaps Ian Johnson 2022-02-15 10:28:08 -06:00
  • f3f669d720 Merge remote-tracking branch 'mvo5-private/release-2.54.3' Ian Johnson 2022-02-17 11:11:13 -06:00
  • 34aa5b4413 Merge branch 'release-2.54.3' into release/2.54 Ian Johnson 2022-02-17 08:50:49 -06:00
  • a53659e8fa tests/core/basic20: test that ubuntu-save has disk-mapping.json on it too Ian Johnson 2022-02-17 10:31:38 -06:00
  • c508ff0c80 Update snapd-testing-tools to '614c75bf6d931cea17a376a4649766f0ad845b33' Philip Meulengracht 2022-02-17 13:53:14 +01:00
  • 614c75bf6d Squashed 'tests/lib/external/snapd-testing-tools/' changes from a9f6e09e0d..872b64e05b Philip Meulengracht 2022-02-17 13:53:13 +01:00
  • 7050db409f Rename uc20 test suite to preseedingUC20Suite, minor test cleanups. Paweł Stołowski 2022-02-17 13:48:29 +01:00
  • c7e95932fa Move TestSysModeIsRunWhenPreseeding test to preseedUC20Suite. Rename MaybeGetSystemForPreseeding to GetSystemForPreseeding. Paweł Stołowski 2022-02-17 13:13:26 +01:00
  • dd3267f6de o/snapstate: add units test for InstallMany with pre-requisites Alfonso Sánchez-Beato 2022-02-17 13:12:50 +01:00
  • 72929e9974 o/snapstate: do not erase transactional flag in ForSnapSetup() Alfonso Sánchez-Beato 2022-02-17 13:11:26 +01:00
  • 999f8d25e2 Merge branch 'master' into core20-preseed/pick-system Paweł Stołowski 2022-02-17 12:52:17 +01:00
  • ec5c19148a Merge pull request #11398 from stolowski/preseed-test-cleanup Michael Vogt 2022-02-17 12:27:16 +01:00
  • f0dfc19e9c gadget: fix typos Ian Johnson 2022-02-16 20:58:29 -06:00
  • 23c9051714 gadget/install: also save disk-mapping.json to ubuntu-save partition as well Ian Johnson 2022-02-16 20:57:54 -06:00
  • 11491e16cb boot/initramfs20dirs.go: add InstallHostDeviceSaveDir Ian Johnson 2022-02-16 20:55:37 -06:00
  • 1c07b7abe1 Merge branch 'master' into feature/uc20-multi-volume-gadget-asset-updates-26 Signed-off-by: Ian Johnson <ian.johnson@canonical.com> Ian Johnson 2022-02-16 20:40:50 -06:00
  • e8948930d6 Merge pull request #11384 from anonymouse64/feature/uc20-multi-volume-gadget-asset-updates-42 Ian Johnson 2022-02-16 19:12:11 -06:00
  • edcc27dc64 daemon/test: mock call to boot.Reboot Alfonso Sánchez-Beato 2022-02-16 17:18:48 +01:00
  • 9c20cc6199 boot: move EnableTestingRebootFunction to export_test Alfonso Sánchez-Beato 2022-02-16 17:12:56 +01:00
  • 92a4bb0c48 Update snapd-testing-tools to '2843ede3aa0ecdd7818a01fdfbb75571d8b602c8' Philip Meulengracht 2022-02-16 15:46:28 +01:00
  • 2843ede3aa Squashed 'tests/lib/external/snapd-testing-tools/' changes from 3844702a17..a9f6e09e0d Philip Meulengracht 2022-02-16 15:46:28 +01:00
  • 92e25f2773 o/snapstate: address some review comments Alfonso Sánchez-Beato 2022-02-16 14:46:16 +01:00
  • d204bc7d8b tests: add created_at timestamp to mongo issues (#11388) Sergio Cazzolato 2022-02-16 10:43:12 -03:00
  • 20ad28dc6e Fix another shellcheck Sergio Cazzolato 2022-02-16 10:08:03 -03:00